index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
sequencelengths 768
768
|
---|---|---|---|---|---|---|
10,255 | collections | __eq__ | True if all counts agree. Missing counts are treated as zero. | def __eq__(self, other):
'True if all counts agree. Missing counts are treated as zero.'
if not isinstance(other, Counter):
return NotImplemented
return all(self[e] == other[e] for c in (self, other) for e in c)
| (self, other) | [
0.0068709333427250385,
-0.03096155636012554,
-0.011298471130430698,
0.08482325077056885,
0.015561035834252834,
-0.00802574958652258,
-0.021937048062682152,
-0.020813442766666412,
0.06773732602596283,
0.0014635846018791199,
-0.038059886544942856,
-0.0069155204109847546,
0.0693424716591835,
-0.008739149197936058,
0.003760955296456814,
-0.020421072840690613,
-0.01954715885221958,
0.026734663173556328,
0.029035378247499466,
0.013501093722879887,
-0.00885061826556921,
0.015507531352341175,
-0.01038888655602932,
0.05978291481733322,
-0.015587789006531239,
0.06013961508870125,
-0.006309130694717169,
-0.012600426562130451,
-0.017665565013885498,
0.04301801696419716,
-0.07026989012956619,
-0.012760940939188004,
0.009318786673247814,
0.045193884521722794,
0.050651393830776215,
-0.01940447837114334,
-0.035473812371492386,
0.021616017445921898,
0.010005434043705463,
0.004637099802494049,
0.0321921706199646,
-0.031104236841201782,
-0.016702476888895035,
-0.029534757137298584,
0.020652927458286285,
0.00226727407425642,
-0.0023832016158849,
0.03349412605166435,
0.014651451259851456,
-0.012315066531300545,
-0.0385235957801342,
-0.029374241828918457,
-0.021491173654794693,
0.056358594447374344,
-0.014009390957653522,
0.04637099429965019,
0.009943011216819286,
0.04558625444769859,
-0.06388496607542038,
0.05382602661848068,
-0.07690451294183731,
0.0032593458890914917,
0.02199055254459381,
-0.03204949200153351,
-0.011013111099600792,
-0.046014294028282166,
-0.03511711210012436,
0.0017690089298412204,
0.024808483198285103,
0.03303041681647301,
-0.026467137038707733,
-0.009202859364449978,
0.00041522106039337814,
0.02463013306260109,
-0.009104766882956028,
0.0019540470093488693,
0.009082472883164883,
0.06135239452123642,
0.0200465377420187,
-0.04344605654478073,
0.01604258082807064,
-0.06941381096839905,
-0.0016040351474657655,
-0.0016842926852405071,
-0.03290557116270065,
0.05361200496554375,
-0.008123842068016529,
0.012787694111466408,
0.03447505086660385,
0.018958603963255882,
0.018887262791395187,
0.040699467062950134,
0.0659538209438324,
-0.062208473682403564,
0.033369280397892,
0.007316808216273785,
-0.06880742311477661,
-0.015971241518855095,
-0.01784391514956951,
0.0056938230991363525,
0.010692081414163113,
0.013037383556365967,
0.05018768459558487,
0.0037654140032827854,
0.003092142753303051,
0.016417115926742554,
-0.011949448846280575,
-0.04341038689017296,
-0.016220930963754654,
-0.002170296385884285,
-0.03174629807472229,
0.043374717235565186,
-0.004200142342597246,
-0.00034025832428596914,
-0.013322743587195873,
-0.042411625385284424,
0.010344299487769604,
-0.004291546531021595,
-0.03452855721116066,
0.0099251763895154,
-0.0030542435124516487,
0.06631052494049072,
0.06256517767906189,
0.0011470133904367685,
0.04173389449715614,
-0.026342293247580528,
0.005502096842974424,
0.0393083356320858,
-0.033280108124017715,
-0.0060594407841563225,
0.07904471457004547,
-0.029445583000779152,
0.0283398125320673,
0.06524042785167694,
0.05974724516272545,
0.0009296492789871991,
0.07554905116558075,
0.018298707902431488,
-0.029445583000779152,
0.03670442849397659,
0.03934400528669357,
0.005640318151563406,
0.030765371397137642,
0.05871281400322914,
0.0014903370756655931,
0.029909292235970497,
-0.07883069664239883,
0.03841658681631088,
-0.013206816278398037,
0.008172888308763504,
-0.025593223050236702,
-0.018405718728899956,
0.04023575782775879,
-0.013661609031260014,
-0.050259023904800415,
-0.024558791890740395,
0.005252406932413578,
-0.024112917482852936,
-0.036169376224279404,
-0.007254385389387608,
-0.00778943533077836,
0.011717594228684902,
0.0030051972717046738,
0.02662765234708786,
-0.03158578276634216,
-0.030194653198122978,
-0.04358873516321182,
-0.04651367664337158,
-0.0007295628893189132,
0.020938288420438766,
-0.00707157701253891,
-0.05935487523674965,
0.01072775200009346,
-0.017585309222340584,
-0.016943247988820076,
-0.012930373661220074,
0.009345538914203644,
0.0027867185417562723,
0.0001265170139959082,
-0.015231088735163212,
0.030355166643857956,
-0.06013961508870125,
-0.06641753762960434,
-0.03945101797580719,
0.017130516469478607,
-0.037132468074560165,
-0.010442391969263554,
-0.007423818111419678,
0.01819169893860817,
0.019368808716535568,
-0.0015371539629995823,
-0.028500327840447426,
-0.009247446432709694,
0.010540484450757504,
0.04512254521250725,
-0.044944196939468384,
-0.01878025382757187,
-0.03156794607639313,
0.0632072314620018,
0.04822583496570587,
-0.03583051264286041,
-0.011441151611506939,
-0.00736585445702076,
-0.027055691927671432,
0.03627638518810272,
-0.007388147991150618,
-0.029481252655386925,
-0.02448745258152485,
0.008204099722206593,
-0.055966224521398544,
-0.004663852043449879,
-0.059426214545965195,
0.0017021276289597154,
0.012190221808850765,
0.030836712568998337,
0.06827237457036972,
0.02828630805015564,
-0.0523635558784008,
-0.04412378743290901,
-0.0001848987740231678,
0.07711853086948395,
-0.030373001471161842,
0.005921219475567341,
-0.00513202091678977,
-0.0170770101249218,
0.03477824851870537,
0.021437667310237885,
0.024166421964764595,
-0.03583051264286041,
0.004284858237951994,
0.024451782926917076,
0.05939054489135742,
0.02117014303803444,
-0.005774080753326416,
-0.0164884552359581,
0.015507531352341175,
0.0002675249706953764,
0.046834707260131836,
-0.039914727210998535,
0.011887026019394398,
-0.01662221923470497,
-0.026199612766504288,
0.023542197421193123,
0.0101213613525033,
-0.03290557116270065,
-0.0724814310669899,
-0.0210274625569582,
0.025147348642349243,
0.012885786592960358,
0.02550404705107212,
-0.0466206856071949,
-0.06367094069719315,
-0.024077247828245163,
-0.06381362676620483,
0.03151444345712662,
-0.06702392548322678,
-0.1009460911154747,
-0.011539244093000889,
0.024416113272309303,
0.0076690493151545525,
0.011280636303126812,
0.09281333535909653,
-0.008712396956980228,
0.02960609644651413,
-0.07683317363262177,
0.03622288256883621,
0.014160988852381706,
0.036847107112407684,
0.007107246667146683,
-0.019529324024915695,
-0.04023575782775879,
-0.04173389449715614,
0.039914727210998535,
0.026110436767339706,
-0.06231548264622688,
0.04612130671739578,
0.0271627027541399,
-0.03905864804983139,
-0.04398110508918762,
-0.0023140909615904093,
0.0027176078874617815,
0.03149660676717758,
-0.0021825579460710287,
-0.059961263090372086,
-0.015391604043543339,
0.012288314290344715,
-0.049723975360393524,
-0.05846312642097473,
-0.029588261619210243,
-0.06627485156059265,
0.04608563706278801,
-0.008520670235157013,
0.06727361679077148,
-0.007432735525071621,
-0.004971505608409643,
0.030123312026262283,
0.02726971171796322,
-0.06606083363294601,
0.012680684216320515,
0.04091348499059677,
-0.02364920824766159,
0.026056932285428047,
-0.016408199444413185,
-0.02306065335869789,
0.05179283395409584,
-0.01990385912358761,
0.03515278175473213,
0.05946188420057297,
0.032994747161865234,
0.015543201006948948,
0.027483733370900154,
0.06256517767906189,
0.046263985335826874,
0.044551827013492584,
0.008814947679638863,
0.01721077412366867,
-0.00013954492169432342,
-0.06748763471841812,
0.0002382644306635484,
0.06071033328771591,
0.020492414012551308,
0.03731081634759903,
-0.0208312775939703,
-0.012983879074454308,
-0.006286837160587311,
-0.06324290484189987,
0.011646253988146782,
0.004282629117369652,
0.01974334381520748,
0.020617257803678513,
0.002681938000023365,
-0.06106703355908394,
0.0531482957303524,
0.01717510260641575,
-0.01068316400051117,
0.00389471766538918,
0.013224651105701923,
0.015685880556702614,
0.02257910743355751,
0.008765901438891888,
0.014972480945289135,
0.002054368844255805,
-0.01021945383399725,
-0.05154314637184143,
0.0016040351474657655,
-0.008525129407644272,
-0.06031796336174011,
-0.0208312775939703,
0.034064847975969315,
-0.02974877692759037,
-0.07119731605052948,
0.00509635079652071,
0.04993799701333046,
0.0024188717361539602,
0.04633532464504242,
0.05607323348522186,
0.019761178642511368,
0.006322506815195084,
-0.017790410667657852,
0.007811729330569506,
0.03859493508934975,
-0.003390879137441516,
0.008208557963371277,
-0.010576154105365276,
-0.05846312642097473,
0.035580821335315704,
-0.0032883277162909508,
-0.04119884595274925,
-0.11806768923997879,
-0.01104878168553114,
-0.022275913506746292,
-0.020670762285590172,
-0.0061441571451723576,
-0.030997227877378464,
0.007290055509656668,
-0.04287533462047577,
-0.08760551363229752,
0.03263804689049721,
-0.012377488426864147,
-0.04144853726029396,
0.05182850360870361,
0.021473338827490807,
-0.04301801696419716,
0.028214966878294945,
-0.03174629807472229,
-0.02463013306260109,
-0.025290027260780334,
-0.023292507976293564,
0.03784586489200592,
0.08311109244823456,
-0.042019255459308624,
-0.02828630805015564,
-0.04316069558262825,
0.006260084453970194,
-0.061031363904476166,
0.00008541292481822893,
-0.00980033166706562,
-0.017763657495379448,
-0.05578787624835968,
-0.07362287491559982,
0.053183965384960175,
-0.005930136889219284,
0.04476584494113922,
-0.0206350926309824,
-0.013893463648855686,
0.06466970592737198,
-0.020064372569322586,
-0.04405244439840317,
-0.015908818691968918,
0.06470537185668945,
-0.022115398198366165,
-0.016747063025832176,
0.03784586489200592,
-0.00030263763619586825,
-0.06302888691425323,
-0.06388496607542038,
-0.006799593102186918,
-0.04276832565665245,
0.09060179442167282,
0.029730942100286484,
0.0363655611872673,
0.010674246586859226,
0.018798088654875755,
-0.015668045729398727,
-0.021937048062682152,
-0.05321963503956795,
-0.033190932124853134,
0.0174693800508976,
0.012252643704414368,
-0.04437347501516342,
-0.055859215557575226,
-0.03966503590345383,
0.04968830570578575,
-0.01750505156815052,
-0.005782998166978359,
0.018619738519191742,
-0.00865443330258131,
-0.03370814770460129,
-0.009943011216819286,
0.031246917322278023,
0.027769092470407486,
-0.030836712568998337,
-0.013483258895576,
-0.0034577602054923773,
0.005702740512788296,
-0.023239003494381905,
-0.005618024617433548,
0.029927127063274384,
0.0138756288215518,
0.033476293087005615,
0.0019206063589081168,
0.00499825831502676,
-0.0608530156314373,
-0.05999693647027016,
-0.024273432791233063,
0.024754976853728294,
-0.016354693099856377,
-0.03795287758111954,
-0.023881062865257263,
0.021491173654794693,
-0.027448061853647232,
0.001056723645888269,
-0.05760704353451729,
-0.004476584494113922,
-0.027091363444924355,
0.01643495075404644,
-0.02662765234708786,
0.02136632800102234,
0.03130042180418968,
0.07069793343544006,
0.014499853365123272,
-0.058106426149606705,
-0.00532820587977767,
-0.02140199765563011,
-0.05778539553284645,
0.011191461235284805,
-0.03461773321032524,
0.03354763239622116,
-0.04405244439840317,
0.04180523753166199,
0.032495368272066116,
0.0662035122513771,
0.05047304555773735,
-0.0732661709189415,
0.041341524571180344,
-0.029338572174310684,
-0.008235310204327106,
0.007744848262518644,
0.010299711488187313,
-0.0011280636535957456,
0.010709916241466999,
-0.043374717235565186,
-0.04847552627325058,
0.027519403025507927,
0.053576335310935974,
-0.012520168907940388,
0.05336231365799904,
0.04301801696419716,
-0.02726971171796322,
0.01712159812450409,
0.00259722163900733,
0.008819406852126122,
-0.028179297223687172,
0.015427273698151112,
0.02136632800102234,
-0.013893463648855686,
-0.008364614099264145,
-0.034992266446352005,
0.0474054254591465,
0.017478298395872116,
0.015561035834252834,
-0.03980771824717522,
0.02418425865471363,
-0.007120623253285885,
0.054503753781318665,
-0.012074293568730354,
-0.040057405829429626,
-0.08938901126384735,
-0.02848249301314354,
-0.014223411679267883,
0.011084451340138912,
0.012413159012794495,
-0.023916732519865036,
0.009122601710259914,
-0.07711853086948395,
0.041912246495485306,
-0.048154495656490326,
-0.03561649098992348,
0.008351238444447517,
-0.04458749666810036,
-0.030658362433314323,
-0.020314063876867294,
-0.03916565701365471,
0.05082974582910538,
-0.07512101531028748,
0.039379674941301346,
-0.025397038087248802,
-0.03185330703854561,
0.023042818531394005,
0.0566796250641346,
0.009684404358267784,
0.04276832565665245,
0.05296994373202324,
-0.025183018296957016,
0.019243963062763214,
0.06013961508870125,
-0.03631205856800079,
-0.05204252526164055,
0.051864176988601685,
0.02448745258152485,
-0.025860747322440147,
-0.009327704086899757,
0.02511167712509632,
-0.034885257482528687,
-0.009372292086482048,
0.03945101797580719,
-0.0032125290017575026,
0.015373768284916878,
0.09174323081970215,
0.028892697766423225,
0.06003260612487793,
-0.013813205994665623,
0.07180370390415192,
-0.059176523238420486,
0.005002717021852732,
-0.042982347309589386,
0.031229082494974136,
-0.028785686939954758,
-0.027430227026343346,
0.06499073654413223,
-0.03741782531142235,
0.007392606697976589,
-0.09053045511245728,
-0.015641294419765472,
0.008467165753245354,
0.016078250482678413,
-0.041091836988925934,
0.007651214487850666,
0.007878610864281654,
-0.02983795292675495,
-0.056643955409526825,
0.03666875511407852,
0.041341524571180344,
-0.05350499600172043,
0.053719013929367065,
-0.012867951765656471,
-0.015471860766410828,
-0.0007256615208461881,
0.018405718728899956,
0.0010829188395291567,
-0.06705959141254425,
-0.023881062865257263,
-0.006077275611460209,
-0.06434867531061172,
0.018209533765912056,
0.010139196179807186,
0.030373001471161842,
-0.0009268625872209668,
0.015079490840435028,
0.008944251574575901,
0.054004374891519547,
-0.00009426075121155009,
-0.07044824212789536,
-0.04237595573067665,
-0.011485738679766655,
0.031175578013062477,
-0.006344800814986229,
0.028464658185839653,
0.031050732359290123,
0.03429670259356499,
-0.0016073791775852442,
0.009550641290843487,
0.04597862437367439,
-0.04597862437367439,
0.05214953422546387,
-0.03351196274161339,
-0.01360810361802578,
0.03237052261829376,
-0.04790480434894562,
0.06060332432389259,
0.003642798401415348,
-0.003130042226985097,
-0.036169376224279404,
0.02926723286509514,
-0.05525282397866249,
-0.028018781915307045,
0.014152071438729763,
0.029570426791906357,
0.023417353630065918,
0.00631358940154314,
0.0072097983211278915,
-0.014107483439147472,
0.0337616503238678,
-0.0027064611203968525,
0.030158981680870056,
-0.05910518392920494,
-0.006986860651522875,
0.02702002227306366,
0.04052111506462097,
0.08282573521137238,
-0.008248686790466309,
0.04729841649532318,
-0.040592458099126816,
0.07280246168375015,
-0.07697585225105286,
-0.0012562527554109693,
-0.014606863260269165,
-0.017826080322265625,
0.04041410610079765,
-0.026128273457288742,
-0.02311415784060955,
0.050116345286369324,
0.06809402257204056,
-0.01104878168553114,
-0.06809402257204056,
0.018370049074292183,
0.0345463901758194,
-0.012377488426864147,
0.011762181296944618,
-0.018940769135951996,
0.062101464718580246,
0.01272527128458023,
0.034403711557388306,
-0.03135392814874649,
0.03410051763057709,
0.013955886475741863,
0.047762125730514526,
-0.008070336654782295,
0.0012161239283159375,
0.02969527244567871,
0.02257910743355751,
0.061530742794275284,
0.0037029916420578957,
-0.024130752310156822,
-0.03156794607639313,
-0.0018815923249348998,
-0.012279395945370197,
0.02150900848209858,
-0.009345538914203644,
-0.05560952425003052,
-0.007740389090031385,
0.017451545223593712,
-0.027715587988495827,
-0.02463013306260109,
-0.01853056252002716,
0.03609803691506386,
-0.005653694272041321,
0.00667028920724988,
0.004641558509320021,
-0.07251710444688797,
0.0038612771313637495,
-0.0833251103758812,
0.04380275681614876,
-0.006750546861439943,
-0.012600426562130451,
0.06880742311477661,
-0.053719013929367065,
0.012279395945370197,
0.018084688112139702,
-0.019047778099775314,
0.0011241622269153595,
-0.01380428858101368,
0.050009336322546005,
0.030569186434149742,
0.006652454379945993,
0.016666805371642113,
-0.045229554176330566,
0.008284356445074081,
0.08032882958650589,
-0.010522648692131042,
-0.026556313037872314,
0.06406331062316895,
-0.009327704086899757,
-0.0596759058535099,
0.016506291925907135,
-0.036115873605012894,
0.03888029605150223,
0.04751243442296982,
0.006857556756585836,
0.008667808957397938,
-0.005368334706872702,
0.02184787392616272,
0.040556784719228745,
0.015926653519272804,
-0.02232941798865795,
0.06374228745698929,
0.052113864570856094,
-0.02291797287762165,
0.02487982250750065,
-0.05407571420073509,
0.003295016009360552,
0.01338516641408205,
0.0091404365375638,
0.011913779191672802,
-0.04041410610079765,
0.0400930754840374,
-0.048261504620313644,
-0.019350973889231682,
0.0608530156314373,
0.06509774178266525,
0.03053351677954197,
-0.00965765118598938,
0.0658111423254013,
0.03795287758111954,
-0.00687539204955101,
-0.002412183443084359,
-0.0065543618984520435,
0.038987305015325546,
-0.038166895508766174,
0.00437626289203763,
0.0168808251619339,
0.01794200763106346,
-0.030265992507338524,
0.014713874086737633,
0.03497443348169327,
0.055716533213853836,
-0.022989312186837196,
-0.049224596470594406,
0.011503573507070541,
-0.01095068920403719,
-0.024416113272309303,
-0.030997227877378464,
-0.010210536420345306,
0.03410051763057709,
-0.030801042914390564,
0.0746929720044136,
0.016747063025832176,
0.0771898701786995
] |
10,256 | collections | __ge__ | True if all counts in self are a superset of those in other. | def __ge__(self, other):
'True if all counts in self are a superset of those in other.'
if not isinstance(other, Counter):
return NotImplemented
return all(self[e] >= other[e] for c in (self, other) for e in c)
| (self, other) | [
-0.0005548606859520078,
-0.011294941417872906,
-0.025398066267371178,
0.07535885274410248,
0.009881963022053242,
0.001869530533440411,
-0.002543805632740259,
-0.026748837903141975,
0.04631725698709488,
-0.03760833293199539,
-0.03158317878842354,
-0.02463381364941597,
0.046779364347457886,
-0.056376952677965164,
-0.027406450361013412,
-0.026073452085256577,
-0.0419805683195591,
0.002810405334457755,
0.012601280584931374,
0.013729885220527649,
-0.011765934526920319,
-0.0015929333167150617,
0.005931844003498554,
0.03492456302046776,
0.002734868787229061,
0.06938701868057251,
-0.028543943539261818,
-0.01667136885225773,
-0.014902924187481403,
0.019994979724287987,
-0.08211271464824677,
-0.00397233571857214,
0.02209223061800003,
-0.011890347115695477,
0.05950505658984184,
-0.022394375875592232,
-0.021132471039891243,
0.020581498742103577,
0.014689644798636436,
0.03209860622882843,
0.012956746853888035,
-0.05548828840255737,
0.0017040165839716792,
-0.01883971318602562,
0.06569017469882965,
0.006034040357917547,
0.019906112924218178,
0.035297803580760956,
0.024402761831879616,
-0.007060449104756117,
-0.008135735057294369,
-0.04535749927163124,
-0.011641521006822586,
0.010575122199952602,
-0.06192222982645035,
0.05694570019841194,
0.019586192443966866,
0.05641249939799309,
-0.06522806733846664,
0.03240075334906578,
-0.055914849042892456,
0.014396385289728642,
0.01443193107843399,
-0.04759693518280983,
-0.010681762360036373,
-0.03885246440768242,
-0.055097274482250214,
-0.0016107066767290235,
-0.01738230139017105,
0.024562720209360123,
-0.048912163823843,
0.0007542550447396934,
0.016511408612132072,
0.014707418158650398,
-0.028739450499415398,
0.00640727998688817,
-0.004727701656520367,
0.015756042674183846,
0.0322052463889122,
-0.04286923632025719,
0.039101291447877884,
-0.0838189497590065,
0.02020825818181038,
0.006509476341307163,
0.013418852351605892,
0.04041651636362076,
0.0028059619944542646,
0.01983501948416233,
0.06053591147065163,
0.016262583434581757,
-0.012583507224917412,
0.0800510123372078,
0.07084443420171738,
-0.026446692645549774,
0.03618646785616875,
0.027548637241125107,
-0.05616367608308792,
0.004258930683135986,
-0.0039301239885389805,
-0.0045544118620455265,
0.03437358886003494,
0.040985263884067535,
0.047277018427848816,
-0.020350445061922073,
0.021239111199975014,
0.010983908548951149,
0.0013318877900019288,
-0.046459443867206573,
-0.008526748046278954,
-0.008451211266219616,
-0.02817070297896862,
0.0212924312800169,
-0.014120898209512234,
0.007344822399318218,
-0.02571798674762249,
-0.025860173627734184,
0.01304561272263527,
-0.019852792844176292,
0.007251512259244919,
0.0017817748012021184,
-0.022820936515927315,
0.02786855772137642,
0.06490814685821533,
0.049623094499111176,
-0.0001859255280578509,
-0.010815061628818512,
0.013365532271564007,
0.03828372061252594,
-0.035582177340984344,
-0.04141182452440262,
0.1057867705821991,
-0.022429922595620155,
0.002361629158258438,
0.056767966598272324,
0.06633000820875168,
-0.02285648323595524,
0.06565462797880173,
0.02415393479168415,
-0.007380369119346142,
0.0095176100730896,
0.028188476338982582,
-0.007811371702700853,
0.03135212883353233,
0.0355110839009285,
-0.02228773571550846,
0.00042044997098855674,
-0.055097274482250214,
0.039421211928129196,
-0.015089544467628002,
0.018430927768349648,
-0.03417808562517166,
-0.008526748046278954,
0.048236776143312454,
-0.04759693518280983,
-0.03456909582018852,
-0.008882214315235615,
-0.02719317190349102,
-0.028046291321516037,
-0.015773816034197807,
-0.011979213915765285,
-0.005314221139997244,
0.046175070106983185,
-0.03138767555356026,
0.02207445725798607,
-0.021327978000044823,
-0.04230048879981041,
-0.035599950700998306,
-0.03639974817633629,
-0.021630123257637024,
0.029521476477384567,
0.007127099204808474,
-0.03512006998062134,
0.0011508221505209804,
-0.0026926572900265455,
-0.03639974817633629,
-0.009730889461934566,
0.02267874963581562,
0.03339605778455734,
-0.003439136315137148,
0.006345073226839304,
0.03151208534836769,
-0.042051661759614944,
-0.047845762223005295,
-0.03348492458462715,
0.037323959171772,
-0.040985263884067535,
0.02148793824017048,
-0.007758052088320255,
0.013516605831682682,
0.03208083286881447,
-0.027335358783602715,
-0.07020459324121475,
-0.001754004042595625,
-0.010886155068874359,
0.039989959448575974,
0.010006376542150974,
-0.06028708443045616,
-0.0070471190847456455,
0.009730889461934566,
0.05584375560283661,
-0.06231324002146721,
-0.004834341816604137,
-0.009242123924195766,
-0.058260925114154816,
0.07635416090488434,
0.028490623459219933,
-0.008580068126320839,
-0.05431525036692619,
0.010690649040043354,
-0.06821398437023163,
-0.0006931592943146825,
-0.06167340278625488,
-0.006091803777962923,
0.015480557456612587,
0.032845087349414825,
0.027726370841264725,
0.014929584227502346,
-0.05260901153087616,
-0.0508672259747982,
-0.04052315652370453,
0.07713618874549866,
-0.022643202915787697,
-0.0004437774477992207,
-0.017488941550254822,
-0.007935784757137299,
0.02395842783153057,
0.017808862030506134,
0.011872573755681515,
-0.018768619745969772,
0.012050307355821133,
0.027619730681180954,
0.026624426245689392,
0.055701568722724915,
-0.018235420808196068,
-0.046388350427150726,
0.041767287999391556,
-0.030552327632904053,
0.058260925114154816,
-0.0044211121276021,
0.027850784361362457,
-0.006704982835799456,
0.009455403313040733,
0.008953306823968887,
-0.0026704405900090933,
-0.044220007956027985,
-0.08609393984079361,
-0.018910806626081467,
0.017115702852606773,
0.028810543939471245,
0.05723007395863533,
-0.06700539588928223,
-0.10365397483110428,
-0.04279814288020134,
-0.043224699795246124,
0.0035035647451877594,
-0.0514715202152729,
-0.08296583592891693,
-0.04699264466762543,
0.0038301493041217327,
0.014662984758615494,
0.005434190854430199,
0.10649770498275757,
-0.009366536512970924,
0.012281360104680061,
-0.06433939933776855,
0.05445743724703789,
0.05189807713031769,
-0.007153759244829416,
-0.026873251423239708,
0.020741458982229233,
-0.023496322333812714,
-0.042158301919698715,
0.03949230536818504,
0.002521588932722807,
-0.07194637507200241,
0.021736763417720795,
0.006353959906846285,
-0.03426695242524147,
-0.03373375162482262,
-0.00917103048413992,
-0.007984661497175694,
0.03593764081597328,
-0.019568419083952904,
-0.047739122062921524,
-0.026731064543128014,
-0.006704982835799456,
-0.057372260838747025,
-0.06792961061000824,
-0.038425907492637634,
-0.04926762729883194,
0.04190947487950325,
-0.023816240951418877,
0.05449298396706581,
-0.018519794568419456,
0.008402334526181221,
-0.012148060835897923,
0.07841586321592331,
-0.06277535110712051,
0.025753533467650414,
0.05175589397549629,
0.03810598701238632,
-0.025753533467650414,
-0.05097386613488197,
-0.026659972965717316,
0.03465796262025833,
-0.015871569514274597,
0.05328439921140671,
0.029272649437189102,
-0.0012785678263753653,
0.005149818025529385,
-0.005398644134402275,
0.06241988018155098,
0.012556847184896469,
0.006882715970277786,
-0.015587196685373783,
0.019070766866207123,
0.0010302967857569456,
-0.05548828840255737,
-0.021665669977664948,
0.05705234035849571,
0.018430927768349648,
0.053746502846479416,
-0.009099937044084072,
-0.006691652815788984,
-0.03888801112771034,
-0.039989959448575974,
-0.0038834691513329744,
0.009091050364077091,
0.024616040289402008,
0.019799472764134407,
-0.024402761831879616,
-0.02875722385942936,
0.07127099484205246,
0.0026126771699637175,
0.0006931592943146825,
0.05310666561126709,
0.05243127793073654,
0.03924347832798958,
-0.014911810867488384,
-0.030765607953071594,
0.011108322069048882,
0.027530863881111145,
-0.0162892434746027,
-0.03735950589179993,
-0.013241119682788849,
-0.023336362093687057,
-0.0579410046339035,
-0.01834206096827984,
0.040380969643592834,
-0.02669551782310009,
-0.05573711544275284,
0.011490448378026485,
0.033822618424892426,
-0.012867880053818226,
0.03543999046087265,
0.013623245991766453,
0.0038856908213347197,
-0.024580493569374084,
-0.0005365319084376097,
0.006909376010298729,
0.016920195892453194,
-0.014814057387411594,
-0.006362846586853266,
-0.012779013253748417,
-0.07315496355295181,
0.018413154408335686,
0.008211271837353706,
-0.05253791809082031,
-0.10948362201452255,
-0.004152290523052216,
-0.001328555284999311,
-0.024296121671795845,
0.023531869053840637,
-0.005740780849009752,
-0.009002183564007282,
-0.031760912388563156,
-0.08971969038248062,
0.033556018024683,
-0.036755215376615524,
-0.02376292087137699,
0.06664992868900299,
0.034906789660453796,
-0.03984777256846428,
0.013081159442663193,
-0.018039913848042488,
-0.0325784869492054,
-0.03703958913683891,
-0.011970327235758305,
0.06800070405006409,
0.082468181848526,
0.00008997740224003792,
-0.03693294897675514,
-0.042940329760313034,
0.018235420808196068,
-0.05076058581471443,
-0.008468984626233578,
-0.008104631677269936,
-0.03364488482475281,
-0.012236927635967731,
-0.04365126043558121,
0.06256207078695297,
-0.008882214315235615,
0.0418383814394474,
-0.014583004638552666,
0.010432935319840908,
0.028046291321516037,
0.007131542544811964,
-0.020670365542173386,
-0.007220408879220486,
0.07024013996124268,
-0.06835617125034332,
-0.010512915439903736,
0.0011441571405157447,
0.006545023061335087,
-0.07137763500213623,
-0.09249232709407806,
-0.026766611263155937,
-0.008877770975232124,
0.0735815241932869,
-0.012254700064659119,
0.05822537839412689,
-0.0031392117962241173,
0.008722254075109959,
-0.04212275519967079,
-0.03423140570521355,
-0.03384039178490639,
-0.06430385261774063,
-0.02200336381793022,
-0.012725693173706532,
-0.023816240951418877,
-0.037537239491939545,
-0.01776442863047123,
0.06433939933776855,
-0.017311207950115204,
-0.003612426109611988,
0.0040989709086716175,
-0.01520507037639618,
-0.005758553743362427,
-0.0057763271033763885,
0.008851110935211182,
0.040487609803676605,
-0.012325793504714966,
0.004458880517631769,
-0.005132044665515423,
0.03949230536818504,
-0.01992388628423214,
0.0035724362824112177,
0.04553523287177086,
0.034320272505283356,
-0.004523308482021093,
0.02109692431986332,
-0.018661979585886,
-0.03835481405258179,
-0.008135735057294369,
-0.0400255061686039,
0.01885748654603958,
-0.028312889859080315,
-0.04006105288863182,
-0.024420535191893578,
0.052253544330596924,
-0.001676245708949864,
-0.006851612590253353,
-0.0347646027803421,
0.03147653862833977,
-0.05111605301499367,
0.010246315971016884,
0.004501091782003641,
0.026126772165298462,
0.011357148177921772,
0.043544620275497437,
0.03565327078104019,
-0.0701334998011589,
-0.047561388462781906,
-0.033236097544431686,
-0.06359291821718216,
0.03496010974049568,
-0.03629310801625252,
0.015080657787621021,
0.0019028554670512676,
0.030392367392778397,
0.060038257390260696,
0.05499063432216644,
0.04208720847964287,
-0.0606425479054451,
0.04425555467605591,
-0.03718177601695061,
-0.0316009521484375,
0.01202364731580019,
-0.02434944175183773,
0.013365532271564007,
0.020865870639681816,
-0.044717658311128616,
-0.02337190881371498,
0.06153121590614319,
0.05253791809082031,
-0.0023016443010419607,
0.043224699795246124,
0.02168344333767891,
0.006162896752357483,
0.031440991908311844,
-0.013525492511689663,
0.04162510484457016,
-0.0400255061686039,
0.026446692645549774,
0.03604428097605705,
0.0199416596442461,
0.0345335491001606,
0.0031125517562031746,
0.04759693518280983,
0.0209191907197237,
0.010486255399882793,
-0.05986052379012108,
0.04930317401885986,
0.03110329993069172,
0.04564187303185463,
-0.022216644138097763,
-0.028419530019164085,
-0.04013214632868767,
0.00008289585093734786,
-0.007935784757137299,
0.025895720347762108,
0.0002745144010987133,
-0.020883643999695778,
-0.014600777998566628,
-0.048059042543172836,
0.006820509675890207,
-0.011170527897775173,
-0.0235496424138546,
-0.0037546127568930387,
-0.013720998540520668,
-0.011623747646808624,
-0.03222301974892616,
-0.002141684526577592,
0.03682630881667137,
-0.05740780755877495,
0.058154284954071045,
-0.05587930232286453,
0.0258068535476923,
-0.006265093572437763,
0.05047621205449104,
0.03917238488793373,
0.031938645988702774,
0.10159226506948471,
0.020972510799765587,
0.033111684024333954,
0.0639483854174614,
-0.07048896700143814,
-0.05388868972659111,
0.029468156397342682,
0.007922454737126827,
-0.02550470642745495,
0.007313719019293785,
0.016653595492243767,
0.001151932985521853,
-0.00010782014578580856,
0.0012441320577636361,
-0.01875084638595581,
0.023034214973449707,
0.0761408805847168,
0.031067753210663795,
0.03512006998062134,
-0.014796284027397633,
0.047277018427848816,
-0.030943341553211212,
-0.02788633108139038,
-0.016440315172076225,
0.038923557847738266,
0.004483318421989679,
-0.03181423246860504,
0.07045342028141022,
-0.025184787809848785,
0.032738447189331055,
-0.10706644505262375,
-0.002965922001749277,
-0.012325793504714966,
0.044611018151044846,
-0.04105635732412338,
0.01304561272263527,
-0.0004629392933566123,
-0.01246798038482666,
-0.05388868972659111,
0.014885150827467442,
0.02376292087137699,
-0.016724688932299614,
0.045784059911966324,
0.011170527897775173,
-0.01271680649369955,
0.017444508150219917,
-0.012974519282579422,
0.04030987620353699,
-0.027637504041194916,
-0.06249097362160683,
-0.003692406229674816,
-0.04859224334359169,
-0.017053496092557907,
0.024704907089471817,
0.02845507673919201,
-0.011819254606962204,
-0.020350445061922073,
0.0067627462558448315,
0.030392367392778397,
0.006291753612458706,
-0.06348627805709839,
-0.041091904044151306,
-0.013001179322600365,
0.014662984758615494,
0.03344937786459923,
0.01687576249241829,
0.014307518489658833,
0.01325000636279583,
-0.002550470642745495,
0.004292255267500877,
0.009642023593187332,
-0.026162318885326385,
-0.00023744037025608122,
0.011117208749055862,
-0.00224610255099833,
0.011721501126885414,
-0.013809865340590477,
0.024971507489681244,
0.0045944019220769405,
0.00032297446159645915,
0.013267779722809792,
0.03977667912840843,
-0.012734579853713512,
-0.033627111464738846,
0.039918866008520126,
0.019675059244036674,
0.007220408879220486,
0.03437358886003494,
0.013125592842698097,
-0.017524488270282745,
0.07898461073637009,
0.0032525165006518364,
0.0065716831013560295,
-0.067112036049366,
-0.006976026110351086,
0.023478548973798752,
0.000256879924563691,
0.032916177064180374,
-0.029130462557077408,
0.043118059635162354,
-0.04404227435588837,
0.050298482179641724,
-0.0787002369761467,
0.004607731942087412,
-0.012396886944770813,
0.002590460702776909,
0.017595581710338593,
-0.028188476338982582,
0.005318664480000734,
0.06273980438709259,
0.05545274168252945,
-0.016031529754400253,
-0.08708924055099487,
0.010317409411072731,
0.0406297966837883,
-0.0006937147118151188,
0.010095242410898209,
-0.006291753612458706,
0.07528775930404663,
0.0345335491001606,
0.03718177601695061,
-0.018999673426151276,
0.04279814288020134,
0.01816432736814022,
0.06249097362160683,
-0.022820936515927315,
-0.0018595330184325576,
0.05435079708695412,
0.018288740888237953,
0.03325387090444565,
-0.020190484821796417,
-0.052217997610569,
-0.03839036077260971,
-0.0034835697151720524,
-0.03101443499326706,
0.0074203587137162685,
-0.0114371282979846,
-0.05694570019841194,
-0.007584761828184128,
0.04418446123600006,
-0.02276761643588543,
-0.014405271969735622,
-0.0005076503148302436,
0.02326526865363121,
-0.0017839964712038636,
0.019195180386304855,
0.004523308482021093,
-0.054244156926870346,
0.0221988707780838,
-0.067112036049366,
0.025007054209709167,
-0.02916600927710533,
-0.01924850046634674,
0.0814017802476883,
-0.029006049036979675,
0.011063888669013977,
0.04020323604345322,
-0.02895272895693779,
0.029663661494851112,
-0.006776076275855303,
0.03778606653213501,
0.04798794910311699,
-0.011757047846913338,
0.01697351597249508,
-0.029130462557077408,
-0.0008181278826668859,
0.10251647979021072,
0.003899020841345191,
-0.003576879622414708,
0.05360431596636772,
0.0006320634856820107,
-0.05243127793073654,
-0.0012019204441457987,
-0.025753533467650414,
0.059220682829618454,
0.04418446123600006,
0.019692832604050636,
0.013116706162691116,
-0.03277399390935898,
0.04301142320036888,
0.054244156926870346,
-0.011481561698019505,
-0.007722505368292332,
0.06174449622631073,
0.09178140014410019,
-0.05339103564620018,
-0.009597590193152428,
-0.07912679761648178,
-0.009935283102095127,
-0.014298631809651852,
-0.015951549634337425,
-0.0002865947026293725,
-0.013507719151675701,
0.04503757879137993,
-0.07301277667284012,
-0.009695342741906643,
0.05218245089054108,
0.04482429847121239,
0.030961114913225174,
-0.0020294904243201017,
0.030196862295269966,
0.015684951096773148,
0.0012196936877444386,
-0.017986593768000603,
-0.023922881111502647,
0.04030987620353699,
-0.059824977070093155,
-0.006482816766947508,
-0.003248073160648346,
0.031174393370747566,
0.015382803976535797,
-0.018182100728154182,
0.02602013200521469,
0.07386589795351028,
-0.03387593850493431,
-0.07180418819189072,
-0.011641521006822586,
-0.019906112924218178,
-0.03138767555356026,
-0.003050345228984952,
-0.013916505500674248,
0.035191163420677185,
-0.013516605831682682,
0.06035817787051201,
0.008788904175162315,
0.06668547540903091
] |
10,257 | collections | __gt__ | True if all counts in self are a proper superset of those in other. | def __gt__(self, other):
'True if all counts in self are a proper superset of those in other.'
if not isinstance(other, Counter):
return NotImplemented
return self >= other and self != other
| (self, other) | [
-0.034536488354206085,
0.011874106712639332,
-0.04269774630665779,
0.06308338046073914,
0.004036846105009317,
-0.0029422566294670105,
-0.015508144162595272,
-0.015989763662219048,
0.03982554376125336,
-0.05110419541597366,
-0.010166547261178493,
-0.011366217397153378,
0.03586750850081444,
-0.058529891073703766,
-0.025131775066256523,
0.0017995050875470042,
-0.018441643565893173,
0.006217268295586109,
0.026515336707234383,
0.0026620416902005672,
-0.006598185282200575,
0.019965313374996185,
0.009404713287949562,
0.030630992725491524,
0.016173655167222023,
0.06437937915325165,
-0.0334506556391716,
-0.02500918135046959,
-0.028266679495573044,
0.04623546078801155,
-0.07874038815498352,
-0.01071821991354227,
0.03243487700819969,
-0.01774110645055771,
0.04493946582078934,
-0.023467998951673508,
-0.03028072416782379,
0.03241736441850662,
-0.0087742293253541,
0.023695673793554306,
0.01595473662018776,
-0.05772427096962929,
-0.016059817746281624,
-0.0277237631380558,
0.04304801672697067,
-0.011278649792075157,
0.032364822924137115,
0.019947798922657967,
0.025306908413767815,
-0.020595796406269073,
-0.003091120859608054,
-0.04010576009750366,
-0.007885422557592392,
0.03108634240925312,
-0.06683125346899033,
0.05289056524634361,
0.0417870469391346,
0.054817043244838715,
-0.06371386349201202,
0.044764332473278046,
-0.05586784705519676,
0.048126909881830215,
0.023327890783548355,
-0.0657103955745697,
0.0054116505198180676,
-0.02595490589737892,
-0.05439671874046326,
0.0032421741634607315,
-0.01606857404112816,
0.04367849975824356,
-0.044799357652664185,
0.008502771146595478,
0.020735902711749077,
0.03450145944952965,
-0.03143661096692085,
-0.01866931840777397,
0.01563073880970478,
0.012846102006733418,
0.029825374484062195,
-0.0559028759598732,
0.038249336183071136,
-0.06585050374269485,
0.032802656292915344,
-0.0010650355834513903,
-0.002552582649514079,
0.02718084678053856,
0.005354731809347868,
-0.00194289640057832,
0.04035094752907753,
0.019229749217629433,
-0.0285468939691782,
0.06812725216150284,
0.07376657426357269,
-0.041822075843811035,
0.0327150896191597,
0.03401108458638191,
-0.0578293539583683,
-0.007999259978532791,
-0.019947798922657967,
-0.010586869902908802,
0.03859960287809372,
0.04781166836619377,
0.03660307452082634,
-0.016173655167222023,
0.02577977254986763,
0.017443377524614334,
-0.01044676173478365,
-0.028389273211359978,
-0.027285927906632423,
-0.003060472197830677,
-0.01807386241853237,
0.029370024800300598,
-0.02047320269048214,
-0.00757893780246377,
0.002044693101197481,
-0.01826651021838188,
0.01446609478443861,
-0.024483777582645416,
0.027075765654444695,
-0.005144570488482714,
-0.01989525929093361,
-0.006243538577109575,
0.0628732219338417,
0.03558729216456413,
-0.020350607112050056,
0.0039908732287585735,
0.023467998951673508,
0.048897501081228256,
-0.056603413075208664,
-0.021944331005215645,
0.07796979695558548,
-0.038879819214344025,
-0.0006102336337789893,
0.05457185581326485,
0.07264571636915207,
-0.01232069917023182,
0.07537781447172165,
0.03050839900970459,
-0.010788273997604847,
-0.0031130125280469656,
0.02891467697918415,
-0.0065325102768838406,
0.02714581973850727,
0.046515677124261856,
-0.009597361087799072,
-0.0027342846151441336,
-0.07453716546297073,
0.04511459916830063,
-0.01337150577455759,
0.011208596639335155,
-0.04217234253883362,
-0.009693684987723827,
0.05096408724784851,
-0.04465925320982933,
-0.01251334697008133,
0.010578112676739693,
-0.017066840082406998,
-0.021909303963184357,
-0.020560769364237785,
-0.01870434544980526,
-0.0021574359852820635,
0.032750118523836136,
-0.008572825230658054,
0.022084437310695648,
-0.01770607940852642,
-0.03183941915631294,
-0.007189264055341482,
-0.03518448397517204,
-0.032347310334444046,
0.041016459465026855,
0.017136892303824425,
-0.021769195795059204,
0.00456662755459547,
-0.007942341268062592,
-0.06486975401639938,
-0.022697407752275467,
0.019142180681228638,
0.03499183803796768,
-0.006821481976658106,
0.01149756833910942,
0.03873971104621887,
-0.040841322392225266,
-0.05912534520030022,
-0.04977317526936531,
0.026077499613165855,
-0.06444942951202393,
0.0039120628498494625,
-0.012714751996099949,
0.007881044410169125,
0.03733863681554794,
-0.023380432277917862,
-0.04199720919132233,
0.0035092539619654417,
-0.019580017775297165,
0.05824967473745346,
-0.009080714546144009,
-0.040456026792526245,
-0.00019319505372550339,
0.0582846999168396,
0.04917771741747856,
-0.053450994193553925,
0.010359195061028004,
0.001841099583543837,
-0.06115690618753433,
0.06977351009845734,
0.030385805293917656,
-0.01968509703874588,
-0.04427395761013031,
-0.00805617868900299,
-0.05705876275897026,
-0.009255848824977875,
-0.0657103955745697,
-0.006195376627147198,
0.002959769917652011,
0.02949262037873268,
0.02084098383784294,
0.022539786994457245,
-0.05772427096962929,
-0.048722367733716965,
-0.02535944990813732,
0.07867033779621124,
-0.021996870636940002,
-0.012180591933429241,
-0.02598993293941021,
-0.001495209289714694,
0.03919506072998047,
0.01887947879731655,
0.008800499141216278,
-0.0005669973324984312,
0.0024015293456614017,
0.02975532039999962,
0.04942290484905243,
0.048757392913103104,
-0.028599433600902557,
-0.05348602309823036,
0.02423859015107155,
-0.026690470054745674,
0.03584999591112137,
-0.021734168753027916,
0.025692204013466835,
-0.01408079918473959,
0.02047320269048214,
0.00599835067987442,
0.011987944133579731,
-0.04781166836619377,
-0.07649867236614227,
-0.036743178963661194,
0.02047320269048214,
0.048687342554330826,
0.07965108752250671,
-0.05436169356107712,
-0.10459021478891373,
-0.06728660315275192,
-0.05576276779174805,
0.00344357849098742,
-0.035692375153303146,
-0.08525538444519043,
-0.06444942951202393,
0.02206692472100258,
0.018616778776049614,
0.007303101010620594,
0.0853254422545433,
-0.013424045406281948,
0.015429333783686161,
-0.05275045707821846,
0.03266255185008049,
0.04560497775673866,
-0.0015116280410438776,
-0.002205597935244441,
0.030771100893616676,
-0.02479901909828186,
-0.03621777892112732,
0.030963746830821037,
-0.03327552229166031,
-0.057794325053691864,
0.018861966207623482,
0.029667753726243973,
-0.05190981179475784,
-0.03028072416782379,
-0.00788980070501566,
0.006598185282200575,
0.02285502851009369,
-0.021559035405516624,
-0.04364347085356712,
-0.0181439146399498,
0.011252379976212978,
-0.05120927467942238,
-0.06574542075395584,
-0.039650410413742065,
-0.03852954879403114,
0.049142688512802124,
-0.009912602603435516,
0.045955244451761246,
-0.008857417851686478,
0.018949532881379128,
-0.023187784478068352,
0.047531455755233765,
-0.06931816041469574,
0.029002243652939796,
0.046200431883335114,
0.019159695133566856,
-0.03397605940699577,
-0.05271543189883232,
-0.010026440024375916,
0.04777664318680763,
-0.0023380431812256575,
0.038879819214344025,
0.03458902984857559,
-0.0037829012144356966,
0.010972165502607822,
-0.0036274695303291082,
0.05331088602542877,
0.019352342933416367,
0.00896687712520361,
0.013704260811209679,
0.029580187052488327,
0.013748044148087502,
-0.05838978290557861,
-0.014457338489592075,
0.06049139425158501,
0.004240439739078283,
0.03147163614630699,
-0.03726858273148537,
-0.020788444206118584,
-0.0408763512969017,
-0.05450180172920227,
-0.02616506814956665,
0.00995638594031334,
0.008086827583611012,
0.016699057072401047,
-0.024361183866858482,
-0.027898896485567093,
0.0680922269821167,
-0.001394507009536028,
-0.005722513888031244,
0.03625280410051346,
0.038494523614645004,
0.025306908413767815,
0.003697523381561041,
-0.03068353235721588,
0.003047337057068944,
-0.0005024165729992092,
-0.002594177145510912,
-0.032592497766017914,
0.007062291260808706,
-0.0181439146399498,
-0.04367849975824356,
-0.01949244923889637,
0.04644562304019928,
-0.006427429616451263,
-0.04777664318680763,
0.016734084114432335,
0.04031591862440109,
0.0024299887008965015,
0.02147146686911583,
0.01789872720837593,
0.012889886274933815,
0.00026406970573589206,
-0.006501861847937107,
0.007959854789078236,
0.02635771594941616,
-0.0026883117388933897,
0.0003130525874439627,
-0.00024354616471100599,
-0.0685475692152977,
0.017452135682106018,
0.00688715698197484,
-0.04630551487207413,
-0.12441541999578476,
-0.008831148035824299,
-0.009798765182495117,
-0.02423859015107155,
0.020911037921905518,
0.0027167710941284895,
-0.015210415236651897,
-0.027793817222118378,
-0.0778997465968132,
0.04245255887508392,
-0.031769365072250366,
-0.024711452424526215,
0.05912534520030022,
0.03206709399819374,
-0.06182241439819336,
0.010814543813467026,
-0.019019586965441704,
-0.00874795950949192,
-0.04886247590184212,
-0.0167253278195858,
0.047916751354932785,
0.05190981179475784,
0.01359042339026928,
-0.04858225956559181,
-0.05390634387731552,
0.006134079769253731,
-0.06865265220403671,
-0.0021727601997554302,
-0.0029247431084513664,
-0.04273277521133423,
0.004349898546934128,
-0.030648505315184593,
0.06557028740644455,
0.0032246606424450874,
0.037093449383974075,
-0.010131520219147205,
0.0348692424595356,
0.04784669727087021,
0.007281209342181683,
-0.0315241776406765,
-0.014492364600300789,
0.07243555784225464,
-0.050859007984399796,
-0.011129786260426044,
-0.008345150388777256,
-0.007224290631711483,
-0.04521968215703964,
-0.09464258700609207,
-0.03050839900970459,
-0.002990418579429388,
0.07348635792732239,
-0.017294514924287796,
0.036918316036462784,
0.003743496024981141,
0.02168162912130356,
-0.038459498435258865,
-0.03341562673449516,
-0.046585727483034134,
-0.053240831941366196,
-0.012635941617190838,
-0.021576547995209694,
-0.01388815138489008,
-0.02735598012804985,
-0.012417023070156574,
0.04592021927237511,
-0.00616034958511591,
0.015910953283309937,
0.0037916579749435186,
-0.03653302043676376,
-0.03577994182705879,
0.0024365561548620462,
0.038249336183071136,
0.032802656292915344,
-0.007211155723780394,
0.006856508553028107,
-0.010989679023623466,
0.035342104732990265,
-0.005713757127523422,
0.01034168154001236,
0.03012310341000557,
0.04430898278951645,
0.0014798849588260055,
0.009492279961705208,
0.003997440915554762,
-0.017040569335222244,
-0.0028327975887805223,
-0.0408763512969017,
-0.016541436314582825,
-0.0425226129591465,
-0.05180473253130913,
-0.009614874608814716,
0.039089981466531754,
-0.012373239733278751,
0.0174346212297678,
-0.04175202175974846,
0.032364822924137115,
-0.0437135249376297,
0.02676052413880825,
-0.004899382591247559,
0.016401328146457672,
0.005013220012187958,
0.041016459465026855,
0.03548221290111542,
-0.059930965304374695,
-0.030648505315184593,
-0.020228013396263123,
-0.07768958061933517,
0.0315241776406765,
-0.02951013296842575,
0.01781991682946682,
0.004461546894162893,
0.029387539252638817,
0.08721689134836197,
0.0669013112783432,
0.01563073880970478,
-0.04532476142048836,
0.02283751592040062,
-0.013266424648463726,
-0.05723389610648155,
0.015621981583535671,
0.012478319928050041,
0.0020271798130124807,
0.011471297591924667,
-0.07418689876794815,
-0.03919506072998047,
0.06301333010196686,
0.031138882040977478,
-0.0009698062785901129,
0.06381894648075104,
0.02084098383784294,
0.00032016742625273764,
0.027058253064751625,
-0.010989679023623466,
0.040631163865327835,
-0.034133680164813995,
-0.00032098835799843073,
0.034921783953905106,
0.0009407996549271047,
0.03406362608075142,
0.005451055709272623,
0.03873971104621887,
0.0022121653892099857,
0.023783240467309952,
-0.06049139425158501,
0.04679588973522186,
0.030263209715485573,
0.04465925320982933,
-0.02676052413880825,
-0.035359617322683334,
-0.052049919962882996,
0.01149756833910942,
0.006725158076733351,
0.02063082344830036,
-0.007434451952576637,
-0.03635788336396217,
-0.01670781336724758,
-0.029807861894369125,
-0.015735818073153496,
-0.010262871161103249,
-0.019632557407021523,
0.0017622890882194042,
-0.021156225353479385,
-0.016812894493341446,
-0.025254368782043457,
0.013065020553767681,
0.030263209715485573,
-0.04315309599041939,
0.06409916281700134,
-0.06830238550901413,
0.03469410911202431,
0.003531145630404353,
0.040070731192827225,
0.031401582062244415,
0.028599433600902557,
0.11082499474287033,
0.0011438460787758231,
0.008577203378081322,
0.06655104458332062,
-0.06339862197637558,
-0.02560463733971119,
0.0279514379799366,
0.020718390122056007,
-0.02516680210828781,
0.004619167651981115,
0.019212234765291214,
-0.030210670083761215,
0.017776133492588997,
0.03327552229166031,
-0.0011274272110313177,
0.05555260553956032,
0.10781268775463104,
0.04749642685055733,
0.022557299584150314,
0.0018170186085626483,
0.058740049600601196,
-0.04592021927237511,
-0.02756614238023758,
-0.015884682536125183,
0.03933516889810562,
-0.017373325303196907,
-0.029422566294670105,
0.05824967473745346,
-0.00601148558780551,
0.006414294242858887,
-0.09001903980970383,
0.007758450228720903,
-0.01042924914509058,
0.04826701804995537,
-0.03635788336396217,
0.024869073182344437,
-0.01810888946056366,
-0.018424130976200104,
-0.04546486958861351,
0.029264945536851883,
0.037864040583372116,
-0.03993062674999237,
0.029650241136550903,
-0.0060552689246833324,
-0.022014383226633072,
0.0022920703049749136,
-0.0007021791534498334,
0.03108634240925312,
-0.029807861894369125,
-0.03723355755209923,
0.004065305460244417,
-0.06346867978572845,
0.00517084077000618,
0.023257838562130928,
0.017215704545378685,
-0.023678159341216087,
-0.030963746830821037,
0.018616778776049614,
0.05355607345700264,
0.02518431469798088,
-0.0642392709851265,
-0.02516680210828781,
0.00904568750411272,
0.00993011612445116,
0.00861223042011261,
0.012670967727899551,
0.0012018593261018395,
0.0005319705232977867,
0.005919539835304022,
0.026813063770532608,
0.02168162912130356,
-0.00440243910998106,
0.020613308995962143,
-0.010262871161103249,
-0.008629743941128254,
-0.007084183394908905,
-0.009702441282570362,
0.03653302043676376,
-0.00019853116828016937,
0.0033166061621159315,
0.006497483234852552,
0.045955244451761246,
-0.019457422196865082,
-0.05705876275897026,
0.02972029335796833,
-0.0222245454788208,
0.014711283147335052,
0.026077499613165855,
0.008253204636275768,
-0.03835441544651985,
0.06098176911473274,
-0.018248995766043663,
-0.0279514379799366,
-0.056007955223321915,
-0.00737315509468317,
0.04599027335643768,
0.019965313374996185,
0.023678159341216087,
-0.038669656962156296,
0.044799357652664185,
-0.04213731735944748,
0.05803951248526573,
-0.07271576672792435,
-0.017136892303824425,
-0.008839904330670834,
0.015692034736275673,
0.017714835703372955,
-0.02049071528017521,
-0.011628919281065464,
0.06630585342645645,
0.05733897536993027,
-0.03852954879403114,
-0.0874270498752594,
0.00477241026237607,
0.059930965304374695,
0.009693684987723827,
-0.00023779956973157823,
-0.020788444206118584,
0.0790906623005867,
0.00006745407881680876,
0.03614772483706474,
-0.010508059523999691,
0.03383595123887062,
0.018389103934168816,
0.04581513628363609,
-0.027478575706481934,
-0.018651805818080902,
0.02931748516857624,
0.031173909083008766,
0.042242396622896194,
-0.009772495366632938,
-0.05229510739445686,
-0.03147163614630699,
-0.003351632971316576,
-0.025639664381742477,
0.034904271364212036,
-0.027128305286169052,
-0.0570937879383564,
-0.002876581158488989,
0.035324592143297195,
-0.05457185581326485,
-0.021716656163334846,
0.00827509630471468,
0.02026304043829441,
-0.01317885797470808,
0.009772495366632938,
-0.021173739805817604,
-0.04525470733642578,
0.027671221643686295,
-0.048722367733716965,
0.01793375425040722,
-0.010762004181742668,
-0.020823471248149872,
0.08182275295257568,
-0.02481653355062008,
0.012889886274933815,
0.06028123199939728,
-0.0362878292798996,
0.028266679495573044,
-0.020963577553629875,
0.04472930356860161,
0.047321293503046036,
-0.01572706177830696,
0.024063454940915108,
-0.02660290338099003,
-0.003380092326551676,
0.09926613420248032,
-0.022872542962431908,
-0.018003808334469795,
0.07846017181873322,
-0.008923093788325787,
-0.061297010630369186,
-0.021173739805817604,
-0.032732605934143066,
0.057584162801504135,
0.05653335899114609,
0.016699057072401047,
0.011208596639335155,
-0.033187951892614365,
0.04511459916830063,
0.04038597270846367,
-0.02423859015107155,
-0.014720039442181587,
0.04896755516529083,
0.07691899687051773,
-0.05320580676198006,
-0.006685752887278795,
-0.08315377682447433,
-0.004518465604633093,
-0.013362748548388481,
-0.011453784070909023,
0.0003598463081289083,
-0.011094759218394756,
0.030035536736249924,
-0.061717335134744644,
-0.008047422394156456,
0.07712915539741516,
0.05453682690858841,
0.029790347442030907,
0.007289966102689505,
0.041226617991924286,
0.020823471248149872,
-0.00435865530744195,
-0.026252634823322296,
-0.01611235737800598,
0.05474698916077614,
-0.056358225643634796,
-0.0023424215614795685,
0.023555565625429153,
0.012268159538507462,
0.007434451952576637,
-0.03133152797818184,
0.045149628072977066,
0.08966877311468124,
-0.007876666262745857,
-0.044589199125766754,
-0.009632387198507786,
-0.010376708582043648,
-0.01807386241853237,
-0.011532595381140709,
0.0031217692885547876,
0.013222641311585903,
-0.022189518436789513,
0.0645194798707962,
-0.005639324896037579,
0.06500986218452454
] |
10,258 | collections | __iadd__ | Inplace add from another counter, keeping only positive counts.
>>> c = Counter('abbb')
>>> c += Counter('bcc')
>>> c
Counter({'b': 4, 'c': 2, 'a': 1})
| def __iadd__(self, other):
'''Inplace add from another counter, keeping only positive counts.
>>> c = Counter('abbb')
>>> c += Counter('bcc')
>>> c
Counter({'b': 4, 'c': 2, 'a': 1})
'''
for elem, count in other.items():
self[elem] += count
return self._keep_positive()
| (self, other) | [
-0.06727423518896103,
-0.019629040732979774,
-0.009991837665438652,
0.10298597067594528,
0.0363500751554966,
-0.01443364005535841,
-0.0164018627256155,
-0.010905022732913494,
0.08128231763839722,
-0.05518118664622307,
-0.059046708047389984,
-0.000006004377155477414,
0.022235607728362083,
0.01867152750492096,
-0.02368961088359356,
0.02764378860592842,
0.004109331872314215,
0.01330767385661602,
-0.015568471513688564,
-0.04617346078157425,
0.027235958725214005,
-0.002903573215007782,
0.03791046887636185,
0.05362079292535782,
-0.024257026612758636,
0.039719108492136,
0.018582867458462715,
-0.030498599633574486,
0.006210543215274811,
-0.023086730390787125,
0.004452884197235107,
-0.04610253497958183,
-0.04354916512966156,
-0.03478968143463135,
0.030214892700314522,
-0.02659761719405651,
-0.04376194626092911,
0.023991050198674202,
-0.024593928828835487,
0.04688272997736931,
0.053514402359724045,
-0.01815730519592762,
-0.004178042057901621,
-0.03409814462065697,
0.05493294447660446,
0.0466344878077507,
-0.004854064900428057,
0.027892034500837326,
0.07645928114652634,
-0.06528828293085098,
-0.04010920599102974,
-0.013626845553517342,
0.01936306431889534,
0.017917927354574203,
0.002540072426199913,
0.06514643132686615,
0.013041697442531586,
0.025533711537718773,
-0.059933293610811234,
0.06142276152968407,
-0.040534768253564835,
-0.027519667521119118,
-0.015444349497556686,
-0.02333497628569603,
0.00968153215944767,
-0.004845199175179005,
-0.04592521861195564,
-0.00343552534468472,
0.010523790493607521,
0.0008261884795501828,
0.014575493521988392,
0.0015781252877786756,
0.005071278661489487,
-0.004450667649507523,
-0.0076246499083936214,
0.027253691107034683,
0.013795296661555767,
0.03455916792154312,
0.052627816796302795,
-0.020462432876229286,
0.02868996188044548,
-0.05163484066724777,
-0.02163272723555565,
0.026207517832517624,
-0.006268171593546867,
0.026704005897045135,
-0.013201283290982246,
-0.04198877140879631,
0.0030387777369469404,
0.031757552176713943,
-0.010399667546153069,
0.008116706274449825,
0.04787570983171463,
-0.029257377609610558,
0.04042837768793106,
0.013440662063658237,
-0.05379811301827431,
-0.040357448160648346,
-0.005195401143282652,
0.03684656322002411,
0.0019926046952605247,
0.019114820286631584,
0.021827777847647667,
-0.058869391679763794,
0.002495743101462722,
-0.06904741376638412,
0.014282920397818089,
-0.0597914420068264,
0.040357448160648346,
0.04695365950465202,
0.034665558487176895,
-0.03936447203159332,
-0.019664503633975983,
-0.03198806568980217,
-0.040357448160648346,
-0.004457317292690277,
0.001898404909297824,
-0.016854023560881615,
0.004734375514090061,
0.07979284971952438,
-0.002863676752895117,
0.0169072188436985,
0.06028793007135391,
0.019841821864247322,
0.008471340872347355,
-0.05085464194417,
-0.016508253291249275,
0.03248455375432968,
0.005904670804738998,
-0.03266187384724617,
0.02590607851743698,
-0.0878785252571106,
0.017758341506123543,
0.03943539783358574,
0.04890415072441101,
-0.031544774770736694,
0.09454566240310669,
0.030143965035676956,
-0.008870305493474007,
0.04911693185567856,
0.042981747537851334,
-0.004364225547760725,
0.02420383132994175,
0.07546630501747131,
0.028938205912709236,
0.0009237130288966,
-0.04546419158577919,
0.05050000920891762,
-0.03425772860646248,
0.003741397988051176,
-0.01435384713113308,
0.020515628159046173,
0.023441364988684654,
0.022696632891893387,
0.0019305436871945858,
0.012075318023562431,
0.005474675912410021,
-0.018095245584845543,
-0.03954178839921951,
-0.029665207490324974,
0.027360081672668457,
0.018281428143382072,
0.00665383692830801,
0.00984998419880867,
-0.011029144749045372,
0.004393039736896753,
0.017235254868865013,
0.028973670676350594,
-0.04567697271704674,
0.017190925776958466,
-0.010089362040162086,
-0.08468680828809738,
0.023973317816853523,
-0.008551133796572685,
0.004907260183244944,
-0.01211078092455864,
-0.042414333671331406,
0.029257377609610558,
0.02037377469241619,
-0.008772780187427998,
0.026845861226320267,
0.020001407712697983,
-0.06887009739875793,
-0.030321283265948296,
0.0007452873978763819,
-0.06695506721735,
0.01624227687716484,
0.02262570522725582,
0.04979073628783226,
0.0041314964182674885,
0.07575000822544098,
-0.008821542374789715,
0.026207517832517624,
0.0065873428247869015,
0.021685922518372536,
-0.026189785450696945,
-0.08497051894664764,
-0.011135535314679146,
0.04379740729928017,
0.10610675811767578,
-0.10078723728656769,
0.0063612633384764194,
0.019593577831983566,
-0.012119647115468979,
0.029452426359057426,
-0.0024314653128385544,
-0.04252072423696518,
-0.007332076318562031,
-0.038300566375255585,
-0.02939923107624054,
0.02939923107624054,
-0.03202353045344353,
0.01011595968157053,
0.007380838505923748,
-0.009956374764442444,
0.01968223601579666,
0.00444623501971364,
-0.03142065182328224,
-0.0015360123943537474,
-0.010905022732913494,
0.027537398040294647,
0.009584007784724236,
-0.01881338097155094,
-0.04702458530664444,
0.039825499057769775,
0.006387860979884863,
0.017164329066872597,
0.011020278558135033,
-0.016490522772073746,
0.03108374774456024,
0.06259305775165558,
0.03808778524398804,
-0.009007725864648819,
-0.016880620270967484,
0.01167635340243578,
-0.038655202835798264,
-0.041208572685718536,
0.0016191299073398113,
0.015763521194458008,
-0.022909414023160934,
-0.010568119585514069,
0.027360081672668457,
0.02335270680487156,
0.03572946414351463,
-0.07461518049240112,
-0.04425843432545662,
-0.013263344764709473,
0.05025176331400871,
-0.00022358620481099933,
0.06808989495038986,
0.011499036103487015,
-0.018245965242385864,
-0.048159416764974594,
-0.011516767553985119,
-0.008028047159314156,
-0.02870769426226616,
-0.053337085992097855,
-0.025959273800253868,
-0.024753514677286148,
-0.003391196019947529,
0.004942723549902439,
0.08071489632129669,
-0.004045054316520691,
-0.032058995217084885,
-0.0689055547118187,
0.0370238833129406,
0.053514402359724045,
0.013733236119151115,
0.021827777847647667,
0.054010894149541855,
-0.040853939950466156,
-0.07823245227336884,
0.06365696340799332,
0.006676001474261284,
-0.010656778700649738,
0.02991345338523388,
0.0360131710767746,
0.06986307352781296,
-0.035676270723342896,
0.011250792071223259,
0.04617346078157425,
0.04769839346408844,
-0.05269874259829521,
-0.06855092197656631,
-0.007997016422450542,
0.03833603113889694,
0.009823386557400227,
0.005190968047827482,
-0.057486314326524734,
-0.06887009739875793,
0.05457830801606178,
0.03730759024620056,
0.06259305775165558,
0.011862536892294884,
0.008059077896177769,
0.01661464385688305,
-0.029789330437779427,
-0.03556988015770912,
0.004428503103554249,
0.0694020465016365,
-0.024487538263201714,
-0.004716644063591957,
-0.0789417251944542,
-0.027165032923221588,
-0.02455846592783928,
-0.03317609429359436,
0.05007444694638252,
0.07089151442050934,
-0.028583571314811707,
0.017838135361671448,
-0.015834446996450424,
0.06284130364656448,
-0.031207870692014694,
0.03510885313153267,
-0.01080749835819006,
-0.0164018627256155,
-0.023725073784589767,
0.0003272061003372073,
-0.012997368350625038,
0.047627463936805725,
0.030339013785123825,
-0.0235300250351429,
-0.06624579429626465,
-0.016827424988150597,
-0.03113694302737713,
0.0043996889144182205,
0.030161697417497635,
-0.009592873975634575,
0.041917841881513596,
-0.02406197600066662,
-0.026757201179862022,
-0.02957654930651188,
-0.019451722502708435,
-0.0010871775448322296,
-0.056599728763103485,
0.014894665218889713,
0.018742453306913376,
0.017536694183945656,
-0.0149478605017066,
0.036740172654390335,
-0.023565487936139107,
0.02110077627003193,
-0.06695506721735,
0.001220165635459125,
-0.002604349981993437,
-0.06695506721735,
-0.028991401195526123,
-0.025125881657004356,
0.025356393307447433,
-0.026172054931521416,
-0.019930480048060417,
-0.014371578581631184,
-0.0006078663282096386,
0.019274406135082245,
0.07589186728000641,
0.05518118664622307,
0.006463220808655024,
-0.03510885313153267,
0.03893890976905823,
-0.0328923836350441,
0.0030010975897312164,
-0.02798069268465042,
0.00768671091645956,
0.010266680270433426,
-0.07560815662145615,
0.02227107062935829,
-0.017332779243588448,
-0.07454425096511841,
-0.09319804608821869,
-0.03908076509833336,
0.01531136129051447,
-0.03698841854929924,
0.02386692725121975,
0.0009181718924082816,
0.011383779346942902,
-0.008989994414150715,
-0.031066015362739563,
0.03840695694088936,
-0.0535498671233654,
-0.01643732748925686,
0.024859905242919922,
0.013422930613160133,
-0.06294769048690796,
0.05064186081290245,
0.01624227687716484,
0.05493294447660446,
0.018370086327195168,
-0.04872683435678482,
0.06319593638181686,
0.07681391388177872,
-0.017013609409332275,
-0.02659761719405651,
0.00022372473904397339,
0.000402843055780977,
-0.05596138536930084,
-0.04546419158577919,
-0.007567021995782852,
-0.05688343569636345,
-0.01374210137873888,
-0.054720163345336914,
0.06901194900274277,
-0.02555144391953945,
0.035693999379873276,
-0.0012844431912526488,
0.0008788295672275126,
0.02335270680487156,
-0.045393265783786774,
-0.05968505144119263,
-0.020160993561148643,
0.04961341992020607,
-0.07844523340463638,
-0.03452370688319206,
0.023760536685585976,
-0.03698841854929924,
-0.01442477386444807,
-0.1039789468050003,
-0.011436974629759789,
-0.059224024415016174,
-0.0026575452648103237,
0.030675917863845825,
0.041066721081733704,
-0.018724722787737846,
-0.02315765805542469,
0.023122195154428482,
-0.024664856493473053,
-0.02626071311533451,
-0.018441013991832733,
-0.016304338350892067,
-0.006822288502007723,
-0.007828565314412117,
-0.04262711480259895,
-0.026704005897045135,
0.05120927840471268,
-0.02762605808675289,
-0.0014373795129358768,
-0.014806006103754044,
-0.005089010577648878,
-0.040002815425395966,
-0.0006832262733951211,
0.054897479712963104,
0.030551794916391373,
0.005004785023629665,
-0.0036749038845300674,
0.021579531952738762,
0.007314344402402639,
-0.031385187059640884,
-0.026047931984066963,
0.01968223601579666,
-0.006720331031829119,
0.005740652326494455,
0.07993470132350922,
-0.01132171880453825,
-0.004479481838643551,
0.03216538578271866,
0.004313246812671423,
-0.004672314506024122,
-0.03572946414351463,
-0.0324668250977993,
0.0009242671658284962,
0.023547755554318428,
-0.01794452592730522,
0.031190138310194016,
-0.01868925802409649,
0.009548543952405453,
-0.023796001449227333,
0.04812395200133324,
0.020675214007496834,
0.008333919569849968,
0.00018853830988518894,
0.07312571257352829,
-0.003898767288774252,
-0.06390520930290222,
0.019309869036078453,
-0.08830408751964569,
-0.008413712494075298,
0.009628336876630783,
-0.03095962479710579,
-0.004557058215141296,
0.005816012155264616,
0.014841469936072826,
0.04890415072441101,
0.01072770543396473,
0.02420383132994175,
-0.012598404660820961,
0.03819417580962181,
0.015559605322778225,
0.022164680063724518,
0.0014152148505672812,
0.08277178555727005,
0.03936447203159332,
0.020001407712697983,
-0.015533007681369781,
-0.0069730086252093315,
0.013156954199075699,
0.006365695968270302,
0.0013487207470461726,
0.0027949661016464233,
0.005217565689235926,
0.018618332222104073,
0.016206813976168633,
-0.040889400988817215,
-0.03369031473994255,
-0.041208572685718536,
-0.02001914009451866,
0.034470509737730026,
0.0359245128929615,
-0.0363500751554966,
0.010488326661288738,
0.04372648149728775,
-0.00845360942184925,
0.01486806757748127,
-0.02094119042158127,
0.016508253291249275,
0.023051267489790916,
0.04734375700354576,
-0.03301650658249855,
-0.05479108914732933,
-0.01426518801599741,
-0.02853037603199482,
-0.03301650658249855,
0.041031256318092346,
-0.030126232653856277,
-0.02058655582368374,
-0.016712168231606483,
-0.003643873380497098,
0.000884370761923492,
-0.05514572560787201,
-0.06135183572769165,
-0.017846999689936638,
0.037236664444208145,
-0.07887079566717148,
0.00038400309858843684,
-0.023991050198674202,
0.03301650658249855,
-0.01798885501921177,
0.04195330664515495,
0.029789330437779427,
-0.06858638674020767,
-0.003322485601529479,
0.005829310975968838,
0.0332292877137661,
0.03663378208875656,
0.06986307352781296,
-0.029789330437779427,
0.01495672669261694,
0.07979284971952438,
-0.0865309089422226,
-0.04369101673364639,
-0.015267032198607922,
-0.03134972229599953,
-0.11617838591337204,
-0.025657834485173225,
-0.04099579155445099,
0.021561801433563232,
0.04496770352125168,
0.023600950837135315,
-0.03787500411272049,
0.00940669048577547,
0.05468469858169556,
0.0785161629319191,
0.06131637096405029,
-0.02902686595916748,
0.04110218212008476,
-0.05578406900167465,
-0.06064256653189659,
-0.004938290920108557,
0.004942723549902439,
-0.03131426125764847,
-0.018955234438180923,
0.02127809263765812,
0.011259657330811024,
-0.05007444694638252,
-0.08872964978218079,
-0.015595069155097008,
-0.08624720573425293,
0.023388169705867767,
-0.04220155254006386,
-0.010763168334960938,
0.04617346078157425,
0.0010943810921162367,
-0.0950421467423439,
0.046740878373384476,
0.025356393307447433,
-0.06950844079256058,
0.06518188863992691,
0.003012180095538497,
-0.028441717848181725,
0.023388169705867767,
0.004685613326728344,
0.03493153676390648,
-0.029328305274248123,
-0.07617557048797607,
-0.022785291075706482,
-0.015621666796505451,
-0.018104109913110733,
-0.019770894199609756,
0.0007923872908577323,
0.005882506258785725,
-0.01131285261362791,
0.009654934518039227,
0.03425772860646248,
-0.02092345803976059,
-0.03165116161108017,
0.02799842320382595,
-0.019593577831983566,
0.06532374769449234,
-0.027519667521119118,
0.013511588796973228,
-0.019841821864247322,
-0.014149932190775871,
0.004947156645357609,
0.03026808798313141,
0.011880268342792988,
0.0214199461042881,
0.012899843975901604,
-0.03376124054193497,
-0.015577337704598904,
-0.0359245128929615,
0.01390168722718954,
0.04837219789624214,
-0.022873949259519577,
0.0033468666952103376,
-0.04447121545672417,
0.0002683311467990279,
-0.02642029896378517,
-0.022040557116270065,
0.01211078092455864,
0.018050916492938995,
0.02939923107624054,
0.04078301042318344,
-0.043974727392196655,
0.026828128844499588,
0.059224024415016174,
-0.009468751028180122,
0.0035219676792621613,
-0.0016656756633892655,
0.0022253338247537613,
0.06269944459199905,
-0.0005327835096977651,
0.04734375700354576,
0.012811184860765934,
0.011366047896444798,
-0.045570582151412964,
0.014291785657405853,
-0.04869136959314346,
0.0037081509362906218,
-0.040534768253564835,
-0.049187857657670975,
-0.009752458892762661,
-0.005864774342626333,
0.014052406884729862,
0.01123305968940258,
0.026367103680968285,
-0.03386763110756874,
-0.03801685944199562,
0.002453630091622472,
0.054010894149541855,
0.017581025138497353,
0.012314696796238422,
-0.01347612589597702,
0.005354986526072025,
-0.001842993195168674,
0.045570582151412964,
-0.012288099154829979,
0.02313992567360401,
0.028122546151280403,
0.03805232420563698,
-0.02610112726688385,
0.05571313947439194,
0.014291785657405853,
0.04769839346408844,
0.02262570522725582,
-0.04599614441394806,
0.04060569405555725,
0.018724722787737846,
-0.006676001474261284,
-0.0008633143152110279,
0.03388536348938942,
0.014646420255303383,
-0.013032832182943821,
-0.008276291191577911,
0.027235958725214005,
-0.0018906472250819206,
-0.03193487226963043,
-0.028459450230002403,
-0.0012922008754685521,
0.009637203067541122,
-0.0005322293727658689,
-0.016508253291249275,
-0.056422408670186996,
0.022377461194992065,
-0.056918900460004807,
0.04925878718495369,
-0.020852530375123024,
-0.025196809321641922,
0.05078371614217758,
-0.026881324127316475,
-0.03911622613668442,
0.011268523521721363,
-0.023654146119952202,
0.023813731968402863,
0.04925878718495369,
0.043620090931653976,
-0.008391547948122025,
-0.014309517107903957,
0.019309869036078453,
0.007837430573999882,
-0.018245965242385864,
0.06706145405769348,
-0.011862536892294884,
0.007668979465961456,
0.08887150138616562,
-0.06823175400495529,
0.006941977888345718,
0.05227318033576012,
0.007274447940289974,
0.037094809114933014,
0.010630181059241295,
-0.016463924199342728,
0.04546419158577919,
0.01726185344159603,
0.05035815387964249,
0.04291082173585892,
0.018955234438180923,
-0.05032268911600113,
-0.021880973130464554,
0.037094809114933014,
-0.02904459647834301,
-0.0004964888212271035,
0.005377151537686586,
0.01176501251757145,
-0.005758383776992559,
-0.001821936690248549,
-0.003796809818595648,
0.01451343297958374,
0.025090418756008148,
-0.0335661917924881,
0.01886657625436783,
0.0671323835849762,
0.023742806166410446,
0.020710676908493042,
-0.017554426565766335,
0.029434695839881897,
0.04617346078157425,
-0.024310221895575523,
-0.04184691607952118,
0.03539256006479263,
0.05120927840471268,
-0.03478968143463135,
0.016206813976168633,
0.013041697442531586,
0.021544069051742554,
-0.02347682975232601,
0.008032480254769325,
0.03166889399290085,
0.04464853182435036,
0.0003385654999874532,
-0.011543365195393562,
0.04769839346408844,
-0.02055109106004238,
-0.02021418884396553,
-0.08454495668411255,
0.0011614292161539197,
0.021508606150746346,
0.007943821139633656,
0.05131566897034645,
0.009699264541268349,
0.08546701073646545
] |
10,259 | collections | __iand__ | Inplace intersection is the minimum of corresponding counts.
>>> c = Counter('abbb')
>>> c &= Counter('bcc')
>>> c
Counter({'b': 1})
| def __iand__(self, other):
'''Inplace intersection is the minimum of corresponding counts.
>>> c = Counter('abbb')
>>> c &= Counter('bcc')
>>> c
Counter({'b': 1})
'''
for elem, count in self.items():
other_count = other[elem]
if other_count < count:
self[elem] = other_count
return self._keep_positive()
| (self, other) | [
-0.0051850611343979836,
-0.02392689511179924,
-0.024214955046772957,
0.0793602392077446,
0.017787639051675797,
0.0023854882456362247,
0.016608398407697678,
-0.05159856006503105,
0.05217467620968819,
-0.05372299253940582,
-0.019155919551849365,
-0.0018768840236589313,
0.02164042741060257,
0.008241185918450356,
-0.04915005713701248,
-0.036007367074489594,
-0.0306782778352499,
0.02191048301756382,
-0.020452184602618217,
-0.01680643856525421,
-0.0006335046491585672,
0.008839808404445648,
0.01567220687866211,
0.07554345577955246,
0.020938284695148468,
0.041444480419158936,
-0.023098725825548172,
-0.041660524904727936,
-0.008844309486448765,
0.03885195031762123,
0.021226342767477036,
-0.02533118426799774,
-0.01817471906542778,
-0.057791825383901596,
0.051850609481334686,
-0.057575780898332596,
0.021550409495830536,
0.04439708590507507,
0.017832649871706963,
0.011513356119394302,
0.018669819459319115,
-0.06380505859851837,
0.005270578432828188,
-0.02282867208123207,
0.025907300412654877,
0.0010042679496109486,
0.024052921682596207,
0.013331728056073189,
0.08641768246889114,
-0.04126444458961487,
-0.003927053418010473,
-0.04518924653530121,
-0.00849773921072483,
0.0002950916241388768,
-0.02860785461962223,
0.05527130886912346,
0.03242463618516922,
0.03454906865954399,
-0.07424719631671906,
0.027221569791436195,
-0.037627700716257095,
0.01144134160131216,
0.019858064129948616,
-0.013430748134851456,
-0.020074106752872467,
-0.02583528682589531,
-0.045693349093198776,
0.015258122235536575,
-0.021622424945235252,
0.022432589903473854,
-0.021442387253046036,
0.015186107717454433,
0.021100318059325218,
-0.006908913608640432,
-0.0398961640894413,
-0.012161488644778728,
0.002464254153892398,
0.029472030699253082,
0.06240076944231987,
-0.036871545016765594,
0.0627608448266983,
-0.051418520510196686,
-0.02511513978242874,
-0.0026757975574582815,
0.00956895761191845,
0.02741960994899273,
-0.014159897342324257,
-0.02621336467564106,
0.02484508417546749,
-0.03159646689891815,
-0.02338678576052189,
0.07345502823591232,
0.04446909949183464,
-0.005252575036138296,
0.05231870710849762,
0.05901607498526573,
-0.02731158770620823,
-0.019101908430457115,
-0.016842447221279144,
0.041660524904727936,
0.00225833710283041,
0.017220523208379745,
0.014618991874158382,
-0.049078043550252914,
0.024394992738962173,
-0.0070169358514249325,
0.010496147908270359,
-0.058619994670152664,
0.002810825128108263,
-0.005500125233083963,
0.03084031119942665,
-0.03791575878858566,
-0.05858398601412773,
0.011234299279749393,
-0.012638586573302746,
0.025655249133706093,
0.0054911235347390175,
-0.042200636118650436,
0.026015322655439377,
0.0406523197889328,
0.0018870111089199781,
-0.0018892615335062146,
0.051850609481334686,
0.04464913532137871,
0.0292199794203043,
-0.02621336467564106,
0.04925807937979698,
0.04072433337569237,
-0.029237983748316765,
-0.04922207072377205,
0.032244596630334854,
-0.046305473893880844,
-0.01901189051568508,
0.04868196323513985,
0.04353290796279907,
-0.007692073937505484,
0.05325489863753319,
0.024503013119101524,
-0.025691257789731026,
0.043784961104393005,
0.022054512053728104,
0.003949558362364769,
0.026447411626577377,
0.06333696097135544,
-0.026789482682943344,
-0.016635404899716377,
-0.03701557591557503,
0.028301790356636047,
0.01634734496474266,
0.04202060028910637,
0.005207565613090992,
-0.007908117957413197,
0.021838469430804253,
-0.012467551045119762,
-0.03950008377432823,
0.017868656665086746,
0.004761974327266216,
-0.05073438212275505,
-0.01763460785150528,
-0.022054512053728104,
0.035935353487730026,
0.00795762799680233,
0.012386534363031387,
0.025205157697200775,
-0.01071219239383936,
0.0014380442444235086,
0.013799823820590973,
0.00903334841132164,
-0.023188745602965355,
0.012899640016257763,
0.006737878546118736,
-0.04490118846297264,
0.006287786643952131,
-0.014357938431203365,
-0.0415164940059185,
0.0018082449678331614,
-0.04320884123444557,
0.014618991874158382,
0.018705828115344048,
-0.02457502856850624,
-0.0011460470268502831,
0.03226260095834732,
-0.05303885415196419,
-0.052030645310878754,
0.010757201351225376,
-0.05073438212275505,
0.03183051198720932,
0.014862040989100933,
0.08296097815036774,
0.028247781097888947,
0.0010155203053727746,
-0.04191257804632187,
0.026843491941690445,
0.0071609653532505035,
-0.014844037592411041,
-0.0291119571775198,
-0.06830597668886185,
-0.04936610162258148,
0.015375145711004734,
0.08843409270048141,
-0.09397923201322556,
-0.006962924730032682,
-0.00887131504714489,
0.010145075619220734,
0.06837799400091171,
0.029796097427606583,
-0.005729672499001026,
0.008911823853850365,
0.0012388784671202302,
-0.034909144043922424,
-0.021118320524692535,
-0.08504940569400787,
0.0003806091262958944,
0.037411656230688095,
0.015078085474669933,
0.029454026371240616,
0.026447411626577377,
-0.0025317680556327105,
-0.02457502856850624,
-0.04745770990848541,
0.059160105884075165,
-0.025421202182769775,
-0.004640449769794941,
-0.015519175678491592,
-0.007025937549769878,
0.038779936730861664,
-0.001977029489353299,
0.024863088503479958,
-0.017670616507530212,
0.0203261598944664,
0.09052252024412155,
0.06207670271396637,
0.03393694385886192,
-0.01857980154454708,
-0.03161446750164032,
-0.01490704994648695,
-0.01084721926599741,
0.001547191641293466,
-0.02556523121893406,
-0.007656066678464413,
0.025871293619275093,
0.03346884995698929,
0.043676938861608505,
-0.015924258157610893,
-0.061392560601234436,
-0.06600150465965271,
-0.006517333444207907,
-0.008781297132372856,
0.009983043186366558,
0.024286970496177673,
-0.05642354488372803,
-0.02497110888361931,
-0.0382758304476738,
-0.03132640942931175,
0.010892229154706001,
-0.0072239781729876995,
-0.020938284695148468,
-0.05123848468065262,
-0.0004402463382575661,
0.019750041887164116,
-0.005333591252565384,
0.06492128223180771,
0.030264193192124367,
-0.03950008377432823,
-0.03609738498926163,
0.03950008377432823,
0.027923714369535446,
0.04612543806433678,
0.009159374050796032,
0.015474166721105576,
-0.0306782778352499,
-0.083465076982975,
0.041408471763134,
0.010379123501479626,
-0.058007869869470596,
-0.002060296479612589,
0.014654998667538166,
0.011603374034166336,
-0.011675389483571053,
0.02414293959736824,
0.018777841702103615,
0.026015322655439377,
-0.06283285468816757,
-0.0613565556704998,
-0.02180246077477932,
0.011873429641127586,
0.01632034033536911,
-0.04094037786126137,
-0.01779664121568203,
-0.09441132098436356,
0.046305473893880844,
0.028427816927433014,
0.05717970058321953,
-0.03557527810335159,
-0.014898048713803291,
-0.006040235981345177,
0.029472030699253082,
-0.07176268100738525,
0.01803969219326973,
0.05199464038014412,
0.0029638565611094236,
-0.07424719631671906,
-0.08490537106990814,
-0.027491625398397446,
-0.00099639140535146,
-0.019497990608215332,
0.04670155793428421,
0.06121252477169037,
0.0029683574102818966,
0.013466755859553814,
-0.007291492074728012,
0.039644110947847366,
-0.03247864544391632,
-0.01583424024283886,
-0.007142961490899324,
-0.012701598927378654,
-0.005869200918823481,
0.0049735177308321,
-0.03112836927175522,
0.0583319365978241,
0.05530731752514839,
-0.015519175678491592,
-0.05383101478219032,
0.015591190196573734,
-0.05836794525384903,
-0.056603580713272095,
0.012701598927378654,
-0.012224500998854637,
0.03372089937329292,
0.02191048301756382,
-0.04576536640524864,
-0.007885613478720188,
0.02288268320262432,
0.009992044419050217,
-0.01739155873656273,
0.008515742607414722,
0.04731368273496628,
0.019371964037418365,
-0.01879584603011608,
0.015843242406845093,
0.025853291153907776,
0.002873837947845459,
-0.04666554927825928,
0.011198291555047035,
-0.012854630127549171,
-0.048429910093545914,
-0.031092362478375435,
-0.003906799480319023,
0.027059536427259445,
-0.046845585107803345,
-0.020128117874264717,
0.023404790088534355,
0.038563892245292664,
-0.016356347128748894,
0.06989029794931412,
0.030750291422009468,
-0.020416177809238434,
-0.03642145171761513,
0.016338342800736427,
0.0037380149587988853,
0.028751883655786514,
-0.017031485214829445,
-0.0291119571775198,
-0.0030313702300190926,
-0.05689164251089096,
0.026789482682943344,
-0.02048819325864315,
-0.04007619991898537,
-0.11407133936882019,
-0.0389239639043808,
0.0031956539023667574,
-0.031740494072437286,
-0.006287786643952131,
-0.0021289356518536806,
0.025043124333024025,
-0.0032856722828000784,
-0.08576954901218414,
0.031038351356983185,
-0.05030229315161705,
-0.000039101752918213606,
0.022540612146258354,
0.039644110947847366,
-0.04846591874957085,
0.04072433337569237,
-0.0634089782834053,
0.05401105061173439,
-0.037843745201826096,
-0.049726177006959915,
0.10204488039016724,
0.11198291182518005,
0.010577164590358734,
-0.04994221776723862,
-0.018300745636224747,
-0.035665299743413925,
-0.027923714369535446,
0.009857016615569592,
0.004779978189617395,
-0.0402202308177948,
0.024430999532341957,
-0.04410902410745621,
0.06726176291704178,
0.001939896959811449,
0.0392480306327343,
0.015582188963890076,
0.013493761420249939,
0.022270556539297104,
-0.02533118426799774,
-0.02707754075527191,
-0.03242463618516922,
0.054911237210035324,
-0.07395913451910019,
-0.03950008377432823,
0.0300301443785429,
-0.018183721229434013,
-0.05411907285451889,
-0.1359638273715973,
0.000563740381039679,
-0.03712359815835953,
0.018993886187672615,
0.025259168818593025,
0.05339892581105232,
-0.0005783683736808598,
0.018183721229434013,
-0.03885195031762123,
-0.042272649705410004,
-0.02261262759566307,
-0.014141893945634365,
0.0028760884888470173,
0.020470188930630684,
-0.01994808204472065,
-0.03393694385886192,
-0.021190335974097252,
0.053867023438215256,
-0.025547226890921593,
-0.011954446323215961,
0.014790026471018791,
-0.004192607942968607,
-0.008295197039842606,
0.05275079235434532,
0.011819418519735336,
0.058079883456230164,
0.016356347128748894,
0.017859654501080513,
-0.00907385628670454,
-0.02938201278448105,
-0.015186107717454433,
-0.006607351824641228,
0.060636408627033234,
-0.00028074494912289083,
-0.00398556562140584,
0.06538937985897064,
-0.011972449719905853,
-0.03678152710199356,
-0.004534678068011999,
0.015654202550649643,
-0.015483167953789234,
-0.016527382656931877,
-0.022486601024866104,
-0.00694942194968462,
0.038779936730861664,
-0.016932465136051178,
0.009487941861152649,
-0.07349103689193726,
0.018219728022813797,
-0.019966086372733116,
0.008803801611065865,
0.0007915995083749294,
0.04554932191967964,
0.014195905067026615,
0.07248283177614212,
-0.005441613495349884,
-0.07568749040365219,
-0.0004320884181652218,
-0.02774367667734623,
-0.0030201179906725883,
0.011945444159209728,
-0.02822977676987648,
0.018885863944888115,
0.0415164940059185,
0.042380671948194504,
0.026303382590413094,
0.028949923813343048,
0.012971654534339905,
-0.02506112866103649,
0.04788979887962341,
-0.04288477450609207,
-0.016392353922128677,
0.007241982035338879,
0.03649346902966499,
0.03845587000250816,
0.02839181013405323,
-0.022432589903473854,
-0.0073320004157722,
0.03112836927175522,
0.02392689511179924,
0.002689300337806344,
-0.006121252663433552,
0.012098475359380245,
0.03393694385886192,
0.04277675226330757,
-0.03084031119942665,
-0.02065022476017475,
-0.07269887626171112,
-0.001014957670122385,
0.04688159376382828,
0.022054512053728104,
-0.02511513978242874,
-0.03393694385886192,
0.04407301917672157,
0.0098390132188797,
0.022054512053728104,
-0.09599564224481583,
0.05977223068475723,
0.04241668060421944,
0.009911027736961842,
-0.03588134050369263,
-0.027455618605017662,
-0.009550954215228558,
-0.027707669883966446,
-0.0419485829770565,
0.03607938438653946,
0.004422154743224382,
-0.03694355860352516,
-0.06715374439954758,
-0.021010300144553185,
-0.03161446750164032,
-0.01707649417221546,
-0.0808725506067276,
-0.011135278269648552,
-0.021190335974097252,
-0.0782800167798996,
-0.05721570923924446,
-0.010262100026011467,
0.03658348694443703,
-0.03339683264493942,
0.03690755367279053,
-0.012881635688245296,
-0.011630379594862461,
0.03096633590757847,
0.014682004228234291,
0.04817785695195198,
0.017130505293607712,
0.09297102689743042,
0.001504432875663042,
0.05588343366980553,
0.09534750878810883,
-0.09628370404243469,
-0.019588008522987366,
-0.042092613875865936,
0.012989657931029797,
-0.07727181166410446,
-0.051958631724119186,
-0.027275580912828445,
0.0004936947952955961,
0.006755882408469915,
0.0006576970918104053,
-0.016554387286305428,
-0.0031078860629349947,
0.07363506406545639,
0.06470523774623871,
0.054695192724466324,
0.004419904202222824,
0.04490118846297264,
-0.03219058737158775,
-0.047277674078941345,
-0.04299279674887657,
0.049726177006959915,
-0.04562133550643921,
-0.014258917421102524,
0.05181460082530975,
0.030120164155960083,
0.036223411560058594,
-0.08980237692594528,
0.03678152710199356,
-0.02255861647427082,
0.0408683642745018,
-0.025907300412654877,
-0.017211521044373512,
0.00855175033211708,
0.009186379611492157,
-0.06610953062772751,
0.03341483697295189,
0.010262100026011467,
-0.06261681020259857,
0.08713783323764801,
0.027923714369535446,
-0.037843745201826096,
0.02785169892013073,
-0.017436567693948746,
0.03616940230131149,
-0.04850192368030548,
-0.05253475159406662,
-0.029724081978201866,
-0.019317952916026115,
-0.0014256667345762253,
0.020686233416199684,
0.045477304607629776,
-0.0004295566468499601,
-0.02317074127495289,
0.002662294777110219,
0.038563892245292664,
-0.032028552144765854,
-0.04295679181814194,
-0.018885863944888115,
-0.005855698138475418,
0.03361287713050842,
-0.014916052110493183,
0.03008415549993515,
-0.0031799005810171366,
-0.012593576684594154,
0.0302461888641119,
-0.003123639151453972,
0.003368939273059368,
0.021676436066627502,
0.023188745602965355,
-0.004662954248487949,
0.003301425604149699,
-0.011513356119394302,
-0.00481148436665535,
0.0406523197889328,
-0.006931418552994728,
0.010811212472617626,
-0.0019567753188312054,
0.014366939663887024,
-0.019029894843697548,
-0.032460641115903854,
0.032406631857156754,
-0.009694984182715416,
0.04655752703547478,
0.036709513515233994,
0.005000523291528225,
0.008142165839672089,
0.08901021629571915,
-0.015438158996403217,
0.009307904168963432,
-0.005882703699171543,
0.021946491673588753,
0.05656757578253746,
-0.015762224793434143,
0.04958214610815048,
-0.06571345031261444,
0.006085245404392481,
-0.04007619991898537,
0.006076243240386248,
-0.04878998547792435,
-0.023404790088534355,
-0.02774367667734623,
-0.033864930272102356,
0.004622445907443762,
-0.002705053426325321,
0.0028130756691098213,
0.026843491941690445,
0.037627700716257095,
-0.004597690887749195,
-0.08641768246889114,
-0.029958130791783333,
0.06009629741311073,
-0.015348140150308609,
0.031308405101299286,
-0.017562594264745712,
0.022738652303814888,
0.03312677890062332,
0.021766453981399536,
-0.021784458309412003,
0.060744430869817734,
0.01801268570125103,
0.05329090356826782,
-0.006701871287077665,
0.03159646689891815,
0.05498325079679489,
0.012710601091384888,
0.01806669682264328,
-0.03627742454409599,
-0.009658976458013058,
-0.02360283024609089,
-0.00727798929437995,
-0.0009789502946659923,
0.007359005976468325,
-0.006755882408469915,
-0.04889800399541855,
0.01632034033536911,
-0.01771562546491623,
0.015267124399542809,
-0.02234257198870182,
-0.02169443853199482,
-0.01441194862127304,
-0.01095524150878191,
-0.005959219299256802,
0.0024259963538497686,
-0.01752658560872078,
0.01117128599435091,
-0.04691759869456291,
0.07647965103387833,
-0.04425305500626564,
-0.024503013119101524,
0.052462734282016754,
-0.03435102850198746,
-0.03733963891863823,
0.029940126463770866,
-0.023674843832850456,
0.04277675226330757,
0.0007505285902880132,
0.035071175545454025,
-0.0304622333496809,
-0.055559370666742325,
0.03094833344221115,
-0.01490704994648695,
-0.02054220251739025,
0.07611957937479019,
-0.0009091860265471041,
-0.0034454551059752703,
0.0797923281788826,
-0.033216796815395355,
0.008808302693068981,
0.04774577170610428,
-0.012305517680943012,
-0.008394218049943447,
-0.00403957674279809,
0.01653638295829296,
0.037195611745119095,
-0.0007550294976681471,
0.04828587919473648,
0.012602578848600388,
0.031848516315221786,
-0.0419485829770565,
0.018192723393440247,
0.05030229315161705,
-0.02642940729856491,
-0.02828378789126873,
-0.04904203489422798,
-0.0029098454397171736,
0.00801163911819458,
-0.037843745201826096,
0.006395808886736631,
0.011288309469819069,
0.03530522435903549,
-0.012926645576953888,
-0.01906590163707733,
0.0774158388376236,
0.027275580912828445,
0.03156045824289322,
-0.010136074386537075,
0.02462903968989849,
0.020614217966794968,
-0.01278261560946703,
-0.017724627628922462,
0.016311338171362877,
0.023134734481573105,
-0.0383838526904583,
-0.025925304740667343,
-0.013853834941983223,
0.05026628449559212,
0.01533913891762495,
-0.013214703649282455,
0.05732373148202896,
0.0586560033261776,
-0.015186107717454433,
-0.02075824700295925,
-0.00014585796452593058,
-0.026987522840499878,
-0.03748366981744766,
-0.04410902410745621,
-0.0014954309444874525,
0.01906590163707733,
-0.006458821706473827,
0.04655752703547478,
0.007818100042641163,
0.07683972269296646
] |
10,260 | collections | __init__ | Create a new, empty Counter object. And if given, count elements
from an input iterable. Or, initialize the count from another mapping
of elements to their counts.
>>> c = Counter() # a new, empty counter
>>> c = Counter('gallahad') # a new counter from an iterable
>>> c = Counter({'a': 4, 'b': 2}) # a new counter from a mapping
>>> c = Counter(a=4, b=2) # a new counter from keyword args
| def __init__(self, iterable=None, /, **kwds):
'''Create a new, empty Counter object. And if given, count elements
from an input iterable. Or, initialize the count from another mapping
of elements to their counts.
>>> c = Counter() # a new, empty counter
>>> c = Counter('gallahad') # a new counter from an iterable
>>> c = Counter({'a': 4, 'b': 2}) # a new counter from a mapping
>>> c = Counter(a=4, b=2) # a new counter from keyword args
'''
super().__init__()
self.update(iterable, **kwds)
| (self, iterable=None, /, **kwds) | [
-0.0317625068128109,
-0.03950205072760582,
-0.00983082689344883,
0.010063191875815392,
0.017918916419148445,
0.0346045084297657,
-0.01966165378689766,
0.004137884359806776,
0.06570567190647125,
-0.022503655403852463,
-0.05880621820688248,
0.05826999247074127,
-0.021609945222735405,
0.01616724207997322,
0.011314387433230877,
0.02082347869873047,
0.02843790128827095,
0.01593487709760666,
-0.0423261784017086,
-0.015550580807030201,
0.05140628665685654,
0.024130210280418396,
0.03925180807709694,
0.08493833988904953,
0.011716557666659355,
0.03292433172464371,
-0.005411423277109861,
-0.029385235160589218,
0.039895281195640564,
-0.022396409884095192,
-0.012449401430785656,
0.017087765038013458,
-0.05648256838321686,
0.04911838471889496,
0.046079766005277634,
-0.05144203454256058,
-0.0368209145963192,
0.07514326274394989,
-0.05040533095598221,
0.043720368295907974,
0.06198783218860626,
-0.026811346411705017,
-0.02350461296737194,
-0.021359704434871674,
0.026507483795285225,
0.05408742278814316,
0.049154132604599,
-0.02107371762394905,
0.02232491411268711,
-0.06892303377389908,
-0.01744524948298931,
-0.015631014481186867,
0.011519941501319408,
-0.015684636309742928,
-0.035015616565942764,
0.07786014676094055,
0.01229747012257576,
0.04271940886974335,
-0.0668138712644577,
0.06910177320241928,
-0.03950205072760582,
0.01227959617972374,
0.006086175329983234,
-0.031512267887592316,
-0.023218626156449318,
-0.029939336702227592,
-0.05033383145928383,
0.014790925197303295,
0.0423261784017086,
0.013959773816168308,
0.02597125619649887,
-0.0004803699266631156,
-0.021252460777759552,
0.01729331724345684,
0.02942098304629326,
0.032495349645614624,
-0.04715222120285034,
0.009437593631446362,
0.06145160272717476,
-0.004776888061314821,
0.01962590403854847,
-0.03540885075926781,
-0.00397701608017087,
0.017659738659858704,
0.040074024349451065,
-0.008776247501373291,
-0.008807526901364326,
-0.029903586953878403,
-0.016319172456860542,
0.058591727167367935,
-0.029903586953878403,
0.05201401188969612,
0.03421127796173096,
-0.027687182649970055,
-0.019286295399069786,
-0.022450033575296402,
-0.031119035556912422,
-0.009616335853934288,
0.036391932517290115,
0.02359398454427719,
-0.005697411019355059,
-0.04911838471889496,
0.03950205072760582,
-0.04532904922962189,
-0.02105584368109703,
-0.05630382522940636,
0.0136648491024971,
-0.05054832249879837,
0.012565583921968937,
0.010813909582793713,
0.031208405271172523,
-0.003704434260725975,
-0.006224700715392828,
0.0211630892008543,
-0.03288858383893967,
0.015300340950489044,
0.0019963281229138374,
-0.04811742901802063,
0.02829490602016449,
0.017981475219130516,
-0.06449022144079208,
0.04200443997979164,
-0.003630703082308173,
0.021627819165587425,
0.0440063551068306,
-0.04486431926488876,
-0.03667791932821274,
0.0031190530862659216,
0.05197826027870178,
0.027848049998283386,
0.05061982199549675,
-0.047402460128068924,
0.01593487709760666,
0.00677433330565691,
0.0717829093337059,
-0.04783144220709801,
0.05269323289394379,
0.02475580945611,
-0.0465802438557148,
0.06860129535198212,
0.07514326274394989,
-0.014531749300658703,
0.023826349526643753,
0.05433766171336174,
0.008865618146955967,
0.0034028065856546164,
-0.002587294904515147,
0.017623990774154663,
0.0010959136998280883,
0.032209362834692,
-0.027383320033550262,
-0.006331946235150099,
0.06023615598678589,
0.05884196609258652,
-0.009285662323236465,
-0.0006820135749876499,
0.0047500766813755035,
-0.04890389367938042,
-0.022932637482881546,
-0.04221893101930618,
0.04221893101930618,
0.0171235129237175,
-0.0020041479729115963,
-0.02598913013935089,
-0.017901042476296425,
0.008575161918997765,
-0.027812302112579346,
-0.0421474352478981,
0.0033536525443196297,
-0.00975039228796959,
-0.0005460018874146044,
-0.10152562707662582,
0.03408615663647652,
-0.001018272596411407,
0.024094462394714355,
0.0366421714425087,
-0.0185892004519701,
0.01842833124101162,
0.027633560821413994,
0.002199647482484579,
0.03292433172464371,
-0.016426417976617813,
-0.04911838471889496,
-0.04482857137918472,
0.004656237084418535,
-0.03842959553003311,
0.046115513890981674,
0.020537490025162697,
0.008047872222959995,
0.04654449597001076,
0.08551032096147537,
-0.01730225421488285,
-0.01037599053233862,
0.04582952708005905,
0.030350442975759506,
0.00929460022598505,
-0.03950205072760582,
-0.05083430930972099,
0.016337046399712563,
0.07507176697254181,
-0.04150396212935448,
0.026757722720503807,
0.012717515230178833,
-0.01864282228052616,
0.03714264929294586,
0.021556321531534195,
-0.0017639631405472755,
-0.0016500148922204971,
-0.04940437152981758,
-0.04700922593474388,
0.026292992755770683,
-0.04543629288673401,
0.02589976042509079,
0.009884449653327465,
-0.021842310205101967,
0.011430569924414158,
0.06516944617033005,
-0.02454131841659546,
-0.02472005970776081,
-0.00929460022598505,
0.08500984311103821,
0.03832234814763069,
-0.010063191875815392,
-0.0196974016726017,
-0.011716557666659355,
-0.01045642513781786,
0.02348673902451992,
0.00861984770745039,
-0.017087765038013458,
-0.004095432814210653,
0.008369608782231808,
0.003825085237622261,
0.026739848777651787,
0.053622692823410034,
-0.01855345070362091,
-0.10002419352531433,
-0.014272572472691536,
0.00683242455124855,
-0.06373950839042664,
-0.044792819768190384,
0.011931048706173897,
0.040109772235155106,
0.04411359876394272,
0.015175221487879753,
-0.0544806532561779,
-0.02968909591436386,
-0.02232491411268711,
0.0747142806649208,
-0.0014265869976952672,
0.02448769472539425,
-0.023147128522396088,
-0.03605232387781143,
-0.02223554253578186,
-0.027615685015916824,
0.027883799746632576,
0.008485791273415089,
-0.036231063306331635,
-0.018044035881757736,
-0.04522180184721947,
-0.00873603019863367,
-0.011475255712866783,
0.058412984013557434,
-0.022736020386219025,
0.06048639491200447,
0.003489943454042077,
-0.017615053802728653,
0.03447939082980156,
0.010250871069729328,
-0.0642399862408638,
0.038894325494766235,
0.0051030926406383514,
-0.03447939082980156,
0.07056745886802673,
-0.007252469193190336,
-0.053515445441007614,
0.010286619886755943,
0.033782295882701874,
-0.00261857477016747,
-0.05437340959906578,
0.0093392850831151,
0.046294257044792175,
0.0024711124133318663,
-0.029224365949630737,
-0.04550778865814209,
0.008038935251533985,
0.048689402639865875,
-0.013968710787594318,
0.051263291388750076,
-0.05508837848901749,
-0.029957210645079613,
0.03853683918714523,
0.020483868196606636,
0.025131167843937874,
0.035373102873563766,
0.009249914437532425,
-0.009723581373691559,
-0.0319412499666214,
-0.018061909824609756,
0.0366421714425087,
-0.010599418543279171,
0.001770665985532105,
-0.0642399862408638,
-0.02230704016983509,
-0.0020533022470772266,
-0.027991045266389847,
-0.035247981548309326,
0.02849152311682701,
0.0319412499666214,
-0.000034840784792322665,
0.009366096928715706,
0.03344268351793289,
0.06878003478050232,
-0.022718146443367004,
0.02216404490172863,
-0.025435030460357666,
-0.01546120923012495,
-0.03778612241148949,
-0.055874843150377274,
-0.022557279095053673,
0.05383718013763428,
0.0012076277052983642,
-0.03565908968448639,
-0.022503655403852463,
-0.04565078392624855,
-0.05022658780217171,
-0.010867532342672348,
0.05641107261180878,
0.012860508635640144,
0.06484770774841309,
-0.0002675548894330859,
-0.04547204077243805,
-0.04404210299253464,
-0.01732013002038002,
-0.019447162747383118,
-0.06474046409130096,
-0.01967952772974968,
-0.011278639547526836,
0.021770812571048737,
-0.021216711029410362,
-0.008213208988308907,
-0.0064034429378807545,
0.013057125732302666,
-0.08565331250429153,
0.022932637482881546,
-0.04425659403204918,
-0.03340693563222885,
0.02336161956191063,
-0.06180908903479576,
0.05562460422515869,
-0.07485727965831757,
0.015291403979063034,
-0.04093198850750923,
0.000689274980686605,
0.018106594681739807,
0.09551988542079926,
-0.004099901765584946,
0.013763157650828362,
-0.00929460022598505,
0.021627819165587425,
-0.05215700343251228,
-0.01355760358273983,
-0.002960419515147805,
0.03558759391307831,
-0.0035525031853467226,
-0.007319497410207987,
0.027722930535674095,
0.008789652958512306,
-0.0186785701662302,
-0.08822719752788544,
-0.011948922649025917,
0.012753263115882874,
-0.04475707188248634,
-0.04064599797129631,
0.015130535699427128,
0.01864282228052616,
-0.02348673902451992,
-0.04050300642848015,
0.04700922593474388,
-0.026149999350309372,
-0.015782944858074188,
-0.021842310205101967,
0.004068621899932623,
-0.0042719412595033646,
0.007212251890450716,
-0.02564951963722706,
0.008414293639361858,
-0.012467275373637676,
0.0021225649397820234,
0.057340532541275024,
0.06320327520370483,
-0.038858577609062195,
-0.011296513490378857,
-0.026614729315042496,
-0.04286240413784981,
-0.021466949954628944,
0.016229800879955292,
0.056196581572294235,
-0.02940310910344124,
0.019983390346169472,
-0.046473000198602676,
0.06792207807302475,
-0.055874843150377274,
0.07349883764982224,
0.011180330999195576,
0.003472069278359413,
0.01589019037783146,
0.024273205548524857,
-0.062202323228120804,
0.002580591943114996,
0.012217036448419094,
0.01058154460042715,
-0.022879015654325485,
-0.0056169768795371056,
-0.0013941900106146932,
-0.00491094496101141,
-0.07063895463943481,
-0.009544839151203632,
-0.0419686920940876,
0.005170121323317289,
0.008186397142708302,
0.03208424523472786,
0.017534619197249413,
0.014683680608868599,
0.06960225105285645,
0.05340820178389549,
0.00024507244233973324,
-0.015622077509760857,
-0.033996786922216415,
0.05637532100081444,
-0.027776554226875305,
-0.06677812337875366,
-0.019357791170477867,
-0.0033849324099719524,
-0.027722930535674095,
0.010411739349365234,
-0.01614936627447605,
-0.02602487988770008,
-0.03932330757379532,
0.007502708118408918,
0.000008518188224115875,
0.002763802884146571,
-0.021449076011776924,
0.05065556988120079,
0.025023922324180603,
0.02214617095887661,
-0.01862494833767414,
-0.02940310910344124,
0.022950511425733566,
0.04522180184721947,
-0.01842833124101162,
0.07028147578239441,
-0.006305134855210781,
0.0220031775534153,
0.004403763450682163,
0.02450557053089142,
-0.01163612399250269,
-0.062202323228120804,
-0.006743053440004587,
0.008990737609565258,
-0.02472005970776081,
-0.023879971355199814,
-0.004430574830621481,
-0.004542288836091757,
-0.016694530844688416,
-0.059807173907756805,
0.0209843460470438,
-0.02105584368109703,
0.01046536210924387,
-0.026257244870066643,
0.015738260000944138,
0.00613086111843586,
-0.0032218301203101873,
0.0014824440004304051,
-0.02818766050040722,
-0.021878058090806007,
-0.02103796973824501,
-0.028134038671851158,
-0.03614169359207153,
-0.03803636133670807,
-0.014933919534087181,
0.058484483510255814,
0.041253723204135895,
0.048617906868457794,
-0.02697221376001835,
0.009544839151203632,
-0.01102839969098568,
0.005357800517231226,
-0.013781031593680382,
0.03088667057454586,
0.049797605723142624,
-0.03254897519946098,
0.03481899946928024,
0.010367053560912609,
-0.04961886256933212,
0.045972518622875214,
0.01989401876926422,
0.02589976042509079,
0.029849965125322342,
-0.003498880658298731,
0.0104921730235219,
-0.008896898478269577,
-0.047509703785181046,
0.034247025847435,
-0.018839439377188683,
0.03219148889183998,
-0.037643130868673325,
-0.04061025008559227,
0.003416212275624275,
0.047616951167583466,
0.014683680608868599,
0.013843591324985027,
-0.021717190742492676,
-0.0018991369288414717,
0.018169155344367027,
0.03678516671061516,
-0.04450683295726776,
-0.06484770774841309,
-0.033943165093660355,
-0.05594634264707565,
0.009106920100748539,
0.020591113716363907,
0.0813634991645813,
-0.022557279095053673,
-0.004073090385645628,
-0.010545795783400536,
-0.00798531249165535,
0.019000306725502014,
-0.06988824158906937,
0.05966418236494064,
0.02464856393635273,
-0.026793470606207848,
-0.04951161891222,
-0.07349883764982224,
0.07228338718414307,
-0.025149041786789894,
0.04783144220709801,
0.008262363262474537,
-0.0445425808429718,
0.03481899946928024,
-0.002386209787800908,
0.04193294420838356,
0.06416849046945572,
0.06910177320241928,
-0.04808168113231659,
0.008213208988308907,
0.05526712164282799,
-0.0589134618639946,
-0.015255655162036419,
0.012538773007690907,
-0.032834962010383606,
-0.06917326897382736,
-0.06713560968637466,
-0.05058407038450241,
0.0016891147242859006,
-0.026185747236013412,
0.005898496136069298,
0.012011482380330563,
-0.04411359876394272,
0.03910881653428078,
0.055052630603313446,
0.009518027305603027,
0.015407586470246315,
-0.0063587576150894165,
0.019000306725502014,
0.024201707914471626,
0.0011886362917721272,
0.0319412499666214,
-0.0020320764742791653,
-0.0322987325489521,
0.005911901593208313,
0.01355760358273983,
0.008284705691039562,
-0.057412028312683105,
0.01862494833767414,
-0.059628430753946304,
0.02096647210419178,
-0.004383654799312353,
-0.017615053802728653,
0.0645974650979042,
-0.06195208057761192,
-0.04550778865814209,
0.032620470970869064,
-0.01534502673894167,
-0.06345351785421371,
0.02472005970776081,
-0.010349179618060589,
-0.0618448369204998,
0.007516114041209221,
-0.016917958855628967,
0.006729647517204285,
-0.029957210645079613,
-0.06195208057761192,
0.0028263626154512167,
0.004736671224236488,
-0.041217975318431854,
0.012011482380330563,
0.007565267849713564,
-0.04482857137918472,
0.0009752626647241414,
-0.007998717948794365,
-0.04811742901802063,
0.06073663383722305,
-0.10102514922618866,
0.06731434911489487,
0.005675068125128746,
-0.021627819165587425,
-0.013620163314044476,
0.07828912883996964,
-0.004995847586542368,
-0.010045317001640797,
-0.034175530076026917,
-0.0013718472328037024,
0.02970697171986103,
0.04089624062180519,
0.03978803753852844,
-0.039073068648576736,
0.009723581373691559,
0.0003577638999558985,
0.011939985677599907,
0.01976889930665493,
-0.03928755968809128,
0.01849982887506485,
-0.016891147941350937,
0.03540885075926781,
-0.046079766005277634,
-0.0036083601880818605,
-0.013486106880009174,
0.0029894651379436255,
0.00034826819319278,
-0.045972518622875214,
0.004718796815723181,
-0.03304945304989815,
0.028598768636584282,
-0.021395454183220863,
0.023772725835442543,
0.028598768636584282,
-0.018106594681739807,
0.07535775750875473,
0.007940626703202724,
0.06860129535198212,
0.014513875357806683,
0.025560149922966957,
0.04064599797129631,
0.019965514540672302,
-0.031190531328320503,
-0.03558759391307831,
0.0007719433051533997,
0.0020655908156186342,
0.03301370516419411,
0.023879971355199814,
0.004696453921496868,
0.0013562071835622191,
0.041074980050325394,
-0.008338328450918198,
-0.07828912883996964,
-0.015693575143814087,
0.019536534324288368,
-0.015827631577849388,
0.03447939082980156,
-0.017936790362000465,
-0.03319244459271431,
0.042540669441223145,
0.059628430753946304,
0.008052340708673,
0.00806127768009901,
-0.01853557676076889,
0.0037915711291134357,
-0.041360970586538315,
0.009580587036907673,
0.05784101039171219,
0.03549822047352791,
0.049940600991249084,
-0.0038407251704484224,
-0.0008121603168547153,
-0.026739848777651787,
-0.02368335612118244,
-0.010635167360305786,
-0.0045534600503742695,
0.0443638414144516,
0.011251827701926231,
-0.004146821331232786,
-0.016953706741333008,
-0.03540885075926781,
-0.027651434764266014,
-0.03825085237622261,
0.031351398676633835,
-0.028956253081560135,
-0.01547908317297697,
-0.01612255536019802,
-0.047473955899477005,
0.026811346411705017,
-0.037571631371974945,
0.010858595371246338,
-0.03199487179517746,
-0.06767183542251587,
0.0042563010938465595,
-0.07786014676094055,
-0.05916370078921318,
0.07156842201948166,
-0.06066513806581497,
0.02954610250890255,
0.05258598551154137,
0.014451315626502037,
0.01719500869512558,
-0.03562334179878235,
0.05051257461309433,
-0.0393948033452034,
-0.018821565434336662,
0.08379439264535904,
0.01740056276321411,
0.02582826279103756,
0.08286493271589279,
-0.015184158459305763,
-0.00011366893158992752,
0.037643130868673325,
0.009562713094055653,
0.08379439264535904,
0.03178038075566292,
-0.02838427759706974,
0.011269702576100826,
0.07735966891050339,
-0.007761884480714798,
0.00866900198161602,
0.027776554226875305,
-0.015550580807030201,
-0.029063498601317406,
0.0373571403324604,
0.013503980822861195,
0.017856355756521225,
-0.025131167843937874,
0.006390037480741739,
-0.06381100416183472,
-0.048474911600351334,
-0.04486431926488876,
0.017623990774154663,
-0.0071541606448590755,
-0.0015416523674502969,
-0.01535396371036768,
0.04314839094877243,
0.035033490508794785,
-0.02341524139046669,
-0.014737303368747234,
0.00796743854880333,
0.1012396439909935,
-0.026847094297409058,
-0.05040533095598221,
0.05658981204032898,
0.008458979427814484,
-0.0021828904282301664,
0.02815191261470318,
-0.016694530844688416,
0.011573564261198044,
-0.03724989667534828,
-0.019036054611206055,
0.015050102025270462,
-0.03900156915187836,
-0.015121598728001118,
-0.046365752816200256,
0.014138516038656235,
0.005599102471023798,
-0.01547908317297697,
-0.11653998494148254,
0.054695144295692444,
-0.023182876408100128,
0.028080414980649948,
0.06577716767787933,
0.08565331250429153,
0.021431202068924904
] |
10,261 | collections | __ior__ | Inplace union is the maximum of value from either counter.
>>> c = Counter('abbb')
>>> c |= Counter('bcc')
>>> c
Counter({'b': 3, 'c': 2, 'a': 1})
| def __ior__(self, other):
'''Inplace union is the maximum of value from either counter.
>>> c = Counter('abbb')
>>> c |= Counter('bcc')
>>> c
Counter({'b': 3, 'c': 2, 'a': 1})
'''
for elem, other_count in other.items():
count = self[elem]
if other_count > count:
self[elem] = other_count
return self._keep_positive()
| (self, other) | [
0.0010098569327965379,
-0.014559892006218433,
-0.026624316349625587,
0.08502545952796936,
0.006180324126034975,
-0.02569076046347618,
-0.018339000642299652,
-0.0421895757317543,
0.05238688737154007,
-0.04876038059592247,
-0.028132369741797447,
0.017387492582201958,
-0.000046951332478784025,
0.0029936647042632103,
-0.034110721200704575,
0.023931363597512245,
-0.023195290938019753,
0.025349652394652367,
0.015690932050347328,
0.015430613420903683,
0.029676327481865883,
0.014532962813973427,
0.006979233119636774,
0.051884204149246216,
-0.010735901072621346,
0.018330024555325508,
-0.03913756459951401,
-0.017001502215862274,
-0.005911028943955898,
0.0031754388473927975,
-0.009775415062904358,
-0.038239914923906326,
-0.010565347038209438,
-0.04305132105946541,
0.057126484811306,
-0.04290769621729851,
0.010116522200405598,
0.11956705898046494,
0.009506119415163994,
0.0049056606367230415,
0.021597472950816154,
-0.07367915660142899,
0.007369711063802242,
-0.02328505553305149,
0.043518099933862686,
0.015987155959010124,
0.019640594720840454,
0.02547532320022583,
0.0695858746767044,
-0.057126484811306,
0.003812770824879408,
-0.018581366166472435,
0.016337240114808083,
0.00867130421102047,
-0.027019282802939415,
0.06265600770711899,
0.025385558605194092,
0.06326641142368317,
-0.05507984012365341,
0.039532531052827835,
-0.06035802513360977,
0.009079735726118088,
-0.01967650093138218,
-0.04800635203719139,
0.006171347573399544,
-0.019658546894788742,
-0.04484662413597107,
0.005139049608260393,
-0.00414714589715004,
0.05051977559924126,
-0.02201039157807827,
0.012594037689268589,
0.015089506283402443,
0.005480156745761633,
0.006763797253370285,
0.00027280161157250404,
-0.007867907173931599,
0.02373388223350048,
0.038563068956136703,
-0.040286559611558914,
0.07181204855442047,
-0.044272128492593765,
0.02524193376302719,
0.01713614910840988,
0.02306962013244629,
-0.001763883396051824,
-0.0005472863558679819,
-0.03935300186276436,
0.011606622487306595,
-0.05443353205919266,
-0.03648051992058754,
0.030089247971773148,
0.03791676089167595,
0.010215263813734055,
0.025421464815735817,
0.04010702669620514,
-0.07432546466588974,
0.005798822734504938,
-0.010322981514036655,
0.0029218527488410473,
0.015681955963373184,
0.02908387966454029,
0.0009346786537207663,
-0.040430180728435516,
0.023159384727478027,
0.008532168343663216,
0.025080356746912003,
-0.023841599002480507,
-0.017997894436120987,
-0.004070845432579517,
0.012468366883695126,
-0.006902933120727539,
-0.004995425697416067,
0.0009986362420022488,
-0.01845569536089897,
0.035151995718479156,
-0.01560116745531559,
-0.04211776703596115,
0.04678554832935333,
0.05288957059383392,
-0.011507880873978138,
0.012629943899810314,
0.041794609278440475,
0.024362236261367798,
0.01732465624809265,
-0.03773723170161247,
0.03007129393517971,
0.02351844497025013,
-0.019173815846443176,
0.007679400499910116,
0.01111291442066431,
-0.045564744621515274,
-0.026049820706248283,
0.03777313604950905,
0.06484627723693848,
-0.036139413714408875,
0.036516424268484116,
0.01944311149418354,
-0.02109478786587715,
0.031399816274642944,
0.03849125653505325,
0.027934886515140533,
0.06355366110801697,
0.06779057532548904,
0.012001588009297848,
0.01104110199958086,
-0.012899238616228104,
0.056875139474868774,
0.025152169167995453,
0.023554351180791855,
-0.022728512063622475,
0.0029218527488410473,
0.026355020701885223,
0.03513404354453087,
-0.002728857798501849,
0.03384142741560936,
-0.025529183447360992,
-0.041184209287166595,
-0.05217145010828972,
-0.021130694076418877,
0.04937078058719635,
0.01732465624809265,
-0.02245921827852726,
-0.00333477184176445,
0.00036074331728741527,
-0.020771633833646774,
0.051740579307079315,
0.031543441116809845,
0.0007035336457192898,
0.015035646967589855,
-0.001917606103233993,
-0.059819433838129044,
0.0042503755539655685,
-0.0038441885262727737,
-0.008258385583758354,
0.03491860628128052,
-0.05026843398809433,
0.00103678647428751,
0.019461065530776978,
-0.017872223630547523,
0.013024910353124142,
0.023482538759708405,
-0.023626163601875305,
-0.05759325996041298,
0.010996219702064991,
-0.05389494076371193,
0.04746776446700096,
0.013743030838668346,
0.045492932200431824,
0.011875917203724384,
0.017710646614432335,
-0.05034024640917778,
0.014353432692587376,
-0.02832985296845436,
0.05113017559051514,
0.009999827481806278,
-0.05586977303028107,
-0.0059469351544976234,
0.018437743186950684,
0.08136305212974548,
-0.11231403797864914,
0.013743030838668346,
-0.002147628925740719,
0.006135441828519106,
0.038706693798303604,
0.0151882478967309,
0.03306944668292999,
-0.002551571698859334,
0.005421809386461973,
-0.06064527481794357,
0.058670442551374435,
-0.04908353462815285,
-0.008168620057404041,
0.006638125982135534,
0.0010165892308577895,
-0.0016202592523768544,
0.031094616279006004,
-0.0002813573519233614,
-0.02125636488199234,
-0.014182879589498043,
0.05608520656824112,
-0.03683957830071449,
-0.002580745378509164,
-0.018374906852841377,
0.028473475947976112,
0.01581660285592079,
-0.027109047397971153,
-0.012899238616228104,
0.00013422680785879493,
0.033500321209430695,
0.07576170563697815,
0.04703688994050026,
-0.001554057584144175,
-0.002928585046902299,
-0.02283623069524765,
-0.03028673119843006,
-0.022441264241933823,
-0.023015761747956276,
-0.038922131061553955,
-0.003096894593909383,
-0.007876884192228317,
0.02525988779962063,
0.05450534448027611,
0.026013914495706558,
-0.07346372306346893,
-0.041794609278440475,
0.004806919023394585,
0.0011714340653270483,
0.01670527644455433,
0.047216419130563736,
-0.02502649836242199,
-0.03163320571184158,
-0.053464069962501526,
0.0012084620539098978,
0.02102297730743885,
-0.033338744193315506,
-0.01638212241232395,
-0.05267413705587387,
0.00024264617240987718,
0.00313728884793818,
-0.0032023685052990913,
0.06725198030471802,
-0.0057808696292340755,
-0.03527766838669777,
-0.04599561542272568,
-0.0017975452356040478,
0.06836506724357605,
0.006000794004648924,
-0.04800635203719139,
0.042405012995004654,
-0.05662379786372185,
-0.09249391406774521,
0.018330024555325508,
-0.03459545224905014,
-0.07719794660806656,
0.0375576987862587,
0.05041205510497093,
0.006211741827428341,
0.0070241158828139305,
0.004551088437438011,
0.034038908779621124,
0.02644478529691696,
-0.057306014001369476,
-0.05123789608478546,
-0.03737816959619522,
0.05924493819475174,
-0.008038461208343506,
-0.03635484725236893,
-0.024434048682451248,
-0.072207011282444,
0.07159660756587982,
0.0264627393335104,
0.042620450258255005,
0.01967650093138218,
0.011875917203724384,
-0.013437828980386257,
0.03881441056728363,
-0.0208075400441885,
0.06595936417579651,
0.027037234976887703,
-0.048652660101652145,
-0.05443353205919266,
-0.045097965747117996,
-0.012917191721498966,
0.009775415062904358,
-0.03881441056728363,
0.05123789608478546,
-0.013626336120069027,
-0.0005829118308611214,
0.051884204149246216,
0.0012769079767167568,
0.05443353205919266,
-0.02644478529691696,
0.04150736331939697,
-0.012594037689268589,
0.018222305923700333,
-0.014353432692587376,
0.018958380445837975,
-0.03730635717511177,
0.06218923255801201,
0.01906609907746315,
-0.0362471304833889,
-0.05974762141704559,
-0.03341055288910866,
-0.05622883141040802,
-0.043913066387176514,
-0.028958206996321678,
0.00014572795771528035,
0.0347929373383522,
0.0024303889367729425,
-0.0916321724653244,
-0.031220287084579468,
0.02759377844631672,
0.019263582304120064,
-0.02297985553741455,
0.03351827338337898,
0.057162389159202576,
0.018294118344783783,
0.0050537725910544395,
0.02420065924525261,
-0.025906195864081383,
0.014721469953656197,
-0.07044761627912521,
0.010915431194007397,
0.007639006245881319,
-0.04434393718838692,
-0.029981529340147972,
0.001735831843689084,
0.04215367138385773,
-0.0762643963098526,
0.025080356746912003,
0.02217196859419346,
0.0009857325349003077,
-0.0027849609032273293,
0.05062749236822128,
0.006656079087406397,
-0.001023882650770247,
-0.0057090576738119125,
0.023159384727478027,
0.004443370271474123,
-0.02389545924961567,
-0.04448756203055382,
-0.008375080302357674,
-0.009990851394832134,
-0.0494425930082798,
0.02962246909737587,
-0.033195119351148605,
-0.03978387266397476,
-0.10793350636959076,
-0.06732379645109177,
0.012926168739795685,
-0.034864749759435654,
0.05798822641372681,
0.020107373595237732,
0.011319373734295368,
0.031471628695726395,
-0.09184760600328445,
0.046390581876039505,
-0.04757548123598099,
-0.03339260071516037,
0.019730359315872192,
0.017468281090259552,
-0.03924528509378433,
0.034110721200704575,
-0.037270452827215195,
0.05924493819475174,
-0.05608520656824112,
-0.041866421699523926,
0.06542077660560608,
0.11209860444068909,
-0.009640767239034176,
-0.0339311920106411,
-0.0375576987862587,
-0.03445183113217354,
-0.026031866669654846,
0.04114830121397972,
-0.049478501081466675,
-0.03466726467013359,
0.024775156751275063,
-0.03491860628128052,
0.06200970336794853,
0.004847313277423382,
0.02999948337674141,
0.01967650093138218,
0.005201885011047125,
0.00914257112890482,
0.017683716490864754,
0.0017571509815752506,
-0.04215367138385773,
0.015430613420903683,
-0.09687445312738419,
-0.03766541928052902,
0.020843446254730225,
-0.030196964740753174,
-0.027234718203544617,
-0.12243954092264175,
0.014604775235056877,
-0.02764763869345188,
0.050842929631471634,
0.026337068527936935,
0.054900310933589935,
0.004079821985214949,
-0.025457371026277542,
-0.017692692577838898,
-0.03985568508505821,
-0.0497298426926136,
-0.01967650093138218,
-0.0032854010351002216,
0.0024191683623939753,
0.024308377876877785,
-0.01465863361954689,
-0.020771633833646774,
0.06412816047668457,
-0.04455937445163727,
0.016839925199747086,
-0.008599492721259594,
0.008419962599873543,
-0.00027967424830421805,
0.047072798013687134,
0.03849125653505325,
0.04484662413597107,
0.020448479801416397,
-0.011786151677370071,
0.03543924540281296,
0.008455868810415268,
-0.026929518207907677,
-0.008478309959173203,
0.047755010426044464,
0.0008252775296568871,
0.00994596816599369,
0.06588755548000336,
-0.0009195308084599674,
-0.03226156160235405,
0.00920091848820448,
0.03075350821018219,
-0.012351672165095806,
-0.047000985592603683,
-0.029514750465750694,
0.0032966218423098326,
0.007567194290459156,
-0.0009172866703011096,
-0.011193702928721905,
-0.00036635363358072937,
0.02917364425957203,
-0.07055533677339554,
0.013078768737614155,
0.015969203785061836,
-0.019658546894788742,
0.008128225803375244,
0.05931675061583519,
-0.0006934350822120905,
-0.08617445826530457,
-0.01548447273671627,
-0.052961383014917374,
-0.04750366881489754,
-0.017522139474749565,
0.03152548894286156,
-0.0070286039263010025,
0.020071467384696007,
-0.006795214954763651,
0.03669595718383789,
0.03351827338337898,
0.018177423626184464,
-0.04272816702723503,
0.037880852818489075,
-0.008774534799158573,
-0.011813081800937653,
-0.007190180942416191,
0.03888622298836708,
0.05802413448691368,
0.02034076303243637,
-0.032297469675540924,
-0.04305132105946541,
0.03195635974407196,
0.006148906424641609,
0.003323551267385483,
-0.00327866873703897,
-0.012531202286481857,
0.008244920521974564,
0.008734140545129776,
-0.016184639185667038,
-0.028814584016799927,
-0.05436171963810921,
-0.072207011282444,
0.046390581876039505,
0.005911028943955898,
0.006256624590605497,
-0.02321324497461319,
0.030879180878400803,
0.0014238982694223523,
0.02267465367913246,
-0.06692882627248764,
0.012620966881513596,
0.02531374618411064,
0.013716100715100765,
-0.02592414803802967,
-0.012647897005081177,
-0.017091266810894012,
-0.00880146399140358,
-0.01958673633635044,
-0.0005930103943683207,
0.001484489650465548,
-0.041327834129333496,
-0.011319373734295368,
0.007724283263087273,
-0.05231507495045662,
-0.03457750007510185,
-0.0568392351269722,
0.00013114113244228065,
-0.014595798216760159,
-0.08014224469661713,
-0.06980130821466446,
-0.041615080088377,
0.03414662927389145,
0.0020982581190764904,
0.04251272976398468,
-0.0055025978945195675,
0.01006266288459301,
-0.00788137223571539,
0.011947729624807835,
0.044954340904951096,
0.041327834129333496,
0.0754026472568512,
-0.026121631264686584,
0.026660222560167313,
0.059963058680295944,
-0.10814893990755081,
-0.04373353719711304,
0.01640007644891739,
-0.002522398019209504,
-0.10908249765634537,
-0.01450603362172842,
-0.005192908458411694,
0.013662241399288177,
-0.005700081121176481,
-0.004802430514246225,
-0.0303764957934618,
0.015152341686189175,
0.08315835148096085,
0.04876038059592247,
0.04053790122270584,
-0.009559978730976582,
0.007814047858119011,
-0.00759412394836545,
-0.026121631264686584,
-0.003913756459951401,
0.027234718203544617,
-0.012567108497023582,
0.015538331121206284,
0.06114795804023743,
0.021435895934700966,
0.012629943899810314,
-0.10707176476716995,
-0.021687237545847893,
-0.021364083513617516,
0.02005351334810257,
-0.03578035160899162,
0.015915345400571823,
0.037126827985048294,
0.016507795080542564,
-0.08739525824785233,
0.053392257541418076,
0.02728857845067978,
-0.07389459758996964,
0.06427178531885147,
0.0266781747341156,
-0.024003176018595695,
0.036588236689567566,
0.016902759671211243,
0.04244092106819153,
-0.030502166599035263,
-0.06506171077489853,
-0.02630116231739521,
-0.019568782299757004,
-0.013096721842885017,
0.042333200573921204,
-0.005825752392411232,
0.019461065530776978,
-0.034559547901153564,
0.0209511648863554,
0.04484662413597107,
-0.02026895061135292,
-0.0494425930082798,
-0.012351672165095806,
0.005161490757018328,
0.015969203785061836,
-0.01800687052309513,
0.04423622041940689,
0.0037880854215472937,
0.006041188258677721,
0.01607692241668701,
0.03992749750614166,
0.004640853498131037,
0.032064080238342285,
0.02714495360851288,
-0.008024996146559715,
-0.008204526267945766,
-0.023231197148561478,
-0.017163079231977463,
0.026175491511821747,
-0.03285401314496994,
0.035008370876312256,
-0.0033280395437031984,
0.0004631316114682704,
-0.036211226135492325,
-0.013617359101772308,
0.011543786153197289,
0.04455937445163727,
0.027468107640743256,
0.06333822757005692,
-0.02184881456196308,
-0.04513387009501457,
0.08990868180990219,
-0.014972811564803123,
-0.027180859819054604,
-0.013626336120069027,
0.006763797253370285,
0.04394897073507309,
0.0034110723063349724,
0.027109047397971153,
-0.014173902571201324,
0.012217024341225624,
0.01093338429927826,
0.009165012277662754,
-0.06341003626585007,
-0.004510694183409214,
-0.01059227716177702,
0.037055015563964844,
-0.05816775932908058,
-0.020017607137560844,
0.010915431194007397,
-0.01675913669168949,
0.04807816445827484,
-0.03852716460824013,
-0.0610402412712574,
-0.0456724613904953,
0.06854459643363953,
-0.002088159555569291,
0.043374475091695786,
0.0013229125179350376,
-0.007190180942416191,
-0.0020107373129576445,
0.0459597110748291,
-0.00736522302031517,
0.05802413448691368,
-0.002946537919342518,
0.023715928196907043,
-0.002394482959061861,
0.03359008580446243,
0.046534206718206406,
0.06455902755260468,
-0.019496969878673553,
-0.017944036051630974,
-0.009389424696564674,
-0.0028904348146170378,
-0.03646256774663925,
0.007104904390871525,
0.03683957830071449,
0.011777175590395927,
-0.05389494076371193,
0.0381321981549263,
0.017091266810894012,
-0.0004911831929348409,
-0.04807816445827484,
0.0026301161851733923,
0.0208075400441885,
-0.03443387523293495,
0.03694729879498482,
0.013716100715100765,
-0.049263063818216324,
0.027037234976887703,
-0.08373284339904785,
0.02924545668065548,
-0.04516977816820145,
-0.06434359401464462,
0.0417587049305439,
-0.010673065669834614,
-0.03543924540281296,
0.03935300186276436,
-0.0018951648380607367,
0.044056691229343414,
0.014102091081440449,
0.026283208280801773,
-0.03859897330403328,
-0.050771117210388184,
0.036588236689567566,
-0.00084098638035357,
-0.019425159320235252,
0.08588720858097076,
-0.03587011620402336,
-0.006184812635183334,
0.07777244597673416,
-0.045492932200431824,
-0.007217110600322485,
0.04208185896277428,
0.002605430781841278,
-0.03603169322013855,
0.049478501081466675,
-0.010242193005979061,
0.04861675575375557,
-0.024523813277482986,
0.05971171706914902,
0.030322637408971786,
0.003390875179320574,
-0.0028477965388447046,
0.003868873929604888,
0.048185884952545166,
-0.006534896325320005,
-0.034110721200704575,
-0.028976161032915115,
-0.004310966935008764,
-0.004667783156037331,
-0.020215090364217758,
-0.030179012566804886,
0.007840977981686592,
0.033500321209430695,
-0.026947470381855965,
-0.015251083299517632,
0.05910131335258484,
0.053392257541418076,
-0.009667696431279182,
-0.0024191683623939753,
0.01473044604063034,
0.05123789608478546,
-0.028168275952339172,
-0.053643599152565,
-0.012306789867579937,
0.025726664811372757,
-0.054218094795942307,
-0.014945882372558117,
-0.00534999743103981,
0.03251290321350098,
0.0151882478967309,
-0.008608468808233738,
0.05974762141704559,
0.03574444726109505,
0.01694764383137226,
-0.01225293055176735,
-0.005345509387552738,
-0.024685390293598175,
-0.025062404572963715,
-0.04764729365706444,
0.006283554248511791,
-0.01289026252925396,
0.0074056172743439674,
0.04840131849050522,
0.001974831335246563,
0.025529183447360992
] |
10,262 | collections | __isub__ | Inplace subtract counter, but keep only results with positive counts.
>>> c = Counter('abbbc')
>>> c -= Counter('bccd')
>>> c
Counter({'b': 2, 'a': 1})
| def __isub__(self, other):
'''Inplace subtract counter, but keep only results with positive counts.
>>> c = Counter('abbbc')
>>> c -= Counter('bccd')
>>> c
Counter({'b': 2, 'a': 1})
'''
for elem, count in other.items():
self[elem] -= count
return self._keep_positive()
| (self, other) | [
-0.005740693770349026,
0.000628301699180156,
-0.040599312633275986,
0.059787869453430176,
-0.01422386895865202,
-0.025908077135682106,
-0.014488417655229568,
0.009559004567563534,
0.11633061617612839,
-0.04899430647492409,
-0.06631338596343994,
0.03430306911468506,
0.00873008742928505,
-0.031992681324481964,
-0.045925550162792206,
0.026648811995983124,
-0.0017460174858570099,
0.028394829481840134,
0.01744253747165203,
-0.05654274672269821,
0.03809492662549019,
0.014382597990334034,
0.01251312531530857,
0.10116319358348846,
-0.02259240671992302,
0.019065098837018013,
-0.008893225342035294,
-0.053121257573366165,
0.0005814546602778137,
0.005211597308516502,
-0.009197455830872059,
0.011322658509016037,
-0.019364921376109123,
0.002072293311357498,
0.008183354511857033,
-0.053438715636730194,
-0.045114267617464066,
0.04684264957904816,
-0.03148122504353523,
0.025590619072318077,
0.0410931371152401,
-0.03543180972337723,
0.03370342776179314,
0.002082213992252946,
0.06818286329507828,
0.02544952742755413,
0.016666529700160027,
0.013544862158596516,
0.027883369475603104,
-0.024885157123208046,
-0.017601266503334045,
0.011922300793230534,
0.011966392397880554,
0.05678965896368027,
-0.024356061592698097,
0.027848096564412117,
0.011948755942285061,
0.0523805245757103,
-0.04821829870343208,
0.05195724591612816,
-0.06335045397281647,
0.00014894608466420323,
-0.0603875108063221,
-0.03756583109498024,
0.030035026371479034,
-0.03148122504353523,
-0.011058110743761063,
-0.00588178588077426,
0.008333264850080013,
0.008588994853198528,
-0.01818327233195305,
0.012980492785573006,
0.041939690709114075,
0.02844773791730404,
0.02278640866279602,
-0.02977047860622406,
0.03354469686746597,
0.0462077334523201,
0.013350860215723515,
-0.034250158816576004,
0.03961166739463806,
-0.042257148772478104,
-0.00014701709733344615,
0.0028174372855573893,
-0.00008749376866035163,
0.03419725224375725,
0.05160451680421829,
-0.04095204547047615,
0.035061441361904144,
0.04179859906435013,
-0.03647236526012421,
0.02608444169163704,
0.032186683267354965,
-0.06532574445009232,
0.03760110214352608,
0.0363665446639061,
-0.07072252780199051,
-0.00893290713429451,
-0.024073876440525055,
-0.028095006942749023,
0.0699465200304985,
0.041234228760004044,
0.0067900680005550385,
-0.036190178245306015,
0.04462044686079025,
0.0017294831341132522,
0.008655131794512272,
-0.07844732701778412,
0.03252178058028221,
0.042645152658224106,
0.018536003306508064,
0.03419725224375725,
-0.04945285618305206,
-0.021199120208621025,
-0.0200174730271101,
-0.03158704191446304,
-0.035960905253887177,
-0.04402080178260803,
-0.025731710717082024,
0.029117926955223083,
-0.006463791709393263,
0.0070942980237305164,
0.03756583109498024,
0.022433677688241005,
0.008051080629229546,
-0.021922219544649124,
-0.01524678897112608,
0.0396469421684742,
0.012962856329977512,
0.011869391426444054,
0.0324159599840641,
-0.07576657831668854,
0.0007501040818169713,
0.04342116042971611,
0.04289206489920616,
-0.010520195588469505,
0.11216839402914047,
0.040599312633275986,
-0.006053742486983538,
0.020511295646429062,
0.06673666834831238,
0.011622480116784573,
0.05911768227815628,
0.08677177876234055,
0.02945302054286003,
-0.007940852083265781,
-0.04888848960399628,
0.03049357794225216,
-0.014858785085380077,
0.016587166115641594,
-0.04289206489920616,
0.03971748799085617,
0.04260988160967827,
-0.016560710966587067,
0.01200166530907154,
0.016040433198213577,
-0.01257485244423151,
-0.023562416434288025,
-0.0636679083108902,
-0.01714271679520607,
0.042750973254442215,
0.07096943259239197,
0.010731833986938,
-0.009523731656372547,
-0.015431972220540047,
-0.028165554627776146,
0.05502600222826004,
-0.00526450714096427,
-0.03763637691736221,
0.02382696606218815,
-0.01109338365495205,
-0.03795383498072624,
0.0013447861419990659,
0.009479640051722527,
-0.013536044396460056,
0.0009859928395599127,
-0.0006729442393407226,
0.015026331879198551,
0.009691278450191021,
0.0013767523923888803,
0.01663125678896904,
-0.004058608785271645,
-0.06490246951580048,
-0.04641937091946602,
0.01941782981157303,
-0.06581956893205643,
-0.001406514085829258,
0.033315423876047134,
0.03387979418039322,
-0.0033068512566387653,
0.017310263589024544,
-0.030546486377716064,
0.02134021371603012,
-0.0062521533109247684,
0.027019178494811058,
-0.0202114749699831,
-0.08726559579372406,
0.003655172884464264,
0.04066986218094826,
0.043174248188734055,
-0.10045772790908813,
-0.011781208217144012,
0.008196582086384296,
-0.031551770865917206,
0.005802421364933252,
-0.007790941279381514,
-0.02022911049425602,
-0.024197332561016083,
-0.01674589514732361,
-0.047265928238630295,
0.028659377247095108,
-0.04035240411758423,
0.06193952634930611,
-0.020352566614747047,
0.029417747631669044,
0.009603096172213554,
0.018447820097208023,
-0.006265380885452032,
-0.004638410173356533,
-0.01723090000450611,
0.02298041060566902,
-0.026736993342638016,
-0.009717733599245548,
-0.025008613243699074,
0.010890563018620014,
0.05029940977692604,
0.04176332429051399,
0.009197455830872059,
-0.0008702530176378787,
0.02229258604347706,
0.05121651291847229,
0.07943497598171234,
0.01941782981157303,
-0.02957647666335106,
-0.016983987763524055,
-0.01786581426858902,
-0.06581956893205643,
0.0021274075843393803,
0.020387839525938034,
-0.025890439748764038,
0.01109338365495205,
0.010132191702723503,
0.030758125707507133,
0.027248453348875046,
-0.027460092678666115,
-0.0410931371152401,
0.0008068716851994395,
0.04641937091946602,
0.0011022837134078145,
0.04232769459486008,
0.011560752056539059,
-0.049417585134506226,
-0.03848293051123619,
0.022098584100604057,
0.03551999107003212,
-0.050652142614126205,
-0.059364594519138336,
-0.055907830595970154,
0.000874662131536752,
0.03192213550209999,
-0.004938231315463781,
0.03059939667582512,
-0.015864066779613495,
-0.03158704191446304,
-0.046348825097084045,
0.03326251357793808,
0.03664872795343399,
0.01611979678273201,
0.00954136811196804,
0.05470854789018631,
-0.06998179107904434,
-0.11506078392267227,
0.05678965896368027,
-0.017274990677833557,
-0.05216888338327408,
0.06317408382892609,
0.00959427747875452,
0.0012731377501040697,
0.006675430107861757,
0.01104047428816557,
0.04733647406101227,
0.02895919792354107,
-0.037812739610672,
-0.045925550162792206,
0.014003412798047066,
0.009312093257904053,
0.004713365342468023,
-0.042645152658224106,
-0.013624226674437523,
-0.041198957711458206,
0.027477728202939034,
0.0036948551423847675,
0.06211589276790619,
-0.010969927534461021,
-0.010193919762969017,
0.0022883410565555096,
-0.01959419623017311,
-0.06871195882558823,
0.027019178494811058,
0.062256984412670135,
-0.019364921376109123,
-0.02442660741508007,
-0.08465538918972015,
-0.01359777245670557,
0.005330644082278013,
-0.019435467198491096,
0.051181238144636154,
0.050440505146980286,
0.0061904252506792545,
0.016710622236132622,
0.0027975961565971375,
0.030969763174653053,
-0.008051080629229546,
0.021093301475048065,
-0.0363665446639061,
0.016878169029951096,
0.014514871872961521,
-0.013818228617310524,
-0.013430224731564522,
0.06352681666612625,
0.0498761348426342,
-0.038024380803108215,
-0.06317408382892609,
0.046243008226156235,
-0.023650599643588066,
-0.03626072406768799,
-0.025520073249936104,
0.011155111715197563,
0.04458517208695412,
0.005559918936342001,
-0.03735418990254402,
-0.018871096894145012,
0.021199120208621025,
-0.03611963242292404,
-0.015017513185739517,
0.0037896514404565096,
0.015969887375831604,
0.05174560844898224,
0.00934736616909504,
0.040281858295202255,
0.012098666280508041,
-0.006851795595139265,
-0.05079323425889015,
-0.02167530730366707,
-0.038130197674036026,
-0.01185175497084856,
-0.06726576387882233,
-0.014021049253642559,
0.05432054400444031,
-0.03188686445355415,
0.004261428955942392,
0.023685872554779053,
0.017980452626943588,
0.03735418990254402,
0.07135743647813797,
0.03246887028217316,
-0.0012455806136131287,
-0.034444160759449005,
0.004376066382974386,
-0.06201007217168808,
-0.009629550389945507,
-0.017821723595261574,
-0.0173631738871336,
-0.022962775081396103,
-0.0687825083732605,
-0.027371909469366074,
-0.013483135029673576,
-0.08797106146812439,
-0.13227404654026031,
-0.037213098257780075,
-0.006432927679270506,
-0.03728364408016205,
0.021992765367031097,
-0.035255443304777145,
0.02403860352933407,
-0.037742193788290024,
-0.05442636087536812,
0.03989385440945625,
-0.018553640693426132,
0.019982200115919113,
0.025731710717082024,
0.005105778109282255,
-0.09389694035053253,
0.019629469141364098,
0.00116842077113688,
0.03604908660054207,
-0.06952323764562607,
-0.026842813938856125,
0.09248601645231247,
0.0745672881603241,
-0.016472527757287025,
-0.02874756045639515,
-0.015934614464640617,
-0.007738031912595034,
-0.04864157736301422,
-0.02116384729743004,
-0.032398324459791183,
-0.049629222601652145,
0.0015619359910488129,
-0.02955884113907814,
0.05523764342069626,
0.013871138915419579,
0.009841188788414001,
0.003190009156242013,
0.014858785085380077,
0.04744229093194008,
-0.023685872554779053,
-0.02874756045639515,
-0.004514954052865505,
0.046243008226156235,
-0.03451470658183098,
-0.04673682898283005,
0.004779502283781767,
-0.02072293497622013,
-0.018006907775998116,
-0.09650714695453644,
-0.036190178245306015,
-0.05135760456323624,
0.006380018312484026,
0.006141924764961004,
0.03559053689241409,
-0.023333141580224037,
0.02352714352309704,
-0.049629222601652145,
-0.01568770222365856,
-0.000023251297534443438,
-0.030952127650380135,
-0.033280149102211,
0.001324945013038814,
0.016983987763524055,
-0.049629222601652145,
-0.06268025934696198,
0.020987482741475105,
-0.03516726195812225,
0.020899299532175064,
0.013835865072906017,
-0.0065034739673137665,
-0.022557133808732033,
-0.018236182630062103,
0.08627795428037643,
0.021498942747712135,
0.0015773680061101913,
0.01222212240099907,
0.03486743941903114,
0.009902916848659515,
0.009744187816977501,
-0.030035026371479034,
0.037001460790634155,
0.024461880326271057,
0.009118091315031052,
0.06603120267391205,
0.027371909469366074,
-0.01971765048801899,
-0.029276655986905098,
-0.02310386672616005,
-0.031128492206335068,
-0.059576231986284256,
0.002134021371603012,
-0.024602971971035004,
0.015026331879198551,
-0.030317211523652077,
0.015987522900104523,
-0.06881777942180634,
0.0009022192098200321,
-0.006097833625972271,
0.04208078235387802,
0.03333305940032005,
0.0028901880141347647,
-0.0034942394122481346,
0.06758321821689606,
-0.01011455524712801,
-0.085078664124012,
0.0018838029354810715,
-0.037213098257780075,
-0.0324159599840641,
0.009726551361382008,
-0.05904713645577431,
-0.008791815489530563,
-0.014109231531620026,
0.037706922739744186,
0.050757959485054016,
0.04846521094441414,
-0.0036617866717278957,
-0.03756583109498024,
0.03756583109498024,
-0.04363279789686203,
-0.015634791925549507,
0.006944387685507536,
0.06190425530076027,
0.02546716295182705,
-0.019047463312745094,
-0.03954112157225609,
0.007535211741924286,
0.02557298168540001,
0.008641904219985008,
-0.03992912545800209,
0.010044009424746037,
0.04197496548295021,
0.03446180000901222,
0.010961109772324562,
-0.01714271679520607,
0.010449649766087532,
-0.029629386961460114,
-0.032398324459791183,
0.02442660741508007,
0.028976835310459137,
-0.021199120208621025,
0.031269583851099014,
0.04775974899530411,
-0.0245500635355711,
-0.010432013310492039,
-0.02239840477705002,
0.06687775999307632,
0.040387675166130066,
0.012045756913721561,
-0.0271073617041111,
-0.07188653945922852,
-0.020670024678111076,
0.012583671137690544,
-0.0006156254676170647,
0.03488507494330406,
-0.011454932391643524,
-0.034250158816576004,
0.002330227755010128,
0.017204444855451584,
-0.01703689806163311,
-0.06352681666612625,
-0.04800666123628616,
0.013862320221960545,
-0.021992765367031097,
-0.07527275383472443,
-0.03520253300666809,
-0.021834036335349083,
0.03594326972961426,
0.0006354665965773165,
0.04416189715266228,
-0.01550251804292202,
-0.057847850024700165,
0.011816482059657574,
0.04335061460733414,
0.032292503863573074,
0.04684264957904816,
0.0905812680721283,
-0.00354053545743227,
-0.005418826825916767,
0.06818286329507828,
-0.07851787656545639,
0.011842936277389526,
0.00031745771411806345,
0.04077567905187607,
-0.0905812680721283,
-0.05125178396701813,
0.009250365197658539,
-0.01970001496374607,
0.03661345690488815,
0.051992520689964294,
-0.0400349460542202,
0.04165750741958618,
0.06158679723739624,
0.03929420933127403,
0.024179695174098015,
-0.039576396346092224,
0.07343855500221252,
-0.026331353932619095,
-0.027565911412239075,
0.01601397804915905,
0.034761618822813034,
-0.00239856936968863,
-0.014964603818953037,
0.024162059649825096,
0.016692984849214554,
-0.0106348330155015,
-0.07414401322603226,
-0.009126909077167511,
-0.05844749137759209,
0.05417944863438606,
0.0004971299786120653,
-0.04631355404853821,
0.047265928238630295,
0.028200827538967133,
-0.07343855500221252,
0.004360634367913008,
0.008544903248548508,
-0.046243008226156235,
0.026331353932619095,
0.025784621015191078,
-0.007782123051583767,
0.002907824469730258,
0.03985857963562012,
0.055167097598314285,
0.026154987514019012,
-0.045431725680828094,
0.02687808685004711,
-0.023280233144760132,
-0.022927502170205116,
-0.029400112107396126,
0.03615490719676018,
-0.01247785147279501,
-0.03440888971090317,
0.027530638501048088,
0.039364755153656006,
-0.03435597941279411,
0.013888775371015072,
0.009514912962913513,
-0.024285515770316124,
0.04352698102593422,
-0.048923760652542114,
0.0013767523923888803,
-0.009788279421627522,
-0.003465580055490136,
-0.005207188427448273,
0.02955884113907814,
-0.006596066057682037,
0.0013073085574433208,
0.07682476937770844,
-0.02268058992922306,
0.009426730684936047,
-0.03142831474542618,
-0.0314459502696991,
0.016798803582787514,
-0.021886946633458138,
0.011842936277389526,
-0.04035240411758423,
0.0318339541554451,
-0.04232769459486008,
-0.02895919792354107,
0.02044074982404709,
0.03252178058028221,
-0.015837613493204117,
0.052592162042856216,
-0.02823610045015812,
-0.018130362033843994,
0.041410595178604126,
0.023262595757842064,
-0.01222212240099907,
-0.009153364226222038,
-0.010449649766087532,
0.04088149964809418,
0.003196622710675001,
0.045431725680828094,
0.05058159679174423,
-0.010282102972269058,
-0.018236182630062103,
0.040211308747529984,
-0.09954062849283218,
-0.029946845024824142,
-0.01569651998579502,
0.001736096921376884,
-0.02525552548468113,
-0.0006145231891423464,
0.014197414740920067,
0.03553762659430504,
0.05911768227815628,
-0.04906485229730606,
-0.07703640311956406,
-0.006159561686217785,
0.07181598991155624,
0.025837531313300133,
0.016172707080841064,
-0.009514912962913513,
0.015890521928668022,
0.0054629179649055,
0.008434674702584743,
0.01119920238852501,
0.045008450746536255,
-0.0033553517423570156,
0.048500485718250275,
0.012954038567841053,
0.02350950799882412,
0.024920430034399033,
0.060422785580158234,
0.026648811995983124,
-0.07379128038883209,
-0.007618985138833523,
-0.027777550742030144,
-0.02523788809776306,
-0.014003412798047066,
0.02761882171034813,
0.01247785147279501,
-0.0166400745511055,
-0.017019260674715042,
0.029188472777605057,
-0.008178945630788803,
-0.019012190401554108,
0.00954136811196804,
0.014082777313888073,
-0.013968139886856079,
0.00470013776794076,
-0.04846521094441414,
-0.06193952634930611,
0.009514912962913513,
-0.055272914469242096,
0.0065343379974365234,
-0.048712123185396194,
-0.007804168853908777,
0.04395025596022606,
-0.019576558843255043,
-0.038553476333618164,
0.04373861849308014,
0.006344744935631752,
0.004439998883754015,
0.02123439311981201,
0.04313897714018822,
0.010229192674160004,
-0.033474151045084,
0.028818106278777122,
-0.008346492424607277,
-0.030740488320589066,
0.06028169393539429,
-0.025396617129445076,
0.00705902511253953,
0.07583712041378021,
-0.031992681324481964,
-0.009576641023159027,
0.0324159599840641,
0.007689531426876783,
-0.0026278444565832615,
0.022345496341586113,
0.007226572372019291,
0.02659590169787407,
0.006437337026000023,
0.048817943781614304,
0.035484716296195984,
0.038941480219364166,
-0.031128492206335068,
-0.012715945020318031,
0.02823610045015812,
-0.01591697707772255,
0.002599185099825263,
-0.03537889942526817,
-0.008421448059380054,
-0.016075706109404564,
-0.003441329812631011,
-0.0018441206775605679,
0.017089806497097015,
0.023474235087633133,
-0.02239840477705002,
-0.012610126286745071,
0.08035207539796829,
0.01360659021884203,
0.02495570294559002,
0.011622480116784573,
0.021657669916749,
0.05721293389797211,
-0.048288844525814056,
-0.000399026699597016,
-0.03188686445355415,
0.04663101211190224,
-0.024602971971035004,
-0.05160451680421829,
0.007861487567424774,
0.0027998005971312523,
-0.04289206489920616,
0.0033884202130138874,
0.035572901368141174,
0.03707200661301613,
-0.0025528890546411276,
-0.028377192094922066,
0.002099850447848439,
-0.01227503176778555,
-0.02197512798011303,
-0.038236018270254135,
-0.013941684737801552,
0.043668072670698166,
-0.01176357176154852,
0.06179843470454216,
0.014453144744038582,
0.048183027654886246
] |
10,263 | collections | __le__ | True if all counts in self are a subset of those in other. | def __le__(self, other):
'True if all counts in self are a subset of those in other.'
if not isinstance(other, Counter):
return NotImplemented
return all(self[e] <= other[e] for c in (self, other) for e in c)
| (self, other) | [
-0.028143348172307014,
-0.003254688112065196,
-0.029892269521951675,
0.0756675973534584,
0.017176901921629906,
0.010975370183587074,
0.005866915453225374,
-0.026626426726579666,
0.02739381045103073,
-0.05036178231239319,
-0.025180891156196594,
-0.008695526979863644,
0.06438884139060974,
-0.04697101563215256,
-0.026180274784564972,
-0.03353288024663925,
-0.055215928703546524,
0.00850814301520586,
-0.010761217214167118,
0.01797105371952057,
-0.01328644435852766,
0.011689215898513794,
0.02177228033542633,
0.04579317197203636,
-0.0036763029638677835,
0.07780913263559341,
-0.049719322472810745,
-0.007241067476570606,
-0.041938409209251404,
0.03383626416325569,
-0.07638143748044968,
-0.004216148518025875,
-0.002052305033430457,
-0.02584119699895382,
0.04090333357453346,
-0.012599368579685688,
-0.01108244713395834,
0.015419057570397854,
0.018631361424922943,
0.013018752448260784,
0.01773013174533844,
-0.0584639236330986,
0.0064156842418015,
-0.01348275225609541,
0.03115934506058693,
-0.012965214438736439,
0.013661213219165802,
0.019291667267680168,
0.041331637650728226,
-0.004742609336972237,
0.002442689146846533,
-0.03997533395886421,
-0.04079625383019447,
0.004140302538871765,
-0.03608487546443939,
0.04782763123512268,
0.004318763501942158,
0.049219630658626556,
-0.05100424215197563,
0.044294096529483795,
-0.07788051664829254,
0.016855670139193535,
0.03936856612563133,
-0.017953207716345787,
0.009717218577861786,
-0.042045485228300095,
-0.052895933389663696,
-0.0013752675149589777,
0.0021660742349922657,
0.03085596114397049,
-0.03819071874022484,
0.002442689146846533,
0.02421719953417778,
0.011858753859996796,
-0.048791322857141495,
-0.010547063313424587,
-0.0114393699914217,
0.016302440315485,
0.03565657138824463,
-0.028428886085748672,
0.03139134496450424,
-0.07680974900722504,
0.011689215898513794,
0.013732598163187504,
0.005590300541371107,
0.035924263298511505,
-0.018667053431272507,
0.009288910776376724,
0.0685291439294815,
0.007548913359642029,
-0.010083064436912537,
0.08601835370063782,
0.05253900960087776,
-0.024895353242754936,
0.01572244055569172,
0.01569567248225212,
-0.0580713115632534,
0.027715042233467102,
-0.012287060730159283,
0.01020798645913601,
0.01026152539998293,
0.026108888909220695,
0.04236671328544617,
-0.0022932279389351606,
0.02810765616595745,
0.006188145838677883,
-0.02064797282218933,
-0.03190888091921806,
-0.027019042521715164,
-0.017765823751688004,
-0.02685842663049698,
0.01922028325498104,
-0.0271796565502882,
0.01482121180742979,
-0.0275722723454237,
0.00410907156765461,
0.021790126338601112,
-0.03247995674610138,
-0.014981826767325401,
-0.008557219989597797,
-0.00886506587266922,
0.008766911923885345,
0.06499560922384262,
0.031302113085985184,
-0.0048273783177137375,
-0.010600601322948933,
0.013000906445086002,
0.03595995530486107,
-0.04618578776717186,
-0.03851195052266121,
0.08830265700817108,
-0.0076782978139817715,
0.014473211951553822,
0.0543593131005764,
0.07184852659702301,
-0.009494141675531864,
0.06263992190361023,
0.02973165363073349,
-0.031427036970853806,
0.018310129642486572,
0.009467372670769691,
0.0057464540004730225,
0.03961841017007828,
0.052467625588178635,
-0.011002140119671822,
-0.0062015303410589695,
-0.0753820538520813,
0.03269411250948906,
0.00834752805531025,
0.043259020894765854,
-0.02041597291827202,
-0.0337827242910862,
0.03811933472752571,
-0.035085491836071014,
-0.03462149575352669,
-0.011769522912800312,
-0.02452058345079422,
-0.009726141579449177,
-0.004200533032417297,
-0.0020868820138275623,
0.0056706080213189125,
0.03433595597743988,
-0.029606731608510017,
0.031712573021650314,
-0.027304580435156822,
-0.025287967175245285,
-0.023681815713644028,
-0.025769812986254692,
0.001642959425225854,
0.03492487967014313,
0.02655504271388054,
-0.03904733434319496,
0.015704594552516937,
0.0001572690234752372,
-0.06360360980033875,
-0.02891073189675808,
0.01532090362161398,
0.03167688101530075,
-0.004974608775228262,
-0.0011934599606320262,
0.022236278280615807,
-0.013009829446673393,
-0.062068842351436615,
-0.04208117723464966,
0.03926148638129234,
-0.036031339317560196,
0.018667053431272507,
-0.002090228023007512,
0.021094126626849174,
0.035817183554172516,
-0.03904733434319496,
-0.057678695768117905,
-0.002978073200210929,
-0.020683664828538895,
0.023467661812901497,
-0.006875222083181143,
-0.04843439906835556,
-0.018470745533704758,
0.03146272897720337,
0.05518023669719696,
-0.04354456067085266,
0.016641516238451004,
-0.002015497302636504,
-0.050718702375888824,
0.07259806245565414,
0.027964886277914047,
-0.01625782437622547,
-0.026340888813138008,
0.019969820976257324,
-0.07102759927511215,
0.023039355874061584,
-0.08487620204687119,
-0.012233522720634937,
0.034799955785274506,
0.03117719106376171,
0.04861285910010338,
-0.019345205277204514,
-0.04754209145903587,
-0.057892847806215286,
-0.04175994545221329,
0.0862325057387352,
-0.008249374106526375,
-0.016159672290086746,
-0.04140302538871765,
-0.003312688088044524,
0.027911348268389702,
0.01645413227379322,
-0.010547063313424587,
-0.025680582970380783,
0.015642134472727776,
0.030124269425868988,
0.033390112221241,
0.045507632195949554,
-0.015204903669655323,
-0.035906415432691574,
0.03951133415102959,
-0.038047950714826584,
0.04482948035001755,
-0.005193224176764488,
0.025930428877472878,
-0.0004885378293693066,
0.010770140215754509,
0.021076280623674393,
-0.005880299955606461,
-0.033675648272037506,
-0.07338329404592514,
-0.033729188144207,
0.02389596961438656,
0.03492487967014313,
0.06185469031333923,
-0.0761672854423523,
-0.10379309952259064,
-0.04236671328544617,
-0.044793788343667984,
-0.00025291313068009913,
-0.04647132381796837,
-0.07227683067321777,
-0.05300300940871239,
0.006946606561541557,
0.009592295624315739,
0.015240595676004887,
0.10307925194501877,
-0.008320758119225502,
0.009288910776376724,
-0.05079009011387825,
0.04507932811975479,
0.03829779848456383,
0.008182451128959656,
-0.0057464540004730225,
-0.002598842838779092,
-0.03993964195251465,
-0.03128426894545555,
0.02564489096403122,
0.01174275390803814,
-0.06385345757007599,
0.010921832174062729,
0.013893213123083115,
-0.034692879766225815,
-0.023039355874061584,
-0.0046846093609929085,
-0.008784757927060127,
0.04022517800331116,
-0.03319380432367325,
-0.051039934158325195,
-0.026644272729754448,
-0.007981682196259499,
-0.05692915618419647,
-0.06210453435778618,
-0.04465102031826973,
-0.06867191195487976,
0.04975501447916031,
-0.02544858306646347,
0.051539625972509384,
-0.019363051280379295,
0.010502448305487633,
-0.00352461077272892,
0.07113467901945114,
-0.08480481058359146,
0.02839319407939911,
0.03690579906105995,
0.0077452207915484905,
-0.035192571580410004,
-0.0580713115632534,
-0.025198737159371376,
0.01643628627061844,
-0.01194798480719328,
0.0329974964261055,
0.03156980499625206,
-0.0015715749468654394,
0.00029752845875918865,
0.0008108835900202394,
0.048577167093753815,
0.03135565295815468,
0.0009525372297503054,
-0.001582728698849678,
0.010252602398395538,
0.00837875809520483,
-0.03747687488794327,
-0.022664586082100868,
0.05907069519162178,
0.015044288709759712,
0.053395625203847885,
-0.04365163668990135,
-0.019238129258155823,
-0.013919982127845287,
-0.03096303716301918,
0.007548913359642029,
-0.00737937493249774,
0.032658420503139496,
0.023628277704119682,
-0.01532090362161398,
-0.0341218039393425,
0.06285407394170761,
0.015463672578334808,
0.004711378365755081,
0.04068917781114578,
0.0480060912668705,
0.033068880438804626,
0.005853530950844288,
-0.028036272153258324,
0.024591969326138496,
0.013866444118320942,
-0.030623961240053177,
-0.034799955785274506,
0.019166745245456696,
-0.01695382408797741,
-0.03562087565660477,
-0.00536276213824749,
0.05500177666544914,
-0.017614131793379784,
-0.05418085306882858,
0.021290434524416924,
0.03711995109915733,
-0.011662446893751621,
0.02899996191263199,
0.027001196518540382,
-0.0014589212369173765,
-0.0023021509405225515,
-0.004407994449138641,
0.01416090503334999,
0.032533496618270874,
-0.031623344868421555,
-0.011769522912800312,
0.0018537668511271477,
-0.0685291439294815,
0.03281903639435768,
-0.007651528809219599,
-0.04340178892016411,
-0.10136602073907852,
-0.0034063803032040596,
0.0020868820138275623,
-0.008722296915948391,
0.02573412097990513,
0.010716601274907589,
-0.0008019605302251875,
-0.05046885833144188,
-0.08423373848199844,
0.025073813274502754,
-0.049719322472810745,
-0.003218995872884989,
0.06089099869132042,
0.032033804804086685,
-0.011662446893751621,
0.022700278088450432,
-0.019595051184296608,
-0.01727505400776863,
-0.03085596114397049,
-0.020183974876999855,
0.05914207920432091,
0.0764528214931488,
-0.006397837772965431,
-0.021397510543465614,
-0.060855306684970856,
0.01756059192121029,
-0.05079009011387825,
-0.015570749528706074,
-0.007593528833240271,
-0.023217815905809402,
-0.0044013019651174545,
-0.059641771018505096,
0.07052791118621826,
-0.01409844309091568,
0.02278950996696949,
-0.017346439883112907,
0.008124451152980328,
0.06738699227571487,
0.006406760774552822,
-0.023057201877236366,
-0.013884290121495724,
0.05835684761404991,
-0.07852297276258469,
0.0038859948981553316,
0.016614748165011406,
-0.015071057714521885,
-0.07324051856994629,
-0.09701156616210938,
-0.021094126626849174,
-0.00030282652005553246,
0.0756675973534584,
-0.0018515361007303,
0.06485284119844437,
-0.015767056494951248,
0.019541513174772263,
-0.03426457196474075,
-0.03258703649044037,
-0.02603750489652157,
-0.032943956553936005,
-0.006420145742595196,
0.012376291677355766,
-0.04529348015785217,
-0.04918393865227699,
-0.002545304363593459,
0.047470707446336746,
-0.02389596961438656,
0.011162755079567432,
-0.0004927205154672265,
-0.014276904985308647,
-0.007709528785198927,
0.004160379059612751,
0.008124451152980328,
0.04893409088253975,
-0.016632594168186188,
0.006393376272171736,
-0.010252602398395538,
0.032355036586523056,
-0.018559975549578667,
-0.006714606657624245,
0.042652253061532974,
0.027625810354948044,
-0.006130145862698555,
0.018060283735394478,
0.003506764769554138,
-0.03208734467625618,
-0.01788182370364666,
-0.03487133979797363,
0.017890745773911476,
-0.0439014807343483,
-0.047863323241472244,
-0.01941659115254879,
0.051361165940761566,
0.014214443042874336,
-0.009975987486541271,
-0.04036794975399971,
0.034175340086221695,
-0.0352461077272892,
0.006937683559954166,
0.0017288438975811005,
0.02523442916572094,
0.015454749576747417,
0.06478145718574524,
0.03697718307375908,
-0.07031375914812088,
-0.020612280815839767,
-0.026108888909220695,
-0.03904733434319496,
0.03569226339459419,
-0.03578149154782295,
0.028268272057175636,
0.00032429766724817455,
0.022432586178183556,
0.05671500414609909,
0.05853530764579773,
0.04871993884444237,
-0.06192607432603836,
0.02614458091557026,
-0.04197410121560097,
-0.04447255656123161,
0.038583334535360336,
-0.024913199245929718,
0.005804453976452351,
0.011403677985072136,
-0.03392549604177475,
-0.04543624818325043,
0.0641389936208725,
0.048791322857141495,
-0.00513522420078516,
0.050754398107528687,
0.028892885893583298,
0.006250607315450907,
0.046435631811618805,
-0.009619064629077911,
0.029660269618034363,
-0.0296245776116848,
0.010341832414269447,
0.032961804419755936,
0.022396894171833992,
0.013937828131020069,
-0.019041821360588074,
0.031319960951805115,
0.020897818729281425,
0.022093510255217552,
-0.06549529731273651,
0.04896978288888931,
0.025359351187944412,
0.03769102692604065,
-0.03455010801553726,
-0.03797656670212746,
-0.03435380384325981,
-0.013732598163187504,
-0.020362434908747673,
0.01900612935423851,
0.010716601274907589,
-0.0033952263183891773,
-0.024056583642959595,
-0.047363631427288055,
0.005443070083856583,
-0.01920243725180626,
-0.04668547958135605,
-0.011876599863171577,
-0.017399977892637253,
-0.03246211260557175,
-0.03829779848456383,
0.010823678225278854,
0.028018426150083542,
-0.07374021410942078,
0.04258086904883385,
-0.07452544569969177,
0.026894118636846542,
0.00766045181080699,
0.06681591272354126,
0.030623961240053177,
0.004392378963530064,
0.10072356462478638,
0.0101187564432621,
0.029767345637083054,
0.06927867978811264,
-0.06767252832651138,
-0.033568572252988815,
0.008873988874256611,
0.01643628627061844,
-0.008053066208958626,
-0.007963836193084717,
0.0075087593868374825,
-0.022664586082100868,
-0.012037215754389763,
0.007321375422179699,
-0.012242445722222328,
0.03405041620135307,
0.07673836499452591,
0.033247340470552444,
0.02603750489652157,
0.00012945415801368654,
0.023521199822425842,
-0.04208117723464966,
-0.025055967271327972,
-0.026323042809963226,
0.06078392267227173,
-0.023646123707294464,
-0.038262106478214264,
0.07338329404592514,
-0.00821814313530922,
0.04465102031826973,
-0.10443555563688278,
-0.0018035746179521084,
-0.00837875809520483,
0.05353839322924614,
-0.019148899242281914,
0.014526750892400742,
-0.011198447085916996,
-0.017962131649255753,
-0.06920729577541351,
0.03606703132390976,
0.036620259284973145,
-0.03624549135565758,
0.05960607901215553,
-0.00631306879222393,
-0.01108244713395834,
0.005791069474071264,
-0.006964452564716339,
0.033390112221241,
-0.020505204796791077,
-0.044294096529483795,
-0.014526750892400742,
-0.051539625972509384,
-0.008534912019968033,
0.03761964291334152,
0.021415356546640396,
-0.01701628603041172,
0.012179984711110592,
0.031748268753290176,
0.03943995013833046,
0.017185823991894722,
-0.07059929519891739,
-0.05121839419007301,
-0.012063984759151936,
0.025055967271327972,
0.03390764817595482,
0.001963074319064617,
0.01797105371952057,
0.015704594552516937,
-0.009743987582623959,
-0.002761688781902194,
0.03556733950972557,
-0.03422887995839119,
0.011867676861584187,
0.0004916051402688026,
0.0014020366361364722,
-0.0014667288633063436,
0.007080452516674995,
0.024038737639784813,
0.002449381398037076,
0.009315680712461472,
0.0027081503067165613,
0.039903949946165085,
-0.020398126915097237,
-0.05107562616467476,
0.03594210743904114,
0.013357829302549362,
0.0341218039393425,
0.03463933989405632,
0.010654140263795853,
-0.009123834781348705,
0.07930820435285568,
-0.006790452636778355,
-0.0005537877441383898,
-0.05957038328051567,
0.00280853477306664,
0.02198643423616886,
0.008186912164092064,
0.023967353627085686,
-0.06410330533981323,
0.05750023573637009,
-0.045115020126104355,
0.03517472371459007,
-0.06713714450597763,
0.003178842132911086,
-0.005340454634279013,
0.006290761288255453,
0.026590734720230103,
-0.024377815425395966,
-0.010957524180412292,
0.07052791118621826,
0.058392539620399475,
-0.002547535113990307,
-0.08594696968793869,
0.010814755223691463,
0.050825782120227814,
0.014428596943616867,
0.017043055966496468,
-0.018363669514656067,
0.06495991349220276,
0.02525227516889572,
0.04590024799108505,
-0.04261656105518341,
0.035924263298511505,
0.032640572637319565,
0.054609160870313644,
-0.01063629426062107,
-0.013982443138957024,
0.047042399644851685,
0.016382748261094093,
0.02389596961438656,
-0.003874841146171093,
-0.04954085871577263,
-0.011180601082742214,
0.009146141819655895,
-0.033764880150556564,
-0.0029066884890198708,
-0.015195980668067932,
-0.07291929423809052,
-0.024770429357886314,
0.03640610724687576,
-0.034675031900405884,
-0.03421103209257126,
-0.0041157640516757965,
0.03578149154782295,
-0.0006184799713082612,
0.019684283062815666,
0.012965214438736439,
-0.04814886301755905,
0.01838151551783085,
-0.03553164750337601,
0.016989516094326973,
-0.011457215994596481,
-0.018952591344714165,
0.08045035600662231,
-0.03565657138824463,
-0.010600601322948933,
0.04432978853583336,
-0.03986825793981552,
0.019148899242281914,
-0.023539045825600624,
0.04607871174812317,
0.04218825325369835,
-0.009208603762090206,
0.002493996871635318,
-0.02198643423616886,
-0.007410605903714895,
0.11271616071462631,
-0.007995066232979298,
-0.011778446845710278,
0.06378207355737686,
0.004173764027655125,
-0.06399622559547424,
-0.016115056350827217,
-0.06078392267227173,
0.04639993980526924,
0.03483564779162407,
0.018158437684178352,
0.015151364728808403,
-0.025073813274502754,
0.038654718548059464,
0.040403641760349274,
0.0008237104630097747,
-0.007116144523024559,
0.06910021603107452,
0.0790940523147583,
-0.03504979982972145,
-0.014401827938854694,
-0.08744604140520096,
0.003914995118975639,
-0.010323986411094666,
-0.011323370039463043,
0.032747648656368256,
-0.00902568083256483,
0.042866405099630356,
-0.05967746302485466,
-0.013402444310486317,
0.05286024138331413,
0.045007940381765366,
0.03790518268942833,
0.0017266131471842527,
0.034371647983789444,
0.016935978084802628,
-0.015311980620026588,
-0.014169828034937382,
-0.005724146496504545,
0.043794404715299606,
-0.04432978853583336,
-0.01578490249812603,
-0.016338132321834564,
0.020987050607800484,
0.00623722281306982,
-0.022664586082100868,
0.016338132321834564,
0.07873713225126266,
-0.02391381561756134,
-0.0663876086473465,
-0.02432427555322647,
-0.02298581600189209,
-0.04557901993393898,
0.0013451521517708898,
-0.0048943012952804565,
0.026412274688482285,
-0.0017901899991557002,
0.054109469056129456,
0.012635060586035252,
0.08430512249469757
] |
10,264 | collections | __lt__ | True if all counts in self are a proper subset of those in other. | def __lt__(self, other):
'True if all counts in self are a proper subset of those in other.'
if not isinstance(other, Counter):
return NotImplemented
return self <= other and self != other
| (self, other) | [
-0.04397532716393471,
0.019018717110157013,
-0.03024831786751747,
0.05871526896953583,
0.004863831680268049,
0.018774215131998062,
0.016407791525125504,
-0.02294820360839367,
0.029602134600281715,
-0.05396495386958122,
-0.019280683249235153,
-0.029951423406600952,
0.03849150985479355,
-0.03215193748474121,
-0.02893848903477192,
-0.023367349058389664,
-0.036151278764009476,
0.012600555084645748,
0.011360583826899529,
-0.0037963211070746183,
-0.008086010813713074,
0.019193360581994057,
0.01420727837830782,
0.04603612422943115,
0.007863339968025684,
0.06660917401313782,
-0.04170495644211769,
-0.021917805075645447,
-0.04194945842027664,
0.042438458651304245,
-0.06290671974420547,
0.010827919468283653,
0.020311081781983376,
-0.011832121759653091,
0.02506139501929283,
-0.031173929572105408,
-0.02130655199289322,
0.011107349768280983,
0.0016907709650695324,
0.02621404454112053,
0.0028750747442245483,
-0.058820053935050964,
-0.010452435351908207,
-0.030667463317513466,
0.028292305767536163,
-0.012775198556482792,
0.016984116286039352,
0.001808655564673245,
0.03499862924218178,
-0.022232163697481155,
-0.0120242303237319,
-0.02974184975028038,
-0.02670304663479328,
0.030719855800271034,
-0.06276700645685196,
0.05682911351323128,
0.02752387337386608,
0.036430709064006805,
-0.06102056801319122,
0.05211373046040535,
-0.07251213490962982,
0.029410026967525482,
0.023349884897470474,
-0.038840796798467636,
0.005828739143908024,
-0.04701412841677666,
-0.05696883052587509,
0.010417507030069828,
-0.01487092487514019,
0.03302515670657158,
-0.03187250718474388,
0.011954372748732567,
0.021970197558403015,
0.027454014867544174,
-0.022738631814718246,
-0.00791136734187603,
0.00612999964505434,
0.02431042678654194,
0.0415303111076355,
-0.04662991315126419,
0.04718877375125885,
-0.05529224872589111,
0.020276153460144997,
0.022546522319316864,
-0.011011295951902866,
0.024153247475624084,
-0.0037897718138992786,
0.0028204985428601503,
0.040272876620292664,
0.010836651548743248,
-0.020642904564738274,
0.07286141812801361,
0.04914478585124016,
-0.044604044407606125,
0.029357634484767914,
0.040272876620292664,
-0.039120227098464966,
0.003763575339689851,
-0.019717292860150337,
-0.01805817522108555,
0.030056210234761238,
0.03278065472841263,
0.03330458700656891,
-0.011954372748732567,
0.01940293423831463,
0.00002986341860378161,
-0.020869942381978035,
-0.022529058158397675,
-0.03443976864218712,
0.008417834527790546,
-0.004702286329120398,
0.022232163697481155,
-0.039155155420303345,
0.005461987107992172,
0.0004024995432700962,
-0.02156851813197136,
0.012853788211941719,
-0.0278207678347826,
0.020573047921061516,
-0.005047207698225975,
-0.013980241492390633,
-0.0076668658293783665,
0.06189378723502159,
0.019263219088315964,
-0.033671338111162186,
-0.006073240656405687,
0.018197890371084213,
0.03821207955479622,
-0.053510881960392,
-0.034509629011154175,
0.07453799992799759,
-0.03622113913297653,
0.009203732013702393,
0.05326637998223305,
0.06360529363155365,
-0.04034273326396942,
0.056619539856910706,
0.04083173722028732,
0.0005394858308136463,
0.0035190738271921873,
0.033112477511167526,
-0.0058156405575573444,
0.03470173478126526,
0.06035691872239113,
-0.009378375485539436,
-0.01515035517513752,
-0.06793646514415741,
0.047922275960445404,
0.00633520632982254,
0.042508315294981,
-0.02834470011293888,
-0.015997378155589104,
0.05557167902588844,
-0.04282267764210701,
-0.022040056064724922,
-0.009867378510534763,
-0.03382851555943489,
-0.03271079435944557,
-0.012094087898731232,
-0.01651257835328579,
0.004069202113896608,
0.013875455595552921,
0.0003722097317222506,
0.01335152331739664,
-0.024991536512970924,
-0.02043333277106285,
-0.004977350123226643,
-0.059413842856884,
-0.019857008010149002,
0.04146045446395874,
0.018424928188323975,
-0.02865905873477459,
0.01174480002373457,
-0.010749329812824726,
-0.05096108093857765,
-0.019839543849229813,
0.014146152883768082,
0.02974184975028038,
-0.015848930925130844,
0.010819187387824059,
0.02841455675661564,
-0.01593625359237194,
-0.056340109556913376,
-0.0448136143386364,
0.017700156196951866,
-0.06245264783501625,
0.0048987604677677155,
-0.01705397292971611,
0.020887406542897224,
0.036605354398489,
-0.030754784122109413,
-0.05026250332593918,
-0.006859137676656246,
-0.006946459878236055,
0.03485891595482826,
-0.011910711415112019,
-0.04945914447307587,
-0.015473446808755398,
0.048725638538599014,
0.05410467088222504,
-0.04600119590759277,
0.022476665675640106,
0.012233803048729897,
-0.056340109556913376,
0.07670358568429947,
0.02041586861014366,
-0.03108660876750946,
-0.0387360081076622,
0.00820826180279255,
-0.04876056686043739,
0.010854116640985012,
-0.08494677394628525,
0.002992959227412939,
0.01598864607512951,
0.02591715008020401,
0.03744364529848099,
-0.006274080835282803,
-0.06203350052237511,
-0.056340109556913376,
-0.044289685785770416,
0.08739179372787476,
0.0027702883817255497,
-0.035871848464012146,
-0.04069202020764351,
-0.0016067235264927149,
0.04142552614212036,
0.01365715079009533,
-0.013543631881475449,
-0.015779072418808937,
0.026126721873879433,
0.04551219195127487,
0.026633189991116524,
0.044324614107608795,
-0.019018717110157013,
-0.03557495400309563,
0.033409371972084045,
-0.023873817175626755,
0.049005068838596344,
-0.028501879423856735,
0.023087918758392334,
-0.013980241492390633,
0.01859957166016102,
0.03078971430659294,
0.0007946295663714409,
-0.031767718493938446,
-0.06968290358781815,
-0.046525124460458755,
0.028484415262937546,
0.02947988547384739,
0.07293128222227097,
-0.06021720543503761,
-0.09500626474618912,
-0.06709817051887512,
-0.0513802245259285,
-0.001839218195527792,
-0.03925994038581848,
-0.0868329331278801,
-0.06486273556947708,
0.0015576049918308854,
0.019298147410154343,
0.004562571179121733,
0.08718221634626389,
-0.010303988121449947,
0.008138404227793217,
-0.04834142327308655,
0.020835014060139656,
0.021952733397483826,
0.022476665675640106,
-0.005846203304827213,
0.03108660876750946,
-0.039993446320295334,
-0.035068489611148834,
0.038596294820308685,
0.0014386288821697235,
-0.037513501942157745,
0.015683019533753395,
0.009972164407372475,
-0.03898051008582115,
-0.02097472921013832,
0.005042841657996178,
-0.0017256997525691986,
0.05127543956041336,
-0.028990881517529488,
-0.05588603764772415,
-0.02153358794748783,
-0.016285540536046028,
-0.05012279003858566,
-0.07593515515327454,
-0.05969327315688133,
-0.04236860200762749,
0.04610598087310791,
-0.0058156405575573444,
0.05585110932588577,
-0.016311736777424812,
0.02156851813197136,
-0.024397747591137886,
0.04991321638226509,
-0.08215247839689255,
0.027436550706624985,
0.039399657398462296,
0.008784586563706398,
-0.03330458700656891,
-0.04285760596394539,
-0.01828521303832531,
0.029078204184770584,
-0.013665882870554924,
0.01666102558374405,
0.03541777655482292,
-0.004071385134011507,
-0.009072748944163322,
-0.0011177207343280315,
0.06849532574415207,
0.0089854272082448,
-0.00017682691395748407,
0.009526822715997696,
0.02205752022564411,
0.02130655199289322,
-0.041879598051309586,
-0.010434971190989017,
0.06161435693502426,
-0.0071211038157343864,
0.04069202020764351,
-0.04177481308579445,
-0.02045079693198204,
-0.03227418661117554,
-0.0329902246594429,
-0.0017770013073459268,
0.003822517581284046,
0.0037111821584403515,
0.02266877330839634,
-0.0043595475144684315,
-0.010749329812824726,
0.05312666296958923,
0.001392784877680242,
-0.014495440758764744,
0.02457239292562008,
0.044080112129449844,
0.024223104119300842,
0.0056191664189100266,
-0.023803958669304848,
0.024467606097459793,
-0.008719095028936863,
-0.004403208382427692,
-0.038037434220314026,
0.022267093881964684,
-0.017673959955573082,
-0.02813512645661831,
-0.003119576023891568,
0.032571081072092056,
-0.010609614662826061,
-0.05375538021326065,
0.021778089925646782,
0.04048244655132294,
-0.012530697509646416,
0.03173279017210007,
0.018093105405569077,
0.002800850896164775,
-0.0038006871473044157,
-0.008173332549631596,
-0.002082628197968006,
0.036430709064006805,
-0.016320468857884407,
-0.015080497600138187,
-0.006920263171195984,
-0.06088085100054741,
0.03817714750766754,
0.004420673009008169,
-0.05738797411322594,
-0.13468535244464874,
0.0022987499833106995,
-0.03543524071574211,
-0.015333731658756733,
0.006339572370052338,
-0.020031651481986046,
-0.012294928543269634,
-0.057143472135066986,
-0.08438791334629059,
0.0448136143386364,
-0.039399657398462296,
0.0023162143770605326,
0.0718834176659584,
0.03031817451119423,
-0.04610598087310791,
0.023384813219308853,
-0.04208917170763016,
-0.01569175161421299,
-0.045966263860464096,
-0.01352616772055626,
0.05976312980055809,
0.06524694710969925,
-0.008784586563706398,
-0.036605354398489,
-0.04495333135128021,
0.013238005340099335,
-0.0584358386695385,
-0.005592969711869955,
0.0029645797330886126,
-0.0359417088329792,
0.010583418421447277,
-0.056898970156908035,
0.07128962874412537,
0.005706488154828548,
0.039644159376621246,
0.0003566555096767843,
0.020625440403819084,
0.057422902435064316,
0.006518582347780466,
-0.03580199182033539,
-0.013980241492390633,
0.056619539856910706,
-0.04903999716043472,
0.007007584907114506,
0.023280028253793716,
-0.016390327364206314,
-0.047887347638607025,
-0.10555475205183029,
-0.03143589571118355,
-0.000024422854039585218,
0.05979805812239647,
-0.0036304094828665257,
0.03527805954217911,
-0.004215466324239969,
0.008736559189856052,
-0.023908745497465134,
-0.03494623675942421,
-0.03325219079852104,
-0.024886751547455788,
0.001073513994924724,
-0.005151994060724974,
-0.03197729215025902,
-0.020380938425660133,
0.013316594995558262,
0.056305181235075,
-0.01880914531648159,
0.008243190124630928,
0.000946897198446095,
-0.0328330472111702,
-0.022214699536561966,
-0.0020116791129112244,
0.03302515670657158,
0.04467390105128288,
-0.00803361739963293,
0.014635155908763409,
-0.004368279594928026,
0.03436991199851036,
-0.008588111959397793,
-0.005086502525955439,
0.04121595248579979,
0.013622221536934376,
-0.00035365382791496813,
0.01759536936879158,
0.011989301070570946,
-0.015115426853299141,
-0.011404244229197502,
-0.05955355986952782,
0.0005231129471212626,
-0.04673469811677933,
-0.033950768411159515,
-0.015892591327428818,
0.03852643817663193,
0.0012105002533644438,
0.021952733397483826,
-0.04233367368578911,
0.020660368725657463,
-0.019437862560153008,
0.03379358723759651,
-0.013962777331471443,
0.019996723160147667,
-0.001529225381091237,
0.04963378608226776,
0.041041307151317596,
-0.06357036530971527,
-0.014556566253304482,
-0.029846636578440666,
-0.0727217048406601,
0.0387360081076622,
-0.026266437023878098,
0.014329529367387295,
0.012469572015106678,
0.03677999973297119,
0.0697527602314949,
0.049738574773073196,
0.03354908525943756,
-0.042193956673145294,
0.02453746274113655,
-0.022162307053804398,
-0.058226265013217926,
0.04173988476395607,
-0.0012279646471142769,
0.0018730554729700089,
0.014766138978302479,
-0.054733388125896454,
-0.05396495386958122,
0.06524694710969925,
0.03932979702949524,
0.0020225942134857178,
0.05347595363855362,
0.02836216427385807,
0.009509358555078506,
0.037548430263996124,
-0.0021961466409265995,
0.017420725896954536,
-0.01826774887740612,
0.009884842671453953,
0.04146045446395874,
0.019175896421074867,
0.016303004696965218,
0.006221687886863947,
0.04586147889494896,
-0.0029842271469533443,
0.026825297623872757,
-0.06622495502233505,
0.06241771951317787,
0.028030339628458023,
0.04097145050764084,
-0.02834470011293888,
-0.03866615146398544,
-0.0359417088329792,
0.015613161958754063,
-0.0033771756570786238,
0.02071276307106018,
-0.005396495573222637,
-0.012914913706481457,
-0.047328487038612366,
-0.03691971302032471,
0.0016427438240498304,
-0.0116138169541955,
-0.03653549775481224,
0.0024559292942285538,
-0.021184301003813744,
-0.0191235039383173,
-0.040272876620292664,
0.006431260146200657,
0.02946241945028305,
-0.05599082261323929,
0.05124051123857498,
-0.08187304437160492,
0.03636085242033005,
0.017193688079714775,
0.04526768997311592,
0.025201110169291496,
0.033199798315763474,
0.12190141528844833,
0.011439173482358456,
0.026318831369280815,
0.07216284424066544,
-0.07314085215330124,
-0.016451451927423477,
-0.0038508973084390163,
0.01989193633198738,
-0.015752876177430153,
-0.007487855851650238,
0.01392784807831049,
-0.05054193362593651,
-0.00981498509645462,
0.012574358843266964,
0.005544942803680897,
0.041076239198446274,
0.1047164648771286,
0.04142552614212036,
0.03845657780766487,
0.005575505550950766,
0.045721765607595444,
-0.06032199040055275,
-0.025270966812968254,
-0.03106914460659027,
0.04184466972947121,
-0.02158598229289055,
-0.03946951404213905,
0.05319652333855629,
0.004455601796507835,
0.01309829019010067,
-0.0896272286772728,
0.017534244805574417,
-0.029602134600281715,
0.06004256010055542,
-0.018424928188323975,
0.023908745497465134,
-0.020101508125662804,
-0.03622113913297653,
-0.050611793994903564,
0.032885439693927765,
0.049494072794914246,
-0.05654968321323395,
0.03580199182033539,
-0.018879001960158348,
-0.01777874492108822,
0.004241663031280041,
0.007863339968025684,
0.014224742539227009,
-0.039399657398462296,
-0.03351415693759918,
-0.0008486600127071142,
-0.05127543956041336,
0.009753859601914883,
0.04289253428578377,
0.036430709064006805,
-0.02596954256296158,
-0.03051028400659561,
0.022022591903805733,
0.043835610151290894,
0.027174586430191994,
-0.07003218680620193,
-0.025864755734801292,
0.007959393784403801,
0.001214866410009563,
0.022441737353801727,
-0.011404244229197502,
0.009771324694156647,
0.0010178462835028768,
0.020625440403819084,
0.016180753707885742,
0.03416034206748009,
-0.047118913382291794,
0.04055230692028999,
-0.01267041265964508,
-0.006684494204819202,
-0.015045569278299809,
0.01989193633198738,
0.03629099577665329,
0.004623696208000183,
0.0019636519718915224,
0.005571139510720968,
0.042508315294981,
-0.03555748984217644,
-0.049563929438591,
0.0224068071693182,
0.0024821260012686253,
0.022546522319316864,
0.012434643693268299,
0.019577577710151672,
-0.038316864520311356,
0.07216284424066544,
-0.01039130985736847,
-0.01989193633198738,
-0.046525124460458755,
0.012495768256485462,
0.02778583951294422,
0.026109257712960243,
0.020869942381978035,
-0.031523216515779495,
0.03129618242383003,
-0.04442939907312393,
0.05571139231324196,
-0.07425857335329056,
-0.02045079693198204,
-0.012094087898731232,
0.0014069746248424053,
0.026912620291113853,
-0.01990940049290657,
-0.007758553605526686,
0.06021720543503761,
0.06933361291885376,
-0.024380283430218697,
-0.1047164648771286,
0.012644215486943722,
0.04830649495124817,
-0.0013087374391034245,
0.026039401069283485,
-0.0240484606474638,
0.07474757730960846,
0.024677177891135216,
0.042403530329465866,
-0.02024122327566147,
0.04767777398228645,
0.026388688012957573,
0.051694583147764206,
-0.01940293423831463,
-0.013936580158770084,
0.05110079422593117,
0.011770996265113354,
0.04537247493863106,
0.0013742289738729596,
-0.03719914332032204,
-0.02345467172563076,
0.0019123503006994724,
-0.04076187685132027,
-0.0031173930037766695,
-0.03108660876750946,
-0.049773503094911575,
-0.025567861273884773,
0.029689457267522812,
-0.052812304347753525,
-0.03302515670657158,
-0.006601538043469191,
0.030946893617510796,
-0.015744144096970558,
-0.013735740445554256,
-0.0070687104016542435,
-0.025201110169291496,
0.02542814612388611,
-0.03358401730656624,
0.008719095028936863,
-0.014818532392382622,
-0.02235441468656063,
0.06873982399702072,
-0.03054521232843399,
-0.0034383011516183615,
0.04987828806042671,
-0.029602134600281715,
0.034003160893917084,
-0.02151612378656864,
0.049563929438591,
0.04533754661679268,
-0.0175604410469532,
0.004859465640038252,
-0.03499862924218178,
0.0036151281092315912,
0.10869834572076797,
-0.010068219155073166,
-0.013840526342391968,
0.06832068413496017,
0.009579216130077839,
-0.0480969212949276,
-0.009806253015995026,
-0.044604044407606125,
0.04470882937312126,
0.039993446320295334,
0.029567206278443336,
0.02537575364112854,
-0.014242207631468773,
0.03681492805480957,
0.01884407363831997,
0.013962777331471443,
-0.002641488565132022,
0.0868329331278801,
0.07286141812801361,
-0.05504774674773216,
-0.0175604410469532,
-0.08976694941520691,
0.03054521232843399,
0.016172021627426147,
-0.005069038365036249,
0.017106367275118828,
0.010993831790983677,
0.04289253428578377,
-0.053650595247745514,
0.006396331824362278,
0.08515635132789612,
0.05599082261323929,
0.02233695052564144,
-0.007051246240735054,
0.03789771720767021,
0.02291327528655529,
-0.00968400202691555,
-0.025026466697454453,
0.012775198556482792,
0.054453957825899124,
-0.04373082518577576,
0.007138567976653576,
-0.002848878037184477,
0.006859137676656246,
-0.016442719846963882,
-0.03485891595482826,
0.016075968742370605,
0.08236204832792282,
-0.01907110959291458,
-0.04334660619497299,
-0.01065327599644661,
-0.02506139501929283,
-0.01565682329237461,
-0.00984118226915598,
-0.018355069682002068,
0.030126066878437996,
-0.018879001960158348,
0.06109042465686798,
0.020555583760142326,
0.07523658126592636
] |
10,265 | collections | __missing__ | The count of elements not in the Counter is zero. | def __missing__(self, key):
'The count of elements not in the Counter is zero.'
# Needed so that self[missing_item] does not raise KeyError
return 0
| (self, key) | [
-0.002878056140616536,
-0.034288208931684494,
0.0034163976088166237,
0.06682059168815613,
0.05048814415931702,
0.012000872753560543,
0.0065677654929459095,
-0.020042864605784416,
0.08527328073978424,
-0.035182684659957886,
-0.05684885382652283,
0.020755132660269737,
0.05496051907539368,
-0.059896696358919144,
-0.008385702967643738,
0.009640452452003956,
0.029501110315322876,
0.06728439778089523,
0.02834160625934601,
-0.021368013694882393,
-0.0015622253995388746,
0.0361102856695652,
0.02456493303179741,
0.04538632184267044,
-0.03185324743390083,
0.03143914043903351,
0.03253238648176193,
-0.04194093868136406,
0.05761081352829933,
-0.044458720833063126,
-0.07506964355707169,
0.016547787934541702,
-0.018833667039871216,
0.028805406764149666,
0.00028677034424617887,
-0.02718210034072399,
-0.013914055190980434,
-0.006691997870802879,
-0.02340542897582054,
0.02699989266693592,
0.03231704980134964,
-0.0069114756770431995,
-0.014129391871392727,
-0.06039362773299217,
0.04061578959226608,
0.02973301149904728,
0.031886376440525055,
0.018866796046495438,
-0.02646983414888382,
-0.03594464436173439,
-0.03750169277191162,
0.032913368195295334,
0.008191071450710297,
0.009673581458628178,
-0.03167103976011276,
0.07924386113882065,
0.018287044018507004,
0.006638163700699806,
-0.05161451920866966,
0.07169051468372345,
-0.05095194652676582,
0.05270776525139809,
0.007147517520934343,
-0.04429307579994202,
0.014676015824079514,
0.00799644086509943,
0.0194134209305048,
0.014767119660973549,
0.03180355578660965,
0.005134948994964361,
0.05482800304889679,
-0.022295616567134857,
-0.01436129305511713,
0.04972618445754051,
0.05790897458791733,
-0.03299618884921074,
0.0021512950770556927,
-0.006116386968642473,
0.07566595822572708,
-0.026536092162132263,
0.020937340334057808,
-0.04492252320051193,
-0.007180646527558565,
0.011553634889423847,
0.02630419097840786,
0.04329921677708626,
0.04475687816739082,
-0.016978461295366287,
-0.02991521917283535,
0.08639965951442719,
-0.0447237491607666,
0.056318797171115875,
0.029269209131598473,
-0.02544284425675869,
0.02751338854432106,
0.019628755748271942,
-0.012911912053823471,
-0.0574120432138443,
0.05413230136036873,
-0.028391297906637192,
0.053569111973047256,
-0.015239203348755836,
0.06691998243331909,
-0.013549639843404293,
-0.005006575491279364,
-0.04694337397813797,
0.011967743746936321,
-0.04555196687579155,
0.0075906142592430115,
0.029865525662899017,
0.018353302031755447,
-0.01957906410098076,
-0.028076576068997383,
-0.004188710357993841,
0.008654873818159103,
-0.009557630866765976,
0.01908213272690773,
-0.030296199023723602,
-0.00030022888677194715,
0.01858520321547985,
0.005412402097135782,
0.002124377992004156,
-0.027712160721421242,
-0.023587636649608612,
0.07559970021247864,
-0.05684885382652283,
-0.03743543475866318,
0.03286367282271385,
0.06443532556295395,
0.039456285536289215,
0.06407091021537781,
-0.018154529854655266,
0.030693743377923965,
0.013533075340092182,
0.016406990587711334,
0.02681768499314785,
0.09070638567209244,
0.0063193002715706825,
-0.053370341658592224,
0.0619506761431694,
0.048367906361818314,
-0.031025029718875885,
0.015852084383368492,
0.04482313618063927,
0.09070638567209244,
0.028772279620170593,
-0.04177529364824295,
0.06049301102757454,
-0.005706419236958027,
-0.01600116305053234,
-0.01161989290267229,
0.010708853602409363,
0.02559192292392254,
-0.003584111575037241,
0.007532638963311911,
0.004182498902082443,
0.02287537045776844,
-0.0016409060917794704,
-0.03538145497441292,
-0.09454932063817978,
0.04949428141117096,
-0.02352137863636017,
0.006683716084808111,
0.0038719172589480877,
-0.02305757813155651,
0.011272041127085686,
-0.021235499531030655,
-0.01734287664294243,
-0.012588907033205032,
0.03283054381608963,
-0.00852235872298479,
-0.04363050311803818,
-0.05048814415931702,
-0.014999019913375378,
0.021748993545770645,
0.029948348179459572,
-0.04810287803411484,
0.01665545627474785,
0.027115844190120697,
-0.016887355595827103,
0.02029133029282093,
0.0003082522307522595,
-0.07129296660423279,
-0.04399491846561432,
-0.004642159678041935,
-0.021020162850618362,
0.013524793088436127,
-0.024333031848073006,
-0.010369284078478813,
0.06426968425512314,
0.020572924986481667,
-0.006166080012917519,
0.013019580394029617,
0.05496051907539368,
0.04730778932571411,
-0.01615024358034134,
-0.03296305984258652,
0.028126269578933716,
0.012704857625067234,
0.03294649347662926,
-0.03816426545381546,
-0.023836102336645126,
-0.020589489489793777,
0.023604201152920723,
-0.014328164048492908,
0.006240619346499443,
-0.01615852490067482,
-0.01823735050857067,
-0.06463409960269928,
-0.027066150680184364,
0.006261324975639582,
-0.042702898383140564,
0.009582477621734142,
0.011031858623027802,
0.0005673290579579771,
-0.02390235848724842,
0.035149555653333664,
-0.02526063658297062,
-0.04485626518726349,
0.00019527817494235933,
0.05293966829776764,
-0.009723274037241936,
0.0450219064950943,
-0.0242502111941576,
0.023322606459259987,
-0.0013313597301021218,
0.045783866196870804,
0.032085150480270386,
-0.03597777336835861,
0.0016057068714872003,
-0.0014038288500159979,
0.0622488334774971,
0.00867972057312727,
0.021864943206310272,
0.010849650017917156,
-0.05052127316594124,
-0.03061092086136341,
0.001573613379150629,
0.01875084638595581,
-0.016241347417235374,
-0.02580725960433483,
-0.013027862645685673,
0.026950199156999588,
0.040648918598890305,
-0.0013003016356378794,
-0.009781249798834324,
-0.018187658861279488,
0.08136409521102905,
-0.018469251692295074,
0.019993172958493233,
-0.009093829430639744,
-0.046148285269737244,
-0.03846242278814316,
-0.02305757813155651,
0.043597374111413956,
-0.08772480487823486,
-0.05171390622854233,
0.0004495668690651655,
0.011288605630397797,
-0.006518072448670864,
-0.015603619627654552,
0.03230048716068268,
-0.023985181003808975,
0.02890479378402233,
-0.06711874902248383,
0.022411568090319633,
0.06463409960269928,
0.05413230136036873,
-0.033095575869083405,
0.058174002915620804,
-0.022063717246055603,
-0.013988594524562359,
0.02958393283188343,
-0.0652635470032692,
-0.03783297911286354,
0.03508329764008522,
0.03143914043903351,
0.012406699359416962,
-0.017425697296857834,
0.02579069510102272,
0.057544559240341187,
-0.010261615738272667,
-0.030826257541775703,
-0.001759962411597371,
-0.030875951051712036,
0.04952741041779518,
-0.013640743680298328,
-0.023156963288784027,
-0.060261111706495285,
-0.009292601607739925,
0.01331773865967989,
-0.0046587237156927586,
0.04071517661213875,
0.011793818324804306,
0.021765558049082756,
-0.005081114824861288,
-0.03697163239121437,
-0.026867378503084183,
0.03294649347662926,
0.0563519224524498,
-0.03236674144864082,
-0.007309020031243563,
-0.05814087390899658,
-0.04210657998919487,
-0.0037518255412578583,
-0.031008467078208923,
0.053569111973047256,
0.0676819384098053,
0.0010083549423143268,
0.0042901672422885895,
-0.019645320251584053,
0.058737192302942276,
0.032913368195295334,
0.029136694967746735,
0.012680010870099068,
-0.024101130664348602,
-0.04647957161068916,
-0.007043990306556225,
-0.0048823426477611065,
0.07997269183397293,
0.028937922790646553,
0.026271061971783638,
-0.048235390335321426,
0.005975589621812105,
-0.046512700617313385,
-0.017226925119757652,
0.024515239521861076,
-0.04276915639638901,
-0.00212644855491817,
-0.0010124959517270327,
-0.001234044204466045,
-0.07188928872346878,
-0.03355937451124191,
-0.04641331359744072,
-0.08328556269407272,
-0.0032756004948168993,
0.0011160231661051512,
-0.030196813866496086,
0.034818265587091446,
0.03574587032198906,
-0.024995606392621994,
-0.0192643404006958,
-0.054596103727817535,
0.012762832455337048,
0.03458636626601219,
-0.04952741041779518,
-0.014816812239587307,
-0.041245236992836,
0.03561335429549217,
-0.0401851162314415,
0.006584329530596733,
0.025575358420610428,
0.021881507709622383,
0.039820700883865356,
0.10256646573543549,
0.008688002824783325,
0.03183668479323387,
-0.0012267972342669964,
0.018783975392580032,
0.03452010825276375,
0.01548766903579235,
-0.007015002891421318,
-0.028656328096985817,
0.0019825459457933903,
-0.03112441673874855,
-0.020589489489793777,
0.006812089588493109,
-0.05072004348039627,
-0.0917002484202385,
-0.06165251508355141,
-0.019678449258208275,
-0.06205005943775177,
-0.04141087830066681,
0.0070646959356963634,
0.036209672689437866,
0.005192924290895462,
0.022262489423155785,
0.04989182576537132,
-0.03130662441253662,
-0.035050168633461,
-0.042901672422885895,
0.021450836211442947,
-0.08487574011087418,
0.027099279686808586,
-0.05035562813282013,
0.016266193240880966,
-0.04588325321674347,
-0.007168223150074482,
0.036176543682813644,
0.039257511496543884,
0.009251190349459648,
-0.04074830561876297,
-0.039787571877241135,
-0.019529370591044426,
-0.05065378546714783,
-0.005648443941026926,
0.03488452360033989,
-0.08984504640102386,
0.002410113113000989,
-0.06132122874259949,
0.06566108763217926,
-0.05588812381029129,
0.008969596587121487,
0.03915812820196152,
0.042040325701236725,
0.043266087770462036,
-0.02012568712234497,
-0.04575074091553688,
-0.04190780967473984,
-0.007627883926033974,
-0.004861637018620968,
-0.014775401912629604,
-0.016614044085144997,
-0.05330408364534378,
-0.04518755152821541,
-0.09620575606822968,
-0.014245342463254929,
-0.04505503550171852,
0.014676015824079514,
0.0187342818826437,
0.012928476557135582,
-0.048069749027490616,
0.04035076126456261,
0.045286938548088074,
-0.016241347417235374,
-0.030296199023723602,
-0.033410295844078064,
-0.04691024497151375,
0.006899052299559116,
-0.01271313987672329,
-0.05038875713944435,
-0.02820909023284912,
0.00815794337540865,
-0.04505503550171852,
-0.024879656732082367,
-0.016034292057156563,
-0.02388579584658146,
-0.03955567255616188,
-0.02748025953769684,
0.053072184324264526,
0.0005637055728584528,
0.022825676947832108,
0.03521580994129181,
0.06824512779712677,
0.032598644495010376,
-0.007441535126417875,
0.0046587237156927586,
-0.0037456140853464603,
0.034453850239515305,
-0.02526063658297062,
-0.007251044735312462,
-0.014535218477249146,
-0.017409132793545723,
-0.008911620825529099,
-0.0014369575073942542,
0.012340442277491093,
-0.11131244152784348,
-0.012853937223553658,
0.00026257085846737027,
-0.017293183133006096,
-0.029302338138222694,
0.07526841014623642,
-0.050786301493644714,
-0.013069272972643375,
-0.04164278134703636,
0.02751338854432106,
-0.021699300035834312,
-0.007155799772590399,
-0.008195213042199612,
0.014410985633730888,
-0.012497803196310997,
-0.007801809813827276,
-0.02406800352036953,
-0.0536353699862957,
-0.07500338554382324,
-0.04353111609816551,
-0.009350576438009739,
0.023289477452635765,
0.014775401912629604,
-0.0031969198025763035,
0.05625253915786743,
0.041675910353660583,
0.03319495916366577,
-0.0395888015627861,
0.0090275714173913,
0.01875084638595581,
-0.05260838195681572,
0.0028966909740120173,
0.025194378569722176,
0.004277743864804506,
-0.008936467580497265,
-0.04399491846561432,
0.008704566396772861,
-0.013856080360710621,
0.025161249563097954,
0.009325729683041573,
0.05290653929114342,
0.034453850239515305,
0.014220495708286762,
-0.012265902012586594,
-0.011810382828116417,
0.0012019507121294737,
0.02080482617020607,
-0.024101130664348602,
-0.003755966667085886,
-0.05708075687289238,
0.017458826303482056,
0.004331578034907579,
0.0781174823641777,
-0.0557556077837944,
0.015148099511861801,
0.0006951851537451148,
0.05724639818072319,
0.0022631045430898666,
0.038594938814640045,
-0.005424825008958578,
-0.04916299507021904,
-0.05883657559752464,
-0.015462822280824184,
0.06142061576247215,
0.032085150480270386,
-0.01064259558916092,
0.013947184197604656,
-0.0006894911639392376,
-0.045452579855918884,
0.059565410017967224,
-0.01788949966430664,
-0.05833964794874191,
-0.019496241584420204,
0.050786301493644714,
-0.05068691447377205,
-0.02579069510102272,
-0.014468961395323277,
0.060095466673374176,
-0.018651459366083145,
0.05694824084639549,
0.013011298142373562,
-0.03009742684662342,
-0.02511155791580677,
0.06168564409017563,
0.041178978979587555,
0.00815794337540865,
0.07858128100633621,
-0.051482003182172775,
0.05042188614606857,
0.030014604330062866,
-0.07076290994882584,
-0.011031858623027802,
0.008572052232921124,
-0.003095463151112199,
-0.052177708595991135,
-0.019628755748271942,
0.01504871342331171,
-0.06045988202095032,
0.08752603083848953,
0.04283541440963745,
0.015736134722828865,
-0.005308874882757664,
0.06271263211965561,
0.026022596284747124,
0.027049586176872253,
-0.04107959195971489,
0.040648918598890305,
-0.05035562813282013,
-0.012704857625067234,
-0.0622488334774971,
-0.007292455993592739,
-0.043398600071668625,
0.010965600609779358,
0.023819537833333015,
-0.022295616567134857,
-0.012564060278236866,
-0.05366849899291992,
0.0001893253647722304,
-0.039953216910362244,
0.01220792718231678,
-0.03803174942731857,
-0.014452396892011166,
0.02029133029282093,
-0.08997755497694016,
-0.02547597326338291,
0.019678449258208275,
0.05118384584784508,
-0.01719379611313343,
0.009325729683041573,
-0.014311599545180798,
-0.03919125720858574,
-0.0013230775948613882,
-0.021748993545770645,
0.04641331359744072,
-0.04541945084929466,
-0.08017145842313766,
-0.035050168633461,
-0.015504233539104462,
0.03468575328588486,
0.06039362773299217,
0.027745289728045464,
-0.029318902641534805,
0.01647324673831463,
0.014659451320767403,
0.042404741048812866,
0.028159398585557938,
-0.031025029718875885,
0.05661695450544357,
0.035149555653333664,
0.021020162850618362,
0.0038035891484469175,
0.08103280514478683,
0.0029815833549946547,
-0.04962679743766785,
-0.042172838002443314,
-0.009060700424015522,
0.016729995608329773,
0.02251095324754715,
0.03783297911286354,
-0.043067313730716705,
0.02408456802368164,
0.005147372372448444,
-0.0008861928363330662,
0.06731752306222916,
-0.04919612407684326,
-0.012754551135003567,
-0.033609069883823395,
0.02559192292392254,
-0.01374012976884842,
-0.013301174156367779,
0.01287878304719925,
0.015918342396616936,
-0.005520069971680641,
0.0008639344596303999,
-0.007284173741936684,
0.0049527413211762905,
0.024515239521861076,
-0.007743834517896175,
0.014700861647725105,
0.03693850338459015,
0.013914055190980434,
0.034818265587091446,
0.023488251492381096,
0.06804635375738144,
-0.028805406764149666,
0.027927497401833534,
-0.01790606416761875,
0.05419855937361717,
-0.04657895490527153,
-0.00938370544463396,
-0.0316544771194458,
-0.00395059771835804,
0.04816913604736328,
-0.01617508940398693,
-0.01323491707444191,
-0.017607904970645905,
0.04916299507021904,
-0.04505503550171852,
-0.037601079791784286,
-0.02078826166689396,
0.008721130900084972,
-0.016589198261499405,
-0.02459806203842163,
-0.02903730794787407,
-0.014121109619736671,
-0.013690436258912086,
-0.019562499597668648,
-0.014452396892011166,
0.04233848303556442,
-0.04025137424468994,
0.042537253350019455,
-0.07500338554382324,
0.004956882447004318,
0.041543394327163696,
0.042736027389764786,
0.02095390483736992,
0.02063918299973011,
0.009276037104427814,
-0.033095575869083405,
-0.016456684097647667,
0.008613462559878826,
0.04389553144574165,
0.03846242278814316,
-0.029004178941249847,
0.029633624479174614,
0.013350867666304111,
-0.06672120839357376,
-0.011064986698329449,
-0.014311599545180798,
0.038594938814640045,
-0.009035853669047356,
-0.04353111609816551,
0.019214648753404617,
-0.06158626079559326,
0.017127539962530136,
-0.06499851495027542,
0.02907043695449829,
0.041245236992836,
-0.084014393389225,
0.0015725780976936221,
-0.04346485808491707,
0.03491765260696411,
0.03541458398103714,
-0.02100359834730625,
0.013649025931954384,
0.05330408364534378,
0.03770046308636665,
-0.0017144103767350316,
-0.05194580554962158,
0.0019442407647147775,
-0.02082139067351818,
0.0056153154000639915,
-0.018469251692295074,
-0.02524407207965851,
-0.00007188670133473352,
0.05539119243621826,
-0.01220792718231678,
-0.05171390622854233,
-0.01118093729019165,
-0.009052418172359467,
0.038230523467063904,
0.03630905970931053,
-0.01041069533675909,
0.014634604565799236,
0.02111954800784588,
0.008215918205678463,
0.006074976176023483,
0.045816995203495026,
-0.015694722533226013,
0.02888822928071022,
0.011793818324804306,
-0.05777645856142044,
-0.0018127611838281155,
0.006116386968642473,
0.037071019411087036,
-0.024034874513745308,
-0.01195117924362421,
0.0007609248859807849,
0.05780958756804466,
-0.00978953205049038,
-0.023687023669481277,
0.004480657167732716,
0.08136409521102905,
0.07294940203428268,
0.014907916076481342,
0.02784467488527298,
-0.0006599858752451837,
0.00834429170936346,
0.01599288173019886,
-0.020059429109096527,
-0.02249438874423504,
0.06990156322717667,
-0.031720735132694244,
0.003167932154610753,
0.002484652679413557,
0.01400515902787447,
-0.007292455993592739,
0.009085547178983688,
0.004004431888461113,
0.0006284100818447769,
0.011503942310810089,
-0.013268046081066132,
0.04194093868136406,
0.03726978972554207,
-0.023322606459259987,
-0.05466236174106598,
-0.025012170895934105,
0.06417030096054077,
-0.01701158843934536,
0.06443532556295395,
0.028590070083737373,
0.038594938814640045
] |
10,266 | collections | __ne__ | True if any counts disagree. Missing counts are treated as zero. | def __ne__(self, other):
'True if any counts disagree. Missing counts are treated as zero.'
if not isinstance(other, Counter):
return NotImplemented
return not self == other
| (self, other) | [
-0.017669150605797768,
-0.004250720143318176,
0.014805052429437637,
0.08652865141630173,
-0.029073627665638924,
-0.014311838895082474,
-0.039214786142110825,
-0.011612145230174065,
0.07372241467237473,
-0.00974312610924244,
-0.028260257095098495,
-0.004841277841478586,
0.03127145394682884,
-0.04122224822640419,
-0.024452997371554375,
-0.005922886077314615,
-0.01688173972070217,
0.046863917261362076,
0.025872066617012024,
-0.02272242307662964,
-0.020784182474017143,
0.03703426197171211,
-0.0021664611995220184,
0.0789833515882492,
-0.0002809477155096829,
0.0480060949921608,
-0.023103149607777596,
-0.015402100048959255,
-0.028796736150979996,
0.04489106312394142,
-0.057143520563840866,
-0.00198042462579906,
0.016163552179932594,
0.02376076765358448,
0.06146995350718498,
-0.010971833020448685,
-0.04544484615325928,
0.046829305589199066,
-0.047659981995821,
0.005269594956189394,
0.013152355328202248,
-0.0320155993103981,
-0.012330332770943642,
-0.004741770215332508,
0.006506954785436392,
-0.01442432589828968,
0.008514419198036194,
-0.001713267294690013,
-0.007519339676946402,
-0.010444007813930511,
-0.02646046131849289,
-0.014614689163863659,
-0.01586935482919216,
0.08756699413061142,
-0.038176439702510834,
0.05960093438625336,
0.030994562432169914,
0.03227518871426582,
-0.06814996898174286,
0.06309669464826584,
-0.08514419198036194,
0.028225645422935486,
0.037795715034008026,
-0.06814996898174286,
-0.003251314163208008,
-0.02685849368572235,
-0.02230708673596382,
-0.004116600379347801,
0.02055920846760273,
0.04219137132167816,
-0.03893789276480675,
-0.011283336207270622,
0.016068371012806892,
0.05115573853254318,
0.019330501556396484,
-0.027516111731529236,
0.0362728126347065,
0.07129961252212524,
0.02845062129199505,
-0.0437488853931427,
0.019399723038077354,
-0.06198912486433983,
0.005395061336457729,
0.011300642043352127,
-0.020247705280780792,
0.03596130758523941,
0.00646369019523263,
-0.012105358764529228,
0.02230708673596382,
0.021822525188326836,
-0.01914013735949993,
0.025958595797419548,
0.05392465740442276,
-0.07240717858076096,
0.04246826097369194,
0.049529001116752625,
-0.04011468216776848,
-0.029610104858875275,
0.005922886077314615,
-0.020316926762461662,
0.03893789276480675,
0.0394916757941246,
0.05928943306207657,
-0.02464335970580578,
0.007739987690001726,
-0.013706138357520103,
-0.006814131513237953,
-0.040703076869249344,
-0.01614624634385109,
0.011984217911958694,
-0.01927858404815197,
0.03433457016944885,
-0.027619944885373116,
0.0009772329358384013,
0.010201727971434593,
-0.03824566304683685,
0.007540971972048283,
-0.01481370534747839,
0.010617065243422985,
0.008752373047173023,
-0.0021524003241211176,
0.04333354905247688,
0.017366301268339157,
-0.004259373061358929,
0.0373457670211792,
-0.027187302708625793,
0.014571424573659897,
0.0309426449239254,
-0.010971833020448685,
0.005347470752894878,
0.06631556153297424,
-0.02524906024336815,
0.023137761279940605,
0.05385543406009674,
0.05361315235495567,
0.039318621158599854,
0.07123038917779922,
0.031219538301229477,
-0.02952357567846775,
0.004105784464627504,
0.017548009753227234,
-0.013230230659246445,
0.050809625536203384,
0.08625175803899765,
0.032379020005464554,
0.05679740756750107,
-0.09483540058135986,
0.0601201057434082,
-0.006398793775588274,
0.00844519678503275,
-0.032569386065006256,
-0.0020950750913470984,
0.044441115111112595,
-0.0035974287893623114,
-0.030561920255422592,
0.0021004830487072468,
-0.004564386326819658,
0.008964368142187595,
-0.03969934582710266,
-0.011741938069462776,
0.03168679401278496,
0.021112991496920586,
0.04142991825938225,
0.014917539432644844,
-0.020282315090298653,
-0.0325520783662796,
-0.013576345518231392,
-0.04354121908545494,
-0.016301998868584633,
0.04277976602315903,
-0.011413129046559334,
-0.03428265079855919,
-0.01452816091477871,
0.006788172759115696,
-0.019572781398892403,
-0.0019241808913648129,
0.013905154541134834,
0.013593651354312897,
-0.025318283587694168,
0.002370885107666254,
0.03603053092956543,
-0.027239220216870308,
-0.08237527310848236,
-0.036549702286720276,
0.03185984864830971,
-0.04399116709828377,
-0.01296199206262827,
-0.020507290959358215,
0.0172538124024868,
0.030388861894607544,
-0.006476669572293758,
-0.018915163353085518,
-0.00013925705570727587,
0.016976920887827873,
0.07157649844884872,
-0.04582557454705238,
-0.018257545307278633,
-0.008211568929255009,
0.05039428547024727,
0.03741499036550522,
-0.03083881177008152,
0.007155919447541237,
-0.0013595814816653728,
-0.0448218397796154,
0.012719712220132351,
-0.02436646819114685,
-0.05669357255101204,
-0.020351538434624672,
0.003266456536948681,
-0.039041727781295776,
0.010556495748460293,
-0.05915098637342453,
0.04399116709828377,
0.02254936657845974,
0.03751882165670395,
0.022272475063800812,
0.03390192613005638,
-0.03966473415493965,
-0.03511332720518112,
0.010253645479679108,
0.05669357255101204,
-0.01063437107950449,
-0.006191125139594078,
-0.022739728912711143,
-0.0067578875459730625,
0.03488835319876671,
0.028571760281920433,
0.0067102969624102116,
0.002740795025601983,
-0.004992702975869179,
0.022134028375148773,
0.06787307560443878,
0.012096705846488476,
-0.020507290959358215,
-0.010729553177952766,
-0.007549624890089035,
-0.032742440700531006,
0.031392596662044525,
-0.021112991496920586,
0.018586354330182076,
-0.020507290959358215,
-0.03371156379580498,
0.015004068613052368,
0.02308584377169609,
-0.006212756969034672,
-0.056070566177368164,
-0.02237631008028984,
0.050705790519714355,
0.025733621791005135,
0.04966744780540466,
-0.0179633479565382,
-0.07206106185913086,
-0.06205834820866585,
-0.052194081246852875,
0.03845333307981491,
-0.06067388877272606,
-0.10016556829214096,
-0.03499218821525574,
0.039353229105472565,
0.009180690161883831,
-0.0168903935700655,
0.06569255143404007,
-0.013351370580494404,
0.026322016492486,
-0.0690152496099472,
0.0038418720941990614,
0.016838476061820984,
0.031998295336961746,
0.006991514936089516,
0.027360359206795692,
-0.017245160415768623,
-0.05285169929265976,
0.05672818422317505,
-0.011352559551596642,
-0.05392465740442276,
0.028865957632660866,
0.023033926263451576,
-0.03421342745423317,
-0.023345429450273514,
0.0179633479565382,
0.012797587551176548,
0.039249397814273834,
-0.004056030418723822,
-0.06641939282417297,
-0.016258733347058296,
0.025404812768101692,
-0.025699010118842125,
-0.0544092170894146,
-0.04676008224487305,
-0.04748692363500595,
0.05928943306207657,
-0.00660646241158247,
0.06991515308618546,
0.013671526685357094,
0.002530963160097599,
0.01194960717111826,
0.022635895758867264,
-0.06752695888280869,
0.01477909367531538,
0.038176439702510834,
-0.008557683788239956,
0.015557851642370224,
-0.03400576114654541,
-0.028087200596928596,
0.04606785252690315,
-0.03400576114654541,
0.03016388788819313,
0.0608123354613781,
0.02190905436873436,
0.009137425571680069,
0.0062257363460958,
0.06846147030591965,
0.00877833180129528,
0.03679198399186134,
0.013697485439479351,
0.05527450144290924,
0.03952628746628761,
-0.05413232371211052,
-0.004380512982606888,
0.0821676105260849,
0.018482519313693047,
0.03706887364387512,
-0.04914827272295952,
-0.029142849147319794,
-0.041776031255722046,
-0.052090249955654144,
-0.008224548771977425,
0.005291227251291275,
-0.004789360798895359,
0.03246555104851723,
0.011482352390885353,
-0.053163204342126846,
0.04606785252690315,
-0.015280960127711296,
-0.03542482852935791,
-0.01124007161706686,
0.025802843272686005,
-0.0033659646287560463,
0.029367825016379356,
0.011664061807096004,
0.020472679287195206,
-0.0067795198410749435,
-0.011231418699026108,
-0.05492838844656944,
-0.00646369019523263,
-0.011413129046559334,
-0.05129418522119522,
-0.008094755001366138,
0.0657963901758194,
0.005395061336457729,
-0.0334346704185009,
0.02493755705654621,
0.031063785776495934,
0.011421781964600086,
0.048352211713790894,
0.040356963872909546,
-0.007839496247470379,
0.015229042619466782,
-0.011802508495748043,
-0.03173870965838432,
-0.011508310213685036,
0.0019598740618675947,
0.005304206162691116,
0.00926721841096878,
-0.048144541680812836,
0.014623342081904411,
-0.005516201723366976,
-0.049529001116752625,
-0.1280623972415924,
-0.02696232870221138,
-0.053370870649814606,
-0.040633853524923325,
-0.014320491813123226,
-0.032344408333301544,
0.008263486437499523,
-0.05523988977074623,
-0.0590471513569355,
0.02308584377169609,
-0.018344074487686157,
-0.013065826147794724,
0.04347199574112892,
0.016388526186347008,
-0.08936679363250732,
0.00360608147457242,
-0.004906174726784229,
-0.00038424128433689475,
-0.03561519458889961,
0.007666438352316618,
0.03987240418791771,
0.05658973753452301,
-0.01675194688141346,
-0.05042889714241028,
-0.031133009120821953,
-0.0031929071992635727,
-0.07316862791776657,
-0.0016234938520938158,
-0.02102646231651306,
-0.03973395749926567,
-0.04281437769532204,
-0.052021026611328125,
0.052090249955654144,
0.020282315090298653,
0.018465213477611542,
0.0034005760680884123,
0.014986762776970863,
0.0921357050538063,
-0.012390903197228909,
-0.0465870276093483,
-0.003411391982808709,
0.036895815283060074,
-0.00962198618799448,
-0.029471658170223236,
0.017876818776130676,
-0.018915163353085518,
-0.03973395749926567,
-0.06925753504037857,
-0.020905321463942528,
-0.058493368327617645,
0.06458498537540436,
0.007878433912992477,
0.025197142735123634,
0.0016159225488081574,
0.03350389376282692,
-0.013325412757694721,
-0.015618422068655491,
-0.031184926629066467,
-0.03440379351377487,
-0.020905321463942528,
-0.0003937053552363068,
-0.008540377952158451,
-0.049529001116752625,
-0.02877943031489849,
0.05402848869562149,
-0.03173870965838432,
-0.00044643375440500677,
-0.013706138357520103,
-0.03616897761821747,
-0.07406852394342422,
-0.018897857517004013,
0.050809625536203384,
0.007251101080328226,
-0.015142514370381832,
-0.008804290555417538,
0.003288088832050562,
0.02692771703004837,
-0.006247368641197681,
0.011387170292437077,
0.02308584377169609,
0.04021851718425751,
0.018984386697411537,
0.011897689662873745,
0.010037323459982872,
-0.04544484615325928,
-0.01598184183239937,
-0.037795715034008026,
0.001149749499745667,
-0.05413232371211052,
-0.029367825016379356,
0.006493975408375263,
0.016743294894695282,
-0.039284009486436844,
0.033953841775655746,
-0.08022936433553696,
-0.014225310645997524,
-0.03282897174358368,
0.041983701288700104,
-0.001269807922653854,
0.0010680879931896925,
0.024522220715880394,
0.05627823621034622,
0.03134067729115486,
-0.06088155880570412,
0.006191125139594078,
-0.023380041122436523,
-0.06558872014284134,
0.0031171946320682764,
-0.04406039044260979,
0.004008439835160971,
-0.001554270857013762,
0.0309426449239254,
0.04714081063866615,
0.07358396798372269,
0.016362568363547325,
-0.05890870466828346,
0.026408543810248375,
-0.03205021098256111,
-0.04212214797735214,
-0.0009523559710942209,
0.04457956179976463,
0.0069871884770691395,
0.007294365204870701,
-0.06382353603839874,
-0.04277976602315903,
0.04669085890054703,
0.04489106312394142,
-0.019555475562810898,
0.048317600041627884,
0.02254936657845974,
0.011577533558011055,
0.0010210380423814058,
-0.006904986221343279,
0.015678992494940758,
-0.02813911810517311,
-0.0046163033694028854,
0.034871045500040054,
-0.02813911810517311,
0.0006484240875579417,
0.007891412824392319,
0.03956089913845062,
-0.0012081563472747803,
0.010859346017241478,
-0.03012927621603012,
0.05624362453818321,
0.017842207103967667,
0.04748692363500595,
-0.02770647406578064,
-0.04205292463302612,
-0.09414317458868027,
-0.011456393636763096,
-0.008912451565265656,
0.032067518681287766,
0.01034882664680481,
-0.05423615872859955,
-0.0035044103860855103,
-0.04423344507813454,
0.006744908168911934,
-0.04350660741329193,
-0.04887138307094574,
0.016336608678102493,
-0.03973395749926567,
-0.03185984864830971,
-0.030994562432169914,
-0.020680347457528114,
0.043022044003009796,
-0.052194081246852875,
0.024989474564790726,
-0.026235487312078476,
-0.00038667491753585637,
0.018344074487686157,
0.05392465740442276,
0.0044778576120734215,
0.026304710656404495,
0.08140615373849869,
-0.006645400542765856,
0.0056979116052389145,
0.06967286765575409,
-0.034126900136470795,
-0.008587968535721302,
0.01870749518275261,
0.030475391075015068,
-0.027412276715040207,
-0.014147434383630753,
0.014917539432644844,
-0.059773992747068405,
0.035269077867269516,
0.06337358802556992,
0.013230230659246445,
0.05949709936976433,
0.10175769776105881,
0.02753341756761074,
0.029177460819482803,
-0.032413631677627563,
0.08085237443447113,
-0.08341362327337265,
-0.005979130044579506,
-0.0300600528717041,
0.04734847694635391,
-0.05004817247390747,
-0.012624530121684074,
0.053267039358615875,
-0.014623342081904411,
-0.012243804521858692,
-0.06963825970888138,
0.01118815504014492,
-0.02628740482032299,
0.04786764830350876,
-0.03229249268770218,
0.004257209599018097,
0.0001441242784494534,
-0.07393007725477219,
-0.045652516186237335,
0.010997791774570942,
0.027948753908276558,
-0.06787307560443878,
0.032136742025613785,
-0.020213093608617783,
-0.03596130758523941,
-0.02230708673596382,
0.0211649090051651,
0.01984967291355133,
-0.030077358707785606,
-0.02194366604089737,
0.028364092111587524,
-0.07379163056612015,
0.011196807958185673,
0.04084152355790138,
0.03509601950645447,
-0.003166948677971959,
0.008116387762129307,
0.03371156379580498,
0.031029174104332924,
0.023881908506155014,
-0.054824553430080414,
-0.03481912985444069,
0.010418049991130829,
0.01839599199593067,
-0.034940268844366074,
0.01255530770868063,
0.018344074487686157,
-0.004064683336764574,
0.010565148666501045,
0.04001084715127945,
0.03305394574999809,
-0.03030233457684517,
0.06157378852367401,
-0.028502536937594414,
-0.014346450567245483,
-0.00392623757943511,
-0.048248376697301865,
0.07746044546365738,
-0.009319135919213295,
-0.00990753062069416,
-0.037899550050497055,
0.01721920259296894,
-0.05783575028181076,
-0.037691880017519,
0.01152561604976654,
0.016899045556783676,
0.0008360830834135413,
0.018378686159849167,
0.0015434548258781433,
-0.02877943031489849,
0.018482519313693047,
-0.0015088433865457773,
-0.025872066617012024,
-0.037691880017519,
-0.0000017153629414679017,
0.0343172624707222,
0.04471800848841667,
0.08424429595470428,
-0.0231204554438591,
0.033278919756412506,
-0.03360772877931595,
0.06254290789365768,
-0.10189613699913025,
-0.044302668422460556,
0.00034422180033288896,
-0.014251268468797207,
0.011819813400506973,
-0.007722682319581509,
-0.024660665541887283,
0.04721003398299217,
0.07856801897287369,
-0.049598224461078644,
-0.06963825970888138,
0.01856904849410057,
0.035442136228084564,
0.016440443694591522,
0.013706138357520103,
-0.029835078865289688,
0.06022394075989723,
-0.009509499184787273,
0.01691635139286518,
-0.009249912574887276,
0.03191176801919937,
0.009345094673335552,
0.05541294813156128,
-0.025093309581279755,
0.010322867892682552,
0.0013563366374000907,
0.010305562056601048,
0.06787307560443878,
-0.003335679415613413,
-0.02457413636147976,
-0.018828634172677994,
-0.0038786467630416155,
-0.02813911810517311,
0.02258397825062275,
-0.018863245844841003,
-0.03211943432688713,
-0.03696503862738609,
0.0162760391831398,
-0.05160568654537201,
-0.04378349706530571,
-0.02753341756761074,
0.035234466195106506,
-0.018344074487686157,
-0.013922460377216339,
0.004376186523586512,
-0.07372241467237473,
0.004594671539962292,
-0.06070850044488907,
0.02419341169297695,
0.017444176599383354,
0.00805581733584404,
0.04367966204881668,
-0.04343738406896591,
0.008393279276788235,
0.024868333712220192,
-0.014363756403326988,
0.032880887389183044,
0.005464284215122461,
0.05413232371211052,
0.03468068316578865,
-0.004733117297291756,
0.008112060837447643,
-0.04371427372097969,
-0.004367533605545759,
0.080367811024189,
-0.019555475562810898,
-0.038176439702510834,
0.07732200622558594,
0.0018549580127000809,
-0.05523988977074623,
-0.005494569428265095,
-0.022134028375148773,
0.05139802023768425,
0.04399116709828377,
0.007739987690001726,
-0.004456225782632828,
-0.001591045525856316,
0.027014244347810745,
0.01613759435713291,
0.028467927128076553,
-0.018361380323767662,
0.04222598299384117,
0.01664811186492443,
-0.060950782150030136,
0.031634874641895294,
-0.05960093438625336,
0.025058697909116745,
0.021337965503335,
-0.0031171946320682764,
0.00016710846102796495,
-0.009812349453568459,
0.026875799521803856,
-0.025872066617012024,
-0.0027343053370714188,
0.06641939282417297,
0.0540631003677845,
0.015229042619466782,
-0.0026456136256456375,
0.05946248769760132,
0.04496028646826744,
-0.02507600374519825,
-0.016899045556783676,
0.0023795380257070065,
0.0654502734541893,
-0.030354250222444534,
-0.011326600797474384,
0.027083467692136765,
-0.009466234594583511,
-0.024677971377968788,
0.007865454070270061,
0.03966473415493965,
0.048248376697301865,
0.010971833020448685,
-0.02945435233414173,
0.0017435522750020027,
-0.008099081926047802,
-0.0029506271239370108,
-0.023847296833992004,
0.015929924324154854,
0.012650488875806332,
-0.06458498537540436,
0.05150185525417328,
0.0068703750148415565,
0.07136882841587067
] |
10,267 | collections | __neg__ | Subtracts from an empty counter. Strips positive and zero counts,
and flips the sign on negative counts.
| def __neg__(self):
'''Subtracts from an empty counter. Strips positive and zero counts,
and flips the sign on negative counts.
'''
result = Counter()
for elem, count in self.items():
if count < 0:
result[elem] = 0 - count
return result
| (self) | [
-0.0036572134122252464,
-0.03126455470919609,
0.011838633567094803,
0.03395795449614525,
0.00020588329061865807,
-0.01908264495432377,
-0.016591690480709076,
-0.008115405216813087,
0.09182202816009521,
-0.04844597727060318,
-0.08872373402118683,
0.034732524305582047,
0.0441858284175396,
-0.04242543876171112,
-0.04362250491976738,
0.0426366850733757,
0.009233254007995129,
0.013819074258208275,
0.0036506119649857283,
-0.03524303808808327,
0.054431308060884476,
-0.015385822393000126,
0.018730565905570984,
0.07414769381284714,
-0.019557951018214226,
0.04207335785031319,
-0.017982400953769684,
-0.04203815013170242,
-0.0013775064144283533,
-0.03334181755781174,
-0.0464039221405983,
0.01472567580640316,
-0.003740832209587097,
-0.011900247074663639,
-0.003474572906270623,
-0.0578816756606102,
-0.03277849033474922,
0.03848215937614441,
-0.08407630026340485,
0.03788362815976143,
0.055346712470054626,
-0.03890465572476387,
-0.012199513614177704,
-0.015913939103484154,
0.03357066586613655,
0.006244989112019539,
0.07031004130840302,
-0.01910024881362915,
0.04217898100614548,
-0.08844207227230072,
-0.02311394177377224,
0.015949148684740067,
0.03550709784030914,
0.037425924092531204,
-0.055029839277267456,
0.061754535883665085,
0.03700343146920204,
0.05274133384227753,
-0.08583669364452362,
0.04665037617087364,
-0.06812715530395508,
0.02313154563307762,
-0.04897409304976463,
-0.04464353248476982,
0.020860640332102776,
-0.005646456032991409,
-0.03096528723835945,
-0.0006672984454780817,
0.026757951825857162,
0.00015307155263144523,
-0.002094866009429097,
-0.02622983418405056,
0.04672079160809517,
0.046298298984766006,
0.04415062069892883,
-0.05791688337922096,
0.00874914601445198,
0.013731054030358791,
0.016512472182512283,
-0.049502212554216385,
-0.0013555014738813043,
-0.03524303808808327,
0.02230416052043438,
0.0289408378303051,
0.016318829730153084,
0.00728802103549242,
0.06946504861116409,
-0.020050860941410065,
-0.004607825074344873,
0.09520197659730911,
-0.050523240119218826,
0.024891937151551247,
0.02360685169696808,
-0.045488517731428146,
0.01959315873682499,
0.04189731925725937,
-0.04154524207115173,
-0.018853794783353806,
0.0030960887670516968,
-0.020931055769324303,
0.07365478575229645,
0.05960685759782791,
-0.004244744312018156,
-0.021934479475021362,
-0.001150856027379632,
-0.0052503678016364574,
0.008700735867023468,
-0.07520392537117004,
0.03427482396364212,
0.04622788354754448,
0.026282645761966705,
0.037249885499477386,
-0.01498093269765377,
-0.03629927337169647,
-0.011592178605496883,
-0.03547189012169838,
-0.009831787087023258,
-0.010342300869524479,
0.001976039493456483,
0.033641085028648376,
-0.012401958927512169,
-0.00864352285861969,
-0.011108070611953735,
0.014039122499525547,
-0.002394132548943162,
-0.0011552569922059774,
-0.008392666466534138,
0.03460929915308952,
0.0014897313667461276,
0.06432470679283142,
0.018237655982375145,
-0.052706122398376465,
0.02902885712683201,
0.04393937438726425,
0.03538387268781662,
-0.02742690034210682,
0.12259367108345032,
0.0318806916475296,
-0.006852324120700359,
0.06689488142728806,
0.06798632442951202,
-0.015799514949321747,
0.01713741198182106,
0.0800626128911972,
0.0530582033097744,
0.005686064716428518,
-0.006060148123651743,
0.07062690705060959,
-0.03288411349058151,
0.01054474525153637,
-0.0039366758428514,
0.030824456363916397,
0.0430239699780941,
0.0012245724210515618,
0.05946602672338486,
0.019469931721687317,
0.017419075593352318,
-0.03207433596253395,
-0.05921957269310951,
-0.04802348092198372,
0.027620544657111168,
0.053938400000333786,
-0.009171640500426292,
-0.03589438274502754,
0.005232763942331076,
-0.015447435900568962,
0.03418680280447006,
0.0015062351012602448,
-0.03499658405780792,
0.022145725786685944,
-0.019029833376407623,
-0.07703473418951035,
-0.03295452892780304,
0.015289001166820526,
0.002369927242398262,
0.012085088528692722,
0.004709047731012106,
0.03524303808808327,
0.014787289313971996,
0.030401961877942085,
0.04070025309920311,
-0.00240073399618268,
-0.07499267905950546,
-0.029821032658219337,
0.02945135161280632,
-0.05485380068421364,
0.029081668704748154,
-0.0013929097913205624,
-0.0013345968909561634,
0.0051711504347622395,
-0.00914523471146822,
-0.014690468087792397,
0.009858192875981331,
0.002812225604429841,
0.032320789992809296,
-0.02221614122390747,
-0.08393546938896179,
0.009462105110287666,
0.03721467778086662,
-0.017401471734046936,
-0.07323229312896729,
0.01709340140223503,
0.024680690839886665,
-0.03890465572476387,
0.015218585729598999,
0.0031819078139960766,
-0.024170177057385445,
-0.027972621843218803,
-0.0508401095867157,
-0.02915208414196968,
0.012903670780360699,
-0.0437985435128212,
0.025490470230579376,
-0.026106607168912888,
0.018448904156684875,
-0.008379464037716389,
0.05126260221004486,
0.00788655411452055,
-0.03353545814752579,
0.0200156532227993,
0.019769197329878807,
-0.02943374775350094,
-0.022533012554049492,
-0.03929194062948227,
0.0076489015482366085,
0.04415062069892883,
0.028201473876833916,
0.0045022014528512955,
0.00715599162504077,
0.019029833376407623,
0.0408058762550354,
0.04221418872475624,
-0.010852813720703125,
-0.033218588680028915,
-0.019857216626405716,
-0.015605871565639973,
-0.019522743299603462,
0.020438145846128464,
0.002146577462553978,
-0.04513644054532051,
0.027374088764190674,
0.005012715235352516,
0.00753447599709034,
0.053515903651714325,
-0.01432078517973423,
-0.018343281000852585,
0.03519022837281227,
0.04422103613615036,
-0.00866552721709013,
0.03876382112503052,
-0.010623963549733162,
-0.06851444393396378,
-0.04422103613615036,
-0.007349635008722544,
0.04770661145448685,
-0.08858290314674377,
-0.07055649161338806,
-0.01890660636126995,
0.005536431446671486,
-0.0005699267494492233,
0.0018935211701318622,
-0.002471149666234851,
-0.034310031682252884,
-0.027514919638633728,
-0.01260440330952406,
0.0490093007683754,
0.039256732910871506,
-0.00020712107652798295,
-0.007072373293340206,
0.07992177456617355,
0.042460646480321884,
-0.12428364902734756,
0.011196090839803219,
-0.03538387268781662,
-0.03908069431781769,
0.05576920509338379,
0.03186308592557907,
-0.005135942250490189,
-0.01587873138487339,
0.017867974936962128,
0.028676778078079224,
0.024381423369050026,
-0.036545731127262115,
-0.02904646098613739,
0.011160883121192455,
0.0460166372358799,
-0.02432861179113388,
-0.02714523859322071,
-0.013211739249527454,
-0.03524303808808327,
0.04953742027282715,
0.0474601574242115,
0.06101517379283905,
0.001661369577050209,
0.05520588159561157,
-0.012542789801955223,
-0.001943032257258892,
-0.07147189974784851,
0.025965776294469833,
0.030278734862804413,
0.005725673865526915,
-0.037742797285318375,
-0.019557951018214226,
-0.027286069467663765,
-0.0006738998927175999,
-0.0018385089933872223,
0.025877756997942924,
0.06238827854394913,
0.034538883715867996,
0.02383570186793804,
-0.01377506460994482,
0.024240592494606972,
0.013757459819316864,
0.038939863443374634,
-0.029222499579191208,
0.023377999663352966,
0.012886065989732742,
-0.033324211835861206,
-0.0013511005090549588,
0.05907874181866646,
0.0474601574242115,
-0.017771152779459953,
-0.057036686688661575,
0.024645483121275902,
-0.027286069467663765,
-0.04200294241309166,
-0.032813698053359985,
-0.03145819902420044,
0.04492519423365593,
-0.005448412150144577,
-0.015200980938971043,
-0.02823668159544468,
0.012560393661260605,
-0.036369688808918,
-0.04876284673810005,
0.008115405216813087,
0.02835990861058235,
0.053304657340049744,
-0.02823668159544468,
-0.0023963330313563347,
0.021265530958771706,
-0.00688753230497241,
-0.06446553766727448,
0.010676775127649307,
-0.026652328670024872,
-0.027690960094332695,
-0.05203717574477196,
-0.030489983037114143,
0.06161370500922203,
-0.030102696269750595,
0.04101712256669998,
0.000043837877456098795,
0.01667090877890587,
0.06587385386228561,
0.07513350993394852,
0.00999902468174696,
0.021881667897105217,
-0.033605873584747314,
0.022533012554049492,
-0.03728509321808815,
-0.004814670886844397,
-0.01683814637362957,
-0.016961373388767242,
-0.014523230493068695,
-0.036228857934474945,
-0.03918631747364998,
0.02101907506585121,
-0.0593251958489418,
-0.09217410534620285,
-0.037742797285318375,
0.012692423537373543,
-0.06365575641393661,
-0.0005781786167062819,
-0.04383375123143196,
-0.011424941010773182,
-0.0314934067428112,
-0.022638635709881783,
0.03286651149392128,
-0.03163423761725426,
-0.00394767802208662,
0.01867775432765484,
0.012745235115289688,
-0.07865429669618607,
0.03085966408252716,
0.01055354718118906,
0.005875307135283947,
-0.02793741412460804,
-0.0008141811122186482,
0.06784549355506897,
0.04189731925725937,
-0.015482643619179726,
-0.03999609872698784,
-0.03540147468447685,
-0.03357066586613655,
-0.02341320738196373,
0.0000788050310802646,
0.019135456532239914,
-0.02885281853377819,
0.015306605026125908,
-0.00866552721709013,
0.041756488382816315,
0.011090466752648354,
0.02462787739932537,
-0.002988264663144946,
0.010236676782369614,
0.03302494436502457,
0.006737899035215378,
-0.029821032658219337,
0.012393156997859478,
0.06178974360227585,
-0.026194626465439796,
-0.005892910994589329,
0.004048900678753853,
-0.054818592965602875,
0.017577510327100754,
-0.11308755725622177,
-0.062071409076452255,
-0.0075124711729586124,
-0.003989487420767546,
-0.031123723834753036,
0.002175183966755867,
-0.022867485880851746,
0.036440104246139526,
-0.011891445145010948,
-0.005373595282435417,
-0.003974083811044693,
-0.01566748507320881,
-0.03233839198946953,
-0.017718341201543808,
0.028729591518640518,
-0.04922054708003998,
-0.0600997693836689,
0.010720784775912762,
-0.08985038846731186,
0.03922152519226074,
-0.02644108235836029,
-0.028993649408221245,
-0.03480294346809387,
-0.0538327731192112,
0.07830221951007843,
0.037144262343645096,
0.00925085786730051,
0.029187291860580444,
0.034838151186704636,
0.05531150475144386,
-0.010395112447440624,
-0.037425924092531204,
0.017832767218351364,
0.04298876225948334,
-0.025261620059609413,
0.05457213893532753,
0.03026113100349903,
0.05062886327505112,
-0.007943767122924328,
-0.018026409670710564,
0.017155015841126442,
-0.07907678931951523,
-0.00043872257811017334,
-0.014514428563416004,
-0.024645483121275902,
-0.03837653622031212,
0.02732127718627453,
-0.08175258338451385,
-0.031317368149757385,
-0.031035704538226128,
0.03540147468447685,
0.01867775432765484,
-0.004665037617087364,
-0.022392181679606438,
0.029785824939608574,
-0.00950611475855112,
-0.05981810763478279,
-0.013044501654803753,
-0.06122642010450363,
-0.066754050552845,
0.013238145038485527,
-0.06668363511562347,
-0.038728613406419754,
-0.009761371649801731,
0.014743279665708542,
0.0593251958489418,
0.006922740023583174,
-0.018008805811405182,
-0.03386993333697319,
0.03036675415933132,
0.0017482888652011752,
-0.02300831861793995,
-0.006311004050076008,
0.05467776209115982,
-0.006993155460804701,
-0.010139855556190014,
-0.03550709784030914,
0.0013973108725622296,
0.016591690480709076,
0.006975551601499319,
0.0026801961939781904,
0.019434724003076553,
0.028764799237251282,
-0.00821662787348032,
-0.0027264065574854612,
-0.026106607168912888,
-0.016001960262656212,
-0.034732524305582047,
-0.0382004976272583,
0.017040589824318886,
0.004293154925107956,
-0.016274821013212204,
0.014171152375638485,
0.040841083973646164,
-0.027620544657111168,
0.0043547688983380795,
-0.0017658928409218788,
0.04710808023810387,
0.040242552757263184,
0.0033799519296735525,
-0.010852813720703125,
-0.07009879499673843,
-0.05235404521226883,
0.01482249703258276,
0.03438044711947441,
0.028166266158223152,
-0.005377996247261763,
-0.04499560967087746,
0.026757951825857162,
-0.009840589016675949,
0.02080782875418663,
-0.060663092881441116,
-0.06150808185338974,
0.025807341560721397,
0.017850371077656746,
-0.04073546081781387,
-0.044889986515045166,
-0.025155995041131973,
0.06604988873004913,
-0.03554230555891991,
0.044784363359212875,
0.008282642811536789,
-0.08259757608175278,
-0.008163816295564175,
0.051016148179769516,
0.04411541298031807,
0.023483624681830406,
0.09097703546285629,
-0.009110026061534882,
0.029222499579191208,
0.06742300093173981,
-0.09168119728565216,
0.004977507051080465,
0.014162350445985794,
0.012129098176956177,
-0.0578816756606102,
-0.02953937090933323,
-0.028395116329193115,
-0.05967727303504944,
0.06090955063700676,
0.03957360237836838,
0.019575554877519608,
0.0314934067428112,
0.04661516845226288,
0.061648912727832794,
0.009488510899245739,
-0.06017018482089043,
0.03288411349058151,
-0.07140148431062698,
-0.06664842367172241,
0.005408803001046181,
0.04122837260365486,
0.019452327862381935,
-0.007675307337194681,
0.012313938699662685,
0.017322253435850143,
-0.028676778078079224,
-0.030419565737247467,
-0.004775062203407288,
-0.035313453525304794,
0.05464255437254906,
-0.016609294340014458,
-0.026300249621272087,
0.03334181755781174,
-0.00600733608007431,
-0.05207238346338272,
-0.0073276301845908165,
-0.04274230822920799,
-0.062353070825338364,
-0.0024051349610090256,
0.02290269546210766,
-0.013748657889664173,
-0.010791200213134289,
0.017603915184736252,
0.03395795449614525,
-0.004264548420906067,
-0.028571154922246933,
0.01807922124862671,
-0.009523718617856503,
-0.032725680619478226,
-0.0070195612497627735,
0.0056552579626441,
0.004365771077573299,
-0.030806852504611015,
0.04291834682226181,
0.021459173411130905,
-0.01664450205862522,
0.00007137838110793382,
0.03379951789975166,
-0.010386310517787933,
0.015843523666262627,
0.001014425652101636,
0.010632765479385853,
-0.049290966242551804,
-0.012129098176956177,
-0.032426413148641586,
-0.00693594291806221,
0.018871398642659187,
0.021564796566963196,
0.09358241409063339,
-0.034926168620586395,
0.00004566015559248626,
-0.01437359768897295,
-0.03721467778086662,
0.03865819796919823,
-0.043974582105875015,
0.003866259939968586,
-0.036933016031980515,
0.03992567956447601,
-0.02462787739932537,
-0.023272376507520676,
0.018730565905570984,
0.028711987659335136,
-0.011125674471259117,
0.02714523859322071,
-0.006187776569277048,
-0.01522738765925169,
0.03302494436502457,
-0.020666997879743576,
-0.026757951825857162,
0.018836190924048424,
0.0037474336568266153,
0.0441858284175396,
0.03034915030002594,
0.06013497710227966,
0.036440104246139526,
-0.002204890362918377,
0.007120783906430006,
-0.0022885091602802277,
-0.0912586972117424,
-0.015755504369735718,
-0.02633545733988285,
0.005157947540283203,
0.000011380656360415742,
-0.02050856128334999,
0.0014303181087598205,
0.03258484974503517,
0.03756675496697426,
-0.05981810763478279,
-0.053128618746995926,
-0.0029024456162005663,
0.032215166836977005,
0.0028144260868430138,
0.03577115759253502,
-0.018871398642659187,
-0.01626601815223694,
0.0004585270071402192,
0.011354525573551655,
0.010210270993411541,
0.036017611622810364,
-0.02119511552155018,
0.02543765865266323,
0.004722250625491142,
0.04943179711699486,
-0.0010996946366503835,
0.07520392537117004,
0.04767140373587608,
-0.036228857934474945,
0.024557461962103844,
-0.04298876225948334,
0.013845480047166348,
0.007807336747646332,
0.036651354283094406,
0.017172619700431824,
-0.0437985435128212,
0.004612226039171219,
0.03105330839753151,
-0.02522641234099865,
-0.0245046503841877,
0.011741812340915203,
-0.03263765946030617,
-0.012577997520565987,
-0.0015865529421716928,
-0.015350614674389362,
-0.06443033367395401,
0.014259171672165394,
-0.05559316650032997,
0.014901714399456978,
-0.01752469874918461,
-0.019223475828766823,
0.05034719780087471,
-0.025895360857248306,
-0.00915403664112091,
0.08034427464008331,
-0.007521273102611303,
0.016133988276124,
0.03367629274725914,
0.013026897795498371,
0.0385877825319767,
-0.0329897366464138,
0.020843036472797394,
0.014672864228487015,
-0.0315462164580822,
0.037848420441150665,
-0.022761862725019455,
-0.0009533620905131102,
0.10576432943344116,
-0.03156382218003273,
-0.02010367251932621,
0.023694870993494987,
0.0034635704942047596,
0.037742797285318375,
0.033605873584747314,
0.009488510899245739,
0.021054282784461975,
0.010632765479385853,
0.033729102462530136,
0.030701229348778725,
0.05858583375811577,
-0.028571154922246933,
-0.028113454580307007,
0.004297555889934301,
-0.023888513445854187,
0.0016932766884565353,
-0.04974866658449173,
-0.021335946395993233,
-0.039432771503925323,
0.013378975912928581,
-0.0028848417568951845,
0.013035699725151062,
0.025789735838770866,
0.02230416052043438,
-0.007750123739242554,
0.03679218515753746,
0.05013595148921013,
0.025455262511968613,
0.01722543127834797,
0.008982397615909576,
0.05238925293087959,
-0.022163329645991325,
-0.006997556425631046,
0.0017779954941943288,
0.07590808719396591,
-0.023976532742381096,
-0.028888026252388954,
0.013070907443761826,
-0.0014842301607131958,
-0.008097801357507706,
-0.0032237169798463583,
0.007670906372368336,
-0.0027022010181099176,
0.010773596353828907,
-0.04193252697587013,
0.01734865829348564,
-0.005395600106567144,
-0.028377512469887733,
-0.08372422307729721,
-0.04450269788503647,
0.0437985435128212,
-0.025895360857248306,
0.08435796201229095,
0.026353061199188232,
0.029768221080303192
] |
10,268 | collections | __or__ | Union is the maximum of value in either of the input counters.
>>> Counter('abbb') | Counter('bcc')
Counter({'b': 3, 'c': 2, 'a': 1})
| def __or__(self, other):
'''Union is the maximum of value in either of the input counters.
>>> Counter('abbb') | Counter('bcc')
Counter({'b': 3, 'c': 2, 'a': 1})
'''
if not isinstance(other, Counter):
return NotImplemented
result = Counter()
for elem, count in self.items():
other_count = other[elem]
newcount = other_count if count < other_count else count
if newcount > 0:
result[elem] = newcount
for elem, count in other.items():
if elem not in self and count > 0:
result[elem] = count
return result
| (self, other) | [
-0.012352335266768932,
-0.027786074206233025,
-0.0067505910992622375,
0.08328697830438614,
0.008175518363714218,
-0.017027877271175385,
-0.02026958577334881,
-0.025559626519680023,
0.05924133583903313,
-0.042640939354896545,
-0.026254277676343918,
0.03209647908806801,
0.013100421987473965,
-0.031526509672403336,
-0.01615510880947113,
0.02522120624780655,
-0.019735237583518028,
0.014267080463469028,
0.007552112452685833,
0.013287443667650223,
0.02744765393435955,
0.02311943843960762,
0.01609276793897152,
0.06700719147920609,
-0.016377754509449005,
0.03263082727789879,
-0.05186733976006508,
-0.029691914096474648,
-0.034875087440013885,
-0.003402013098821044,
-0.010918502695858479,
-0.04182160645723343,
-0.01253935694694519,
-0.023422235623002052,
0.043745256960392,
-0.02119578793644905,
0.009725126437842846,
0.1191951334476471,
-0.013608052395284176,
0.02516777068376541,
0.012619509361684322,
-0.07032014429569244,
-0.02668175660073757,
-0.029887842014431953,
0.0209820494055748,
-0.0008243424817919731,
0.03150869533419609,
0.014115681871771812,
0.058350756764411926,
-0.0571395680308342,
0.02021615020930767,
-0.035373810678720474,
-0.013830697163939476,
0.010784915648400784,
-0.02839166857302189,
0.0553584098815918,
0.013625863939523697,
0.07573486864566803,
-0.0696076825261116,
0.056035250425338745,
-0.05539403483271599,
0.0127174723893404,
-0.028498537838459015,
-0.02860540710389614,
0.0022431467659771442,
-0.024045642465353012,
-0.038579896092414856,
-0.0004102230886928737,
-0.0066214571706950665,
0.039114244282245636,
-0.030101580545306206,
0.0035333733540028334,
0.01766018755733967,
0.01852405071258545,
0.02949598617851734,
-0.0057353307493031025,
-0.009030474349856377,
0.011060995049774647,
0.05243730917572975,
-0.02999471127986908,
0.06209119036793709,
-0.05186733976006508,
0.023956583812832832,
-0.0009640521020628512,
0.056035250425338745,
0.00896368082612753,
-0.006122733000665903,
-0.024116888642311096,
0.00030001389677636325,
-0.04346027225255966,
-0.03498195484280586,
0.02124922350049019,
0.04427960515022278,
0.007240409962832928,
0.012405769899487495,
0.038758013397455215,
-0.08357196301221848,
0.006612551398575306,
-0.008024119772017002,
-0.011372697539627552,
0.0076367175206542015,
0.04716508090496063,
0.0033285401295870543,
-0.031526509672403336,
0.0287835244089365,
-0.009449047036468983,
0.011283639818429947,
-0.0236537866294384,
-0.021801382303237915,
0.0029723085463047028,
0.025060901418328285,
-0.019040586426854134,
0.009644974023103714,
0.0033174080308526754,
-0.01816781796514988,
0.01959274522960186,
0.0014560972340404987,
-0.039470475167036057,
0.029887842014431953,
0.03975545987486839,
-0.03672749176621437,
0.020786121487617493,
0.044030241668224335,
0.021765759214758873,
0.009190778248012066,
-0.03800992667675018,
0.013893037103116512,
0.011630966328084469,
-0.014480819925665855,
0.037653692066669464,
0.04495644569396973,
-0.03808117285370827,
-0.021302657201886177,
0.026539264246821404,
0.08321572840213776,
-0.015665290877223015,
0.028053248301148415,
0.03369951993227005,
-0.02614740841090679,
0.053042903542518616,
0.05200983211398125,
0.023867525160312653,
0.042997170239686966,
0.07288501411676407,
0.005174265708774328,
0.03624657914042473,
-0.0015729856677353382,
0.05927696079015732,
0.018381556496024132,
0.009867618791759014,
-0.02842729166150093,
0.0010831671534106135,
0.037297461181879044,
0.03736870735883713,
-0.00930655375123024,
0.014178022742271423,
-0.008874623104929924,
-0.05033554136753082,
-0.04769942909479141,
-0.022282294929027557,
0.0682896226644516,
0.014845957048237324,
-0.01698334701359272,
-0.02641458250582218,
0.013314160518348217,
-0.02691330760717392,
0.04271218553185463,
0.024847162887454033,
0.02427719160914421,
0.01296683494001627,
-0.0028342686127871275,
-0.053719744086265564,
0.01766018755733967,
-0.002306600334122777,
-0.019931165501475334,
0.024116888642311096,
-0.03275550901889801,
-0.014195834286510944,
0.006064845249056816,
-0.020465513691306114,
0.0540047287940979,
0.02311943843960762,
-0.04524143040180206,
-0.04531267657876015,
-0.0009629388805478811,
-0.04128725826740265,
0.05261542648077011,
0.006363189313560724,
0.02226448245346546,
0.011550813913345337,
0.01941462978720665,
-0.037867434322834015,
-0.006665986031293869,
-0.0116042485460639,
0.06319551169872284,
0.00044807270751334727,
-0.049694325774908066,
-0.011363792233169079,
0.017686905339360237,
0.0580301471054554,
-0.09076784551143646,
0.02668175660073757,
-0.00853620283305645,
0.01144394464790821,
0.043674010783433914,
0.01879122294485569,
0.030903102830052376,
0.013198385946452618,
-0.017535507678985596,
-0.08585184812545776,
0.039256736636161804,
-0.07559237629175186,
-0.012387958355247974,
0.02012709341943264,
0.00536574050784111,
0.03231021761894226,
0.035694420337677,
-0.021747946739196777,
-0.03968421369791031,
-0.00821114145219326,
0.06355173885822296,
-0.02459780126810074,
0.022460410371422768,
-0.019022773951292038,
0.022424787282943726,
0.019379006698727608,
-0.025915857404470444,
-0.008202235214412212,
0.011167864315211773,
0.04053917154669762,
0.0723150372505188,
0.022478222846984863,
0.010695857927203178,
-0.007605547551065683,
-0.023546917364001274,
-0.023849714547395706,
-0.009831995703279972,
0.0019893315620720387,
-0.022994758561253548,
-0.013225102797150612,
-0.016644926741719246,
-0.0032661997247487307,
0.04057479277253151,
0.004466255195438862,
-0.08093585073947906,
-0.050727397203445435,
0.009008210152387619,
-0.010384154506027699,
0.02208636701107025,
0.0397198386490345,
-0.038223665207624435,
-0.0348038412630558,
-0.023493481799960136,
-0.00936889462172985,
0.02860540710389614,
-0.044030241668224335,
-0.027821697294712067,
-0.04588264599442482,
0.019343383610248566,
0.00892360508441925,
0.0005666310898959637,
0.09960239380598068,
-0.008874623104929924,
-0.034518852829933167,
-0.048803746700286865,
-0.020162716507911682,
0.06287489831447601,
0.017535507678985596,
-0.04167911037802696,
0.05200983211398125,
-0.023244120180606842,
-0.10124105960130692,
0.03275550901889801,
-0.04146537184715271,
-0.07644733041524887,
0.020376455038785934,
0.04549079015851021,
-0.006590286735445261,
-0.0116042485460639,
0.010054640471935272,
0.018933717161417007,
0.05083426833152771,
-0.06127185747027397,
-0.042961545288562775,
-0.01090959645807743,
0.06640159338712692,
-0.01591465249657631,
-0.03182930499315262,
-0.028356045484542847,
-0.06444232165813446,
0.05966881290078163,
0.007213692646473646,
0.043745256960392,
0.03373514488339424,
-0.019396817311644554,
0.007115728687494993,
0.04310403764247894,
-0.05428971350193024,
0.06526165455579758,
0.012877777218818665,
-0.04249844700098038,
-0.04075291007757187,
0.0076723406091332436,
-0.008763300254940987,
0.008509485051035881,
-0.02821355313062668,
0.061164986342191696,
-0.015024073421955109,
0.009404517710208893,
0.05810139328241348,
-0.012735283933579922,
0.04484957456588745,
0.013581334613263607,
0.035694420337677,
-0.027964191511273384,
0.05610649660229683,
-0.012655132450163364,
0.012459204532206059,
-0.01455206610262394,
0.06127185747027397,
0.01722380332648754,
-0.0031281597912311554,
-0.04965870454907417,
-0.011194582097232342,
-0.036264389753341675,
-0.04249844700098038,
-0.04556203633546829,
-0.009386706165969372,
0.05026429519057274,
0.008442691527307034,
-0.0906253531575203,
-0.04677322506904602,
0.03343234583735466,
0.025541814044117928,
-0.03743995353579521,
-0.000989099615253508,
0.07206568121910095,
0.012013914994895458,
-0.01790064387023449,
0.0076010944321751595,
-0.0015050790971145034,
0.002814230741932988,
-0.05592838302254677,
0.019076209515333176,
0.0031281597912311554,
-0.04135850444436073,
-0.012245466001331806,
-0.00497833825647831,
0.05257980152964592,
-0.07438118755817413,
0.011586437001824379,
0.01991335302591324,
0.0166271161288023,
-0.004769052378833294,
0.04937371611595154,
0.005779859609901905,
0.003108121920377016,
0.014667841605842113,
0.02539932169020176,
-0.002696228912100196,
-0.01644900068640709,
-0.026307713240385056,
0.0029856672044843435,
-0.010348531417548656,
-0.05193858593702316,
0.035551927983760834,
-0.02477591671049595,
-0.02356472797691822,
-0.11634527891874313,
-0.07309874892234802,
0.02178356982767582,
-0.03800992667675018,
0.04919560253620148,
0.008300199173390865,
0.012557168491184711,
0.030226262286305428,
-0.062411800026893616,
0.03471478074789047,
-0.04167911037802696,
-0.04695134237408638,
0.009618256241083145,
0.01959274522960186,
-0.05158235505223274,
0.029959088191390038,
-0.0379386804997921,
0.04306841641664505,
-0.06657970696687698,
-0.03560535982251167,
0.05475281551480293,
0.10159728676080704,
-0.017954079434275627,
-0.02262071520090103,
-0.02347567118704319,
-0.03195398673415184,
-0.05471719428896904,
0.03191836178302765,
-0.02668175660073757,
-0.038758013397455215,
0.031526509672403336,
-0.042462822049856186,
0.05735330656170845,
-0.017526600509881973,
0.04167911037802696,
0.022602902725338936,
0.013964283280074596,
0.038045547902584076,
0.027910755947232246,
-0.03412700071930885,
-0.04520580545067787,
0.013510088436305523,
-0.0932614654302597,
-0.04716508090496063,
0.004809128120541573,
-0.012815436348319054,
-0.045098938047885895,
-0.08186205476522446,
0.016208544373512268,
-0.014142399653792381,
0.04495644569396973,
0.02066143974661827,
0.04623887687921524,
-0.00015988682571332902,
0.011239111423492432,
0.003874019952490926,
-0.011123335920274258,
-0.04075291007757187,
-0.012735283933579922,
-0.013153856620192528,
0.015692006796598434,
0.0005126397009007633,
-0.02347567118704319,
-0.01624416746199131,
0.02910413220524788,
-0.07224379479885101,
0.03102778270840645,
-0.014249268919229507,
-0.0018056496046483517,
0.024384060874581337,
0.025898046791553497,
0.029442552477121353,
0.046523865312337875,
0.0006668212590739131,
-0.012913400307297707,
0.044920820742845535,
0.028979450464248657,
-0.05279354378581047,
-0.015513891354203224,
0.038188040256500244,
-0.004938262514770031,
-0.009814184159040451,
0.05364849790930748,
-0.005103019531816244,
-0.017125841230154037,
0.014703464694321156,
0.049694325774908066,
0.01627088338136673,
-0.04317528381943703,
-0.008188877254724503,
0.01959274522960186,
-0.002958949888125062,
-0.015317964367568493,
0.01040196605026722,
0.009742937982082367,
0.03323642164468765,
-0.0865643098950386,
0.02089299075305462,
0.029300060123205185,
-0.027999814599752426,
0.002166334306821227,
0.06447794288396835,
0.006688250694423914,
-0.08008088916540146,
0.006363189313560724,
-0.04823377728462219,
-0.05628461390733719,
-0.009903241880238056,
0.009119532071053982,
-0.018862469121813774,
0.021837005391716957,
-0.0034287304151803255,
0.04980119690299034,
0.03346797078847885,
0.016671644523739815,
-0.042284704744815826,
0.02539932169020176,
-0.013091515749692917,
-0.013109327293932438,
-0.0007820399478077888,
0.027216104790568352,
0.05193858593702316,
0.03250614553689957,
-0.024740293622016907,
-0.04962307959794998,
0.01347446534782648,
0.01597699336707592,
0.008442691527307034,
0.02913975529372692,
-0.0014349459670484066,
-0.0182924997061491,
0.018016420304775238,
-0.00100579799618572,
-0.03029750846326351,
-0.04762818291783333,
-0.05681896209716797,
0.056747715920209885,
-0.011328169144690037,
0.0055082328617572784,
-0.01698334701359272,
0.042605314403772354,
0.00336861633695662,
-0.017731433734297752,
-0.053399134427309036,
0.020340831950306892,
0.0174019206315279,
0.006465605925768614,
-0.013884131796658039,
-0.007445243187248707,
-0.03271988406777382,
-0.019699614495038986,
-0.013982095755636692,
-0.009324365295469761,
0.019717426970601082,
-0.035551927983760834,
0.01582559384405613,
0.001237905235029757,
-0.03352140635251999,
-0.04467145726084709,
-0.06287489831447601,
0.00022570620058104396,
-0.010562270879745483,
-0.07673231512308121,
-0.05293603613972664,
-0.06155684217810631,
0.03850864991545677,
-0.027786074206233025,
0.04039667919278145,
-0.03507101535797119,
0.00273853144608438,
-0.015006261877715588,
0.017624564468860626,
0.05279354378581047,
0.0571395680308342,
0.08278825134038925,
-0.029086319729685783,
0.049338094890117645,
0.06597411632537842,
-0.08414193242788315,
-0.026610510423779488,
0.0249896552413702,
0.0007169163436628878,
-0.07972466200590134,
-0.01591465249657631,
-0.0017577809048816562,
0.012557168491184711,
-0.01408005878329277,
-0.00547706289216876,
-0.03293362259864807,
0.0006167261744849384,
0.06162808835506439,
0.03939922899007797,
0.03567660599946976,
-0.01888028159737587,
0.0042547425255179405,
-0.004292592406272888,
-0.043531518429517746,
-0.019361194223165512,
0.037689317017793655,
-0.020233962684869766,
-0.0015251170843839645,
0.06198431923985481,
0.006964330095797777,
0.003923001699149609,
-0.10323595255613327,
-0.019218701869249344,
-0.01582559384405613,
0.027198292315006256,
-0.028356045484542847,
0.015718724578619003,
0.02406345307826996,
0.012655132450163364,
-0.09853369742631912,
0.03811679407954216,
0.02119578793644905,
-0.08941416442394257,
0.05101238191127777,
0.010989748872816563,
-0.028587596490979195,
0.009965582750737667,
0.02397439442574978,
0.03129495680332184,
-0.0321321003139019,
-0.06885959208011627,
0.0031148011330515146,
-0.024295004084706306,
-0.01252154540270567,
0.0423915758728981,
-0.026931118220090866,
0.02208636701107025,
-0.014694558456540108,
0.026717379689216614,
0.02285226620733738,
-0.013073704205453396,
-0.034572288393974304,
-0.006051486358046532,
0.029691914096474648,
0.016377754509449005,
-0.01280653104186058,
0.056747715920209885,
0.014498631469905376,
-0.02338661253452301,
-0.005267776548862457,
0.041180387139320374,
0.015211095102131367,
0.042462822049856186,
0.054467830806970596,
-0.03761807084083557,
-0.015291246585547924,
-0.034750405699014664,
-0.024348437786102295,
0.03250614553689957,
-0.03567660599946976,
0.034483231604099274,
-0.012218748219311237,
0.017170369625091553,
-0.05297165736556053,
-0.008353633806109428,
0.009867618791759014,
0.038401778787374496,
0.04004044458270073,
0.052508555352687836,
-0.0021307109855115414,
-0.032880187034606934,
0.09262024611234665,
-0.030012523755431175,
-0.04185722768306732,
-0.011408320628106594,
0.01648462377488613,
0.04538392275571823,
0.013527899980545044,
0.028445104137063026,
0.004116702824831009,
0.023760655894875526,
0.0021273712627589703,
0.003822811646386981,
-0.06216243654489517,
-0.015567326918244362,
-0.011105524376034737,
0.022193236276507378,
-0.01499735563993454,
-0.011435038410127163,
-0.0033953336533159018,
-0.011345980688929558,
0.06390797346830368,
-0.050727397203445435,
-0.06497666984796524,
-0.049338094890117645,
0.07566361874341965,
-0.03540943190455437,
0.023671599105000496,
0.009172966703772545,
-0.0047556934878230095,
-0.011702212505042553,
0.05770954117178917,
0.01155971921980381,
0.03580128774046898,
-0.00912843830883503,
0.01347446534782648,
-0.00870096031576395,
0.035551927983760834,
0.030137203633785248,
0.08065086603164673,
0.008033025078475475,
-0.014097870327532291,
0.006536852102726698,
-0.035908158868551254,
-0.011933762580156326,
0.0008198895957320929,
0.019628368318080902,
0.0102683799341321,
-0.071388840675354,
0.038758013397455215,
0.01680523157119751,
-0.025541814044117928,
-0.06718530505895615,
0.0014293798012658954,
0.008135441690683365,
-0.026984553784132004,
0.013670392334461212,
0.018595296889543533,
-0.08022338151931763,
0.02522120624780655,
-0.07787225395441055,
0.009707314893603325,
-0.04346027225255966,
-0.07730228453874588,
0.05774516239762306,
-0.038401778787374496,
-0.03355702757835388,
0.05104800686240196,
0.001119346939958632,
0.04135850444436073,
0.013973189517855644,
0.029424740001559258,
-0.026218654587864876,
-0.0379386804997921,
0.02226448245346546,
-0.013536805287003517,
-0.03168681263923645,
0.10872192680835724,
-0.03138401359319687,
-0.010597893968224525,
0.08991289138793945,
-0.03815241903066635,
-0.013732733204960823,
0.025541814044117928,
-0.005325664300471544,
-0.01792736165225506,
0.07146008312702179,
-0.00021095597185194492,
0.04203534498810768,
-0.027518900111317635,
0.05792327970266342,
0.04217783734202385,
0.01847061514854431,
0.0012423581210896373,
0.01301136426627636,
0.04812690615653992,
-0.013884131796658039,
-0.035106636583805084,
-0.01896934024989605,
-0.021623264998197556,
-0.022460410371422768,
-0.024170322343707085,
-0.05154673010110855,
-0.0166271161288023,
0.02976316027343273,
-0.0018023098818957806,
-0.014053341932594776,
0.051796093583106995,
0.035373810678720474,
-0.015478268265724182,
0.003580128774046898,
0.008456050418317318,
0.058493249118328094,
-0.03986233100295067,
-0.058137018233537674,
0.008380351588129997,
0.044920820742845535,
-0.05168922245502472,
0.001331416075117886,
-0.00794396735727787,
0.013171668164432049,
0.02199730835855007,
-0.015870124101638794,
0.039969198405742645,
0.023582540452480316,
-0.0018379330867901444,
-0.02169451303780079,
-0.0035044297110289335,
-0.016823044046759605,
-0.0057754069566726685,
-0.04253406822681427,
0.02000241167843342,
-0.02771482802927494,
-0.0004508557904046029,
0.04167911037802696,
0.0005421401583589613,
0.026129597797989845
] |
10,269 | collections | __pos__ | Adds an empty counter, effectively stripping negative and zero counts | def __pos__(self):
'Adds an empty counter, effectively stripping negative and zero counts'
result = Counter()
for elem, count in self.items():
if count > 0:
result[elem] = count
return result
| (self) | [
-0.010650627315044403,
-0.01773662492632866,
-0.022391408681869507,
0.015452493913471699,
0.0515659935772419,
0.019778501242399216,
-0.022720184177160263,
-0.007254712283611298,
0.08721228688955307,
-0.04467899352312088,
-0.08146734535694122,
0.023602690547704697,
0.03554246574640274,
-0.03585394099354744,
-0.012900150381028652,
0.019588155671954155,
0.028136344626545906,
0.0070773460902273655,
-0.019120946526527405,
0.0018353081541135907,
0.044782817363739014,
0.012216641567647457,
0.04623635485768318,
0.07565319538116455,
-0.0397646501660347,
0.017053116112947464,
-0.01707042008638382,
-0.04125279560685158,
0.02218375913798809,
-0.04675547406077385,
-0.04762067645788193,
0.007336906623095274,
-0.022720184177160263,
-0.01979580521583557,
0.016490735113620758,
-0.02678663097321987,
-0.004351962357759476,
0.027703743427991867,
-0.012026296928524971,
0.04492124915122986,
0.061809975653886795,
-0.010278590954840183,
-0.053884733468294144,
-0.02910536900162697,
0.02280670404434204,
0.02815364859998226,
0.08714307099580765,
0.009612386114895344,
0.05284649133682251,
-0.07281533628702164,
-0.018895994871854782,
0.019224772229790688,
0.03003978729248047,
0.018255745992064476,
-0.036857571452856064,
0.02156081423163414,
0.03879562392830849,
0.01854991540312767,
-0.06229449063539505,
0.0732998475432396,
-0.06156772002577782,
0.04121818765997887,
-0.022235671058297157,
-0.026890454813838005,
0.030749252066016197,
-0.01854991540312767,
-0.010944795794785023,
0.008444364182651043,
0.032981470227241516,
0.002034304430708289,
0.009543169289827347,
-0.03426196798682213,
0.03417544811964035,
0.04367535933852196,
0.03606158867478371,
-0.03422736003994942,
0.013774003833532333,
0.03187401220202446,
0.06572068482637405,
-0.048139795660972595,
0.008076653815805912,
-0.018255745992064476,
0.003097420558333397,
0.03093959577381611,
0.03585394099354744,
0.055442094802856445,
0.04011072963476181,
0.019622763618826866,
-0.009101917035877705,
0.09835607558488846,
-0.005299357697367668,
0.05751857906579971,
0.03275651857256889,
-0.03896866366267204,
0.008794770576059818,
0.02382764220237732,
-0.029261106625199318,
-0.022131847217679024,
0.022408712655305862,
0.012311813421547413,
0.00702110817655921,
0.06873158365488052,
-0.029416842386126518,
-0.030593516305088997,
-0.05201589688658714,
-0.014068172313272953,
0.018532611429691315,
-0.06139468029141426,
0.04191034659743309,
0.06011418253183365,
0.04564801603555679,
-0.0020018594805151224,
0.003506228094920516,
-0.019536243751645088,
0.004170270171016455,
-0.030420474708080292,
-0.007726246956735849,
-0.032825734466314316,
0.0037052242550998926,
0.043260060250759125,
-0.004390896297991276,
-0.008383800275623798,
0.008543862029910088,
0.0037484844215214252,
0.016845468431711197,
-0.04370996728539467,
-0.024346763268113136,
0.04841666296124458,
0.032237399369478226,
0.01780584082007408,
0.054542284458875656,
-0.05478454381227493,
0.03678835555911064,
0.01025263499468565,
0.02476205863058567,
-0.02420833148062229,
0.10237061232328415,
0.012467550113797188,
-0.07669144123792648,
0.05827995389699936,
0.05564974248409271,
-0.028759289532899857,
-0.005446441937237978,
0.06980443745851517,
0.03585394099354744,
0.013471183367073536,
-0.0149160698056221,
0.0732998475432396,
-0.04305241256952286,
0.0006840497371740639,
-0.004581240471452475,
-0.007375840563327074,
0.03869180008769035,
0.01929398812353611,
0.010218027047812939,
-0.012995322234928608,
0.01722615584731102,
-0.04436751827597618,
-0.01353174727410078,
-0.03211627155542374,
0.04869352653622627,
0.011628304608166218,
0.014396948739886284,
-0.02839590422809124,
-0.007492642849683762,
0.03606158867478371,
-0.02370651438832283,
-0.011195704340934753,
-0.027876783162355423,
0.004386570304632187,
0.007220104336738586,
-0.0410105399787426,
-0.0074407304637134075,
0.007237408310174942,
-0.007341232616454363,
0.02348156087100506,
-0.03273921459913254,
0.04741302877664566,
0.02936493046581745,
0.007734898943454027,
0.04094132408499718,
-0.0017163429874926805,
-0.06371341645717621,
-0.0444367341697216,
0.024935100227594376,
-0.03256617486476898,
0.05232737213373184,
0.001186407171189785,
0.006956217810511589,
0.022408712655305862,
0.005333965644240379,
0.006930261850357056,
0.01357500720769167,
-0.0004547713906504214,
0.045094288885593414,
-0.01632634736597538,
-0.06142928823828697,
-0.002084053587168455,
0.0036511493381112814,
-0.00676587363705039,
-0.09247270971536636,
-0.00045666404184885323,
0.024987012147903442,
-0.01419795211404562,
0.008297279477119446,
0.037203654646873474,
-0.021889591589570045,
0.008621729910373688,
-0.0767606571316719,
-0.02522926777601242,
-0.015002589672803879,
-0.060010358691215515,
0.007319602649658918,
-0.024831276386976242,
-0.0024636604357510805,
-0.012502158060669899,
0.04377918317914009,
-0.0010041742352768779,
-0.023775730282068253,
0.004624500405043364,
0.031233765184879303,
-0.01078040711581707,
-0.02031492441892624,
-0.04976637661457062,
-0.00008922387496568263,
0.02671741507947445,
0.000689457228872925,
-0.012934758327901363,
-0.014933373779058456,
-0.0027253839652985334,
0.03983386605978012,
0.024277547374367714,
-0.020332228392362595,
-0.02426024340093136,
-0.02112821489572525,
-0.03706522285938263,
-0.010927491821348667,
0.01283093448728323,
-0.00661878939718008,
-0.057276323437690735,
0.014578640460968018,
-0.003752810414880514,
0.027167318388819695,
0.05706867203116417,
-0.05077000707387924,
0.0052301413379609585,
0.004970581270754337,
0.042014170438051224,
0.012900150381028652,
0.04367535933852196,
-0.030558908358216286,
-0.05340022221207619,
-0.03467726707458496,
-0.03140680491924286,
0.06222527474164963,
-0.07447652518749237,
-0.08070597052574158,
0.016110047698020935,
-0.025246571749448776,
-0.015340018086135387,
-0.01412008423358202,
0.01780584082007408,
-0.014405600726604462,
-0.016386911273002625,
-0.01870565116405487,
0.044229086488485336,
0.058452997356653214,
0.017996186390519142,
-0.03159714862704277,
0.08029067516326904,
-0.021353166550397873,
-0.09738705307245255,
0.03178749233484268,
-0.03716904670000076,
-0.025471525266766548,
0.03407162427902222,
0.021353166550397873,
0.002113254042342305,
-0.002909239148721099,
0.03606158867478371,
0.03575011342763901,
0.039660826325416565,
-0.03682296350598335,
-0.023325825110077858,
0.02495240420103073,
0.03824189305305481,
-0.02019379660487175,
0.003687920281663537,
-0.038068853318691254,
-0.06533999741077423,
0.011135140433907509,
0.03358711302280426,
0.03242774307727814,
0.007276342250406742,
0.06170615181326866,
-0.009603734128177166,
0.003741995431482792,
-0.04080289229750633,
-0.0026626568287611008,
0.0369613952934742,
-0.02753070369362831,
-0.03542133793234825,
-0.053884733468294144,
-0.01582453027367592,
0.017788536846637726,
0.023654602468013763,
0.021076302975416183,
0.05921437218785286,
0.04312162846326828,
0.0027253839652985334,
-0.0378958135843277,
0.041148971766233444,
0.02964179404079914,
0.03479839488863945,
-0.016707036644220352,
0.014249864034354687,
-0.01948433183133602,
-0.020712917670607567,
0.004728324711322784,
0.06918149441480637,
0.031216461211442947,
-0.0097075579687953,
-0.06385184824466705,
-0.020574485883116722,
-0.04426369443535805,
-0.02292783372104168,
-0.00005231763861957006,
-0.04111436381936073,
0.02933032251894474,
-0.01058141142129898,
-0.02936493046581745,
-0.05942201986908913,
-0.03370824083685875,
-0.0019358877325430512,
-0.056618768721818924,
-0.009768121875822544,
0.019467027857899666,
0.031302981078624725,
-0.028603553771972656,
-0.009344173595309258,
0.011481220833957195,
-0.00919708888977766,
-0.056099649518728256,
0.028534336015582085,
0.0010669012553989887,
-0.05675720050930977,
-0.024502499029040337,
-0.021456990391016006,
0.07101571559906006,
-0.02410450577735901,
0.031337589025497437,
-0.011844605207443237,
0.026423245668411255,
0.04744763672351837,
0.11579853296279907,
-0.010564107447862625,
0.03941856697201729,
-0.022547144442796707,
0.028949633240699768,
0.006428445223718882,
-0.003095257328823209,
0.020107276737689972,
-0.01605813577771187,
-0.019830413162708282,
-0.022945137694478035,
-0.027599919587373734,
0.010460282675921917,
-0.036303844302892685,
-0.08693542331457138,
-0.03959161043167114,
-0.0015378951793536544,
-0.05492297559976578,
-0.023464256897568703,
-0.05914515629410744,
0.009396085515618324,
-0.014111432246863842,
-0.013808611780405045,
0.028343992307782173,
-0.02870737761259079,
-0.04499046504497528,
0.00522581534460187,
0.0070340861566364765,
-0.06703579425811768,
0.03744591027498245,
-0.017520325258374214,
0.027201926335692406,
-0.023619994521141052,
-0.003402403788641095,
0.04921264573931694,
0.05554591864347458,
-0.01879217103123665,
-0.020574485883116722,
-0.04779371619224548,
-0.03924552723765373,
-0.018636435270309448,
0.028257472440600395,
0.020885957404971123,
-0.04097593203186989,
0.002576136728748679,
-0.00021968000510241836,
0.08444364368915558,
-0.04789754003286362,
0.04467899352312088,
0.003525695065036416,
-0.0002836237836163491,
0.009794077835977077,
-0.003722528228536248,
-0.07253847271203995,
0.01183595322072506,
0.044817425310611725,
-0.040906716138124466,
-0.02476205863058567,
0.026111774146556854,
-0.05246580392122269,
0.007527250796556473,
-0.11178400367498398,
-0.012735762633383274,
-0.003145006485283375,
0.007081672083586454,
-0.025592653080821037,
-0.011922473087906837,
-0.014275820925831795,
0.025956036522984505,
0.05672259256243706,
-0.006346250884234905,
0.0014470490859821439,
-0.03215087950229645,
-0.022997049614787102,
0.00013856738223694265,
0.013064539059996605,
-0.04249868541955948,
-0.07136179506778717,
0.006285686977207661,
-0.07475338876247406,
0.01412008423358202,
-0.01882677897810936,
-0.004819171037524939,
-0.033292945474386215,
-0.0553036630153656,
0.07911400496959686,
0.030057091265916824,
0.017511673271656036,
0.04429830238223076,
0.060840949416160583,
0.08029067516326904,
0.014907417818903923,
-0.046928513795137405,
0.004114031791687012,
0.02000345289707184,
-0.01357500720769167,
0.03799963742494583,
0.01991693302989006,
0.012917454354465008,
0.005169577430933714,
-0.0008441119571216404,
0.016732992604374886,
-0.10825397819280624,
-0.0007624585996381938,
0.004111868795007467,
-0.03026473894715309,
-0.009525865316390991,
0.054230812937021255,
-0.07779889553785324,
-0.004966255277395248,
-0.053884733468294144,
0.012008992955088615,
-0.006956217810511589,
0.002634537871927023,
-0.03197783604264259,
0.04433291032910347,
0.009612386114895344,
-0.048762742429971695,
-0.016334999352693558,
-0.09240349382162094,
-0.04436751827597618,
-0.003949643578380346,
-0.042983196675777435,
-0.0298321396112442,
0.025246571749448776,
0.032202791422605515,
0.05070079118013382,
0.033327553421258926,
-0.026042558252811432,
-0.04561340808868408,
0.019224772229790688,
0.03152793273329735,
-0.015556318685412407,
-0.029313018545508385,
0.042394861578941345,
0.015789922326803207,
-0.0004820793110411614,
-0.02687315084040165,
-0.029555274173617363,
-0.007220104336738586,
0.012173381634056568,
0.026215597987174988,
0.07143101096153259,
0.01858452335000038,
-0.024398675188422203,
-0.020280316472053528,
-0.006277034990489483,
-0.01003633439540863,
-0.0195708516985178,
-0.03299877420067787,
0.004672086797654629,
-0.03301607817411423,
-0.016655124723911285,
-0.005117665510624647,
0.03144141286611557,
-0.03542133793234825,
0.01548710186034441,
-0.01648208312690258,
0.02304896153509617,
0.024813972413539886,
0.00795119907706976,
0.0016038668109104037,
-0.053019531071186066,
-0.07170788198709488,
-0.025869516655802727,
0.009621038101613522,
-0.009352825582027435,
0.01495932973921299,
-0.015720706433057785,
0.006315968930721283,
-0.03433118388056755,
0.06783177703619003,
-0.03959161043167114,
-0.055165231227874756,
0.02214915119111538,
0.030489692464470863,
-0.04807057976722717,
-0.03948778286576271,
-0.04730920493602753,
0.06132546439766884,
0.007925243116915226,
0.01558227464556694,
0.056099649518728256,
-0.08430521190166473,
0.008989441208541393,
0.07295376807451248,
0.056653376668691635,
0.007799789309501648,
0.07087728381156921,
-0.06039104610681534,
0.016732992604374886,
0.08735071867704391,
-0.05385012552142143,
-0.025160051882267,
-0.008444364182651043,
-0.021491598337888718,
-0.058176130056381226,
-0.05080461502075195,
-0.01898251473903656,
-0.060910169035196304,
0.060010358691215515,
0.038068853318691254,
0.003672779304906726,
-0.003233689581975341,
0.056687984615564346,
0.05430002883076668,
0.0262502059340477,
-0.035127170383930206,
0.004689390771090984,
-0.04768989235162735,
-0.0773836001753807,
-0.004064282868057489,
-0.0004101594677194953,
-0.0126578938215971,
-0.005528635811060667,
0.04858970269560814,
0.020609093829989433,
-0.041148971766233444,
-0.07523790001869202,
-0.011723476462066174,
-0.04578644782304764,
0.007804115302860737,
-0.04370996728539467,
-0.010278590954840183,
0.045717231929302216,
-0.013799959793686867,
-0.0444367341697216,
0.029555274173617363,
-0.019899629056453705,
-0.08319775015115738,
0.031026115640997887,
0.009932510554790497,
-0.028049824759364128,
-0.004602870438247919,
0.0071768444031476974,
0.004096727818250656,
-0.016897380352020264,
-0.02827477641403675,
0.006640419363975525,
-0.02323930524289608,
-0.018636435270309448,
0.013626919128000736,
0.007068694103509188,
-0.0056497640907764435,
-0.019276684150099754,
0.022287584841251373,
0.021474294364452362,
0.04281015694141388,
-0.061221640557050705,
0.04976637661457062,
0.005943932570517063,
-0.004369266331195831,
0.011507176794111729,
0.0661705881357193,
-0.013246230781078339,
-0.00833621434867382,
-0.03386397659778595,
0.005247445311397314,
0.010148810222744942,
0.02367190644145012,
0.03393319249153137,
-0.04893578216433525,
0.0020808090921491385,
-0.016542647033929825,
-0.01867104321718216,
0.05322717875242233,
-0.04402143880724907,
-0.0004945165710523725,
-0.03244504705071449,
0.026423245668411255,
-0.00916248094290495,
-0.027098102495074272,
0.01811731420457363,
0.008885616436600685,
0.03209896758198738,
0.03348328918218613,
0.01007959432899952,
0.0055156578309834,
0.027323056012392044,
-0.04682468995451927,
-0.03737669438123703,
0.02991865947842598,
-0.04274094104766846,
0.03737669438123703,
0.03578472509980202,
0.05474993586540222,
0.008176151663064957,
0.016776252537965775,
0.022131847217679024,
-0.0019164207624271512,
-0.06502852588891983,
-0.028811201453208923,
0.0027578289154917,
0.00995846651494503,
0.01644747518002987,
-0.011809997260570526,
0.0003723069094121456,
-0.002023489447310567,
0.057587794959545135,
-0.029970571398735046,
-0.050527751445770264,
0.007916591130197048,
0.021110910922288895,
-0.021041695028543472,
0.007687313016504049,
-0.026025252416729927,
-0.0136701799929142,
-0.010866927914321423,
0.01312510296702385,
-0.0013497138861566782,
0.036269236356019974,
-0.006199167110025883,
0.04004151374101639,
0.012856890447437763,
0.03175288438796997,
0.008132891729474068,
0.05886829271912575,
0.05225815623998642,
-0.03265269473195076,
0.005853086244314909,
-0.04717077314853668,
0.003534347051754594,
0.011775389313697815,
0.05827995389699936,
0.021578118205070496,
-0.03547324985265732,
0.015763966366648674,
0.025592653080821037,
-0.026336725801229477,
-0.04547497630119324,
0.01169752050191164,
-0.0002372543967794627,
-0.012034948915243149,
-0.035715505480766296,
0.006173210684210062,
-0.05295031517744064,
0.01901712268590927,
-0.053365614265203476,
0.04547497630119324,
0.0020808090921491385,
-0.04384839907288551,
0.06270978599786758,
-0.03355250507593155,
0.0021154170390218496,
0.06066790968179703,
-0.03365632891654968,
0.03592315688729286,
0.06686275452375412,
0.004581240471452475,
0.025990644469857216,
-0.036303844302892685,
0.015495753847062588,
0.0036554753314703703,
-0.013021279126405716,
0.022252975031733513,
0.004419015254825354,
-0.015928354114294052,
0.11171478778123856,
-0.058176130056381226,
-0.03019552305340767,
0.004139987751841545,
0.0050917090848088264,
0.061221640557050705,
0.03211627155542374,
0.004646130837500095,
0.031302981078624725,
0.024156419560313225,
0.06174075976014137,
-0.005619482137262821,
0.07087728381156921,
-0.016629168763756752,
-0.004698042757809162,
-0.0023273914121091366,
-0.026388637721538544,
-0.015166977420449257,
-0.047862932085990906,
-0.01407682429999113,
-0.055165231227874756,
-0.029814835637807846,
-0.024710146710276604,
0.019813109189271927,
0.00853521004319191,
0.031043419614434242,
0.005485375877469778,
0.021578118205070496,
0.027167318388819695,
0.015945658087730408,
0.007029760163277388,
0.014405600726604462,
0.06734726577997208,
-0.02062639780342579,
-0.05319257080554962,
0.05492297559976578,
0.07385357469320297,
-0.04803597182035446,
0.014154692180454731,
0.001496798126026988,
0.019190164282917976,
0.0138259157538414,
-0.00005887424049433321,
-0.01213012170046568,
0.014431556686758995,
0.005779544357210398,
-0.027444183826446533,
0.03280843049287796,
-0.00001728712595649995,
-0.02000345289707184,
-0.09904823452234268,
-0.03268730267882347,
0.05135834589600563,
-0.025021620094776154,
0.0922650620341301,
0.03713443875312805,
0.03716904670000076
] |
10,270 | collections | __reduce__ | null | def __reduce__(self):
return self.__class__, (dict(self),)
| (self) | [
-0.0037242542020976543,
-0.037316031754016876,
0.018243009224534035,
-0.014274505898356438,
-0.02592063508927822,
-0.014750035479664803,
-0.010746948421001434,
-0.04150068387389183,
0.06519065797328949,
-0.03192094340920448,
0.030658630654215813,
0.07165785133838654,
0.03904522582888603,
0.022047238424420357,
0.02126910164952278,
-0.0007349079824052751,
-0.005844679661095142,
0.0319555290043354,
0.0186753086745739,
0.04215778037905693,
0.029448194429278374,
-0.009432760067284107,
0.02780545875430107,
0.03524099662899971,
0.0016200396930798888,
0.037661872804164886,
0.007478769402951002,
-0.023568930104374886,
0.020802218466997147,
-0.02282537706196308,
-0.04122401401400566,
0.0032919554505497217,
-0.003884204663336277,
-0.009856412187218666,
0.01562327891588211,
-0.014430133625864983,
-0.03714311122894287,
0.07656875997781754,
-0.037246864289045334,
-0.015830781310796738,
0.015069936402142048,
-0.05744386464357376,
-0.1074867770075798,
-0.044786155223846436,
0.02522895857691765,
-0.024571863934397697,
0.05993390455842018,
0.00040717143565416336,
0.037281449884176254,
-0.0848689004778862,
0.019228650256991386,
0.015113165602087975,
0.011568316258490086,
0.04160443693399429,
-0.0373506173491478,
0.024502696469426155,
0.0023257676512002945,
0.01545035932213068,
-0.04022108018398285,
0.06494857370853424,
-0.03769645467400551,
0.05201419070363045,
0.05000832676887512,
0.008922647684812546,
-0.03468765690922737,
-0.040048159658908844,
-0.09565907716751099,
0.01218217983841896,
-0.021978070959448814,
0.05516132712364197,
-0.01966094970703125,
-0.03250886872410774,
-0.005680406000465155,
0.016453292220830917,
0.0037285771686583757,
-0.008779988624155521,
-0.044474899768829346,
-0.021614940837025642,
0.09641992300748825,
-0.028583597391843796,
-0.020335335284471512,
-0.007578197866678238,
-0.10292169451713562,
-0.005542070604860783,
0.01836405321955681,
-0.02151118777692318,
-0.009346299804747105,
-0.02372455783188343,
-0.07463206350803375,
-0.007790024392306805,
-0.06238936260342598,
0.05893097072839737,
-0.028497137129306793,
0.048244547098875046,
-0.020058663561940193,
0.019903035834431648,
-0.039183564484119415,
-0.002541916910558939,
-0.009259840473532677,
0.009009107016026974,
0.021701399236917496,
-0.012242701835930347,
-0.05654468387365341,
-0.04986998811364174,
-0.012588541023433208,
-0.036624353379011154,
0.011248414404690266,
-0.025090621784329414,
-0.004087385255843401,
0.030105289071798325,
0.024174148216843605,
0.0008997218683362007,
-0.04329904913902283,
0.05744386464357376,
-0.016946112737059593,
-0.0033827382139861584,
-0.03624393045902252,
-0.023551639169454575,
0.009744014590978622,
0.0029547621961683035,
-0.027909209951758385,
0.022375786677002907,
-0.033529095351696014,
0.043575718998909,
-0.0014568469487130642,
0.0037156082689762115,
0.022375786677002907,
-0.020992429926991463,
0.058204710483551025,
-0.0044310628436505795,
0.021891610696911812,
-0.006605525501072407,
-0.04713786020874977,
-0.018951978534460068,
0.030520295724272728,
0.005118417553603649,
0.03648601844906807,
-0.003488651243969798,
0.004725025966763496,
0.07608459144830704,
0.0362093485891819,
0.019885744899511337,
0.022998295724391937,
0.0393218994140625,
-0.02403581328690052,
-0.042884040623903275,
0.0325261615216732,
0.113711878657341,
-0.009709430858492851,
0.019488029181957245,
-0.005641499534249306,
0.029465485364198685,
0.044163644313812256,
0.060037657618522644,
-0.01774154230952263,
0.002965569728985429,
-0.030105289071798325,
-0.024848535656929016,
0.0003915005945600569,
-0.06079850345849991,
0.009916934184730053,
-0.017983630299568176,
0.017594560980796814,
-0.03148864582180977,
0.018554264679551125,
0.017222784459590912,
0.027546079829335213,
-0.04803704097867012,
0.00003100392859778367,
-0.026923568919301033,
-0.013833561912178993,
-0.07304120808839798,
-0.0012644740054383874,
0.045408666133880615,
-0.07829795777797699,
0.07283370196819305,
-0.025090621784329414,
0.03558683767914772,
-0.019522612914443016,
0.0057884808629751205,
0.033840350806713104,
-0.04533949866890907,
-0.06411855667829514,
-0.002077195793390274,
0.05502299219369888,
-0.019747409969568253,
0.028012963011860847,
-0.006281301379203796,
0.02147660404443741,
0.006960010621696711,
-0.020473670214414597,
-0.029551945626735687,
-0.011585608124732971,
-0.0039058197289705276,
0.0002423575206194073,
0.0014708966482430696,
-0.06315021216869354,
0.015009414404630661,
0.003441098378971219,
0.07089700549840927,
-0.11405771225690842,
0.016116099432110786,
-0.002982861828058958,
0.01713632419705391,
0.014136170968413353,
0.014983476139605045,
-0.007128607016056776,
-0.018640724942088127,
-0.02251412160694599,
0.0007808397058397532,
0.017412995919585228,
0.0020782765932381153,
-0.006873550824820995,
0.017534039914608,
0.03159239515662193,
-0.0579972080886364,
0.07933547347784042,
-0.0036983161699026823,
-0.011136016808450222,
0.0032379180192947388,
0.03624393045902252,
-0.03773104026913643,
0.03306221216917038,
-0.009994748048484325,
0.013522306457161903,
-0.0657094195485115,
-0.034895159304142,
-0.05339754745364189,
-0.019833868369460106,
-0.03804229572415352,
0.011481855995953083,
-0.060106825083494186,
0.007928360253572464,
-0.016894236207008362,
0.0003682645328808576,
0.023274967446923256,
0.022877251729369164,
-0.04741453379392624,
-0.02310204692184925,
0.005287014413625002,
0.017300598323345184,
0.014170754700899124,
0.017084447667002678,
0.020681174471974373,
0.024450819939374924,
-0.013539598323404789,
0.06792278587818146,
0.07739877700805664,
-0.006570941768586636,
0.00814018677920103,
0.013185113668441772,
0.032318659126758575,
0.0014979153638705611,
-0.008870771154761314,
0.007746794261038303,
-0.00724965101107955,
0.016894236207008362,
-0.003125520423054695,
0.014897016808390617,
-0.035068079829216,
0.060418080538511276,
-0.0037782914005219936,
0.027546079829335213,
0.004109000321477652,
-0.033840350806713104,
-0.0003090936515945941,
0.02835880033671856,
-0.004439708776772022,
-0.07366371899843216,
0.07089700549840927,
0.09918663650751114,
-0.006869228091090918,
0.027615247294306755,
0.005153001751750708,
-0.044509485363960266,
0.009519219398498535,
0.01265770848840475,
-0.016436001285910606,
-0.03863022103905678,
-0.03614018112421036,
0.014386904425919056,
-0.006056506186723709,
-0.02024887502193451,
-0.026577729731798172,
0.011438625864684582,
0.008568162098526955,
-0.006791414227336645,
0.036036428064107895,
0.011646130122244358,
-0.011257060803472996,
0.05938056483864784,
-0.008429826237261295,
-0.017949046567082405,
0.012337807565927505,
0.08549141138792038,
0.005148678552359343,
-0.041950274258852005,
-0.0009456536499783397,
0.03145406022667885,
0.010565382428467274,
-0.000935386517085135,
-0.01813925802707672,
0.04125859588384628,
0.02030075155198574,
-0.0005636095884256065,
-0.013185113668441772,
0.027338575571775436,
0.011732589453458786,
-0.0003820440615527332,
0.03645143657922745,
-0.018260302022099495,
0.043852388858795166,
0.023828309029340744,
0.02367268316447735,
-0.05170293524861336,
-0.012052490375936031,
0.010401109233498573,
0.057858873158693314,
0.022635165601968765,
0.05588758736848831,
-0.05533424764871597,
-0.05502299219369888,
-0.03548308461904526,
-0.008170447312295437,
0.013530952855944633,
-0.03256074711680412,
-0.036624353379011154,
-0.032301366329193115,
0.02218557521700859,
-0.01062590442597866,
-0.06647026538848877,
-0.00840821210294962,
0.01370387151837349,
0.04627326503396034,
-0.07428622245788574,
-0.0034367754124104977,
0.08113383501768112,
0.004383509978652,
-0.012415621429681778,
-0.03658977150917053,
0.0002845066483132541,
-0.014689513482153416,
-0.024277901276946068,
0.034099727869033813,
-0.032906584441661835,
-0.042884040623903275,
0.0018059281865134835,
0.011222477070987225,
0.09524407237768173,
-0.04921289533376694,
0.0030152841936796904,
-0.0586543008685112,
0.023551639169454575,
0.015087228268384933,
0.0711045041680336,
0.0035578191746026278,
-0.037316031754016876,
-0.03707394376397133,
-0.006791414227336645,
0.018312176689505577,
0.10140000283718109,
-0.0017832325538620353,
-0.022652456536889076,
0.03994441032409668,
0.057858873158693314,
0.04340279847383499,
-0.04219236224889755,
0.008589777164161205,
0.017559977248311043,
-0.08722060918807983,
-0.003147135255858302,
0.014291798695921898,
-0.006748184096068144,
0.007228035945445299,
-0.010029331780970097,
0.045719921588897705,
-0.014456071890890598,
0.04156985133886337,
-0.06795737147331238,
-0.03223219886422157,
-0.02156306430697441,
-0.04284945875406265,
0.008170447312295437,
0.012718230485916138,
-0.004452677443623543,
0.034514736384153366,
0.030209040269255638,
-0.004642888903617859,
0.03748895227909088,
0.04468240216374397,
-0.03183448314666748,
-0.040705256164073944,
-0.04651534929871559,
-0.026041679084300995,
-0.01045298483222723,
0.01153373159468174,
-0.011827695183455944,
-0.02937902696430683,
-0.02650856226682663,
-0.037558119744062424,
0.016072869300842285,
-0.043160710483789444,
0.04623867943882942,
0.010107145644724369,
0.0033870611805468798,
-0.05951889976859093,
0.04900539293885231,
0.018606141209602356,
0.053812555968761444,
-0.02619730681180954,
0.021666815504431725,
-0.04174277186393738,
-0.05903472378849983,
-0.02308475598692894,
0.024260608479380608,
-0.039736904203891754,
0.05267128720879555,
0.013816270045936108,
0.018779059872031212,
0.003739384701475501,
0.037004776298999786,
0.016072869300842285,
0.002182028256356716,
-0.010971743613481522,
-0.0022803761530667543,
-0.021701399236917496,
-0.05612967535853386,
0.022099114954471588,
0.020992429926991463,
0.00793700572103262,
-0.012285931967198849,
-0.04087817296385765,
-0.001288250437937677,
-0.0355522520840168,
-0.011092787608504295,
-0.05889638885855675,
0.005879263859242201,
-0.022859960794448853,
0.05893097072839737,
0.052567534148693085,
0.010228189639747143,
-0.00529133714735508,
0.016764547675848007,
-0.03370201587677002,
0.0511150099337101,
-0.022341201081871986,
-0.02277350053191185,
0.026750650256872177,
0.00561556126922369,
-0.015216917730867863,
0.07580791413784027,
0.01938427798449993,
0.009614325128495693,
-0.008983168751001358,
0.06436064839363098,
-0.00840821210294962,
-0.018588848412036896,
-0.06906405836343765,
0.005900878459215164,
-0.006307239644229412,
0.05312087759375572,
-0.04966248571872711,
0.028964020311832428,
0.044509485363960266,
-0.07981964945793152,
-0.016600273549556732,
0.004048478323966265,
-0.025453753769397736,
-0.044163644313812256,
-0.03345992788672447,
0.021943487226963043,
0.01123112253844738,
-0.02685440145432949,
-0.05737469717860222,
-0.027961086481809616,
0.04274570569396019,
0.041708189994096756,
-0.06301186978816986,
-0.030658630654215813,
-0.05671760067343712,
0.029413610696792603,
-0.007258296944200993,
0.027546079829335213,
-0.04274570569396019,
-0.03707394376397133,
0.03658977150917053,
0.023568930104374886,
-0.03537933528423309,
0.04993915557861328,
0.042918626219034195,
-0.06238936260342598,
0.05938056483864784,
-0.01623714342713356,
0.0306413397192955,
0.01834676042199135,
0.022393077611923218,
-0.013254281133413315,
-0.004400801844894886,
-0.011870925314724445,
-0.02125180885195732,
0.031125513836741447,
-0.04125859588384628,
-0.017646437510848045,
0.018865520134568214,
-0.015744322910904884,
-0.02841067686676979,
0.0033027627505362034,
0.012562602758407593,
-0.018917394801974297,
-0.023205799981951714,
-0.016072869300842285,
0.0029807002283632755,
-0.02873922511935234,
0.027252117171883583,
-0.011689359322190285,
-0.0657094195485115,
-0.0033416696824133396,
-0.010124437510967255,
-0.012752814218401909,
-0.02934444323182106,
0.010824762284755707,
0.06705819070339203,
0.017240075394511223,
0.027995670214295387,
-0.07255703210830688,
0.020421795547008514,
0.05121876299381256,
-0.03565600514411926,
0.010219543240964413,
0.017084447667002678,
-0.03648601844906807,
-0.07037824392318726,
-0.05360504984855652,
0.05868888646364212,
-0.0632539615035057,
0.0650523230433464,
-0.03773104026913643,
0.027321284636855125,
-0.005092479754239321,
0.0053994120098650455,
0.07394038885831833,
0.016384124755859375,
0.04948956519365311,
-0.008680559694766998,
-0.002254438353702426,
0.031419478356838226,
0.0021863512229174376,
0.019228650256991386,
-0.007556582801043987,
-0.03340804949402809,
-0.04516657814383507,
-0.017603207379579544,
0.018312176689505577,
0.016729963943362236,
0.020698467269539833,
-0.027217531576752663,
0.0004387832887005061,
-0.0424344502389431,
0.00038582668639719486,
0.025678548961877823,
0.03876855596899986,
0.04205402731895447,
0.010029331780970097,
-0.02711378037929535,
-0.013850853778421879,
0.007534968201071024,
0.023914769291877747,
0.11046098917722702,
-0.030727798119187355,
-0.005018989089876413,
-0.027563370764255524,
0.01123112253844738,
-0.030209040269255638,
-0.006194841582328081,
0.014862433075904846,
-0.0029331473633646965,
-0.036935608834028244,
0.017266014590859413,
-0.038837723433971405,
-0.06989406794309616,
-0.014775972813367844,
0.03183448314666748,
0.002492202678695321,
-0.06197435408830643,
-0.029794033616781235,
-0.003406514646485448,
-0.03745436668395996,
0.0061299968510866165,
-0.008546547032892704,
-0.01136081200093031,
-0.007854869589209557,
0.023568930104374886,
-0.017983630299568176,
0.0355522520840168,
0.034168895334005356,
-0.009795891121029854,
-0.018312176689505577,
0.002760227769613266,
-0.09164734184741974,
-0.02061200700700283,
-0.02720024064183235,
0.020698467269539833,
0.002379804849624634,
0.05637176334857941,
0.01992032863199711,
-0.013444492593407631,
-0.020698467269539833,
0.06453356146812439,
-0.041051093488931656,
-0.006951364688575268,
-0.013332094997167587,
-0.007349079474806786,
0.06297729164361954,
0.028134005144238472,
0.025401877239346504,
-0.049109142273664474,
-0.05173752084374428,
0.00206746906042099,
-0.06819945573806763,
0.007608458865433931,
-0.03994441032409668,
-0.007949975319206715,
-0.030087996274232864,
0.034480150789022446,
-0.0511150099337101,
0.02841067686676979,
0.01136081200093031,
-0.04675743728876114,
0.04146610200405121,
-0.027321284636855125,
0.009233902208507061,
0.014689513482153416,
0.09593574702739716,
-0.07656875997781754,
-0.014110232703387737,
0.030468419194221497,
0.033805765211582184,
0.08196385204792023,
-0.012528019025921822,
-0.01966094970703125,
0.003060675458982587,
-0.01140404213219881,
-0.017093094065785408,
-0.00809695664793253,
-0.04146610200405121,
-0.04859038442373276,
-0.02337871864438057,
-0.013262927532196045,
0.0025743392761796713,
-0.020075956359505653,
-0.028929436579346657,
-0.01903843879699707,
0.00009341706754639745,
0.03562141954898834,
0.020162416622042656,
0.022220158949494362,
0.0162198506295681,
-0.052256278693675995,
0.0009510573581792414,
0.0017464871052652597,
-0.019245943054556847,
-0.020335335284471512,
-0.02678523398935795,
-0.0249868705868721,
0.05502299219369888,
0.0013433685526251793,
-0.0604526624083519,
-0.03342534229159355,
0.04457865282893181,
-0.007310172542929649,
0.022635165601968765,
-0.0026046002749353647,
0.03311408683657646,
-0.022289326414465904,
-0.07075867056846619,
-0.008451441302895546,
0.034168895334005356,
0.057616785168647766,
0.044509485363960266,
-0.08590641617774963,
0.020421795547008514,
-0.00919067207723856,
-0.04188110679388046,
-0.01245020516216755,
-0.03536204248666763,
-0.01807009056210518,
-0.02905047871172428,
-0.003229272086173296,
0.008810249157249928,
-0.062216442078351974,
0.0673348605632782,
-0.05803178995847702,
-0.0036053720396012068,
-0.0024965256452560425,
-0.04502824321389198,
0.026058971881866455,
-0.04644618183374405,
-0.06297729164361954,
0.05543799698352814,
0.000204261188628152,
0.01292573381215334,
0.023776434361934662,
0.011170600540935993,
-0.061109758913517,
0.03472223877906799,
0.04869413748383522,
0.02771899849176407,
0.007850546389818192,
0.060037657618522644,
-0.014041065238416195,
-0.005978692322969437,
0.0825863629579544,
-0.012709585018455982,
0.01931511051952839,
0.03710852935910225,
-0.01170665118843317,
0.07414788752794266,
0.04426739737391472,
-0.03956398740410805,
0.02434706874191761,
0.0011758527252823114,
0.0305548794567585,
0.053466714918613434,
0.029551945626735687,
-0.007578197866678238,
0.045685335993766785,
0.053777970373630524,
-0.055680084973573685,
-0.025834176689386368,
-0.013617412187159061,
0.03468765690922737,
0.021355560049414635,
-0.03683185949921608,
-0.010574028827250004,
0.05118417739868164,
-0.007076731417328119,
-0.007016209419816732,
0.0017054188065230846,
-0.009156088344752789,
0.04523574560880661,
-0.05094208940863609,
0.00814018677920103,
0.0462040938436985,
0.0778137817978859,
-0.04087817296385765,
-0.06076391786336899,
0.0715886801481247,
0.07843629270792007,
-0.0190903153270483,
0.003959856927394867,
0.020335335284471512,
0.05236003175377846,
0.027597954496741295,
0.00998610258102417,
0.045131996273994446,
-0.05339754745364189,
-0.004372702445834875,
-0.04437115043401718,
0.01687694527208805,
-0.029845908284187317,
-0.03026091679930687,
-0.027943793684244156,
0.0005041684489697218,
0.01388543751090765,
0.03963315486907959,
0.01876176707446575,
0.078643798828125,
0.0026110848411917686
] |
10,271 | collections | __repr__ | null | def __repr__(self):
if not self:
return f'{self.__class__.__name__}()'
try:
# dict() preserves the ordering returned by most_common()
d = dict(self.most_common())
except TypeError:
# handle case where values are not orderable
d = dict(self)
return f'{self.__class__.__name__}({d!r})'
| (self) | [
0.01874937303364277,
-0.04466843232512474,
0.056587349623441696,
0.01654895767569542,
0.04595201089978218,
-0.04818909987807274,
0.002773440210148692,
-0.054643649607896805,
0.044118329882621765,
-0.07342053204774857,
-0.025928229093551636,
0.037315379828214645,
-0.009218824096024036,
-0.011304634623229504,
-0.015549602918326855,
-0.002049136906862259,
0.0011517800157889724,
-0.04166119918227196,
-0.017722513526678085,
-0.004281641915440559,
0.051379699259996414,
0.017795860767364502,
0.028348686173558235,
-0.026184944435954094,
0.022389227524399757,
0.023324403911828995,
-0.02141737751662731,
-0.005977795459330082,
-0.021802449598908424,
0.02193080633878708,
-0.08046185970306396,
-0.048519160598516464,
-0.02321438305079937,
-0.01751163974404335,
-0.007518086116760969,
-0.033171262592077255,
-0.02123400941491127,
0.033629681915044785,
-0.0674060583114624,
-0.03350132331252098,
0.03705866262316704,
-0.023544445633888245,
-0.041257791221141815,
-0.04243134334683418,
-0.03527999296784401,
-0.005899863783270121,
0.09373769909143448,
0.024809684604406357,
0.021197335794568062,
-0.07235699146986008,
0.03065912239253521,
-0.011680538766086102,
-0.017795860767364502,
-0.005028866231441498,
-0.059227850288152695,
-0.0024640068877488375,
0.021545734256505966,
-0.03553671017289162,
-0.018676025792956352,
0.036453548818826675,
-0.04708889126777649,
0.014366879127919674,
0.019216962158679962,
-0.03946078196167946,
-0.0104061309248209,
-0.033171262592077255,
-0.04870252683758736,
0.02079392597079277,
-0.041257791221141815,
0.009883532300591469,
0.008544947020709515,
-0.030384069308638573,
-0.007197192404419184,
0.0005171549273654819,
-0.029265524819493294,
-0.008045269176363945,
-0.02779858186841011,
0.0001909605343826115,
0.0491059385240078,
-0.026826731860637665,
-0.015641286969184875,
-0.039937540888786316,
-0.016264736652374268,
-0.048299118876457214,
-0.015247045084834099,
-0.07026659697294235,
0.020005444064736366,
-0.012835756875574589,
-0.02779858186841011,
0.0018313874024897814,
-0.03880066052079201,
0.041294462978839874,
-0.006628751754760742,
0.03520664572715759,
-0.02299434132874012,
-0.01859351061284542,
-0.022609269246459007,
-0.03304290398955345,
0.05849437788128853,
-0.0007529546855948865,
0.04111109673976898,
-0.0032318602316081524,
-0.027285151183605194,
-0.0350232794880867,
-0.03671026602387428,
-0.030970847234129906,
-0.00407306058332324,
0.027010099962353706,
-0.05126968026161194,
0.0062299263663589954,
-0.056807391345500946,
0.05013279989361763,
0.020317168906331062,
-0.01578798145055771,
0.07628107070922852,
-0.0016560418298467994,
-0.0385439433157444,
0.015320392325520515,
0.07151350378990173,
0.017025714740157127,
-0.049362652003765106,
0.032492801547050476,
-0.010928730480372906,
0.0036879880353808403,
-0.09447117149829865,
0.005212233867496252,
-0.02713845670223236,
-0.04290810227394104,
0.01813509128987789,
-0.02141737751662731,
0.07613437622785568,
-0.01654895767569542,
-0.039497457444667816,
0.04844581335783005,
0.0845692977309227,
0.026771720498800278,
0.014266027137637138,
0.03267616778612137,
0.003843850689008832,
0.12535032629966736,
0.051819782704114914,
-0.04540190473198891,
0.0030049423221498728,
0.06923973560333252,
0.02193080633878708,
-0.030934173613786697,
0.012863261625170708,
0.11442160606384277,
-0.0010767136700451374,
-0.033372968435287476,
0.03203438222408295,
0.0407443605363369,
0.061868347227573395,
0.015311224386096,
0.005542296450585127,
0.00018279493087902665,
-0.028862114995718002,
-0.0241128858178854,
-0.030530763790011406,
-0.05820098891854286,
-0.017603322863578796,
0.013679249212145805,
0.014275195077061653,
-0.042798079550266266,
0.016402263194322586,
0.017355777323246002,
0.051563069224357605,
-0.0508662685751915,
0.037773799151182175,
0.003919490147382021,
-0.03298789635300636,
-0.08420256525278091,
-0.05559716373682022,
0.018483489751815796,
-0.01744746044278145,
0.06835957616567612,
-0.026771720498800278,
0.07994842529296875,
-0.004831745754927397,
0.01739245094358921,
0.053543440997600555,
-0.06967981904745102,
-0.07525420933961868,
-0.036930304020643234,
0.020537210628390312,
-0.060108013451099396,
0.06175832822918892,
-0.022719290107488632,
0.02079392597079277,
0.02935720980167389,
-0.03159429877996445,
0.022187521681189537,
-0.008852087892591953,
0.03368469327688217,
0.03597679361701012,
-0.04371492192149162,
-0.03284120187163353,
-0.034051429480314255,
0.03828722983598709,
0.019748728722333908,
-0.03806718811392784,
0.028587063774466515,
0.006344531197100878,
0.002663419581949711,
0.008228637278079987,
0.029302198439836502,
0.037535421550273895,
-0.01269823033362627,
0.019803738221526146,
0.00678461417555809,
0.005276412703096867,
-0.007655612193048,
-0.03595845401287079,
-0.030255712568759918,
-0.004263305105268955,
-0.045255210250616074,
0.02453463152050972,
-0.012423179112374783,
-0.06410543620586395,
0.005349759943783283,
0.03157596290111542,
-0.01881355233490467,
0.01106625609099865,
-0.021967479959130287,
-0.04881254956126213,
-0.04268806055188179,
0.010598667897284031,
-0.022737625986337662,
-0.007871069014072418,
0.006289520766586065,
0.05908115580677986,
-0.029485566541552544,
0.0002620156155899167,
-0.009498460218310356,
-0.016457274556159973,
-0.003974500577896833,
-0.021564071998000145,
-0.0055056228302419186,
-0.014211016707122326,
0.019583698362112045,
-0.019528687000274658,
0.047418951988220215,
0.01751163974404335,
0.039277415722608566,
0.020922282710671425,
-0.06751608103513718,
0.01304662972688675,
0.055340446531772614,
-0.01488030981272459,
-0.00027849007165059447,
0.023709475994110107,
-0.0376637764275074,
-0.029247188940644264,
-0.04888589680194855,
0.0020193394739180803,
-0.03627018257975578,
-0.05380015820264816,
0.017438292503356934,
0.029302198439836502,
0.03395974636077881,
0.006633335724473,
0.060364730656147,
-0.036655254662036896,
0.023031014949083328,
-0.002306998008862138,
0.0037292458582669497,
-0.03284120187163353,
-0.015357065945863724,
-0.041257791221141815,
0.04400830715894699,
0.03040240705013275,
-0.03744373470544815,
-0.03773712366819382,
0.01563211716711521,
-0.039497457444667816,
-0.004114318639039993,
0.01553126610815525,
-0.009283002465963364,
-0.052259866148233414,
-0.05974128097295761,
0.024901367723941803,
-0.027963612228631973,
-0.027926938608288765,
-0.022224195301532745,
0.029742281883955002,
0.03507829084992409,
-0.00880624633282423,
-0.053506769239902496,
0.04067101329565048,
0.0024594226852059364,
0.09087716042995453,
-0.010360289365053177,
-0.0017076140502467752,
0.043018121272325516,
0.04349488019943237,
-0.05402019992470741,
0.05556048825383186,
-0.028990473598241806,
0.03749874606728554,
0.0385439433157444,
0.001386720105074346,
-0.014724446460604668,
0.06315192580223083,
0.016402263194322586,
-0.02361779287457466,
-0.002097270917147398,
0.020317168906331062,
0.007912327535450459,
-0.008164457976818085,
0.008590788580477238,
-0.0469055213034153,
0.02713845670223236,
0.043238162994384766,
0.06535233557224274,
-0.024204570800065994,
0.02583654411137104,
-0.028312012553215027,
0.012221474200487137,
0.03832390159368515,
0.07455740869045258,
-0.01671398989856243,
0.050646230578422546,
-0.05299333855509758,
0.030384069308638573,
-0.0012239811476320028,
-0.04881254956126213,
-0.041514504700899124,
0.002716137794777751,
0.07371392101049423,
-0.006633335724473,
-0.008696225471794605,
-0.08478934317827225,
0.01907026767730713,
0.04576864093542099,
0.019748728722333908,
0.07019325345754623,
0.05490036681294441,
0.047162238508462906,
-0.012624884024262428,
-0.062308430671691895,
0.01598968543112278,
0.012239811010658741,
-0.02847704291343689,
0.00430685468018055,
-0.03196103498339653,
0.046722155064344406,
-0.0014417305355891585,
0.026386648416519165,
0.02645999565720558,
-0.037132009863853455,
-0.023141035810112953,
-0.04789571091532707,
0.01995043270289898,
0.007426402065902948,
-0.01258821040391922,
0.03243779018521309,
0.03375804051756859,
0.004914260935038328,
-0.024186233058571815,
0.04899591580033302,
0.08229553699493408,
-0.02957725152373314,
-0.025653176009655,
0.004588783252984285,
0.005904448218643665,
-0.0013970346190035343,
0.007458491716533899,
0.02888045273721218,
0.0398641936480999,
-0.059887975454330444,
-0.036911968141794205,
0.016457274556159973,
0.01763082854449749,
-0.03309791535139084,
-0.05038951337337494,
0.05427691340446472,
0.007912327535450459,
0.03858061879873276,
-0.0029430557042360306,
-0.0678461417555809,
0.050646230578422546,
-0.005404770374298096,
0.023544445633888245,
0.034051429480314255,
-0.040377624332904816,
0.02715679444372654,
0.04158785194158554,
0.002782608615234494,
0.030384069308638573,
0.027541866526007652,
-0.056624025106430054,
-0.025524819269776344,
-0.007930664345622063,
0.008930019102990627,
-0.035335004329681396,
0.01829095371067524,
0.018144259229302406,
-0.03724203258752823,
-0.06839624792337418,
-0.01923529803752899,
0.01995043270289898,
-0.03020070120692253,
-0.003137884195894003,
-0.037352051585912704,
0.00276427180506289,
-0.010140247642993927,
0.029045483097434044,
0.025249768048524857,
0.006069479044526815,
-0.03196103498339653,
-0.045255210250616074,
-0.03243779018521309,
-0.07019325345754623,
-0.0526266023516655,
0.06648921966552734,
-0.0394241102039814,
-0.0025923645589500666,
0.038653966039419174,
0.03461986780166626,
-0.006830456200987101,
-0.003522956743836403,
0.039754170924425125,
0.026019912213087082,
0.04862917959690094,
0.003094334155321121,
0.011992264539003372,
-0.04221130162477493,
0.03649022430181503,
0.020702242851257324,
0.036471884697675705,
-0.02757854014635086,
0.0041326554492115974,
0.01521954033523798,
-0.012065611779689789,
0.058384355157613754,
-0.06993653625249863,
0.014394384808838367,
-0.018300121650099754,
-0.0014990330673754215,
0.05013279989361763,
-0.000032357998861698434,
0.004116610623896122,
-0.012771577574312687,
-0.004084520973265171,
-0.017639996483922005,
0.027926938608288765,
-0.01118544489145279,
-0.0027940692380070686,
0.030329059809446335,
-0.020482201129198074,
0.07349387556314468,
0.002745934994891286,
0.001250340254046023,
-0.011598022654652596,
-0.0037498746532946825,
0.0019677672535181046,
-0.04507184401154518,
-0.0005352052394300699,
0.013156650587916374,
0.008563283830881119,
-0.036655254662036896,
0.023819496855139732,
0.024461284279823303,
0.039937540888786316,
-0.07899491488933563,
0.00023494019114878029,
0.03108086809515953,
0.012744072824716568,
-0.07360389828681946,
-0.024131223559379578,
0.06887300312519073,
0.037095338106155396,
-0.04228464886546135,
-0.047162238508462906,
-0.0766478031873703,
0.057247474789619446,
0.017639996483922005,
-0.027541866526007652,
-0.013679249212145805,
-0.020078791305422783,
0.005079292226582766,
-0.021582407876849174,
-0.025304777547717094,
-0.03157596290111542,
0.012340663000941277,
0.04287142679095268,
-0.014944488182663918,
0.029430557042360306,
0.010983739979565144,
0.0232327189296484,
-0.026881741359829903,
0.06329862028360367,
-0.043641574680805206,
0.03197937086224556,
-0.003910321742296219,
0.04254136607050896,
-0.004332067910581827,
-0.04947267472743988,
-0.057724229991436005,
-0.000785617099609226,
0.005262660328298807,
-0.01573297008872032,
0.002816990250721574,
0.018483489751815796,
0.013413365930318832,
-0.008687056601047516,
0.04202793538570404,
0.05523042753338814,
0.025231430307030678,
-0.023159371688961983,
0.03636186569929123,
-0.05783425271511078,
0.04023092985153198,
-0.003348757280036807,
-0.025488145649433136,
-0.060768138617277145,
-0.012184800580143929,
-0.016567295417189598,
-0.03836057707667351,
0.02185746096074581,
0.025048062205314636,
0.01808924786746502,
-0.06366535276174545,
0.04404498264193535,
-0.04232132434844971,
0.022169185802340508,
0.04444839060306549,
0.0096359858289361,
-0.008059022016823292,
0.04844581335783005,
-0.010745362378656864,
-0.0172915980219841,
-0.009865195490419865,
0.03960747644305229,
-0.046538785099983215,
0.053066685795784,
-0.049179285764694214,
0.04859250783920288,
-0.01839180663228035,
0.035133298486471176,
0.03353799879550934,
-0.012597378343343735,
0.031410928815603256,
-0.047382280230522156,
0.025781534612178802,
-0.06062144413590431,
0.009966048412024975,
-0.0038071770686656237,
-0.0006177207687869668,
-0.02165575511753559,
0.0012423178413882852,
-0.04642876610159874,
0.029063820838928223,
-0.051599740982055664,
-0.015833823010325432,
0.05446028336882591,
0.03649022430181503,
0.026753384619951248,
0.015641286969184875,
0.015393739566206932,
0.0062390947714447975,
0.058604396879673004,
0.0669659748673439,
-0.039754170924425125,
0.02035384252667427,
0.01019525807350874,
0.02039051614701748,
0.06839624792337418,
-0.029833966866135597,
0.003988252952694893,
-0.017154071480035782,
0.02341608703136444,
0.0464654378592968,
-0.0031172551680356264,
-0.009067545644938946,
0.050902944058179855,
-0.022187521681189537,
0.03500494360923767,
0.011873074807226658,
0.0018990043317899108,
-0.053323399275541306,
0.010314447805285454,
0.010396962985396385,
-0.02996232360601425,
-0.011973927728831768,
0.03065912239253521,
-0.041917912662029266,
0.02389284409582615,
-0.031649310141801834,
-0.02209583856165409,
-0.0363435298204422,
-0.027523530647158623,
0.004375617951154709,
0.015127856284379959,
0.04287142679095268,
-0.005336007568985224,
0.022425901144742966,
0.0049509345553815365,
-0.03891067951917648,
0.011763053946197033,
-0.021105650812387466,
0.03839724883437157,
0.022682616487145424,
0.032749515026807785,
0.05559716373682022,
-0.01345003955066204,
0.012982451356947422,
0.03366635739803314,
-0.02475467324256897,
0.01588883250951767,
-0.035353340208530426,
0.02913716807961464,
-0.0034198123030364513,
-0.01808924786746502,
0.024809684604406357,
-0.06018136069178581,
-0.014944488182663918,
-0.001821073004975915,
-0.05108631029725075,
0.0051893130876123905,
0.00728429201990366,
0.02389284409582615,
-0.06131824478507042,
0.038653966039419174,
-0.01697070337831974,
0.05057288333773613,
-0.013743428513407707,
-0.013514217920601368,
0.06975317001342773,
0.009342596866190434,
0.009104219265282154,
0.01852933131158352,
0.023801160976290703,
-0.06850627064704895,
-0.07518085837364197,
-0.011047919280827045,
0.019161950796842575,
0.059887975454330444,
-0.060511425137519836,
0.01214812695980072,
-0.006440799217671156,
-0.01347754430025816,
-0.06469221413135529,
0.022224195301532745,
-0.05108631029725075,
0.020280495285987854,
-0.011607191525399685,
-0.029063820838928223,
0.03649022430181503,
-0.058347683399915695,
-0.037590429186820984,
0.011515507474541664,
0.02209583856165409,
-0.0035848435945808887,
-0.0005801876541227102,
-0.022517584264278412,
0.012065611779689789,
-0.03705866262316704,
-0.023929517716169357,
-0.0056935749016702175,
-0.01708989404141903,
-0.041954588145017624,
-0.0442650243639946,
-0.06498560309410095,
0.05974128097295761,
0.022297542542219162,
-0.04507184401154518,
0.016915693879127502,
0.029430557042360306,
-0.05071957781910896,
0.019418666139245033,
-0.004187665414065123,
0.03872731328010559,
-0.056183941662311554,
-0.10510651022195816,
0.0022611559834331274,
0.005230570677667856,
0.11266127228736877,
0.03344631567597389,
-0.09124389290809631,
0.05823766067624092,
0.008815414272248745,
-0.06835957616567612,
-0.026441659778356552,
0.009026287123560905,
-0.003752166638150811,
-0.03328128531575203,
0.022205859422683716,
-0.02235255390405655,
-0.03924074023962021,
0.00548270158469677,
-0.06568240374326706,
0.003009526524692774,
-0.028752095997333527,
0.02237088978290558,
0.02297600544989109,
0.0073163812048733234,
-0.058384355157613754,
0.039057374000549316,
-0.028550390154123306,
0.015677960589528084,
0.03683862090110779,
0.056587349623441696,
-0.01989542320370674,
0.023746149614453316,
0.038250554352998734,
0.028862114995718002,
0.04536523297429085,
0.04943599924445152,
-0.00760977016761899,
-0.00984685868024826,
0.07679449766874313,
-0.007119260728359222,
0.011946422047913074,
-0.018006732687354088,
-0.02061055786907673,
0.044815126806497574,
0.059484563767910004,
-0.046282071620225906,
0.02275596372783184,
-0.020408853888511658,
0.03324460983276367,
0.054827019572257996,
0.0037819640710949898,
0.04921595752239227,
0.10561994463205338,
0.044338371604681015,
-0.03412477672100067,
-0.06131824478507042,
-0.01697070337831974,
-0.013257503509521484,
0.008356994949281216,
-0.03443650156259537,
0.004316023085266352,
0.05233321338891983,
-0.010607835836708546,
0.029485566541552544,
-0.02954057790338993,
-0.012872430495917797,
0.027193468064069748,
-0.041074421256780624,
0.02537812478840351,
0.0049509345553815365,
0.05845770239830017,
0.01631058007478714,
-0.03379471227526665,
0.014266027137637138,
0.04943599924445152,
-0.00008273046114481986,
0.018364300951361656,
0.010892056860029697,
0.033409640192985535,
-0.0046071200631558895,
-0.02297600544989109,
0.03240111842751503,
0.007417233660817146,
-0.020463863387703896,
0.010048563592135906,
0.046538785099983215,
-0.026643363758921623,
-0.05097629129886627,
-0.053066685795784,
0.005542296450585127,
0.012047274969518185,
-0.023269392549991608,
0.017539145424962044,
0.022242533043026924,
-0.025011388584971428
] |
10,272 | collections | __sub__ | Subtract count, but keep only results with positive counts.
>>> Counter('abbbc') - Counter('bccd')
Counter({'b': 2, 'a': 1})
| def __sub__(self, other):
''' Subtract count, but keep only results with positive counts.
>>> Counter('abbbc') - Counter('bccd')
Counter({'b': 2, 'a': 1})
'''
if not isinstance(other, Counter):
return NotImplemented
result = Counter()
for elem, count in self.items():
newcount = count - other[elem]
if newcount > 0:
result[elem] = newcount
for elem, count in other.items():
if elem not in self and count < 0:
result[elem] = 0 - count
return result
| (self, other) | [
-0.008444156497716904,
-0.02697847969830036,
-0.006731237750500441,
0.05863180011510849,
-0.00455440254881978,
-0.02945864386856556,
0.000051298364269314334,
-0.011044761165976524,
0.11212484538555145,
-0.04664136469364166,
-0.07126457989215851,
0.02574731782078743,
0.039754003286361694,
-0.045606475323438644,
-0.04742645472288132,
0.03811245411634445,
0.00971546396613121,
0.031760379672050476,
0.0013081083307042718,
-0.03454387187957764,
0.03404426947236061,
-0.019448772072792053,
0.009429977275431156,
0.08029308915138245,
-0.013364339247345924,
0.0487111434340477,
-0.014006683602929115,
-0.041966523975133896,
0.012213471345603466,
-0.007552011404186487,
-0.02713906578719616,
0.01600508950650692,
-0.021179532632231712,
-0.0013727887999266386,
-0.017361151054501534,
-0.04307278245687485,
-0.02332068234682083,
0.04425041377544403,
-0.041145749390125275,
0.0672677680850029,
0.019573671743273735,
-0.03397290036082268,
0.011446226388216019,
-0.01026859413832426,
0.05095934867858887,
-0.004888957366347313,
0.02795983850955963,
0.004723910242319107,
0.028209639713168144,
-0.027638666331768036,
-0.03556091710925102,
-0.01269522961229086,
-0.002395410556346178,
0.04339395463466644,
-0.03839794173836708,
0.04528530314564705,
0.027995524927973747,
0.06908774375915527,
-0.0627356693148613,
0.045677848160266876,
-0.052565209567546844,
0.0011553283547982574,
-0.06466270238161087,
-0.029761971905827522,
0.009563799016177654,
-0.04100300744175911,
-0.019752100110054016,
-0.007320053409785032,
0.0014597730478271842,
-0.00006196228787302971,
0.0006997765740379691,
0.0021712591405957937,
0.04246612265706062,
0.029012570157647133,
0.03879048675298691,
-0.008261267095804214,
0.02465890161693096,
0.02291029505431652,
0.03381231427192688,
-0.04599902033805847,
0.046355877071619034,
-0.06255724281072617,
0.011794162914156914,
0.001925918972119689,
0.029672758653759956,
0.03672070801258087,
0.05056680366396904,
-0.03165332227945328,
0.01806594617664814,
0.04814016819000244,
-0.030065301805734634,
0.038183826953172684,
0.03420485556125641,
-0.052172668278217316,
0.007667990401387215,
0.027067692950367928,
-0.06641130894422531,
-0.010803882032632828,
-0.006847216282039881,
-0.0006942006875760853,
0.06723207980394363,
0.07083635032176971,
-0.005763259716331959,
-0.031349990516901016,
0.03352682664990425,
-0.016076460480690002,
0.020323073491454124,
-0.05927414447069168,
0.026782207190990448,
0.03600699082016945,
0.02030523121356964,
0.0579894557595253,
-0.030404318124055862,
-0.015362745150923729,
-0.015487645752727985,
-0.019413085654377937,
-0.019787786528468132,
-0.04321552813053131,
-0.018806425854563713,
0.024426942691206932,
-0.01716487854719162,
0.012891502119600773,
0.03147489205002785,
0.05028131976723671,
-0.0015969403320923448,
-0.018021337687969208,
-0.013551689684391022,
0.01891348324716091,
0.01574636809527874,
0.01354276854544878,
0.04589196294546127,
-0.062378812581300735,
-0.009349684230983257,
0.03422269970178604,
0.07144300639629364,
-0.012846894562244415,
0.09892109036445618,
0.04599902033805847,
0.0004959771176800132,
0.029833344742655754,
0.07254926860332489,
-0.0012612706050276756,
0.052743639796972275,
0.08100681006908417,
0.016629591584205627,
-0.00679814862087369,
-0.02332068234682083,
0.03875479847192764,
-0.019323870539665222,
0.020269544795155525,
-0.022749708965420723,
0.03102882020175457,
0.03754148259758949,
-0.03825519606471062,
0.02731749415397644,
0.003532896051183343,
0.008948219008743763,
-0.03270605206489563,
-0.04339395463466644,
-0.013863940723240376,
0.05427813157439232,
0.07005126029253006,
0.0020262852776795626,
-0.007618922274559736,
0.004639156628400087,
-0.03197449445724487,
0.05845336988568306,
-0.017173800617456436,
-0.04785468429327011,
0.009278313256800175,
0.0013560610823333263,
-0.044571585953235626,
-0.009992029517889023,
0.008908072486519814,
-0.01832466758787632,
0.0018456259276717901,
0.011633576825261116,
0.023980870842933655,
0.01371227577328682,
0.002819179790094495,
0.05716868117451668,
-0.019413085654377937,
-0.05591967701911926,
-0.01084848865866661,
0.016861548647284508,
-0.06830265372991562,
0.006079971324652433,
0.03829088434576988,
0.022357165813446045,
0.008720722049474716,
0.01855662651360035,
-0.03718462213873863,
0.0005018318188376725,
-0.012427586130797863,
0.02314225398004055,
-0.01533598080277443,
-0.09606622159481049,
-0.008524449542164803,
0.014060212299227715,
0.05559850484132767,
-0.10484493523836136,
0.01412266306579113,
-0.0023396515753120184,
-0.045213934034109116,
0.03536464646458626,
0.007333435583859682,
-0.0054287053644657135,
-0.02842375449836254,
-0.022339321672916412,
-0.06562621891498566,
0.01252572238445282,
-0.048104483634233475,
0.043286897242069244,
-0.02162560634315014,
0.03623894974589348,
0.005549144931137562,
0.01966288685798645,
-0.02551536075770855,
-0.0017363381339237094,
-0.009760071523487568,
0.035525232553482056,
-0.03097529150545597,
-0.01432785578072071,
-0.009519192390143871,
-0.0005609364598058164,
0.03750579431653023,
0.04646293446421623,
-0.004280067980289459,
0.011035839095711708,
0.00691412715241313,
0.047818996012210846,
0.059702374041080475,
0.02737102285027504,
-0.0437508150935173,
-0.020198173820972443,
0.0016571602318435907,
-0.054135385900735855,
0.0070925564505159855,
-0.0013516003964468837,
-0.028209639713168144,
0.010313201695680618,
-0.009706542827188969,
0.02610417641699314,
0.03277742490172386,
-0.04703390970826149,
-0.05270795524120331,
0.0058569349348545074,
0.03159979358315468,
-0.0031715771183371544,
0.037719909101724625,
-0.022018149495124817,
-0.07133594900369644,
-0.037719909101724625,
0.004181931726634502,
0.01959151402115822,
-0.0723351538181305,
-0.060630206018686295,
-0.04546373337507248,
0.001443045330233872,
0.026014961302280426,
-0.0019459923496469855,
0.03051137551665306,
-0.035061318427324295,
-0.04507118836045265,
-0.03750579431653023,
0.03904028609395027,
0.02899472787976265,
0.0347401462495327,
-0.015086179599165916,
0.06826697289943695,
-0.02412361279129982,
-0.11897651851177216,
0.03811245411634445,
-0.030243732035160065,
-0.06162940710783005,
0.039468515664339066,
0.005629437975585461,
0.007119320798665285,
-0.010250751860439777,
-0.000017764497897587717,
0.02383812703192234,
0.02749592252075672,
-0.047640569508075714,
-0.04053908959031105,
0.01585342548787594,
0.02929805777966976,
-0.0029061639215797186,
-0.04992445930838585,
-0.020786989480257034,
-0.04446452856063843,
0.020394444465637207,
0.011687105521559715,
0.05145895108580589,
0.013043167069554329,
-0.01685262843966484,
0.017851831391453743,
0.01382825430482626,
-0.09206940978765488,
0.029601385816931725,
0.059702374041080475,
-0.01966288685798645,
-0.011348090134561062,
-0.03832656890153885,
-0.015996167436242104,
-0.016370870172977448,
-0.01768232323229313,
0.04956760257482529,
0.04935348778963089,
0.022803237661719322,
0.02394518442451954,
-0.007788429968059063,
0.026193391531705856,
0.02656809240579605,
0.04246612265706062,
-0.028691397979855537,
0.03143920749425888,
-0.0026675148401409388,
-0.026478877291083336,
-0.004148476291447878,
0.05520595982670784,
0.05267226696014404,
-0.008082837797701359,
-0.05538439005613327,
0.043358270078897476,
0.004996014758944511,
-0.045963335782289505,
-0.027388865128159523,
-0.005259197670966387,
0.06983714550733566,
0.01484530046582222,
-0.05063817650079727,
-0.008537831716239452,
0.042073581367731094,
-0.040788888931274414,
-0.031349990516901016,
0.013783647678792477,
0.037791281938552856,
0.04228769615292549,
-0.03045784682035446,
0.015202159062027931,
0.02012680098414421,
-0.013159145601093769,
-0.05120914801955223,
-0.0026139861438423395,
-0.030243732035160065,
-0.01948445662856102,
-0.060344718396663666,
-0.01912759803235531,
0.0368991382420063,
-0.038183826953172684,
-0.020983261987566948,
-0.002440017880871892,
0.017441444098949432,
0.04499981924891472,
0.04685547947883606,
0.007543089799582958,
0.005535762757062912,
-0.04539236053824425,
0.004737292416393757,
-0.05716868117451668,
-0.011847691610455513,
-0.007993623614311218,
-0.010464866645634174,
-0.039646945893764496,
-0.07850880175828934,
-0.02574731782078743,
-0.004964789375662804,
-0.07022969424724579,
-0.1314665526151657,
-0.060808636248111725,
0.007980241440236568,
-0.04435747116804123,
0.019448772072792053,
-0.031760379672050476,
0.02030523121356964,
-0.041217122226953506,
-0.053207553923130035,
0.04139554873108864,
-0.03136783465743065,
0.02469458617269993,
0.025729475542902946,
0.005308265332132578,
-0.08871494233608246,
0.01868152618408203,
-0.009296155534684658,
0.023499110713601112,
-0.05834631249308586,
-0.037327367812395096,
0.10127635300159454,
0.07301318645477295,
-0.030136674642562866,
-0.021036790683865547,
-0.01943092793226242,
-0.00843969639390707,
-0.051922865211963654,
-0.0006345384754240513,
-0.0027121221646666527,
-0.056562021374702454,
0.020626403391361237,
-0.01844956912100315,
0.04910368472337723,
0.005794484633952379,
0.022838924080133438,
-0.003452603006735444,
0.029494328424334526,
0.05520595982670784,
0.010331044904887676,
-0.04203789308667183,
-0.015683917328715324,
0.038362253457307816,
-0.04681979492306709,
-0.03634600713849068,
-0.011660341173410416,
-0.01976994425058365,
-0.01850309781730175,
-0.09221215546131134,
-0.038183826953172684,
-0.0372203104197979,
0.0008971637580543756,
-0.02139364741742611,
0.030350789427757263,
-0.027388865128159523,
0.03416917100548744,
-0.05613379180431366,
-0.0052681188099086285,
-0.006637562066316605,
-0.03589993342757225,
-0.01868152618408203,
0.006258400622755289,
-0.005839092191308737,
-0.03768422454595566,
-0.042822983115911484,
0.002283892361447215,
-0.05392127111554146,
0.024569686502218246,
-0.008600282482802868,
0.0032853255979716778,
-0.007253142539411783,
-0.020394444465637207,
0.07465473562479019,
0.030886076390743256,
-0.004389355890452862,
0.02881629951298237,
0.039468515664339066,
0.02342773973941803,
-0.008421853184700012,
-0.00675800209864974,
0.009590563364326954,
0.006432368885725737,
-0.022107364609837532,
0.07429787516593933,
0.02788846753537655,
0.008604742586612701,
-0.010304280556738377,
-0.02788846753537655,
-0.010554080829024315,
-0.04724802449345589,
0.006949813105165958,
-0.011348090134561062,
0.024319885298609734,
-0.038719113916158676,
0.038362253457307816,
-0.0645199567079544,
0.007333435583859682,
-0.04210926592350006,
0.021197376772761345,
0.038719113916158676,
0.0024734733160585165,
0.006985499057918787,
0.06280703842639923,
0.010598688386380672,
-0.06298547238111496,
-0.0003309301973786205,
-0.03311644122004509,
-0.0437508150935173,
0.02469458617269993,
-0.062021952122449875,
-0.021018946543335915,
-0.008823318406939507,
0.04285866767168045,
0.07012263685464859,
0.042252007871866226,
0.0031938806641846895,
-0.04981740191578865,
0.03472230210900307,
-0.037255994975566864,
-0.026478877291083336,
0.018859954550862312,
0.0415382944047451,
0.027299651876091957,
-0.004674842115491629,
-0.03782696649432182,
-0.01902054063975811,
0.025533203035593033,
-0.0006027557537890971,
-0.022303637117147446,
0.023820284754037857,
0.04785468429327011,
0.006896284408867359,
0.010429180227220058,
-0.014800692908465862,
-0.01585342548787594,
-0.03559660539031029,
-0.01426540594547987,
0.027299651876091957,
0.020786989480257034,
-0.0041752406395971775,
0.03961125761270523,
0.06741051375865936,
-0.020447975024580956,
-0.03399074077606201,
-0.018520940095186234,
0.06130823493003845,
0.045320991426706314,
0.01749497279524803,
-0.025443987920880318,
-0.07501158863306046,
-0.018101630732417107,
0.0076055401004850864,
0.010170457884669304,
0.02603280544281006,
0.004139555152505636,
-0.02667514979839325,
0.007132702972739935,
0.010563001967966557,
-0.020965417847037315,
-0.07165712118148804,
-0.05517027527093887,
0.026924951002001762,
0.0035841944627463818,
-0.06976577639579773,
-0.035525232553482056,
-0.022749708965420723,
0.041038691997528076,
-0.01032212283462286,
0.055991049855947495,
-0.034882888197898865,
-0.0533502995967865,
0.016049696132540703,
0.058382000774145126,
0.030886076390743256,
0.04285866767168045,
0.08757299929857254,
-0.01319483108818531,
0.015237844549119473,
0.06266430020332336,
-0.07551119476556778,
-0.0010242945281788707,
0.012311607599258423,
0.019341712817549706,
-0.04489275813102722,
-0.037719909101724625,
0.001346024451777339,
-0.016353026032447815,
0.01937739923596382,
0.0395398885011673,
-0.029155313968658447,
0.013997762463986874,
0.0651623085141182,
0.04296572506427765,
0.01136593334376812,
-0.038826171308755875,
0.06983714550733566,
-0.02169697731733322,
-0.028869828209280968,
0.010580845177173615,
0.04942486062645912,
0.02383812703192234,
-0.034650929272174835,
0.0014463908737525344,
0.010259672999382019,
-0.001324836048297584,
-0.06562621891498566,
0.00858243927359581,
-0.03875479847192764,
0.04760488122701645,
-0.01182984933257103,
-0.025658104568719864,
0.03402642905712128,
0.03597130626440048,
-0.0694802924990654,
0.0031782682053744793,
-0.011990435421466827,
-0.0392187163233757,
0.013141302391886711,
0.03306291252374649,
-0.009024051018059254,
-0.019930530339479446,
0.04228769615292549,
0.031046662479639053,
-0.011927984654903412,
-0.06416310369968414,
0.030404318124055862,
-0.01377472560852766,
-0.016460083425045013,
-0.011713869869709015,
0.002006212016567588,
-0.01095554605126381,
-0.04218063876032829,
0.014363542199134827,
0.02580084651708603,
-0.039468515664339066,
0.015407351776957512,
0.014604421332478523,
0.005986296106129885,
0.03814813867211342,
-0.01976994425058365,
0.0021378034725785255,
-0.014051291160285473,
-0.006561730057001114,
-0.01907406933605671,
0.01966288685798645,
0.011981513351202011,
0.0015434116357937455,
0.08007897436618805,
-0.042430438101291656,
0.00789994839578867,
-0.03914734348654747,
-0.02726396545767784,
0.029761971905827522,
-0.02069777436554432,
0.018770741298794746,
-0.03049353137612343,
0.04150260612368584,
-0.03904028609395027,
-0.01412266306579113,
0.01426540594547987,
0.011713869869709015,
-0.011820927262306213,
0.03982537239789963,
-0.01032212283462286,
-0.007993623614311218,
0.04806879907846451,
-0.00183112861122936,
-0.016602827236056328,
-0.006062128581106663,
0.006053206976503134,
0.04510687664151192,
0.020608561113476753,
0.06687522679567337,
0.04946054518222809,
-0.009153412654995918,
-0.026871422305703163,
0.029387271031737328,
-0.11055466532707214,
-0.02551536075770855,
-0.022285792976617813,
-0.01194582786411047,
0.0018801966216415167,
0.008127445355057716,
0.009822521358728409,
0.034472499042749405,
0.053849902004003525,
-0.037148937582969666,
-0.07097909599542618,
-0.005812327843159437,
0.049960147589445114,
0.00616472540423274,
0.013141302391886711,
0.0023463426623493433,
0.03647090494632721,
0.004088256508111954,
0.00855567492544651,
0.0032005717512220144,
0.03757716715335846,
-0.011107211001217365,
0.042359065264463425,
0.003742550266906619,
0.024141456931829453,
0.027763567864894867,
0.07579667866230011,
0.03522190451622009,
-0.058489058166742325,
0.0024980073794722557,
-0.05149463564157486,
0.0037224770057946444,
-0.007815194316208363,
0.024730272591114044,
0.01542519498616457,
-0.0441790446639061,
-0.009447820484638214,
0.035757191479206085,
-0.03631031885743141,
-0.03918302804231644,
0.019502300769090652,
-0.0014709248207509518,
-0.021536391228437424,
0.00681599136441946,
-0.03045784682035446,
-0.06366349756717682,
0.021036790683865547,
-0.05010288953781128,
0.004469648934900761,
-0.048746827989816666,
-0.026639463379979134,
0.07022969424724579,
-0.03843362629413605,
-0.03566797450184822,
0.04303709790110588,
-0.0037447805516421795,
-0.000267922441707924,
0.03142136335372925,
0.048925258219242096,
0.01817300356924534,
-0.042073581367731094,
0.006405604537576437,
-0.021893249824643135,
-0.037255994975566864,
0.07879428565502167,
-0.03907597064971924,
-0.0074672577902674675,
0.09321136027574539,
-0.019823472946882248,
-0.02940511517226696,
0.025943590328097343,
0.005018318071961403,
0.028263168409466743,
0.03249193727970123,
-0.0032897864002734423,
0.04218063876032829,
-0.008060534484684467,
0.04432178661227226,
0.0875016301870346,
0.05128052085638046,
-0.024551842361688614,
-0.005937227979302406,
0.06855245679616928,
-0.030886076390743256,
-0.010090164840221405,
-0.03647090494632721,
-0.025319088250398636,
-0.021589919924736023,
-0.013890705071389675,
-0.02680004946887493,
0.0080649945884943,
0.03793402388691902,
-0.016201362013816833,
-0.02697847969830036,
0.08857220411300659,
0.03672070801258087,
0.032206449657678604,
0.014925593510270119,
-0.0018801966216415167,
0.05149463564157486,
-0.042430438101291656,
-0.009813600219786167,
-0.02824532613158226,
0.07679588347673416,
-0.03461524471640587,
-0.03989674523472786,
-0.014711478725075722,
-0.002053049858659506,
-0.032688211649656296,
-0.009024051018059254,
0.01925249956548214,
0.026871422305703163,
-0.003949974197894335,
-0.04046771675348282,
0.009331841953098774,
-0.009421056136488914,
-0.009884972125291824,
-0.022874610498547554,
-0.02494438737630844,
0.03208155184984207,
-0.01261493656784296,
0.06394898891448975,
0.013150224462151527,
0.03686344996094704
] |
10,273 | collections | _keep_positive | Internal method to strip elements with a negative or zero count | def _keep_positive(self):
'''Internal method to strip elements with a negative or zero count'''
nonpositive = [elem for elem, count in self.items() if not count > 0]
for elem in nonpositive:
del self[elem]
return self
| (self) | [
0.007645085453987122,
0.020498910918831825,
-0.02308117225766182,
0.017907805740833282,
-0.0011662181932479143,
-0.02481447160243988,
-0.026459336280822754,
0.03227826580405235,
0.08383506536483765,
-0.03176535293459892,
-0.060276348143815994,
0.04966431483626366,
0.0457378625869751,
-0.02867017686367035,
-0.04492427408695221,
-0.009462396614253521,
0.0069199297577142715,
0.036328528076410294,
0.03134087100625038,
-0.04145767539739609,
0.0341176874935627,
-0.030951762571930885,
0.021896161139011383,
0.09699398279190063,
-0.042129769921302795,
0.008264120668172836,
0.024513795971870422,
-0.0008771508582867682,
-0.009356276132166386,
-0.027980394661426544,
-0.022886618971824646,
0.01878329925239086,
-0.0018946900963783264,
0.01041747909039259,
0.012831716798245907,
-0.02062271721661091,
-0.04446442052721977,
0.015643905848264694,
-0.06296472996473312,
0.04375695064663887,
0.03682375326752663,
-0.029731379821896553,
-0.006163822486996651,
-0.04315560311079025,
0.030315041542053223,
0.020445849746465683,
0.0906975120306015,
0.060064107179641724,
0.019915249198675156,
0.0036567298229783773,
0.015714652836322784,
0.074001245200634,
0.07226794213056564,
0.05543018504977226,
-0.04637458547949791,
0.03077489696443081,
0.02780352719128132,
0.03685912862420082,
0.010364418849349022,
0.027379045262932777,
-0.05422748997807503,
0.03105788305401802,
-0.04559636861085892,
-0.06402593106031418,
0.046268463134765625,
-0.015440507791936398,
-0.013450752012431622,
-0.010169864632189274,
-0.004983233753591776,
-0.030509594827890396,
0.004067946225404739,
-0.03180072456598282,
0.03157079964876175,
0.07336451858282089,
0.015590845607221127,
-0.06395518779754639,
0.020003682002425194,
0.04177603870630264,
0.0065175569616258144,
-0.03788495808839798,
0.03455985337495804,
-0.0008290651021525264,
-0.005916208494454622,
0.013831016607582569,
-0.015007183887064457,
0.025734180584549904,
0.057870954275131226,
0.009188251569867134,
0.03381701186299324,
0.055182572454214096,
-0.027184491977095604,
0.07156047970056534,
-0.0012480192817747593,
-0.04106856882572174,
0.03259662911295891,
0.07782157510519028,
-0.018235011026263237,
-0.036470022052526474,
-0.010859646834433079,
-0.009922251105308533,
0.068270742893219,
0.06590072810649872,
-0.08043920993804932,
-0.012760969810187817,
-0.014441207982599735,
0.022886618971824646,
0.02714911848306656,
-0.0863819494843483,
0.03390544652938843,
0.06682043522596359,
-0.014158220961689949,
0.010461696423590183,
-0.022603631019592285,
-0.017527541145682335,
0.0016559193609282374,
-0.044676657766103745,
-0.026742324233055115,
-0.04492427408695221,
0.00337374210357666,
-0.004253656603395939,
0.0007306826882995665,
-0.0014127269387245178,
-0.05397987365722656,
0.030863329768180847,
0.02532738633453846,
-0.0044482103548944,
-0.0014193594688549638,
0.019773755222558975,
0.02430155500769615,
0.03491358831524849,
0.009033492766320705,
-0.058083195239305496,
0.014335088431835175,
0.01973838172852993,
-0.0031460255850106478,
-0.051786720752716064,
0.04969969019293785,
0.016165664419531822,
0.009285529144108295,
0.00983381737023592,
0.039512135088443756,
-0.006468918640166521,
0.039229150861501694,
0.08574523031711578,
0.0420943982899189,
-0.014202437363564968,
-0.0013895131414756179,
0.03657614067196846,
-0.033781640231609344,
-0.024266181513667107,
-0.01646633818745613,
0.03540881723165512,
0.028564056381583214,
-0.0072825076058506966,
0.024053942412137985,
0.0033295254688709974,
0.004580860957503319,
-0.04159916937351227,
-0.059604253619909286,
0.003893289715051651,
0.013839859515428543,
0.034365300089120865,
0.055182572454214096,
-0.02677769772708416,
-0.03862779960036278,
-0.015794241800904274,
0.0341353714466095,
-0.015405134297907352,
-0.04849699139595032,
0.049593567848205566,
0.024779098108410835,
-0.010382105596363544,
-0.04623309150338173,
0.0023523340933024883,
-0.010063745081424713,
0.03342790529131889,
-0.009161721915006638,
0.03604554012417793,
0.0066546290181577206,
0.04032572731375694,
0.011584802530705929,
0.0042624999769032,
-0.07562842220067978,
-0.04014885798096657,
0.07711410522460938,
-0.019632261246442795,
0.01422896794974804,
0.002867459785193205,
-0.005239691585302353,
0.019579201936721802,
-0.0011418990325182676,
0.01027598511427641,
0.031234750524163246,
-0.0042426022700965405,
0.02881167083978653,
-0.007959024980664253,
-0.05719885975122452,
-0.012867090292274952,
-0.00011095654190285131,
0.0038955004420131445,
-0.08581597357988358,
-0.03318028897047043,
0.02053428441286087,
-0.027184491977095604,
-0.026388589292764664,
-0.0028143995441496372,
-0.04513651505112648,
-0.006990676745772362,
-0.0340999998152256,
0.018995538353919983,
0.004872691817581654,
-0.030032053589820862,
0.01727992668747902,
-0.05702199041843414,
0.02483215741813183,
-0.057870954275131226,
-0.0005560262943618,
0.03570949286222458,
0.004224915523082018,
-0.022957364097237587,
-0.034294553101062775,
-0.007857326418161392,
-0.010833117179572582,
-0.035744864493608475,
0.049522820860147476,
0.03763734549283981,
0.024036254733800888,
0.00012429067282937467,
-0.012566415593028069,
0.02039279043674469,
0.04485352709889412,
0.01004605833441019,
0.004563174210488796,
-0.030244294553995132,
-0.004149747081100941,
-0.03707136958837509,
-0.006181509234011173,
-0.03047422133386135,
0.0435447096824646,
-0.06922583281993866,
0.012398391962051392,
-0.015290170907974243,
-0.0032256159465759993,
0.057446472346782684,
-0.03454216942191124,
0.025734180584549904,
0.0010993402684107423,
0.036470022052526474,
0.027520539239048958,
0.030315041542053223,
0.013583402149379253,
-0.03427686542272568,
-0.021577801555395126,
0.01495412364602089,
0.07028703391551971,
-0.06593609601259232,
-0.042271263897418976,
-0.011531742289662361,
-0.014980653300881386,
-0.023770954459905624,
0.00629647308960557,
-0.03466597571969032,
-0.026742324233055115,
-0.04747116193175316,
0.0192431528121233,
0.06522863358259201,
0.07463796436786652,
0.0052971732802689075,
0.024213122203946114,
0.04962894320487976,
0.0020914548076689243,
-0.08242012560367584,
0.04085632786154747,
-0.017182650044560432,
-0.015016026794910431,
0.06261099874973297,
0.009258998557925224,
-0.028422562405467033,
0.0055580525659024715,
0.06957956403493881,
0.017182650044560432,
0.010329045355319977,
0.006942038424313068,
0.03866317495703697,
0.03696524724364281,
0.04506576806306839,
0.005071667488664389,
-0.022019969299435616,
-0.02561037242412567,
-0.029041597619652748,
0.011903163976967335,
0.054475102573633194,
0.05313091352581978,
-0.0536968894302845,
0.025804927572607994,
-0.012884777039289474,
-0.016660891473293304,
-0.053237032145261765,
-0.00791480764746666,
0.01001952774822712,
0.03187147155404091,
-0.018252696841955185,
-0.027237551286816597,
-0.013707209378480911,
0.07127749174833298,
0.006707689259201288,
-0.014980653300881386,
0.060842324048280716,
0.027379045262932777,
0.036682259291410446,
-0.011779356747865677,
-0.0044747404754161835,
0.039441388100385666,
0.03351633623242378,
-0.022338328883051872,
0.026158662512898445,
0.045985475182533264,
0.007879434153437614,
-0.0009677953203208745,
0.0631062239408493,
0.0428018681704998,
-0.03823869302868843,
-0.09296140819787979,
0.03417074680328369,
-0.05857842415571213,
-0.051998961716890335,
-0.03933526948094368,
-0.02836950123310089,
-0.035019710659980774,
0.00035732705146074295,
0.024283869192004204,
0.011814730241894722,
-0.014635762199759483,
-0.031164003536105156,
-0.007578760385513306,
0.012106561101973057,
0.05203433707356453,
0.04014885798096657,
-0.022232210263609886,
0.0038490728475153446,
0.0009622682118788362,
-0.0027834479697048664,
-0.022037655115127563,
0.021931534633040428,
-0.03901690989732742,
-0.034878216683864594,
-0.05114999786019325,
-0.01661667600274086,
0.04697593301534653,
-0.02095876634120941,
0.07364750653505325,
0.02263900451362133,
0.013884076848626137,
0.055253319442272186,
0.08963630348443985,
0.025451192632317543,
0.00994878076016903,
0.0355856828391552,
-0.02016286365687847,
0.010594346560537815,
0.08284460753202438,
-0.01757175847887993,
-0.01712074689567089,
-0.01030251570045948,
-0.016519397497177124,
-0.03524963557720184,
0.04276649281382561,
-0.06271711736917496,
-0.08800912648439407,
-0.009161721915006638,
0.0013541396474465728,
-0.05811856687068939,
-0.021825414150953293,
-0.05610228329896927,
0.009400492534041405,
-0.0008395665790885687,
-0.019915249198675156,
0.04690518602728844,
-0.05037178471684456,
-0.0020063375122845173,
-0.008051879703998566,
-0.018270384520292282,
-0.057234231382608414,
0.012495668604969978,
-0.011531742289662361,
0.020428163930773735,
-0.014936436899006367,
-0.01697925291955471,
0.030456535518169403,
0.02219683676958084,
0.004969968926161528,
-0.030032053589820862,
-0.014715353026986122,
-0.004023729357868433,
-0.006358376704156399,
-0.006765170954167843,
-0.008458674885332584,
0.00524411303922534,
-0.001863738289102912,
-0.00763624208047986,
0.044605910778045654,
-0.0471881739795208,
-0.011195695027709007,
-0.007220603991299868,
-0.006725376006215811,
0.02918309159576893,
-0.036540769040584564,
-0.00751243531703949,
0.05306016653776169,
0.06292935460805893,
0.015714652836322784,
0.027113744989037514,
0.04191753268241882,
-0.06374294310808182,
0.04099782183766365,
-0.06515788286924362,
0.003508603433147073,
-0.014167063869535923,
0.002493827836588025,
-0.03158848360180855,
0.0058277747593820095,
-0.03912302851676941,
-0.008264120668172836,
-0.017226867377758026,
-0.004638342652469873,
-0.03585098683834076,
-0.00925015565007925,
-0.018747925758361816,
-0.0007621871773153543,
0.06922583281993866,
-0.027042998000979424,
-0.09876265376806259,
-0.015210581012070179,
-0.07895352691411972,
0.0018139943713322282,
0.020339729264378548,
-0.01922546699643135,
-0.01784590259194374,
-0.056632883846759796,
0.0776800811290741,
0.016439808532595634,
0.009197095409035683,
0.031022509559988976,
0.014786099083721638,
0.07994398474693298,
0.004202807322144508,
-0.0341353714466095,
0.04832012578845024,
0.0060886540450155735,
0.023558713495731354,
0.010682780295610428,
-0.007397471461445093,
0.023028111085295677,
-0.0696856826543808,
-0.008374663069844246,
0.005208739545196295,
-0.040750205516815186,
-0.014724195934832096,
-0.0246729776263237,
0.011690923012793064,
0.028316441923379898,
0.04987655580043793,
-0.060276348143815994,
-0.028793983161449432,
-0.01205350086092949,
0.06066545471549034,
-0.0036036695819348097,
-0.014529641717672348,
-0.04637458547949791,
0.03876929357647896,
0.000534470600541681,
-0.0660775899887085,
-0.02387707494199276,
-0.07626514136791229,
-0.05702199041843414,
-0.000698072777595371,
-0.04775414988398552,
-0.0011496369261294603,
0.02147168107330799,
0.024000881239771843,
0.00613287091255188,
0.0027635502628982067,
-0.006336268037557602,
-0.023134231567382812,
-0.008113783784210682,
-0.005076089408248663,
-0.03091638907790184,
-0.04821400344371796,
0.06590072810649872,
0.024690663442015648,
-0.025433506816625595,
-0.08765539526939392,
0.012575259432196617,
0.03158848360180855,
0.027272924780845642,
-0.015918049961328506,
0.019826814532279968,
0.0185003113001585,
0.0384863056242466,
-0.0038977114018052816,
-0.01821732334792614,
0.021294813603162766,
-0.0522465780377388,
-0.03157079964876175,
0.03983049839735031,
0.012681379914283752,
-0.013105860911309719,
0.02640627510845661,
-0.009373962879180908,
-0.057870954275131226,
-0.019685320556163788,
0.0027060683351010084,
-0.0008439882658421993,
0.026512395590543747,
-0.009024649858474731,
-0.006690002512186766,
-0.05291867256164551,
-0.03342790529131889,
0.01844725012779236,
0.028652489185333252,
0.02221452258527279,
0.01114263478666544,
-0.04587935656309128,
0.018111202865839005,
-0.026813071221113205,
0.022886618971824646,
-0.06696192920207977,
-0.053307779133319855,
0.028758609667420387,
-0.004072367679327726,
-0.01610375940799713,
-0.030969450250267982,
-0.036753006279468536,
0.03077489696443081,
-0.009329745545983315,
0.032702747732400894,
0.009957624599337578,
-0.09847966581583023,
0.03332178294658661,
0.04435829818248749,
0.05451047793030739,
-0.019632261246442795,
0.06724491715431213,
-0.004092265386134386,
0.017898961901664734,
0.06618371605873108,
-0.06947344541549683,
0.03157079964876175,
-0.03316260501742363,
0.025875674560666084,
-0.07301078736782074,
-0.04630383849143982,
0.026158662512898445,
-0.0646272823214531,
0.10555435717105865,
-0.003265411127358675,
-0.005018607247620821,
0.021171005442738533,
0.02707837149500847,
0.04432292655110359,
0.02272743731737137,
-0.088504359126091,
0.05256493762135506,
-0.06759864836931229,
-0.1022999957203865,
0.01996830850839615,
-0.014308557845652103,
-0.012460295110940933,
-0.014503112062811852,
0.050619397312402725,
0.018235011026263237,
-0.03273812308907509,
-0.03859242796897888,
0.014971810393035412,
-0.04181141033768654,
0.01502487063407898,
-0.029041597619652748,
-0.031110944226384163,
0.0012347542215138674,
-0.007826374843716621,
-0.030527282506227493,
0.03947676345705986,
-0.04025498032569885,
-0.0529894195497036,
0.0004073473101016134,
0.006115184165537357,
0.017881276085972786,
-0.017315300181508064,
-0.0043398793786764145,
0.05695124343037605,
0.07301078736782074,
-0.03201296553015709,
0.032472822815179825,
0.0012071187375113368,
-0.015617375262081623,
-0.010567815974354744,
0.008379084058105946,
-0.02272743731737137,
-0.029572198167443275,
0.04704668000340462,
0.03664688766002655,
-0.02555731311440468,
0.023894760757684708,
0.045171886682510376,
0.00798555463552475,
0.03622240573167801,
-0.01931389980018139,
0.0025844722986221313,
-0.030208921059966087,
-0.03424149379134178,
-0.0355679988861084,
0.05376763269305229,
0.008202217519283295,
-0.009992998093366623,
0.003782747546210885,
-0.02062271721661091,
-0.005845461506396532,
-0.023983195424079895,
-0.03040347434580326,
-0.007923651486635208,
-0.05260030925273895,
-0.052281949669122696,
-0.0486031100153923,
0.040891699492931366,
-0.03671763464808464,
-0.05564242601394653,
0.03838018700480461,
0.02308117225766182,
-0.008609011769294739,
0.04998267441987991,
-0.010187551379203796,
-0.0703931525349617,
0.031146317720413208,
0.009117505513131618,
-0.059462759643793106,
0.032685063779354095,
-0.020428163930773735,
0.0037915909197181463,
0.01175282709300518,
0.06703267246484756,
0.031252436339855194,
-0.013017427176237106,
-0.015643905848264694,
-0.015122147276997566,
-0.050548650324344635,
-0.04039647430181503,
-0.03070414997637272,
0.0056243776343762875,
0.0021522529423236847,
-0.035231951624155045,
-0.011814730241894722,
0.016970409080386162,
0.008976011537015438,
-0.0631062239408493,
-0.027202177792787552,
0.03678838163614273,
0.015422821044921875,
0.013265041634440422,
-0.008069566451013088,
-0.04796639084815979,
0.02430155500769615,
-0.013857546262443066,
0.01004605833441019,
0.01299089752137661,
0.055111825466156006,
-0.014131690375506878,
0.004459264688193798,
0.027202177792787552,
0.02009211666882038,
-0.007667194120585918,
0.04166991636157036,
0.039441388100385666,
-0.03176535293459892,
0.01590036228299141,
-0.02808651514351368,
0.0002735914895310998,
0.0012822872959077358,
0.07930725812911987,
-0.026936877518892288,
-0.022585943341255188,
0.0203220434486866,
0.017474481835961342,
-0.022409075871109962,
-0.016660891473293304,
0.023222666233778,
-0.032561253756284714,
-0.05348464846611023,
0.02416006289422512,
-0.04577323794364929,
-0.029430706053972244,
-0.020481223240494728,
-0.0993993803858757,
0.024796783924102783,
0.0004112162860110402,
0.0035483986139297485,
0.02235601656138897,
0.006327424664050341,
0.028687862679362297,
0.10173402726650238,
0.004872691817581654,
0.013937137089669704,
0.041033193469047546,
-0.03332178294658661,
0.02953682467341423,
-0.019101658836007118,
-0.006473340094089508,
0.024124689400196075,
0.019420020282268524,
-0.0006969673559069633,
0.0077114105224609375,
-0.03461291640996933,
0.09175871312618256,
-0.04545487463474274,
-0.03178304061293602,
-0.003422380657866597,
0.0370359942317009,
0.013521499000489712,
-0.03236670047044754,
0.009701167233288288,
-0.020728837698698044,
0.002445189282298088,
0.0515391081571579,
-0.024549169465899467,
0.08333983272314072,
-0.06345995515584946,
0.009099818766117096,
-0.033339470624923706,
-0.058967530727386475,
-0.03199528157711029,
-0.050336409360170364,
-0.002971369307488203,
-0.013026271015405655,
-0.011805886402726173,
-0.025079771876335144,
0.032189834862947464,
0.019331587478518486,
0.04166991636157036,
-0.004021518398076296,
0.031252436339855194,
0.01973838172852993,
0.0034400674048811197,
0.031376246362924576,
0.0025115145836025476,
0.032667376101017,
0.0037672717589884996,
-0.012292271479964256,
0.01429971493780613,
0.08673568069934845,
-0.03986587002873421,
-0.05500570684671402,
0.00606212392449379,
0.011575959622859955,
-0.015254797413945198,
0.012292271479964256,
0.016970409080386162,
0.008392349816858768,
-0.012062344700098038,
-0.008803565986454487,
-0.0002832639147527516,
-0.012787499465048313,
-0.03252588212490082,
-0.03954751044511795,
-0.062292635440826416,
0.07385975122451782,
-0.0006107446388341486,
0.06809388101100922,
0.02474372461438179,
0.022532884031534195
] |
10,274 | collections | copy | Return a shallow copy. | def copy(self):
'Return a shallow copy.'
return self.__class__(self)
| (self) | [
-0.008017458952963352,
-0.014162550680339336,
0.061371054500341415,
-0.0061007230542600155,
-0.10534950345754623,
0.001977743348106742,
-0.008430089801549911,
0.03572583198547363,
0.07141616940498352,
0.006264887750148773,
-0.02264588326215744,
-0.02793465554714203,
-0.03583231940865517,
0.07063528150320053,
-0.026621336117386818,
0.008731798268854618,
0.00019425257050897926,
-0.014402142725884914,
0.007564896252006292,
-0.0031213515903800726,
0.00925535149872303,
-0.019628798589110374,
0.035104669630527496,
0.034004319459199905,
-0.005594917573034763,
0.03304595127701759,
-0.010994612239301205,
0.002258376684039831,
0.023976949974894524,
0.0042083896696567535,
-0.007223255932331085,
-0.04081938415765762,
-0.0024047940969467163,
0.020995359867811203,
0.032761991024017334,
-0.019469071179628372,
-0.05739559978246689,
0.05079350993037224,
-0.023267047479748726,
-0.0256984643638134,
-0.029940130189061165,
-0.052000343799591064,
-0.018705924972891808,
0.002948313020169735,
0.01789841242134571,
0.015511365607380867,
0.01872367411851883,
-0.005483995191752911,
0.010657408274710178,
-0.04149378836154938,
0.016833558678627014,
0.056650202721357346,
-0.03405756130814552,
0.017259499058127403,
-0.020516175776720047,
0.028342848643660545,
0.06016422063112259,
0.02685205452144146,
-0.05306519567966461,
0.0559048056602478,
-0.045753203332424164,
-0.0017359330086037517,
0.04348151758313179,
-0.07375884801149368,
0.000007006298801570665,
-0.021616525948047638,
-0.07276498526334763,
-0.016975538805127144,
0.051432423293590546,
0.013550260104238987,
-0.021971477195620537,
0.018475206568837166,
0.010932495817542076,
0.05292321741580963,
0.0076358867809176445,
0.013186435215175152,
0.005874441470950842,
0.015085424296557903,
0.013062202371656895,
-0.06346526741981506,
-0.0224151648581028,
-0.016336627304553986,
-0.06541749835014343,
0.04195522516965866,
-0.04571770876646042,
0.001412040088325739,
-0.01724175177514553,
-0.032832980155944824,
-0.0008058500243350863,
0.014233541674911976,
-0.0037114580627530813,
0.07929608970880508,
-0.03652447462081909,
0.00538638373836875,
0.04717300832271576,
0.003640467766672373,
-0.045185282826423645,
-0.004168457817286253,
0.017800800502300262,
0.04426240921020508,
-0.03812175244092941,
0.06495606154203415,
-0.08412342518568039,
-0.011296320706605911,
0.021510040387511253,
0.023639746010303497,
0.013692241162061691,
-0.03971903398633003,
-0.03585006669163704,
0.00738742109388113,
-0.009734535589814186,
0.0635717511177063,
-0.038441210985183716,
0.029638420790433884,
0.020285459235310555,
-0.03797977417707443,
-0.020143477246165276,
-0.022610388696193695,
0.029744906350970268,
0.03345414623618126,
0.021155089139938354,
0.02017897367477417,
-0.013665619306266308,
0.019948255270719528,
0.023054078221321106,
0.028271859511733055,
0.020888876169919968,
-0.048521824181079865,
-0.011402805335819721,
-0.03897363692522049,
-0.00984102115035057,
-0.025751706212759018,
-0.013905211351811886,
0.06044818088412285,
0.025858191773295403,
-0.0032633321825414896,
-0.02482883259654045,
0.03025958500802517,
-0.0034763028379529715,
0.0253435131162405,
-0.004751908592879772,
-0.015271773561835289,
0.09967028349637985,
0.08816986531019211,
-0.007422916125506163,
-0.04071289673447609,
0.00401094788685441,
0.06300383061170578,
0.00022420156165026128,
0.046640582382678986,
0.022024719044566154,
0.05175187811255455,
0.04703102633357048,
0.021705262362957,
-0.06669532507658005,
0.012618513777852058,
-0.05260376259684563,
-0.05058053880929947,
-0.0044013941660523415,
-0.02511279471218586,
-0.0279524028301239,
-0.00443467078730464,
0.042274683713912964,
-0.055123914033174515,
0.011101096868515015,
-0.0026643520686775446,
0.03272649645805359,
-0.057147134095430374,
-0.004075282718986273,
0.010914747603237629,
-0.017614450305700302,
-0.027668442577123642,
0.004195078741759062,
0.027561957016587257,
-0.04160027578473091,
0.03840571641921997,
0.004494568798691034,
0.021066350862383842,
-0.011713388375937939,
-0.005466247908771038,
0.00849220622330904,
-0.03979002311825752,
-0.06232942268252373,
0.028112132102251053,
0.0583539679646492,
-0.020480681210756302,
0.0038778414018452168,
0.04259413853287697,
0.054839953780174255,
0.058176495134830475,
-0.000046275370550574735,
0.01556460838764906,
0.04142279922962189,
-0.017037656158208847,
-0.014712724834680557,
-0.06687279790639877,
-0.054626982659101486,
-0.035317640751600266,
-0.04454636946320534,
0.09917335212230682,
-0.03947056829929352,
-0.00984102115035057,
0.04294908791780472,
-0.01820899359881878,
0.021137341856956482,
-0.00141536770388484,
-0.031253449618816376,
-0.0016582873649895191,
0.020374195650219917,
-0.006082975305616856,
-0.0033431961201131344,
0.005071364808827639,
0.04312656447291374,
-0.006371373310685158,
0.024988561868667603,
-0.05118395760655403,
-0.00015529112715739757,
-0.06754720211029053,
0.015254025347530842,
0.023923708125948906,
0.03107597306370735,
0.002204024698585272,
-0.09640473127365112,
0.01672707311809063,
-0.043410524725914,
-0.002486876444891095,
-0.02236192300915718,
-0.07017384469509125,
-0.009663545526564121,
-0.06413967162370682,
0.016806937754154205,
-0.0371633842587471,
0.012538649141788483,
-0.0406419076025486,
0.03033057600259781,
-0.021527787670493126,
-0.01618577167391777,
-0.0023049640003591776,
-0.01175775658339262,
-0.0070147220976650715,
-0.02017897367477417,
-0.0012301276437938213,
0.08398143947124481,
0.04987063631415367,
0.027384482324123383,
-0.031750380992889404,
-0.046924542635679245,
0.016363248229026794,
0.03004661574959755,
-0.0036914919037371874,
0.00752940122038126,
-0.038938142359256744,
-0.07425577938556671,
0.011766631156206131,
0.04603716358542442,
0.009938632138073444,
-0.030969487503170967,
-0.058531444519758224,
-0.0165850929915905,
0.021243825554847717,
0.01092362217605114,
0.01386084221303463,
0.06453011929988861,
-0.01346152275800705,
-0.06055466830730438,
-0.013638998381793499,
-0.04209720715880394,
0.011349563486874104,
-0.0198062751442194,
0.05792802944779396,
0.13942481577396393,
0.030933992937207222,
0.008061828091740608,
0.06293284147977829,
-0.06133555993437767,
-0.060199715197086334,
-0.041777752339839935,
0.029194733127951622,
-0.028271859511733055,
-0.032992709428071976,
0.013949580490589142,
0.04397844895720482,
0.002130816224962473,
-0.06034169718623161,
-0.0286623053252697,
-0.02229093201458454,
0.01684243232011795,
0.002351551316678524,
-0.008097323589026928,
-0.02546774595975876,
0.01205059140920639,
0.02229093201458454,
0.03652447462081909,
-0.038157250732183456,
0.048805784434080124,
0.003407530952244997,
-0.08028995245695114,
-0.001302227028645575,
0.0027885849121958017,
0.02482883259654045,
0.010728398337960243,
-0.03434152528643608,
-0.028555819764733315,
0.07588855922222137,
-0.022983087226748466,
-0.002966060535982251,
-0.024935318157076836,
0.01858169212937355,
0.011819873005151749,
0.04763444513082504,
0.015511365607380867,
-0.0017215131083503366,
-0.0066997031681239605,
0.07716637849807739,
-0.006899362895637751,
-0.04266512766480446,
0.04245215654373169,
0.011260825209319592,
0.018475206568837166,
0.046356622129678726,
-0.07067077606916428,
-0.03434152528643608,
0.00046310032485052943,
-0.01698441244661808,
0.030383817851543427,
0.011775504797697067,
-0.006988100707530975,
0.03638249263167381,
-0.009450574405491352,
0.021226078271865845,
-0.006899362895637751,
0.04294908791780472,
0.038157250732183456,
0.04458186402916908,
-0.03345414623618126,
-0.03448350355029106,
-0.004410268273204565,
-0.019540060311555862,
-0.020853379741311073,
-0.04433339834213257,
0.055123914033174515,
0.036985911428928375,
0.0170997716486454,
-0.07475271075963974,
-0.013523639179766178,
0.022770116105675697,
-0.03680843487381935,
0.044155921787023544,
-0.025290269404649734,
-0.04298458620905876,
0.009965253993868828,
-0.004680918529629707,
0.0211905837059021,
0.015475870110094547,
0.02793465554714203,
0.004252758342772722,
-0.021900486201047897,
0.026905298233032227,
-0.027544209733605385,
-0.04972865805029869,
0.06335878372192383,
-0.00077146413968876,
-0.025095045566558838,
-0.028396092355251312,
0.05274574086070061,
0.026106657460331917,
-0.0356193482875824,
-0.03622276335954666,
-0.08426540344953537,
-0.04245215654373169,
-0.03180362284183502,
-0.004345932975411415,
-0.02010798268020153,
-0.06648235023021698,
-0.002105304040014744,
-0.03854769468307495,
-0.0722680538892746,
0.0018169062677770853,
-0.04529176652431488,
0.053739603608846664,
0.08717600256204605,
-0.015396006405353546,
-0.05136143043637276,
0.015076550655066967,
0.0262131430208683,
-0.009228729642927647,
0.0103379525244236,
-0.0145884919911623,
0.05760857090353966,
0.03485620394349098,
-0.036169521510601044,
-0.03964804485440254,
-0.031537409871816635,
0.028573567047715187,
-0.012352299876511097,
-0.0005601572920568287,
-0.02314281463623047,
0.030685527250170708,
-0.048592813313007355,
-0.005071364808827639,
0.04302008077502251,
0.015200783498585224,
0.007777866907417774,
-0.028839781880378723,
-0.037553831934928894,
0.0006943732150830328,
0.054839953780174255,
0.02040969207882881,
0.01556460838764906,
-0.05771505832672119,
0.00237817270681262,
-0.023994697257876396,
-0.016718199476599693,
-0.008279236033558846,
0.01966429315507412,
-0.05086449906229973,
0.07311993837356567,
-0.024260912090539932,
0.03196335211396217,
0.005528364330530167,
0.0033942204900085926,
0.036843929439783096,
-0.00969016645103693,
-0.0009350744658149779,
0.007511653937399387,
0.010586418211460114,
-0.03249577805399895,
0.05370410904288292,
-0.007010285276919603,
-0.010169350542128086,
0.00591437378898263,
0.0035140165127813816,
-0.008230430074036121,
0.005568296182900667,
0.045540232211351395,
-0.03448350355029106,
0.0009616957977414131,
-0.026514850556850433,
0.021439049392938614,
0.08589817583560944,
0.009157739579677582,
-0.045114289969205856,
0.018759168684482574,
-0.047208502888679504,
-0.0015606757951900363,
-0.03128894418478012,
-0.023994697257876396,
0.00449900608509779,
0.005790140479803085,
-0.029744906350970268,
0.05050954967737198,
0.05608228221535683,
0.04710201919078827,
-0.030508050695061684,
-0.03663095831871033,
-0.010826010257005692,
-0.045398253947496414,
-0.04869929701089859,
0.00449900608509779,
0.018705924972891808,
0.007245440501719713,
0.011376184411346912,
0.04522077739238739,
-0.004363680724054575,
-0.011438300833106041,
-0.0359388031065464,
0.01902538165450096,
0.008771730586886406,
0.004359243903309107,
0.026585841551423073,
0.08085787296295166,
-0.03423503786325455,
-0.006105159875005484,
-0.07390082627534866,
0.00994750577956438,
0.0056437235325574875,
-0.03861868381500244,
-0.031466420739889145,
0.00007944805111037567,
-0.005967616103589535,
-0.06257788836956024,
-0.015183035284280777,
0.01764107309281826,
0.03556610643863678,
-0.027526462450623512,
0.010000748559832573,
0.015218530781567097,
0.0020598259288817644,
0.04756345599889755,
0.04763444513082504,
-0.03986101597547531,
0.05920585244894028,
-0.0951269119977951,
0.0099031375721097,
-0.0170997716486454,
0.013949580490589142,
-0.03448350355029106,
0.03020634315907955,
0.0017004378605633974,
-0.03829922899603844,
0.00041595837683416903,
-0.010204846039414406,
-0.015049928799271584,
0.015892937779426575,
-0.0005010911845602095,
0.006007548421621323,
0.0014552996726706624,
-0.022042466327548027,
-0.027260247617959976,
-0.016318880021572113,
-0.006158402655273676,
-0.008106197230517864,
-0.041919730603694916,
0.02489982359111309,
0.013479270040988922,
-0.033489640802145004,
-0.06825710833072662,
0.0028595752082765102,
0.002837390871718526,
-0.05349113792181015,
0.05306519567966461,
0.04472384601831436,
-0.020800137892365456,
-0.05721812695264816,
-0.048876773566007614,
-0.017002159729599953,
0.012618513777852058,
0.01795165427029133,
0.04181324690580368,
-0.0013798725558444858,
-0.02562747336924076,
-0.04589518532156944,
-0.007666944991797209,
0.042629633098840714,
0.013346163555979729,
0.015280647203326225,
-0.053952574729919434,
-0.010870379395782948,
0.016097035259008408,
0.007875478826463223,
-0.017144139856100082,
-0.015875190496444702,
0.04795389994978905,
0.0006411304930225015,
-0.03224731236696243,
0.040890373289585114,
-0.01975303143262863,
-0.004867267794907093,
-0.05917035788297653,
0.0025179346557706594,
0.010400068946182728,
-0.05508841946721077,
-0.006770693231374025,
0.007010285276919603,
0.024509377777576447,
0.021705262362957,
0.009619176387786865,
0.014348899945616722,
0.03797977417707443,
0.03230055421590805,
0.04145829379558563,
-0.051219452172517776,
0.052071332931518555,
-0.02960292622447014,
-0.04117433354258537,
0.014198046177625656,
0.011660145595669746,
0.08206470310688019,
-0.017720935866236687,
-0.017463596537709236,
0.031537409871816635,
0.027757180854678154,
0.027277996763586998,
0.043410524725914,
0.027597451582551003,
0.05576282739639282,
0.02424316294491291,
0.034359272569417953,
-0.02142130210995674,
-0.020800137892365456,
-0.0006128453533165157,
0.02504180371761322,
-0.022379670292139053,
-0.025432249531149864,
-0.08071589469909668,
-0.03868967667222023,
-0.020480681210756302,
-0.020214468240737915,
0.008150565437972546,
-0.05420104041695595,
0.029301216825842857,
0.08660808205604553,
-0.007201071362942457,
-0.014508628286421299,
-0.0075382753275334835,
-0.03583231940865517,
-0.016017170622944832,
-0.05909936875104904,
-0.005080238450318575,
0.04926722124218941,
0.009073439054191113,
0.04461735859513283,
0.04465285316109657,
0.01234342623502016,
-0.01313319243490696,
-0.008088449016213417,
-0.027100520208477974,
-0.04049992561340332,
0.03366711735725403,
0.00015473652456421405,
0.00778230419382453,
-0.0198062751442194,
0.015049928799271584,
-0.07837321609258652,
0.0058833155781030655,
-0.009610302746295929,
-0.0756755843758583,
0.031235702335834503,
-0.06836359202861786,
0.023781727999448776,
-0.014650608412921429,
0.002735342364758253,
-0.01675369404256344,
0.01234342623502016,
-0.037908781319856644,
-0.04152928665280342,
-0.0009323013946413994,
-0.002708720974624157,
0.006744071841239929,
0.011527039110660553,
0.023355785757303238,
-0.057679563760757446,
0.02482883259654045,
-0.02947869338095188,
0.013195308856666088,
0.024580366909503937,
0.014260162599384785,
0.027100520208477974,
0.002974934410303831,
0.09384908527135849,
0.00613178126513958,
-0.017348237335681915,
-0.015413753688335419,
0.003784666769206524,
-0.12607865035533905,
-0.0826326310634613,
-0.005342015065252781,
-0.0396125502884388,
-0.026035666465759277,
-0.037553831934928894,
-0.07145166397094727,
0.05601129308342934,
0.03025958500802517,
0.04529176652431488,
-0.003642686177045107,
-0.009681292809545994,
0.02257489413022995,
0.042345672845840454,
0.025520987808704376,
-0.010284709744155407,
0.00656659621745348,
0.037269871681928635,
0.0015518020372837782,
-0.012121581472456455,
0.08795689791440964,
0.058034513145685196,
0.0020720274187624454,
-0.014402142725884914,
-0.004372554365545511,
0.011748882941901684,
-0.053384654223918915,
0.015724336728453636,
-0.0826326310634613,
-0.0033875650260597467,
-0.06211645156145096,
-0.00886934157460928,
0.020001497119665146,
-0.007875478826463223,
-0.009415078908205032,
-0.024207668378949165,
-0.0033720359206199646,
0.03446575626730919,
0.0034496814478188753,
-0.030454808846116066,
-0.012165950611233711,
0.07652746886014938,
-0.01914961449801922,
-0.01074614655226469,
-0.03840571641921997,
-0.05097098648548126,
-0.004627675749361515,
0.006912673823535442,
0.018492955714464188,
0.04784741625189781,
0.027774928137660027,
0.05870892107486725,
-0.05909936875104904,
-0.09399106353521347,
0.0072543141432106495,
0.003948831465095282,
0.028786538168787956,
-0.007285372354090214,
0.002495750319212675,
0.025716211646795273,
0.02793465554714203,
0.014056066051125526,
-0.032921720296144485,
0.04049992561340332,
0.03180362284183502,
-0.006043043453246355,
0.03868967667222023,
0.06584344059228897,
0.055691834539175034,
0.05001261830329895,
0.033063698559999466,
-0.05814100056886673,
0.021243825554847717,
-0.03357837721705437,
-0.021616525948047638,
0.01030245702713728,
-0.0077334982343018055,
-0.037482842803001404,
0.06829260289669037,
0.0256984643638134,
0.038512200117111206,
0.08206470310688019,
0.01661171391606331,
-0.05750208720564842,
-0.008687429130077362,
-0.02292984537780285,
0.00566147081553936,
0.041032351553440094,
0.011846494860947132,
0.015813073143363,
0.04131631553173065,
-0.031910110265016556,
0.009761156514286995,
0.02903500385582447,
-0.002855138387531042,
0.029301216825842857,
0.0007908755214884877,
-0.014251288957893848,
0.029123742133378983,
0.056792184710502625,
-0.10875703394412994,
-0.06243590638041496,
0.043410524725914,
0.023249300196766853,
0.006047480273991823,
-0.02947869338095188,
0.0009811071213334799,
-0.00972566194832325,
0.019078625366091728,
0.024296406656503677,
0.03151966258883476,
0.005377510096877813,
-0.018031518906354904,
-0.016931170597672462,
0.015014433301985264,
-0.023409027606248856,
-0.020427439361810684,
-0.04969315975904465,
0.030738769099116325,
0.0559048056602478,
-0.002819643123075366,
0.046853553503751755,
0.0736168697476387,
0.015733210369944572
] |
10,275 | collections | elements | Iterator over elements repeating each as many times as its count.
>>> c = Counter('ABCABC')
>>> sorted(c.elements())
['A', 'A', 'B', 'B', 'C', 'C']
# Knuth's example for prime factors of 1836: 2**2 * 3**3 * 17**1
>>> prime_factors = Counter({2: 2, 3: 3, 17: 1})
>>> product = 1
>>> for factor in prime_factors.elements(): # loop over factors
... product *= factor # and multiply them
>>> product
1836
Note, if an element's count has been set to zero or is a negative
number, elements() will ignore it.
| def elements(self):
'''Iterator over elements repeating each as many times as its count.
>>> c = Counter('ABCABC')
>>> sorted(c.elements())
['A', 'A', 'B', 'B', 'C', 'C']
# Knuth's example for prime factors of 1836: 2**2 * 3**3 * 17**1
>>> prime_factors = Counter({2: 2, 3: 3, 17: 1})
>>> product = 1
>>> for factor in prime_factors.elements(): # loop over factors
... product *= factor # and multiply them
>>> product
1836
Note, if an element's count has been set to zero or is a negative
number, elements() will ignore it.
'''
# Emulate Bag.do from Smalltalk and Multiset.begin from C++.
return _chain.from_iterable(_starmap(_repeat, self.items()))
| (self) | [
0.036445941776037216,
-0.048164002597332,
-0.047462765127420425,
0.016128482297062874,
0.04797946661710739,
0.04288626089692116,
-0.007616740185767412,
-0.053257208317518234,
0.08806077390909195,
0.03506191819906235,
-0.02568746916949749,
-0.012982136569917202,
0.005739082582294941,
0.04033965989947319,
-0.031168200075626373,
-0.032423049211502075,
-0.018186062574386597,
-0.005263901315629482,
-0.05823969095945358,
0.05458587035536766,
0.0051070451736450195,
0.03556016460061073,
0.02208900824189186,
0.07396219670772552,
-0.03264449164271355,
0.03317964822053909,
0.043255336582660675,
-0.03006098046898842,
-0.010084914974868298,
0.0070631313137710094,
-0.013914044946432114,
0.01622997783124447,
-0.04609719663858414,
-0.030208609998226166,
0.011801103129982948,
-0.0236944742500782,
-0.017604773864150047,
0.021332409232854843,
0.010813834145665169,
0.034655939787626266,
0.0667283684015274,
0.018306011334061623,
0.05716938152909279,
-0.022919422015547752,
0.007312255445867777,
-0.008654757402837276,
0.11662701517343521,
0.033604081720113754,
0.018711991608142853,
-0.08562489598989487,
0.008105762302875519,
0.018536683171987534,
0.0062096500769257545,
-0.04587575048208237,
0.019191786646842957,
0.05495494231581688,
-0.028824588283896446,
-0.033013563603162766,
-0.04495307058095932,
0.06816775351762772,
-0.05292504280805588,
-0.04923431575298309,
0.05155947431921959,
-0.03496965020895004,
0.02243962697684765,
-0.02967345528304577,
-0.007376843132078648,
-0.0051070451736450195,
0.030540775507688522,
0.006357279140502214,
0.023786744102835655,
-0.010998370125889778,
-0.01193950604647398,
0.0005513025098480284,
-0.027791183441877365,
-0.0013471158454194665,
-0.013175900094211102,
0.06004814803600311,
0.054069168865680695,
-0.05742773041129112,
0.0034646710846573114,
0.04934503510594368,
-0.03716563433408737,
0.0014855180634185672,
0.05477040633559227,
0.01435693260282278,
-0.0028949149418622255,
-0.0008240704191848636,
-0.02710839919745922,
0.10776926577091217,
0.00022793130483478308,
0.002360912738367915,
0.030817581340670586,
0.029396649450063705,
-0.013203579932451248,
0.01225321739912033,
-0.06897971034049988,
-0.005402303300797939,
0.03216469660401344,
0.02729293517768383,
-0.008050400763750076,
0.021775295957922935,
0.0044934614561498165,
-0.00811037514358759,
0.023380763828754425,
0.011099864728748798,
-0.03838357329368591,
-0.0593838170170784,
0.055102571845054626,
0.018139928579330444,
0.0035108053125441074,
0.08119601756334305,
0.003266294486820698,
-0.0036307538393884897,
-0.037239447236061096,
-0.007639807183295488,
0.0006251170998439193,
-0.032386139035224915,
0.02947046421468258,
0.015565645880997181,
-0.039822958409786224,
0.009734295308589935,
0.0025835097767412663,
0.03736862167716026,
0.01743869110941887,
-0.01543647050857544,
-0.03893718123435974,
0.0007467957912012935,
-0.027256028726696968,
0.0023643728345632553,
0.06396032124757767,
0.0054161436855793,
0.06897971034049988,
0.020778799429535866,
0.0077828229404985905,
-0.029212113469839096,
0.06842610239982605,
-0.027200667187571526,
-0.03546789661049843,
0.06761413812637329,
0.010490895248949528,
0.008548649027943611,
0.0073537761345505714,
0.09669707715511322,
-0.028953762724995613,
-0.04997245967388153,
0.029175207018852234,
0.0014589909696951509,
-0.02808644250035286,
0.019597766920924187,
-0.03469284623861313,
0.02886149473488331,
0.07905539870262146,
0.023620661348104477,
0.008645530790090561,
-0.002576589584350586,
-0.0017727029044181108,
0.016728226095438004,
-0.017392557114362717,
-0.041815951466560364,
0.0067909397184848785,
0.033788617700338364,
-0.03696264326572418,
0.0813436508178711,
0.002717298688367009,
0.010712338611483574,
-0.01244698092341423,
-0.01473523210734129,
0.009296021424233913,
-0.04166832193732262,
0.0186658576130867,
-0.07178466022014618,
-0.0018545909551903605,
-0.003118665423244238,
-0.014098581857979298,
0.02506004460155964,
0.0020933349151164293,
0.024930868297815323,
0.06975476443767548,
0.016359152272343636,
-0.039010997861623764,
-0.03325346112251282,
-0.0473889485001564,
-0.04019203037023544,
0.009157619439065456,
0.02148003876209259,
0.04790565371513367,
0.009983419440686703,
0.0021187085658311844,
-0.033585626631975174,
0.006394186522811651,
-0.027754276990890503,
0.010970689356327057,
0.05203926935791969,
-0.029046030715107918,
-0.025595199316740036,
-0.05318339541554451,
-0.04270172491669655,
-0.01967158168554306,
0.037626974284648895,
-0.0910133570432663,
-0.03572624921798706,
0.007109265308827162,
-0.002816486870869994,
0.06233640015125275,
0.0293043814599514,
-0.013784869574010372,
-0.04037656635046005,
-0.012520795688033104,
-0.027385203167796135,
0.008562489412724972,
-0.053515560925006866,
0.023417670279741287,
0.018333692103624344,
-0.020944882184267044,
-0.007270734757184982,
-0.0005464007845148444,
-0.07141558825969696,
0.010057234205305576,
-0.04757348820567131,
0.01804766058921814,
0.026407159864902496,
-0.03997058793902397,
-0.03915862739086151,
-0.020538901910185814,
0.0026550176553428173,
0.008064241148531437,
0.031223561614751816,
-0.07809580862522125,
0.015704048797488213,
0.006223490461707115,
0.03653820976614952,
0.0272744819521904,
0.0036330604925751686,
0.001018987037241459,
-0.04026584327220917,
-0.017918486148118973,
0.0293043814599514,
0.027606647461652756,
-0.004447327461093664,
-0.01536265667527914,
-0.007759755942970514,
0.03194325417280197,
0.04351368546485901,
-0.04949266463518143,
0.018195290118455887,
-0.030042527243494987,
0.07152631133794785,
0.0006816313834860921,
0.022181276232004166,
-0.026739325374364853,
-0.02550293132662773,
0.00447039445862174,
-0.04749967157840729,
0.06539970636367798,
-0.025207674130797386,
-0.015048944391310215,
-0.015215027146041393,
0.024321898818016052,
0.009153005667030811,
0.0609339214861393,
0.017780082300305367,
0.026628604158759117,
0.05259287729859352,
0.024580249562859535,
0.029249021783471107,
0.005111658480018377,
0.014698324725031853,
-0.03716563433408737,
0.07226445525884628,
0.00033850898034870625,
-0.027163758873939514,
0.04067182540893555,
0.016571369022130966,
-0.05953144654631615,
0.006246557459235191,
-0.017613999545574188,
0.08887273818254471,
-0.03985986486077309,
-0.0030863715801388025,
-0.016589824110269547,
0.023583753034472466,
-0.046466268599033356,
-0.023380763828754425,
-0.02987644448876381,
-0.00002908610986196436,
-0.020797252655029297,
0.026942316442728043,
0.02729293517768383,
-0.02367602102458477,
0.04174213483929634,
-0.0059190052561461926,
-0.01403399370610714,
-0.07071435451507568,
0.0029710361268371344,
-0.040819454938173294,
-0.00400674669072032,
-0.04569121450185776,
0.02188601903617382,
0.030577683821320534,
0.023528391495347023,
-0.06894280016422272,
-0.06739269942045212,
0.018306011334061623,
-0.014615283347666264,
0.040598008781671524,
0.07385147362947464,
0.027200667187571526,
-0.008899268694221973,
0.024746332317590714,
-0.0011141386348754168,
0.045026883482933044,
-0.04897596314549446,
0.009457491338253021,
0.015168893150985241,
-0.060491036623716354,
-0.014670644886791706,
-0.0006568342796526849,
-0.013821776956319809,
0.02629643864929676,
0.02387901209294796,
0.034582123160362244,
-0.010214090347290039,
0.03175871819257736,
-0.0606386661529541,
0.08370571583509445,
0.03397315368056297,
0.013185126706957817,
0.034213051199913025,
-0.06414485722780228,
-0.028252525255084038,
-0.04436255246400833,
-0.041225433349609375,
0.07289188355207443,
-0.041594505310058594,
0.0417790450155735,
0.04395657405257225,
-0.010278678499162197,
0.015759410336613655,
-0.04997245967388153,
0.025816643610596657,
-0.024543343111872673,
-0.07115723937749863,
-0.008059627376496792,
-0.057095564901828766,
-0.00571140181273222,
0.028935309499502182,
-0.044620905071496964,
0.06698671728372574,
0.011136772111058235,
0.03474820777773857,
-0.018555136397480965,
0.06824156641960144,
0.011819557286798954,
0.0550287589430809,
0.015999305993318558,
-0.01661750301718712,
0.02085261419415474,
-0.029433557763695717,
0.05591453239321709,
0.028344793245196342,
-0.025170765817165375,
0.012133268639445305,
-0.025318395346403122,
-0.005679108202457428,
-0.0316295400261879,
-0.048643797636032104,
-0.004449634347110987,
-0.018186062574386597,
0.008497902192175388,
0.03716563433408737,
0.004145149141550064,
-0.04070873185992241,
-0.03408387675881386,
0.009208367206156254,
-0.02028055116534233,
-0.023639114573597908,
0.037829965353012085,
-0.0282894317060709,
0.012696105055510998,
0.03432377427816391,
-0.028344793245196342,
-0.02568746916949749,
0.017918486148118973,
-0.03174026310443878,
0.003120972076430917,
0.014919769018888474,
-0.04070873185992241,
0.03912172093987465,
0.08156509697437286,
-0.030854487791657448,
-0.00944365095347166,
-0.022790247574448586,
-0.00356385949999094,
-0.05491803586483002,
-0.027348296716809273,
0.05015699565410614,
-0.05155947431921959,
-0.020206736400723457,
-0.053663186728954315,
0.023011690005660057,
-0.005328489001840353,
0.01788157783448696,
0.055656179785728455,
-0.02088952250778675,
-0.03635367378592491,
-0.030245518311858177,
-0.07148940861225128,
0.008650144562125206,
-0.01662673056125641,
-0.038051407784223557,
-0.014799820259213448,
0.02546602487564087,
-0.030393145978450775,
0.027532832697033882,
-0.07303950935602188,
-0.026979222893714905,
-0.07160012423992157,
0.053441744297742844,
0.022181276232004166,
0.019763849675655365,
-0.03978605195879936,
0.01608234830200672,
0.05023081228137016,
-0.015113531611859798,
-0.015196572989225388,
-0.01661750301718712,
-0.00010791054955916479,
0.008580943569540977,
-0.012243990786373615,
-0.06628547608852386,
-0.036242950707674026,
-0.028547782450914383,
-0.028972215950489044,
0.04506378993391991,
-0.05491803586483002,
-0.061266086995601654,
0.01215172279626131,
-0.014273891225457191,
-0.040598008781671524,
0.004834854044020176,
0.05443824082612991,
0.05229761824011803,
-0.03812522068619728,
0.06100773811340332,
0.02692386321723461,
-0.03705491125583649,
0.07706240564584732,
-0.013683374971151352,
0.01867508515715599,
0.059494540095329285,
-0.002571976277977228,
0.034397587180137634,
-0.06680218130350113,
0.014117035083472729,
0.05440133437514305,
-0.057464636862277985,
-0.0448792539536953,
-0.006062021013349295,
0.026647057384252548,
0.03934316337108612,
0.00007349018414970487,
0.0035338723100721836,
-0.03526490926742554,
-0.054069168865680695,
-0.000879431318026036,
-0.0077828229404985905,
0.05292504280805588,
0.03692573681473732,
0.06920115649700165,
0.018093794584274292,
0.00912071205675602,
-0.029230566695332527,
-0.05543473735451698,
-0.01661750301718712,
0.0016146935522556305,
-0.06263165920972824,
0.030836034566164017,
-0.024340352043509483,
-0.023159319534897804,
0.005273127928376198,
0.009549759328365326,
0.061893511563539505,
-0.039601512253284454,
-0.005388463381677866,
0.011625793762505054,
0.054659683257341385,
-0.005093204788863659,
-0.008331818506121635,
0.01002955436706543,
-0.02389746531844139,
-0.01786312460899353,
-0.020944882184267044,
0.027975719422101974,
-0.0088254539296031,
0.02124014124274254,
0.06894280016422272,
0.008719345554709435,
-0.014615283347666264,
0.007958132773637772,
0.0009076884598471224,
-0.0029894898179918528,
0.09440882503986359,
-0.01666363701224327,
0.032607585191726685,
0.03192479908466339,
0.014587603509426117,
-0.04233265295624733,
0.05133802816271782,
-0.041040897369384766,
0.01725415512919426,
-0.038014501333236694,
-0.018416734412312508,
-0.004052881151437759,
0.002209823578596115,
-0.08193416893482208,
-0.03648284822702408,
-0.022310452535748482,
-0.07023455947637558,
0.027551285922527313,
0.017208021134138107,
0.009360609576106071,
-0.016921989619731903,
0.06790939718484879,
0.00862707756459713,
0.029747270047664642,
-0.04395657405257225,
-0.06665454804897308,
-0.015205800533294678,
0.034028515219688416,
-0.012705331668257713,
0.002998716663569212,
-0.025170765817165375,
0.0425540953874588,
-0.0282894317060709,
-0.03447140008211136,
0.0016919681802392006,
-0.03554171323776245,
0.026204170659184456,
0.07728385180234909,
0.012225537560880184,
0.0164421945810318,
0.054696593433618546,
-0.027422111481428146,
-0.0007433357532136142,
0.020225191488862038,
-0.022236637771129608,
-0.02207055501639843,
-0.004059800878167152,
-0.06366506218910217,
-0.005328489001840353,
-0.050452254712581635,
-0.04794256016612053,
-0.013323528692126274,
0.0054899584501981735,
-0.020575810223817825,
0.023915918543934822,
0.006703285034745932,
-0.02343612350523472,
0.023823650553822517,
0.012649971060454845,
0.012382392771542072,
-0.05218689888715744,
-0.008908495306968689,
0.06181969866156578,
-0.006906275171786547,
0.012520795688033104,
0.009983419440686703,
-0.03696264326572418,
0.002585816429927945,
0.030190156772732735,
0.047241322696208954,
0.012511569075286388,
-0.015002810396254063,
0.013138992711901665,
-0.010149502195417881,
-0.02609344944357872,
-0.04391966760158539,
0.026647057384252548,
-0.040598008781671524,
-0.03856810927391052,
0.00592361856251955,
0.037202540785074234,
-0.039638422429561615,
0.032017067074775696,
0.013498838059604168,
-0.03325346112251282,
0.0132497139275074,
-0.03834666684269905,
0.008511741645634174,
0.023546846583485603,
-0.08614159375429153,
-0.023140866309404373,
-0.018103022128343582,
-0.04820090904831886,
-0.012963682413101196,
-0.0007531392038799822,
-0.03871573880314827,
-0.06617476046085358,
-0.021812204271554947,
0.0024704812094569206,
0.05403226241469383,
0.004691838286817074,
0.05443824082612991,
0.004311231896281242,
-0.014624510891735554,
0.02044663392007351,
0.025226127356290817,
0.058092061430215836,
0.029581187292933464,
-0.05318339541554451,
-0.022808700799942017,
-0.0033424156717956066,
0.01645142026245594,
0.002243270631879568,
-0.001536265597678721,
0.0027265255339443684,
0.017549412325024605,
0.011819557286798954,
-0.006417253520339727,
-0.06289000809192657,
0.008774706162512302,
-0.03698109835386276,
0.0734085813164711,
-0.00349004496820271,
-0.026130355894565582,
-0.01626688428223133,
-0.006481841206550598,
0.050452254712581635,
0.020520448684692383,
0.013203579932451248,
0.02952582575380802,
0.04026584327220917,
-0.019357869401574135,
-0.004260484594851732,
0.031574178487062454,
-0.026130355894565582,
0.009854244068264961,
-0.05934691056609154,
0.02387901209294796,
0.0019284054869785905,
0.046835340559482574,
-0.036445941776037216,
0.00022259705292526633,
-0.0166359581053257,
0.007621353957802057,
0.010278678499162197,
-0.00223173713311553,
0.032829027622938156,
-0.014975129626691341,
0.011081411503255367,
0.017097298055887222,
0.0673188790678978,
-0.02886149473488331,
-0.03546789661049843,
-0.018951889127492905,
0.05739082396030426,
-0.012382392771542072,
-0.02546602487564087,
0.01607312075793743,
0.02745901793241501,
0.015113531611859798,
0.04794256016612053,
-0.03268139809370041,
0.0028810747899115086,
0.012880641035735607,
0.006957022473216057,
0.05595143884420395,
-0.07093579322099686,
0.05942072346806526,
0.015907038003206253,
0.004908668342977762,
0.0050747510977089405,
-0.05775989592075348,
-0.05739082396030426,
0.04417801648378372,
-0.062262583523988724,
0.012622290290892124,
0.0038037567865103483,
-0.01396017987281084,
-0.013646467588841915,
-0.014384613372385502,
-0.04074563831090927,
-0.018139928579330444,
-0.02288251556456089,
-0.05104277282953262,
-0.0000855643447721377,
0.0023101652041077614,
-0.037645429372787476,
-0.059310004115104675,
0.04115162044763565,
-0.041225433349609375,
0.004269711207598448,
-0.025133859366178513,
-0.06322217732667923,
0.10149502754211426,
-0.0031048250384628773,
0.0024958548601716757,
0.10016636550426483,
-0.015593326650559902,
-0.009153005667030811,
0.024838600307703018,
0.05440133437514305,
0.03709181770682335,
0.0174571443349123,
0.029156753793358803,
-0.0438089445233345,
-0.01032481249421835,
0.03786687180399895,
0.048459261655807495,
0.015916265547275543,
0.07145249843597412,
-0.07481106370687485,
-0.018970342352986336,
0.015519511885941029,
-0.0469091571867466,
0.02207055501639843,
0.021812204271554947,
0.017798537388443947,
0.08038406074047089,
0.0017231086967512965,
0.04296007752418518,
0.010278678499162197,
0.023915918543934822,
-0.02788345143198967,
0.05399535223841667,
0.005909778643399477,
0.09440882503986359,
-0.005683721508830786,
-0.03111283853650093,
-0.009249887429177761,
-0.017346423119306564,
-0.04879142716526985,
0.01983766444027424,
-0.008304138667881489,
-0.06115536764264107,
-0.02066807821393013,
-0.0009359456016682088,
0.003907558508217335,
-0.029857991263270378,
-0.029765723273158073,
-0.034600578248500824,
-0.005988206714391708,
0.04432564601302147,
-0.018795033916831017,
-0.02146158367395401,
0.026407159864902496,
0.02249498851597309,
-0.02648097462952137,
-0.042812447994947433,
-0.03175871819257736,
-0.017097298055887222,
-0.0013332755770534277,
-0.010767699219286442,
0.034434493631124496,
-0.0055176387540996075,
-0.007685941644012928,
-0.06931187957525253,
-0.06222567707300186,
-0.029138298705220222,
-0.0377192422747612,
-0.04790565371513367,
0.020335912704467773,
0.0286769587546587,
-0.024229630827903748,
0.020981790497899055,
0.0838533416390419,
0.02450643479824066
] |
10,276 | collections | most_common | List the n most common elements and their counts from the most
common to the least. If n is None, then list all element counts.
>>> Counter('abracadabra').most_common(3)
[('a', 5), ('b', 2), ('r', 2)]
| def most_common(self, n=None):
'''List the n most common elements and their counts from the most
common to the least. If n is None, then list all element counts.
>>> Counter('abracadabra').most_common(3)
[('a', 5), ('b', 2), ('r', 2)]
'''
# Emulate Bag.sortedByCount from Smalltalk
if n is None:
return sorted(self.items(), key=_itemgetter(1), reverse=True)
# Lazy import to speedup Python startup time
import heapq
return heapq.nlargest(n, self.items(), key=_itemgetter(1))
| (self, n=None) | [
-0.05030912533402443,
-0.023519515991210938,
-0.028568396344780922,
0.019710397347807884,
0.04650000482797623,
0.02278284728527069,
-0.018919825553894043,
-0.0023806996177881956,
0.07582303881645203,
-0.07248107343912125,
-0.0719420537352562,
0.04190031439065933,
-0.03740843012928963,
-0.05408231168985367,
-0.007231936790049076,
0.025747492909431458,
-0.010780527256429195,
-0.013035453855991364,
-0.027454407885670662,
-0.015640748664736748,
0.029808158054947853,
0.028748072683811188,
-0.036492083221673965,
0.0013891158159822226,
0.02811920829117298,
0.0177878700196743,
0.03855835273861885,
-0.020806416869163513,
-0.026232615113258362,
0.0502372570335865,
-0.07025310397148132,
-0.014023669064044952,
-0.01688949204981327,
0.020141618326306343,
0.0031061393674463034,
-0.017527339980006218,
0.03155100718140602,
0.027148960158228874,
-0.11010511219501495,
0.027023186907172203,
-0.0050758314318954945,
-0.054908815771341324,
0.08114143460988998,
-0.0028366262558847666,
-0.01678168773651123,
0.0028186587151139975,
0.0648987740278244,
0.04531414806842804,
-0.015020867809653282,
0.00367885478772223,
-0.017715999856591225,
-0.06709080934524536,
-0.05156685411930084,
-0.024705374613404274,
-0.04463138058781624,
0.014940014109015465,
-0.001429542782716453,
-0.0002860770036932081,
-0.028855876997113228,
0.04322991147637367,
-0.05296832323074341,
0.02287268452346325,
0.023591386154294014,
-0.06087404116988182,
-0.006189819425344467,
0.003130844794213772,
0.02032129280269146,
0.014293181709945202,
-0.016036033630371094,
-0.03032921627163887,
0.010663737542927265,
0.02132747508585453,
0.031137755140662193,
0.00977434404194355,
0.024489764124155045,
-0.011005121283233166,
0.00849864911288023,
0.024813178926706314,
0.021632924675941467,
-0.012433541007339954,
0.01006182562559843,
-0.04089413210749626,
0.020465033128857613,
-0.045493822544813156,
-0.01643132045865059,
0.027184896171092987,
0.10392428189516068,
0.03065263107419014,
-0.0022998456843197346,
0.03995982185006142,
-0.03967234119772911,
0.028244981542229652,
0.03667175769805908,
0.010699672624468803,
-0.04481105878949165,
-0.040930066257715225,
-0.015730585902929306,
-0.024417893961071968,
0.00416847039014101,
-0.007636206690222025,
-0.01956665702164173,
0.022585203871130943,
-0.023573419079184532,
-0.038594286888837814,
0.007519417442381382,
0.01854250580072403,
0.008826556615531445,
0.0324493870139122,
-0.026052940636873245,
0.050704412162303925,
-0.07402628660202026,
-0.028963683173060417,
0.033725082874298096,
-0.0015721601666882634,
0.030257346108555794,
0.04287056252360344,
-0.034605491906404495,
-0.0036227062810212374,
0.04186438024044037,
-0.014383019879460335,
-0.07151082903146744,
0.008363892324268818,
-0.01166992075741291,
-0.04308617115020752,
-0.04369707033038139,
0.007964114658534527,
0.005587906576693058,
-0.023681223392486572,
-0.018138237297534943,
0.08595673739910126,
0.08027899265289307,
-0.012307768687605858,
0.04175657406449318,
0.01845266856253147,
0.013224112801253796,
-0.006059554405510426,
0.004994977731257677,
-0.018704215064644814,
-0.029251163825392723,
0.025495946407318115,
0.0779072716832161,
-0.01899169571697712,
0.03934892266988754,
0.04721870645880699,
-0.0029758745804429054,
-0.02777782455086708,
0.010519997216761112,
-0.056382156908512115,
-0.04190031439065933,
-0.007146590854972601,
0.001228530891239643,
-0.024938952177762985,
0.01765311323106289,
-0.05965225026011467,
0.015703633427619934,
0.020303325727581978,
0.013736188411712646,
-0.0830819308757782,
-0.07244513928890228,
-0.057711753994226456,
0.052141815423965454,
0.06536592543125153,
-0.027382537722587585,
0.022261789068579674,
-0.024831147864460945,
0.0032161904964596033,
0.02711302600800991,
-0.023411711677908897,
0.018524538725614548,
-0.024705374613404274,
-0.03435394540429115,
-0.05645402520895004,
-0.057711753994226456,
-0.02154308557510376,
-0.03539606183767319,
0.0007327389321289957,
-0.041720639914274216,
-0.06090997904539108,
0.037480298429727554,
0.04269088804721832,
-0.03347353637218475,
-0.09357497096061707,
0.001259974087588489,
-0.045925043523311615,
-0.017922626808285713,
0.0024301104713231325,
0.041361287236213684,
0.02121967077255249,
0.007038785610347986,
0.020842352882027626,
0.008660356514155865,
-0.006585105322301388,
-0.028855876997113228,
0.017419535666704178,
0.009810279123485088,
-0.06604869663715363,
-0.0006546924123540521,
0.025747492909431458,
0.014086555689573288,
-0.008431270718574524,
-0.03350947052240372,
0.05206994712352753,
0.004815301857888699,
-0.027382537722587585,
0.07388254255056381,
0.027705954387784004,
0.010286419652402401,
-0.008058443665504456,
-0.019063565880060196,
-0.027741890400648117,
0.04100193828344345,
-0.018066367134451866,
-0.011705855838954449,
-0.04067852348089218,
-0.0001573563931742683,
-0.02044706605374813,
0.020357228815555573,
-0.013574480079114437,
-0.03131743147969246,
-0.047362446784973145,
0.048045214265584946,
0.014796272851526737,
-0.018506571650505066,
0.03769591078162193,
-0.022136015817523003,
0.011571099050343037,
0.020680643618106842,
0.06328169256448746,
0.0404629111289978,
-0.04829676076769829,
-0.011526180431246758,
0.041828446090221405,
0.05329173803329468,
0.01293663214892149,
0.009989955462515354,
-0.07147489488124847,
-0.017284778878092766,
0.02165089175105095,
-0.04908733442425728,
-0.028604332357645035,
-0.03065263107419014,
0.01699729822576046,
-0.014167409390211105,
0.051494985818862915,
-0.06209583580493927,
-0.009639588184654713,
0.0024278645869344473,
0.022962521761655807,
-0.0021269081626087427,
0.0274184737354517,
-0.012065206654369831,
-0.06579715013504028,
-0.03451565280556679,
-0.03350947052240372,
0.004882680252194405,
-0.031838491559028625,
-0.0719420537352562,
-0.021489184349775314,
-0.0037552169524133205,
0.009459912776947021,
0.0404629111289978,
0.04240340739488602,
-0.018021447584033012,
0.015029851347208023,
0.028514493256807327,
0.017132055014371872,
0.03852241486310959,
-0.01567668281495571,
-0.06586901843547821,
0.054693207144737244,
0.03399459645152092,
-0.013852977193892002,
0.05009351670742035,
-0.05329173803329468,
-0.0694984644651413,
-0.07147489488124847,
0.006737829186022282,
0.03268296271562576,
-0.005812500603497028,
0.029466774314641953,
0.003245387924835086,
0.00733525026589632,
-0.030922144651412964,
0.0008579502464272082,
0.009846214205026627,
0.04441577196121216,
-0.033168088644742966,
-0.049267008900642395,
0.003748479066416621,
-0.01272102165967226,
0.062491122633218765,
-0.005111766513437033,
-0.003775430377572775,
0.003600246738642454,
-0.04908733442425728,
-0.03674362972378731,
0.007231936790049076,
0.00446718093007803,
0.037839651107788086,
0.026591965928673744,
-0.0151017215102911,
-0.041145678609609604,
0.015344283543527126,
-0.06310201436281204,
0.010025890544056892,
0.01677270233631134,
0.0373365581035614,
-0.013969765976071358,
0.027939531952142715,
0.048835787922143936,
-0.013197162188589573,
0.03368914872407913,
0.025963103398680687,
-0.0014025914715602994,
-0.018398765474557877,
-0.007982081733644009,
-0.055483780801296234,
-0.03286264091730118,
-0.0214532483369112,
-0.017940593883395195,
0.06658772379159927,
-0.03902550786733627,
-0.02842465601861477,
0.030041735619306564,
-0.010043857619166374,
-0.022153982892632484,
-0.06780951470136642,
-0.04067852348089218,
0.0652940571308136,
-0.0031555499881505966,
0.007249904330819845,
-0.012235898524522781,
-0.02154308557510376,
0.014688467606902122,
-0.0604068860411644,
0.05368702486157417,
0.0289816502481699,
0.04901546239852905,
0.029287097975611687,
-0.039600469172000885,
-0.024723341688513756,
0.017275795340538025,
-0.07869784533977509,
-0.013071388937532902,
-0.03500077873468399,
0.02355545200407505,
-0.0031690257601439953,
-0.03253922238945961,
-0.027472376823425293,
-0.02344764582812786,
0.008413302712142467,
-0.06633617728948593,
0.04412829130887985,
0.05289645120501518,
0.001959585351869464,
0.06389258801937103,
0.04075039178133011,
0.01054694876074791,
0.039780143648386,
0.014984932728111744,
-0.022693010047078133,
-0.00016212901391554624,
0.013206145726144314,
0.0058978465385735035,
0.010843412950634956,
0.0039595975540578365,
0.009522798471152782,
0.028011402115225792,
-0.08897528052330017,
-0.024417893961071968,
0.010978169739246368,
-0.04157689958810806,
0.05419011414051056,
0.024022607132792473,
0.04168470576405525,
-0.018937792629003525,
-0.047146838158369064,
0.00326560134999454,
-0.007694601081311703,
-0.01877608522772789,
-0.010007922537624836,
-0.007101672235876322,
-0.034731265157461166,
-0.025244399905204773,
-0.08049460500478745,
0.04387674480676651,
-0.07140302658081055,
0.017626160755753517,
0.024130413308739662,
0.02720286324620247,
-0.0095048313960433,
0.03408443182706833,
-0.043373651802539825,
-0.05577126145362854,
-0.0031533041037619114,
0.04412829130887985,
0.03895363584160805,
-0.03518045321106911,
0.01845266856253147,
-0.05950850993394852,
0.019926007837057114,
-0.008610946126282215,
-0.001693441066890955,
-0.0019135435577481985,
-0.018704215064644814,
0.0610896535217762,
-0.005785549525171518,
-0.05088408663868904,
-0.04951855540275574,
-0.012945616617798805,
-0.06123339384794235,
0.003310520201921463,
-0.033150121569633484,
-0.050380997359752655,
-0.000056148579460568726,
-0.030814340338110924,
-0.011202764697372913,
0.05508849397301674,
0.03674362972378731,
-0.04128941893577576,
0.014580662362277508,
-0.029161324724555016,
-0.010178614407777786,
0.044164225459098816,
0.04423609748482704,
-0.03708501160144806,
-0.023393742740154266,
-0.0003944437485188246,
-0.0003245387924835086,
-0.05066847801208496,
-0.006409921683371067,
0.022136015817523003,
-0.03658192232251167,
-0.03895363584160805,
0.045386020094156265,
-0.045493822544813156,
-0.021057963371276855,
-0.02955661155283451,
-0.03952859714627266,
-0.002697377698495984,
0.014086555689573288,
0.013736188411712646,
0.021974308416247368,
0.04923107475042343,
0.061484940350055695,
0.03791151940822601,
-0.01701526530086994,
0.0302034430205822,
0.01800348050892353,
-0.07862597703933716,
0.018075350672006607,
-0.04229560121893883,
-0.0072094774805009365,
-0.006665959022939205,
0.058466389775276184,
-0.021740728989243507,
-0.08746600896120071,
0.0158833097666502,
0.007294823415577412,
-0.004393064882606268,
-0.02010568231344223,
0.04545788839459419,
0.056274350732564926,
-0.01978226751089096,
-0.09077204018831253,
0.009136497043073177,
-0.029951898381114006,
-0.009208367206156254,
-0.005790041293948889,
0.012469476088881493,
0.049267008900642395,
-0.0030926635954529047,
-0.062131769955158234,
-0.038917701691389084,
0.019854137673974037,
-0.01006182562559843,
0.011849596165120602,
-0.028047338128089905,
0.03377898409962654,
0.026412291452288628,
0.10284622758626938,
0.08214761316776276,
-0.012864761985838413,
-0.028945714235305786,
-0.01027743611484766,
0.04610472172498703,
-0.015137656591832638,
0.0038652680814266205,
0.048835787922143936,
0.010699672624468803,
0.003842808771878481,
0.009828247129917145,
-0.02077048271894455,
0.015559894032776356,
-0.023250002413988113,
0.039492662996053696,
0.04923107475042343,
0.015290380455553532,
-0.010187597945332527,
0.04333771765232086,
-0.01255032978951931,
-0.006737829186022282,
0.02411244623363018,
0.0033936200197786093,
-0.010304386727511883,
-0.0029623990412801504,
-0.009078102186322212,
0.004583969712257385,
0.09335936605930328,
-0.000306571222608909,
-0.0005760844214819372,
-0.02431008778512478,
0.10069011896848679,
-0.014562695287168026,
0.02166885882616043,
-0.049590423703193665,
-0.057136792689561844,
-0.023735126480460167,
0.00014753038703929633,
0.08940650522708893,
0.01931511051952839,
0.026466194540262222,
0.016691848635673523,
0.012819843366742134,
0.01765311323106289,
-0.04901546239852905,
-0.006441364996135235,
-0.02544204331934452,
0.006989375222474337,
0.04599691554903984,
-0.02953864447772503,
-0.0016080952482298017,
-0.04287056252360344,
-0.006886061746627092,
0.013466674834489822,
0.010708657093346119,
-0.027454407885670662,
0.06701894104480743,
0.0726248174905777,
0.04840456694364548,
0.013601431623101234,
-0.07352319359779358,
0.07646986842155457,
0.008462714031338692,
0.016952378675341606,
0.03552183508872986,
-0.04376893863081932,
-0.03812713176012039,
-0.0036384279374033213,
-0.009585685096681118,
0.022261789068579674,
-0.03920518234372139,
0.003005072008818388,
-0.04013949632644653,
0.023375775665044785,
-0.01757225953042507,
0.030634663999080658,
-0.0404629111289978,
0.03575541451573372,
-0.014284198172390461,
-0.03158694505691528,
0.04233153536915779,
-0.02055487222969532,
0.01743750274181366,
0.060478758066892624,
0.009756376966834068,
0.05706492438912392,
0.01899169571697712,
-0.0202314555644989,
0.01405960414558649,
0.028244981542229652,
0.09220944344997406,
-0.044164225459098816,
0.020141618326306343,
0.047829605638980865,
0.06166461482644081,
0.016521157696843147,
-0.025945134460926056,
0.034210205078125,
0.016925428062677383,
-0.04412829130887985,
0.04143315926194191,
0.04409235715866089,
-0.0035306226927787066,
-0.0013374590780586004,
0.07000155746936798,
-0.03135336562991142,
-0.0006266181590035558,
-0.011229715310037136,
0.029484741389751434,
0.008211168460547924,
-0.0429064966738224,
0.032503288239240646,
-0.003180255414918065,
0.005012945272028446,
0.04251120984554291,
-0.04146909341216087,
-0.002468291437253356,
-0.054369792342185974,
-0.009352107532322407,
-0.022297723218798637,
0.028191078454256058,
-0.013655333779752254,
0.061808355152606964,
0.032287679612636566,
0.008956821635365486,
-0.00006085101995267905,
0.024741308763623238,
0.018955759704113007,
0.02422025054693222,
-0.05411824584007263,
-0.011346505023539066,
-0.03830680623650551,
-0.01854250580072403,
0.018578441813588142,
-0.013340902514755726,
0.02666383609175682,
0.012595249339938164,
-0.005080323200672865,
-0.015532942488789558,
-0.01664693094789982,
0.029718318954110146,
0.0073801688849925995,
0.07668548077344894,
0.011750774458050728,
-0.009585685096681118,
-0.024956919252872467,
-0.009630603715777397,
-0.007995557971298695,
0.051387179642915726,
-0.002227975521236658,
-0.010205565951764584,
0.06806106120347977,
-0.011651952750980854,
-0.04146909341216087,
0.010097760707139969,
0.02188446931540966,
0.027256766334176064,
-0.029466774314641953,
0.031155722215771675,
-0.014508792199194431,
0.07334351539611816,
0.01944088377058506,
-0.010654754005372524,
-0.023483581840991974,
0.020177552476525307,
0.0024121429305523634,
0.02308829501271248,
0.04678748548030853,
-0.019153403118252754,
-0.0030454988591372967,
-0.0017372369766235352,
0.06335356086492538,
-0.012235898524522781,
0.0050668478943407536,
-0.048045214265584946,
0.07237327098846436,
-0.004478410817682743,
-0.032718900591135025,
-0.029394904151558876,
0.03399459645152092,
-0.004269537981599569,
0.030706534162163734,
-0.03762403875589371,
-0.012262849137187004,
0.008422287181019783,
0.0008141543949022889,
0.011903498321771622,
-0.020842352882027626,
0.06299421191215515,
0.08430372178554535,
0.01664693094789982,
0.07309197634458542,
-0.019189337268471718,
-0.03765997290611267,
0.0324493870139122,
-0.044703252613544464,
0.053471412509679794,
-0.011741790920495987,
-0.06349730491638184,
0.07948841899633408,
0.014463873580098152,
-0.06090997904539108,
-0.05821484699845314,
0.010025890544056892,
-0.006207786966115236,
-0.035360127687454224,
0.034264110028743744,
-0.03201816603541374,
-0.012146060355007648,
0.0010640155524015427,
-0.030724501237273216,
-0.004588461946696043,
-0.008211168460547924,
-0.04552976042032242,
0.04689529165625572,
-0.013475658372044563,
-0.039708275347948074,
0.04513447359204292,
-0.012020288035273552,
0.007519417442381382,
0.017823804169893265,
0.015038834884762764,
0.0035373603459447622,
-0.07754792273044586,
0.027023186907172203,
-0.02265707403421402,
-0.03067060001194477,
-0.018955759704113007,
0.004215635359287262,
-0.029466774314641953,
-0.008804096840322018,
-0.011445325799286366,
0.008795113302767277,
-0.047721799463033676,
0.008619929663836956,
0.0733075812458992,
0.07589490711688995,
-0.0380193255841732,
0.028604332357645035,
-0.013852977193892002,
0.043840810656547546,
0.06518625468015671,
0.038055259734392166,
0.0743856355547905,
0.0537588931620121,
0.07876971364021301,
-0.0034924414940178394,
-0.06867195665836334,
-0.04588910937309265,
-0.0039259083569049835,
-0.06590495258569717,
-0.025244399905204773,
-0.010825445875525475,
0.05066847801208496,
0.028712136670947075,
0.043050236999988556,
-0.06946253031492233,
0.030742470175027847,
-0.03395865857601166,
0.014984932728111744,
0.016125870868563652,
0.011238699778914452,
0.01655709184706211,
0.0032386500388383865,
-0.03390475735068321,
-0.010196581482887268,
-0.02709505707025528,
-0.0027535262051969767,
-0.014427938498556614,
-0.02490301802754402,
0.016278596594929695,
0.06669552624225616,
0.007860801182687283,
-0.014086555689573288,
0.055483780801296234,
-0.009397026151418686,
-0.059831924736499786,
-0.008588486351072788,
0.007299315184354782,
0.005331868771463633,
-0.028029371052980423,
-0.037156883627176285,
0.018919825553894043,
-0.01809331774711609,
-0.001672104699537158,
0.03622256964445114,
-0.02501082234084606
] |
10,277 | collections | subtract | Like dict.update() but subtracts counts instead of replacing them.
Counts can be reduced below zero. Both the inputs and outputs are
allowed to contain zero and negative counts.
Source can be an iterable, a dictionary, or another Counter instance.
>>> c = Counter('which')
>>> c.subtract('witch') # subtract elements from another iterable
>>> c.subtract(Counter('watch')) # subtract elements from another counter
>>> c['h'] # 2 in which, minus 1 in witch, minus 1 in watch
0
>>> c['w'] # 1 in which, minus 1 in witch, minus 1 in watch
-1
| def subtract(self, iterable=None, /, **kwds):
'''Like dict.update() but subtracts counts instead of replacing them.
Counts can be reduced below zero. Both the inputs and outputs are
allowed to contain zero and negative counts.
Source can be an iterable, a dictionary, or another Counter instance.
>>> c = Counter('which')
>>> c.subtract('witch') # subtract elements from another iterable
>>> c.subtract(Counter('watch')) # subtract elements from another counter
>>> c['h'] # 2 in which, minus 1 in witch, minus 1 in watch
0
>>> c['w'] # 1 in which, minus 1 in witch, minus 1 in watch
-1
'''
if iterable is not None:
self_get = self.get
if isinstance(iterable, _collections_abc.Mapping):
for elem, count in iterable.items():
self[elem] = self_get(elem, 0) - count
else:
for elem in iterable:
self[elem] = self_get(elem, 0) - 1
if kwds:
self.subtract(kwds)
| (self, iterable=None, /, **kwds) | [
0.013635274954140186,
-0.03501291945576668,
-0.006695246323943138,
0.020434780046343803,
-0.015312486328184605,
-0.03374367952346802,
-0.015992436558008194,
0.030697500333189964,
0.0737973004579544,
-0.027868906036019325,
-0.07927316427230835,
0.013635274954140186,
0.027143625542521477,
-0.006269143894314766,
-0.016200954094529152,
0.08949962258338928,
0.004263289738446474,
0.02193973772227764,
-0.014940779656171799,
-0.06600052863359451,
0.08790400624275208,
-0.039201416075229645,
0.028013961389660835,
0.08652596920728683,
-0.035339295864105225,
0.01594710722565651,
0.01262894831597805,
-0.057804860174655914,
0.04206627234816551,
-0.014841053634881973,
-0.02081555314362049,
0.012211911380290985,
-0.04942787066102028,
-0.0054486701264977455,
-0.011813007295131683,
-0.049464136362075806,
-0.04402453079819679,
0.052147671580314636,
-0.05109601467847824,
0.02690790966153145,
0.04126846417784691,
-0.04094208776950836,
0.02306392230093479,
-0.01277400366961956,
0.06531151384115219,
0.03731568530201912,
0.009809419512748718,
-0.01211218535900116,
0.03595578297972679,
-0.045801468193531036,
-0.028467262163758278,
-0.011305310763418674,
0.04115967079997063,
0.005226552952080965,
-0.02906561829149723,
0.06697966158390045,
0.01940125599503517,
0.06389722228050232,
-0.0654565691947937,
0.029772767797112465,
-0.02837660163640976,
0.0001782036997610703,
-0.056680675595998764,
-0.016228152438998222,
-0.0021577097941190004,
-0.043589361011981964,
-0.009664363227784634,
0.009120402857661247,
0.027959566563367844,
0.0025543475057929754,
0.005235619377344847,
-0.003594671841710806,
0.02344469539821148,
0.0248589925467968,
0.0237348061054945,
0.00038757181027904153,
0.007057886570692062,
-0.011840205639600754,
0.06422359496355057,
-0.0527641624212265,
0.02251996099948883,
-0.03310905769467354,
0.0248589925467968,
0.018875427544116974,
0.06150379404425621,
0.014986109919846058,
0.04213880002498627,
-0.008862022310495377,
0.014387753792107105,
0.07267311215400696,
-0.04815863072872162,
0.029736503958702087,
0.010616294108331203,
-0.04155857861042023,
0.013916321098804474,
0.011142122559249401,
-0.0785478875041008,
-0.004804983735084534,
0.011985261924564838,
-0.003941446542739868,
0.06777746975421906,
0.007293602917343378,
0.05577407777309418,
-0.024550747126340866,
0.029446391388773918,
-0.03644534945487976,
0.02090621180832386,
-0.07499401271343231,
0.020525440573692322,
-0.00017437897622585297,
0.02799583040177822,
0.036953046917915344,
-0.030316727235913277,
-0.03390686586499214,
-0.013834726996719837,
0.0011944464640691876,
-0.04591026157140732,
-0.05896531045436859,
0.000753045198507607,
0.02788703888654709,
-0.043408043682575226,
0.023408429697155952,
0.01658172719180584,
0.011051462963223457,
0.005629990249872208,
-0.03387060388922691,
-0.02612823247909546,
0.048521269112825394,
0.02915627881884575,
0.04304540157318115,
0.013535548932850361,
-0.06324446946382523,
-0.003166303038597107,
0.05095095932483673,
0.08094131201505661,
-0.019383123144507408,
0.09036996215581894,
0.041050881147384644,
0.002384359948337078,
0.03546622022986412,
0.08137647807598114,
-0.005929168779402971,
0.030498048290610313,
0.08268198370933533,
0.010906406678259373,
-0.009161200374364853,
-0.005049766041338444,
0.03350796177983284,
-0.0166633203625679,
0.04268276318907738,
-0.05203888192772865,
0.020597968250513077,
0.02193973772227764,
0.004832181613892317,
0.022936997935175896,
0.030842555686831474,
-0.021141929551959038,
-0.022012265399098396,
-0.03775085508823395,
-0.033290378749370575,
0.018177343532443047,
0.054287251085042953,
0.0019843222107738256,
-0.015113034285604954,
0.00018684474343899637,
-0.013571812771260738,
0.02823154628276825,
-0.004195294808596373,
-0.04025307297706604,
-0.0003218432539142668,
0.02070675976574421,
-0.06048839911818504,
0.03970910981297493,
-0.011133057065308094,
0.03869371861219406,
0.027977697551250458,
0.003610537387430668,
0.005988097749650478,
-0.003843987127766013,
0.019673235714435577,
0.06295435130596161,
-0.027905169874429703,
-0.04351683333516121,
-0.043589361011981964,
0.0031051074620336294,
-0.061757642775774,
0.010317116044461727,
0.016853706911206245,
0.0006153552094474435,
0.032510701566934586,
0.04518498107790947,
-0.06262797862291336,
0.017742175608873367,
0.016690518707036972,
0.014578139409422874,
0.0071168155409395695,
-0.04797730967402458,
-0.03312718868255615,
0.07354345172643661,
0.036318425089120865,
-0.10835691541433334,
-0.004746054764837027,
0.01649106666445732,
0.0069490945897996426,
0.0011360839707776904,
-0.03595578297972679,
-0.005217486992478371,
-0.011930865235626698,
-0.039636582136154175,
-0.044532228261232376,
0.019111143425107002,
-0.014560007490217686,
0.046816859394311905,
-0.028938695788383484,
0.024097446352243423,
0.0014108973555266857,
0.010888274759054184,
-0.02036225236952305,
-0.012202845886349678,
-0.01793256215751171,
0.01591990888118744,
-0.02159522846341133,
0.005045232828706503,
-0.012347902171313763,
0.009188398718833923,
-0.01404324546456337,
0.00608329102396965,
0.0342513769865036,
0.011441300623118877,
0.010045136325061321,
0.04126846417784691,
0.03767832741141319,
0.03566567227244377,
0.005997163709253073,
0.009872881695628166,
-0.050443265587091446,
-0.06998957693576813,
-0.01333609689027071,
-0.007089617662131786,
-0.015403145924210548,
0.006600053049623966,
0.03800470381975174,
0.054432306438684464,
0.04126846417784691,
-0.029246939346194267,
-0.027778245508670807,
0.01446028146892786,
0.06785000115633011,
-0.011205584742128849,
0.04710697382688522,
0.0026110101025551558,
-0.0452212430536747,
-0.04003548622131348,
0.0297546349465847,
0.01514023169875145,
-0.020743023604154587,
-0.01646386831998825,
-0.018530918285250664,
-0.017379535362124443,
0.015521003864705563,
-0.007175744511187077,
-0.005992630962282419,
-0.03872998431324959,
0.00869430135935545,
-0.005688919685781002,
0.03263762593269348,
0.061177417635917664,
-0.008757762610912323,
-0.05900157615542412,
0.07423246651887894,
-0.07263685017824173,
-0.09240074455738068,
0.04163110628724098,
-0.030588708817958832,
-0.03916515037417412,
0.05182129889726639,
0.0628092959523201,
-0.015511938370764256,
-0.022991394624114037,
-0.019963348284363747,
0.05490373820066452,
-0.012710542418062687,
-0.0609598308801651,
-0.028557922691106796,
-0.019999612122774124,
0.06607306003570557,
-0.01000887155532837,
0.005435071419924498,
-0.006164884660393,
-0.014650668017566204,
0.08086878061294556,
0.012529222294688225,
0.022828206419944763,
0.02950078807771206,
0.031096404418349266,
0.003277361625805497,
-0.05475868284702301,
-0.06313567608594894,
0.05787739157676697,
0.05711584538221359,
-0.007978086359798908,
-0.05682573467493057,
-0.016200954094529152,
-0.005475868470966816,
-0.035828858613967896,
-0.0337255485355854,
0.0685027539730072,
0.04431464150547981,
0.00046519949682988226,
0.013082248158752918,
0.041739895939826965,
0.02222985029220581,
-0.02369854226708412,
0.0022041730117052794,
-0.010153927840292454,
-0.02690790966153145,
-0.032003004103899,
-0.021994132548570633,
-0.04239264875650406,
0.06433238834142685,
0.006776840426027775,
-0.026309553533792496,
-0.05008062347769737,
0.009007078595459461,
-0.009936343878507614,
-0.06578294932842255,
0.015022373758256435,
0.003402019152417779,
0.09298097342252731,
0.013599011115729809,
-0.0568619966506958,
-0.03278268128633499,
0.024804595857858658,
-0.024750199168920517,
-0.027923302724957466,
0.004455942660570145,
0.013245436362922192,
0.05715211108326912,
-0.030588708817958832,
0.005743315443396568,
0.027071097865700722,
0.03247443959116936,
-0.0595092698931694,
-0.0009258659556508064,
-0.04656301438808441,
-0.01842212677001953,
0.002749266568571329,
-0.024877123534679413,
0.04881138354539871,
-0.020398516207933426,
0.012402297928929329,
0.0020659163128584623,
0.0038847841788083315,
0.05182129889726639,
0.04533003643155098,
0.016599860042333603,
0.0031300389673560858,
-0.09472164511680603,
0.036608535796403885,
-0.09682495892047882,
-0.02407931536436081,
-0.005661721341311932,
0.019745763391256332,
0.007592780981212854,
-0.05845761299133301,
-0.03775085508823395,
-0.02398865483701229,
-0.06600052863359451,
-0.10219202935695648,
-0.038331080228090286,
0.004159030970185995,
-0.042283859103918076,
0.006251011975109577,
0.01262894831597805,
0.02514910325407982,
-0.02378920279443264,
-0.023027658462524414,
0.07111375778913498,
-0.017171017825603485,
0.007488521747291088,
0.015729522332549095,
0.017633384093642235,
-0.06911923736333847,
0.018893558531999588,
0.027270549908280373,
0.007864761166274548,
-0.02667219378054142,
-0.04221132770180702,
0.0583125576376915,
0.030207935720682144,
-0.03523050248622894,
-0.013154776766896248,
-0.0021055801771581173,
-0.026654060930013657,
-0.041449785232543945,
0.004573800601065159,
0.018929822370409966,
-0.030316727235913277,
0.0006776840309612453,
-0.02007213979959488,
0.0732533410191536,
-0.00003362567804288119,
0.015511938370764256,
0.010589096695184708,
0.021432040259242058,
-0.004723389632999897,
0.009483043104410172,
-0.016336945816874504,
-0.0031572370789945126,
0.03468654304742813,
-0.040071751922369,
-0.007175744511187077,
-0.023897994309663773,
0.006146752741187811,
0.0004538669891189784,
-0.07006210088729858,
-0.06422359496355057,
-0.03599204868078232,
-0.006241946015506983,
0.002493151929229498,
0.046091578900814056,
-0.03327224776148796,
0.021504569798707962,
-0.022266114130616188,
0.02329963818192482,
-0.031386516988277435,
-0.038331080228090286,
-0.03635468706488609,
-0.012674277648329735,
0.025239763781428337,
-0.048231158405542374,
-0.07622698694467545,
0.015575400553643703,
-0.05417845770716667,
0.018929822370409966,
-0.003374821273609996,
0.00758371502161026,
-0.008209269493818283,
0.012647080235183239,
0.030153539031744003,
0.013943519443273544,
-0.01049843616783619,
0.04380694776773453,
0.03053431212902069,
-0.0009417315013706684,
-0.004433277528733015,
-0.025475479662418365,
-0.00859457440674305,
0.018177343532443047,
-0.019709499552845955,
0.07680721580982208,
0.026490872725844383,
0.014161103405058384,
0.0007541785016655922,
-0.005539330188184977,
-0.05392460897564888,
-0.07408741116523743,
0.0063552712090313435,
-0.03140464797616005,
0.0037147963885217905,
-0.03804096579551697,
-0.0038711850065737963,
-0.022393038496375084,
-0.02407931536436081,
-0.04634542763233185,
0.0064776623621582985,
0.01934685930609703,
0.0037102634087204933,
-0.02540295198559761,
0.04485860466957092,
-0.01640947349369526,
-0.06114115193486214,
-0.011377839371562004,
-0.007565583102405071,
-0.02061610110104084,
0.00960090197622776,
-0.038621190935373306,
-0.03376181051135063,
-0.026835381984710693,
-0.006223814096301794,
0.09885574132204056,
0.030352992936968803,
0.029319467023015022,
-0.0702071562409401,
0.013145710341632366,
-0.0029464522376656532,
-0.022302377969026566,
0.01189460139721632,
0.055556491017341614,
0.04115967079997063,
-0.029101883992552757,
-0.01617375761270523,
0.009963542222976685,
-0.017860034480690956,
0.015956172719597816,
-0.016853706911206245,
0.01172234769910574,
-0.0014652934623882174,
0.03800470381975174,
0.0064277988858520985,
-0.021921604871749878,
-0.0056662545539438725,
0.03727942332625389,
-0.018821030855178833,
0.0005482101114466786,
0.01277400366961956,
-0.022356774657964706,
0.03234751522541046,
0.03608270734548569,
0.011831139214336872,
-0.011259980499744415,
-0.025439215824007988,
0.07680721580982208,
0.05845761299133301,
0.018385862931609154,
-0.04043439030647278,
-0.0644049122929573,
0.004696191754192114,
0.01828613691031933,
0.01512209977954626,
0.032166194170713425,
0.02266501821577549,
-0.028358470648527145,
-0.015448476187884808,
-0.016273483633995056,
-0.012619881890714169,
-0.017696846276521683,
-0.07151266187429428,
0.03263762593269348,
-0.005824909545481205,
-0.06701592355966568,
-0.010933605022728443,
-0.021704021841287613,
0.03535742685198784,
0.0053580100648105145,
0.07107749581336975,
-0.015901776030659676,
-0.06697966158390045,
-0.020724892616271973,
0.012048723176121712,
0.05983564630150795,
0.0550125315785408,
0.07535665482282639,
-0.016327878460288048,
0.011296245269477367,
0.03717062994837761,
-0.08884686976671219,
-0.03909262269735336,
0.05519385263323784,
0.01638227514922619,
-0.10726899653673172,
-0.038476135581731796,
-0.013444888405501842,
0.025076575577259064,
-0.0036037378013134003,
0.04195748269557953,
-0.0011638486757874489,
0.005901970900595188,
0.06154005602002144,
0.06687086820602417,
-0.022592490538954735,
-0.04696191847324371,
0.02779637835919857,
-0.018476523458957672,
0.032800812274217606,
0.034414563328027725,
0.03711623325943947,
0.011441300623118877,
-0.021867210045456886,
0.023281507194042206,
-0.0012760405661538243,
0.04895643889904022,
-0.04036186262965202,
-0.02041664905846119,
-0.05660814791917801,
0.020779289305210114,
-0.013000654056668282,
-0.05896531045436859,
0.0519663542509079,
0.0027152691036462784,
-0.052981745451688766,
0.0013859658502042294,
0.014986109919846058,
-0.02779637835919857,
0.03232938051223755,
0.033779941499233246,
-0.013898189179599285,
0.025221632793545723,
-0.005951833911240101,
0.05207514390349388,
-0.034904126077890396,
-0.094939224421978,
0.026545269414782524,
0.003823588602244854,
-0.02369854226708412,
-0.008916418068110943,
-0.03359862416982651,
-0.012538287788629532,
-0.023716675117611885,
0.004211160354316235,
-0.0023072988260537386,
-0.033580489456653595,
-0.016482001170516014,
0.050624582916498184,
-0.00999073963612318,
0.03613710403442383,
-0.022991394624114037,
0.022683149203658104,
-0.0355750136077404,
-0.028322206810116768,
-0.020054008811712265,
-0.022973261773586273,
0.014342423528432846,
0.02369854226708412,
0.06436865031719208,
-0.042428914457559586,
0.033779941499233246,
-0.01262894831597805,
-0.03854866325855255,
-0.007937288843095303,
-0.04406079649925232,
0.006124088075011969,
-0.06415106356143951,
0.014197367243468761,
-0.027415605261921883,
-0.013172908686101437,
0.0011967129539698362,
0.05479494854807854,
-0.04025307297706604,
0.0027991298120468855,
-0.028829902410507202,
-0.007506654132157564,
0.06668955087661743,
0.01675398088991642,
0.012837465852499008,
0.027905169874429703,
0.005004435777664185,
0.05523011460900307,
-0.01568419300019741,
0.04050692170858383,
0.09276338666677475,
0.01663612388074398,
0.036118973046541214,
0.039636582136154175,
-0.08188417553901672,
0.01516743004322052,
-0.009075073525309563,
0.0060470267198979855,
0.015702323988080025,
0.018358664587140083,
0.012701475992798805,
0.02090621180832386,
-0.00550759956240654,
-0.034505221992731094,
-0.07347092032432556,
-0.011250915005803108,
0.026200760155916214,
-0.025511743500828743,
-0.00019321928266435862,
-0.009152133949100971,
-0.03575633093714714,
0.01856718212366104,
-0.010190191678702831,
0.0031731026247143745,
0.03403379023075104,
-0.04387947544455528,
0.007728771306574345,
-0.0017508725868538022,
0.06552910059690475,
0.01446028146892786,
0.046091578900814056,
-0.01277400366961956,
-0.06313567608594894,
0.014768525958061218,
-0.04939160868525505,
-0.03503105044364929,
-0.004950040020048618,
0.01807761751115322,
0.04591026157140732,
-0.008127675391733646,
-0.018122948706150055,
0.034269507974386215,
-0.039491526782512665,
0.020090272650122643,
0.013825660571455956,
0.020489176735281944,
-0.012347902171313763,
0.002422890393063426,
-0.03289147466421127,
-0.011259980499744415,
0.019074879586696625,
-0.04166736826300621,
-0.01860344596207142,
-0.04326298460364342,
-0.052546579390764236,
-0.01978202722966671,
-0.025276027619838715,
-0.06328073143959045,
0.06418733298778534,
-0.033634886145591736,
0.021087532863020897,
0.031531572341918945,
0.02872111089527607,
-0.0004921142244711518,
-0.012882796116173267,
0.032365646213293076,
-0.021069400012493134,
-0.04659927636384964,
0.0792006403207779,
-0.004140898585319519,
0.01655452884733677,
0.09464911371469498,
-0.035248637199401855,
-0.004990837071090937,
0.04819489270448685,
0.03247443959116936,
0.03417884558439255,
0.018766634166240692,
-0.0005176123231649399,
0.01949191465973854,
0.03135025128722191,
0.02814088575541973,
0.0538158193230629,
0.018268004059791565,
-0.037497006356716156,
-0.034904126077890396,
0.06832142919301987,
-0.016590792685747147,
-0.015466608107089996,
0.024260634556412697,
-0.03111453726887703,
-0.05588286742568016,
0.01900235190987587,
-0.0284309983253479,
0.024877123534679413,
0.0007383129559457302,
-0.003993576392531395,
-0.019364992156624794,
0.05240152031183243,
0.02828594297170639,
0.00911133736371994,
0.016926234588027,
-0.01494984608143568,
0.07455884665250778,
-0.008295396342873573,
-0.022447433322668076,
-0.03321785107254982,
0.019945215433835983,
-0.001085654366761446,
-0.033526092767715454,
0.0200358759611845,
-0.002115779323503375,
-0.03448709100484848,
-0.006069691851735115,
0.04986304044723511,
-0.036409083753824234,
0.0030665770173072815,
-0.0497179850935936,
0.0156025979667902,
0.032401908189058304,
-0.0339793935418129,
-0.05388834699988365,
0.025656800717115402,
0.01900235190987587,
0.00873509794473648,
0.07956328243017197,
0.03840360790491104,
0.033290378749370575
] |
10,278 | collections | total | Sum of the counts | def total(self):
'Sum of the counts'
return sum(self.values())
| (self) | [
-0.029434584081172943,
-0.05648794397711754,
0.015560641884803772,
0.037934232503175735,
0.04778985679149628,
-0.0014086846495047212,
-0.018570246174931526,
-0.03694205731153488,
0.06806334108114243,
0.01853717304766178,
-0.04944348707795143,
-0.0010696907993406057,
0.04554092511534691,
-0.008557526394724846,
0.008871715515851974,
0.04296126216650009,
0.04015009477734566,
-0.004140271805226803,
0.01574254222214222,
-0.005982000380754471,
0.005349487531930208,
0.013435729779303074,
0.008838643319904804,
0.027896709740161896,
-0.037603508681058884,
-0.03265915811061859,
0.04170450568199158,
-0.09994529187679291,
0.043953441083431244,
-0.004464796278625727,
-0.09128028154373169,
0.006602110806852579,
-0.03938942775130272,
-0.008921324275434017,
0.001339438953436911,
-0.02118297852575779,
-0.0030282067600637674,
-0.010484003461897373,
-0.03628060594201088,
0.08155694603919983,
0.011848246678709984,
0.011186795309185982,
-0.04015009477734566,
0.006920434534549713,
0.05648794397711754,
-0.003848819760605693,
0.039488643407821655,
0.04153914377093315,
0.044151876121759415,
-0.0645245760679245,
-0.024374481290578842,
-0.014890923164784908,
-0.009061883203685284,
0.039290208369493484,
0.03389938175678253,
0.04335813224315643,
-0.0001773774711182341,
-0.0034044072963297367,
-0.052254654467105865,
0.08433504402637482,
-0.0009539368329569697,
0.0018530972301959991,
-0.010905678384006023,
-0.06498759239912033,
0.02071996219456196,
-0.02358073927462101,
-0.021083761006593704,
0.04203523322939873,
0.028591234236955643,
-0.015668127685785294,
0.026259617879986763,
-0.0008877916843630373,
0.027003750205039978,
0.032559942454099655,
0.001904773060232401,
0.005692615639418364,
0.010839533060789108,
-0.0034188765566796064,
0.023729566484689713,
-0.047062262892723083,
0.04669846221804619,
-0.03796730563044548,
0.03232843428850174,
0.027516374364495277,
0.016437064856290817,
0.032113462686538696,
0.007722444366663694,
0.0010547047713771462,
-0.029054248705506325,
0.061382681131362915,
0.009318195283412933,
0.041373781859874725,
0.010599757544696331,
-0.007089931517839432,
-0.0032824522349983454,
-0.022373590618371964,
-0.06617820262908936,
-0.023928001523017883,
-0.0550658218562603,
-0.006469820626080036,
-0.012567575089633465,
0.04547477886080742,
0.04977421090006828,
-0.018801754340529442,
0.003658652538433671,
-0.04021624103188515,
0.002848374657332897,
-0.07044456899166107,
0.03872797638177872,
0.09987915307283401,
-0.012294726446270943,
0.036578256636857986,
0.04024931415915489,
-0.013047127053141594,
-0.020108120515942574,
-0.020174264907836914,
0.0001971434976439923,
-0.022985434159636497,
-0.0560910701751709,
0.086517833173275,
0.0037309988401830196,
0.0844673365354538,
0.06445842981338501,
0.018355274572968483,
0.01392355002462864,
0.029302293434739113,
-0.017445778474211693,
-0.01551103312522173,
0.033006422221660614,
0.02968262881040573,
0.0750085785984993,
-0.04838516563177109,
0.04580550268292427,
-0.013361317105591297,
0.053941354155540466,
-0.005250270012766123,
0.1182674989104271,
-0.007920879870653152,
0.03432932496070862,
0.06194491684436798,
0.05724861100316048,
0.05966290831565857,
-0.003970774821937084,
-0.007900209166109562,
0.046169303357601166,
0.006866691634058952,
0.0013487405376508832,
0.10689053684473038,
-0.0864516869187355,
-0.052056219428777695,
0.0014955000951886177,
-0.03594987839460373,
0.00612255884334445,
0.016064999625086784,
0.005787699017673731,
0.02713604085147381,
0.036975130438804626,
-0.014601537957787514,
-0.045573994517326355,
-0.06885708123445511,
-0.011385231278836727,
0.013882209546864033,
0.02255549095571041,
-0.01211282704025507,
-0.046665389090776443,
0.022902751341462135,
-0.003313457826152444,
-0.008656743913888931,
-0.0668727308511734,
-0.04282897338271141,
-0.008706352673470974,
-0.09849010407924652,
-0.022704316303133965,
0.050766389816999435,
0.03355211764574051,
-0.010260763578116894,
-0.026259617879986763,
0.0256643109023571,
0.010624561458826065,
-0.006097754463553429,
0.01929784193634987,
-0.048815108835697174,
-0.047128405421972275,
-0.04292818903923035,
0.011021432466804981,
-0.0527176707983017,
0.028425870463252068,
-0.013766455464065075,
0.007743114605545998,
0.01671818271279335,
0.03181580826640129,
-0.019215160980820656,
-0.008822106756269932,
0.01585002802312374,
0.0005126247997395694,
-0.04805443808436394,
-0.03199770674109459,
-0.01215416844934225,
0.0028917824383825064,
-0.011120649985969067,
-0.07659606635570526,
-0.04567321389913559,
-0.005982000380754471,
0.020968006923794746,
-0.008044901303946972,
0.007490936201065779,
-0.030674805864691734,
0.016346115618944168,
-0.03355211764574051,
-0.043126627802848816,
0.013816064223647118,
-0.02067035436630249,
-0.019612031057476997,
0.010996628552675247,
-0.0017073712078854442,
-0.03155122697353363,
0.01703237183392048,
-0.07328880578279495,
-0.03634674847126007,
0.003987311385571957,
0.044218022376298904,
0.0011327354004606605,
0.026772242039442062,
-0.021232588216662407,
0.012137631885707378,
-0.03690898418426514,
-0.00021548844233620912,
0.023233477026224136,
-0.025019396096467972,
-0.037603508681058884,
0.03727278113365173,
0.011178527027368546,
-0.02273738943040371,
0.021811356768012047,
-0.014841314405202866,
0.03667747601866722,
-0.021414486691355705,
-0.004919544328004122,
-0.014766900800168514,
-0.004555745981633663,
-0.034693121910095215,
-0.023696493357419968,
0.01704890839755535,
0.03809959441423416,
-0.09921769797801971,
0.017346560955047607,
0.008321884088218212,
0.07818354666233063,
-0.015601983293890953,
0.03208038955926895,
0.003003402380272746,
-0.022522417828440666,
0.016536282375454903,
-0.019463205710053444,
-0.011517520993947983,
-0.037934232503175735,
0.007474400103092194,
0.06508681178092957,
0.010864337906241417,
-0.008152387104928493,
0.0702461302280426,
-0.012807351537048817,
-0.018239520490169525,
0.04702918976545334,
-0.02597850002348423,
0.045904722064733505,
0.04140685126185417,
0.026937605813145638,
-0.042465176433324814,
0.020389236509799957,
0.06220949813723564,
-0.0378350168466568,
0.02240666374564171,
-0.0577777735888958,
-0.01654455065727234,
-0.0029972014017403126,
0.043953441083431244,
0.05215543508529663,
-0.09200787544250488,
-0.021612921729683876,
0.017925331369042397,
-0.0021848564501851797,
-0.01589963585138321,
-0.021811356768012047,
-0.021679066121578217,
0.015709469094872475,
-0.005055968649685383,
-0.009202441200613976,
-0.0634993240237236,
-0.017115052789449692,
0.03335368260741234,
-0.04170450568199158,
0.008086242713034153,
0.009640652686357498,
0.045375559478998184,
-0.010889142751693726,
-0.02047191746532917,
-0.028789669275283813,
-0.020422309637069702,
0.08830375224351883,
-0.023531131446361542,
-0.0020928732119500637,
0.040546964854002,
-0.008656743913888931,
-0.029368437826633453,
0.013543215580284595,
0.10497232526540756,
0.0452432706952095,
0.04904661700129509,
-0.009905233979225159,
-0.012972714379429817,
0.04210137575864792,
0.07454556226730347,
0.03226228803396225,
-0.04696304351091385,
-0.012170704081654549,
-0.06353239715099335,
-0.008268141187727451,
-0.0004937630728818476,
0.02488710545003414,
0.009053614921867847,
0.016089802607893944,
0.014518856070935726,
-0.024986322969198227,
0.011749029159545898,
0.013493606820702553,
0.0017208069330081344,
-0.006746803410351276,
0.04954270273447037,
-0.04378807917237282,
-0.011897855438292027,
-0.06925395131111145,
0.01600712165236473,
0.04236595705151558,
-0.032229214906692505,
0.008689817041158676,
0.023828784003853798,
0.03141893818974495,
-0.041572216898202896,
0.0015254721511155367,
-0.02338230423629284,
-0.006023341324180365,
-0.01314634457230568,
0.04263053834438324,
-0.007941549643874168,
-0.03776887059211731,
-0.032609548419713974,
-0.00788367260247469,
0.06134961172938347,
-0.023051578551530838,
-0.020290018990635872,
0.02629268914461136,
0.025300513952970505,
0.03608217090368271,
0.03690898418426514,
0.010839533060789108,
0.037669651210308075,
-0.014551929198205471,
0.011848246678709984,
0.016635499894618988,
-0.0033051895443350077,
0.0256643109023571,
-0.023167332634329796,
0.030178716406226158,
0.002811168087646365,
0.017115052789449692,
-0.027053359895944595,
-0.01685047149658203,
-0.007788589224219322,
-0.02735101245343685,
0.009392608888447285,
-0.04319277033209801,
-0.03179927170276642,
0.04094383493065834,
0.034957703202962875,
0.05119633302092552,
0.015444888733327389,
0.03031100705265999,
0.005051834508776665,
-0.02629268914461136,
-0.0007089931168593466,
0.003292787354439497,
-0.06475608795881271,
0.04812058433890343,
0.013262098655104637,
0.025300513952970505,
0.002246867399662733,
-0.09399223327636719,
-0.030955921858549118,
0.001735276193358004,
0.0019347451161593199,
0.008429369889199734,
-0.027714811265468597,
-0.027565984055399895,
-0.08096164464950562,
-0.03070787712931633,
0.012724669650197029,
-0.04210137575864792,
-0.012302994728088379,
-0.01331170741468668,
0.060357432812452316,
-0.05896838381886482,
0.012427017092704773,
-0.02559816651046276,
-0.020256945863366127,
-0.06604591757059097,
-0.03505691885948181,
-0.056851740926504135,
-0.008040767163038254,
-0.00047800192260183394,
-0.011980537325143814,
-0.010748583823442459,
-0.01632131077349186,
0.030542515218257904,
-0.04587164893746376,
-0.03338675573468208,
0.0019378457218408585,
-0.05533040314912796,
0.06779876351356506,
-0.004530941601842642,
0.03757043555378914,
0.015643322840332985,
-0.01845449209213257,
0.04554092511534691,
0.0246721338480711,
-0.015345670282840729,
-0.033138711005449295,
-0.0014097181847319007,
0.010641098022460938,
0.0035739042796194553,
0.0008934760699048638,
-0.0513286218047142,
-0.021017616614699364,
-0.03466004878282547,
0.000024869019398465753,
0.005994402803480625,
-0.015668127685785294,
-0.039819370955228806,
0.004832728765904903,
0.029566874727606773,
-0.0005167588242329657,
-0.014229471795260906,
0.021100297570228577,
0.010748583823442459,
0.02086878940463066,
-0.053742919117212296,
-0.032229214906692505,
-0.051030971109867096,
-0.013890477828681469,
-0.021480631083250046,
-0.001557511161081493,
-0.023084651678800583,
-0.004783120006322861,
-0.033270999789237976,
0.018173374235630035,
0.03740507364273071,
-0.07057685405015945,
-0.05791006237268448,
0.006333396304398775,
0.024920178577303886,
0.027102967724204063,
0.012269921600818634,
-0.033667873591184616,
0.014915727078914642,
-0.05099789798259735,
-0.08565794676542282,
-0.03208038955926895,
-0.000601507315877825,
0.0006087419460527599,
0.07117216289043427,
0.005705017596483231,
-0.0029124529100954533,
-0.05175856500864029,
-0.05397442728281021,
-0.029318829998373985,
-0.00623417878523469,
0.010831265710294247,
-0.01840488240122795,
-0.051857784390449524,
0.0033051895443350077,
0.04269668459892273,
0.04147299751639366,
0.007147808559238911,
-0.039290208369493484,
-0.004082394763827324,
0.07421483844518661,
0.007755516562610865,
-0.021149905398488045,
0.0584392249584198,
0.012931372970342636,
0.04464796558022499,
-0.014824777841567993,
-0.020273482427001,
-0.03212999925017357,
-0.0560910701751709,
0.018735608085989952,
0.07216434180736542,
-0.002943458268418908,
-0.04044774919748306,
0.06872478872537613,
-0.009202441200613976,
0.005076638888567686,
0.00029532768530771136,
0.013791260309517384,
-0.016370920464396477,
0.01049227174371481,
0.01658589206635952,
-0.014791704714298248,
0.029252685606479645,
0.009599312208592892,
-0.012600647285580635,
0.0021559179294854403,
-0.032758377492427826,
0.02162945829331875,
0.047591421753168106,
-0.022142082452774048,
-0.015081089921295643,
0.011459643952548504,
-0.01613941229879856,
-0.016528014093637466,
-0.03743814304471016,
0.00357803818769753,
-0.03399859741330147,
0.017726896330714226,
-0.06581440567970276,
0.08764229714870453,
-0.062474075704813004,
-0.041241489350795746,
-0.011410035192966461,
0.05321376025676727,
0.017396170645952225,
0.02915346622467041,
-0.0530153252184391,
0.006974177435040474,
0.00019443051132839173,
0.025350121781229973,
0.023928001523017883,
-0.09564585983753204,
-0.05800928175449371,
0.05321376025676727,
0.036379821598529816,
-0.02908732183277607,
0.04521019756793976,
-0.003162564244121313,
0.040513891726732254,
0.04931119456887245,
-0.00038214316009543836,
-0.06392926722764969,
0.05744704604148865,
-0.030410224571824074,
-0.06865864992141724,
-0.006110156420618296,
-0.0050435662269592285,
0.005638872738927603,
0.08936206996440887,
0.051030971109867096,
-0.0039811101742088795,
-0.010326908901333809,
0.014841314405202866,
-0.005705017596483231,
0.03839724883437157,
-0.036115240305662155,
-0.005812503397464752,
0.005502447951585054,
-0.04805443808436394,
-0.013807795941829681,
-0.032113462686538696,
0.02624308131635189,
-0.05734783038496971,
0.004394517280161381,
-0.057876989245414734,
-0.004721108824014664,
-0.0388602651655674,
-0.0297322366386652,
0.01528779324144125,
-0.013816064223647118,
-0.05552883818745613,
0.011484448798000813,
0.0025631238240748644,
-0.00620524026453495,
-0.07322265952825546,
0.027632128447294235,
0.03308910131454468,
-0.013989695347845554,
-0.004214684944599867,
0.07335495203733444,
-0.053544484078884125,
0.017511922866106033,
0.023431913927197456,
0.03328753635287285,
-0.08142466098070145,
-0.0547020249068737,
-0.05526425689458847,
-0.01202187780290842,
-0.0033217258751392365,
-0.021860966458916664,
-0.04319277033209801,
0.01769382320344448,
-0.00958277564495802,
0.015180307440459728,
0.014940531924366951,
0.016213824972510338,
-0.017346560955047607,
0.04444953054189682,
0.0094587542116642,
0.028525087982416153,
0.009648920968174934,
0.09240475296974182,
-0.04656617343425751,
-0.006597977131605148,
-0.030426761135458946,
-0.017346560955047607,
0.015907904133200645,
0.004725242964923382,
0.03163390979170799,
-0.046996116638183594,
-0.006639317609369755,
0.006192837841808796,
-0.028359726071357727,
0.06528524309396744,
-0.0371735654771328,
0.004185746423900127,
-0.053412195295095444,
0.03499077633023262,
-0.015535837970674038,
0.016668573021888733,
-0.0013384054182097316,
0.03037715144455433,
0.005601665936410427,
-0.016751253977417946,
-0.03264262154698372,
0.01085606962442398,
0.03318832069635391,
-0.023481521755456924,
0.014560197480022907,
0.015816954895853996,
-0.02022387459874153,
0.02864084206521511,
0.0037723395507782698,
-0.03247725963592529,
0.04987343028187752,
0.053676772862672806,
-0.025350121781229973,
0.040778473019599915,
-0.010194618254899979,
0.017396170645952225,
-0.07871270924806595,
-0.025035932660102844,
0.04993957653641701,
-0.010153277777135372,
-0.027235258370637894,
-0.018735608085989952,
0.008082108572125435,
0.02242320030927658,
0.009467022493481636,
0.004799656104296446,
0.02255549095571041,
-0.017346560955047607,
-0.022323982790112495,
-0.03239457681775093,
-0.06730267405509949,
-0.00357803818769753,
-0.025085540488362312,
-0.053875211626291275,
0.047062262892723083,
-0.02085225284099579,
-0.024920178577303886,
-0.0062879216857254505,
0.0297322366386652,
-0.009996183216571808,
0.08168923854827881,
0.04540863260626793,
-0.01853717304766178,
0.02597850002348423,
-0.02883927710354328,
0.07540544867515564,
0.0029475924093276262,
0.020571136847138405,
0.06168033555150032,
-0.04501176252961159,
-0.006440882105380297,
0.018222983926534653,
-0.03505691885948181,
0.012385675683617592,
-0.00039299510535784066,
0.06045665219426155,
-0.06095273792743683,
0.02604464627802372,
-0.03194809705018997,
-0.016668573021888733,
-0.029054248705506325,
-0.11582012474536896,
0.034560833126306534,
0.003565635997802019,
0.005527252797037363,
0.06019207090139389,
-0.021976720541715622,
0.0001308691716985777,
0.02506900578737259,
0.004733511246740818,
-0.008731157518923283,
0.00445239432156086,
0.0378350168466568,
-0.015246452763676643,
-0.015130698680877686,
0.0008733224240131676,
0.01613941229879856,
-0.019909685477614403,
-0.005138650070875883,
0.02267124317586422,
0.037868089973926544,
0.0742809846997261,
-0.08261527121067047,
0.015312598086893559,
-0.01989314891397953,
0.05681866779923439,
0.057380903512239456,
0.025350121781229973,
-0.0288888867944479,
0.0021187113597989082,
-0.01787572167813778,
0.04431723803281784,
0.026259617879986763,
0.0325930155813694,
0.016528014093637466,
0.021993257105350494,
0.051527056843042374,
-0.03763658180832863,
-0.039025627076625824,
0.016106339171528816,
-0.01146791223436594,
-0.042134448885917664,
0.0025693250354379416,
-0.039819370955228806,
-0.02826050855219364,
0.05420593544840813,
0.00046379107516258955,
0.03117089346051216,
0.006589708849787712,
0.02306811511516571,
0.04349042475223541,
0.011228135786950588,
0.012402212247252464,
-0.013154612854123116,
0.03743814304471016,
-0.07646377384662628,
0.005250270012766123,
0.03575144335627556,
-0.03208038955926895,
0.014279080554842949,
0.017346560955047607,
0.09015581756830215,
0.0072883665561676025,
0.016825668513774872,
0.0241595096886158,
0.02715257741510868,
0.02260509878396988,
-0.08969280123710632,
0.039290208369493484,
0.005332951433956623,
-0.008962665684521198,
-0.04514405131340027,
-0.017412705346941948,
0.023216940462589264,
0.04812058433890343,
0.06055586785078049,
0.0036297140177339315,
0.016147680580615997
] |
10,279 | collections | update | Like dict.update() but add counts instead of replacing them.
Source can be an iterable, a dictionary, or another Counter instance.
>>> c = Counter('which')
>>> c.update('witch') # add elements from another iterable
>>> d = Counter('watch')
>>> c.update(d) # add elements from another counter
>>> c['h'] # four 'h' in which, witch, and watch
4
| def update(self, iterable=None, /, **kwds):
'''Like dict.update() but add counts instead of replacing them.
Source can be an iterable, a dictionary, or another Counter instance.
>>> c = Counter('which')
>>> c.update('witch') # add elements from another iterable
>>> d = Counter('watch')
>>> c.update(d) # add elements from another counter
>>> c['h'] # four 'h' in which, witch, and watch
4
'''
# The regular dict.update() operation makes no sense here because the
# replace behavior results in the some of original untouched counts
# being mixed-in with all of the other counts for a mismash that
# doesn't have a straight-forward interpretation in most counting
# contexts. Instead, we implement straight-addition. Both the inputs
# and outputs are allowed to contain zero and negative counts.
if iterable is not None:
if isinstance(iterable, _collections_abc.Mapping):
if self:
self_get = self.get
for elem, count in iterable.items():
self[elem] = count + self_get(elem, 0)
else:
# fast path when counter is empty
super().update(iterable)
else:
_count_elements(self, iterable)
if kwds:
self.update(kwds)
| (self, iterable=None, /, **kwds) | [
-0.018030213192105293,
-0.046645328402519226,
-0.019268108531832695,
0.04808056727051735,
0.03584514185786247,
0.0024982159957289696,
-0.038320932537317276,
0.019196346402168274,
0.051166336983442307,
-0.005866547115147114,
-0.07491957396268845,
0.004570344928652048,
0.04707590118050575,
0.038105644285678864,
0.007902794517576694,
0.053678009659051895,
0.025672871619462967,
0.013410531915724277,
-0.029727425426244736,
-0.029709486290812492,
0.045281849801540375,
-0.026354610919952393,
0.06042363867163658,
0.07606776803731918,
-0.027161933481693268,
-0.001998124411329627,
0.01637071557343006,
-0.037208620458841324,
0.03451754152774811,
-0.013482294045388699,
-0.014217854477465153,
0.003895333269611001,
-0.03281319513916969,
0.00942773837596178,
0.05274510011076927,
-0.030642392113804817,
-0.040509674698114395,
0.06566227227449417,
-0.050054024904966354,
0.03467900678515434,
0.027646327391266823,
-0.020057490095496178,
-0.004218262620270252,
-0.020165134221315384,
0.07700067013502121,
0.06813806295394897,
0.0042249904945492744,
0.05048459768295288,
0.07043444365262985,
-0.06347353011369705,
-0.03939736261963844,
-0.020810991525650024,
0.020685408264398575,
-0.004763205535709858,
-0.00814947672188282,
0.07915353029966354,
0.012531446292996407,
0.022102709859609604,
-0.033261705189943314,
0.03033740445971489,
-0.0005825059488415718,
-0.015733828768134117,
-0.019411632791161537,
-0.04201667755842209,
-0.012773643247783184,
-0.03383580222725868,
-0.01898106001317501,
0.015401928685605526,
0.025385823100805283,
0.0009160873014479876,
0.011356343515217304,
-0.01580558903515339,
0.01732156239449978,
0.004469429608434439,
0.005413549020886421,
0.05762492120265961,
-0.017994333058595657,
0.007660598028451204,
0.0881955474615097,
-0.027789851650595665,
0.042375486344099045,
-0.030373284593224525,
0.024094106629490852,
-0.003897575894370675,
0.025062892585992813,
0.023089436814188957,
0.004258628934621811,
0.004532221704721451,
-0.017034515738487244,
0.04144258052110672,
-0.012701881118118763,
0.031395893543958664,
0.04804468899965286,
-0.03738802298903465,
-0.010082567110657692,
0.0016269800253212452,
-0.060638926923274994,
-0.05055635794997215,
0.007256936747580767,
0.025511406362056732,
-0.015410898253321648,
-0.018963119015097618,
0.05209924280643463,
-0.04427717998623848,
-0.015177671797573566,
-0.05410857871174812,
0.02072129026055336,
-0.05443150922656059,
0.0037248984444886446,
0.0014531813794746995,
0.03692157194018364,
-0.030175939202308655,
-0.017061425372958183,
-0.00817190296947956,
-0.018963119015097618,
-0.008974740281701088,
-0.022694746032357216,
-0.06218181177973747,
0.024614380672574043,
0.049982260912656784,
-0.07047032564878464,
0.05227864906191826,
0.034948114305734634,
-0.0038684227038174868,
0.026767242699861526,
-0.08195225149393082,
-0.02981712855398655,
0.05281686410307884,
0.038823265582323074,
0.010629752650856972,
0.004915699828416109,
-0.059670139104127884,
0.031395893543958664,
0.030947381630539894,
0.10642310976982117,
-0.04216020181775093,
0.042698416858911514,
-0.0013040509074926376,
-0.025672871619462967,
0.04510244354605675,
0.06472936272621155,
0.005736478138715029,
0.022515341639518738,
0.04833173751831055,
0.022120648995041847,
0.000567088311072439,
0.01803918369114399,
0.05525677278637886,
-0.027771910652518272,
0.010620782151818275,
-0.035414569079875946,
-0.017680373042821884,
0.044958919286727905,
0.05256569758057594,
-0.03539662808179855,
0.027036350220441818,
0.006050437223166227,
-0.029978593811392784,
-0.011141057126224041,
-0.025726692751049995,
0.013159364461898804,
0.009723756462335587,
-0.008396158926188946,
0.0004529978905338794,
-0.033530812710523605,
0.024381153285503387,
-0.055292654782533646,
-0.027413100004196167,
-0.026372550055384636,
-0.014675337821245193,
0.02576257288455963,
-0.0628635510802269,
0.047470591962337494,
-0.014603575691580772,
0.05697906017303467,
0.03220321610569954,
-0.028238363564014435,
0.004969521425664425,
0.008674236945807934,
0.024614380672574043,
0.059418972581624985,
-0.030678274109959602,
-0.04330839216709137,
-0.03846445307135582,
-0.024704083800315857,
-0.020882753655314445,
0.03091149963438511,
0.006785998120903969,
0.009284214116632938,
0.06605695933103561,
0.09042017161846161,
-0.06544698029756546,
0.023591771721839905,
0.014271676540374756,
0.014442111365497112,
0.0048798187635838985,
-0.05285274609923363,
-0.051094572991132736,
0.039792053401470184,
0.06867627799510956,
-0.07857943326234818,
-0.017572730779647827,
0.013401561416685581,
0.02420174889266491,
0.01219954714179039,
-0.0025565228424966335,
0.009643024764955044,
-0.0016606184653937817,
-0.02305355668067932,
-0.04137081652879715,
0.0003442335582803935,
-0.026426373049616814,
0.0044537317007780075,
-0.007947646081447601,
-0.0009783185087144375,
-0.0028951498679816723,
0.01784183830022812,
-0.017483027651906013,
-0.03903855010867119,
-0.042698416858911514,
0.03356669470667839,
0.03241850435733795,
-0.003978308290243149,
-0.02208476886153221,
0.0036194981075823307,
-0.02316119894385338,
-0.004893274512141943,
0.03943324089050293,
0.005247599445283413,
0.010728425346314907,
0.02877657860517502,
0.02084687352180481,
0.04061731696128845,
0.0325440876185894,
-0.0018232044531032443,
-0.085468590259552,
-0.046573564410209656,
-0.01500723697245121,
-0.03439195826649666,
-0.011966320686042309,
-0.014029479585587978,
0.018819596618413925,
0.05235040932893753,
0.020434241741895676,
-0.0907072201371193,
-0.034374017268419266,
0.0009794397046789527,
0.060961853712797165,
-0.004536706488579512,
0.04743470996618271,
-0.0005841878592036664,
-0.02420174889266491,
-0.04420541971921921,
-0.004052313044667244,
0.004202564712613821,
0.00017113564535975456,
-0.008503802120685577,
0.026372550055384636,
-0.036168068647384644,
-0.008118080906569958,
-0.010073596611618996,
0.06182299926877022,
-0.02832806669175625,
0.018747834488749504,
-0.0294403787702322,
0.02278444916009903,
0.06713338941335678,
0.021008338779211044,
-0.06132066622376442,
0.06404761970043182,
-0.049408167600631714,
-0.05464679375290871,
0.04897759482264519,
-0.0122354282066226,
-0.03717273846268654,
0.0232329610735178,
0.059096042066812515,
-0.011401194147765636,
-0.03311818093061447,
-0.016236161813139915,
0.049336403608322144,
-0.0062612383626401424,
-0.04162198305130005,
-0.0330464206635952,
0.015240463428199291,
0.05805549398064613,
-0.005525677464902401,
0.05120221897959709,
-0.051022812724113464,
-0.02743104100227356,
0.07233613729476929,
0.0050188577733933926,
0.017052454873919487,
0.059993065893650055,
-0.0019028154201805592,
-0.0024623351637274027,
-0.05629732087254524,
-0.029583901166915894,
0.0419807955622673,
0.029942711815238,
-0.004745265003293753,
-0.02368147484958172,
-0.02497319132089615,
-0.00294448621571064,
0.0013702064752578735,
-0.037998002022504807,
0.059347208589315414,
0.03781859576702118,
-0.012047053314745426,
0.007691993843764067,
0.030893558636307716,
0.07434547692537308,
-0.03661658242344856,
0.015832500532269478,
0.0014901836402714252,
-0.040832601487636566,
-0.0740584284067154,
-0.017994333058595657,
-0.03001447394490242,
0.05823489651083946,
-0.006279178895056248,
0.00020281186152715236,
-0.021277446299791336,
-0.02407616563141346,
-0.06214592978358269,
-0.031216489151120186,
0.06645165383815765,
0.026336669921875,
0.06304295361042023,
-0.014917534776031971,
-0.04291370138525963,
-0.06562639027833939,
-0.0008375975885428488,
-0.006072863005101681,
-0.07441724091768265,
-0.017258770763874054,
0.017680373042821884,
0.00984934065490961,
-0.024381153285503387,
0.0062836636789143085,
-0.0171421580016613,
0.05758903920650482,
-0.07082913815975189,
0.012836435809731483,
-0.04635827988386154,
-0.05245805159211159,
0.008674236945807934,
-0.026928706094622612,
0.05805549398064613,
-0.04991050064563751,
0.00857107900083065,
-0.0350378155708313,
0.006364396307617426,
0.019519275054335594,
0.04538949206471443,
0.0052924505434930325,
0.023143257945775986,
-0.07265906780958176,
0.03103708289563656,
-0.06089009344577789,
-0.03487635403871536,
-0.006279178895056248,
0.03356669470667839,
0.027987197041511536,
-0.021080100908875465,
0.018128886818885803,
-0.01846078597009182,
-0.03349493443965912,
-0.05557970330119133,
-0.03878738358616829,
0.010549020022153854,
-0.05572322756052017,
-0.012504535727202892,
0.04711177945137024,
0.054826200008392334,
0.006440643221139908,
-0.042303722351789474,
0.06910684704780579,
-0.03136001154780388,
-0.04033026844263077,
0.007588835898786783,
0.004982976708561182,
-0.04951580986380577,
0.010862979106605053,
0.035145461559295654,
0.018640190362930298,
0.0180122721940279,
-0.03331552818417549,
0.02238975651562214,
0.027484862133860588,
-0.03467900678515434,
0.02673136070370674,
-0.011410164646804333,
-0.030157998204231262,
-0.07427371293306351,
0.019052822142839432,
0.021833602339029312,
-0.037926238030195236,
0.0165232103317976,
-0.05148926377296448,
0.07082913815975189,
-0.06178711727261543,
0.053929176181554794,
0.009320095181465149,
0.008624900132417679,
-0.020021609961986542,
-0.016011904925107956,
-0.03928971663117409,
-0.020218955352902412,
0.027843672782182693,
-0.02640843205153942,
-0.005189292598515749,
-0.026067562401294708,
-0.004153228364884853,
-0.019286049529910088,
-0.06752808392047882,
-0.012854375876486301,
-0.07233613729476929,
0.01778801716864109,
0.03661658242344856,
0.04983874037861824,
0.0014419684885069728,
0.0007574259070679545,
0.0566561333835125,
0.01851460710167885,
-0.0700756311416626,
-0.03439195826649666,
-0.02479378506541252,
0.013069662265479565,
0.022999735549092293,
-0.036437176167964935,
-0.05464679375290871,
0.01526737492531538,
-0.016137490049004555,
-0.016137490049004555,
-0.021456850692629814,
0.011553688906133175,
-0.013894925825297832,
-0.0004244052106514573,
0.009607143700122833,
-0.0017178038833662868,
0.01203808281570673,
0.015321196056902409,
0.03200587257742882,
0.01568000577390194,
-0.02219241112470627,
-0.039469122886657715,
-0.016137490049004555,
-0.016926871612668037,
0.0016011905390769243,
0.05906016007065773,
0.0036710770800709724,
-0.005081649869680405,
0.03460724651813507,
-0.00775927072390914,
-0.01697172224521637,
-0.05891663581132889,
-0.013885955326259136,
0.008207784034311771,
-0.001556339324451983,
-0.020900694653391838,
0.002026156522333622,
0.0015866139438003302,
0.011634421534836292,
-0.05608203634619713,
-0.0015507328789681196,
-0.014379319734871387,
0.01039652619510889,
-0.02673136070370674,
0.033530812710523605,
0.021420970559120178,
-0.041801389306783676,
0.006624533794820309,
-0.04564065858721733,
-0.02866893634200096,
-0.01245968509465456,
-0.03148559480905533,
-0.009992863982915878,
-0.014872683212161064,
-0.00864732638001442,
0.07707243412733078,
0.0496952161192894,
0.05464679375290871,
-0.05895251780748367,
0.01733950339257717,
-0.006180505733937025,
0.03331552818417549,
-0.005427004303783178,
0.06627224385738373,
0.06698986887931824,
0.004691443406045437,
-0.019967788830399513,
0.025708751752972603,
-0.05378565192222595,
0.009948013350367546,
0.004682473372668028,
0.03085767850279808,
-0.005983160343021154,
0.03620395064353943,
0.006346455775201321,
-0.017931539565324783,
-0.042052555829286575,
0.040437910705804825,
-0.012352041900157928,
0.012495565228164196,
0.012405863031744957,
-0.029260972514748573,
0.02678518183529377,
0.047542352229356766,
0.021205684170126915,
0.013643758371472359,
-0.028884222730994225,
0.023089436814188957,
0.00658416748046875,
0.060387760400772095,
-0.044635988771915436,
-0.048116449266672134,
-0.004610711243003607,
-0.050699882209300995,
-0.010925770737230778,
0.007956616580486298,
0.018873417750000954,
-0.0010921285720542073,
-0.0018355385400354862,
-0.02536788210272789,
0.02497319132089615,
0.0025520375929772854,
-0.05636908486485481,
0.019268108531832695,
0.006507920101284981,
-0.05055635794997215,
0.01329391822218895,
-0.05705082416534424,
0.025852276012301445,
0.0025385823100805283,
0.06795865297317505,
0.028830399736762047,
-0.061607714742422104,
-0.021456850692629814,
0.011508837342262268,
0.0397561714053154,
0.05001814290881157,
0.06067480891942978,
-0.03756742924451828,
0.02626490779221058,
0.03763919323682785,
-0.051668670028448105,
-0.0832439661026001,
0.04040202870965004,
-0.04381072521209717,
-0.12321542948484421,
-0.03362051770091057,
-0.017752135172486305,
0.041801389306783676,
0.001046156045049429,
0.0078265480697155,
0.005319361574947834,
-0.030175939202308655,
0.035593971610069275,
0.06562639027833939,
-0.007893824949860573,
-0.022748567163944244,
0.013742431066930294,
-0.007638172246515751,
0.020021609961986542,
0.020452182739973068,
0.007355609443038702,
0.011141057126224041,
-0.02879451960325241,
0.03756742924451828,
0.01010050717741251,
0.04865466430783272,
-0.07082913815975189,
-0.04635827988386154,
-0.057158466428518295,
0.0033840287942439318,
-0.010898860171437263,
-0.04104788973927498,
0.07994291186332703,
-0.04729118570685387,
-0.06315059959888458,
0.044958919286727905,
0.028704816475510597,
-0.04718354344367981,
0.05873723328113556,
0.003040916519239545,
-0.07287435233592987,
0.05758903920650482,
-0.020452182739973068,
0.04341603443026543,
-0.05784020572900772,
-0.09056369960308075,
-0.011302521452307701,
-0.011661332100629807,
-0.007144808303564787,
0.0017189251957461238,
-0.04226784408092499,
-0.036114249378442764,
0.006651444360613823,
-0.01433446817100048,
-0.01890929788351059,
0.0026417402550578117,
-0.07929705828428268,
0.035540152341127396,
0.00880879070609808,
0.0053642126731574535,
-0.014890624210238457,
0.07054208964109421,
-0.0162720438092947,
-0.024506738409399986,
-0.02072129026055336,
0.001954394392669201,
0.029386555776000023,
0.03344111144542694,
0.03806976228952408,
-0.05357036367058754,
0.005041283555328846,
-0.006014556158334017,
0.017384354025125504,
0.020757170394062996,
-0.028238363564014435,
0.015114880166947842,
-0.04352368041872978,
-0.013724491000175476,
-0.02402234449982643,
-0.013814193196594715,
-0.006853275001049042,
0.0330464206635952,
-0.0020867057610303164,
-0.004364029038697481,
-0.0296915452927351,
-0.004198079463094473,
0.05697906017303467,
-0.0013982385862618685,
0.05331919714808464,
0.02116980217397213,
-0.035271044820547104,
0.059741899371147156,
-0.008427554741501808,
0.04036615043878555,
0.07448899745941162,
0.023591771721839905,
0.04492303729057312,
0.02077511139214039,
-0.03885914757847786,
0.029009805992245674,
-0.009203482419252396,
-0.00545391533523798,
0.018128886818885803,
0.02897392399609089,
0.006010070908814669,
-0.02412998676300049,
-0.0077458154410123825,
-0.01219954714179039,
-0.04434894397854805,
0.027592506259679794,
0.01637071557343006,
-0.046501804143190384,
0.006969888228923082,
-0.007902794517576694,
-0.03957676514983177,
0.02640843205153942,
0.010037715546786785,
-0.004276569001376629,
0.016586001962423325,
-0.02543964423239231,
-0.006386821623891592,
-0.003731626318767667,
0.05245805159211159,
0.018963119015097618,
0.0501975491642952,
0.0027471405919641256,
-0.04377484694123268,
0.0198780857026577,
-0.03091149963438511,
-0.03412285074591637,
-0.012899227440357208,
0.02181566134095192,
0.02795131504535675,
0.021636255085468292,
0.00022930215345695615,
-0.003787690307945013,
-0.04452834650874138,
0.02770014852285385,
-0.005911398213356733,
0.035988666117191315,
0.0007422886556014419,
-0.012271309271454811,
-0.01788668893277645,
-0.017931539565324783,
0.02685694396495819,
-0.052709221839904785,
-0.004263113718479872,
-0.03595278412103653,
-0.05278098210692406,
-0.024058224633336067,
-0.05374976992607117,
-0.05866546928882599,
0.05252981558442116,
-0.06350940465927124,
0.0422319620847702,
0.04976697638630867,
0.03961264714598656,
-0.030373284593224525,
0.0023255387786775827,
0.026964588090777397,
-0.03641923516988754,
-0.024040283635258675,
0.09049193561077118,
0.04312898591160774,
0.036688342690467834,
0.08790849894285202,
-0.054072700440883636,
-0.01145501621067524,
0.0496952161192894,
0.006144625134766102,
0.07047032564878464,
0.0011975291417911649,
0.00001808067099773325,
0.01878371462225914,
0.04312898591160774,
0.03710097447037697,
0.005588469095528126,
0.006090803537517786,
-0.04987461864948273,
-0.02832806669175625,
0.0643705502152443,
0.021905362606048584,
0.00126704853028059,
0.014953415840864182,
-0.01602984592318535,
-0.051094572991132736,
-0.031467657536268234,
-0.05525677278637886,
0.021062159910798073,
0.015177671797573566,
-0.020613646134734154,
-0.016882020980119705,
0.020434241741895676,
0.021582433953881264,
-0.008414099924266338,
-0.007427371572703123,
-0.00044374732533469796,
0.06440643221139908,
0.0043146926909685135,
-0.04449246823787689,
0.020290717482566833,
0.008306456729769707,
-0.0026417402550578117,
0.01358993723988533,
0.023071495816111565,
0.02246151864528656,
-0.03026564233005047,
-0.028561292216181755,
0.05730199068784714,
-0.023789117112755775,
-0.0007579865632578731,
-0.06089009344577789,
0.04711177945137024,
0.019339870661497116,
-0.008669751696288586,
-0.07735948264598846,
0.04517420753836632,
0.001943181618116796,
0.0024735478218644857,
0.07886648178100586,
0.03867974132299423,
0.04564065858721733
] |
10,280 | fractions | Fraction | This class implements rational numbers.
In the two-argument form of the constructor, Fraction(8, 6) will
produce a rational number equivalent to 4/3. Both arguments must
be Rational. The numerator defaults to 0 and the denominator
defaults to 1 so that Fraction(3) == 3 and Fraction() == 0.
Fractions can also be constructed from:
- numeric strings similar to those accepted by the
float constructor (for example, '-2.3' or '1e10')
- strings of the form '123/456'
- float and Decimal instances
- other Rational instances (including integers)
| class Fraction(numbers.Rational):
"""This class implements rational numbers.
In the two-argument form of the constructor, Fraction(8, 6) will
produce a rational number equivalent to 4/3. Both arguments must
be Rational. The numerator defaults to 0 and the denominator
defaults to 1 so that Fraction(3) == 3 and Fraction() == 0.
Fractions can also be constructed from:
- numeric strings similar to those accepted by the
float constructor (for example, '-2.3' or '1e10')
- strings of the form '123/456'
- float and Decimal instances
- other Rational instances (including integers)
"""
__slots__ = ('_numerator', '_denominator')
# We're immutable, so use __new__ not __init__
def __new__(cls, numerator=0, denominator=None, *, _normalize=True):
"""Constructs a Rational.
Takes a string like '3/2' or '1.5', another Rational instance, a
numerator/denominator pair, or a float.
Examples
--------
>>> Fraction(10, -8)
Fraction(-5, 4)
>>> Fraction(Fraction(1, 7), 5)
Fraction(1, 35)
>>> Fraction(Fraction(1, 7), Fraction(2, 3))
Fraction(3, 14)
>>> Fraction('314')
Fraction(314, 1)
>>> Fraction('-35/4')
Fraction(-35, 4)
>>> Fraction('3.1415') # conversion from numeric string
Fraction(6283, 2000)
>>> Fraction('-47e-2') # string may include a decimal exponent
Fraction(-47, 100)
>>> Fraction(1.47) # direct construction from float (exact conversion)
Fraction(6620291452234629, 4503599627370496)
>>> Fraction(2.25)
Fraction(9, 4)
>>> Fraction(Decimal('1.47'))
Fraction(147, 100)
"""
self = super(Fraction, cls).__new__(cls)
if denominator is None:
if type(numerator) is int:
self._numerator = numerator
self._denominator = 1
return self
elif isinstance(numerator, numbers.Rational):
self._numerator = numerator.numerator
self._denominator = numerator.denominator
return self
elif isinstance(numerator, (float, Decimal)):
# Exact conversion
self._numerator, self._denominator = numerator.as_integer_ratio()
return self
elif isinstance(numerator, str):
# Handle construction from strings.
m = _RATIONAL_FORMAT.match(numerator)
if m is None:
raise ValueError('Invalid literal for Fraction: %r' %
numerator)
numerator = int(m.group('num') or '0')
denom = m.group('denom')
if denom:
denominator = int(denom)
else:
denominator = 1
decimal = m.group('decimal')
if decimal:
scale = 10**len(decimal)
numerator = numerator * scale + int(decimal)
denominator *= scale
exp = m.group('exp')
if exp:
exp = int(exp)
if exp >= 0:
numerator *= 10**exp
else:
denominator *= 10**-exp
if m.group('sign') == '-':
numerator = -numerator
else:
raise TypeError("argument should be a string "
"or a Rational instance")
elif type(numerator) is int is type(denominator):
pass # *very* normal case
elif (isinstance(numerator, numbers.Rational) and
isinstance(denominator, numbers.Rational)):
numerator, denominator = (
numerator.numerator * denominator.denominator,
denominator.numerator * numerator.denominator
)
else:
raise TypeError("both arguments should be "
"Rational instances")
if denominator == 0:
raise ZeroDivisionError('Fraction(%s, 0)' % numerator)
if _normalize:
g = math.gcd(numerator, denominator)
if denominator < 0:
g = -g
numerator //= g
denominator //= g
self._numerator = numerator
self._denominator = denominator
return self
@classmethod
def from_float(cls, f):
"""Converts a finite float to a rational number, exactly.
Beware that Fraction.from_float(0.3) != Fraction(3, 10).
"""
if isinstance(f, numbers.Integral):
return cls(f)
elif not isinstance(f, float):
raise TypeError("%s.from_float() only takes floats, not %r (%s)" %
(cls.__name__, f, type(f).__name__))
return cls(*f.as_integer_ratio())
@classmethod
def from_decimal(cls, dec):
"""Converts a finite Decimal instance to a rational number, exactly."""
from decimal import Decimal
if isinstance(dec, numbers.Integral):
dec = Decimal(int(dec))
elif not isinstance(dec, Decimal):
raise TypeError(
"%s.from_decimal() only takes Decimals, not %r (%s)" %
(cls.__name__, dec, type(dec).__name__))
return cls(*dec.as_integer_ratio())
def as_integer_ratio(self):
"""Return the integer ratio as a tuple.
Return a tuple of two integers, whose ratio is equal to the
Fraction and with a positive denominator.
"""
return (self._numerator, self._denominator)
def limit_denominator(self, max_denominator=1000000):
"""Closest Fraction to self with denominator at most max_denominator.
>>> Fraction('3.141592653589793').limit_denominator(10)
Fraction(22, 7)
>>> Fraction('3.141592653589793').limit_denominator(100)
Fraction(311, 99)
>>> Fraction(4321, 8765).limit_denominator(10000)
Fraction(4321, 8765)
"""
# Algorithm notes: For any real number x, define a *best upper
# approximation* to x to be a rational number p/q such that:
#
# (1) p/q >= x, and
# (2) if p/q > r/s >= x then s > q, for any rational r/s.
#
# Define *best lower approximation* similarly. Then it can be
# proved that a rational number is a best upper or lower
# approximation to x if, and only if, it is a convergent or
# semiconvergent of the (unique shortest) continued fraction
# associated to x.
#
# To find a best rational approximation with denominator <= M,
# we find the best upper and lower approximations with
# denominator <= M and take whichever of these is closer to x.
# In the event of a tie, the bound with smaller denominator is
# chosen. If both denominators are equal (which can happen
# only when max_denominator == 1 and self is midway between
# two integers) the lower bound---i.e., the floor of self, is
# taken.
if max_denominator < 1:
raise ValueError("max_denominator should be at least 1")
if self._denominator <= max_denominator:
return Fraction(self)
p0, q0, p1, q1 = 0, 1, 1, 0
n, d = self._numerator, self._denominator
while True:
a = n//d
q2 = q0+a*q1
if q2 > max_denominator:
break
p0, q0, p1, q1 = p1, q1, p0+a*p1, q2
n, d = d, n-a*d
k = (max_denominator-q0)//q1
bound1 = Fraction(p0+k*p1, q0+k*q1)
bound2 = Fraction(p1, q1)
if abs(bound2 - self) <= abs(bound1-self):
return bound2
else:
return bound1
@property
def numerator(a):
return a._numerator
@property
def denominator(a):
return a._denominator
def __repr__(self):
"""repr(self)"""
| (numerator=0, denominator=None, *, _normalize=True) | [
0.008233044296503067,
-0.053258929401636124,
-0.0036326723638921976,
0.04079536721110344,
0.0072552114725112915,
-0.00017321057384833694,
0.009859386831521988,
-0.03279031440615654,
-0.042436908930540085,
-0.02142111398279667,
0.04148440808057785,
0.05625828728079796,
0.04507148265838623,
0.04596318304538727,
-0.029953081160783768,
0.04178839921951294,
0.025109516456723213,
0.022758666425943375,
-0.018786540254950523,
0.03143249452114105,
-0.013324865140020847,
0.025676963850855827,
0.02454207092523575,
0.0768890306353569,
-0.04438243806362152,
0.018806805834174156,
0.047381799668073654,
0.014895476400852203,
-0.031047441065311432,
-0.026730794459581375,
-0.007062685210257769,
0.039842866361141205,
-0.013284333050251007,
0.006277379114180803,
-0.03988339751958847,
-0.024521805346012115,
-0.020640874281525612,
0.05390743911266327,
-0.14786040782928467,
0.02592015638947487,
-0.026811856776475906,
0.015260263346135616,
-0.0005091821076348424,
0.0006352110067382455,
-0.017712444067001343,
-0.00829384196549654,
0.041909992694854736,
0.011034811846911907,
-0.034654781222343445,
0.011207072995603085,
0.04340967535972595,
-0.012027843855321407,
-0.06541849672794342,
-0.021765634417533875,
-0.030925845727324486,
0.07883456349372864,
0.012220370583236217,
0.0510702058672905,
0.01799616776406765,
-0.03917409107089043,
0.00166307482868433,
0.008501567877829075,
0.02233308181166649,
-0.053177863359451294,
-0.057312119752168655,
0.01678021065890789,
-0.0026421737857162952,
-0.015604784712195396,
-0.018036698922514915,
0.006925889756530523,
-0.0062216478399932384,
0.008116514421999454,
0.01868521049618721,
0.00410638889297843,
0.05629882216453552,
0.037025898694992065,
0.004524374380707741,
0.016020236536860466,
0.021258985623717308,
-0.004894227720797062,
0.05147552490234375,
0.017053799703717232,
0.047989778220653534,
-0.06874211877584457,
-0.011298269033432007,
-0.031918879598379135,
-0.025960687547922134,
-0.018279891461133957,
0.009834053926169872,
0.01758071593940258,
-0.08045583963394165,
-0.030317867174744606,
0.012686487287282944,
0.009261541068553925,
0.008572498336434364,
0.0024154484272003174,
-0.02462313510477543,
-0.049367863684892654,
-0.016709279268980026,
-0.014662417583167553,
-0.04178839921951294,
0.05544764921069145,
-0.07879403233528137,
-0.014814412221312523,
0.01824949122965336,
-0.026143081486225128,
0.021238720044493675,
-0.0040050591342151165,
-0.018350820988416672,
0.0072906771674752235,
-0.0807395651936531,
0.016962604597210884,
-0.07842924445867538,
0.03921462222933769,
-0.019191859290003777,
0.003969593904912472,
-0.05735265091061592,
-0.008815689943730831,
0.06943115592002869,
-0.029872016981244087,
-0.0075186691246926785,
0.043044887483119965,
-0.057676903903484344,
0.08365786075592041,
0.03933621570467949,
0.0005744131631217897,
0.030459729954600334,
-0.02227228321135044,
-0.02105632610619068,
0.022150687873363495,
0.047989778220653534,
0.04422031342983246,
-0.004433177411556244,
0.02906137891113758,
0.02089419960975647,
0.08438743650913239,
-0.07571360468864441,
0.034127868711948395,
-0.02365036867558956,
0.028534462675452232,
0.012524359859526157,
-0.03270924836397171,
0.0016960070934146643,
0.00996578298509121,
-0.02691318653523922,
0.05370477959513664,
0.03921462222933769,
0.026730794459581375,
-0.0224952083081007,
0.0670803114771843,
-0.028615526854991913,
0.01418616808950901,
0.14088891446590424,
-0.013720051385462284,
0.05139445886015892,
-0.06347297132015228,
0.03380361199378967,
-0.0021139923483133316,
-0.027095580473542213,
0.024298878386616707,
0.0012520559830591083,
-0.021866964176297188,
0.01741858758032322,
0.001185558270663023,
0.0076149324886500835,
0.022616805508732796,
-0.0420721210539341,
-0.0950067937374115,
-0.05216456577181816,
0.017621247097849846,
0.045638930052518845,
-0.02685238979756832,
-0.02539324015378952,
0.02227228321135044,
-0.03135143220424652,
0.01392271090298891,
0.038789037615060806,
0.013061407953500748,
-0.03735015541315079,
0.007240012288093567,
0.08511700481176376,
-0.06922850012779236,
-0.022900529205799103,
-0.024055687710642815,
0.03826212137937546,
0.00602405471727252,
-0.004952492658048868,
-0.01117667369544506,
0.0400252602994442,
-0.014510422945022583,
0.01304114144295454,
-0.010168442502617836,
0.028858719393610954,
-0.0003825198800768703,
0.004737166687846184,
-0.02583909220993519,
0.034107599407434464,
-0.038687705993652344,
0.10846338421106339,
0.046935949474573135,
-0.045638930052518845,
0.008526899851858616,
0.03700563311576843,
-0.023467974737286568,
-0.020306486636400223,
-0.006571235600858927,
-0.06870158761739731,
0.008065849542617798,
0.022434411570429802,
0.010239372961223125,
-0.0660264790058136,
-0.009139945730566978,
-0.004691568203270435,
0.006414174567908049,
-0.02821020781993866,
-0.037471748888492584,
0.10043806582689285,
-0.019536379724740982,
0.039397016167640686,
-0.0027663027867674828,
0.05569084361195564,
0.024278612807393074,
-0.00460290489718318,
-0.011804918758571148,
-0.0012900546425953507,
-0.03615446388721466,
-0.016770077869296074,
0.019576910883188248,
-0.006677631754428148,
-0.010578827932476997,
0.04349073767662048,
-0.05820382013916969,
0.017175396904349327,
-0.03477637842297554,
-0.007701062597334385,
-0.0185534805059433,
-0.027419835329055786,
0.0038657307159155607,
-0.019505981355905533,
-0.011916381306946278,
-0.019303321838378906,
0.014956274069845676,
-0.017175396904349327,
0.039782069623470306,
0.00874982587993145,
-0.07064711302518845,
-0.01368965208530426,
0.018533214926719666,
-0.0035262759774923325,
-0.006596568040549755,
-0.022859996184706688,
-0.04211265221238136,
-0.007123482879251242,
-0.05589350312948227,
0.01780364103615284,
0.023609837517142296,
-0.06537796556949615,
0.025595899671316147,
0.026629464700818062,
0.01907026208937168,
0.02790621854364872,
-0.016678880900144577,
0.015766913071274757,
0.03613419458270073,
-0.05123233050107956,
-0.01212917361408472,
-0.045801058411598206,
-0.04223424941301346,
-0.008035451173782349,
0.029041113331913948,
0.06886371225118637,
0.014632019214332104,
-0.024906856939196587,
-0.027014516294002533,
-0.04024818539619446,
0.005887259729206562,
0.039619941264390945,
0.0250081866979599,
0.008744759485125542,
-0.0359923355281353,
-0.04596318304538727,
-0.0579606294631958,
0.03376308083534241,
0.035647813230752945,
0.023690899834036827,
0.06610754132270813,
0.0077517274767160416,
-0.03418866544961929,
0.021441379562020302,
0.02356930449604988,
0.023893559351563454,
-0.03905249387025833,
-0.012939811684191227,
0.034046802669763565,
0.04916520416736603,
0.020022762939333916,
0.002534510800614953,
-0.049692120403051376,
0.01799616776406765,
-0.024987921118736267,
-0.027622494846582413,
-0.026062017306685448,
0.07206573337316513,
0.055326055735349655,
-0.04888148233294487,
-0.049367863684892654,
0.029608558863401413,
-0.02194802835583687,
0.00894235260784626,
-0.004265983588993549,
-0.019749172031879425,
0.04438243806362152,
0.007979719899594784,
0.023812497034668922,
0.05674467235803604,
-0.023427443578839302,
0.026183612644672394,
-0.004352113697677851,
-0.014155768789350986,
0.041383080184459686,
-0.010284971445798874,
0.06558062881231308,
-0.004007592331618071,
0.02583909220993519,
-0.003835331881418824,
0.0022457209415733814,
-0.03364148363471031,
0.07741594314575195,
-0.006687765009701252,
0.02363010309636593,
-0.07101190090179443,
-0.004917026963084936,
0.006951222196221352,
0.010274838656187057,
0.01780364103615284,
-0.023609837517142296,
0.05175924673676491,
-0.0244812723249197,
0.016466088593006134,
-0.0399644635617733,
0.10238359868526459,
-0.04811137542128563,
-0.01874600723385811,
-0.02561616525053978,
-0.017742842435836792,
0.00464343698695302,
0.059581905603408813,
-0.046854887157678604,
0.039842866361141205,
-0.017286859452724457,
-0.05605562776327133,
-0.03173648566007614,
-0.0035516084171831608,
-0.031290631741285324,
-0.05536658689379692,
-0.007356541231274605,
-0.015726380050182343,
-0.020792869850993156,
-0.021157655864953995,
-0.019809970632195473,
0.044787757098674774,
0.05439382046461105,
-0.011723854579031467,
0.003409746801480651,
-0.03743121773004532,
-0.034877706319093704,
-0.028797920793294907,
0.000007050533440633444,
0.0013603521510958672,
-0.009849254041910172,
0.01224063616245985,
-0.01575678028166294,
-0.023123454302549362,
-0.03418866544961929,
-0.028311537578701973,
0.05062435194849968,
0.042355842888355255,
0.03585047274827957,
0.0010398967424407601,
-0.0065813688561320305,
0.027663027867674828,
-0.027480633929371834,
-0.02790621854364872,
0.02326531521975994,
-0.04819243773818016,
-0.03528302535414696,
0.04063323885202408,
-0.019809970632195473,
0.01220010407269001,
0.049894779920578,
-0.07097136974334717,
-0.010426833294332027,
0.04596318304538727,
0.02356930449604988,
-0.06541849672794342,
0.011450264602899551,
0.06221647933125496,
0.003169088624417782,
-0.04446350410580635,
0.03589100390672684,
0.02036728337407112,
-0.031675685197114944,
-0.0069309561513364315,
0.05025956779718399,
0.03998472914099693,
-0.00732107600197196,
0.0971144512295723,
0.04543627053499222,
0.006485105492174625,
0.014733348973095417,
-0.0033793479669839144,
-0.07846977561712265,
-0.027359038591384888,
0.06363509595394135,
-0.01406457182019949,
-0.03514116629958153,
-0.035951804369688034,
-0.06878264993429184,
-0.012879014015197754,
0.006150716915726662,
0.021765634417533875,
-0.01410510390996933,
0.022778932005167007,
0.06420253962278366,
0.017590848729014397,
-0.004656102973967791,
0.048922013491392136,
0.010315370745956898,
-0.022981591522693634,
0.03935648128390312,
0.02158324047923088,
0.0295072291046381,
-0.020519278943538666,
-0.06428360939025879,
0.016526885330677032,
-0.04567946121096611,
-0.02036728337407112,
0.03544515371322632,
-0.010457232594490051,
0.002044328022748232,
0.041747864335775375,
0.039761804044246674,
0.0058213951997458935,
-0.018979066982865334,
0.021562974900007248,
-0.07624051719903946,
0.054555948823690414,
0.00008407204586546868,
-0.08690041303634644,
-0.04726020619273186,
0.0020810600835829973,
-0.024663666263222694,
0.00806078314781189,
-0.008440770208835602,
-0.00987965241074562,
-0.029831483960151672,
0.029243772849440575,
0.01102467905730009,
-0.021218454465270042,
0.0071944138035178185,
0.022738400846719742,
0.038018930703401566,
-0.004691568203270435,
-0.016243161633610725,
-0.07636211812496185,
0.05062435194849968,
0.09679019451141357,
0.004164653364568949,
-0.06031148135662079,
-0.03937675058841705,
0.024947389960289,
0.07340328395366669,
-0.03544515371322632,
0.00332614965736866,
-0.041666802018880844,
0.022758666425943375,
-0.03737042099237442,
-0.056542012840509415,
0.003432546043768525,
-0.03621526062488556,
0.014804279431700706,
0.004448377061635256,
0.0023280514869838953,
0.00397466029971838,
-0.012909412384033203,
-0.022312816232442856,
-0.011470530182123184,
0.027115846052765846,
0.005603536497801542,
-0.021258985623717308,
-0.052569884806871414,
0.03658004850149155,
-0.024420475587248802,
0.025676963850855827,
-0.08183392137289047,
0.03035840019583702,
-0.04851669445633888,
-0.02821020781993866,
0.011997444555163383,
-0.03345908969640732,
0.03722855821251869,
-0.02715637907385826,
-0.012301433831453323,
0.02241414599120617,
0.03805946186184883,
0.047381799668073654,
-0.05415062978863716,
0.05500179901719093,
-0.00981378834694624,
-0.0026624398306012154,
-0.032749783247709274,
0.02630520798265934,
-0.012767551466822624,
0.020144358277320862,
-0.010700424201786518,
-0.0026548400055617094,
-0.0016212763730436563,
0.005770730320364237,
-0.05062435194849968,
-0.05569084361195564,
-0.026366006582975388,
0.008993017487227917,
-0.029264038428664207,
-0.013568056747317314,
-0.01967824064195156,
-0.010761221870779991,
-0.08973764628171921,
-0.02790621854364872,
0.03262818604707718,
-0.03011520765721798,
0.01725645922124386,
-0.03333749622106552,
0.02271813526749611,
0.020995529368519783,
-0.01924252323806286,
0.022454677149653435,
-0.021988559514284134,
-0.020377416163682938,
0.037714939564466476,
0.029689623042941093,
-0.02059021033346653,
0.06144637241959572,
0.007853057235479355,
0.004121588543057442,
0.01791510358452797,
-0.03880930319428444,
0.052286162972450256,
0.011602259241044521,
0.026933453977108,
0.008197578601539135,
0.06821519881486893,
-0.04316648095846176,
0.039397016167640686,
0.01019884180277586,
0.023549038916826248,
0.018472418189048767,
0.03966047242283821,
0.007883456535637379,
0.04551733285188675,
-0.02683212421834469,
-0.005233682692050934,
0.005902459379285574,
0.0569068007171154,
-0.02235334739089012,
-0.04620637744665146,
0.005639001727104187,
0.05569084361195564,
0.03781627118587494,
0.0005012656911276281,
0.010578827932476997,
0.0194553155452013,
0.029953081160783768,
0.03418866544961929,
0.027480633929371834,
-0.019607311114668846,
-0.01744898594915867,
-0.023427443578839302,
-0.015310928225517273,
-0.013588322326540947,
0.005861927289515734,
0.02055981010198593,
-0.023731432855129242,
-0.0400252602994442,
-0.03743121773004532,
-0.018168427050113678,
0.027318505570292473,
-0.0028043014463037252,
0.03315510228276253,
-0.01468268409371376,
-0.004957559052854776,
-0.01239263080060482,
-0.025879623368382454,
0.03125010058283806,
-0.03830265253782272,
-0.021177921444177628,
-0.02180616743862629,
-0.07482190430164337,
-0.0648510530591011,
0.03536409139633179,
-0.032526858150959015,
-0.03333749622106552,
0.010062046349048615,
-0.047381799668073654,
0.015270396135747433,
0.01695246994495392,
0.03550595045089722,
0.014176035299897194,
-0.018421752378344536,
-0.04012658819556236,
-0.06991754472255707,
0.015371725894510746,
0.022130422294139862,
-0.009793522767722607,
-0.025737762451171875,
-0.02837233617901802,
-0.0250081866979599,
-0.06278392672538757,
0.01841161958873272,
-0.04620637744665146,
0.03270924836397171,
-0.0409574918448925,
0.04644956812262535,
0.00032457191264256835,
0.04057244211435318,
-0.035262759774923325,
0.03418866544961929,
0.02235334739089012,
-0.05962243676185608,
-0.017134863883256912,
-0.06635073572397232,
0.04628743976354599,
0.01956677809357643,
-0.035809941589832306,
-0.004868895281106234,
-0.0689447745680809,
-0.014652284793555737,
0.023549038916826248,
0.005831528455018997,
0.013132338412106037,
0.0799289271235466,
0.001580744399689138,
-0.01993156597018242,
-0.03994419425725937,
0.004929693415760994,
0.00003251656380598433,
-0.00446357624605298,
-0.05362371355295181,
-0.05747424438595772,
-0.00003413942613406107,
0.02241414599120617,
-0.03135143220424652,
0.07457870990037918,
0.026892920956015587,
-0.06343244016170502,
-0.0010962614323943853,
0.0066573661752045155,
0.015270396135747433,
-0.009676992893218994,
-0.015665583312511444,
0.06675605475902557,
-0.001346419332548976,
-0.01487521082162857,
-0.001975930528715253,
0.026973985135555267,
0.01810763031244278,
0.048840951174497604,
-0.03576941043138504,
-0.005512339528650045,
-0.006003789138048887,
-0.03279031440615654,
0.008506634272634983,
0.002447113860398531,
0.024197548627853394,
0.021522443741559982,
-0.060352012515068054,
0.027804888784885406,
0.017398322001099586,
0.04051164165139198,
0.010295105166733265,
0.020215289667248726,
0.01995183154940605,
0.031918879598379135,
-0.011723854579031467,
-0.011014546267688274,
0.04097776114940643,
-0.01592903956770897,
-0.03536409139633179,
0.015939172357320786,
-0.004020258784294128,
-0.00223178812302649,
-0.00018666843243408948,
0.017823906615376472,
-0.006170982960611582,
-0.011075343936681747,
-0.019394518807530403,
0.00271817110478878,
-0.06639126688241959,
0.016020236536860466,
0.028960049152374268,
-0.044787757098674774,
0.04543627053499222,
-0.055488184094429016,
0.02127925120294094,
0.030682655051350594,
0.0152501305565238,
0.00021833399659954011,
-0.02031661942601204,
0.03216207027435303,
0.05581243708729744,
-0.05893339589238167,
-0.0149866733700037,
0.05500179901719093,
-0.0030018945690244436,
-0.04385552555322647,
0.005613669287413359,
0.026447070762515068,
0.06845839321613312,
0.0530562698841095,
-0.028574995696544647,
-0.00001615932706044987,
-0.0350601002573967,
-0.03238499537110329,
0.09597955644130707,
0.03461425006389618,
-0.000794172054156661,
0.05475860834121704,
0.07895615696907043,
-0.0057808635756373405,
-0.06959328800439835,
-0.046854887157678604,
-0.04219371825456619,
0.08827849477529526,
-0.01794550195336342,
-0.04839509725570679,
0.01083215232938528,
-0.059825096279382706,
0.023913826793432236,
-0.02486632578074932,
0.00886128842830658,
0.01647622138261795,
-0.020772602409124374,
-0.024947389960289,
-0.029790952801704407,
-0.011885982006788254,
-0.030540792271494865,
0.02837233617901802,
0.02906137891113758,
0.02409621886909008,
-0.00621658144518733,
-0.02875738963484764,
0.029993612319231033,
-0.06744509935379028,
0.011369200423359871,
0.05633935332298279,
-0.0030576258432120085,
-0.022515475749969482,
-0.03431025892496109,
0.017215928062796593,
0.026447070762515068,
-0.014287497848272324,
-0.05565030872821808,
0.004339447245001793,
0.06521584093570709,
0.051191799342632294,
-0.030865048989653587,
0.055244989693164825,
-0.006480039097368717,
0.021988559514284134
] |
10,281 | fractions | __abs__ | abs(a) | def __abs__(a):
"""abs(a)"""
return Fraction(abs(a._numerator), a._denominator, _normalize=False)
| (a) | [
-0.018915381282567978,
-0.005644246004521847,
0.042307984083890915,
0.01232970505952835,
0.011522765271365643,
-0.001866592443548143,
0.02946634776890278,
-0.039184343069791794,
-0.06781771779060364,
0.018915381282567978,
0.006507585756480694,
0.019036857411265373,
0.030837278813123703,
-0.028303658589720726,
-0.043800387531518936,
0.043557438999414444,
0.020668091252446175,
0.03581774979829788,
-0.03377003222703934,
0.04005201905965805,
0.007323203142732382,
0.006429494358599186,
-0.03803900629281998,
-0.015002153813838959,
-0.018325360491871834,
-0.0033145302440971136,
0.04616047441959381,
0.006047716364264488,
-0.05469842627644539,
-0.006702813319861889,
0.03678955137729645,
0.012694130651652813,
0.0584120899438858,
0.0016746186884120107,
-0.011843806132674217,
-0.05174832046031952,
-0.01872449368238449,
0.05754441022872925,
-0.1442428082227707,
-0.022229911759495735,
-0.00038069376023486257,
0.0186550784856081,
-0.032780878245830536,
0.010672440752387047,
0.026967434212565422,
-0.02082427404820919,
0.011470704339444637,
-0.001645334530621767,
-0.07448148727416992,
-0.022021669894456863,
0.02146635577082634,
0.045535746961832047,
0.001036333036608994,
0.023548783734440804,
-0.038073714822530746,
0.06708887219429016,
0.0473405160009861,
0.05490667000412941,
-0.03994789719581604,
-0.000690888671670109,
-0.013813435100018978,
0.03845549374818802,
0.057370875030756,
-0.1092580258846283,
0.01592189259827137,
0.03550538793206215,
-0.02757480926811695,
0.02309758961200714,
-0.012980463914573193,
0.08204764127731323,
-0.03222556412220001,
0.017926229164004326,
0.024832947179675102,
-0.01383946556597948,
0.060112737119197845,
-0.019661584869027138,
0.06618648022413254,
0.03279823064804077,
0.007258126977831125,
-0.013518424704670906,
-0.037830762565135956,
0.0015314518241211772,
0.020980454981327057,
0.002704986371099949,
-0.045258089900016785,
-0.061605144292116165,
-0.03390885889530182,
-0.04716698080301285,
0.04720168560743332,
0.03803900629281998,
-0.030125781893730164,
-0.023184359073638916,
-0.014013000763952732,
-0.020251605659723282,
-0.0030715803150087595,
0.056954387575387955,
-0.024294985458254814,
-0.03144465386867523,
0.037865471094846725,
-0.014229920692741871,
-0.01684163138270378,
0.06754006445407867,
-0.04938823729753494,
-0.0035574801731854677,
0.02160518430173397,
-0.01691972278058529,
0.061362192034721375,
-0.05789148062467575,
0.026377413421869278,
0.05889798700809479,
-0.0457092821598053,
0.03751840069890022,
-0.04053791984915733,
0.029726650565862656,
-0.032885000109672546,
-0.052546583116054535,
0.002958782250061631,
-0.01617351919412613,
0.0522342212498188,
0.007574829738587141,
0.014325365424156189,
0.022559629753232002,
-0.013509747572243214,
-0.007318864576518536,
0.04199561849236488,
0.029310164973139763,
0.02228197269141674,
-0.06608236581087112,
-0.06108453497290611,
-0.0080303605645895,
0.040884990245103836,
-0.0059652868658304214,
-0.008295002393424511,
0.018221240490674973,
0.005518432706594467,
0.03231232985854149,
0.040850285440683365,
0.04845114424824715,
-0.03151406720280647,
0.03595658019185066,
-0.010550965555012226,
-0.0014566145837306976,
0.055566102266311646,
-0.017422975972294807,
-0.020164838060736656,
0.03462035581469536,
0.0011312352726235986,
0.0012060725130140781,
-0.05525374040007591,
0.06070275977253914,
-0.003774399636313319,
-0.0012407796457409859,
0.0811452567577362,
0.03828195855021477,
0.0353839136660099,
-0.036477185785770416,
0.021518416702747345,
-0.06084158644080162,
0.0020032518077641726,
-0.010507581755518913,
-0.002707155654206872,
0.04418216645717621,
0.025145310908555984,
-0.04758346453309059,
0.013648576103150845,
0.00048291709390468895,
-0.012390443123877048,
-0.02238609455525875,
-0.05657261237502098,
-0.02320171147584915,
-0.023479368537664413,
-0.01613013632595539,
-0.03219085559248924,
0.02360084280371666,
-0.007396955508738756,
-0.0020596508402377367,
0.018741846084594727,
0.036407772451639175,
0.006104115396738052,
-0.00020919175585731864,
0.024121450260281563,
-0.020338373258709908,
-0.022941408678889275,
-0.05150537192821503,
0.06094570830464363,
-0.04272446781396866,
-0.017674602568149567,
0.02839042618870735,
0.026030343025922775,
-0.02832101285457611,
0.0108720064163208,
0.034134455025196075,
0.042307984083890915,
-0.026238584890961647,
-0.005618215538561344,
-0.060147445648908615,
-0.007540122605860233,
-0.011201724410057068,
0.08975262194871902,
0.0018308007856830955,
-0.05518432706594467,
-0.02153576910495758,
0.0007863332284614444,
-0.01790887489914894,
0.027644222602248192,
0.043765682727098465,
-0.05792618915438652,
-0.019991302862763405,
-0.015375255607068539,
0.011609532870352268,
-0.042203862220048904,
0.009414306841790676,
-0.0038307986687868834,
-0.02892838791012764,
-0.03220821171998978,
-0.0028655068017542362,
0.055288445204496384,
-0.03350972756743431,
0.06521468609571457,
0.07246847450733185,
-0.01154879480600357,
-0.0356789231300354,
0.03429063782095909,
-0.011045541614294052,
0.02231667935848236,
0.052581291645765305,
-0.013223414309322834,
0.04098911210894585,
-0.013180029578506947,
-0.010707147419452667,
0.013362242840230465,
-0.03821254149079323,
-0.0609804168343544,
-0.05226892605423927,
-0.006550969555974007,
0.033180009573698044,
-0.0027180016040802,
0.031999967992305756,
-0.05185244232416153,
-0.051401250064373016,
-0.03151406720280647,
0.05587846785783768,
0.011982634663581848,
0.08190880715847015,
-0.0007217996753752232,
-0.08718429505825043,
-0.027626870200037956,
-0.012286321260035038,
-0.0012158339377492666,
-0.010776561684906483,
-0.0178394615650177,
0.006728843320161104,
-0.005101947113871574,
-0.004323205910623074,
0.05181773379445076,
0.004143162630498409,
-0.03245116025209427,
-0.014828618615865707,
0.017015166580677032,
0.023583490401506424,
0.0031084567308425903,
-0.022195205092430115,
0.04428628832101822,
0.006329711526632309,
-0.06275048106908798,
0.02021689899265766,
-0.034915365278720856,
-0.052442461252212524,
-0.0030368731822818518,
0.056850265711545944,
0.08413006365299225,
-0.0431409552693367,
0.012945757247507572,
-0.04303683340549469,
-0.019175685942173004,
0.01901950314640999,
0.05355308949947357,
0.02360084280371666,
0.0003820495039690286,
0.0011681115720421076,
-0.03397827222943306,
-0.03482859954237938,
-0.035054195672273636,
0.0129717867821455,
0.003186547663062811,
0.040642041712999344,
0.036130115389823914,
0.006863333750516176,
-0.0373101569712162,
0.012763544917106628,
0.04466806724667549,
0.036373063921928406,
0.00957916583865881,
-0.039462000131607056,
0.04137089103460312,
0.03397827222943306,
0.00434489781036973,
-0.024069389328360558,
0.0012190877459943295,
0.04473748058080673,
-0.04293271154165268,
-0.0343947596848011,
0.002299346961081028,
0.052581291645765305,
-0.05816913768649101,
0.03682425618171692,
0.02370496466755867,
0.030195197090506554,
0.043592147529125214,
0.03364855423569679,
-0.025579148903489113,
0.012078078463673592,
-0.012520594522356987,
0.04286329820752144,
0.00970064103603363,
0.03227762505412102,
0.043869804590940475,
-0.020268959924578667,
0.031045520678162575,
0.0343947596848011,
-0.00789153203368187,
0.048034656792879105,
-0.004229930695146322,
0.0011258122976869345,
-0.008885023184120655,
-0.027175677940249443,
-0.029900185763835907,
0.02878955937922001,
0.04498043283820152,
0.013535778038203716,
-0.06917129456996918,
-0.007418647408485413,
0.015010830946266651,
-0.03350972756743431,
-0.024572642520070076,
0.0002628793299663812,
0.04619517922401428,
0.02136223390698433,
-0.007969623431563377,
-0.030906694009900093,
0.0002257318701595068,
0.01950540393590927,
0.020511910319328308,
-0.003707154653966427,
-0.00920606404542923,
0.04445982351899147,
0.007201727945357561,
-0.03991319239139557,
0.03213879466056824,
-0.07538387179374695,
-0.019626878201961517,
-0.04338390380144119,
-0.0033947904594242573,
0.012494564056396484,
0.02085898071527481,
0.0602862723171711,
0.011913220398128033,
0.05681556090712547,
-0.021900193765759468,
-0.0060737463645637035,
0.03442946448922157,
-0.021518416702747345,
-0.013119292445480824,
-0.07024721801280975,
-0.005865503568202257,
-0.01488935574889183,
-0.03146200627088547,
-0.061570435762405396,
-0.02068544551730156,
-0.036303650587797165,
-0.014811264351010323,
0.003550972556695342,
-0.018308008089661598,
-0.10911919176578522,
-0.011088925413787365,
0.02668977715075016,
0.010793915018439293,
-0.007344895042479038,
-0.004021687898784876,
0.02380908653140068,
0.027106262743473053,
0.009709317237138748,
-0.04893704503774643,
0.009275478310883045,
0.003253792878240347,
0.006958778016269207,
0.03106287494301796,
-0.021449001505970955,
-0.0251279566437006,
0.04470277577638626,
0.014247274026274681,
-0.07586976885795593,
0.0034360052086412907,
-0.01153144147247076,
-0.016433821991086006,
-0.034845951944589615,
0.029986955225467682,
-0.02394791506230831,
-0.061605144292116165,
0.01599130779504776,
0.05508020520210266,
0.022698458284139633,
0.006711489986628294,
-0.00929283257573843,
-0.01990453526377678,
-0.009778731502592564,
0.02505854330956936,
0.03852490708231926,
-0.015201719477772713,
0.03139259293675423,
-0.005041209515184164,
-0.05074181407690048,
-0.0015368747990578413,
0.07538387179374695,
0.04480689764022827,
0.01073317788541317,
-0.047965243458747864,
-0.05955742299556732,
-0.09009969234466553,
-0.06340991705656052,
0.025527089834213257,
-0.03668542951345444,
-0.0030173505656421185,
0.009240771643817425,
0.058655038475990295,
0.002056397031992674,
0.01926245354115963,
0.020234253257513046,
-0.028876326978206635,
0.01919303834438324,
0.01777004636824131,
-0.025822099298238754,
-0.005548801273107529,
-0.0939868912100792,
0.04164854809641838,
0.0041084554977715015,
-0.032642047852277756,
0.0039414274506270885,
0.006811272818595171,
0.04855526611208916,
0.06087629497051239,
0.03592187166213989,
0.03682425618171692,
-0.0076442440040409565,
-0.003494573524221778,
-0.045015137642621994,
0.0473405160009861,
0.0013134477194398642,
0.021553123369812965,
-0.050880640745162964,
0.030906694009900093,
-0.004316698294132948,
0.07996521145105362,
-0.06847715377807617,
-0.032642047852277756,
-0.05185244232416153,
-0.029049862176179886,
-0.01436007209122181,
-0.01448154728859663,
-0.025613857433199883,
0.009154004044830799,
0.0030368731822818518,
-0.04622988775372505,
-0.07704981416463852,
-0.011453351005911827,
0.07795219868421555,
0.076494500041008,
-0.0000814126105979085,
-0.042099740356206894,
-0.04432099685072899,
0.0427938811480999,
0.01049890462309122,
0.009197387844324112,
-0.029223397374153137,
0.016034690663218498,
0.01163556333631277,
-0.02242080122232437,
-0.03810841962695122,
0.00496745714917779,
-0.025457674637436867,
-0.028095416724681854,
-0.03703249990940094,
-0.01901950314640999,
0.01741429977118969,
0.016338378190994263,
0.04258564114570618,
-0.0515400767326355,
-0.02235138788819313,
0.04289800301194191,
-0.02896309457719326,
0.001631234772503376,
0.01231235172599554,
-0.015574821271002293,
-0.00971799436956644,
-0.05799560248851776,
0.011062895879149437,
0.025856805965304375,
0.0031648557633161545,
-0.03383944556117058,
-0.024537935853004456,
-0.02668977715075016,
-0.026984788477420807,
-0.02832101285457611,
0.013110615313053131,
-0.006559646222740412,
0.02608240209519863,
-0.03198261559009552,
-0.026203878223896027,
-0.02011277712881565,
0.007392617408186197,
-0.0304902084171772,
0.0042624687775969505,
-0.008746194653213024,
0.06570058315992355,
0.015835124999284744,
0.01602601446211338,
-0.04019084945321083,
-0.05483725294470787,
0.04036438465118408,
-0.045258089900016785,
-0.015904538333415985,
-0.03465506061911583,
-0.0742732435464859,
-0.025891514495015144,
-0.03465506061911583,
-0.03828195855021477,
-0.05959213152527809,
0.017995642498135567,
-0.009796085767447948,
-0.018394775688648224,
0.051193006336688995,
-0.031722310930490494,
0.0062125748954713345,
0.0331105962395668,
-0.03173966333270073,
0.05973095819354057,
-0.06563116610050201,
-0.03901080787181854,
-0.03449888154864311,
0.05459430441260338,
0.020355727523565292,
0.014169182628393173,
0.015947923064231873,
-0.01049890462309122,
0.02469411864876747,
-0.01075053121894598,
-0.04414746165275574,
0.018950089812278748,
0.06115395203232765,
0.020130131393671036,
0.0464034229516983,
-0.015566145069897175,
-0.03543597087264061,
0.00323427002876997,
0.024850299581885338,
0.06660296767950058,
-0.008095436729490757,
-0.0026854637544602156,
0.0016019506147131324,
-0.018776552751660347,
0.04463335871696472,
-0.029691943898797035,
0.05147066339850426,
-0.03689367324113846,
-0.07055958360433578,
0.03309324011206627,
0.057197339832782745,
0.06583940982818604,
0.026238584890961647,
-0.03436005115509033,
-0.048242900520563126,
-0.010316692292690277,
0.010065065696835518,
0.012251614592969418,
-0.020598677918314934,
0.04192620515823364,
0.0051973918452858925,
-0.03817783668637276,
0.0013861156767234206,
0.05299777537584305,
0.046681080013513565,
-0.07559211552143097,
-0.09183504432439804,
-0.006924070883542299,
-0.03167024999856949,
0.020806919783353806,
0.06091099977493286,
0.005596523638814688,
0.003837306285277009,
-0.06465937197208405,
0.002466375008225441,
-0.007462031673640013,
0.010793915018439293,
-0.014898032881319523,
-0.05754441022872925,
-0.043453317135572433,
-0.048485852777957916,
-0.012485887855291367,
0.00432754447683692,
-0.005240775644779205,
0.026030343025922775,
0.004837305285036564,
-0.0035704951733350754,
0.05494137480854988,
0.0056399074383080006,
0.05914093926548958,
0.0411626473069191,
-0.04852055758237839,
-0.052477169781923294,
-0.04324507713317871,
0.015149659477174282,
0.0072624655440449715,
-0.028737498447299004,
-0.05067240074276924,
0.030403438955545425,
-0.01986982859671116,
-0.0130585553124547,
0.00628198916092515,
-0.07614742964506149,
0.11862894892692566,
-0.03751840069890022,
-0.02054661698639393,
-0.03436005115509033,
0.051088884472846985,
-0.008971791714429855,
0.01933186687529087,
0.038073714822530746,
-0.002570496406406164,
-0.007119298446923494,
0.01048155128955841,
0.03234703838825226,
0.046576958149671555,
-0.09440337121486664,
0.00788719393312931,
-0.05331014096736908,
-0.009926237165927887,
0.00041160479304380715,
0.012945757247507572,
0.02760951593518257,
0.07344027608633041,
-0.021206052973866463,
0.0007114960462786257,
-0.037691935896873474,
0.03429063782095909,
0.011297168210148811,
-0.009284155443310738,
-0.07968755811452866,
-0.03258998692035675,
-0.0632016733288765,
-0.030004307627677917,
-0.011062895879149437,
0.05508020520210266,
-0.001260302378796041,
-0.0068806870840489864,
0.00799565389752388,
0.028633376583456993,
0.021657245233654976,
0.01943598873913288,
-0.008052052929997444,
0.029900185763835907,
-0.040919698774814606,
-0.04032967612147331,
-0.023826440796256065,
0.040919698774814606,
0.04723639413714409,
0.028668083250522614,
-0.026169171556830406,
-0.00002094629053317476,
-0.03973965719342232,
-0.03550538793206215,
-0.040884990245103836,
0.06413876265287399,
-0.0343947596848011,
0.022767873480916023,
-0.06059863790869713,
0.06663767993450165,
0.02458999678492546,
0.05056827887892723,
0.05015179142355919,
0.011236431077122688,
0.014117122627794743,
0.03203467279672623,
0.005947933066636324,
-0.030941400676965714,
0.013284151442348957,
-0.05490667000412941,
-0.01741429977118969,
0.03849019855260849,
0.027210384607315063,
0.006963116582483053,
-0.0027874158695340157,
-0.006776565685868263,
-0.03203467279672623,
0.011036865413188934,
0.03102816827595234,
0.0651799738407135,
-0.03880256414413452,
0.011956604197621346,
0.032399099320173264,
0.0385943204164505,
0.0531713142991066,
-0.0130585553124547,
-0.020876334980130196,
0.052789535373449326,
0.002299346961081028,
-0.008394785225391388,
0.04865938797593117,
0.02597828209400177,
-0.017084581777453423,
-0.04411275312304497,
-0.006559646222740412,
0.06198692321777344,
-0.026065049692988396,
-0.03970494866371155,
0.042134448885917664,
0.010368753224611282,
0.058550916612148285,
0.011036865413188934,
0.04258564114570618,
0.031045520678162575,
-0.045153968036174774,
-0.045258089900016785,
0.10606496781110764,
0.025943573564291,
0.02391320839524269,
-0.006767889019101858,
0.008711487986147404,
0.00929283257573843,
-0.026950081810355186,
-0.051019471138715744,
-0.02054661698639393,
0.0269327275454998,
0.0194706954061985,
0.008642073720693588,
-0.008091097697615623,
0.018464189022779465,
0.03401298075914383,
-0.016676772385835648,
0.0010710401693359017,
-0.01293708011507988,
0.018603017553687096,
-0.029327519237995148,
-0.0017776554450392723,
-0.01926245354115963,
-0.018186531960964203,
-0.03560950979590416,
-0.007327541243284941,
0.026273291558027267,
-0.006728843320161104,
-0.04456394538283348,
0.01868978515267372,
-0.03113229013979435,
0.04695873707532883,
0.06417346745729446,
0.010351399891078472,
-0.03453358635306358,
0.008052052929997444,
0.03368326276540756,
0.013787404634058475,
-0.02597828209400177,
-0.02327112667262554,
-0.029483700171113014,
0.01254662498831749,
0.059904493391513824,
-0.0768415704369545,
0.024867653846740723,
0.005904549267143011,
0.017440330237150192
] |
10,282 | fractions | __add__ | a + b | def _operator_fallbacks(monomorphic_operator, fallback_operator):
"""Generates forward and reverse operators given a purely-rational
operator and a function from the operator module.
Use this like:
__op__, __rop__ = _operator_fallbacks(just_rational_op, operator.op)
In general, we want to implement the arithmetic operations so
that mixed-mode operations either call an implementation whose
author knew about the types of both arguments, or convert both
to the nearest built in type and do the operation there. In
Fraction, that means that we define __add__ and __radd__ as:
def __add__(self, other):
# Both types have numerators/denominator attributes,
# so do the operation directly
if isinstance(other, (int, Fraction)):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
# float and complex don't have those operations, but we
# know about those types, so special case them.
elif isinstance(other, float):
return float(self) + other
elif isinstance(other, complex):
return complex(self) + other
# Let the other type take over.
return NotImplemented
def __radd__(self, other):
# radd handles more types than add because there's
# nothing left to fall back to.
if isinstance(other, numbers.Rational):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
elif isinstance(other, Real):
return float(other) + float(self)
elif isinstance(other, Complex):
return complex(other) + complex(self)
return NotImplemented
There are 5 different cases for a mixed-type addition on
Fraction. I'll refer to all of the above code that doesn't
refer to Fraction, float, or complex as "boilerplate". 'r'
will be an instance of Fraction, which is a subtype of
Rational (r : Fraction <: Rational), and b : B <:
Complex. The first three involve 'r + b':
1. If B <: Fraction, int, float, or complex, we handle
that specially, and all is well.
2. If Fraction falls back to the boilerplate code, and it
were to return a value from __add__, we'd miss the
possibility that B defines a more intelligent __radd__,
so the boilerplate should return NotImplemented from
__add__. In particular, we don't handle Rational
here, even though we could get an exact answer, in case
the other type wants to do something special.
3. If B <: Fraction, Python tries B.__radd__ before
Fraction.__add__. This is ok, because it was
implemented with knowledge of Fraction, so it can
handle those instances before delegating to Real or
Complex.
The next two situations describe 'b + r'. We assume that b
didn't know about Fraction in its implementation, and that it
uses similar boilerplate code:
4. If B <: Rational, then __radd_ converts both to the
builtin rational type (hey look, that's us) and
proceeds.
5. Otherwise, __radd__ tries to find the nearest common
base ABC, and fall back to its builtin type. Since this
class doesn't subclass a concrete type, there's no
implementation to fall back to, so we need to try as
hard as possible to return an actual value, or the user
will get a TypeError.
"""
def forward(a, b):
if isinstance(b, (int, Fraction)):
return monomorphic_operator(a, b)
elif isinstance(b, float):
return fallback_operator(float(a), b)
elif isinstance(b, complex):
return fallback_operator(complex(a), b)
else:
return NotImplemented
forward.__name__ = '__' + fallback_operator.__name__ + '__'
forward.__doc__ = monomorphic_operator.__doc__
def reverse(b, a):
if isinstance(a, numbers.Rational):
# Includes ints.
return monomorphic_operator(a, b)
elif isinstance(a, numbers.Real):
return fallback_operator(float(a), float(b))
elif isinstance(a, numbers.Complex):
return fallback_operator(complex(a), complex(b))
else:
return NotImplemented
reverse.__name__ = '__r' + fallback_operator.__name__ + '__'
reverse.__doc__ = monomorphic_operator.__doc__
return forward, reverse
| (a, b) | [
-0.03859762102365494,
-0.06188410148024559,
-0.0011350512504577637,
0.05616593360900879,
0.011097756214439869,
-0.012847064062952995,
-0.03622759133577347,
-0.023474575951695442,
-0.027104860171675682,
-0.014840898104012012,
0.07467473298311234,
0.012546108104288578,
0.0520654059946537,
0.032634928822517395,
-0.020145248621702194,
0.05274255946278572,
0.01366528868675232,
0.004356809891760349,
0.0027227122336626053,
-0.001199709833599627,
-0.005990907549858093,
0.009404878132045269,
0.041005268692970276,
0.07241756469011307,
-0.005393697880208492,
0.05594021826982498,
-0.00014526129234582186,
-0.021762888878583908,
-0.06286220997571945,
0.012658966705203056,
0.003769004950299859,
-0.01904487796127796,
-0.001985604874789715,
-0.02815820649266243,
0.007105385418981314,
-0.016787707805633545,
-0.019336430355906487,
0.07700714468955994,
-0.15649718046188354,
-0.005835726857185364,
-0.007185326889157295,
-0.030076801776885986,
0.02181931771337986,
-0.04299910366535187,
-0.027593912556767464,
-0.029587747529149055,
-0.01110716164112091,
-0.030415376648306847,
0.027067240327596664,
-0.015555668622255325,
0.02665342576801777,
-0.05575212091207504,
0.0197878647595644,
0.0203145369887352,
-0.043525777757167816,
0.029136313125491142,
-0.01954333670437336,
0.013505405746400356,
-0.07501330971717834,
0.002062019659206271,
-0.009724644012749195,
-0.0004338000144343823,
-0.05293065682053566,
0.0005140354041941464,
0.004342702683061361,
0.007641463540494442,
-0.040365736931562424,
-0.05112491920590401,
-0.02230837196111679,
0.0036702537909150124,
-0.062486011534929276,
0.0042321952059865,
0.03284183517098427,
-0.028553210198879242,
-0.020164059475064278,
-0.006592819932848215,
0.032634928822517395,
0.0047917854972183704,
0.036754265427589417,
-0.008610166609287262,
-0.02631484903395176,
-0.003371648956090212,
-0.007994147017598152,
-0.013270283117890358,
-0.0008922878187149763,
-0.06707559525966644,
0.001975024351850152,
0.008487902581691742,
-0.00895344465970993,
-0.051350634545087814,
-0.06007836386561394,
-0.06955847889184952,
0.03342493623495102,
0.009221483021974564,
0.024509113281965256,
0.022458849474787712,
-0.005459532141685486,
0.008962849155068398,
0.014361249282956123,
-0.0430743433535099,
-0.03293588384985924,
0.06647367775440216,
-0.02917393296957016,
-0.02849678136408329,
0.05180206894874573,
0.0015906000044196844,
0.02003239095211029,
-0.014643395319581032,
-0.04920632392168045,
0.0009681146475486457,
-0.04668581485748291,
-0.023436956107616425,
-0.03114895708858967,
0.0011362269287928939,
-0.008149326778948307,
0.005379590671509504,
-0.051501113921403885,
0.0008358585764653981,
0.060793135315179825,
0.012734205462038517,
-0.04950727894902229,
0.006301268469542265,
-0.019618576392531395,
0.0030542341992259026,
0.043563395738601685,
-0.004298029467463493,
0.10571083426475525,
0.022872664034366608,
-0.06722606718540192,
0.042209092527627945,
0.012489678338170052,
0.024565542116761208,
-0.017116878181695938,
0.03564449027180672,
-0.02622080035507679,
0.07885050028562546,
-0.03028370812535286,
0.01855582557618618,
-0.008186946623027325,
0.0110037075355649,
-0.004015882965177298,
-0.051651593297719955,
-0.0056241173297166824,
0.06278696656227112,
-0.0476263053715229,
0.031280625611543655,
0.034948527812957764,
0.011925386264920235,
0.014361249282956123,
0.02336171828210354,
-0.006653951480984688,
0.04044097661972046,
0.03605830296874046,
-0.027255337685346603,
0.046572957187891006,
-0.01514185406267643,
0.06703796982765198,
0.026691045612096786,
-0.059438832104206085,
-0.014596370980143547,
0.0039006732404232025,
-0.012423844076693058,
-0.01772819645702839,
-0.04156956076622009,
0.03523067384958267,
-0.014286010526120663,
0.006470556370913982,
-0.08712679147720337,
0.020765971392393112,
0.04747582599520683,
0.02704842947423458,
-0.04326244071125984,
0.0428486242890358,
-0.01521709281951189,
-0.012743609957396984,
-0.005163278430700302,
0.0019303512526676059,
0.00943309348076582,
-0.036979980766773224,
-0.01852761022746563,
0.07433615624904633,
-0.016599610447883606,
-0.09532784670591354,
-0.05262969806790352,
0.027537483721971512,
0.053193993866443634,
0.004102878272533417,
-0.048980604857206345,
0.014690419659018517,
0.010730965994298458,
0.017069853842258453,
-0.01637389324605465,
0.03378232195973396,
0.010382985696196556,
0.012753015384078026,
-0.057256899774074554,
0.029098693281412125,
-0.018612254410982132,
0.11248234659433365,
0.044391024857759476,
-0.0576707161962986,
0.022082654759287834,
0.07700714468955994,
0.047438208013772964,
-0.01633627340197563,
-0.024828879162669182,
-0.04770154505968094,
0.04077955335378647,
-0.03656616806983948,
-0.03062228485941887,
0.003082448849454522,
-0.010787395760416985,
0.013778147287666798,
0.03671664372086525,
-0.029192741960287094,
0.02738700620830059,
0.07388472557067871,
-0.0017763463547453284,
-0.006569307763129473,
0.014238986186683178,
0.00043438782449811697,
0.017718790099024773,
-0.001849234220571816,
-0.019562147557735443,
0.04363863542675972,
-0.014474107883870602,
-0.031807299703359604,
0.006188409868627787,
0.03344374895095825,
0.02166884019970894,
0.04736296832561493,
-0.0208976399153471,
-0.010082029737532139,
-0.05349494889378548,
0.04277338832616806,
0.010514654219150543,
0.015094829723238945,
0.002325356239452958,
0.027838440611958504,
0.03101728856563568,
-0.023060761392116547,
-0.0003041890449821949,
-0.011417522095143795,
0.04040335863828659,
0.022609326988458633,
-0.0621098168194294,
0.03184491768479347,
-0.014887922443449497,
0.012442653998732567,
-0.017248546704649925,
0.024396253749728203,
-0.028872976079583168,
0.029192741960287094,
-0.04318720102310181,
0.01710747368633747,
-0.007020741701126099,
-0.06805370002985,
-0.022383609786629677,
0.013561834581196308,
0.0007036024471744895,
0.011436332017183304,
0.05308113247156143,
0.0032070635352283716,
-0.0132796885445714,
-0.046911533921957016,
-0.05631641298532486,
-0.03438423573970795,
-0.001556507428176701,
0.036603786051273346,
0.0474005863070488,
0.039124295115470886,
-0.02956893853843212,
-0.051839690655469894,
0.035776156932115555,
-0.012094673700630665,
0.01889440044760704,
0.028760118409991264,
0.04909346625208855,
-0.003075395245105028,
-0.07794763147830963,
-0.0259762741625309,
-0.026258420199155807,
-0.03415851667523384,
-0.03301112353801727,
-0.03754427284002304,
0.08660011738538742,
-0.02240242063999176,
-0.06504414230585098,
0.04999633505940437,
-0.035926636308431625,
0.10104601085186005,
-0.01831129752099514,
0.02274099551141262,
0.04702439159154892,
0.024979356676340103,
0.022628137841820717,
-0.05481163039803505,
-0.051839690655469894,
0.07068706303834915,
-0.019120117649435997,
-0.02163122035562992,
-0.019280001521110535,
0.06933276355266571,
0.030603474006056786,
0.007326400373131037,
-0.051990166306495667,
0.03357541561126709,
0.014972566626966,
-0.04785202071070671,
0.02452792227268219,
-0.009038087911903858,
-0.006842048838734627,
-0.047776781022548676,
-0.006992527283728123,
0.045406751334667206,
-0.020916448906064034,
0.02341814711689949,
0.025129834190011024,
0.017916293814778328,
0.023737912997603416,
0.025430791079998016,
0.04924394190311432,
-0.05601545423269272,
0.024847688153386116,
-0.03901143744587898,
-0.011887766420841217,
-0.030020371079444885,
-0.023625055328011513,
0.04875488951802254,
0.01898844912648201,
-0.03284183517098427,
0.011906576342880726,
-0.011342283338308334,
0.054548293352127075,
-0.02898583561182022,
-0.021405503153800964,
0.03551281988620758,
0.018132604658603668,
0.005948585458099842,
0.030753951519727707,
0.03859762102365494,
-0.0069643124006688595,
-0.01550864428281784,
-0.018734518438577652,
-0.01155859511345625,
0.014963161200284958,
0.017041640356183052,
0.01390981487929821,
0.032823026180267334,
-0.02379434183239937,
-0.0005637048743665218,
-0.0231171902269125,
-0.04988347366452217,
-0.034515902400016785,
0.008012956008315086,
0.012094673700630665,
-0.08584772795438766,
0.026164371520280838,
0.04273576661944389,
-0.03748784586787224,
0.050635866820812225,
0.019430479034781456,
0.0047024390660226345,
0.058272626250982285,
0.007020741701126099,
-0.032540880143642426,
-0.018442966043949127,
0.028289875015616417,
-0.03310517221689224,
-0.07373424619436264,
0.00640942482277751,
-0.043036725372076035,
0.028082966804504395,
-0.014427083544433117,
-0.051501113921403885,
0.05684308335185051,
0.04108050838112831,
0.007994147017598152,
0.0052008978091180325,
0.0046483613550662994,
0.044767219573259354,
0.006179004907608032,
-0.04299910366535187,
0.0065269856713712215,
0.024640781804919243,
0.02108573727309704,
0.012931708246469498,
0.034666381776332855,
0.006080253981053829,
-0.0007506268448196352,
-0.029249172657728195,
-0.017427239567041397,
0.007157112471759319,
-0.01901666447520256,
-0.07546474784612656,
0.01337373722344637,
0.033838752657175064,
0.028195826336741447,
-0.07478759437799454,
0.0009381365962326527,
0.06797846406698227,
0.020352156832814217,
0.032239921391010284,
0.025336742401123047,
0.027951298281550407,
0.013016351498663425,
0.034666381776332855,
0.06195933744311333,
-0.010862634517252445,
0.048115357756614685,
-0.024828879162669182,
-0.060304079204797745,
-0.02249646931886673,
0.022609326988458633,
-0.03677307441830635,
0.027349386364221573,
-0.014351844787597656,
-0.02065311372280121,
0.0017998586408793926,
0.011031921952962875,
0.05748261511325836,
0.00648466357961297,
-0.0011203561443835497,
0.06034170091152191,
-0.008864098228514194,
0.015395785681903362,
0.041870519518852234,
-0.00005940503251622431,
-0.08502010256052017,
0.05744499713182449,
0.02834630385041237,
-0.0678279846906662,
-0.008229268714785576,
-0.011031921952962875,
0.03199539706110954,
-0.053193993866443634,
-0.021593600511550903,
0.020013581961393356,
-0.01627984456717968,
0.00850671250373125,
0.023211240768432617,
0.011257639154791832,
-0.014925542287528515,
-0.03062228485941887,
-0.001935053733177483,
-0.03585139662027359,
0.060304079204797745,
-0.00881707388907671,
-0.04943203926086426,
0.009687025099992752,
0.027255337685346603,
-0.01714509353041649,
0.024546733126044273,
0.059438832104206085,
0.0362464003264904,
-0.012950517237186432,
0.05018443241715431,
0.009428390301764011,
-0.03255968913435936,
-0.02520507387816906,
0.023587435483932495,
-0.01281884964555502,
-0.031337056308984756,
-0.02471601963043213,
-0.025092216208577156,
0.15160663425922394,
0.05025966838002205,
-0.00927791278809309,
-0.04367625713348389,
0.009381365962326527,
0.009809288196265697,
0.005219707731157541,
-0.015734361484646797,
-0.015480429865419865,
-0.022082654759287834,
0.05782119184732437,
-0.053193993866443634,
-0.0464600995182991,
0.004319190513342619,
-0.042209092527627945,
0.0016752439551055431,
-0.011426927521824837,
-0.016449132934212685,
-0.023154810070991516,
0.011473951861262321,
-0.013618264347314835,
0.026502948254346848,
0.047287728637456894,
0.042209092527627945,
-0.021856937557458878,
0.015546264126896858,
0.05157635360956192,
-0.011238829232752323,
-0.016872351989150047,
-0.049469660967588425,
0.02631484903395176,
-0.07636760920286179,
-0.053005896508693695,
0.051651593297719955,
-0.03938763216137886,
0.028459161520004272,
-0.04314958304166794,
-0.03754427284002304,
0.044052451848983765,
0.053043514490127563,
0.02781962975859642,
-0.009875122457742691,
0.03150634095072746,
-0.02119859680533409,
0.03336850926280022,
-0.018236059695482254,
0.022120274603366852,
-0.004617795348167419,
0.01081561017781496,
0.01671246811747551,
0.022947903722524643,
0.040478598326444626,
-0.006837346591055393,
-0.03842833265662193,
-0.07095040380954742,
0.0474005863070488,
-0.04431578516960144,
-0.05247922241687775,
0.017925698310136795,
-0.015442810021340847,
-0.026013894006609917,
-0.08374103903770447,
-0.04183289781212807,
0.024659590795636177,
-0.017436644062399864,
-0.020070010796189308,
0.007632059045135975,
-0.03773237392306328,
0.040666695684194565,
-0.03208944573998451,
0.022609326988458633,
-0.009560058824717999,
0.03575734794139862,
0.08306388556957245,
0.02381315268576145,
-0.005859239026904106,
0.06004074215888977,
0.006959610152989626,
0.0049516684375703335,
-0.0059297760017216206,
-0.022383609786629677,
-0.005454829428344965,
-0.016044722869992256,
0.014464703388512135,
0.007801346480846405,
-0.04939442127943039,
-0.025468410924077034,
-0.005906263832002878,
0.07207898795604706,
0.03293588384985924,
-0.022759806364774704,
0.03677307441830635,
0.06271173059940338,
-0.008205756545066833,
-0.0032399806659668684,
-0.022440040484070778,
-0.01449291780591011,
0.001868044026196003,
-0.05868644267320633,
-0.025750556960701942,
0.039124295115470886,
0.039500489830970764,
0.012658966705203056,
0.003524478292092681,
-0.0027015514206141233,
-0.002536965999752283,
-0.018640469759702682,
0.035832587629556656,
-0.06429174542427063,
0.0006160195334814489,
0.0028849465306848288,
-0.011671453714370728,
-0.02206384390592575,
0.015546264126896858,
-0.012781229801476002,
-0.03479804843664169,
-0.014840898104012012,
0.021029308438301086,
-0.04570771008729935,
0.029117504134774208,
-0.03649092838168144,
0.028026537969708443,
0.059777408838272095,
-0.021856937557458878,
-0.0361335426568985,
-0.057068802416324615,
-0.0076179513707757,
0.050786342471838,
-0.053871143609285355,
-0.022477658465504646,
-0.011520976200699806,
-0.06470556557178497,
0.018903804942965508,
0.01756831258535385,
-0.01521709281951189,
0.014633990824222565,
-0.0158190056681633,
0.020145248621702194,
-0.0441276878118515,
-0.023888390511274338,
0.0038183806464076042,
-0.05635403096675873,
0.005826322361826897,
-0.030358947813510895,
-0.0498458556830883,
0.029531318694353104,
-0.017831649631261826,
-0.0028496780432760715,
0.007519200444221497,
0.03634044900536537,
-0.027405815199017525,
-0.040854793041944504,
0.031374674290418625,
-0.0045731221325695515,
0.054209720343351364,
-0.033067554235458374,
-0.0009487171191722155,
-0.05646688863635063,
0.02868487872183323,
-0.04273576661944389,
0.09224304556846619,
0.02603270299732685,
0.015471025370061398,
0.02157479152083397,
-0.020878830924630165,
0.0014130829367786646,
0.030358947813510895,
0.04044097661972046,
-0.002915512304753065,
-0.08667536079883575,
-0.07648047059774399,
0.030227279290556908,
0.03188253939151764,
0.01757771708071232,
-0.0049516684375703335,
-0.0018186683300882578,
-0.022440040484070778,
-0.01344897598028183,
-0.01852761022746563,
0.008083493448793888,
0.027650343254208565,
-0.031807299703359604,
-0.04108050838112831,
0.02501697652041912,
0.04804011806845665,
-0.03541877120733261,
0.05560164153575897,
-0.007152410224080086,
-0.017060449346899986,
0.008111707866191864,
0.02403886988759041,
0.02956893853843212,
-0.022120274603366852,
0.009752859361469746,
0.030735142529010773,
-0.017587123438715935,
-0.04416530951857567,
-0.0008781804936006665,
0.05718166008591652,
-0.017370810732245445,
0.0600031241774559,
-0.03192015737295151,
-0.011351687833666801,
0.05530068650841713,
-0.060266461223363876,
-0.0055206636898219585,
0.00008868506120052189,
-0.012790634296834469,
0.0002806768461596221,
-0.026051513850688934,
0.030697522684931755,
0.031807299703359604,
0.017502479255199432,
-0.02323004975914955,
-0.009066302329301834,
-0.01705104485154152,
0.013881600461900234,
-0.034026850014925,
-0.007237053941935301,
-0.03201420605182648,
-0.057934049516916275,
0.005243219900876284,
0.038973815739154816,
-0.012301580980420113,
-0.03859762102365494,
0.03555044159293175,
0.01710747368633747,
0.04548199102282524,
-0.03289826586842537,
-0.022120274603366852,
-0.000742397562135011,
-0.05281779542565346,
0.0030730441212654114,
0.025825796648859978,
-0.04044097661972046,
0.03327446058392525,
-0.034421853721141815,
-0.04096765071153641,
-0.040516216307878494,
0.04093002900481224,
0.027894869446754456,
-0.018819160759449005,
-0.03605830296874046,
0.04239719361066818,
-0.05819738656282425,
-0.03348136693239212,
0.04871727153658867,
0.002640419639647007,
-0.05360780656337738,
0.00472360011190176,
-0.024904118850827217,
0.08193530142307281,
0.07885050028562546,
-0.035193055868148804,
0.028760118409991264,
-0.04578294977545738,
-0.0027227122336626053,
0.08328960090875626,
0.027744391933083534,
0.043751493096351624,
-0.0008628976065665483,
0.03756308555603027,
-0.054021622985601425,
-0.03654735907912254,
0.030509425327181816,
-0.0005178560968488455,
0.09547832608222961,
0.02849678136408329,
0.028967024758458138,
-0.020822400227189064,
-0.03893619775772095,
0.030885620042681694,
-0.05936359241604805,
-0.020295727998018265,
0.022233132272958755,
-0.03415851667523384,
-0.03419613838195801,
-0.0050269076600670815,
-0.019120117649435997,
0.035437580198049545,
-0.002551073208451271,
0.07245518267154694,
0.02052144519984722,
0.0002241006150143221,
0.05864882096648216,
0.04104289039969444,
-0.07271852344274521,
0.03449709340929985,
0.014577561058104038,
-0.03319922089576721,
0.016242224723100662,
0.013289093039929867,
-0.004015882965177298,
0.0004320366133470088,
-0.039124295115470886,
-0.07712000608444214,
-0.017587123438715935,
0.0220074150711298,
0.008008253760635853,
0.015574478544294834,
-0.012734205462038517,
0.004258058499544859,
0.045594848692417145
] |
10,283 | fractions | __bool__ | a != 0 | def __bool__(a):
"""a != 0"""
# bpo-39274: Use bool() because (a._numerator != 0) can return an
# object which is not a bool.
return bool(a._numerator)
| (a) | [
-0.0072272405959665775,
-0.015899043530225754,
0.019107211381196976,
0.008490124717354774,
0.016377609223127365,
0.0028381652664393187,
-0.0531386099755764,
-0.010253731161355972,
-0.07267121225595474,
-0.030149690806865692,
0.019089486449956894,
0.024158747866749763,
0.03917155787348747,
0.005414891522377729,
-0.0375763364136219,
-0.008162218146026134,
-0.03433271870017052,
0.029990168288350105,
0.006221364717930555,
0.018327325582504272,
-0.06022848188877106,
0.030451010912656784,
0.00892437994480133,
0.04966457188129425,
-0.014853287488222122,
0.045304298400878906,
0.040695879608392715,
0.015420476906001568,
-0.0441344678401947,
0.024158747866749763,
-0.03153221681714058,
0.008193235844373703,
0.02270532213151455,
0.018380500376224518,
0.05182698369026184,
0.008853481151163578,
0.010120796039700508,
0.06607762724161148,
-0.10358306765556335,
-0.007869760505855083,
0.009083901531994343,
0.009890374727547169,
-0.012052786536514759,
0.04225565120577812,
-0.06146921217441559,
-0.08635467290878296,
0.03426181897521019,
0.023343412205576897,
-0.012123685330152512,
-0.012425005435943604,
0.021181000396609306,
-0.020631534978747368,
0.021234173327684402,
0.06607762724161148,
-0.060689326375722885,
0.02674655057489872,
0.048104796558618546,
0.03245390206575394,
-0.060405731201171875,
0.008773719891905785,
-0.052429620176553726,
0.04431171715259552,
0.04994816705584526,
-0.07267121225595474,
0.07100509107112885,
0.015331853181123734,
-0.029706574976444244,
-0.004010210279375315,
-0.01417974941432476,
0.04654502496123314,
-0.08103726804256439,
0.02477911114692688,
-0.0005137389525771141,
0.027242843061685562,
-0.018150078132748604,
-0.03310971334576607,
0.006323281675577164,
0.027544163167476654,
-0.05416664108633995,
-0.014162024483084679,
-0.03247162327170372,
0.00012822702410630882,
-0.011662843637168407,
-0.0033344565890729427,
-0.06905537843704224,
0.015881318598985672,
0.009553605690598488,
0.00370889063924551,
0.007949521765112877,
0.03906520828604698,
0.04133396968245506,
0.014658315107226372,
0.02422964572906494,
-0.0720331221818924,
0.03537847474217415,
0.059554945677518845,
0.0021214233711361885,
-0.03746998682618141,
0.008140061981976032,
-0.04122762009501457,
0.0062656765803694725,
0.03358827903866768,
-0.002061602659523487,
-0.035803865641355515,
0.03059280849993229,
0.02467276342213154,
-0.030628258362412453,
-0.04420536756515503,
0.0092965979129076,
-0.011981887742877007,
-0.019940271973609924,
0.026409782469272614,
-0.0825970396399498,
0.023502934724092484,
-0.0185931958258152,
-0.04356727749109268,
0.010333492420613766,
-0.004546381998807192,
0.004905306734144688,
0.016120601445436478,
0.024530965834856033,
0.026516130194067955,
-0.006952508352696896,
-0.0051534525118768215,
0.04750216007232666,
0.01951487921178341,
0.04356727749109268,
0.03672555088996887,
-0.011698292568325996,
0.011379248462617397,
0.0067575364373624325,
0.03920700401067734,
0.030858678743243217,
0.031035926192998886,
-0.004670454654842615,
0.04140486568212509,
0.05675444379448891,
0.024655038490891457,
-0.025753969326615334,
0.010262593626976013,
-0.03793082758784294,
-0.048104796558618546,
0.014711489900946617,
0.03782448172569275,
0.04062497988343239,
0.030645983293652534,
-0.034864459186792374,
0.0679209977388382,
-0.02786320634186268,
0.028572194278240204,
0.013355551287531853,
0.009376359172165394,
0.019461706280708313,
0.0683109387755394,
-0.0364065058529377,
0.016288986429572105,
0.01829187572002411,
-0.04317733645439148,
-0.0026697807479649782,
-0.029600225389003754,
0.0198161993175745,
0.034687209874391556,
0.011653981171548367,
-0.003945958334952593,
0.010776609182357788,
-0.03991599380970001,
-0.03162084147334099,
-0.0051756082102656364,
-0.005312974564731121,
0.0690908282995224,
0.025842592120170593,
-0.013444174081087112,
-0.05732163414359093,
0.03874616324901581,
0.052323274314403534,
0.018061455339193344,
0.021145550534129143,
0.04470165818929672,
-0.035254400223493576,
0.0030287057161331177,
0.02929890714585781,
-0.0007184036658145487,
-0.08798534423112869,
-0.05799517408013344,
0.05959039553999901,
0.0229002945125103,
-0.012132547795772552,
-0.004353626165539026,
0.055513717234134674,
0.024353718385100365,
-0.05469838157296181,
-0.03413774445652962,
0.02786320634186268,
-0.007865329273045063,
0.007072149775922298,
-0.053351305425167084,
0.017139771953225136,
-0.012859259732067585,
0.09628049284219742,
-0.01023600623011589,
0.02711877040565014,
-0.02357383258640766,
-0.031957607716321945,
-0.006655619479715824,
-0.04966457188129425,
-0.02451324090361595,
-0.12619976699352264,
0.028483571484684944,
0.02580714225769043,
0.007679220288991928,
-0.04487890377640724,
-0.04931007698178291,
-0.013798668049275875,
0.0637025237083435,
0.00009713958570500836,
-0.009070607833564281,
0.08656736463308334,
-0.0016184854321181774,
-0.003954820800572634,
0.033818699419498444,
0.062000952661037445,
-0.010501876473426819,
0.04009323939681053,
-0.01393160317093134,
0.0416884608566761,
0.03592794016003609,
-0.07727963477373123,
0.027455538511276245,
-0.04626142978668213,
-0.05512377247214317,
0.03810807690024376,
0.023502934724092484,
-0.027242843061685562,
-0.035803865641355515,
0.02545264922082424,
-0.0002323595545021817,
0.034314993768930435,
0.04757305607199669,
-0.07174953073263168,
0.032152581959962845,
0.009837200865149498,
0.0010191694600507617,
0.026799725368618965,
0.04562334343791008,
-0.021163275465369225,
-0.023715630173683167,
-0.007475386373698711,
0.032808393239974976,
-0.0040079946629703045,
0.011529908515512943,
-0.018699543550610542,
-0.028589919209480286,
-0.02742008864879608,
-0.012283207848668098,
0.05133068934082985,
0.024920908734202385,
-0.06267449259757996,
0.003161640837788582,
0.008140061981976032,
0.017317017540335655,
0.009633366949856281,
-0.001218572142533958,
0.011388110928237438,
0.028607644140720367,
-0.049522772431373596,
-0.01575724594295025,
0.010741160251200199,
0.012052786536514759,
0.038249872624874115,
0.01716635935008526,
0.07238762080669403,
-0.07018975913524628,
0.02648068033158779,
-0.017033424228429794,
-0.038994308561086655,
-0.016483958810567856,
0.05622270330786705,
-0.017254982143640518,
0.020028894767165184,
0.004098833538591862,
0.017228394746780396,
0.014277234673500061,
-0.03321606293320656,
0.03988054394721985,
-0.041723910719156265,
-0.017423367127776146,
-0.011086790822446346,
0.04728946089744568,
0.01520778052508831,
-0.016918212175369263,
0.04611963406205177,
0.03860436752438545,
0.08146265894174576,
-0.01262883935123682,
0.06561678647994995,
0.007829880341887474,
0.008525573648512363,
-0.011388110928237438,
-0.00925228651612997,
-0.001877708942629397,
0.0349353551864624,
0.0037509866524487734,
-0.029990168288350105,
0.003272420261055231,
0.02759733609855175,
0.036193810403347015,
0.007812155410647392,
0.05987399071455002,
0.03764723241329193,
0.015987666323781013,
0.01145014725625515,
-0.01112224068492651,
0.009695403277873993,
0.03256024792790413,
-0.0031372695229947567,
-0.02401695027947426,
0.05877505987882614,
-0.05349310114979744,
0.0009864895837381482,
0.07657064497470856,
-0.005822559352964163,
0.05377669632434845,
0.00839706975966692,
-0.012602251954376698,
-0.013869566842913628,
-0.09167207777500153,
0.0009377466631121933,
-0.004617280792444944,
-0.025505824014544487,
0.01848684810101986,
-0.00891994871199131,
-0.04643867909908295,
0.0687008872628212,
-0.035343024879693985,
-0.0253463014960289,
-0.04317733645439148,
0.02009979449212551,
-0.007275983691215515,
-0.01951487921178341,
-0.02497408352792263,
0.0073025706224143505,
0.018451398238539696,
0.0070632873103022575,
-0.021375970914959908,
-0.03546709567308426,
0.04073132947087288,
-0.048955582082271576,
-0.0005635896231979132,
0.09734397381544113,
-0.02722511813044548,
-0.0042251222766935825,
-0.029600225389003754,
0.025470374152064323,
0.034031398594379425,
0.009039590135216713,
0.03839167207479477,
0.0326843224465847,
0.07472727447748184,
0.015331853181123734,
0.018327325582504272,
0.02196088619530201,
0.02956477738916874,
-0.02929890714585781,
0.0020649258513003588,
-0.04516249895095825,
-0.030716881155967712,
-0.079264797270298,
0.000766592682339251,
-0.01670551672577858,
-0.00570291792973876,
-0.0388525128364563,
-0.0023618144914507866,
-0.04076677933335304,
-0.05746343359351158,
-0.008281859569251537,
-0.01830960065126419,
-0.013807530514895916,
-0.030007893219590187,
-0.0003259680524934083,
-0.026888348162174225,
0.014658315107226372,
-0.015526825562119484,
-0.012859259732067585,
-0.002032799879088998,
0.011645118705928326,
-0.005086984951049089,
-0.02111010067164898,
-0.02291801944375038,
0.0049230316653847694,
-0.012806085869669914,
0.007107599172741175,
-0.017201807349920273,
-0.05005451291799545,
-0.0032480487134307623,
-0.07330930233001709,
-0.036761000752449036,
0.07586165517568588,
-0.06224909797310829,
-0.07178498059511185,
-0.05086984857916832,
0.04665137454867363,
0.05902320519089699,
0.014250647276639938,
0.0028226561844348907,
0.011556494981050491,
0.019124936312437057,
0.036477405577898026,
0.014525379985570908,
-0.021358245983719826,
0.005086984951049089,
0.003210383700206876,
-0.03124862164258957,
-0.03977419435977936,
0.04048318415880203,
-0.013506211340427399,
0.028660817071795464,
-0.012380693107843399,
-0.03949059918522835,
0.03351738303899765,
0.00025562322116456926,
0.012230033054947853,
-0.0016428568633273244,
0.011343799531459808,
-0.01483556255698204,
-0.0020904052071273327,
0.009704265743494034,
0.012841534800827503,
-0.0022499272599816322,
-0.021269623190164566,
0.04328368231654167,
-0.050160862505435944,
-0.07408919185400009,
0.06944531947374344,
-0.03183353692293167,
0.005295250099152327,
-0.039100658148527145,
-0.017139771953225136,
-0.041723910719156265,
-0.04112127050757408,
0.04916828125715256,
0.05246507003903389,
0.012425005435943604,
-0.0014933048514649272,
-0.04300008714199066,
0.030557358637452126,
-0.011033616960048676,
0.025364026427268982,
0.028554469347000122,
0.03934880346059799,
0.0012296501081436872,
-0.03541392460465431,
0.03518350049853325,
0.014232923276722431,
-0.03630015626549721,
-0.03153221681714058,
-0.007905210368335247,
-0.04860109090805054,
-0.01299219485372305,
0.00729813938960433,
-0.04647412896156311,
-0.010351216420531273,
0.0005339561612345278,
-0.09401173889636993,
-0.0469704195857048,
0.0015475866384804249,
0.06866543740034103,
-0.02009979449212551,
-0.003039783565327525,
-0.014188610948622227,
0.009721990674734116,
0.0005854685441590846,
-0.0016129463911056519,
-0.0045951250940561295,
-0.02357383258640766,
0.017963970080018044,
0.029352080076932907,
-0.10925496369600296,
0.0010247083846479654,
-0.01810576766729355,
-0.029121659696102142,
-0.07401829212903976,
0.0506926029920578,
-0.0001902634248835966,
-0.024477791041135788,
0.018522297963500023,
-0.022368554025888443,
-0.050728052854537964,
0.013967053033411503,
0.0445244126021862,
-0.07536536455154419,
0.034208644181489944,
-0.030716881155967712,
-0.022474901750683784,
-0.0011709370883181691,
0.029830647632479668,
-0.0034385891631245613,
0.015172331593930721,
0.005694055464118719,
0.04367362707853317,
0.014348133467137814,
-0.0243182685226202,
0.05377669632434845,
-0.03174491226673126,
0.025966664776206017,
0.023502934724092484,
0.0057073491625487804,
-0.030947301536798477,
-0.02337886020541191,
-0.06483690440654755,
0.010741160251200199,
0.0012340812245383859,
0.0034984098747372627,
-0.027632785961031914,
0.04509160295128822,
0.04806935042142868,
0.0044444650411605835,
0.008658508770167828,
-0.06820458918809891,
-0.01267315074801445,
-0.03945515304803848,
0.05416664108633995,
0.02805817872285843,
-0.06636122614145279,
0.0007809939561411738,
-0.029866095632314682,
0.03977419435977936,
-0.030451010912656784,
-0.0016882764175534248,
0.008561023510992527,
-0.018451398238539696,
0.02197861112654209,
-0.029635675251483917,
-0.01916038617491722,
0.06345437467098236,
-0.09472072124481201,
-0.019585778936743736,
-0.010315767489373684,
-0.008086888119578362,
-0.0031350539065897465,
0.038533467799425125,
0.027810033410787582,
-0.006655619479715824,
0.07543626427650452,
-0.02009979449212551,
0.017963970080018044,
0.032914742827415466,
-0.015216642990708351,
0.010971580632030964,
0.0818171501159668,
-0.02130507305264473,
-0.009801751002669334,
-0.011086790822446346,
-0.0026852900628000498,
-0.04675772041082382,
0.08486580103635788,
0.08139175921678543,
0.03332240879535675,
0.03314516320824623,
0.0132846524938941,
-0.012939020991325378,
0.0454106442630291,
-0.04647412896156311,
0.0253463014960289,
-0.09663499146699905,
-0.06533319503068924,
-0.01962122693657875,
0.0486365370452404,
-0.03502397984266281,
0.03725729137659073,
0.01763606257736683,
0.0012939020525664091,
-0.03174491226673126,
-0.03917155787348747,
0.042858291417360306,
-0.017520852386951447,
0.03622926026582718,
-0.0367964468896389,
0.0034806851763278246,
-0.056364502757787704,
-0.03404912352561951,
0.014144299551844597,
-0.05771157890558243,
-0.05671899765729904,
-0.03482900932431221,
0.00018929410725831985,
-0.045765139162540436,
0.006256814114749432,
0.010953855700790882,
-0.0005300788907334208,
-0.04175936058163643,
-0.0033809838350862265,
0.021624116227030754,
0.0302383154630661,
-0.05565551295876503,
0.0054060290567576885,
-0.01578383333981037,
0.03578614071011543,
0.03931335359811783,
0.06597128510475159,
-0.024371443316340446,
-0.019319908693432808,
-0.013869566842913628,
-0.017893070355057716,
-0.02102147787809372,
-0.020791057497262955,
0.03245390206575394,
0.010094208642840385,
0.05820786952972412,
-0.017423367127776146,
-0.03128407150506973,
0.00431596115231514,
0.009934687055647373,
0.01516346912831068,
-0.0036690100096166134,
0.04966457188129425,
-0.0017857621423900127,
-0.013975915499031544,
0.028111351653933525,
-0.02440689317882061,
0.07933569699525833,
-0.03934880346059799,
0.01300105731934309,
-0.009172525256872177,
0.032719772309064865,
-0.045942384749650955,
-0.07267121225595474,
0.06600673496723175,
-0.05817241966724396,
0.013470761477947235,
-0.029422979801893234,
0.027615061029791832,
0.004382428713142872,
-0.03800172731280327,
-0.0349353551864624,
-0.039561498910188675,
-0.015190056525170803,
-0.03218803182244301,
0.03934880346059799,
0.03559117019176483,
0.048849236220121384,
-0.060866571962833405,
0.023538382723927498,
-0.021234173327684402,
-0.015278679318726063,
-0.006753105670213699,
-0.054202090948820114,
-0.009491569362580776,
0.010758884251117706,
0.033942773938179016,
-0.01999344676733017,
-0.06356072425842285,
0.07479817420244217,
0.04282284155488014,
-0.023786528035998344,
-0.043992672115564346,
0.03895885869860649,
0.054485686123371124,
0.0055345334112644196,
-0.02571851946413517,
-0.010608225129544735,
0.00928773544728756,
-0.09401173889636993,
-0.06738925725221634,
-0.010581637732684612,
0.04640322923660278,
-0.011547633446753025,
-0.021854538470506668,
0.011928713880479336,
-0.03156766667962074,
-0.035059429705142975,
-0.01584586873650551,
0.09542971104383469,
-0.020294765010476112,
-0.016545994207262993,
0.0027539730072021484,
-0.005875733681023121,
0.0030552928801625967,
0.014640591107308865,
-0.008773719891905785,
0.001226326683536172,
-0.03323378786444664,
0.0290153119713068,
0.029724298045039177,
0.0008867881842888892,
-0.00574722932651639,
-0.06643212586641312,
0.0034806851763278246,
-0.00924342405050993,
0.005920045077800751,
-0.049877267330884933,
-0.008379345759749413,
-0.020950578153133392,
-0.006624601315706968,
0.026392057538032532,
0.06593583524227142,
0.033003367483615875,
-0.015810420736670494,
0.06912627816200256,
0.030557358637452126,
-0.002711876993998885,
0.038356222212314606,
-0.0004339778679423034,
0.005654174834489822,
0.06026393175125122,
-0.04367362707853317,
0.0070632873103022575,
0.005144590046256781,
-0.007191791199147701,
0.004143145401030779,
-0.047254014760255814,
-0.04760850593447685,
0.08862343430519104,
-0.004568537697196007,
-0.0687008872628212,
0.012052786536514759,
-0.051685184240341187,
0.02853674441576004,
0.05771157890558243,
0.06512049585580826,
-0.005180039443075657,
-0.020046619698405266,
-0.051578838378190994,
0.019745299592614174,
0.034031398594379425,
-0.009553605690598488,
-0.008627491071820259,
-0.027331465855240822,
-0.03988054394721985,
-0.011707155033946037,
-0.058243319392204285,
0.013825255446135998,
0.018841341137886047,
-0.00802485179156065,
-0.04236200079321861,
-0.016280123963952065,
-0.006088429596275091,
0.026392057538032532,
-0.03475810959935188,
-0.03690279647707939,
0.03771813213825226,
0.04977091774344444,
-0.007324726786464453,
0.05530102178454399,
-0.02150004357099533,
-0.00415200786665082,
0.0022610053420066833,
-0.0013614774215966463,
0.025027256458997726,
0.009402945637702942,
-0.0117426048964262,
0.04292919114232063,
-0.04367362707853317,
0.017104322090744972,
-0.0014201904414221644,
0.04236200079321861,
0.015721796080470085,
-0.045587893575429916,
0.024353718385100365,
0.0037022437900304794,
-0.020897405222058296,
-0.033180613070726395,
0.005716211162507534,
0.01568634808063507,
0.039845094084739685,
-0.0805409774184227,
0.05859781429171562,
-0.019195836037397385,
0.029706574976444244
] |
10,284 | fractions | __ceil__ | math.ceil(a) | def __ceil__(a):
"""math.ceil(a)"""
# The negations cleverly convince floordiv to return the ceiling.
return -(-a.numerator // a.denominator)
| (a) | [
-0.0877724289894104,
-0.02455236203968525,
-0.012783536687493324,
0.040624648332595825,
-0.04015353322029114,
-0.039501216262578964,
0.02986147068440914,
-0.04319766163825989,
-0.12408456206321716,
0.011705406941473484,
0.019587529823184013,
0.003512981114909053,
0.019007695838809013,
0.010735996067523956,
-0.03103926032781601,
0.03201773017644882,
0.007179980631917715,
0.007148270960897207,
0.03029634617269039,
0.00685835350304842,
0.005281928926706314,
0.028792401775717735,
0.018699659034609795,
0.018699659034609795,
-0.034699466079473495,
0.023628251627087593,
0.043813735246658325,
0.0543232336640358,
-0.011053092777729034,
-0.004896882455796003,
-0.024606721475720406,
0.022758500650525093,
0.038486506789922714,
-0.03683760389685631,
0.043523818254470825,
-0.03330423682928085,
0.00443256227299571,
0.027687091380357742,
-0.1532212346792221,
0.0317096933722496,
-0.028194447979331017,
0.004493716638535261,
0.006409888155758381,
0.04095080494880676,
-0.0377979539334774,
-0.023410813882946968,
0.026309985667467117,
-0.02973463200032711,
-0.013100633397698402,
0.04000857472419739,
-0.05801967903971672,
0.012013443745672703,
0.0225229412317276,
0.05631641671061516,
-0.058816950768232346,
0.043088942766189575,
-0.014332781545817852,
-0.05022815242409706,
-0.043523818254470825,
0.0061063808389008045,
-0.04635051265358925,
-0.03852274641394615,
0.06258587539196014,
-0.046821627765893936,
0.012022503651678562,
0.023447053506970406,
-0.051025427877902985,
0.03627588972449303,
-0.04428485035896301,
0.01718665286898613,
-0.05106166750192642,
0.04834369197487831,
0.023863809183239937,
-0.0022683755960315466,
-0.0054359473288059235,
0.034445784986019135,
0.0020577325485646725,
0.08248144388198853,
0.04703906551003456,
-0.02596570923924446,
0.07827764004468918,
0.012294300831854343,
0.021145835518836975,
-0.01559210941195488,
0.01763059012591839,
-0.023320214822888374,
0.038051631301641464,
-0.013499269261956215,
-0.009286410175263882,
0.051605261862277985,
-0.0514240637421608,
0.004520896356552839,
0.017666829749941826,
-0.00915957149118185,
-0.05254749208688736,
0.06947141140699387,
-0.06001285836100578,
0.03709128126502037,
-0.015202532522380352,
-0.053634680807590485,
0.06403546035289764,
0.022740380838513374,
-0.02596570923924446,
-0.06907276809215546,
0.007365708705037832,
-0.03303243964910507,
0.010210521519184113,
-0.026618022471666336,
-0.03801539167761803,
0.049865756183862686,
-0.04080584645271301,
0.011823185719549656,
-0.08248144388198853,
0.05214885622262955,
-0.04218295216560364,
-0.00281536765396595,
-0.021127715706825256,
-0.02123643457889557,
0.06784062087535858,
0.003945591859519482,
-0.035587336868047714,
-0.018083585426211357,
-0.0354786179959774,
0.009272820316255093,
0.04290774464607239,
0.029064198955893517,
0.017114173620939255,
-0.012285240925848484,
-0.010201461613178253,
0.01110745221376419,
0.07309537380933762,
-0.0164346806704998,
0.03076746314764023,
-0.049901995807886124,
0.034155867993831635,
0.06657223403453827,
-0.006781344301998615,
0.03884890303015709,
0.008045202121138573,
0.02843000553548336,
-0.03678324446082115,
-0.013463029637932777,
0.016778957098722458,
0.03308679908514023,
0.02210618555545807,
0.029354115948081017,
0.06425289809703827,
0.0435962975025177,
-0.021399512887001038,
0.0010084814857691526,
-0.018572820350527763,
0.015492450445890427,
0.11074836552143097,
-0.0232477355748415,
0.03580477461218834,
-0.011977204121649265,
-0.015003214590251446,
0.012801656499505043,
-0.03245260566473007,
-0.009911543689668179,
0.03000642918050289,
0.05040935054421425,
0.0031528493855148554,
0.005454067140817642,
0.00376892345957458,
-0.030640624463558197,
0.0011155017418786883,
-0.0338297113776207,
-0.03076746314764023,
0.02496911771595478,
0.014903555624186993,
-0.011080272495746613,
-0.03932001814246178,
0.03968241438269615,
-0.04029849171638489,
0.015954505652189255,
-0.007311349269002676,
0.0244074035435915,
-0.03323175758123398,
0.025512713938951492,
-0.007098441477864981,
-0.02092839777469635,
0.016516219824552536,
0.01966000907123089,
0.026454944163560867,
0.0170145146548748,
0.006196979898959398,
-0.024661080911755562,
-0.0095944469794631,
-0.01162386778742075,
-0.03279688209295273,
-0.013472089543938637,
0.024443643167614937,
-0.058237116783857346,
-0.03604033216834068,
-0.022704141214489937,
-0.03272440284490585,
0.04087832570075989,
0.06153492629528046,
0.025766391307115555,
-0.09103400260210037,
0.02857496403157711,
-0.0014292012201622128,
-0.033576034009456635,
0.02672674134373665,
0.006364588625729084,
-0.03903010115027428,
0.012511738575994968,
0.013952264562249184,
0.03640272840857506,
-0.03928377851843834,
0.01111651211977005,
-0.009005553089082241,
0.03219892829656601,
0.015374671667814255,
0.02944471500813961,
0.03669264540076256,
-0.005494836717844009,
0.04160311818122864,
0.043233901262283325,
-0.027832049876451492,
0.01744033209979534,
0.04718402400612831,
-0.035152461379766464,
0.014088164083659649,
-0.02063848078250885,
-0.015646468847990036,
0.006341938860714436,
0.04982951655983925,
-0.024697320535779,
-0.003241183701902628,
-0.03375723212957382,
-0.017530931159853935,
-0.000389009976061061,
0.04174807667732239,
-0.0164346806704998,
-0.08567053079605103,
-0.024588601663708687,
-0.038776423782110214,
0.002414466580376029,
-0.0073475888930261135,
-0.02179814875125885,
-0.05888943001627922,
0.048887286335229874,
0.024642961099743843,
-0.049032244831323624,
-0.047981295734643936,
0.003130199620500207,
0.015836726874113083,
0.035279300063848495,
-0.006500487215816975,
-0.023030297830700874,
-0.02859308384358883,
-0.03533365949988365,
0.028049489483237267,
0.044828444719314575,
-0.04138568043708801,
0.01300097443163395,
0.011605747975409031,
0.026473063975572586,
0.07429128140211105,
-0.08914953470230103,
-0.006958012469112873,
-0.0496845580637455,
-0.0369282029569149,
0.026491183787584305,
-0.00794554315507412,
-0.02004052698612213,
0.019823087379336357,
0.07566838711500168,
0.13597115874290466,
-0.06276707351207733,
0.03783419355750084,
-0.0271616168320179,
-0.009811884723603725,
-0.028321286663413048,
0.03187277168035507,
0.02062036097049713,
0.002357842167839408,
-0.02596570923924446,
0.0061788600869476795,
-0.002804042771458626,
-0.08240896463394165,
0.01083565503358841,
-0.021000877022743225,
-0.0021483316086232662,
0.01660681888461113,
-0.019297612830996513,
-0.00110927305649966,
0.03321363776922226,
0.019968047738075256,
-0.012421139515936375,
-0.01574612781405449,
0.03364851325750351,
0.02206994593143463,
-0.013100633397698402,
-0.021689429879188538,
-0.04022601246833801,
0.031111739575862885,
-0.007610326167196035,
-0.0441761314868927,
-0.05501178652048111,
-0.018663419410586357,
0.025367755442857742,
0.03288748115301132,
0.033847831189632416,
-0.0017338406760245562,
0.01966000907123089,
0.03294184058904648,
0.002785922959446907,
-0.015392791479825974,
-0.0050146616995334625,
0.013481149449944496,
-0.011379250325262547,
-0.012031563557684422,
-0.034300826489925385,
0.004090550355613232,
0.049757037311792374,
-0.03823282942175865,
0.012149342335760593,
0.025657672435045242,
0.06755070388317108,
-0.008403068408370018,
0.049757037311792374,
0.048887286335229874,
-0.017567170783877373,
0.015936385840177536,
0.0191888939589262,
0.0006155077717266977,
-0.00837588869035244,
-0.1045876294374466,
0.03410150855779648,
0.032996200025081635,
0.01530219241976738,
-0.030839942395687103,
0.003868582658469677,
0.05457691103219986,
0.03932001814246178,
-0.028647443279623985,
-0.035877253860235214,
0.01262951735407114,
-0.021127715706825256,
0.0008765465463511646,
0.017947686836123466,
-0.0036896492820233107,
0.016815196722745895,
0.0066907452419400215,
-0.013481149449944496,
0.0744362398982048,
0.008253579959273338,
0.012656698003411293,
-0.04203799366950989,
0.05986789986491203,
-0.028901120647788048,
-0.03306867927312851,
0.01675177738070488,
-0.0066907452419400215,
-0.0226679015904665,
0.0070576719008386135,
-0.011179931461811066,
0.02641870453953743,
0.01733161322772503,
0.002955796429887414,
0.01803828589618206,
0.003907087258994579,
0.021417632699012756,
-0.0834236741065979,
-0.011823185719549656,
-0.00562620535492897,
0.019388211891055107,
-0.03870394453406334,
-0.0383777879178524,
0.05475810915231705,
-0.05330852419137955,
0.030133267864584923,
0.04508212208747864,
0.016643058508634567,
0.023066537454724312,
-0.054939307272434235,
0.07653813809156418,
-0.002263845643028617,
-0.0008555954555049539,
-0.039066340774297714,
0.0109715536236763,
0.018735898658633232,
0.0473652221262455,
-0.013073453679680824,
-0.005118850618600845,
0.029390355572104454,
-0.006224159616976976,
-0.023447053506970406,
0.0034767412580549717,
-0.003343107644468546,
0.009395129047334194,
-0.09574515372514725,
-0.012412079609930515,
0.06124500930309296,
-0.047111544758081436,
0.0018833292415365577,
-0.027922648936510086,
0.029335996136069298,
0.0670795887708664,
0.02366449125111103,
0.04095080494880676,
0.003356697503477335,
0.042943984270095825,
0.051025427877902985,
-0.005762104410678148,
0.01949693076312542,
-0.026654262095689774,
0.014178763143718243,
-0.06976132839918137,
-0.07171826809644699,
0.043958693742752075,
0.04689410701394081,
0.007501607295125723,
-0.03507998213171959,
-0.03294184058904648,
-0.034862544387578964,
-0.08907705545425415,
-0.006903653033077717,
-0.04131320118904114,
-0.004305723123252392,
0.0052909888327121735,
0.011306771077215672,
-0.01531125232577324,
0.0326700434088707,
-0.07084851711988449,
-0.0260019488632679,
0.03932001814246178,
-0.0106816366314888,
-0.0502643920481205,
-0.07458119839429855,
0.002412201603874564,
0.049140963703393936,
-0.02873804233968258,
-0.019116414710879326,
0.03172781318426132,
-0.0016375791747123003,
0.0003759863611776382,
0.048126254230737686,
0.014812956564128399,
0.00916410144418478,
0.023356454446911812,
0.011632927693426609,
-0.049974475055933,
0.03855898603796959,
0.002160788979381323,
-0.0380878709256649,
-0.033847831189632416,
0.020747199654579163,
-0.04370501637458801,
-0.021689429879188538,
-0.004468801897019148,
-0.02395440824329853,
-0.09538275748491287,
-0.06218723952770233,
0.008779055438935757,
0.07624822109937668,
0.022015586495399475,
0.015148173086345196,
0.023030297830700874,
-0.0022434608545154333,
-0.019315732643008232,
-0.008407598361372948,
0.04142192006111145,
0.004747394006699324,
-0.020964637398719788,
-0.0032774233259260654,
-0.056642573326826096,
0.061281248927116394,
0.020892158150672913,
-0.03535177931189537,
0.03303243964910507,
0.030694983899593353,
0.035587336868047714,
-0.03787043318152428,
-0.003596785245463252,
0.006681685335934162,
-0.03903010115027428,
-0.004702094476670027,
0.0017678154399618506,
-0.005463127046823502,
-0.036747004836797714,
-0.04953959956765175,
0.0022004263009876013,
-0.06994252651929855,
0.005358938127756119,
0.053779639303684235,
-0.026889819651842117,
0.01773024909198284,
0.03491690382361412,
-0.05443195253610611,
0.003413321916013956,
-0.004169824533164501,
0.0016160618979483843,
0.04015353322029114,
0.032271407544612885,
0.030858062207698822,
-0.05077175050973892,
-0.038486506789922714,
0.005703215021640062,
0.027813930064439774,
-0.026309985667467117,
-0.006840233691036701,
0.0522938147187233,
0.0051460303366184235,
0.027215976268053055,
-0.019170774146914482,
0.0112614706158638,
0.022704141214489937,
0.010772235691547394,
-0.05298236757516861,
0.041494399309158325,
0.05077175050973892,
-0.031238578259944916,
-0.014903555624186993,
-0.027632731944322586,
-0.0010786957573145628,
-0.01864529959857464,
0.07280545681715012,
-0.03531553968787193,
-0.005997661966830492,
-0.002613784745335579,
-0.01271105743944645,
-0.008783585391938686,
-0.0033363127149641514,
0.006704335100948811,
-0.017259132117033005,
0.01545621082186699,
-0.02368261106312275,
-0.012312420643866062,
-0.031401656568050385,
0.05689625069499016,
-0.01748563162982464,
0.02152635157108307,
-0.09929663687944412,
0.01834632270038128,
0.09639746695756912,
0.06613735854625702,
-0.034699466079473495,
-0.035587336868047714,
0.045951876789331436,
0.02770521119236946,
-0.007469897624105215,
0.0043578180484473705,
-0.024443643167614937,
0.0784950777888298,
0.03939249739050865,
-0.014051924459636211,
-0.0031505844090133905,
-0.0025073308497667313,
0.02815820835530758,
0.0005082044517621398,
0.025077836588025093,
0.04189303517341614,
-0.012167462147772312,
-0.03540613874793053,
-0.013535508885979652,
-0.035424258559942245,
-0.023265855386853218,
0.03582289442420006,
0.0755959078669548,
-0.05990413948893547,
0.021707549691200256,
-0.03247072547674179,
0.07131963223218918,
0.029335996136069298,
0.00945854838937521,
0.03364851325750351,
-0.018808377906680107,
0.017404092475771904,
-0.020421043038368225,
0.018971456214785576,
0.00009456283441977575,
0.0005939904949627817,
0.001650036545470357,
-0.02337457425892353,
-0.01421500276774168,
-0.0834236741065979,
-0.005136970430612564,
-0.06816677749156952,
-0.03555109724402428,
-0.024588601663708687,
-0.04479220509529114,
-0.048597369343042374,
-0.03526118025183678,
-0.014142523519694805,
0.006663565523922443,
0.005707744974642992,
0.030550023540854454,
-0.021580711007118225,
-0.03794291242957115,
0.005870823282748461,
-0.02931787632405758,
-0.031093619763851166,
-0.041059523820877075,
0.020312324166297913,
-0.04341509938240051,
-0.015927325934171677,
-0.01204968336969614,
0.01978684775531292,
0.005784754175692797,
0.0871925950050354,
-0.002496005967259407,
0.02944471500813961,
0.012312420643866062,
-0.0522938147187233,
-0.03497126325964928,
-0.0271616168320179,
0.020964637398719788,
0.07769780606031418,
-0.010636337101459503,
0.032398246228694916,
-0.0338297113776207,
0.00007170071330619976,
0.007148270960897207,
-0.07429128140211105,
-0.004520896356552839,
0.0341196283698082,
-0.050481829792261124,
-0.007900243625044823,
-0.0027089137583971024,
0.010065563023090363,
-0.02322961576282978,
-0.013680467382073402,
0.055519141256809235,
-0.05156902223825455,
0.04479220509529114,
0.041929274797439575,
0.005993132013827562,
0.03685572370886803,
0.0418567955493927,
-0.03160097450017929,
-0.07661061733961105,
0.04312518239021301,
-0.008856064639985561,
0.013807306066155434,
-0.035134341567754745,
-0.00795007310807705,
0.03334047645330429,
0.007755285128951073,
-0.0006302301771938801,
0.0016964685637503862,
0.02960779331624508,
-0.04573443904519081,
-0.0039478568360209465,
0.015564929693937302,
-0.011977204121649265,
0.007157330866903067,
-0.03497126325964928,
0.049612078815698624,
0.06048397347331047,
-0.045517001301050186,
-0.033847831189632416,
-0.023030297830700874,
0.05207637697458267,
0.056932490319013596,
-0.03546049818396568,
0.005861763376742601,
-0.016507159918546677,
-0.04790881648659706,
-0.05251125246286392,
0.01262951735407114,
0.029480954632163048,
0.02843000553548336,
-0.032688163220882416,
0.013363370671868324,
-0.03636648878455162,
-0.0683479756116867,
0.0177393089979887,
0.05399707704782486,
0.008769995532929897,
-0.039211299270391464,
-0.041059523820877075,
-0.002554895356297493,
-0.013236531987786293,
-0.004606965463608503,
-0.022432342171669006,
-0.03676512464880943,
-0.07349400967359543,
-0.005707744974642992,
-0.07552342861890793,
0.0038346080109477043,
0.03016950748860836,
-0.0016319167334586382,
-0.0063283490017056465,
0.03272440284490585,
0.022178664803504944,
0.006939892657101154,
0.05798343941569328,
-0.0033091329969465733,
-0.0647602528333664,
-0.01644374057650566,
0.0167698971927166,
-0.04254534840583801,
-0.01966000907123089,
0.08523565530776978,
0.043958693742752075,
0.030423184856772423,
0.0557728186249733,
-0.00915957149118185,
0.00874281581491232,
-0.012448319233953953,
-0.053199805319309235,
-0.02730657532811165,
0.04124072194099426,
0.010781295597553253,
0.012729177251458168,
-0.035152461379766464,
0.008199220523238182,
0.07603078335523605,
-0.04529956355690956,
-0.05646137520670891,
0.02701665833592415,
0.05932430550456047,
0.01904393546283245,
0.05309108644723892,
-0.046278033405542374,
0.010645397007465363,
-0.016099464148283005,
0.00724792992696166,
0.08943945169448853,
-0.004477861803025007,
-0.012783536687493324,
-0.01617194339632988,
0.03555109724402428,
0.007447247859090567,
-0.030984900891780853,
-0.003932002000510693,
-0.014812956564128399,
0.010554797947406769,
-0.021616950631141663,
-0.02743341401219368,
0.00886512454599142,
0.009041792713105679,
0.014151583425700665,
-0.040044814348220825,
-0.0009535557474009693,
-0.061281248927116394,
0.010699756443500519,
-0.05283740907907486,
0.03301431983709335,
-0.023863809183239937,
-0.031836532056331635,
-0.002355577191337943,
0.026817340403795242,
0.06414417922496796,
0.03419210761785507,
-0.01630784198641777,
-0.017938626930117607,
-0.01385260559618473,
0.026346225291490555,
-0.03709128126502037,
-0.007986312732100487,
-0.039646174758672714,
-0.0013793716207146645,
0.0005039576208218932,
0.02699853852391243,
0.0007055406458675861,
0.023066537454724312,
0.030423184856772423,
-0.003741743741557002,
0.05051806941628456,
-0.0018165124347433448,
0.026817340403795242,
0.027197856456041336,
-0.013771066442131996
] |
10,285 | numbers | __complex__ | complex(self) == complex(float(self), 0) | def __complex__(self):
"""complex(self) == complex(float(self), 0)"""
return complex(float(self))
| (self) | [
0.018665175884962082,
-0.029385508969426155,
0.05779959633946419,
0.09728095680475235,
-0.020122308284044266,
-0.029715098440647125,
-0.011006555519998074,
0.0053731766529381275,
-0.062448542565107346,
0.025846758857369423,
0.017303450033068657,
0.017988650128245354,
-0.026020227000117302,
0.020122308284044266,
-0.009714217856526375,
0.035508934408426285,
0.029541630297899246,
-0.053115956485271454,
0.024736562743782997,
0.03597730025649071,
-0.03462424874305725,
-0.0018441835418343544,
0.018144771456718445,
0.036254849284887314,
0.01331368274986744,
0.0669587180018425,
0.012862665578722954,
0.015031017363071442,
-0.01467540767043829,
-0.04721803963184357,
-0.04333234950900078,
0.01942843571305275,
0.02768552117049694,
0.014250410720705986,
0.055995527654886246,
-0.012402975000441074,
-0.012489709071815014,
0.03059978596866131,
-0.10435845702886581,
0.04288133233785629,
0.045760903507471085,
-0.020209042355418205,
-0.02513553947210312,
0.01078104693442583,
0.01660090498626232,
-0.01701722852885723,
0.019653944298624992,
0.040452778339385986,
0.012871338985860348,
-0.05322003737092018,
0.03273344412446022,
-0.005130321253091097,
-0.01694784127175808,
-0.02891714498400688,
-0.05755674093961716,
0.055995527654886246,
0.05429553985595703,
0.061789363622665405,
-0.022203925997018814,
0.023123309016227722,
-0.0798647478222847,
0.013955514878034592,
0.046905796974897385,
-0.052109841257333755,
-0.029472243040800095,
0.0038965288549661636,
-0.05273432657122612,
0.041216038167476654,
0.01744222454726696,
0.04683640971779823,
-0.01627131551504135,
0.023851875215768814,
-0.006821636110544205,
0.01901211217045784,
0.036254849284887314,
-0.04097318276762962,
-0.01594172604382038,
0.008551981300115585,
-0.015456014312803745,
-0.05110372602939606,
-0.029576323926448822,
-0.01982741244137287,
-0.03618546202778816,
0.01894272491335869,
-0.011466246098279953,
-0.03465894237160683,
-0.01342643704265356,
-0.0388568714261055,
-0.06314241886138916,
0.06720156967639923,
-0.049958836287260056,
-0.040556859225034714,
-0.018318239599466324,
0.025985533371567726,
0.03082529455423355,
0.020642712712287903,
-0.04818946123123169,
-0.057487353682518005,
0.0454486608505249,
-0.0038683402817696333,
0.015369280241429806,
0.06383629143238068,
-0.057071030139923096,
-0.02744266577064991,
0.05367105454206467,
-0.009826972149312496,
-0.020625365898013115,
-0.08257085084915161,
0.025725331157445908,
0.028327353298664093,
-0.024025343358516693,
0.048813946545124054,
-0.04614253342151642,
0.011440225876867771,
-0.025066152215003967,
-0.037226270884275436,
-0.024406973272562027,
0.04371397942304611,
0.01670498587191105,
0.0377119816839695,
0.03909972682595253,
0.006947400514036417,
-0.006374955642968416,
0.04243031516671181,
0.030807947739958763,
0.05630777031183243,
0.022203925997018814,
-0.006015009246766567,
-0.018873337656259537,
-0.06081794202327728,
0.01384276058524847,
-0.0019504327792674303,
0.05811183899641037,
0.026748793199658394,
-0.012489709071815014,
0.03965482488274574,
0.027668174356222153,
-0.00801856629550457,
-0.008985651656985283,
0.06640361994504929,
-0.02926408126950264,
0.01104124914854765,
0.03705280274152756,
0.004792058374732733,
-0.037642594426870346,
0.07729741930961609,
0.04034869745373726,
0.012663177214562893,
-0.08250146359205246,
0.0007583812111988664,
-0.0011719943722710013,
0.009670850820839405,
0.10789720714092255,
-0.023088615387678146,
0.013946841470897198,
-0.013816740363836288,
0.033097729086875916,
0.005477257538586855,
-0.031952839344739914,
0.0035582659766077995,
-0.041875217109918594,
0.055162880569696426,
-0.045101724565029144,
-0.03464159369468689,
0.014606020413339138,
-0.010312682949006557,
0.03209161385893822,
-0.06754850596189499,
-0.04628131166100502,
0.016384068876504898,
-0.003618979826569557,
-0.018231505528092384,
0.0015991597902029753,
0.0757015123963356,
0.0022171400487422943,
0.050860870629549026,
-0.0044928258284926414,
0.03321915492415428,
0.006704545114189386,
-0.0002829699660651386,
0.025985533371567726,
-0.00014731242845300585,
-0.07094848155975342,
0.005672409199178219,
0.06952604651451111,
-0.0015839813277125359,
-0.0013324524043127894,
-0.01925496757030487,
0.015907032415270805,
-0.016826413571834564,
0.021718215197324753,
0.0464547798037529,
0.017554979771375656,
-0.04704457148909569,
-0.007420101203024387,
-0.05380982905626297,
0.012281547300517559,
-0.037816062569618225,
0.017546305432915688,
0.06636892259120941,
-0.06727095693349838,
-0.022255966439843178,
0.03325384855270386,
-0.02083352766931057,
0.06692402064800262,
-0.025256967172026634,
-0.022013111039996147,
-0.004948179703205824,
0.00908973254263401,
0.020365163683891296,
-0.004258643835783005,
-0.017476918175816536,
0.0010223780991509557,
0.012793278321623802,
0.0001853941212175414,
0.02785898931324482,
-0.04374867305159569,
-0.03191814571619034,
0.035907912999391556,
0.06376690417528152,
0.042603783309459686,
-0.035838525742292404,
0.0007318189018405974,
-0.0033587776124477386,
-0.006904033478349447,
0.03826707974076271,
0.02230800688266754,
-0.013400416821241379,
-0.03049570508301258,
-0.030478358268737793,
0.007966525852680206,
-0.05259555205702782,
-0.07473009079694748,
-0.04843231663107872,
0.020104961469769478,
0.027061035856604576,
0.06185875087976456,
0.058320000767707825,
-0.03537015989422798,
-0.05238739028573036,
0.019480476155877113,
-0.022932492196559906,
0.04884864017367363,
0.02263759635388851,
-0.009670850820839405,
-0.0411466509103775,
0.006522403564304113,
0.023522285744547844,
-0.03635893017053604,
0.03646301105618477,
-0.049473125487565994,
-0.0011459741508588195,
-0.025603903457522392,
0.008313462138175964,
0.017797835171222687,
-0.06647300720214844,
-0.027425318956375122,
-0.037573207169771194,
0.01916823349893093,
-0.001018583425320685,
-0.021128423511981964,
-0.05894448608160019,
0.06831176578998566,
0.028986532241106033,
-0.016227947548031807,
0.002337483689188957,
-0.03882217779755592,
-0.03537015989422798,
0.007827751338481903,
0.06432200223207474,
0.08937080204486847,
-0.0497506745159626,
-0.018977418541908264,
-0.011787163093686104,
-0.015846317633986473,
0.019810065627098083,
-0.02000088058412075,
0.002070776419714093,
-0.03497118502855301,
0.008270095102488995,
-0.01588101126253605,
-0.005451237317174673,
-0.01726875640451908,
-0.04440785199403763,
-0.049958836287260056,
0.024615135043859482,
0.009532076306641102,
0.041458893567323685,
0.0010169572196900845,
0.00014040080714039505,
-0.014519286341965199,
0.032265082001686096,
0.04243031516671181,
-0.00959279015660286,
0.06987298280000687,
0.004161067772656679,
-0.020365163683891296,
-0.005464247427880764,
0.04243031516671181,
0.009107079356908798,
-0.03573444485664368,
-0.01086778100579977,
0.014024902135133743,
0.05398329719901085,
0.027251850813627243,
-0.017485592514276505,
-0.0030964070465415716,
0.007662956602871418,
0.027650827541947365,
0.07209337502717972,
0.02001822739839554,
0.02768552117049694,
-0.08569327741861343,
0.04076502099633217,
0.03660178557038307,
0.029472243040800095,
0.024424320086836815,
0.013114194385707378,
0.0020859548822045326,
0.05703633651137352,
0.026991648599505424,
-0.04812007397413254,
-0.007051481399685144,
0.0027212819550186396,
0.03389568254351616,
-0.007866782136261463,
-0.03604668751358986,
0.025274313986301422,
0.011951957829296589,
0.012689197435975075,
-0.049230270087718964,
0.01434581819921732,
0.02100699581205845,
0.022377394139766693,
-0.02553451620042324,
-0.07202398777008057,
0.05693225562572479,
-0.009766258299350739,
-0.019636597484350204,
-0.010147888213396072,
0.03802422434091568,
-0.010685639455914497,
-0.01703457534313202,
-0.008287441916763783,
-0.03424261882901192,
0.021197810769081116,
0.0162019282579422,
-0.029142653569579124,
0.07098317891359329,
-0.009202486835420132,
-0.02331412397325039,
-0.08839938044548035,
0.021197810769081116,
0.00974891148507595,
-0.0009042028686963022,
0.03370486572384834,
-0.05394860357046127,
0.023903915658593178,
0.005477257538586855,
-0.02851816825568676,
0.07535457611083984,
0.011969304643571377,
-0.008976978249847889,
-0.017069268971681595,
0.006366282235831022,
0.011214717291295528,
-0.04603845253586769,
-0.009757584892213345,
0.02628042921423912,
-0.009107079356908798,
-0.0033002321142703295,
0.015560095198452473,
-0.02999264746904373,
-0.05762612819671631,
-0.012515729293227196,
0.01745089888572693,
-0.02968040481209755,
0.043367043137550354,
-0.032039571553468704,
-0.020278429612517357,
0.011917264200747013,
0.0029272756073623896,
-0.03547424077987671,
-0.018647829070687294,
-0.032265082001686096,
0.043609898537397385,
-0.03778136894106865,
0.0001365384232485667,
0.008838203735649586,
0.07604844868183136,
-0.03850993514060974,
-0.023348817601799965,
-0.007866782136261463,
-0.03809361159801483,
-0.04239562153816223,
0.014397858642041683,
0.04999352991580963,
0.004562213085591793,
-0.06827707588672638,
-0.035023223608732224,
0.0007009198307059705,
0.0018550253007560968,
0.005767816677689552,
0.03146712854504585,
-0.013669292442500591,
-0.026505937799811363,
0.02867428958415985,
0.01627131551504135,
0.014658060856163502,
0.021111076697707176,
-0.0024979417212307453,
-0.026644712314009666,
-0.002745133824646473,
-0.002630211180076003,
-0.013261642307043076,
-0.02685287408530712,
-0.04007114842534065,
-0.07861577719449997,
0.0077410172671079636,
0.04700987786054611,
0.039134420454502106,
0.017711101099848747,
-0.0032915587071329355,
0.000725855934433639,
-0.04027931019663811,
0.03339262306690216,
0.009931053034961224,
0.039724212139844894,
0.00010760447912616655,
0.003445511683821678,
-0.017398858442902565,
0.03510995954275131,
-0.011180023662745953,
-0.058320000767707825,
0.03547424077987671,
-0.015273872762918472,
-0.016002438962459564,
-0.03792014345526695,
-0.01635804958641529,
0.04735681414604187,
0.06956073641777039,
0.006544087082147598,
-0.0475996695458889,
-0.03573444485664368,
0.025968186557292938,
-0.05703633651137352,
0.04895272105932236,
-0.0075762225314974785,
0.018717216327786446,
-0.02662736549973488,
0.03760790079832077,
0.031848758459091187,
0.02175290882587433,
-0.07500763982534409,
0.03653239831328392,
-0.031796716153621674,
-0.003831478301435709,
-0.039793599396944046,
0.004135047551244497,
-0.030894681811332703,
-0.04784252494573593,
-0.015672849491238594,
-0.04312418773770332,
-0.05918734148144722,
-0.029402855783700943,
0.055336348712444305,
0.08007290959358215,
-0.00830478873103857,
-0.045171111822128296,
-0.013539191335439682,
0.03982829302549362,
-0.037399739027023315,
-0.03909972682595253,
-0.06414853036403656,
0.0030768918804824352,
0.032768137753009796,
-0.061373040080070496,
0.03124161809682846,
0.0286049023270607,
-0.04753028228878975,
-0.06536281108856201,
-0.027997763827443123,
0.007151225581765175,
0.019029458984732628,
0.019463129341602325,
0.049542512744665146,
0.016410090029239655,
-0.0020599346607923508,
0.04472009465098381,
0.008009892888367176,
-0.013625925406813622,
0.06751381605863571,
-0.014432552270591259,
-0.02026108279824257,
-0.004700987599790096,
0.026263082399964333,
-0.026714099571108818,
0.02636716328561306,
-0.01368663925677538,
0.04496295005083084,
-0.029871219769120216,
-0.03965482488274574,
-0.05200576037168503,
-0.02570798434317112,
0.002270264783874154,
-0.008469583466649055,
-0.01309684757143259,
-0.03934258222579956,
-0.047079265117645264,
-0.011379512026906013,
-0.037989530712366104,
-0.0030508716590702534,
-0.052456777542829514,
0.004922159481793642,
0.005863224621862173,
0.022845758125185966,
-0.050860870629549026,
-0.009644830599427223,
-0.03446812555193901,
-0.035838525742292404,
0.05214453488588333,
-0.02926408126950264,
-0.05727919191122055,
0.028049804270267487,
-0.014527959749102592,
-0.013738679699599743,
-0.02910795994102955,
-0.04149358719587326,
0.021371278911828995,
0.0016566211124882102,
0.007428774610161781,
-0.06831176578998566,
-0.053775135427713394,
0.10415029525756836,
-0.042707864195108414,
0.040799714624881744,
-0.05197106674313545,
0.005464247427880764,
-0.014727448113262653,
-0.01309684757143259,
-0.00456654978916049,
0.02100699581205845,
0.050548627972602844,
-0.0012001829454675317,
-0.009393301792442799,
-0.009974420070648193,
-0.011396858841180801,
0.004249970428645611,
0.041944604367017746,
-0.003404312999919057,
-0.009384628385305405,
-0.02074679359793663,
0.006760922260582447,
0.027165116742253304,
0.07070562988519669,
0.023747794330120087,
0.03833646699786186,
-0.017554979771375656,
-0.027911029756069183,
0.006015009246766567,
0.0339130274951458,
0.020191695541143417,
0.0678260549902916,
-0.004432111978530884,
-0.07250969856977463,
-0.02834470011293888,
0.05165882408618927,
0.09367281943559647,
0.006891023367643356,
-0.002842709654942155,
-0.01619325391948223,
-0.023504938930273056,
0.038718096911907196,
0.02834470011293888,
0.014319797977805138,
0.039967067539691925,
-0.005429553799331188,
0.025742677971720695,
-0.03453751280903816,
-0.03471098095178604,
-0.02520492672920227,
-0.04093848913908005,
-0.06858931481838226,
0.001598075614310801,
-0.03214365243911743,
-0.0863177627325058,
0.0023331469856202602,
-0.025100845843553543,
-0.0075762225314974785,
-0.019775371998548508,
0.007914485409855843,
0.02197841741144657,
-0.024406973272562027,
-0.012689197435975075,
-0.02307126671075821,
-0.07174643874168396,
-0.06435669213533401,
-0.0038509934674948454,
0.018335586413741112,
0.03493649140000343,
-0.009159119799733162,
-0.060054682195186615,
0.021874336525797844,
0.021180463954806328,
-0.07004644721746445,
0.016765698790550232,
-0.006348935421556234,
-0.04267317056655884,
-0.020052921026945114,
-0.03753851354122162,
0.0008836035267449915,
0.03920380771160126,
-0.004674967378377914,
-0.00801423005759716,
-0.009731564670801163,
-0.012038691900670528,
-0.06827707588672638,
0.045830290764570236,
-0.0339130274951458,
0.06525872647762299,
-0.03493649140000343,
0.004017956554889679,
-0.01982741244137287,
-0.0033891345374286175,
-0.03635893017053604,
-0.031536515802145004,
0.050964951515197754,
-0.03424261882901192,
0.03379160165786743,
-0.0030118413269519806,
0.02877837046980858,
0.05630777031183243,
0.0005691924598067999,
-0.04190991073846817,
-0.06258732080459595,
-0.046316005289554596,
-0.03708749637007713,
0.04357520490884781,
0.041285425424575806,
0.0672362670302391,
0.037746675312519073,
0.014952956698834896,
-0.043020106852054596,
-0.0474608950316906,
-0.04496295005083084,
-0.03941196948289871,
-0.012888685800135136,
-0.07681170850992203,
0.014250410720705986,
-0.03051305189728737,
-0.06168528273701668,
0.06227507442235947,
0.03448547422885895,
0.014406532049179077,
0.023869222030043602,
-0.04763436317443848,
0.023747794330120087,
0.03809361159801483,
0.03837116062641144,
0.023765141144394875,
-0.01669631153345108,
-0.029385508969426155,
0.005338483024388552,
-0.0075458656065166,
0.02579471841454506,
-0.0051259845495224,
0.04263847693800926,
-0.038232386112213135,
-0.034433431923389435,
-0.010937168262898922,
-0.007819077931344509,
0.017234062775969505,
-0.0330456867814064,
-0.0031094171572476625,
-0.04083440825343132,
0.04333234950900078,
0.0027473021764308214,
-0.006266538053750992,
0.00036970406654290855,
0.006001999136060476,
0.07077501714229584,
0.019463129341602325,
-0.0023743456695228815,
-0.010104521177709103,
0.005572665017098188,
-0.03993237391114235,
-0.0019200758542865515,
0.019636597484350204,
0.0035083938855677843,
-0.0635240450501442,
-0.023088615387678146,
-0.023834528401494026,
0.0053861867636442184,
-0.0050219036638736725,
0.01454530656337738,
0.05197106674313545,
-0.034173231571912766,
0.0335487462580204,
0.03580383211374283,
0.016089173033833504,
0.04458132013678551,
0.008530297316610813,
-0.028136538341641426,
0.07424437999725342,
0.024493707343935966,
0.018960071727633476,
0.04992414265871048,
-0.0073897442780435085,
0.04850170388817787,
-0.052352696657180786,
0.013790720142424107,
0.1255909651517868,
0.011951957829296589,
-0.05207514762878418,
0.024424320086836815,
0.009566769935190678,
-0.00003526960426825099,
0.0678260549902916,
0.0658138245344162,
0.03837116062641144,
-0.021458012983202934,
0.0038965288549661636,
0.08028107136487961,
0.049785368144512177,
0.0017455235356464982,
-0.004887465853244066,
-0.0022724331356585026,
-0.003623316530138254,
-0.02123250439763069,
-0.009306567721068859,
-0.020209042355418205,
0.07708925753831863,
0.02761613391339779,
0.025413088500499725,
-0.036740560084581375,
-0.012229506857693195,
-0.030651826411485672,
-0.016488149762153625,
-0.03729565814137459,
0.023192696273326874,
-0.00041334214620292187,
-0.006474699825048447,
0.05481594428420067,
0.030443664640188217,
0.010919821448624134,
-0.009055038914084435,
0.00950605608522892,
0.07174643874168396,
0.025482475757598877,
-0.024406973272562027,
-0.006743575446307659,
-0.009393301792442799,
0.020712099969387054,
0.011830530129373074,
0.021059036254882812,
-0.031033456325531006,
-0.07535457611083984,
0.02900387905538082,
0.021804949268698692,
-0.038891565054655075,
-0.06640361994504929,
-0.03471098095178604,
0.02825796604156494,
0.08458308130502701,
-0.06182405725121498,
0.04440785199403763,
0.025742677971720695,
0.015031017363071442
] |
10,286 | fractions | __copy__ | null | def __copy__(self):
if type(self) == Fraction:
return self # I'm immutable; therefore I am my own clone
return self.__class__(self._numerator, self._denominator)
| (self) | [
-0.011685486882925034,
-0.0550711490213871,
0.0475502647459507,
0.027236849069595337,
-0.08954773098230362,
0.02894134819507599,
0.0054781208746135235,
-0.03683124855160713,
0.016210317611694336,
0.028062740340828896,
0.01853862963616848,
-0.0235994104295969,
0.001660569105297327,
0.0537005215883255,
-0.02924007549881935,
0.018257474526762962,
0.007094759959727526,
0.012959468178451061,
-0.00033249822445213795,
0.009488966315984726,
-0.004171191714704037,
-0.01730857789516449,
0.02992538921535015,
0.042700350284576416,
-0.030470125377178192,
0.024478020146489143,
0.0307864248752594,
-0.01337241381406784,
-0.013934723101556301,
-0.02041885070502758,
0.021385319530963898,
0.01976867951452732,
0.00124432856682688,
0.0393264964222908,
-0.006541236769407988,
-0.033843979239463806,
-0.037920720875263214,
0.0471988208591938,
-0.07492769509553909,
0.03834245353937149,
-0.03872904181480408,
-0.02866019308567047,
-0.006765281781554222,
-0.01272224448621273,
0.02052428387105465,
-0.00515742925927043,
0.031067579984664917,
-0.015191132202744484,
0.02540934458374977,
-0.035407904535532,
0.008518104441463947,
0.06508728116750717,
-0.06044823303818703,
0.001510107540525496,
-0.018292618915438652,
0.060694240033626556,
0.0810428038239479,
0.049166902899742126,
-0.04607420414686203,
0.05457913130521774,
-0.02579593099653721,
-0.019065793603658676,
0.029538800939917564,
-0.09299187362194061,
-0.013091259635984898,
-0.027658579871058464,
-0.045617327094078064,
0.005768061615526676,
0.018485913053154945,
0.007340769749134779,
-0.004845523275434971,
0.015068127773702145,
0.017361294478178024,
0.014628823846578598,
0.01340755820274353,
0.02352912351489067,
0.03178803622722626,
0.0177830271422863,
0.02544448897242546,
-0.03024168871343136,
-0.016834130510687828,
-0.0025084258522838354,
-0.02760586328804493,
0.02793973498046398,
-0.029942961409687996,
-0.02948608435690403,
-0.04115400090813637,
-0.0673716589808464,
0.0021855374798178673,
0.007156262174248695,
-0.04076741263270378,
0.013996225781738758,
-0.035935066640377045,
-0.013363627716898918,
0.04252462834119797,
0.025356628000736237,
-0.05211902782320976,
-0.021332602947950363,
-0.007534063886851072,
0.013056115247309208,
-0.03512674942612648,
0.0376395657658577,
-0.07415451854467392,
-0.013943509198725224,
0.03328167274594307,
0.0047356970608234406,
0.06543872505426407,
-0.03549576550722122,
-0.04463328793644905,
0.02609465830028057,
-0.00424587307497859,
0.10051275789737701,
-0.0588315911591053,
0.04772598668932915,
-0.0013903971994295716,
0.0010263239964842796,
-0.04322751611471176,
-0.006356729194521904,
0.06508728116750717,
0.042946361005306244,
-0.01987411268055439,
0.03802615404129028,
-0.016500258818268776,
0.07780952751636505,
0.016834130510687828,
0.047936853021383286,
0.02504032850265503,
-0.05359508842229843,
-0.037674710154533386,
-0.036444660276174545,
-0.01031485851854086,
0.016342109069228172,
-0.009840410202741623,
0.03721783682703972,
0.023001957684755325,
0.03359797224402428,
-0.047936853021383286,
0.015771014615893364,
0.0026885406114161015,
0.025848647579550743,
-0.020067406818270683,
-0.01194028276950121,
0.07675519585609436,
0.05545773729681969,
-0.00979647971689701,
0.02540934458374977,
0.02178947813808918,
0.05651206895709038,
-0.034599583595991135,
0.04712853580713272,
-0.0019142671953886747,
0.07689577341079712,
0.10367574542760849,
0.004924598149955273,
-0.018011463806033134,
-0.015489859506487846,
-0.012212651781737804,
-0.02240450493991375,
-0.022316643968224525,
0.005486906971782446,
-0.018591346219182014,
0.009708618745207787,
0.03560119494795799,
-0.05134585127234459,
-0.003321138210594654,
-0.005276041105389595,
0.05549288168549538,
-0.09742005914449692,
-0.044281844049692154,
0.003762638894841075,
0.022597799077630043,
-0.07288932055234909,
0.0023041495587676764,
0.03280722349882126,
-0.01939966529607773,
0.03718269243836403,
0.02674482762813568,
0.011439476162195206,
-0.03006596677005291,
-0.02182462252676487,
0.06477098166942596,
-0.06297862529754639,
-0.04737454280257225,
0.007674640975892544,
0.0612214058637619,
-0.02388056553900242,
-0.024688884615898132,
0.01987411268055439,
0.02431987039744854,
0.016992278397083282,
0.018450768664479256,
0.009497752413153648,
0.033123522996902466,
-0.0323152020573616,
0.002576518105342984,
-0.06470069289207458,
-0.023968426510691643,
-0.05099440738558769,
0.009163881652057171,
0.10627642273902893,
-0.05732038617134094,
-0.024478020146489143,
0.02931036427617073,
-0.027553146705031395,
-0.009163881652057171,
0.003575934562832117,
-0.0598507784307003,
0.017027422785758972,
0.026727255433797836,
-0.009453821927309036,
-0.034494150429964066,
-0.005750489421188831,
0.05359508842229843,
-0.016834130510687828,
-0.01246744766831398,
-0.04375467821955681,
0.028502043336629868,
-0.057074375450611115,
0.02862504869699478,
0.00012499571312218904,
0.029503656551241875,
-0.01774788275361061,
-0.09770121425390244,
-0.008838796988129616,
-0.02869533747434616,
-0.005526444409042597,
-0.03198133036494255,
-0.016271820291876793,
-0.03222734108567238,
-0.03876418620347977,
0.025426916778087616,
-0.014374027028679848,
-0.026252808049321175,
-0.06536843627691269,
0.010191853158175945,
0.011755775660276413,
-0.01813446916639805,
0.014400385320186615,
-0.00591742480173707,
0.01651783101260662,
-0.025602636858820915,
-0.016342109069228172,
0.03676095977425575,
0.06962089985609055,
0.014611251652240753,
-0.0471988208591938,
-0.04737454280257225,
0.03472258895635605,
0.03115544095635414,
0.037885576486587524,
-0.0028005631174892187,
-0.033984556794166565,
-0.05001036822795868,
-0.002249236451461911,
0.05275162681937218,
0.022492365911602974,
-0.04726910963654518,
-0.036339227110147476,
0.003296976676210761,
0.014189519919455051,
-0.00025191338500007987,
0.006633490324020386,
0.06821512430906296,
-0.021982772275805473,
-0.07619288563728333,
0.016535403206944466,
-0.045511893928050995,
-0.02612980268895626,
-0.013890792615711689,
0.05521172657608986,
0.07717692852020264,
0.045617327094078064,
0.007955795153975487,
0.018046608194708824,
-0.01959295943379402,
-0.02092844247817993,
0.0037933900021016598,
0.07049950957298279,
0.01976867951452732,
-0.03581206128001213,
0.021367747336626053,
-0.005337543785572052,
0.015858875587582588,
-0.03393184021115303,
-0.018450768664479256,
0.03273693472146988,
0.05538744851946831,
0.01065751537680626,
0.022351788356900215,
-0.016140028834342957,
0.005697772838175297,
0.01687805913388729,
0.018802210688591003,
-0.0003412842925172299,
0.05457913130521774,
0.02475917339324951,
-0.05461427569389343,
0.01020942535251379,
-0.003242063568904996,
0.03971308097243309,
-0.02804516814649105,
-0.04386011138558388,
-0.03700697049498558,
0.07977760583162308,
-0.023546695709228516,
-0.03361554443836212,
0.039080485701560974,
0.0010587226133793592,
0.021666472777724266,
0.03479287773370743,
0.017334936186671257,
0.04108371213078499,
-0.028748054057359695,
0.05127556249499321,
0.03619864955544472,
-0.020770292729139328,
0.03112029656767845,
0.015278993174433708,
-0.006633490324020386,
0.049202047288417816,
-0.054473698139190674,
-0.011571267619729042,
-0.02182462252676487,
-0.004122868180274963,
0.016456328332424164,
0.013961081393063068,
-0.011729417368769646,
0.058339573442935944,
-0.007617531344294548,
0.021912483498454094,
-0.05457913130521774,
0.01469032559543848,
0.010130350477993488,
0.017080139368772507,
-0.007042043376713991,
-0.05549288168549538,
0.041821740567684174,
-0.02247479371726513,
-0.012239010073244572,
-0.025918936356902122,
0.046636514365673065,
-0.0055615887977182865,
-0.0027522395830601454,
-0.049202047288417816,
-0.015375640243291855,
0.007266088388860226,
0.0005230463575571775,
-0.02767615206539631,
0.008619144558906555,
-0.05261104926466942,
-0.028677765280008316,
0.00874654296785593,
0.005425404291599989,
-0.0021756531205028296,
0.008210591971874237,
0.015735870227217674,
-0.017150428146123886,
0.008772901259362698,
-0.060518521815538406,
-0.0471988208591938,
0.058339573442935944,
0.04252462834119797,
-0.005570374894887209,
-0.023985998705029488,
0.037955865263938904,
0.007999725639820099,
-0.03447657823562622,
-0.02562020905315876,
-0.058269284665584564,
-0.021385319530963898,
-0.03354525566101074,
-0.0072001926600933075,
-0.04013481363654137,
-0.05257590487599373,
-0.022123349830508232,
-0.003988880198448896,
-0.059358756989240646,
-0.004133850801736116,
-0.023388545960187912,
0.014303738251328468,
0.06768795847892761,
-0.01802903600037098,
-0.05795298516750336,
0.028431754559278488,
-0.0018516663694754243,
-0.002884030807763338,
0.0448090098798275,
-0.027113843709230423,
0.06238117069005966,
0.05225960537791252,
-0.05387624353170395,
-0.03669067099690437,
0.01337241381406784,
0.02862504869699478,
-0.045195598155260086,
0.014171947725117207,
-0.02219363860785961,
0.005768061615526676,
-0.04983464628458023,
0.030698563903570175,
0.04083770141005516,
-0.006282047368586063,
0.010218211449682713,
0.045195598155260086,
-0.02572564221918583,
-0.0323152020573616,
0.05851529538631439,
0.050361812114715576,
0.02265051379799843,
-0.06027251109480858,
-0.008105158805847168,
-0.05932361260056496,
-0.0036066859029233456,
0.05240018293261528,
0.044316988438367844,
-0.046636514365673065,
0.031243301928043365,
-0.09158609807491302,
-0.013996225781738758,
0.009427463635802269,
0.02236936055123806,
0.02070000395178795,
-0.014435529708862305,
0.017001064494252205,
0.032157052308321,
0.01089473906904459,
0.012318084016442299,
0.04357895627617836,
-0.03024168871343136,
0.031419023871421814,
0.0076482826843857765,
0.033808834850788116,
0.010508151724934578,
-0.0072836605831980705,
0.05159186199307442,
-0.06557930260896683,
-0.010877166874706745,
0.006703779101371765,
-0.00209218543022871,
0.04572276026010513,
0.026533961296081543,
0.008794866502285004,
0.030505269765853882,
-0.06796911358833313,
0.010692659765481949,
-0.04772598668932915,
0.018925216048955917,
0.00655002286657691,
-0.04505502060055733,
-0.06550901383161545,
0.02620009146630764,
0.018415624275803566,
0.049166902899742126,
-0.02572564221918583,
-0.01647390052676201,
-0.00021580808970611542,
-0.01371507067233324,
-0.05134585127234459,
0.003059752518311143,
-0.01411044504493475,
-0.012493805959820747,
0.010534510016441345,
0.008685040287673473,
-0.006673027761280537,
-0.016500258818268776,
-0.02113930881023407,
0.06860171258449554,
-0.0235994104295969,
-0.016921989619731903,
0.0046654087491333485,
0.03598778322339058,
0.022791091352701187,
-0.017484299838542938,
-0.05594975873827934,
-0.03143659606575966,
-0.0038175517693161964,
-0.05162700638175011,
-0.03837759792804718,
-0.020225556567311287,
-0.03126087412238121,
-0.046777091920375824,
0.01183484960347414,
0.001804441213607788,
0.018292618915438652,
-0.012941895984113216,
0.03335196152329445,
-0.012704672291874886,
0.05236503854393959,
0.05602004751563072,
0.03760442137718201,
-0.04066197946667671,
0.04835858568549156,
-0.09559255093336105,
0.023001957684755325,
-0.050572678446769714,
0.05113498494029045,
-0.046706803143024445,
0.004078937694430351,
0.018696779385209084,
-0.008610358461737633,
-0.0033562825992703438,
-0.02511061728000641,
-0.001223461702466011,
0.02431987039744854,
-0.004502865951508284,
0.030505269765853882,
-0.026867832988500595,
0.03475773334503174,
-0.0005395202315412462,
0.006932217162102461,
0.0012706868583336473,
0.004538010340183973,
-0.05932361260056496,
0.043086938560009,
0.01857377402484417,
-0.0376395657658577,
-0.07204585522413254,
0.019206371158361435,
-0.012581666931509972,
-0.0632597804069519,
0.01962810382246971,
0.02370484359562397,
-0.0437898226082325,
-0.03756927698850632,
-0.03623379394412041,
-0.018521057441830635,
-0.036339227110147476,
-0.02507547289133072,
0.022176066413521767,
-0.057144664227962494,
-0.014936336316168308,
-0.04895604029297829,
-0.010639943182468414,
0.05299763381481171,
0.002923568245023489,
0.019680820405483246,
-0.02992538921535015,
-0.03351011127233505,
0.03918591886758804,
-0.0001643271534703672,
-0.031717751175165176,
0.005280434153974056,
0.03848303109407425,
0.015191132202744484,
-0.018380479887127876,
0.0340372733771801,
-0.0024754779879003763,
-0.010121564380824566,
0.010525723919272423,
0.0028422968462109566,
0.028572332113981247,
-0.06009678915143013,
-0.013161548413336277,
-0.007187013514339924,
0.04371953383088112,
0.037744998931884766,
-0.0035561658442020416,
0.007577993907034397,
0.04129457846283913,
0.008359955623745918,
0.0444575659930706,
-0.04871002957224846,
0.08729849010705948,
-0.013627210631966591,
-0.04744483157992363,
0.015155987814068794,
0.015621650964021683,
0.09587370604276657,
-0.020172839984297752,
-0.016965920105576515,
0.0289062038064003,
0.03844788670539856,
0.04076741263270378,
0.03700697049498558,
0.01579737290740013,
0.015911590307950974,
0.013433916494250298,
0.001209184294566512,
-0.006018464919179678,
-0.00752527778968215,
-0.016588119789958,
-0.010051275603473186,
-0.0369366817176342,
-0.033158667385578156,
-0.04396554455161095,
0.015691939741373062,
-0.013284552842378616,
-0.009743763133883476,
0.04066197946667671,
-0.012933109886944294,
0.004300786182284355,
0.046777091920375824,
0.02384542115032673,
-0.015305351465940475,
-0.037885576486587524,
-0.04129457846283913,
-0.07563057541847229,
-0.06111597269773483,
-0.015586506575345993,
0.016614478081464767,
-0.005412225145846605,
0.028449326753616333,
-0.004395236726850271,
0.04094313457608223,
-0.025303911417722702,
0.02421443723142147,
0.006418231409043074,
-0.0038285343907773495,
-0.005495693068951368,
-0.06758252531290054,
0.011342829093337059,
0.020471567288041115,
0.0023436869960278273,
-0.06810969114303589,
0.006088753696531057,
-0.02062971703708172,
-0.0588315911591053,
0.029134642332792282,
-0.08814195543527603,
0.06062395125627518,
-0.05109984055161476,
0.026867832988500595,
-0.0406971238553524,
0.055598314851522446,
-0.05486028268933296,
-0.016895631328225136,
0.03287751227617264,
-0.0032113122288137674,
-0.0022107975091785192,
-0.03024168871343136,
0.01939966529607773,
-0.014927550218999386,
-0.0312960185110569,
-0.004682980943471193,
-0.037955865263938904,
0.0023832242004573345,
0.007156262174248695,
0.018521057441830635,
0.020155267789959908,
0.09067234396934509,
0.016526617109775543,
-0.02866019308567047,
-0.025303911417722702,
-0.006356729194521904,
-0.08708762377500534,
-0.07056979835033417,
-0.056758079677820206,
-0.03082156926393509,
-0.058339573442935944,
-0.02692054957151413,
-0.03669067099690437,
0.06912887841463089,
0.0499400794506073,
0.009076020680367947,
-0.015999451279640198,
-0.020032262429594994,
0.050361812114715576,
0.023792704567313194,
0.038904763758182526,
0.015401998534798622,
-0.005289220251142979,
0.03530247136950493,
0.0053067924454808235,
-0.011211038567125797,
0.09770121425390244,
0.03732326999306679,
-0.03013625554740429,
-0.01058722659945488,
0.003778014564886689,
-0.013460274785757065,
-0.03488073870539665,
0.020260700955986977,
-0.08814195543527603,
0.03855331987142563,
-0.07858270406723022,
0.0073715210892260075,
0.05074840039014816,
0.029064353555440903,
0.032719362527132034,
0.015454715117812157,
0.0014266397338360548,
0.023283112794160843,
0.008759722113609314,
-0.028537187725305557,
-0.02189491130411625,
0.05345451086759567,
-0.0345468670129776,
0.012309297919273376,
-0.034634727984666824,
-0.015560148283839226,
0.003105879295617342,
0.010183067061007023,
0.005565981846302748,
-0.0023766346275806427,
0.021033875644207,
0.04386011138558388,
-0.05770697444677353,
-0.06252174824476242,
0.014558535069227219,
-0.010947455652058125,
0.033158667385578156,
-0.031348735094070435,
0.004595119971781969,
0.019575387239456177,
0.03855331987142563,
-0.012933109886944294,
-0.02157861366868019,
0.0362689383327961,
0.032613929361104965,
-0.013126404024660587,
-0.0098316241055727,
0.03468744456768036,
0.012485019862651825,
0.029117070138454437,
0.042770639061927795,
0.01737886667251587,
0.05264619365334511,
-0.027447713539004326,
-0.010350001975893974,
0.00043051791726611555,
-0.015252634882926941,
-0.050396956503391266,
0.09116436541080475,
0.08575214445590973,
0.014743042178452015,
0.06146741658449173,
0.07816097140312195,
-0.023476406931877136,
-0.023177679628133774,
-0.027922162786126137,
-0.015155987814068794,
0.09742005914449692,
0.03263150155544281,
-0.04115400090813637,
0.023283112794160843,
-0.014936336316168308,
-0.014997838996350765,
0.021033875644207,
0.011773347854614258,
0.0177830271422863,
-0.007064008619636297,
-0.04986979067325592,
0.015709511935710907,
0.02966180630028248,
-0.08301088213920593,
-0.04603905975818634,
0.02623523585498333,
0.008043656125664711,
0.007011292036622763,
-0.039080485701560974,
0.017703952267766,
-0.006655455566942692,
0.02579593099653721,
0.05275162681937218,
0.027693724259734154,
-0.0323152020573616,
0.010578440502285957,
-0.023757560178637505,
0.038904763758182526,
-0.02124474197626114,
-0.045195598155260086,
-0.046495936810970306,
0.0458281934261322,
0.07039407640695572,
-0.045511893928050995,
0.046706803143024445,
0.054333120584487915,
-0.02540934458374977
] |
10,287 | fractions | __deepcopy__ | null | def __deepcopy__(self, memo):
if type(self) == Fraction:
return self # My components are also immutable
return self.__class__(self._numerator, self._denominator)
| (self, memo) | [
-0.0196221973747015,
-0.05355297029018402,
0.04278680682182312,
0.045113686472177505,
-0.09189439564943314,
0.02745371125638485,
-0.0006023406749591231,
-0.03427806869149208,
-0.014343304559588432,
0.014239116571843624,
0.028009383007884026,
0.02856505662202835,
-0.007940043695271015,
0.03709116205573082,
-0.017564469948410988,
0.006260001566261053,
0.009923969395458698,
0.008769211359322071,
-0.004788336809724569,
0.025040006265044212,
-0.002965035382658243,
0.006958934012800455,
0.041119787842035294,
0.05928334593772888,
-0.046190302819013596,
0.006099377758800983,
0.04504422843456268,
0.00741041824221611,
-0.030075792223215103,
0.008018185384571552,
-0.010175758972764015,
0.02252211421728134,
0.0024831630289554596,
0.058623481541872025,
0.010097617283463478,
-0.0492117740213871,
-0.018406663089990616,
0.0880046859383583,
-0.10446649044752121,
0.011755953542888165,
-0.010913761332631111,
-0.022365830838680267,
-0.01373553741723299,
-0.017017479985952377,
0.019813209772109985,
-0.02283468097448349,
0.017772847786545753,
0.007445147726684809,
0.0017864012625068426,
-0.08751846849918365,
-0.00906441267579794,
0.03318408504128456,
-0.047648943960666656,
0.013839726336300373,
0.011417340487241745,
0.06508318334817886,
0.08057256042957306,
0.039765335619449615,
-0.020177869126200676,
0.05706065520644188,
-0.07591880112886429,
-0.043689776211977005,
0.03307989984750748,
-0.07293205708265305,
-0.039244394749403,
-0.04910758510231972,
-0.059977937489748,
-0.015932181850075722,
0.02285204455256462,
0.0015443797456100583,
-0.02354663610458374,
0.0026676636189222336,
0.03254159167408943,
0.02281731553375721,
0.008669364266097546,
-0.02066408284008503,
0.06136711686849594,
-0.006294731050729752,
0.03934858366847038,
-0.03318408504128456,
-0.05897077918052673,
-0.015194178558886051,
-0.04886448010802269,
0.022001171484589577,
-0.04136289656162262,
-0.020733542740345,
-0.01054041925817728,
-0.047301650047302246,
0.01105268020182848,
0.020750906318426132,
-0.04247424006462097,
-0.003546755528077483,
-0.026238176971673965,
-0.010028158314526081,
0.017495011910796165,
0.023303529247641563,
-0.039452772587537766,
0.00015709696162957698,
-0.031135043129324913,
0.01998685672879219,
-0.01407415047287941,
0.02455379255115986,
-0.08293417096138,
0.0076839132234454155,
0.021844888105988503,
-0.03240267187356949,
0.041154518723487854,
-0.038758181035518646,
-0.027609992772340775,
0.020542530342936516,
-0.024814264848828316,
0.074043408036232,
-0.07168179750442505,
0.049697987735271454,
0.006377214100211859,
0.022661032155156136,
-0.04928123578429222,
-0.034069690853357315,
0.05039257928729057,
0.020455706864595413,
-0.01375290285795927,
0.029485389590263367,
-0.03386131301522255,
0.06720168143510818,
0.015906134620308876,
0.05355297029018402,
0.04990636557340622,
-0.015289684757590294,
-0.04667651653289795,
-0.024779535830020905,
-0.02170597016811371,
0.014230433851480484,
0.0038962215185165405,
0.034764282405376434,
0.03492056578397751,
0.02422386221587658,
-0.03129132464528084,
-0.020577259361743927,
-0.028999175876379013,
0.020073680207133293,
-0.01712166890501976,
0.0011254545534029603,
0.04914231598377228,
0.0557061992585659,
0.011990377679467201,
0.003874515648931265,
0.010497006587684155,
0.058623481541872025,
-0.056192412972450256,
0.04966326057910919,
-0.0161752887070179,
0.05893604829907417,
0.09119980037212372,
0.016982750967144966,
-0.023616096004843712,
0.029884779825806618,
-0.01233767345547676,
-0.005673940293490887,
-0.03339246287941933,
-0.003368766512721777,
-0.020837731659412384,
0.01232899073511362,
0.036952242255210876,
-0.03200328350067139,
-0.0010315761901438236,
0.012528685852885246,
0.06383291631937027,
-0.11849723011255264,
-0.04997582361102104,
0.02174069918692112,
-0.009229378774762154,
-0.06678492575883865,
0.022209547460079193,
0.02457115799188614,
-0.014030738733708858,
0.03643130138516426,
0.012528685852885246,
-0.014056785963475704,
-0.026151351630687714,
-0.007301888428628445,
0.017017479985952377,
-0.04705854132771492,
-0.035458873957395554,
-0.0014369351556524634,
0.04612084478139877,
-0.02250474877655506,
-0.006828698329627514,
0.001409802702255547,
0.029884779825806618,
0.016305524855852127,
-0.01930963061749935,
0.020750906318426132,
0.037994131445884705,
-0.045495711266994476,
0.01160835288465023,
-0.06480534374713898,
0.0020707494113594294,
-0.00808764435350895,
0.02062935382127762,
0.1091897115111351,
-0.06824357062578201,
-0.01752105914056301,
0.02460588701069355,
-0.040494658052921295,
0.001713686273433268,
0.011504163965582848,
-0.06063779816031456,
0.019726386293768883,
0.036535490304231644,
0.007527630310505629,
-0.02674175426363945,
0.0012046813499182463,
0.050496768206357956,
0.005834564566612244,
-0.004783995915204287,
-0.05324040353298187,
0.03144760802388191,
-0.0412934385240078,
0.03144760802388191,
0.0035337319131940603,
0.0199347622692585,
-0.028044113889336586,
-0.09092196822166443,
0.002129355678334832,
-0.024067578837275505,
-0.007779419422149658,
-0.04035573825240135,
-0.007675230968743563,
-0.01856294460594654,
-0.04320356249809265,
-0.009837145917117596,
-0.03841088339686394,
-0.005482927896082401,
-0.025422031059861183,
0.047996241599321365,
0.024380145594477654,
-0.03927912190556526,
-0.008678046986460686,
-0.00444972375407815,
0.03712588921189308,
-0.027245333418250084,
-0.01730399951338768,
0.047544755041599274,
0.07494637370109558,
0.01622738316655159,
-0.034434352070093155,
-0.010523053817451,
0.03775102272629738,
0.022296372801065445,
0.051156628876924515,
-0.005487269256263971,
-0.013153817504644394,
-0.039800066500902176,
-0.01659204252064228,
0.05841510742902756,
-0.019847938790917397,
-0.041501812636852264,
-0.021896982565522194,
0.022938868030905724,
-0.009689545258879662,
0.015393873676657677,
-0.012945440597832203,
0.08272579312324524,
-0.014760059304535389,
-0.07591880112886429,
0.0026806872338056564,
-0.029381200671195984,
-0.011460752226412296,
-0.03064882941544056,
0.06390237808227539,
0.051503926515579224,
0.03210747241973877,
0.031899094581604004,
0.033288273960351944,
-0.029068633913993835,
-0.027262698858976364,
0.025161560624837875,
0.056852277368307114,
-0.009055730886757374,
-0.021480226889252663,
0.0062513193115592,
-0.02283468097448349,
0.020785637199878693,
-0.040147360414266586,
-0.03670913726091385,
0.02703695558011532,
0.06987585872411728,
0.005699987523257732,
0.018840782344341278,
-0.0008975418750196695,
0.01819828525185585,
0.017442917451262474,
0.02887762151658535,
0.01955273747444153,
0.03446907922625542,
0.01142602227628231,
-0.0506356880068779,
0.019726386293768883,
-0.01481215376406908,
0.03990425541996956,
-0.037230078130960464,
-0.041154518723487854,
-0.03530259057879448,
0.04358558729290962,
-0.0038159096147865057,
-0.035510968416929245,
0.026516012847423553,
-0.004957643337547779,
0.055879849940538406,
0.05098298192024231,
0.031586527824401855,
0.06411075592041016,
-0.008265633136034012,
0.0721680074930191,
0.021254485473036766,
-0.04254370182752609,
0.02316461130976677,
-0.006581250112503767,
0.02102874405682087,
0.054386477917432785,
-0.039800066500902176,
-0.007835854776203632,
-0.06088090315461159,
-0.0036097026895731688,
-0.0199347622692585,
-0.0033079897984862328,
0.0013880967162549496,
0.060151584446430206,
0.011790682561695576,
-0.001041886513121426,
-0.05278891697525978,
0.009238060563802719,
0.014317257329821587,
0.022574208676815033,
-0.026272905990481377,
-0.050774604082107544,
0.049072857946157455,
-0.05018420144915581,
-0.01211193110793829,
-0.029676401987671852,
0.07605771720409393,
-0.010436230339109898,
-0.022261641919612885,
-0.05386553332209587,
0.01160835288465023,
0.010019475594162941,
0.032958343625068665,
-0.00731925293803215,
0.012216120027005672,
-0.0014087174786254764,
-0.032211657613515854,
-0.006034259684383869,
0.004373752977699041,
-0.006650709081441164,
0.024536428973078728,
0.03033626265823841,
-0.021619146689772606,
-0.021567052230238914,
-0.06560412049293518,
-0.06056834012269974,
0.05025366321206093,
0.021862253546714783,
-0.0023550977930426598,
-0.005209432914853096,
0.060047395527362823,
0.0022791267838329077,
-0.037230078130960464,
-0.03207274153828621,
-0.008226562291383743,
-0.047648943960666656,
-0.027887830510735512,
-0.0027718523051589727,
-0.03184700012207031,
-0.04893393814563751,
-0.024102309718728065,
0.015932181850075722,
-0.05872767046093941,
0.02495318278670311,
-0.031951189041137695,
0.021046107634902,
0.06289521604776382,
-0.023720283061265945,
-0.04674597829580307,
0.016670184209942818,
-0.001128710457123816,
0.011452069506049156,
0.059769559651613235,
-0.01741687022149563,
0.084184430539608,
0.04872556030750275,
-0.03632711246609688,
-0.018736593425273895,
0.015055260621011257,
0.019813209772109985,
-0.026133988052606583,
-0.005930070765316486,
0.024397511035203934,
-0.0077533726580441,
-0.06414548307657242,
0.008534787222743034,
0.04528733715415001,
-0.03611873462796211,
0.02821776084601879,
0.04160600155591965,
-0.03502475470304489,
-0.022608937695622444,
0.02493581734597683,
0.042196404188871384,
0.01053173653781414,
-0.03563252091407776,
0.010114981792867184,
-0.06379818916320801,
0.0199347622692585,
0.035806167870759964,
0.046850163489580154,
-0.05897077918052673,
0.0335487462580204,
-0.1091897115111351,
-0.012641556560993195,
0.02250474877655506,
0.0485866442322731,
0.01391786802560091,
-0.01713903434574604,
0.00675923889502883,
0.011356563307344913,
0.008374162949621677,
-0.013631349429488182,
0.030214710161089897,
-0.037681564688682556,
0.021532321348786354,
0.002832629019394517,
0.02493581734597683,
0.01336219534277916,
-0.030805112794041634,
0.023685554042458534,
-0.0691465362906456,
-0.03250686079263687,
0.0008584710885770619,
-0.01582799293100834,
0.04250897094607353,
0.03290624916553497,
0.016140559688210487,
0.03743845596909523,
-0.046190302819013596,
0.035510968416929245,
-0.014056785963475704,
0.039418041706085205,
0.009255426004529,
-0.07897499948740005,
-0.03677859529852867,
0.018684498965740204,
0.024050215259194374,
0.030753018334507942,
-0.03398286551237106,
-0.004701512865722179,
-0.01125237438827753,
-0.026828579604625702,
-0.06088090315461159,
0.018424026668071747,
0.010653289966285229,
0.007979114539921284,
0.013275370933115482,
0.03000633232295513,
0.018806051462888718,
-0.03144760802388191,
-0.04382869601249695,
0.0762660950422287,
-0.011842777021229267,
-0.0007721898728050292,
-0.008951541967689991,
0.03757737576961517,
-0.0017321363557130098,
-0.005574093200266361,
-0.06390237808227539,
-0.04098087176680565,
-0.013631349429488182,
-0.029103364795446396,
-0.0341738797724247,
-0.006824356969445944,
-0.040911413729190826,
-0.04931596294045448,
0.0031169771682471037,
0.023268800228834152,
0.0005855185445398092,
-0.019830573350191116,
0.04056411609053612,
-0.014030738733708858,
0.031551796942949295,
0.04782259091734886,
0.03823723644018173,
-0.07960013300180435,
0.03896655887365341,
-0.0778636559844017,
0.04733637720346451,
-0.025960339233279228,
0.052580542862415314,
-0.03712588921189308,
0.007961750030517578,
0.02250474877655506,
-0.028964446857571602,
-0.016166606917977333,
-0.008934177458286285,
0.02026469260454178,
0.025804057717323303,
-0.016088465228676796,
0.018510852009058,
-0.02031678706407547,
0.03750791773200035,
0.0006012553931213915,
-0.00218579126521945,
0.004844772629439831,
-0.00016781427257228643,
-0.03966114670038223,
0.057928893715143204,
-0.000607767142355442,
-0.03356611356139183,
-0.06581249833106995,
-0.012693651020526886,
-0.017277952283620834,
-0.08210065960884094,
0.031968552619218826,
0.023425081744790077,
-0.009168601594865322,
-0.060846175998449326,
-0.010219170711934566,
-0.011564941145479679,
-0.0427173487842083,
-0.031117677688598633,
0.023234069347381592,
-0.051156628876924515,
-0.010514372028410435,
-0.04771840572357178,
0.0015801945701241493,
0.06480534374713898,
-0.00033101605367846787,
-0.016201335936784744,
-0.007701278198510408,
-0.046537600457668304,
0.007015369366854429,
-0.0030062769073992968,
-0.02137603983283043,
-0.014690600335597992,
0.03854980319738388,
-0.022018535062670708,
-0.015168131329119205,
0.07682176679372787,
0.026238176971673965,
-0.009107825346291065,
-0.0281656663864851,
-0.013709490187466145,
0.020559893921017647,
-0.03959168866276741,
-0.029797954484820366,
-0.01818091981112957,
0.027905194088816643,
0.03681332617998123,
-0.0015671710716560483,
-0.01706957444548607,
0.06358981132507324,
-0.0022769563365727663,
0.04177965223789215,
-0.029884779825806618,
0.06945910304784775,
-0.011504163965582848,
-0.051191359758377075,
-0.0074711949564516544,
0.009255426004529,
0.08522631973028183,
-0.018059367313981056,
-0.0016398860607296228,
0.040077902376651764,
0.031899094581604004,
0.03493792936205864,
0.03556305915117264,
0.03854980319738388,
0.024710075929760933,
0.010974538512527943,
-0.018962334841489792,
0.0072194053791463375,
-0.03375712409615517,
-0.007171652279794216,
-0.006034259684383869,
-0.03424333781003952,
-0.02703695558011532,
-0.0185976754873991,
0.028408773243427277,
-0.0386192612349987,
0.0012622021604329348,
0.041154518723487854,
-0.03460799902677536,
-0.006984981242567301,
0.0711955800652504,
0.005999530199915171,
-0.03601454570889473,
-0.04910758510231972,
-0.008599905297160149,
-0.09404762834310532,
-0.03629238158464432,
-0.0033600840251892805,
0.016053736209869385,
-0.025456761941313744,
0.020924555137753487,
-0.01672227866947651,
0.03743845596909523,
-0.022678397595882416,
0.010566466487944126,
-0.0066854385659098625,
0.014681917615234852,
-0.0036986973136663437,
-0.026463918387889862,
0.015550157055258751,
0.025942975655198097,
0.03969587758183479,
-0.05171230435371399,
-0.017147716134786606,
-0.029780590906739235,
-0.05660916864871979,
-0.0037724976427853107,
-0.07855824381113052,
0.06744478642940521,
-0.0711955800652504,
0.04639868065714836,
-0.017312681302428246,
0.04955907166004181,
-0.08960224688053131,
-0.011399975046515465,
0.022990962490439415,
-0.005422151181846857,
-0.005378739442676306,
-0.022226912900805473,
-0.010114981792867184,
0.01746896468102932,
-0.016861196607351303,
0.02068144828081131,
-0.022209547460079193,
-0.0044714296236634254,
0.04174492135643959,
0.015419920906424522,
0.013153817504644394,
0.05212905630469322,
-0.01087034959346056,
-0.042578428983688354,
-0.018458757549524307,
-0.011634400114417076,
-0.09571464359760284,
-0.06171441450715065,
-0.009272790513932705,
-0.02245265431702137,
-0.03636183962225914,
-0.02141076885163784,
-0.041536543518304825,
0.03556305915117264,
0.03285415470600128,
0.016401030123233795,
0.028061477467417717,
-0.0022595913615077734,
0.0670974925160408,
0.0249184537678957,
0.04570408910512924,
0.010114981792867184,
-0.0067071449011564255,
0.008391528390347958,
0.000015609644833602943,
-0.01858031004667282,
0.07508528977632523,
0.03525049611926079,
-0.02462325245141983,
-0.018406663089990616,
-0.0025395983830094337,
-0.00407421076670289,
-0.04254370182752609,
0.012589462101459503,
-0.06254792213439941,
0.013726855628192425,
-0.0647011548280716,
-0.0010787866776809096,
0.02316461130976677,
0.054733771830797195,
0.01251132134348154,
0.030544640496373177,
0.021601781249046326,
0.028044113889336586,
-0.00792267918586731,
0.01706957444548607,
-0.023077787831425667,
0.08008634299039841,
-0.013049629516899586,
0.024883724749088287,
-0.03882763907313347,
-0.02708905003964901,
0.002153232228010893,
0.003379619447514415,
0.0327499657869339,
0.00370303844101727,
0.00402862811461091,
0.045391522347927094,
-0.07834986597299576,
-0.046225033700466156,
0.039765335619449615,
-0.01629684306681156,
0.03429543226957321,
-0.022713126614689827,
0.0060820127837359905,
0.03104821965098381,
0.04237005487084389,
-0.012537368573248386,
-0.010644607245922089,
0.01212061382830143,
0.016678867861628532,
-0.002485333476215601,
0.0012893346138298512,
0.04775313287973404,
0.02668965980410576,
0.01549806259572506,
0.03179490566253662,
0.003064882941544056,
0.05278891697525978,
-0.027887830510735512,
0.005157338455319405,
-0.0016974068712443113,
-0.0021803646814078093,
-0.054803233593702316,
0.09342249482870102,
0.07647447288036346,
-0.00032124834251590073,
0.05737321823835373,
0.05358769744634628,
-0.022296372801065445,
-0.0054047866724431515,
-0.03747318685054779,
-0.0037377679254859686,
0.06987585872411728,
0.027349522337317467,
-0.02288677543401718,
0.015906134620308876,
-0.021098202094435692,
0.009715592488646507,
0.031864363700151443,
-0.006055965553969145,
0.037264809012413025,
-0.029051270335912704,
-0.02741898037493229,
0.0037225738633424044,
0.07557150721549988,
-0.06320778280496597,
-0.024119673296809196,
0.030891936272382736,
0.033652935177087784,
-0.003863662714138627,
-0.081336610019207,
0.027314793318510056,
-0.008226562291383743,
0.021514957770705223,
0.0534835085272789,
0.04379396513104439,
-0.030440451577305794,
0.002938988385722041,
-0.04782259091734886,
0.022904139012098312,
-0.04077249392867088,
-0.01334482990205288,
-0.0557061992585659,
0.024883724749088287,
0.06400656700134277,
-0.05966537073254585,
0.038376156240701675,
0.050774604082107544,
-0.02814830094575882
] |
10,288 | fractions | __divmod__ | (a // b, a % b) | def _operator_fallbacks(monomorphic_operator, fallback_operator):
"""Generates forward and reverse operators given a purely-rational
operator and a function from the operator module.
Use this like:
__op__, __rop__ = _operator_fallbacks(just_rational_op, operator.op)
In general, we want to implement the arithmetic operations so
that mixed-mode operations either call an implementation whose
author knew about the types of both arguments, or convert both
to the nearest built in type and do the operation there. In
Fraction, that means that we define __add__ and __radd__ as:
def __add__(self, other):
# Both types have numerators/denominator attributes,
# so do the operation directly
if isinstance(other, (int, Fraction)):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
# float and complex don't have those operations, but we
# know about those types, so special case them.
elif isinstance(other, float):
return float(self) + other
elif isinstance(other, complex):
return complex(self) + other
# Let the other type take over.
return NotImplemented
def __radd__(self, other):
# radd handles more types than add because there's
# nothing left to fall back to.
if isinstance(other, numbers.Rational):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
elif isinstance(other, Real):
return float(other) + float(self)
elif isinstance(other, Complex):
return complex(other) + complex(self)
return NotImplemented
There are 5 different cases for a mixed-type addition on
Fraction. I'll refer to all of the above code that doesn't
refer to Fraction, float, or complex as "boilerplate". 'r'
will be an instance of Fraction, which is a subtype of
Rational (r : Fraction <: Rational), and b : B <:
Complex. The first three involve 'r + b':
1. If B <: Fraction, int, float, or complex, we handle
that specially, and all is well.
2. If Fraction falls back to the boilerplate code, and it
were to return a value from __add__, we'd miss the
possibility that B defines a more intelligent __radd__,
so the boilerplate should return NotImplemented from
__add__. In particular, we don't handle Rational
here, even though we could get an exact answer, in case
the other type wants to do something special.
3. If B <: Fraction, Python tries B.__radd__ before
Fraction.__add__. This is ok, because it was
implemented with knowledge of Fraction, so it can
handle those instances before delegating to Real or
Complex.
The next two situations describe 'b + r'. We assume that b
didn't know about Fraction in its implementation, and that it
uses similar boilerplate code:
4. If B <: Rational, then __radd_ converts both to the
builtin rational type (hey look, that's us) and
proceeds.
5. Otherwise, __radd__ tries to find the nearest common
base ABC, and fall back to its builtin type. Since this
class doesn't subclass a concrete type, there's no
implementation to fall back to, so we need to try as
hard as possible to return an actual value, or the user
will get a TypeError.
"""
def forward(a, b):
if isinstance(b, (int, Fraction)):
return monomorphic_operator(a, b)
elif isinstance(b, float):
return fallback_operator(float(a), b)
elif isinstance(b, complex):
return fallback_operator(complex(a), b)
else:
return NotImplemented
forward.__name__ = '__' + fallback_operator.__name__ + '__'
forward.__doc__ = monomorphic_operator.__doc__
def reverse(b, a):
if isinstance(a, numbers.Rational):
# Includes ints.
return monomorphic_operator(a, b)
elif isinstance(a, numbers.Real):
return fallback_operator(float(a), float(b))
elif isinstance(a, numbers.Complex):
return fallback_operator(complex(a), complex(b))
else:
return NotImplemented
reverse.__name__ = '__r' + fallback_operator.__name__ + '__'
reverse.__doc__ = monomorphic_operator.__doc__
return forward, reverse
| (a, b) | [
-0.03859762102365494,
-0.06188410148024559,
-0.0011350512504577637,
0.05616593360900879,
0.011097756214439869,
-0.012847064062952995,
-0.03622759133577347,
-0.023474575951695442,
-0.027104860171675682,
-0.014840898104012012,
0.07467473298311234,
0.012546108104288578,
0.0520654059946537,
0.032634928822517395,
-0.020145248621702194,
0.05274255946278572,
0.01366528868675232,
0.004356809891760349,
0.0027227122336626053,
-0.001199709833599627,
-0.005990907549858093,
0.009404878132045269,
0.041005268692970276,
0.07241756469011307,
-0.005393697880208492,
0.05594021826982498,
-0.00014526129234582186,
-0.021762888878583908,
-0.06286220997571945,
0.012658966705203056,
0.003769004950299859,
-0.01904487796127796,
-0.001985604874789715,
-0.02815820649266243,
0.007105385418981314,
-0.016787707805633545,
-0.019336430355906487,
0.07700714468955994,
-0.15649718046188354,
-0.005835726857185364,
-0.007185326889157295,
-0.030076801776885986,
0.02181931771337986,
-0.04299910366535187,
-0.027593912556767464,
-0.029587747529149055,
-0.01110716164112091,
-0.030415376648306847,
0.027067240327596664,
-0.015555668622255325,
0.02665342576801777,
-0.05575212091207504,
0.0197878647595644,
0.0203145369887352,
-0.043525777757167816,
0.029136313125491142,
-0.01954333670437336,
0.013505405746400356,
-0.07501330971717834,
0.002062019659206271,
-0.009724644012749195,
-0.0004338000144343823,
-0.05293065682053566,
0.0005140354041941464,
0.004342702683061361,
0.007641463540494442,
-0.040365736931562424,
-0.05112491920590401,
-0.02230837196111679,
0.0036702537909150124,
-0.062486011534929276,
0.0042321952059865,
0.03284183517098427,
-0.028553210198879242,
-0.020164059475064278,
-0.006592819932848215,
0.032634928822517395,
0.0047917854972183704,
0.036754265427589417,
-0.008610166609287262,
-0.02631484903395176,
-0.003371648956090212,
-0.007994147017598152,
-0.013270283117890358,
-0.0008922878187149763,
-0.06707559525966644,
0.001975024351850152,
0.008487902581691742,
-0.00895344465970993,
-0.051350634545087814,
-0.06007836386561394,
-0.06955847889184952,
0.03342493623495102,
0.009221483021974564,
0.024509113281965256,
0.022458849474787712,
-0.005459532141685486,
0.008962849155068398,
0.014361249282956123,
-0.0430743433535099,
-0.03293588384985924,
0.06647367775440216,
-0.02917393296957016,
-0.02849678136408329,
0.05180206894874573,
0.0015906000044196844,
0.02003239095211029,
-0.014643395319581032,
-0.04920632392168045,
0.0009681146475486457,
-0.04668581485748291,
-0.023436956107616425,
-0.03114895708858967,
0.0011362269287928939,
-0.008149326778948307,
0.005379590671509504,
-0.051501113921403885,
0.0008358585764653981,
0.060793135315179825,
0.012734205462038517,
-0.04950727894902229,
0.006301268469542265,
-0.019618576392531395,
0.0030542341992259026,
0.043563395738601685,
-0.004298029467463493,
0.10571083426475525,
0.022872664034366608,
-0.06722606718540192,
0.042209092527627945,
0.012489678338170052,
0.024565542116761208,
-0.017116878181695938,
0.03564449027180672,
-0.02622080035507679,
0.07885050028562546,
-0.03028370812535286,
0.01855582557618618,
-0.008186946623027325,
0.0110037075355649,
-0.004015882965177298,
-0.051651593297719955,
-0.0056241173297166824,
0.06278696656227112,
-0.0476263053715229,
0.031280625611543655,
0.034948527812957764,
0.011925386264920235,
0.014361249282956123,
0.02336171828210354,
-0.006653951480984688,
0.04044097661972046,
0.03605830296874046,
-0.027255337685346603,
0.046572957187891006,
-0.01514185406267643,
0.06703796982765198,
0.026691045612096786,
-0.059438832104206085,
-0.014596370980143547,
0.0039006732404232025,
-0.012423844076693058,
-0.01772819645702839,
-0.04156956076622009,
0.03523067384958267,
-0.014286010526120663,
0.006470556370913982,
-0.08712679147720337,
0.020765971392393112,
0.04747582599520683,
0.02704842947423458,
-0.04326244071125984,
0.0428486242890358,
-0.01521709281951189,
-0.012743609957396984,
-0.005163278430700302,
0.0019303512526676059,
0.00943309348076582,
-0.036979980766773224,
-0.01852761022746563,
0.07433615624904633,
-0.016599610447883606,
-0.09532784670591354,
-0.05262969806790352,
0.027537483721971512,
0.053193993866443634,
0.004102878272533417,
-0.048980604857206345,
0.014690419659018517,
0.010730965994298458,
0.017069853842258453,
-0.01637389324605465,
0.03378232195973396,
0.010382985696196556,
0.012753015384078026,
-0.057256899774074554,
0.029098693281412125,
-0.018612254410982132,
0.11248234659433365,
0.044391024857759476,
-0.0576707161962986,
0.022082654759287834,
0.07700714468955994,
0.047438208013772964,
-0.01633627340197563,
-0.024828879162669182,
-0.04770154505968094,
0.04077955335378647,
-0.03656616806983948,
-0.03062228485941887,
0.003082448849454522,
-0.010787395760416985,
0.013778147287666798,
0.03671664372086525,
-0.029192741960287094,
0.02738700620830059,
0.07388472557067871,
-0.0017763463547453284,
-0.006569307763129473,
0.014238986186683178,
0.00043438782449811697,
0.017718790099024773,
-0.001849234220571816,
-0.019562147557735443,
0.04363863542675972,
-0.014474107883870602,
-0.031807299703359604,
0.006188409868627787,
0.03344374895095825,
0.02166884019970894,
0.04736296832561493,
-0.0208976399153471,
-0.010082029737532139,
-0.05349494889378548,
0.04277338832616806,
0.010514654219150543,
0.015094829723238945,
0.002325356239452958,
0.027838440611958504,
0.03101728856563568,
-0.023060761392116547,
-0.0003041890449821949,
-0.011417522095143795,
0.04040335863828659,
0.022609326988458633,
-0.0621098168194294,
0.03184491768479347,
-0.014887922443449497,
0.012442653998732567,
-0.017248546704649925,
0.024396253749728203,
-0.028872976079583168,
0.029192741960287094,
-0.04318720102310181,
0.01710747368633747,
-0.007020741701126099,
-0.06805370002985,
-0.022383609786629677,
0.013561834581196308,
0.0007036024471744895,
0.011436332017183304,
0.05308113247156143,
0.0032070635352283716,
-0.0132796885445714,
-0.046911533921957016,
-0.05631641298532486,
-0.03438423573970795,
-0.001556507428176701,
0.036603786051273346,
0.0474005863070488,
0.039124295115470886,
-0.02956893853843212,
-0.051839690655469894,
0.035776156932115555,
-0.012094673700630665,
0.01889440044760704,
0.028760118409991264,
0.04909346625208855,
-0.003075395245105028,
-0.07794763147830963,
-0.0259762741625309,
-0.026258420199155807,
-0.03415851667523384,
-0.03301112353801727,
-0.03754427284002304,
0.08660011738538742,
-0.02240242063999176,
-0.06504414230585098,
0.04999633505940437,
-0.035926636308431625,
0.10104601085186005,
-0.01831129752099514,
0.02274099551141262,
0.04702439159154892,
0.024979356676340103,
0.022628137841820717,
-0.05481163039803505,
-0.051839690655469894,
0.07068706303834915,
-0.019120117649435997,
-0.02163122035562992,
-0.019280001521110535,
0.06933276355266571,
0.030603474006056786,
0.007326400373131037,
-0.051990166306495667,
0.03357541561126709,
0.014972566626966,
-0.04785202071070671,
0.02452792227268219,
-0.009038087911903858,
-0.006842048838734627,
-0.047776781022548676,
-0.006992527283728123,
0.045406751334667206,
-0.020916448906064034,
0.02341814711689949,
0.025129834190011024,
0.017916293814778328,
0.023737912997603416,
0.025430791079998016,
0.04924394190311432,
-0.05601545423269272,
0.024847688153386116,
-0.03901143744587898,
-0.011887766420841217,
-0.030020371079444885,
-0.023625055328011513,
0.04875488951802254,
0.01898844912648201,
-0.03284183517098427,
0.011906576342880726,
-0.011342283338308334,
0.054548293352127075,
-0.02898583561182022,
-0.021405503153800964,
0.03551281988620758,
0.018132604658603668,
0.005948585458099842,
0.030753951519727707,
0.03859762102365494,
-0.0069643124006688595,
-0.01550864428281784,
-0.018734518438577652,
-0.01155859511345625,
0.014963161200284958,
0.017041640356183052,
0.01390981487929821,
0.032823026180267334,
-0.02379434183239937,
-0.0005637048743665218,
-0.0231171902269125,
-0.04988347366452217,
-0.034515902400016785,
0.008012956008315086,
0.012094673700630665,
-0.08584772795438766,
0.026164371520280838,
0.04273576661944389,
-0.03748784586787224,
0.050635866820812225,
0.019430479034781456,
0.0047024390660226345,
0.058272626250982285,
0.007020741701126099,
-0.032540880143642426,
-0.018442966043949127,
0.028289875015616417,
-0.03310517221689224,
-0.07373424619436264,
0.00640942482277751,
-0.043036725372076035,
0.028082966804504395,
-0.014427083544433117,
-0.051501113921403885,
0.05684308335185051,
0.04108050838112831,
0.007994147017598152,
0.0052008978091180325,
0.0046483613550662994,
0.044767219573259354,
0.006179004907608032,
-0.04299910366535187,
0.0065269856713712215,
0.024640781804919243,
0.02108573727309704,
0.012931708246469498,
0.034666381776332855,
0.006080253981053829,
-0.0007506268448196352,
-0.029249172657728195,
-0.017427239567041397,
0.007157112471759319,
-0.01901666447520256,
-0.07546474784612656,
0.01337373722344637,
0.033838752657175064,
0.028195826336741447,
-0.07478759437799454,
0.0009381365962326527,
0.06797846406698227,
0.020352156832814217,
0.032239921391010284,
0.025336742401123047,
0.027951298281550407,
0.013016351498663425,
0.034666381776332855,
0.06195933744311333,
-0.010862634517252445,
0.048115357756614685,
-0.024828879162669182,
-0.060304079204797745,
-0.02249646931886673,
0.022609326988458633,
-0.03677307441830635,
0.027349386364221573,
-0.014351844787597656,
-0.02065311372280121,
0.0017998586408793926,
0.011031921952962875,
0.05748261511325836,
0.00648466357961297,
-0.0011203561443835497,
0.06034170091152191,
-0.008864098228514194,
0.015395785681903362,
0.041870519518852234,
-0.00005940503251622431,
-0.08502010256052017,
0.05744499713182449,
0.02834630385041237,
-0.0678279846906662,
-0.008229268714785576,
-0.011031921952962875,
0.03199539706110954,
-0.053193993866443634,
-0.021593600511550903,
0.020013581961393356,
-0.01627984456717968,
0.00850671250373125,
0.023211240768432617,
0.011257639154791832,
-0.014925542287528515,
-0.03062228485941887,
-0.001935053733177483,
-0.03585139662027359,
0.060304079204797745,
-0.00881707388907671,
-0.04943203926086426,
0.009687025099992752,
0.027255337685346603,
-0.01714509353041649,
0.024546733126044273,
0.059438832104206085,
0.0362464003264904,
-0.012950517237186432,
0.05018443241715431,
0.009428390301764011,
-0.03255968913435936,
-0.02520507387816906,
0.023587435483932495,
-0.01281884964555502,
-0.031337056308984756,
-0.02471601963043213,
-0.025092216208577156,
0.15160663425922394,
0.05025966838002205,
-0.00927791278809309,
-0.04367625713348389,
0.009381365962326527,
0.009809288196265697,
0.005219707731157541,
-0.015734361484646797,
-0.015480429865419865,
-0.022082654759287834,
0.05782119184732437,
-0.053193993866443634,
-0.0464600995182991,
0.004319190513342619,
-0.042209092527627945,
0.0016752439551055431,
-0.011426927521824837,
-0.016449132934212685,
-0.023154810070991516,
0.011473951861262321,
-0.013618264347314835,
0.026502948254346848,
0.047287728637456894,
0.042209092527627945,
-0.021856937557458878,
0.015546264126896858,
0.05157635360956192,
-0.011238829232752323,
-0.016872351989150047,
-0.049469660967588425,
0.02631484903395176,
-0.07636760920286179,
-0.053005896508693695,
0.051651593297719955,
-0.03938763216137886,
0.028459161520004272,
-0.04314958304166794,
-0.03754427284002304,
0.044052451848983765,
0.053043514490127563,
0.02781962975859642,
-0.009875122457742691,
0.03150634095072746,
-0.02119859680533409,
0.03336850926280022,
-0.018236059695482254,
0.022120274603366852,
-0.004617795348167419,
0.01081561017781496,
0.01671246811747551,
0.022947903722524643,
0.040478598326444626,
-0.006837346591055393,
-0.03842833265662193,
-0.07095040380954742,
0.0474005863070488,
-0.04431578516960144,
-0.05247922241687775,
0.017925698310136795,
-0.015442810021340847,
-0.026013894006609917,
-0.08374103903770447,
-0.04183289781212807,
0.024659590795636177,
-0.017436644062399864,
-0.020070010796189308,
0.007632059045135975,
-0.03773237392306328,
0.040666695684194565,
-0.03208944573998451,
0.022609326988458633,
-0.009560058824717999,
0.03575734794139862,
0.08306388556957245,
0.02381315268576145,
-0.005859239026904106,
0.06004074215888977,
0.006959610152989626,
0.0049516684375703335,
-0.0059297760017216206,
-0.022383609786629677,
-0.005454829428344965,
-0.016044722869992256,
0.014464703388512135,
0.007801346480846405,
-0.04939442127943039,
-0.025468410924077034,
-0.005906263832002878,
0.07207898795604706,
0.03293588384985924,
-0.022759806364774704,
0.03677307441830635,
0.06271173059940338,
-0.008205756545066833,
-0.0032399806659668684,
-0.022440040484070778,
-0.01449291780591011,
0.001868044026196003,
-0.05868644267320633,
-0.025750556960701942,
0.039124295115470886,
0.039500489830970764,
0.012658966705203056,
0.003524478292092681,
-0.0027015514206141233,
-0.002536965999752283,
-0.018640469759702682,
0.035832587629556656,
-0.06429174542427063,
0.0006160195334814489,
0.0028849465306848288,
-0.011671453714370728,
-0.02206384390592575,
0.015546264126896858,
-0.012781229801476002,
-0.03479804843664169,
-0.014840898104012012,
0.021029308438301086,
-0.04570771008729935,
0.029117504134774208,
-0.03649092838168144,
0.028026537969708443,
0.059777408838272095,
-0.021856937557458878,
-0.0361335426568985,
-0.057068802416324615,
-0.0076179513707757,
0.050786342471838,
-0.053871143609285355,
-0.022477658465504646,
-0.011520976200699806,
-0.06470556557178497,
0.018903804942965508,
0.01756831258535385,
-0.01521709281951189,
0.014633990824222565,
-0.0158190056681633,
0.020145248621702194,
-0.0441276878118515,
-0.023888390511274338,
0.0038183806464076042,
-0.05635403096675873,
0.005826322361826897,
-0.030358947813510895,
-0.0498458556830883,
0.029531318694353104,
-0.017831649631261826,
-0.0028496780432760715,
0.007519200444221497,
0.03634044900536537,
-0.027405815199017525,
-0.040854793041944504,
0.031374674290418625,
-0.0045731221325695515,
0.054209720343351364,
-0.033067554235458374,
-0.0009487171191722155,
-0.05646688863635063,
0.02868487872183323,
-0.04273576661944389,
0.09224304556846619,
0.02603270299732685,
0.015471025370061398,
0.02157479152083397,
-0.020878830924630165,
0.0014130829367786646,
0.030358947813510895,
0.04044097661972046,
-0.002915512304753065,
-0.08667536079883575,
-0.07648047059774399,
0.030227279290556908,
0.03188253939151764,
0.01757771708071232,
-0.0049516684375703335,
-0.0018186683300882578,
-0.022440040484070778,
-0.01344897598028183,
-0.01852761022746563,
0.008083493448793888,
0.027650343254208565,
-0.031807299703359604,
-0.04108050838112831,
0.02501697652041912,
0.04804011806845665,
-0.03541877120733261,
0.05560164153575897,
-0.007152410224080086,
-0.017060449346899986,
0.008111707866191864,
0.02403886988759041,
0.02956893853843212,
-0.022120274603366852,
0.009752859361469746,
0.030735142529010773,
-0.017587123438715935,
-0.04416530951857567,
-0.0008781804936006665,
0.05718166008591652,
-0.017370810732245445,
0.0600031241774559,
-0.03192015737295151,
-0.011351687833666801,
0.05530068650841713,
-0.060266461223363876,
-0.0055206636898219585,
0.00008868506120052189,
-0.012790634296834469,
0.0002806768461596221,
-0.026051513850688934,
0.030697522684931755,
0.031807299703359604,
0.017502479255199432,
-0.02323004975914955,
-0.009066302329301834,
-0.01705104485154152,
0.013881600461900234,
-0.034026850014925,
-0.007237053941935301,
-0.03201420605182648,
-0.057934049516916275,
0.005243219900876284,
0.038973815739154816,
-0.012301580980420113,
-0.03859762102365494,
0.03555044159293175,
0.01710747368633747,
0.04548199102282524,
-0.03289826586842537,
-0.022120274603366852,
-0.000742397562135011,
-0.05281779542565346,
0.0030730441212654114,
0.025825796648859978,
-0.04044097661972046,
0.03327446058392525,
-0.034421853721141815,
-0.04096765071153641,
-0.040516216307878494,
0.04093002900481224,
0.027894869446754456,
-0.018819160759449005,
-0.03605830296874046,
0.04239719361066818,
-0.05819738656282425,
-0.03348136693239212,
0.04871727153658867,
0.002640419639647007,
-0.05360780656337738,
0.00472360011190176,
-0.024904118850827217,
0.08193530142307281,
0.07885050028562546,
-0.035193055868148804,
0.028760118409991264,
-0.04578294977545738,
-0.0027227122336626053,
0.08328960090875626,
0.027744391933083534,
0.043751493096351624,
-0.0008628976065665483,
0.03756308555603027,
-0.054021622985601425,
-0.03654735907912254,
0.030509425327181816,
-0.0005178560968488455,
0.09547832608222961,
0.02849678136408329,
0.028967024758458138,
-0.020822400227189064,
-0.03893619775772095,
0.030885620042681694,
-0.05936359241604805,
-0.020295727998018265,
0.022233132272958755,
-0.03415851667523384,
-0.03419613838195801,
-0.0050269076600670815,
-0.019120117649435997,
0.035437580198049545,
-0.002551073208451271,
0.07245518267154694,
0.02052144519984722,
0.0002241006150143221,
0.05864882096648216,
0.04104289039969444,
-0.07271852344274521,
0.03449709340929985,
0.014577561058104038,
-0.03319922089576721,
0.016242224723100662,
0.013289093039929867,
-0.004015882965177298,
0.0004320366133470088,
-0.039124295115470886,
-0.07712000608444214,
-0.017587123438715935,
0.0220074150711298,
0.008008253760635853,
0.015574478544294834,
-0.012734205462038517,
0.004258058499544859,
0.045594848692417145
] |
10,289 | fractions | __eq__ | a == b | def __eq__(a, b):
"""a == b"""
if type(b) is int:
return a._numerator == b and a._denominator == 1
if isinstance(b, numbers.Rational):
return (a._numerator == b.numerator and
a._denominator == b.denominator)
if isinstance(b, numbers.Complex) and b.imag == 0:
b = b.real
if isinstance(b, float):
if math.isnan(b) or math.isinf(b):
# comparisons with an infinity or nan should behave in
# the same way for any finite a, so treat a as zero.
return 0.0 == b
else:
return a == a.from_float(b)
else:
# Since a doesn't know how to compare with b, let's give b
# a chance to compare itself with a.
return NotImplemented
| (a, b) | [
0.008546561002731323,
-0.04888670891523361,
0.01823202520608902,
0.06550130248069763,
-0.03537299856543541,
-0.01919865608215332,
-0.05715572088956833,
-0.022395242005586624,
-0.07308122515678406,
-0.00032540096435695887,
0.021036215126514435,
-0.029802899807691574,
0.06515675783157349,
0.026070360094308853,
-0.03853130340576172,
0.0004112374153919518,
-0.028386449441313744,
0.0045556132681667805,
0.013092603534460068,
0.0019093380542472005,
-0.07292810082435608,
0.044752202928066254,
0.0019966699182987213,
0.06423797458410263,
-0.020404554903507233,
0.049958616495132446,
0.05459079518914223,
-0.0014212365495041013,
-0.03795706480741501,
0.06844905018806458,
-0.031793586909770966,
-0.010766943916678429,
0.03537299856543541,
0.03556441143155098,
0.04804449528455734,
-0.018270306289196014,
-0.004062726628035307,
0.027812210842967033,
-0.09287326037883759,
-0.026319194585084915,
-0.042684949934482574,
-0.0005966681055724621,
0.020308848470449448,
-0.00911601260304451,
-0.011972840875387192,
-0.02853957936167717,
-0.02293119765818119,
-0.021801864728331566,
0.00504371477290988,
0.06358717381954193,
-0.02402224764227867,
-0.013523281551897526,
-0.027429386973381042,
0.05508846789598465,
-0.06040973216295242,
0.04988205432891846,
0.014489913359284401,
0.016145629808306694,
-0.06726229190826416,
0.015772376209497452,
-0.018279878422617912,
-0.020519401878118515,
0.006417098455131054,
-0.05049457401037216,
-0.025170721113681793,
0.009522763080894947,
-0.051643047481775284,
-0.010010864585638046,
-0.018270306289196014,
0.04218727722764015,
-0.05030316114425659,
-0.002658238634467125,
-0.01519813947379589,
0.00412493571639061,
-0.017370669171214104,
0.04471392184495926,
0.014528196305036545,
0.07947439700365067,
-0.03969891741871834,
-0.019466634839773178,
0.015437404625117779,
-0.028654426336288452,
0.031334199011325836,
-0.05616037920117378,
-0.08422142267227173,
0.014279359951615334,
-0.023428868502378464,
0.03169788047671318,
0.05964408069849014,
0.0007237778627313673,
-0.01365726999938488,
-0.01008742954581976,
0.048618730157613754,
-0.03014744259417057,
0.030377136543393135,
0.024653907865285873,
-0.0032946846913546324,
-0.03229125961661339,
-0.014863167889416218,
-0.006517590023577213,
0.011389033868908882,
0.0022467023227363825,
-0.025591827929019928,
-0.00723060080781579,
-0.00009959423186955974,
-0.00024076082627288997,
0.030951373279094696,
-0.03665545955300331,
-0.017887482419610023,
0.02706570364534855,
-0.049958616495132446,
0.05436110123991966,
-0.05566270649433136,
0.025610970333218575,
-0.03627263754606247,
-0.0009594542789272964,
0.024462494999170303,
0.025764100253582,
0.03271236643195152,
-0.01059467252343893,
-0.04440766200423241,
0.07752199470996857,
0.021304192021489143,
0.02905639261007309,
0.10022349655628204,
-0.026759443804621696,
0.06243870407342911,
0.016863426193594933,
-0.07736886292695999,
0.0009104048949666321,
0.05371030047535896,
-0.02880755625665188,
0.03627263754606247,
0.07978066056966782,
0.052217282354831696,
0.0663817971944809,
0.029994312673807144,
0.04161304235458374,
0.01449948363006115,
0.030874809250235558,
-0.013303156942129135,
-0.021361615508794785,
0.0071253241039812565,
-0.0062065450474619865,
-0.004246960859745741,
0.0399286113679409,
-0.02461562491953373,
-0.018136318773031235,
-0.04291464388370514,
0.0264149010181427,
-0.006627651862800121,
-0.028654426336288452,
0.06929126381874084,
-0.00975724309682846,
-0.029075533151626587,
-0.049384381622076035,
0.04471392184495926,
-0.01111148577183485,
-0.038359031081199646,
0.052982933819293976,
0.03780393674969673,
0.02069167234003544,
0.025917230173945427,
-0.007709131576120853,
-0.022012418136000633,
-0.021151062101125717,
-0.03744025155901909,
-0.0367320254445076,
-0.01053724903613329,
0.006886058486998081,
0.009718961082398891,
-0.016729436814785004,
-0.034377653151750565,
0.0017873126780614257,
0.03290377929806709,
-0.01926565170288086,
0.030262289568781853,
0.001439181505702436,
-0.018595708534121513,
-0.025859806686639786,
0.029994312673807144,
-0.03445421904325485,
-0.0650801956653595,
0.014317641966044903,
0.04620693624019623,
-0.006187403574585915,
-0.04168960452079773,
-0.019753752276301384,
0.03439679741859436,
0.03793792426586151,
-0.0196580458432436,
0.02139989845454693,
0.007498578168451786,
-0.0120781185105443,
0.0315830335021019,
-0.049958616495132446,
0.04452250897884369,
-0.03910553827881813,
0.07767512649297714,
0.08108226209878922,
0.004904941190034151,
-0.03439679741859436,
0.010805225931107998,
-0.00962803978472948,
0.02352457493543625,
-0.026166066527366638,
-0.06465908885002136,
-0.011427315883338451,
0.04031143710017204,
0.01053724903613329,
-0.07706260681152344,
-0.03363114595413208,
-0.006307036150246859,
0.031544752418994904,
0.018480859696865082,
0.07993379235267639,
0.04341231659054756,
-0.02718055061995983,
0.00921650417149067,
0.02055768482387066,
0.06998034566640854,
0.003871314460411668,
0.022720644250512123,
0.0012023086892440915,
-0.008221159689128399,
0.026261771097779274,
-0.006890844088047743,
0.06228557229042053,
-0.009058588184416294,
-0.02268236130475998,
0.022854631766676903,
0.02551526390016079,
0.0013961136573925614,
-0.03629177808761597,
-0.005517460405826569,
-0.0039024190045893192,
0.01699741557240486,
0.028711849823594093,
-0.0754164606332779,
-0.009953441098332405,
-0.02815675362944603,
0.01579151675105095,
0.014958873391151428,
0.018930679187178612,
-0.007948396727442741,
-0.11216762661933899,
-0.02989860624074936,
0.018021471798419952,
-0.009647181257605553,
0.005349974613636732,
-0.013130885548889637,
-0.027659080922603607,
-0.011216762475669384,
-0.040426284074783325,
0.0321955531835556,
-0.017897052690386772,
-0.0689850002527237,
-0.03290377929806709,
0.04421624913811684,
0.023237457498908043,
-0.021916711702942848,
0.04413968324661255,
0.018193742260336876,
0.037459392100572586,
-0.05371030047535896,
-0.020787378773093224,
-0.03257837891578674,
0.025419557467103004,
0.057768240571022034,
-0.006077341269701719,
0.07595241069793701,
-0.02409881167113781,
0.013322298415005207,
0.04681945592164993,
-0.04337403550744057,
0.006493663415312767,
0.05367201566696167,
-0.02564925141632557,
-0.032233837991952896,
-0.029152097180485725,
-0.021112779155373573,
0.015083291567862034,
-0.019179515540599823,
-0.034377653151750565,
-0.027218833565711975,
0.018069323152303696,
-0.01630832999944687,
-0.04272323101758957,
0.009484481066465378,
-0.04804449528455734,
0.02074909582734108,
-0.008489136584103107,
0.01579151675105095,
0.013714693486690521,
0.0035674474202096462,
0.018059752881526947,
-0.011015779338777065,
-0.021687017753720284,
0.021993277594447136,
0.03828246518969536,
-0.04747025668621063,
0.004290028940886259,
0.044752202928066254,
0.014786602929234505,
0.036942578852176666,
-0.02434764802455902,
0.023084327578544617,
0.059108126908540726,
0.021572168916463852,
0.02704656310379505,
0.028252460062503815,
0.010948785580694675,
0.0393160916864872,
0.06018003821372986,
0.007541645783931017,
0.005972064565867186,
-0.006254397798329592,
-0.03213813155889511,
-0.00876668468117714,
0.04582411050796509,
0.002864006906747818,
0.06465908885002136,
-0.020079152658581734,
-0.022242112085223198,
0.032750651240348816,
-0.04965236037969589,
-0.01733238622546196,
0.05501190200448036,
0.02300776168704033,
0.04398655518889427,
0.005326048005372286,
-0.013073462061583996,
0.08881532400846481,
0.022261254489421844,
-0.010814797133207321,
-0.04877186194062233,
0.020519401878118515,
0.011484740301966667,
0.012097259052097797,
-0.014193224720656872,
0.014662184752523899,
-0.011867564171552658,
0.0023615495301783085,
-0.07361718267202377,
-0.003141554770991206,
0.010250130668282509,
-0.011666581965982914,
-0.02685515023767948,
0.027142267674207687,
-0.010230989195406437,
-0.08069943636655807,
-0.018203312531113625,
0.028750132769346237,
-0.02815675362944603,
-0.01365726999938488,
0.0856761559844017,
0.003127198899164796,
0.03504759818315506,
-0.025725817307829857,
0.0186818428337574,
0.0702100396156311,
0.03183187171816826,
-0.0032994700595736504,
-0.019983448088169098,
-0.0231991745531559,
0.009049017913639545,
-0.06178789958357811,
0.0007650511688552797,
-0.005699302069842815,
-0.01034583617001772,
-0.03435851261019707,
-0.013647698797285557,
-0.0029908176511526108,
-0.044369377195835114,
-0.030568549409508705,
-0.03833989053964615,
-0.044024836272001266,
-0.015131144784390926,
-0.011532592587172985,
-0.023754270747303963,
0.06224729120731354,
-0.006871702615171671,
-0.022586654871702194,
0.009838594123721123,
-0.015112003311514854,
0.003361679147928953,
0.021610451862215996,
-0.026012936607003212,
-0.016777290031313896,
0.02635747753083706,
-0.05903156101703644,
-0.02821417711675167,
-0.013676411472260952,
0.03313347324728966,
-0.06431454420089722,
-0.045058462768793106,
0.036310918629169464,
-0.03439679741859436,
-0.09524677693843842,
-0.04191930219531059,
0.04482876881957054,
0.06331919878721237,
-0.021821005269885063,
0.013197880238294601,
0.04632178321480751,
0.035794105380773544,
0.050609420984983444,
0.0016569129657000303,
-0.017054839059710503,
0.06178789958357811,
-0.012097259052097797,
-0.0754164606332779,
-0.02404138818383217,
0.008450854569673538,
-0.0405794158577919,
0.015533111058175564,
-0.07767512649297714,
-0.08452768623828888,
0.04115365073084831,
0.012834196910262108,
-0.005010217893868685,
0.0360620841383934,
-0.030511125922203064,
-0.006804708391427994,
0.008843249641358852,
-0.03248267248272896,
0.043833423405885696,
0.02170615829527378,
0.009584972634911537,
0.004072297364473343,
-0.05600724741816521,
-0.011819710955023766,
0.0334780178964138,
-0.0030123514588922262,
0.04180445149540901,
-0.008632696233689785,
-0.0006032478995621204,
-0.0437951423227787,
-0.044369377195835114,
-0.010776514187455177,
0.038435596972703934,
-0.010661667212843895,
-0.027467669919133186,
-0.03839731216430664,
-0.026319194585084915,
-0.043718576431274414,
0.08422142267227173,
0.01590636558830738,
0.00830729492008686,
0.010058717802166939,
-0.014001811854541302,
0.01449948363006115,
-0.037976205348968506,
-0.06197931244969368,
-0.015877652913331985,
-0.03422452509403229,
0.019619764760136604,
-0.021993277594447136,
0.023160891607403755,
-0.017868341878056526,
-0.02808018960058689,
-0.023658564314246178,
-0.04302949085831642,
-0.03621521219611168,
-0.003746896283701062,
0.0914950966835022,
0.01269063726067543,
0.017179256305098534,
0.021438181400299072,
0.052025873214006424,
-0.00985773466527462,
0.010125712491571903,
-0.016155200079083443,
0.02718055061995983,
-0.0017609933856874704,
0.01951448619365692,
-0.0766797810792923,
0.017638646066188812,
-0.025285568088293076,
-0.03510501980781555,
-0.024328507483005524,
0.045326441526412964,
0.020060012117028236,
-0.0315638929605484,
0.0740765705704689,
-0.03254009783267975,
-0.018653132021427155,
0.008474781177937984,
0.037210557609796524,
-0.0741148516535759,
0.04792964830994606,
-0.05049457401037216,
-0.08483394235372543,
0.03470305725932121,
0.0074411542154848576,
-0.007723487447947264,
-0.005349974613636732,
-0.005780652165412903,
-0.006914770230650902,
0.009154294617474079,
0.006546301767230034,
-0.0024452924262732267,
-0.03678945079445839,
0.02377341128885746,
0.03659803792834282,
0.007929256185889244,
-0.007737843319773674,
-0.015743663534522057,
-0.03814847767353058,
0.045058462768793106,
0.006187403574585915,
0.002543391427025199,
0.01105406228452921,
0.00682863499969244,
0.04329746961593628,
0.05547129362821579,
-0.023409727960824966,
-0.0830729529261589,
-0.01159958727657795,
-0.0341288186609745,
0.05244698002934456,
0.0003980778274126351,
-0.03502845764160156,
-0.024979308247566223,
-0.07005691528320312,
-0.00144875212572515,
-0.058457326143980026,
0.006196974311023951,
0.0022024381905794144,
-0.03755509853363037,
-0.030453702434897423,
-0.026491466909646988,
-0.025936370715498924,
0.01798318885266781,
-0.08713088929653168,
0.021859288215637207,
-0.04605380818247795,
-0.010556389577686787,
0.06565442681312561,
0.029668910428881645,
-0.04471392184495926,
0.05593068152666092,
0.025821523740887642,
-0.009934299625456333,
0.004273280501365662,
0.034377653151750565,
0.0065750135108828545,
0.01669115573167801,
0.09256700426340103,
0.04157475754618645,
0.07097569108009338,
-0.02164873480796814,
0.056083813309669495,
-0.008484351448714733,
-0.024519920349121094,
0.037535957992076874,
0.012700208462774754,
0.011264615692198277,
0.048542167991399765,
-0.012738490477204323,
0.038225043565034866,
0.035985518246889114,
0.08360890299081802,
-0.08100569993257523,
-0.004691994749009609,
-0.04237869009375572,
0.05309778079390526,
-0.02396482415497303,
0.02170615829527378,
0.019600622355937958,
-0.012968185357749462,
0.0033114333637058735,
-0.03902897238731384,
0.013217021711170673,
-0.012039835564792156,
0.01797361858189106,
-0.02873099036514759,
0.04800621420145035,
-0.05681117996573448,
-0.044292815029621124,
-0.009546689689159393,
0.010719090700149536,
-0.0037181845400482416,
-0.016317900270223618,
-0.010068289004266262,
-0.052140720188617706,
-0.015504398383200169,
-0.0008595609688200057,
0.022318677976727486,
-0.027410246431827545,
-0.04988205432891846,
0.01565752923488617,
0.02371598780155182,
-0.08046974241733551,
-0.014154941774904728,
0.0093409214168787,
-0.01984945870935917,
0.01053724903613329,
0.023735128343105316,
-0.05784480646252632,
0.00655587250366807,
-0.0009582579950802028,
-0.044484224170446396,
-0.059490952640771866,
-0.01317873876541853,
0.056351788341999054,
-0.009594542905688286,
-0.016002070158720016,
0.01959105208516121,
-0.010728660970926285,
0.03690429776906967,
0.01628918945789337,
0.008843249641358852,
-0.03780393674969673,
0.016451889649033546,
-0.034301090985536575,
-0.013743405230343342,
0.013743405230343342,
-0.03464563190937042,
0.04804449528455734,
-0.002545783994719386,
0.017112262547016144,
-0.03368857130408287,
0.007996249943971634,
-0.061098817735910416,
-0.04923124983906746,
0.058151066303253174,
-0.032367825508117676,
0.03194671869277954,
-0.034147959202528,
0.007335877511650324,
0.011015779338777065,
-0.04241697117686272,
-0.02951578050851822,
-0.022586654871702194,
-0.058916714042425156,
-0.000814100552815944,
0.012556648813188076,
0.010326695628464222,
0.13000725209712982,
0.0029477498028427362,
0.022184688597917557,
-0.05432282015681267,
0.04279979690909386,
-0.031659599393606186,
0.0033760350197553635,
-0.026395760476589203,
-0.03889498487114906,
0.05321262776851654,
0.017810916528105736,
-0.055318161845207214,
0.054016560316085815,
0.0521790012717247,
-0.026051217690110207,
-0.045326441526412964,
0.009307424537837505,
0.05593068152666092,
-0.0012441801372915506,
-0.004653712268918753,
0.002864006906747818,
0.023735128343105316,
-0.035985518246889114,
-0.019179515540599823,
-0.023811694234609604,
0.02486446127295494,
0.009546689689159393,
0.008163736201822758,
0.015877652913331985,
-0.0026558460667729378,
-0.029343510046601295,
-0.016413606703281403,
0.05122194066643715,
0.0009983349591493607,
0.017026126384735107,
-0.015188568271696568,
0.010230989195406437,
0.0012693030294030905,
0.03497103229165077,
0.009848164394497871,
-0.008828893303871155,
0.0057854377664625645,
0.004589110612869263,
-0.00934570748358965,
-0.04555613547563553,
0.006981764920055866,
-0.03902897238731384,
-0.01604035310447216,
-0.007512934040278196,
0.012748061679303646,
-0.014901449903845787,
0.033210039138793945,
-0.04536472260951996,
-0.010058717802166939,
-0.002462041098624468,
0.0013973100576549768,
0.032559238374233246,
-0.03870357200503349,
0.01500672660768032,
-0.008809752762317657,
-0.01598292961716652,
0.023141751065850258,
-0.033210039138793945,
0.016404036432504654,
0.03680859133601189,
0.047776516526937485,
0.037344545125961304,
-0.03009001910686493,
0.03020486608147621,
0.05562442168593407,
-0.042684949934482574,
-0.04762338846921921,
0.0399286113679409,
-0.01597335934638977,
-0.08514020591974258,
0.0334780178964138,
0.005196844693273306,
0.01996430568397045,
0.027716506272554398,
0.00034005596535280347,
0.049958616495132446,
-0.052600108087062836,
-0.05792137235403061,
0.062400419265031815,
0.014662184752523899,
0.017160115763545036,
0.04207243025302887,
0.03403311222791672,
-0.009867305867373943,
0.017935335636138916,
-0.017026126384735107,
-0.02758251689374447,
0.11186136305332184,
0.022433524951338768,
0.0018602885538712144,
-0.0695975199341774,
0.01706440933048725,
-0.016518883407115936,
-0.06994206458330154,
-0.0055605280213057995,
0.07916814088821411,
0.03380341827869415,
-0.022586654871702194,
0.0689084380865097,
-0.014154941774904728,
-0.010585102252662182,
0.0029692838434129953,
0.01959105208516121,
0.016700726002454758,
0.017705639824271202,
0.01590636558830738,
0.02924780361354351,
-0.042034149169921875,
0.01623176597058773,
0.019418781623244286,
-0.02273978479206562,
0.013676411472260952,
-0.025075014680624008,
0.003198978491127491,
0.03763166442513466,
-0.013121315278112888,
-0.04050284996628761,
0.018078895285725594,
0.025304710492491722,
0.03776565194129944,
-0.0837620347738266,
0.046474914997816086,
-0.025553546845912933,
0.08291982114315033
] |
10,290 | numbers | __float__ | float(self) = self.numerator / self.denominator
It's important that this conversion use the integer's "true"
division rather than casting one side to float before dividing
so that ratios of huge integers convert without overflowing.
| def __float__(self):
"""float(self) = self.numerator / self.denominator
It's important that this conversion use the integer's "true"
division rather than casting one side to float before dividing
so that ratios of huge integers convert without overflowing.
"""
return int(self.numerator) / int(self.denominator)
| (self) | [
-0.04357584938406944,
-0.05267690494656563,
0.02632025070488453,
0.0810357928276062,
0.03290941193699837,
-0.01329664047807455,
0.005806473083794117,
-0.03199930861592293,
-0.08176387846469879,
0.0200223196297884,
0.027831025421619415,
-0.02158770151436329,
0.041682831943035126,
0.03349187970161438,
-0.006334334146231413,
0.026720697060227394,
-0.008341116830706596,
0.012441141530871391,
0.03676826134324074,
0.050565458834171295,
-0.026957323774695396,
0.03953498229384422,
0.035839952528476715,
0.008095388300716877,
-0.036495231091976166,
-0.010857557877898216,
0.059302471578121185,
0.00028469235985539854,
-0.008004377596080303,
-0.020004117861390114,
-0.01632729172706604,
0.02053198032081127,
0.023517126217484474,
0.013778996653854847,
-0.015535500831902027,
-0.03238155320286751,
-0.020113330334424973,
0.043357424437999725,
-0.14299577474594116,
0.03624039888381958,
-0.039462171494960785,
-0.003082982264459133,
-0.0016563920071348548,
0.03074336238205433,
-0.030888980254530907,
-0.02349892258644104,
0.04783514514565468,
-0.011294408701360226,
-0.015289772301912308,
-0.021842531859874725,
-0.02513711340725422,
0.015216963365674019,
-0.0335828922688961,
0.029596630483865738,
-0.06774824857711792,
0.08096298575401306,
0.02795843966305256,
-0.013005407527089119,
-0.06560040265321732,
0.02815866284072399,
-0.022370392456650734,
0.011794966645538807,
0.031908296048641205,
-0.07408258318901062,
-0.02861371636390686,
0.024554645642638206,
-0.03351008519530296,
0.053769029676914215,
-0.04037227854132652,
0.03094358555972576,
-0.03234514966607094,
-0.006771184504032135,
0.006739330943673849,
0.03289121016860008,
0.04426753148436546,
0.05264050140976906,
-0.008809820748865604,
0.056790582835674286,
0.03745993971824646,
0.002561946865171194,
0.0438670851290226,
0.011039579287171364,
0.03895251452922821,
-0.01558100525289774,
-0.015326175838708878,
-0.040117450058460236,
-0.044049106538295746,
0.0009681247174739838,
-0.025701377540826797,
0.06206919252872467,
-0.03826083242893219,
0.02770361118018627,
-0.013460460118949413,
0.009865542873740196,
-0.010657334700226784,
0.037787578999996185,
-0.045760102570056915,
-0.03840645030140877,
-0.021642308682203293,
0.006329783704131842,
-0.004773503169417381,
0.10819333791732788,
0.0013708464102819562,
-0.017956381663680077,
0.022679828107357025,
-0.028031248599290848,
0.022024553269147873,
-0.030051682144403458,
-0.011740360409021378,
0.05435149744153023,
-0.07444662600755692,
-0.005979393143206835,
-0.07430101186037064,
0.04150081053376198,
-0.049655355513095856,
-0.03957138583064079,
-0.03869768604636192,
0.04681582376360893,
0.058392368257045746,
0.0234261155128479,
0.0004331533273216337,
0.04226529970765114,
-0.04000823572278023,
0.060139767825603485,
0.02781282365322113,
0.027248557657003403,
0.04299338161945343,
0.0024527341593056917,
-0.030761564150452614,
0.03281840309500694,
0.06327053159475327,
0.017565036192536354,
0.005597148556262255,
-0.002009057905524969,
0.05780990049242973,
0.04073632135987282,
-0.03398333862423897,
0.012413838878273964,
0.07157069444656372,
0.05959370732307434,
-0.012614062055945396,
-0.012040695175528526,
0.060940660536289215,
-0.012577657587826252,
-0.0017189617501571774,
0.09632556140422821,
0.04379427433013916,
0.05740945413708687,
-0.0813998356461525,
0.002880483865737915,
0.003897526767104864,
0.0257559847086668,
0.11554699391126633,
-0.0383700467646122,
0.015517298132181168,
-0.002366274129599333,
0.02033175528049469,
-0.009132908657193184,
0.001609749044291675,
0.020040523260831833,
-0.0242634117603302,
0.004687043372541666,
0.04910929128527641,
0.0009840514976531267,
0.009205716662108898,
0.00221269391477108,
-0.05912045016884804,
-0.0515119694173336,
-0.04987378045916557,
0.025683175772428513,
0.0476895272731781,
-0.018147503957152367,
-0.025300931185483932,
0.0069987112656235695,
0.03429277241230011,
0.022916454821825027,
0.0072080353274941444,
0.021351074799895287,
-0.014079331420361996,
0.06214200332760811,
0.07353652268648148,
-0.09086492657661438,
-0.015817632898688316,
-0.029432810842990875,
0.08169106394052505,
0.032945819199085236,
0.001989718060940504,
-0.009110155515372753,
-0.007267192006111145,
-0.007299046032130718,
0.062433235347270966,
-0.0270119309425354,
-0.04084553197026253,
-0.02475486882030964,
0.012841587886214256,
-0.028286077082157135,
0.015935946255922318,
-0.06206919252872467,
0.07248079776763916,
0.008646002039313316,
-0.05828315392136574,
-0.0009624365484341979,
0.028522705659270287,
-0.0036290455609560013,
-0.014079331420361996,
0.02708473801612854,
-0.02582879364490509,
0.035839952528476715,
0.0227708388119936,
-0.005838326644152403,
-0.07892434298992157,
-0.0025096158497035503,
-0.04150081053376198,
0.00835476815700531,
0.024008581414818764,
-0.05649934709072113,
0.0392073430120945,
-0.031034596264362335,
0.031071001663804054,
0.07783222198486328,
0.07390056550502777,
-0.05831955745816231,
0.01675504259765148,
-0.007167080417275429,
0.0054014758206903934,
-0.004823558963835239,
-0.04998299106955528,
-0.012022493407130241,
-0.00278492271900177,
0.0007241026614792645,
0.037860386073589325,
-0.024809475988149643,
-0.034656815230846405,
-0.0107574462890625,
0.023972177878022194,
0.02140568010509014,
0.020914223045110703,
0.03205391392111778,
-0.08598676323890686,
-0.014834718778729439,
-0.017637843266129494,
0.013196528889238834,
0.004222889430820942,
0.0016086114337667823,
-0.0042820461094379425,
-0.03707769513130188,
0.009260322898626328,
0.019476257264614105,
-0.03533029556274414,
0.044158317148685455,
-0.025391941890120506,
-0.023626338690519333,
0.014843820594251156,
-0.01759233884513378,
0.04048149287700653,
-0.008291061036288738,
-0.04794435575604439,
0.03707769513130188,
0.004737099166959524,
0.025683175772428513,
-0.015726622194051743,
-0.02990606613457203,
0.03982621431350708,
0.022224776446819305,
-0.05384184047579765,
0.027667205780744553,
-0.038624875247478485,
-0.00507383793592453,
0.0020215718541294336,
0.06869476288557053,
0.14386947453022003,
-0.012650465592741966,
-0.013169226236641407,
-0.040263064205646515,
-0.014689101837575436,
-0.029778651893138885,
0.03116201050579548,
0.04120957478880882,
-0.027230355888605118,
0.008318363688886166,
0.005064737051725388,
-0.06600084900856018,
-0.02196994610130787,
0.05165758728981018,
-0.023753752931952477,
0.03593096509575844,
0.017219195142388344,
-0.03713230416178703,
0.020349958911538124,
0.0194216500967741,
0.001362882903777063,
0.02155129797756672,
0.004154631402343512,
0.04543246328830719,
0.02613822929561138,
-0.0007764337351545691,
0.006925902795046568,
-0.0392073430120945,
0.019822096452116966,
0.028486302122473717,
-0.04667020961642265,
-0.017410317435860634,
-0.0028236021753400564,
0.06887678056955338,
0.04310259595513344,
-0.006102256942540407,
0.031216617673635483,
-0.020131532102823257,
0.004648363683372736,
0.042665746062994,
-0.03482063487172127,
0.025228124111890793,
-0.02220657281577587,
0.04994658753275871,
0.02826787531375885,
0.008040782064199448,
0.012805184349417686,
0.06181436404585838,
-0.016081564128398895,
0.02774001471698284,
-0.005833776202052832,
0.0578463040292263,
0.02788563072681427,
0.07695852220058441,
0.03767836466431618,
0.001126824296079576,
-0.02948741801083088,
0.06115908920764923,
0.0005235950811766088,
0.018293119966983795,
-0.05416947603225708,
-0.06439906358718872,
0.014989437535405159,
-0.0021057564299553633,
-0.031908296048641205,
-0.049000076949596405,
0.06745702028274536,
0.029815055429935455,
0.0050010294653475285,
-0.02693912200629711,
0.034620411694049835,
-0.042520128190517426,
0.019276034086942673,
0.0022013175766915083,
-0.03456580638885498,
0.04870884492993355,
-0.017847169190645218,
-0.05249488353729248,
0.06195998191833496,
-0.0022445477079600096,
-0.07120665162801743,
-0.06643769890069962,
0.02708473801612854,
-0.02200634963810444,
-0.005601698998361826,
-0.028249673545360565,
-0.0388433001935482,
-0.02182433009147644,
-0.013642480596899986,
-0.014752809889614582,
0.024081390351057053,
0.02697552554309368,
-0.014871123246848583,
-0.0057518663816154,
-0.012723274528980255,
0.0003907765494659543,
-0.0515119694173336,
-0.01629088819026947,
0.0008742700447328389,
0.005210353992879391,
-0.034656815230846405,
-0.02559216506779194,
-0.03902532160282135,
-0.044922806322574615,
-0.010356999933719635,
0.0405178964138031,
-0.008841674774885178,
0.05941168591380119,
-0.017292004078626633,
0.0033901429269462824,
-0.013414954766631126,
-0.004343478474766016,
-0.04040868207812309,
0.03640421852469444,
0.00928762648254633,
0.011585642583668232,
0.006648320239037275,
-0.05668136849999428,
0.015180558897554874,
0.055334411561489105,
-0.020859617739915848,
-0.0010642545530572534,
-0.009246671572327614,
-0.04000823572278023,
-0.09363164752721786,
0.023790156468749046,
0.047361887991428375,
-0.03341907262802124,
-0.01903940550982952,
0.013806300237774849,
0.021278265863656998,
-0.021569499745965004,
-0.01876637525856495,
0.05023782327771187,
0.012486646883189678,
0.02513711340725422,
0.029159778729081154,
-0.021278265863656998,
0.010839356109499931,
0.004332101903855801,
0.005697260145097971,
-0.02266162633895874,
-0.029505619779229164,
0.06494512408971786,
-0.0010750620858743787,
0.0008776829345151782,
-0.06702017039060593,
-0.078414686024189,
-0.009182964451611042,
-0.0037132303696125746,
-0.018857385963201523,
0.007358202710747719,
-0.0006575512234121561,
0.02304387092590332,
0.0023366957902908325,
-0.048199184238910675,
0.05311375483870506,
0.029050566256046295,
-0.007795053534209728,
0.0413551926612854,
-0.003924829885363579,
0.0006945242639631033,
-0.03285480663180351,
-0.03634961321949959,
0.02475486882030964,
-0.018675364553928375,
-0.0023412462323904037,
0.026720697060227394,
0.0017894948832690716,
0.011876876465976238,
0.05511598661541939,
0.03192650154232979,
0.021642308682203293,
-0.022516008466482162,
0.0016882456839084625,
-0.0970536470413208,
-0.004630161449313164,
0.01872996985912323,
-0.04000823572278023,
-0.06931363046169281,
-0.0099201500415802,
-0.01548999547958374,
0.0055789463222026825,
-0.03818802535533905,
0.006043100263923407,
-0.04667020961642265,
-0.019785692915320396,
-0.036112986505031586,
0.017983684316277504,
-0.016918860375881195,
-0.035039059817790985,
0.027940237894654274,
-0.04670661315321922,
-0.009865542873740196,
-0.023244094103574753,
-0.022297583520412445,
0.07892434298992157,
0.030615948140621185,
-0.024427231401205063,
-0.028013046830892563,
0.019166821613907814,
0.025319134816527367,
-0.018784577026963234,
-0.011667552404105663,
-0.03742353618144989,
0.03383772075176239,
-0.06337974220514297,
-0.02865011990070343,
0.000614890013821423,
-0.03565793111920357,
-0.056171707808971405,
-0.0293418001383543,
0.002734866924583912,
0.007813255302608013,
-0.014525283128023148,
0.0032513518817722797,
-0.027248557657003403,
0.006470849737524986,
0.022989263758063316,
-0.01510775089263916,
-0.02495509199798107,
0.026010815054178238,
-0.03025190532207489,
-0.05435149744153023,
-0.05977572873234749,
0.03116201050579548,
-0.007945220917463303,
0.027339568361639977,
-0.035694338381290436,
-0.0027052885852754116,
0.008891730569303036,
-0.03438378497958183,
-0.03425636887550354,
0.01854795031249523,
0.025919804349541664,
0.06206919252872467,
-0.01617257483303547,
0.031871892511844635,
-0.057664282619953156,
-0.0038451955188065767,
-0.04270214959979057,
0.0011683478951454163,
-0.0388433001935482,
0.04164642468094826,
0.04994658753275871,
-0.009392288513481617,
-0.04284776374697685,
-0.012022493407130241,
-0.007726795505732298,
0.02018613927066326,
0.000561990134883672,
0.005915685556828976,
-0.04368506371974945,
0.007512920536100864,
-0.0270119309425354,
-0.016609424725174904,
-0.07066059112548828,
-0.020386362448334694,
0.02892315201461315,
-0.00488271564245224,
-0.02983325719833374,
-0.03949857875704765,
-0.0013287540059536695,
0.03405614569783211,
-0.03540310263633728,
0.015863139182329178,
-0.035312093794345856,
-0.002015883568674326,
0.039352960884571075,
0.03048853389918804,
-0.0026370305567979813,
0.002409504260867834,
0.040153853595256805,
0.007722245063632727,
0.056863389909267426,
-0.06403502076864243,
-0.03247256204485893,
0.03130762651562691,
0.07066059112548828,
0.01096677128225565,
0.01900300197303295,
-0.05220365151762962,
0.01620897836983204,
-0.0022866399958729744,
0.044231124222278595,
0.015999654307961464,
0.012277322821319103,
0.027612600475549698,
0.007726795505732298,
-0.019676480442285538,
-0.0031990206334739923,
-0.009273975156247616,
0.0830744281411171,
-0.005669957026839256,
-0.060831449925899506,
-0.024281613528728485,
0.0460149310529232,
0.06214200332760811,
0.006834892090409994,
-0.03372851014137268,
-0.02757619507610798,
0.03715050593018532,
0.06782106310129166,
0.036677248775959015,
-0.008259207010269165,
-0.00014412374002858996,
-0.0270119309425354,
-0.02930539660155773,
-0.03551231697201729,
-0.045723699033260345,
-0.06206919252872467,
-0.03196290507912636,
-0.06898599117994308,
0.01914861984550953,
-0.032709188759326935,
-0.0046256110072135925,
0.00003395120074856095,
-0.016800547018647194,
0.012040695175528526,
0.0014846095582470298,
-0.03289121016860008,
-0.05831955745816231,
0.0032627282198518515,
0.002682535909116268,
0.00018842027930077165,
-0.09173863381147385,
-0.06803948432207108,
-0.0025005147326737642,
0.028668321669101715,
-0.026957323774695396,
0.000182305506314151,
-0.007804154418408871,
0.016427403315901756,
0.0031148360576480627,
0.03349187970161438,
0.007117024622857571,
0.020841415971517563,
-0.008573193103075027,
-0.050456248223781586,
-0.05649934709072113,
-0.00582922575995326,
0.04801716282963753,
0.0017394390888512135,
0.004020391032099724,
-0.01133081316947937,
0.006648320239037275,
-0.02162410505115986,
-0.04048149287700653,
-0.06356176733970642,
0.06661972403526306,
-0.05074748024344444,
0.0234261155128479,
-0.024208804592490196,
0.022679828107357025,
-0.0015505922492593527,
0.017637843266129494,
0.04313899949193001,
-0.07364573329687119,
0.02652047388255596,
-0.03321884945034981,
0.00928762648254633,
0.024044986814260483,
0.007171631325036287,
-0.041792042553424835,
-0.00978363398462534,
0.0067484318278729916,
-0.0027303164824843407,
0.033819518983364105,
0.020349958911538124,
0.03163526579737663,
0.06661972403526306,
0.020313553512096405,
-0.03735072910785675,
-0.013478661887347698,
0.013860906474292278,
-0.06763903796672821,
-0.08059894293546677,
-0.03199930861592293,
0.0586836002767086,
0.008459430187940598,
-0.05573485791683197,
0.08089017122983932,
0.06043100357055664,
-0.02453644387423992,
0.002759894821792841,
-0.018101997673511505,
-0.0016461532795801759,
-0.02384476363658905,
-0.033783115446567535,
0.04918209835886955,
-0.05915685370564461,
0.013414954766631126,
-0.03467501699924469,
0.02757619507610798,
0.02346251904964447,
0.020695798099040985,
-0.07066059112548828,
0.004375332035124302,
-0.0435030423104763,
-0.061668746173381805,
0.013642480596899986,
0.05464273318648338,
-0.03165346756577492,
-0.009829139336943626,
-0.06822150945663452,
0.012259121052920818,
0.028504503890872,
-0.014661799184978008,
-0.014807416126132011,
0.018566152080893517,
-0.0035425855312496424,
0.01659122295677662,
-0.014689101837575436,
-0.01717369072139263,
0.009337682276964188,
-0.05893842875957489,
-0.048199184238910675,
0.03201751038432121,
-0.00019538827473297715,
-0.009829139336943626,
-0.0001845807710196823,
-0.022989263758063316,
-0.02945101261138916,
-0.016036057844758034,
-0.01754683256149292,
-0.0031057349406182766,
-0.02956022508442402,
0.011794966645538807,
0.007567526772618294,
-0.004648363683372736,
-0.0036358714569360018,
-0.014015624299645424,
-0.005469733849167824,
0.044849999248981476,
0.0024436332751065493,
0.004941872786730528,
0.03116201050579548,
0.021005233749747276,
-0.018930193036794662,
-0.06206919252872467,
0.004705245140939951,
0.05154837295413017,
-0.02666608989238739,
0.002009057905524969,
0.027903834357857704,
0.049837376922369,
0.027212154120206833,
0.048199184238910675,
0.0009430968202650547,
0.003943032119423151,
-0.039352960884571075,
-0.026684291660785675,
0.09319479763507843,
0.06949565559625626,
-0.009251222014427185,
-0.009911048226058483,
0.04994658753275871,
0.009847341105341911,
-0.07211675494909286,
0.0021057564299553633,
-0.0035471359733492136,
0.03447479382157326,
-0.011012276634573936,
-0.03811521828174591,
0.0009556107688695192,
-0.02899596095085144,
0.013269337825477123,
-0.0255193579941988,
0.018247615545988083,
-0.03491164743900299,
-0.00767673971131444,
-0.0646538957953453,
-0.018338624387979507,
-0.02792203612625599,
-0.02014973573386669,
0.014771011658012867,
0.04717986658215523,
0.05901123955845833,
-0.008190949447453022,
-0.01033879816532135,
0.02189713716506958,
-0.01033879816532135,
0.0438670851290226,
0.012341029942035675,
0.08853506296873093,
-0.02391757257282734,
-0.03154425695538521,
0.0038611225318163633,
0.0375327505171299,
-0.018638959154486656,
-0.02690271846950054,
-0.029742246493697166,
0.016991669312119484,
0.039425767958164215,
-0.041719235479831696,
0.04998299106955528,
0.009938351809978485,
0.016846051439642906
] |
10,291 | fractions | __floor__ | math.floor(a) | def __floor__(a):
"""math.floor(a)"""
return a.numerator // a.denominator
| (a) | [
-0.05556730926036835,
-0.03532371297478676,
0.030621862038969994,
0.062303777784109116,
0.02966439537703991,
-0.025184813886880875,
0.019816158339381218,
-0.04270989075303078,
-0.09581513702869415,
0.018909983336925507,
0.02185077592730522,
-0.01418248750269413,
0.03669152408838272,
-0.011173304170370102,
-0.047463033348321915,
0.014310719445347786,
-0.01566998101770878,
0.02031198889017105,
-0.0002113160735461861,
0.002902323380112648,
0.01573837175965309,
0.046573955565690994,
0.05649058148264885,
0.017183121293783188,
-0.05047221481800079,
0.029202759265899658,
0.05173743888735771,
0.03682830184698105,
-0.012771932408213615,
-0.03846967592835426,
0.02289373241364956,
0.031288668513298035,
0.0523187592625618,
-0.016670193523168564,
0.024535104632377625,
-0.051634855568408966,
-0.004945490509271622,
0.02094460092484951,
-0.15524651110172272,
0.012994201853871346,
-0.03193838149309158,
0.0072750430554151535,
-0.02860434167087078,
0.04578746482729912,
-0.05259232223033905,
-0.04130788519978523,
0.057311270385980606,
-0.01767895370721817,
0.013490033335983753,
0.014892038889229298,
-0.03665732592344284,
0.03422946482896805,
-0.00948918703943491,
0.01385763194411993,
-0.055088575929403305,
0.04893342778086662,
0.0041012950241565704,
-0.01615726388990879,
-0.02309890277683735,
0.018174784258008003,
-0.023834101855754852,
0.014285072684288025,
0.0314425490796566,
-0.06199602037668228,
0.024706080555915833,
0.010010664351284504,
-0.052216172218322754,
0.07563993334770203,
-0.03559727221727371,
0.018243174999952316,
-0.06131211668252945,
0.046573955565690994,
0.027202336117625237,
0.008335096761584282,
-0.04356477037072182,
0.058781664818525314,
0.0005882654804736376,
0.05218197777867317,
0.0895916000008583,
-0.026142282411456108,
0.020619746297597885,
0.008078631944954395,
0.014071352779865265,
0.01872190833091736,
-0.012771932408213615,
-0.07071581482887268,
-0.009087392129004002,
-0.007770874537527561,
0.01331905648112297,
0.035905029624700546,
-0.06733047962188721,
0.053994327783584595,
-0.01872190833091736,
0.02774946019053459,
-0.043769944459199905,
0.05669575557112694,
-0.0497199185192585,
0.0235605388879776,
0.015490456484258175,
-0.001868985127657652,
0.02287663333117962,
0.0428466722369194,
-0.047257859259843826,
0.008471877314150333,
0.024278640747070312,
-0.008112827315926552,
0.04103432223200798,
-0.027886241674423218,
-0.03465690463781357,
0.06469744443893433,
-0.06397934257984161,
-0.01656760647892952,
-0.08015371114015579,
0.031066400930285454,
-0.04691590741276741,
-0.02073943056166172,
-0.00841203611344099,
0.01613161712884903,
0.0549176000058651,
-0.009523382410407066,
0.01494333241134882,
-0.003107494907453656,
-0.04144466295838356,
0.03689669445157051,
0.048112742602825165,
0.03723864629864693,
0.014165389351546764,
-0.01853383518755436,
-0.035255320370197296,
0.0005508643807843328,
0.07310948520898819,
0.040076855570077896,
0.023611832410097122,
0.00398161169141531,
0.033938802778720856,
0.04537712037563324,
-0.01439620740711689,
0.015439162962138653,
0.026962969452142715,
0.014874941669404507,
-0.055327944457530975,
-0.05669575557112694,
0.029749883338809013,
0.004774514120072126,
0.013601168058812618,
0.040076855570077896,
0.048557281494140625,
0.03055347129702568,
-0.015362223610281944,
0.03511853888630867,
0.014917685650289059,
0.028484657406806946,
0.13883279263973236,
-0.040453001856803894,
0.01112201064825058,
-0.03761479631066322,
-0.010002115741372108,
-0.041102711111307144,
0.0012951457174494863,
0.010515044443309307,
0.01297710370272398,
0.011404122225940228,
0.006202166900038719,
-0.02833077870309353,
-0.00007119561632862315,
-0.007958948612213135,
-0.0471210777759552,
-0.053583983331918716,
-0.008142747916281223,
0.01189995277673006,
0.04794176667928696,
-0.013190824538469315,
-0.021867873147130013,
0.04394092038273811,
0.0058131953701376915,
0.002169262384995818,
-0.013113885186612606,
0.056148629635572433,
-0.0510193407535553,
0.0005642219330184162,
0.025048034265637398,
-0.024740276858210564,
-0.029117271304130554,
0.011113462038338184,
0.03593922778964043,
0.01834576204419136,
0.01143831666558981,
-0.03682830184698105,
-0.02554386481642723,
-0.012891615740954876,
-0.004552245140075684,
-0.008873672224581242,
0.007736679166555405,
-0.04541131481528282,
-0.013549874536693096,
-0.020824918523430824,
-0.035255320370197296,
-0.03294714167714119,
0.05502018705010414,
0.0281085092574358,
-0.0895916000008583,
0.004966862499713898,
-0.0020057661458849907,
0.004795886110514402,
0.008317998610436916,
0.018448347225785255,
-0.027185237035155296,
0.04428287222981453,
-0.006334673147648573,
-0.004231664352118969,
-0.05088255926966667,
-0.02007262222468853,
-0.023492148146033287,
0.04106851667165756,
0.013849083334207535,
-0.007886284030973911,
0.05549892038106918,
-0.017969613894820213,
0.030177323147654533,
0.045240338891744614,
-0.030211519449949265,
0.0016413728008046746,
0.015490456484258175,
-0.0448983870446682,
0.022996317595243454,
-0.003849104745313525,
-0.04626619815826416,
0.008206863887608051,
0.005975623149424791,
-0.020636843517422676,
0.010771509259939194,
-0.04561648890376091,
-0.030433788895606995,
-0.014550086110830307,
-0.003859790740534663,
-0.022620169445872307,
-0.04435126110911369,
0.0006961942999623716,
-0.017490878701210022,
-0.040042657405138016,
0.0012320982059463859,
-0.005488340277224779,
-0.006287654861807823,
0.04370155185461044,
0.019474204629659653,
-0.06370578706264496,
-0.06223538890480995,
-0.013900375925004482,
0.0034750939812511206,
0.019491301849484444,
-0.061825044453144073,
0.007651191204786301,
0.009882432408630848,
-0.019132252782583237,
0.045069362968206406,
0.029288247227668762,
-0.023064708337187767,
0.026073891669511795,
-0.005488340277224779,
0.012045282870531082,
-0.004471031483262777,
-0.06131211668252945,
0.016413727775216103,
-0.044624824076890945,
-0.03118608333170414,
0.0117802694439888,
-0.004723221529275179,
-0.0029771255794912577,
0.039598118513822556,
0.05402852222323418,
0.05932879075407982,
-0.01942291297018528,
0.01046375185251236,
-0.031305767595767975,
0.008228235878050327,
-0.03679410740733147,
0.06692013889551163,
0.04315442964434624,
0.04195759445428848,
0.010617630556225777,
0.0005049144965596497,
0.0020987344905734062,
-0.08213703334331512,
0.04216276481747627,
-0.03788835555315018,
0.014806550927460194,
0.047428835183382034,
-0.02096170000731945,
0.03127157315611839,
-0.0018860826967284083,
0.009514832869172096,
0.01144686620682478,
-0.00018820754485204816,
0.009796944446861744,
0.034827880561351776,
-0.023064708337187767,
-0.011942697688937187,
-0.058371320366859436,
0.03448592871427536,
-0.018499640747904778,
-0.0217994824051857,
-0.06332963705062866,
-0.02092750370502472,
0.031545136123895645,
0.0033276269678026438,
0.029202759265899658,
0.02359473519027233,
0.0020859113428741693,
-0.0066338819451630116,
-0.014550086110830307,
-0.029305344447493553,
0.010882643982768059,
-0.01166058611124754,
0.0017589190974831581,
0.04708688333630562,
-0.038059331476688385,
0.01418248750269413,
0.08418875187635422,
-0.04339379444718361,
0.05669575557112694,
-0.002187428530305624,
0.09287434816360474,
0.03243421018123627,
0.07646062225103378,
0.05635379999876022,
-0.016866816207766533,
0.027817850932478905,
0.012489821761846542,
0.002883088542148471,
-0.0031844342593103647,
-0.11441736668348312,
-0.005979897454380989,
0.0467449314892292,
-0.012686444446444511,
-0.05631960555911064,
-0.0006726850406266749,
0.08056405186653137,
0.018414150923490524,
-0.03493046760559082,
-0.036315374076366425,
0.03200677037239075,
-0.040692370384931564,
0.014558635652065277,
0.04718947038054466,
-0.03180160000920296,
0.029578907415270805,
0.039187777787446976,
-0.045445509254932404,
0.06910863518714905,
0.009207075461745262,
-0.01506301574409008,
-0.0448983870446682,
0.04270989075303078,
-0.03493046760559082,
0.007753776852041483,
0.022791145369410515,
-0.0011305810185149312,
-0.019303228706121445,
-0.04599263519048691,
0.01024148240685463,
0.0532420314848423,
0.014669769443571568,
-0.0066979979164898396,
-0.02723653055727482,
-0.016943754628300667,
0.008360742591321468,
-0.050916753709316254,
-0.019987134262919426,
-0.0034109780099242926,
0.021508824080228806,
-0.05737965926527977,
-0.0058388421311974525,
-0.002594565972685814,
-0.05129289999604225,
0.007843539118766785,
0.022739853709936142,
0.03491336852312088,
0.015285284258425236,
-0.053754959255456924,
0.057448048144578934,
0.020602649077773094,
0.015148503705859184,
-0.018670616671442986,
0.02528740093111992,
-0.0024877057876437902,
0.03293004259467125,
-0.004783063195645809,
-0.01610597036778927,
0.00882237870246172,
0.01897837407886982,
-0.026450039818882942,
-0.004500952083617449,
0.007159634027630091,
-0.00632185023277998,
-0.07598188519477844,
-0.008365017361938953,
0.04520614445209503,
-0.05430208519101143,
-0.01872190833091736,
-0.004723221529275179,
0.052455540746450424,
-0.003840555902570486,
0.007805069908499718,
0.017815735191106796,
-0.030638959258794785,
-0.005120741203427315,
0.056387998163700104,
-0.007001481018960476,
0.014037157408893108,
-0.022414997220039368,
-0.016011934727430344,
-0.029801174998283386,
-0.029151465743780136,
0.04729205369949341,
0.05108772963285446,
-0.008647128008306026,
-0.018875787034630775,
-0.04777079075574875,
-0.07557154446840286,
-0.0323658213019371,
0.004847179166972637,
-0.025800328701734543,
-0.006834778934717178,
0.0580635629594326,
0.03997426852583885,
-0.027441702783107758,
0.035494688898324966,
-0.029937956482172012,
-0.006103855092078447,
0.07283592224121094,
-0.029117271304130554,
-0.033083923161029816,
-0.05977332964539528,
-0.0198503527790308,
0.052660711109638214,
-0.051805831491947174,
-0.009779846295714378,
0.04400930926203728,
-0.006535570602864027,
-0.01566998101770878,
0.09437894076108932,
0.06880088150501251,
0.048523083329200745,
-0.01189995277673006,
0.01385763194411993,
-0.07071581482887268,
0.046129416674375534,
0.015045917592942715,
0.0030091835651546717,
-0.058371320366859436,
0.012096576392650604,
-0.013720851391553879,
0.0467449314892292,
-0.010839900001883507,
0.00101196626201272,
-0.05850810185074806,
-0.058131955564022064,
-0.0058174701407551765,
0.03515273705124855,
-0.004612086806446314,
0.014917685650289059,
0.0361785925924778,
-0.0281085092574358,
-0.016507765278220177,
-0.0012096576392650604,
0.02485995925962925,
0.009660162962973118,
0.009335308335721493,
0.0015665707178413868,
-0.041171103715896606,
0.0825473740696907,
0.026330355554819107,
-0.017832832410931587,
0.016319692134857178,
0.04301764816045761,
0.034622710198163986,
-0.08131634443998337,
0.003075436921790242,
0.032844554632902145,
-0.06042303889989853,
-0.051395487040281296,
0.010814253240823746,
0.01853383518755436,
-0.0019320326391607523,
-0.021269457414746284,
0.006492826621979475,
-0.07194684445858002,
0.023492148146033287,
0.041136905550956726,
-0.047668203711509705,
0.00041595337097533047,
0.07488763332366943,
-0.0015665707178413868,
-0.0277323629707098,
-0.037204451858997345,
0.045719072222709656,
0.008553091436624527,
0.025800328701734543,
0.00783499050885439,
-0.008236785419285297,
-0.02769816666841507,
0.0030220067128539085,
0.0036802657414227724,
0.006967285647988319,
0.02072233147919178,
0.058166150003671646,
-0.0035776798613369465,
0.01071166805922985,
-0.02097879722714424,
0.008907867595553398,
-0.006877523381263018,
0.0051036435179412365,
-0.030023444443941116,
0.0786491185426712,
0.03669152408838272,
-0.0041974689811468124,
-0.045274533331394196,
0.00019929429981857538,
-0.026894578710198402,
-0.012173515744507313,
0.052284564822912216,
-0.016866816207766533,
-0.03253679722547531,
-0.029544711112976074,
-0.027424605563282967,
-0.024347031489014626,
-0.024158956483006477,
-0.011489610187709332,
0.007052774075418711,
0.03116898611187935,
0.005411400925368071,
-0.023919589817523956,
-0.011575098149478436,
0.0580635629594326,
-0.01723441481590271,
0.03202386945486069,
-0.09513123333454132,
-0.012216259725391865,
0.07981175184249878,
0.059260398149490356,
-0.008540268056094646,
-0.03556307777762413,
0.046813320368528366,
-0.0011134834494441748,
0.03843548148870468,
-0.02817689999938011,
-0.0038320072926580906,
0.03775157406926155,
0.015131405554711819,
-0.025167716667056084,
0.03583664074540138,
-0.05666155740618706,
0.014362012036144733,
-0.004285094328224659,
0.027099749073386192,
0.036520544439554214,
-0.014438951388001442,
-0.00784781388938427,
-0.024808667600154877,
-0.03163062408566475,
-0.0014265838544815779,
-0.005697786342352629,
0.08658241480588913,
0.0015922171296551824,
-0.06726209074258804,
-0.02751009352505207,
0.07269913703203201,
0.053754959255456924,
0.01617436110973358,
0.010061957873404026,
-0.02443251945078373,
0.02222692407667637,
0.04472741112112999,
0.015328029170632362,
-0.015088661573827267,
0.005761902779340744,
-0.0031459645833820105,
-0.06179085001349449,
-0.04886503890156746,
-0.06722790002822876,
0.00430432939901948,
-0.08152151852846146,
-0.06438969075679779,
-0.028912099078297615,
-0.03298133611679077,
-0.035699859261512756,
0.00027209281688556075,
-0.015242540277540684,
0.0011957657989114523,
0.011506707407534122,
-0.003611875232309103,
-0.047668203711509705,
-0.016832619905471802,
0.0069929324090480804,
-0.016841169446706772,
-0.07393016666173935,
-0.05457564815878868,
-0.02205594815313816,
-0.006749290972948074,
-0.013413093984127045,
-0.015285284258425236,
0.032861653715372086,
-0.004851453471928835,
0.0580635629594326,
0.00032218353589996696,
0.02682618796825409,
0.045445509254932404,
-0.039632316678762436,
-0.033032629638910294,
-0.07324626296758652,
0.01068602129817009,
0.07351982593536377,
-0.015789665281772614,
0.020688137039542198,
-0.0014693279517814517,
0.009155782870948315,
0.009540479630231857,
-0.07310948520898819,
-0.006078208796679974,
0.04127368703484535,
-0.055327944457530975,
0.010856997221708298,
-0.017627660185098648,
0.0006486414931714535,
-0.002333827083930373,
-0.020671039819717407,
0.09581513702869415,
-0.05047221481800079,
0.04106851667165756,
-0.04346218705177307,
0.018704811111092567,
0.02446671389043331,
0.01834576204419136,
-0.05765322223305702,
-0.0838468000292778,
0.01307968981564045,
-0.02704845741391182,
-0.004235938657075167,
-0.03431495279073715,
0.034349147230386734,
0.010155994445085526,
0.006227813195437193,
-0.0012641563080251217,
-0.01068602129817009,
0.04318862408399582,
-0.03313521295785904,
-0.061859238892793655,
-0.01189995277673006,
-0.008578738197684288,
-0.021030088886618614,
-0.05344720184803009,
0.07967497408390045,
0.048762451857328415,
-0.0035584450233727694,
-0.024808667600154877,
-0.014139743521809578,
0.0625089481472969,
-0.03226323425769806,
-0.024141859263181686,
0.02419315278530121,
-0.034998856484889984,
-0.023235684260725975,
-0.028279487043619156,
0.02550967037677765,
0.027629775926470757,
0.015644334256649017,
-0.054233696311712265,
0.008565914817154408,
-0.04185500741004944,
-0.04370155185461044,
-0.00114661012776196,
0.04886503890156746,
0.012942909263074398,
-0.022585975006222725,
-0.027629775926470757,
0.01569562777876854,
0.0261593796312809,
0.00502242986112833,
0.0010675335070118308,
-0.004607812501490116,
-0.05519116297364235,
0.0015462673036381602,
-0.021474627777934074,
-0.042436327785253525,
0.013891827315092087,
-0.040453001856803894,
-0.04801015555858612,
0.017713148146867752,
0.03443463519215584,
0.019115155562758446,
0.042880866676568985,
-0.017815735191106796,
-0.04978831112384796,
-0.005398578010499477,
-0.0007464186055585742,
-0.017490878701210022,
-0.019132252782583237,
0.07269913703203201,
0.04130788519978523,
0.023731516674160957,
0.03812772408127785,
-0.0009996772278100252,
0.008117102086544037,
0.04123949259519577,
-0.01880739815533161,
-0.05344720184803009,
0.009036099538207054,
0.010472300462424755,
0.02574903704226017,
-0.043769944459199905,
0.015516102313995361,
0.07071581482887268,
-0.01340454537421465,
-0.006582588888704777,
0.06353481113910675,
0.03318650647997856,
0.002654407639056444,
0.059875912964344025,
-0.004710398148745298,
0.008266706019639969,
-0.026928773149847984,
-0.03245130926370621,
0.08357323706150055,
0.024706080555915833,
-0.005744805093854666,
0.0028232468757778406,
0.03012603148818016,
0.008394937962293625,
-0.06042303889989853,
0.003098946064710617,
-0.04315442964434624,
0.0004870154079981148,
-0.010856997221708298,
-0.04424867779016495,
0.027441702783107758,
0.01612306945025921,
-0.0217994824051857,
-0.014037157408893108,
0.003007046412676573,
-0.06179085001349449,
0.03713605925440788,
-0.053583983331918716,
0.025680646300315857,
-0.043086037039756775,
-0.03381912037730217,
-0.012207710184156895,
0.05238715186715126,
0.05478081852197647,
-0.0006662734085693955,
-0.023646026849746704,
0.008488975465297699,
-0.011942697688937187,
0.014173938892781734,
-0.035221125930547714,
0.0190125685185194,
-0.03768318518996239,
-0.023269880563020706,
0.014507342129945755,
0.049206990748643875,
-0.011275889351963997,
-0.02205594815313816,
-0.0037037748843431473,
0.007574251852929592,
0.07693935185670853,
-0.03990587592124939,
0.0397007055580616,
0.013806339353322983,
-0.005065173842012882
] |
10,292 | fractions | __floordiv__ | a // b | def _operator_fallbacks(monomorphic_operator, fallback_operator):
"""Generates forward and reverse operators given a purely-rational
operator and a function from the operator module.
Use this like:
__op__, __rop__ = _operator_fallbacks(just_rational_op, operator.op)
In general, we want to implement the arithmetic operations so
that mixed-mode operations either call an implementation whose
author knew about the types of both arguments, or convert both
to the nearest built in type and do the operation there. In
Fraction, that means that we define __add__ and __radd__ as:
def __add__(self, other):
# Both types have numerators/denominator attributes,
# so do the operation directly
if isinstance(other, (int, Fraction)):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
# float and complex don't have those operations, but we
# know about those types, so special case them.
elif isinstance(other, float):
return float(self) + other
elif isinstance(other, complex):
return complex(self) + other
# Let the other type take over.
return NotImplemented
def __radd__(self, other):
# radd handles more types than add because there's
# nothing left to fall back to.
if isinstance(other, numbers.Rational):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
elif isinstance(other, Real):
return float(other) + float(self)
elif isinstance(other, Complex):
return complex(other) + complex(self)
return NotImplemented
There are 5 different cases for a mixed-type addition on
Fraction. I'll refer to all of the above code that doesn't
refer to Fraction, float, or complex as "boilerplate". 'r'
will be an instance of Fraction, which is a subtype of
Rational (r : Fraction <: Rational), and b : B <:
Complex. The first three involve 'r + b':
1. If B <: Fraction, int, float, or complex, we handle
that specially, and all is well.
2. If Fraction falls back to the boilerplate code, and it
were to return a value from __add__, we'd miss the
possibility that B defines a more intelligent __radd__,
so the boilerplate should return NotImplemented from
__add__. In particular, we don't handle Rational
here, even though we could get an exact answer, in case
the other type wants to do something special.
3. If B <: Fraction, Python tries B.__radd__ before
Fraction.__add__. This is ok, because it was
implemented with knowledge of Fraction, so it can
handle those instances before delegating to Real or
Complex.
The next two situations describe 'b + r'. We assume that b
didn't know about Fraction in its implementation, and that it
uses similar boilerplate code:
4. If B <: Rational, then __radd_ converts both to the
builtin rational type (hey look, that's us) and
proceeds.
5. Otherwise, __radd__ tries to find the nearest common
base ABC, and fall back to its builtin type. Since this
class doesn't subclass a concrete type, there's no
implementation to fall back to, so we need to try as
hard as possible to return an actual value, or the user
will get a TypeError.
"""
def forward(a, b):
if isinstance(b, (int, Fraction)):
return monomorphic_operator(a, b)
elif isinstance(b, float):
return fallback_operator(float(a), b)
elif isinstance(b, complex):
return fallback_operator(complex(a), b)
else:
return NotImplemented
forward.__name__ = '__' + fallback_operator.__name__ + '__'
forward.__doc__ = monomorphic_operator.__doc__
def reverse(b, a):
if isinstance(a, numbers.Rational):
# Includes ints.
return monomorphic_operator(a, b)
elif isinstance(a, numbers.Real):
return fallback_operator(float(a), float(b))
elif isinstance(a, numbers.Complex):
return fallback_operator(complex(a), complex(b))
else:
return NotImplemented
reverse.__name__ = '__r' + fallback_operator.__name__ + '__'
reverse.__doc__ = monomorphic_operator.__doc__
return forward, reverse
| (a, b) | [
-0.03859762102365494,
-0.06188410148024559,
-0.0011350512504577637,
0.05616593360900879,
0.011097756214439869,
-0.012847064062952995,
-0.03622759133577347,
-0.023474575951695442,
-0.027104860171675682,
-0.014840898104012012,
0.07467473298311234,
0.012546108104288578,
0.0520654059946537,
0.032634928822517395,
-0.020145248621702194,
0.05274255946278572,
0.01366528868675232,
0.004356809891760349,
0.0027227122336626053,
-0.001199709833599627,
-0.005990907549858093,
0.009404878132045269,
0.041005268692970276,
0.07241756469011307,
-0.005393697880208492,
0.05594021826982498,
-0.00014526129234582186,
-0.021762888878583908,
-0.06286220997571945,
0.012658966705203056,
0.003769004950299859,
-0.01904487796127796,
-0.001985604874789715,
-0.02815820649266243,
0.007105385418981314,
-0.016787707805633545,
-0.019336430355906487,
0.07700714468955994,
-0.15649718046188354,
-0.005835726857185364,
-0.007185326889157295,
-0.030076801776885986,
0.02181931771337986,
-0.04299910366535187,
-0.027593912556767464,
-0.029587747529149055,
-0.01110716164112091,
-0.030415376648306847,
0.027067240327596664,
-0.015555668622255325,
0.02665342576801777,
-0.05575212091207504,
0.0197878647595644,
0.0203145369887352,
-0.043525777757167816,
0.029136313125491142,
-0.01954333670437336,
0.013505405746400356,
-0.07501330971717834,
0.002062019659206271,
-0.009724644012749195,
-0.0004338000144343823,
-0.05293065682053566,
0.0005140354041941464,
0.004342702683061361,
0.007641463540494442,
-0.040365736931562424,
-0.05112491920590401,
-0.02230837196111679,
0.0036702537909150124,
-0.062486011534929276,
0.0042321952059865,
0.03284183517098427,
-0.028553210198879242,
-0.020164059475064278,
-0.006592819932848215,
0.032634928822517395,
0.0047917854972183704,
0.036754265427589417,
-0.008610166609287262,
-0.02631484903395176,
-0.003371648956090212,
-0.007994147017598152,
-0.013270283117890358,
-0.0008922878187149763,
-0.06707559525966644,
0.001975024351850152,
0.008487902581691742,
-0.00895344465970993,
-0.051350634545087814,
-0.06007836386561394,
-0.06955847889184952,
0.03342493623495102,
0.009221483021974564,
0.024509113281965256,
0.022458849474787712,
-0.005459532141685486,
0.008962849155068398,
0.014361249282956123,
-0.0430743433535099,
-0.03293588384985924,
0.06647367775440216,
-0.02917393296957016,
-0.02849678136408329,
0.05180206894874573,
0.0015906000044196844,
0.02003239095211029,
-0.014643395319581032,
-0.04920632392168045,
0.0009681146475486457,
-0.04668581485748291,
-0.023436956107616425,
-0.03114895708858967,
0.0011362269287928939,
-0.008149326778948307,
0.005379590671509504,
-0.051501113921403885,
0.0008358585764653981,
0.060793135315179825,
0.012734205462038517,
-0.04950727894902229,
0.006301268469542265,
-0.019618576392531395,
0.0030542341992259026,
0.043563395738601685,
-0.004298029467463493,
0.10571083426475525,
0.022872664034366608,
-0.06722606718540192,
0.042209092527627945,
0.012489678338170052,
0.024565542116761208,
-0.017116878181695938,
0.03564449027180672,
-0.02622080035507679,
0.07885050028562546,
-0.03028370812535286,
0.01855582557618618,
-0.008186946623027325,
0.0110037075355649,
-0.004015882965177298,
-0.051651593297719955,
-0.0056241173297166824,
0.06278696656227112,
-0.0476263053715229,
0.031280625611543655,
0.034948527812957764,
0.011925386264920235,
0.014361249282956123,
0.02336171828210354,
-0.006653951480984688,
0.04044097661972046,
0.03605830296874046,
-0.027255337685346603,
0.046572957187891006,
-0.01514185406267643,
0.06703796982765198,
0.026691045612096786,
-0.059438832104206085,
-0.014596370980143547,
0.0039006732404232025,
-0.012423844076693058,
-0.01772819645702839,
-0.04156956076622009,
0.03523067384958267,
-0.014286010526120663,
0.006470556370913982,
-0.08712679147720337,
0.020765971392393112,
0.04747582599520683,
0.02704842947423458,
-0.04326244071125984,
0.0428486242890358,
-0.01521709281951189,
-0.012743609957396984,
-0.005163278430700302,
0.0019303512526676059,
0.00943309348076582,
-0.036979980766773224,
-0.01852761022746563,
0.07433615624904633,
-0.016599610447883606,
-0.09532784670591354,
-0.05262969806790352,
0.027537483721971512,
0.053193993866443634,
0.004102878272533417,
-0.048980604857206345,
0.014690419659018517,
0.010730965994298458,
0.017069853842258453,
-0.01637389324605465,
0.03378232195973396,
0.010382985696196556,
0.012753015384078026,
-0.057256899774074554,
0.029098693281412125,
-0.018612254410982132,
0.11248234659433365,
0.044391024857759476,
-0.0576707161962986,
0.022082654759287834,
0.07700714468955994,
0.047438208013772964,
-0.01633627340197563,
-0.024828879162669182,
-0.04770154505968094,
0.04077955335378647,
-0.03656616806983948,
-0.03062228485941887,
0.003082448849454522,
-0.010787395760416985,
0.013778147287666798,
0.03671664372086525,
-0.029192741960287094,
0.02738700620830059,
0.07388472557067871,
-0.0017763463547453284,
-0.006569307763129473,
0.014238986186683178,
0.00043438782449811697,
0.017718790099024773,
-0.001849234220571816,
-0.019562147557735443,
0.04363863542675972,
-0.014474107883870602,
-0.031807299703359604,
0.006188409868627787,
0.03344374895095825,
0.02166884019970894,
0.04736296832561493,
-0.0208976399153471,
-0.010082029737532139,
-0.05349494889378548,
0.04277338832616806,
0.010514654219150543,
0.015094829723238945,
0.002325356239452958,
0.027838440611958504,
0.03101728856563568,
-0.023060761392116547,
-0.0003041890449821949,
-0.011417522095143795,
0.04040335863828659,
0.022609326988458633,
-0.0621098168194294,
0.03184491768479347,
-0.014887922443449497,
0.012442653998732567,
-0.017248546704649925,
0.024396253749728203,
-0.028872976079583168,
0.029192741960287094,
-0.04318720102310181,
0.01710747368633747,
-0.007020741701126099,
-0.06805370002985,
-0.022383609786629677,
0.013561834581196308,
0.0007036024471744895,
0.011436332017183304,
0.05308113247156143,
0.0032070635352283716,
-0.0132796885445714,
-0.046911533921957016,
-0.05631641298532486,
-0.03438423573970795,
-0.001556507428176701,
0.036603786051273346,
0.0474005863070488,
0.039124295115470886,
-0.02956893853843212,
-0.051839690655469894,
0.035776156932115555,
-0.012094673700630665,
0.01889440044760704,
0.028760118409991264,
0.04909346625208855,
-0.003075395245105028,
-0.07794763147830963,
-0.0259762741625309,
-0.026258420199155807,
-0.03415851667523384,
-0.03301112353801727,
-0.03754427284002304,
0.08660011738538742,
-0.02240242063999176,
-0.06504414230585098,
0.04999633505940437,
-0.035926636308431625,
0.10104601085186005,
-0.01831129752099514,
0.02274099551141262,
0.04702439159154892,
0.024979356676340103,
0.022628137841820717,
-0.05481163039803505,
-0.051839690655469894,
0.07068706303834915,
-0.019120117649435997,
-0.02163122035562992,
-0.019280001521110535,
0.06933276355266571,
0.030603474006056786,
0.007326400373131037,
-0.051990166306495667,
0.03357541561126709,
0.014972566626966,
-0.04785202071070671,
0.02452792227268219,
-0.009038087911903858,
-0.006842048838734627,
-0.047776781022548676,
-0.006992527283728123,
0.045406751334667206,
-0.020916448906064034,
0.02341814711689949,
0.025129834190011024,
0.017916293814778328,
0.023737912997603416,
0.025430791079998016,
0.04924394190311432,
-0.05601545423269272,
0.024847688153386116,
-0.03901143744587898,
-0.011887766420841217,
-0.030020371079444885,
-0.023625055328011513,
0.04875488951802254,
0.01898844912648201,
-0.03284183517098427,
0.011906576342880726,
-0.011342283338308334,
0.054548293352127075,
-0.02898583561182022,
-0.021405503153800964,
0.03551281988620758,
0.018132604658603668,
0.005948585458099842,
0.030753951519727707,
0.03859762102365494,
-0.0069643124006688595,
-0.01550864428281784,
-0.018734518438577652,
-0.01155859511345625,
0.014963161200284958,
0.017041640356183052,
0.01390981487929821,
0.032823026180267334,
-0.02379434183239937,
-0.0005637048743665218,
-0.0231171902269125,
-0.04988347366452217,
-0.034515902400016785,
0.008012956008315086,
0.012094673700630665,
-0.08584772795438766,
0.026164371520280838,
0.04273576661944389,
-0.03748784586787224,
0.050635866820812225,
0.019430479034781456,
0.0047024390660226345,
0.058272626250982285,
0.007020741701126099,
-0.032540880143642426,
-0.018442966043949127,
0.028289875015616417,
-0.03310517221689224,
-0.07373424619436264,
0.00640942482277751,
-0.043036725372076035,
0.028082966804504395,
-0.014427083544433117,
-0.051501113921403885,
0.05684308335185051,
0.04108050838112831,
0.007994147017598152,
0.0052008978091180325,
0.0046483613550662994,
0.044767219573259354,
0.006179004907608032,
-0.04299910366535187,
0.0065269856713712215,
0.024640781804919243,
0.02108573727309704,
0.012931708246469498,
0.034666381776332855,
0.006080253981053829,
-0.0007506268448196352,
-0.029249172657728195,
-0.017427239567041397,
0.007157112471759319,
-0.01901666447520256,
-0.07546474784612656,
0.01337373722344637,
0.033838752657175064,
0.028195826336741447,
-0.07478759437799454,
0.0009381365962326527,
0.06797846406698227,
0.020352156832814217,
0.032239921391010284,
0.025336742401123047,
0.027951298281550407,
0.013016351498663425,
0.034666381776332855,
0.06195933744311333,
-0.010862634517252445,
0.048115357756614685,
-0.024828879162669182,
-0.060304079204797745,
-0.02249646931886673,
0.022609326988458633,
-0.03677307441830635,
0.027349386364221573,
-0.014351844787597656,
-0.02065311372280121,
0.0017998586408793926,
0.011031921952962875,
0.05748261511325836,
0.00648466357961297,
-0.0011203561443835497,
0.06034170091152191,
-0.008864098228514194,
0.015395785681903362,
0.041870519518852234,
-0.00005940503251622431,
-0.08502010256052017,
0.05744499713182449,
0.02834630385041237,
-0.0678279846906662,
-0.008229268714785576,
-0.011031921952962875,
0.03199539706110954,
-0.053193993866443634,
-0.021593600511550903,
0.020013581961393356,
-0.01627984456717968,
0.00850671250373125,
0.023211240768432617,
0.011257639154791832,
-0.014925542287528515,
-0.03062228485941887,
-0.001935053733177483,
-0.03585139662027359,
0.060304079204797745,
-0.00881707388907671,
-0.04943203926086426,
0.009687025099992752,
0.027255337685346603,
-0.01714509353041649,
0.024546733126044273,
0.059438832104206085,
0.0362464003264904,
-0.012950517237186432,
0.05018443241715431,
0.009428390301764011,
-0.03255968913435936,
-0.02520507387816906,
0.023587435483932495,
-0.01281884964555502,
-0.031337056308984756,
-0.02471601963043213,
-0.025092216208577156,
0.15160663425922394,
0.05025966838002205,
-0.00927791278809309,
-0.04367625713348389,
0.009381365962326527,
0.009809288196265697,
0.005219707731157541,
-0.015734361484646797,
-0.015480429865419865,
-0.022082654759287834,
0.05782119184732437,
-0.053193993866443634,
-0.0464600995182991,
0.004319190513342619,
-0.042209092527627945,
0.0016752439551055431,
-0.011426927521824837,
-0.016449132934212685,
-0.023154810070991516,
0.011473951861262321,
-0.013618264347314835,
0.026502948254346848,
0.047287728637456894,
0.042209092527627945,
-0.021856937557458878,
0.015546264126896858,
0.05157635360956192,
-0.011238829232752323,
-0.016872351989150047,
-0.049469660967588425,
0.02631484903395176,
-0.07636760920286179,
-0.053005896508693695,
0.051651593297719955,
-0.03938763216137886,
0.028459161520004272,
-0.04314958304166794,
-0.03754427284002304,
0.044052451848983765,
0.053043514490127563,
0.02781962975859642,
-0.009875122457742691,
0.03150634095072746,
-0.02119859680533409,
0.03336850926280022,
-0.018236059695482254,
0.022120274603366852,
-0.004617795348167419,
0.01081561017781496,
0.01671246811747551,
0.022947903722524643,
0.040478598326444626,
-0.006837346591055393,
-0.03842833265662193,
-0.07095040380954742,
0.0474005863070488,
-0.04431578516960144,
-0.05247922241687775,
0.017925698310136795,
-0.015442810021340847,
-0.026013894006609917,
-0.08374103903770447,
-0.04183289781212807,
0.024659590795636177,
-0.017436644062399864,
-0.020070010796189308,
0.007632059045135975,
-0.03773237392306328,
0.040666695684194565,
-0.03208944573998451,
0.022609326988458633,
-0.009560058824717999,
0.03575734794139862,
0.08306388556957245,
0.02381315268576145,
-0.005859239026904106,
0.06004074215888977,
0.006959610152989626,
0.0049516684375703335,
-0.0059297760017216206,
-0.022383609786629677,
-0.005454829428344965,
-0.016044722869992256,
0.014464703388512135,
0.007801346480846405,
-0.04939442127943039,
-0.025468410924077034,
-0.005906263832002878,
0.07207898795604706,
0.03293588384985924,
-0.022759806364774704,
0.03677307441830635,
0.06271173059940338,
-0.008205756545066833,
-0.0032399806659668684,
-0.022440040484070778,
-0.01449291780591011,
0.001868044026196003,
-0.05868644267320633,
-0.025750556960701942,
0.039124295115470886,
0.039500489830970764,
0.012658966705203056,
0.003524478292092681,
-0.0027015514206141233,
-0.002536965999752283,
-0.018640469759702682,
0.035832587629556656,
-0.06429174542427063,
0.0006160195334814489,
0.0028849465306848288,
-0.011671453714370728,
-0.02206384390592575,
0.015546264126896858,
-0.012781229801476002,
-0.03479804843664169,
-0.014840898104012012,
0.021029308438301086,
-0.04570771008729935,
0.029117504134774208,
-0.03649092838168144,
0.028026537969708443,
0.059777408838272095,
-0.021856937557458878,
-0.0361335426568985,
-0.057068802416324615,
-0.0076179513707757,
0.050786342471838,
-0.053871143609285355,
-0.022477658465504646,
-0.011520976200699806,
-0.06470556557178497,
0.018903804942965508,
0.01756831258535385,
-0.01521709281951189,
0.014633990824222565,
-0.0158190056681633,
0.020145248621702194,
-0.0441276878118515,
-0.023888390511274338,
0.0038183806464076042,
-0.05635403096675873,
0.005826322361826897,
-0.030358947813510895,
-0.0498458556830883,
0.029531318694353104,
-0.017831649631261826,
-0.0028496780432760715,
0.007519200444221497,
0.03634044900536537,
-0.027405815199017525,
-0.040854793041944504,
0.031374674290418625,
-0.0045731221325695515,
0.054209720343351364,
-0.033067554235458374,
-0.0009487171191722155,
-0.05646688863635063,
0.02868487872183323,
-0.04273576661944389,
0.09224304556846619,
0.02603270299732685,
0.015471025370061398,
0.02157479152083397,
-0.020878830924630165,
0.0014130829367786646,
0.030358947813510895,
0.04044097661972046,
-0.002915512304753065,
-0.08667536079883575,
-0.07648047059774399,
0.030227279290556908,
0.03188253939151764,
0.01757771708071232,
-0.0049516684375703335,
-0.0018186683300882578,
-0.022440040484070778,
-0.01344897598028183,
-0.01852761022746563,
0.008083493448793888,
0.027650343254208565,
-0.031807299703359604,
-0.04108050838112831,
0.02501697652041912,
0.04804011806845665,
-0.03541877120733261,
0.05560164153575897,
-0.007152410224080086,
-0.017060449346899986,
0.008111707866191864,
0.02403886988759041,
0.02956893853843212,
-0.022120274603366852,
0.009752859361469746,
0.030735142529010773,
-0.017587123438715935,
-0.04416530951857567,
-0.0008781804936006665,
0.05718166008591652,
-0.017370810732245445,
0.0600031241774559,
-0.03192015737295151,
-0.011351687833666801,
0.05530068650841713,
-0.060266461223363876,
-0.0055206636898219585,
0.00008868506120052189,
-0.012790634296834469,
0.0002806768461596221,
-0.026051513850688934,
0.030697522684931755,
0.031807299703359604,
0.017502479255199432,
-0.02323004975914955,
-0.009066302329301834,
-0.01705104485154152,
0.013881600461900234,
-0.034026850014925,
-0.007237053941935301,
-0.03201420605182648,
-0.057934049516916275,
0.005243219900876284,
0.038973815739154816,
-0.012301580980420113,
-0.03859762102365494,
0.03555044159293175,
0.01710747368633747,
0.04548199102282524,
-0.03289826586842537,
-0.022120274603366852,
-0.000742397562135011,
-0.05281779542565346,
0.0030730441212654114,
0.025825796648859978,
-0.04044097661972046,
0.03327446058392525,
-0.034421853721141815,
-0.04096765071153641,
-0.040516216307878494,
0.04093002900481224,
0.027894869446754456,
-0.018819160759449005,
-0.03605830296874046,
0.04239719361066818,
-0.05819738656282425,
-0.03348136693239212,
0.04871727153658867,
0.002640419639647007,
-0.05360780656337738,
0.00472360011190176,
-0.024904118850827217,
0.08193530142307281,
0.07885050028562546,
-0.035193055868148804,
0.028760118409991264,
-0.04578294977545738,
-0.0027227122336626053,
0.08328960090875626,
0.027744391933083534,
0.043751493096351624,
-0.0008628976065665483,
0.03756308555603027,
-0.054021622985601425,
-0.03654735907912254,
0.030509425327181816,
-0.0005178560968488455,
0.09547832608222961,
0.02849678136408329,
0.028967024758458138,
-0.020822400227189064,
-0.03893619775772095,
0.030885620042681694,
-0.05936359241604805,
-0.020295727998018265,
0.022233132272958755,
-0.03415851667523384,
-0.03419613838195801,
-0.0050269076600670815,
-0.019120117649435997,
0.035437580198049545,
-0.002551073208451271,
0.07245518267154694,
0.02052144519984722,
0.0002241006150143221,
0.05864882096648216,
0.04104289039969444,
-0.07271852344274521,
0.03449709340929985,
0.014577561058104038,
-0.03319922089576721,
0.016242224723100662,
0.013289093039929867,
-0.004015882965177298,
0.0004320366133470088,
-0.039124295115470886,
-0.07712000608444214,
-0.017587123438715935,
0.0220074150711298,
0.008008253760635853,
0.015574478544294834,
-0.012734205462038517,
0.004258058499544859,
0.045594848692417145
] |
10,293 | fractions | __ge__ | a >= b | def __ge__(a, b):
"""a >= b"""
return a._richcmp(b, operator.ge)
| (a, b) | [
0.001915826229378581,
0.007380124181509018,
-0.01805385760962963,
0.03417337313294411,
-0.013287708163261414,
-0.02662769705057144,
-0.04534376040101051,
-0.014768960885703564,
-0.03642139211297035,
-0.0798133835196495,
0.04520434886217117,
-0.03586374223232269,
0.057368047535419464,
-0.020023051649332047,
-0.058971285820007324,
0.016293780878186226,
-0.04133566468954086,
-0.03910507261753082,
0.003282717429101467,
0.005306370090693235,
-0.05022318288683891,
0.018733490258455276,
0.029764467850327492,
0.009192480705678463,
0.03563719987869263,
0.0634324699640274,
-0.002195739420130849,
-0.011231381446123123,
-0.013880209997296333,
0.019883640110492706,
-0.06663894653320312,
-0.0449603796005249,
0.00968913547694683,
-0.04178875312209129,
0.05454495549201965,
-0.018803196027874947,
0.03141998499631882,
0.029381083324551582,
-0.030078144744038582,
-0.013592672534286976,
-0.008983362466096878,
-0.042729783803224564,
0.010386195965111256,
-0.004236818756908178,
-0.012050426565110683,
-0.03218675032258034,
0.005044972524046898,
-0.04422846436500549,
0.03525381535291672,
0.03635168448090553,
0.010943843983113766,
-0.03147226572036743,
0.04534376040101051,
0.027621006593108177,
-0.10428019613027573,
0.023543205112218857,
0.026836814358830452,
0.04928215220570564,
-0.06883468478918076,
0.021591437980532646,
-0.01633734628558159,
0.012398957274854183,
-0.011684469878673553,
-0.05179156735539436,
0.007981338538229465,
0.012608074583113194,
-0.07869809120893478,
-0.021521730348467827,
-0.028858289122581482,
0.04018551483750343,
-0.07207601517438889,
0.027568727731704712,
0.002908047754317522,
-0.016982126981019974,
-0.06712689250707626,
0.04576199874281883,
-0.03377256169915199,
0.03882624953985214,
0.014681829139590263,
-0.024379678070545197,
0.046424202620983124,
-0.04137051850557327,
0.0756310224533081,
-0.005005762912333012,
-0.004604953341186047,
-0.013052450492978096,
0.01178031601011753,
0.019604815170168877,
0.06458262354135513,
0.023856882005929947,
-0.04799259081482887,
0.09103605151176453,
0.04189331457018852,
-0.02478048764169216,
0.0630839392542839,
0.027499021962285042,
-0.0039863125421106815,
0.059633493423461914,
0.014681829139590263,
0.03537579998373985,
0.0752824917435646,
0.025704091414809227,
0.01036876905709505,
-0.04049919173121452,
0.005284586921334267,
-0.0015215515159070492,
0.021033789962530136,
-0.030043290928006172,
-0.01916915364563465,
-0.01658131740987301,
-0.028440052643418312,
-0.028422625735402107,
-0.026610270142555237,
-0.0046920860186219215,
-0.024344824254512787,
0.049944356083869934,
0.03617741912603378,
0.0063519603572785854,
0.06730115413665771,
-0.004770505242049694,
0.0004302167799323797,
-0.021608863025903702,
0.04266007989645004,
0.031019175425171852,
0.00298864534124732,
-0.00043920232565142214,
0.03248300030827522,
0.007715584244579077,
-0.0484456792473793,
-0.021626289933919907,
0.0655236542224884,
-0.011449212208390236,
-0.00032211802317760885,
0.02742931619286537,
0.03823374584317207,
-0.014533703215420246,
0.01948283053934574,
0.0630839392542839,
0.053464509546756744,
0.003934033215045929,
-0.010377482511103153,
-0.02655799128115177,
-0.0005963131552562118,
-0.006835545878857374,
-0.002426640596240759,
-0.0071535794995725155,
-0.03126314654946327,
0.03270954638719559,
0.0006622071377933025,
0.0672663003206253,
-0.005850948393344879,
-0.002786062192171812,
0.04614537954330444,
-0.02004047855734825,
0.010708586312830448,
0.015161057934165001,
-0.0261397548019886,
-0.053464509546756744,
0.00724071217700839,
-0.0043261293321847916,
0.05761202052235603,
0.03244815021753311,
-0.021695995703339577,
0.010464615188539028,
0.026784535497426987,
-0.011283660307526588,
-0.026192033663392067,
0.012181125581264496,
-0.021800555288791656,
0.04314802214503288,
0.024344824254512787,
-0.004805358126759529,
-0.04523920267820358,
0.0017731466796249151,
-0.005288943648338318,
-0.014028334990143776,
0.00006810631020925939,
0.08246221393346786,
0.002718534553423524,
-0.0015215515159070492,
-0.008159959688782692,
0.01623278670012951,
-0.04311316832900047,
0.005018833093345165,
0.03333690017461777,
-0.0029015126638114452,
0.018489519134163857,
-0.013976055197417736,
-0.015579293482005596,
0.049979209899902344,
-0.05485863238573074,
-0.03969757258892059,
0.024519089609384537,
-0.024989604949951172,
0.027812698855996132,
0.017226098105311394,
-0.03250042721629143,
0.014028334990143776,
0.03920963034033775,
0.08657486736774445,
-0.021120920777320862,
0.00014159033889882267,
-0.01815841533243656,
-0.025599533692002296,
0.0710652768611908,
-0.006173338741064072,
-0.016990840435028076,
-0.03962786868214607,
0.004097406752407551,
-0.057890843600034714,
-0.03896566107869148,
0.0013102551456540823,
-0.029102260246872902,
0.04746979475021362,
0.022968130186200142,
0.03270954638719559,
0.03575918450951576,
-0.002733782632276416,
0.00899207592010498,
-0.0016892816638574004,
0.053847894072532654,
-0.04140537232160568,
0.03896566107869148,
-0.025721518322825432,
0.051547594368457794,
0.010386195965111256,
-0.01000281237065792,
0.021347466856241226,
-0.017269665375351906,
0.0020062262192368507,
0.045134641230106354,
0.022497614845633507,
0.05792569741606712,
-0.03499241918325424,
-0.03980213403701782,
-0.007297348231077194,
-0.03352859243750572,
0.08099838346242905,
-0.059772904962301254,
0.03473101928830147,
0.007902919314801693,
0.06803306937217712,
0.00968913547694683,
0.011004836298525333,
0.025268429890275,
-0.11229638755321503,
-0.009610716253519058,
-0.00017154213855974376,
0.03802463039755821,
0.05614819377660751,
-0.060853347182273865,
-0.059006139636039734,
-0.024327397346496582,
-0.011004836298525333,
-0.015527014620602131,
0.02115577459335327,
-0.027899831533432007,
-0.08113779872655869,
0.016110802069306374,
0.0186463575810194,
-0.003718380117788911,
0.03994154557585716,
-0.04621508717536926,
0.021905114874243736,
0.008469280786812305,
-0.00403423560783267,
0.0425206683576107,
0.0048750643618404865,
0.03722301125526428,
0.053011421114206314,
0.008238378912210464,
-0.07158807665109634,
-0.0033023222349584103,
0.0198662132024765,
-0.03910507261753082,
-0.020685259252786636,
0.05618304759263992,
-0.04053404554724693,
-0.018106136471033096,
-0.015770984813570976,
0.0011403467506170273,
0.019569963216781616,
-0.10170107334852219,
0.007384480442851782,
-0.057368047535419464,
0.013915062882006168,
-0.03209961950778961,
-0.059598639607429504,
-0.01766176149249077,
-0.04760920628905296,
0.01958739012479782,
-0.0034417342394590378,
0.01662488467991352,
-0.01312215719372034,
0.06311879307031631,
-0.03352859243750572,
0.043531402945518494,
-0.017679186537861824,
0.056217897683382034,
0.03805948421359062,
0.0177663192152977,
-0.059075843542814255,
-0.014141607098281384,
-0.011240094900131226,
0.010203217156231403,
0.009053068235516548,
0.010063805617392063,
0.047086410224437714,
-0.060330554842948914,
0.004206322133541107,
-0.029032554477453232,
-0.011684469878673553,
-0.002664076630026102,
-0.018698638305068016,
-0.014899659901857376,
0.020301876589655876,
0.0004824963107239455,
0.01036876905709505,
-0.03687448054552078,
0.00998538639396429,
-0.00012007949408143759,
0.042904049158096313,
0.01718253269791603,
0.0026553634088486433,
-0.0337899886071682,
-0.061689820140600204,
-0.052837155759334564,
0.010569173842668533,
0.026610270142555237,
0.02408342808485031,
-0.025146443396806717,
0.024797914549708366,
0.11689697951078415,
0.005384789314121008,
0.018106136471033096,
0.04712126404047012,
0.06294453144073486,
0.029555348679423332,
-0.03596830368041992,
-0.03305807709693909,
-0.04827141389250755,
0.02237563021481037,
-0.003995025996118784,
-0.015370175242424011,
0.0021358358208090067,
-0.014829954132437706,
-0.0717971920967102,
0.016537752002477646,
0.030095571652054787,
-0.03621227294206619,
0.0016914599109441042,
-0.01784473843872547,
0.015675138682127,
-0.012163698673248291,
0.0160236693918705,
0.0011948045575991273,
0.027882404625415802,
0.004389300476759672,
0.02791725844144821,
0.0386868380010128,
0.011457925662398338,
-0.005798669066280127,
-0.0214345995336771,
0.0056810397654771805,
-0.06716174632310867,
-0.014664402231574059,
-0.0189948882907629,
0.0011653973488137126,
-0.057193782180547714,
0.0013919419143348932,
-0.00930575281381607,
-0.0327618271112442,
0.05569510534405708,
-0.010281636379659176,
-0.0693574845790863,
-0.025860929861664772,
-0.03851257264614105,
-0.003182515036314726,
-0.04279949143528938,
0.00022654453641735017,
0.06629041582345963,
0.03746698051691055,
-0.02864917181432247,
0.0023264382034540176,
0.00425860146060586,
0.008403930813074112,
0.005171314813196659,
-0.00813817698508501,
0.04346169903874397,
0.011623477563261986,
0.0009268721332773566,
-0.04830626770853996,
-0.051408182829618454,
0.03438249230384827,
-0.060365404933691025,
-0.028248362243175507,
0.02349092625081539,
-0.056252751499414444,
-0.018384961411356926,
-0.056566428393125534,
0.03788521885871887,
0.08755075186491013,
-0.02519872412085533,
-0.020057905465364456,
0.03844286501407623,
0.03795492276549339,
0.07360954582691193,
0.0724942535161972,
-0.04387993365526199,
0.09445164352655411,
-0.08915399014949799,
-0.010534320957958698,
-0.08030132949352264,
-0.01784473843872547,
-0.04684244096279144,
-0.03443476930260658,
0.0001659602130530402,
0.007380124181509018,
0.013749510981142521,
-0.04680758714675903,
-0.009784981608390808,
-0.050920240581035614,
-0.010769578628242016,
-0.057228635996580124,
0.005650543607771397,
-0.03312778100371361,
0.002672789851203561,
-0.01679914817214012,
-0.028806010261178017,
0.03049638122320175,
-0.0130698774009943,
0.004127902910113335,
0.010969983413815498,
-0.0027141778264194727,
0.04196301847696304,
-0.005079825408756733,
-0.02565181255340576,
-0.03525381535291672,
0.028614317998290062,
-0.014446571469306946,
0.061410997062921524,
0.0035593633074313402,
0.047260675579309464,
-0.027742993086576462,
-0.03617741912603378,
-0.01085671130567789,
0.046110525727272034,
0.0038643269799649715,
0.051408182829618454,
-0.04457699507474899,
0.006504442077130079,
0.015126205049455166,
-0.012817192822694778,
0.023368939757347107,
0.002146727405488491,
-0.05151274427771568,
-0.04558773338794708,
-0.04206757992506027,
-0.0007820143364369869,
0.01906459406018257,
-0.015030358918011189,
0.004944770131260157,
-0.023752324283123016,
0.008534629829227924,
-0.08343809843063354,
0.0644780620932579,
0.010290349833667278,
-0.009959246031939983,
-0.015448595397174358,
0.018524372950196266,
0.007567458786070347,
-0.03532352298498154,
-0.055764809250831604,
0.009941820055246353,
-0.02446681074798107,
0.060539670288562775,
-0.07092586904764175,
-0.012372816912829876,
0.011283660307526588,
-0.03778065741062164,
0.009854687377810478,
0.014690541662275791,
0.0022806935012340546,
-0.008268876001238823,
0.04583170264959335,
-0.03202991187572479,
-0.03183821961283684,
0.03476587310433388,
-0.006103632505983114,
-0.07078645378351212,
0.04360111057758331,
-0.022654453292489052,
-0.010534320957958698,
0.061724673956632614,
0.00876553077250719,
-0.01460340991616249,
0.0003833830705843866,
-0.008090253919363022,
0.0126342149451375,
0.01710411347448826,
-0.01801900379359722,
0.053046274930238724,
-0.06646468490362167,
0.003805512562394142,
0.062212616205215454,
0.027882404625415802,
0.0826016217470169,
-0.002487633377313614,
-0.0018777056830003858,
0.030513806268572807,
0.018384961411356926,
-0.057402901351451874,
0.03178594261407852,
0.04168419539928436,
0.02000562474131584,
0.013819216750562191,
0.00551548833027482,
-0.0355500653386116,
-0.006338890641927719,
-0.0007008721586316824,
0.07709485292434692,
0.0009927661158144474,
-0.03370285779237747,
-0.07960426807403564,
-0.01282590627670288,
-0.050815682858228683,
-0.012459949590265751,
0.004064731765538454,
0.028980273753404617,
0.028701450675725937,
0.002596548991277814,
-0.03861713036894798,
0.03361572325229645,
-0.02014503814280033,
-0.0874810442328453,
0.06440835446119308,
-0.09682165086269379,
0.07848896831274033,
-0.018838049843907356,
0.039035364985466,
0.03250042721629143,
-0.00998538639396429,
0.08608692139387131,
0.025477547198534012,
-0.011091968975961208,
0.03436506539583206,
-0.062247470021247864,
0.015134917572140694,
0.03690933436155319,
0.0034439126029610634,
-0.009070495143532753,
-0.014376864768564701,
-0.029032554477453232,
0.005036259535700083,
0.006735343486070633,
0.030287262052297592,
-0.05050200596451759,
0.026749681681394577,
0.0341559462249279,
0.002489811507984996,
0.0058640181086957455,
0.019465403631329536,
0.030513806268572807,
-0.02495475299656391,
-0.04011581093072891,
-0.010560460388660431,
0.06921806931495667,
-0.003990669269114733,
0.013644952327013016,
0.0040124524384737015,
0.010072519071400166,
0.04102198779582977,
-0.0379897765815258,
0.027812698855996132,
-0.03631683066487312,
0.0449603796005249,
-0.03358087316155434,
0.01367980521172285,
-0.03412109240889549,
-0.03642139211297035,
-0.011719323694705963,
-0.002555161016061902,
-0.015448595397174358,
-0.017365509644150734,
-0.024937326088547707,
-0.048375971615314484,
0.005432712379842997,
0.03399910777807236,
-0.007070803549140692,
-0.007062090560793877,
-0.013592672534286976,
-0.05280230566859245,
0.009331892244517803,
-0.04492552578449249,
-0.019360844045877457,
-0.001747006899677217,
-0.007667661178857088,
0.054998043924570084,
-0.032779254019260406,
0.017897019162774086,
0.022253643721342087,
0.030705498531460762,
0.0028361633885651827,
-0.064094677567482,
0.024745633825659752,
0.015509587712585926,
0.04039463400840759,
-0.04140537232160568,
-0.03530609607696533,
-0.022427909076213837,
0.019012315198779106,
-0.00009557347948430106,
-0.01798415184020996,
0.022811291739344597,
0.025808651000261307,
0.026889095082879066,
0.012860759161412716,
-0.02042386122047901,
-0.015396315604448318,
0.02969476208090782,
0.002118409378454089,
-0.004848924465477467,
0.02397886849939823,
0.04325257986783981,
0.03143741190433502,
-0.07298219203948975,
0.07500366866588593,
-0.048550236970186234,
0.03316263481974602,
0.018907755613327026,
-0.019395697861909866,
-0.02171342261135578,
0.0766766145825386,
-0.03384226933121681,
-0.0693574845790863,
-0.03701389208436012,
0.0184720940887928,
0.011240094900131226,
-0.007292991504073143,
-0.005728962831199169,
-0.06914836168289185,
0.028997700661420822,
-0.03138513118028641,
-0.011893588118255138,
-0.02000562474131584,
0.008024904876947403,
-0.008290658704936504,
0.017966724932193756,
0.028562039136886597,
-0.03223903104662895,
-0.0011501491535454988,
0.040638603270053864,
0.03506212309002876,
-0.0014420431107282639,
-0.10881108790636063,
0.030322115868330002,
0.020859524607658386,
0.016598744317889214,
-0.0026357586029917,
-0.0172522384673357,
-0.003433021018281579,
-0.012050426565110683,
0.010586600750684738,
-0.005746389273554087,
0.0006278986693359911,
-0.00205197068862617,
0.030705498531460762,
-0.014342011883854866,
-0.0184720940887928,
0.007998764514923096,
-0.001990977907553315,
0.03497499227523804,
-0.004866350907832384,
-0.055451132357120514,
-0.03467874228954315,
-0.018977461382746696,
0.01955253630876541,
0.028335493057966232,
-0.020964082330465317,
-0.009680422022938728,
0.012703920714557171,
0.06325820833444595,
-0.05566025152802467,
-0.0214345995336771,
0.04387993365526199,
0.0033546017948538065,
-0.046772733330726624,
0.06890439242124557,
0.02896284870803356,
-0.01826297491788864,
0.043531402945518494,
-0.020859524607658386,
-0.02024959586560726,
-0.059250108897686005,
-0.03628198057413101,
0.01875091716647148,
0.00573331955820322,
0.014463997446000576,
0.026366299018263817,
-0.029781892895698547,
0.02390916272997856,
-0.028039243072271347,
0.0007760239532217383,
0.0019539466593414545,
0.012215978465974331,
0.010516894981265068,
-0.00795955490320921,
-0.008347295224666595,
0.04656361788511276,
-0.05168700963258743,
-0.013958629220724106,
0.057228635996580124,
-0.012189839035272598,
-0.08950252085924149,
0.027742993086576462,
0.014716682024300098,
0.010159650817513466,
0.039836984127759933,
-0.00008182288001989946,
0.04792288318276405,
-0.055311720818281174,
-0.0007629540632478893,
0.07848896831274033,
-0.07099557667970657,
0.0026466501876711845,
0.01741779036819935,
0.02920681983232498,
-0.08483221381902695,
-0.01647675782442093,
-0.03701389208436012,
0.009697848930954933,
0.03302322328090668,
-0.010726012289524078,
-0.01822812296450138,
-0.015762271359562874,
0.007850639522075653,
-0.04736523702740669,
-0.05067627131938934,
0.059807758778333664,
0.06531453132629395,
0.04987465217709541,
0.019848786294460297,
0.04457699507474899,
-0.051059652119874954,
-0.000975339615251869,
-0.030618365854024887,
-0.00832551158964634,
0.059633493423461914,
-0.0273596104234457,
0.00551548833027482,
-0.012006860226392746,
-0.01920400559902191,
0.0463544987142086,
-0.04123110696673393,
0.03802463039755821,
0.04266007989645004,
-0.007401907350867987,
-0.004530890844762325,
-0.029381083324551582,
-0.00597729068249464,
-0.03506212309002876,
0.08371692150831223,
-0.03872168809175491,
0.029363658279180527,
-0.010778292082250118,
0.024675928056240082,
-0.005659257061779499,
0.0965428277850151
] |
10,294 | fractions | __gt__ | a > b | def __gt__(a, b):
"""a > b"""
return a._richcmp(b, operator.gt)
| (a, b) | [
-0.009613924659788609,
0.011307386681437492,
-0.018363479524850845,
-0.005053925793617964,
0.007580888457596302,
-0.03679751977324486,
-0.03753840923309326,
0.006959070451557636,
-0.029970750212669373,
-0.07952215522527695,
0.04297159984707832,
-0.00501864543184638,
0.05881252512335777,
-0.016670016571879387,
-0.04360664635896683,
0.04064308851957321,
-0.014509088359773159,
-0.03272262588143349,
0.0225794930011034,
-0.007016401272267103,
-0.02607225812971592,
0.027712799608707428,
0.022932298481464386,
-0.019845258444547653,
0.05447302758693695,
0.06653894484043121,
0.020321544259786606,
-0.028753573074936867,
-0.01588502712547779,
0.03468069061636925,
-0.06202304735779762,
-0.051227226853370667,
0.01970413699746132,
-0.053520455956459045,
0.006544525269418955,
-0.026636745780706406,
0.01118390541523695,
0.06110575422644615,
-0.03374575823545456,
-0.009190559387207031,
0.020004019141197205,
-0.03543921932578087,
-0.0026195740792900324,
-0.028365489095449448,
-0.019510094076395035,
-0.03718560189008713,
0.010495936498045921,
-0.017102202400565147,
0.012859727256000042,
0.022561853751540184,
0.005217097699642181,
-0.023479145020246506,
0.03413384407758713,
0.034363165497779846,
-0.09095302224159241,
0.012101197615265846,
0.03954939544200897,
0.05895364657044411,
-0.04205430671572685,
0.03256386145949364,
-0.00624464126303792,
0.04755805805325508,
-0.01529407873749733,
-0.06159967929124832,
0.0225265733897686,
0.008917136117815971,
-0.08728385716676712,
-0.01319489162415266,
-0.03891434520483017,
0.058741964399814606,
-0.07973383367061615,
0.031364329159259796,
0.021803323179483414,
0.029476823285222054,
-0.043888889253139496,
0.022720614448189735,
-0.02753639779984951,
0.027307074517011642,
0.016255471855401993,
-0.023390943184494972,
0.05655457451939583,
-0.022773535922169685,
0.06675063073635101,
-0.037961773574352264,
-0.021785683929920197,
-0.021909164264798164,
0.020145142450928688,
-0.006959070451557636,
0.04325384274125099,
0.011439688503742218,
-0.04918095842003822,
0.05348517373204231,
0.043677207082509995,
-0.02841840870678425,
0.030323553830385208,
0.013433034531772137,
-0.02541957050561905,
0.04642908275127411,
0.010839920490980148,
0.027959764003753662,
0.07038451731204987,
0.015585142187774181,
0.01458846963942051,
-0.025207888334989548,
0.01599086821079254,
0.005922706797719002,
0.005367039702832699,
-0.0005738587351515889,
-0.04335968196392059,
0.0022998449858278036,
-0.0188926849514246,
0.0005859863595105708,
-0.012436361983418465,
-0.007541197817772627,
0.013159611262381077,
0.039866916835308075,
0.03348115459084511,
-0.012815626338124275,
0.043183282017707825,
-0.017331525683403015,
-0.00036934230593033135,
-0.05076858028769493,
0.0571543425321579,
0.00507597578689456,
-0.03662111610174179,
0.0258429367095232,
0.038879066705703735,
-0.0019547578413039446,
-0.05666041746735573,
-0.009737406857311726,
0.02377902902662754,
-0.021944444626569748,
-0.004149863962084055,
0.049710165709257126,
0.03750312700867653,
-0.016458334401249886,
0.027889203280210495,
0.06872633099555969,
0.045088425278663635,
0.008749553933739662,
0.007801391184329987,
-0.025560691952705383,
0.010839920490980148,
-0.02187388390302658,
-0.023655546829104424,
-0.039866916835308075,
-0.03427496552467346,
0.025154966861009598,
0.01286854688078165,
0.03423968330025673,
-0.027518758550286293,
-0.00843643955886364,
0.040890052914619446,
-0.015505761839449406,
0.02265005372464657,
0.048898715525865555,
-0.007620579097419977,
-0.06639782339334488,
0.00347512518055737,
-0.02519024722278118,
0.04833422973752022,
0.023708468303084373,
-0.00837910920381546,
0.008392338640987873,
0.022544212639331818,
-0.0129214683547616,
0.023267462849617004,
0.006879689637571573,
-0.02296757884323597,
0.05087441951036453,
0.018486959859728813,
-0.011307386681437492,
-0.038879066705703735,
-0.008674582466483116,
-0.02594877779483795,
-0.00949926394969225,
-0.003935975953936577,
0.0703139528632164,
0.016396593302488327,
0.011395588517189026,
-0.015558682382106781,
0.0017552027711644769,
-0.044488657265901566,
-0.008921545930206776,
0.014076902531087399,
-0.004806962329894304,
0.011228006333112717,
-0.014209204353392124,
-0.02247365191578865,
0.03079983964562416,
-0.027677519246935844,
-0.010760540142655373,
0.008511411026120186,
-0.027289435267448425,
0.03173477202653885,
0.010081390850245953,
-0.028647731989622116,
0.023761389777064323,
0.08566095679998398,
0.07888710498809814,
-0.01845167949795723,
0.017604948952794075,
-0.011369127780199051,
-0.013300732709467411,
0.07973383367061615,
0.01486189290881157,
-0.0037683940026909113,
-0.01791365258395672,
-0.04050196707248688,
-0.07415952533483505,
-0.024202395230531693,
-0.006249051075428724,
-0.025913497433066368,
0.02594877779483795,
0.017993034794926643,
0.03457484766840935,
0.03598606958985329,
-0.0009183944202959538,
-0.004017562139779329,
0.01039009541273117,
0.06548053026199341,
-0.036550555378198624,
0.02007458172738552,
-0.0035721464082598686,
0.05556672066450119,
0.02889469638466835,
0.004383597057312727,
0.0007927077822387218,
-0.00908471830189228,
-0.004277755506336689,
0.050415776669979095,
0.03764424845576286,
0.06502188742160797,
-0.023496786132454872,
-0.04480618238449097,
-0.010495936498045921,
-0.009543363936245441,
0.047099411487579346,
-0.0832618847489357,
0.02459047921001911,
-0.011483789421617985,
0.06865577399730682,
0.02122119627892971,
0.03205229714512825,
0.00908471830189228,
-0.11896570771932602,
-0.013371293433010578,
-0.0032700574956834316,
0.03411620482802391,
0.05687209963798523,
-0.03782065212726593,
-0.051721151918172836,
-0.03166421130299568,
-0.02965322509407997,
-0.025984058156609535,
0.019527733325958252,
-0.06050598621368408,
-0.07521793991327286,
0.016123170033097267,
0.02242073230445385,
0.009940269403159618,
0.014323865994811058,
-0.059130050241947174,
0.03141724690794945,
0.011210366152226925,
-0.01554104220122099,
0.033498793840408325,
0.018434040248394012,
0.027236513793468475,
0.03607426956295967,
0.0023086650762706995,
-0.07119596749544144,
-0.025013845413923264,
-0.01338893361389637,
-0.04275991767644882,
-0.01746382750570774,
0.05595480650663376,
-0.050592176616191864,
-0.012039456516504288,
-0.053520455956459045,
0.017560848966240883,
-0.0029701737221330404,
-0.09165862947702408,
0.011554350145161152,
-0.04343024641275406,
0.010028470307588577,
-0.03577438369393349,
-0.06096463277935982,
-0.036056630313396454,
-0.028824133798480034,
0.026742586866021156,
-0.007378025911748409,
0.003935975953936577,
0.004511488601565361,
0.05369685962796211,
-0.027730440720915794,
-0.006839998997747898,
-0.028383128345012665,
0.06593918055295944,
0.011510249227285385,
-0.03318127244710922,
-0.04967488721013069,
-0.01529407873749733,
-0.004090328235179186,
0.006407813169062138,
0.010734079405665398,
0.0008092455100268126,
0.025102045387029648,
-0.05066273733973503,
0.0348394513130188,
-0.011377948336303234,
-0.03069399856030941,
0.012648044154047966,
-0.01633485220372677,
0.005027465522289276,
0.031170284375548363,
-0.0035126106813549995,
0.005353809799998999,
-0.02203264646232128,
0.023867230862379074,
-0.014023981988430023,
0.006862048991024494,
-0.022738255560398102,
0.0034398448187857866,
-0.004657020326703787,
-0.07112540304660797,
-0.05920061096549034,
-0.002110212342813611,
0.042477671056985855,
0.03102916292846203,
-0.036550555378198624,
0.03201701492071152,
0.1217881441116333,
0.00431083096191287,
0.007475047372281551,
0.02857717126607895,
0.04036084562540054,
0.020815471187233925,
-0.018910326063632965,
-0.03543921932578087,
-0.06929082423448563,
0.014270945452153683,
0.028929976746439934,
0.005600772798061371,
0.03014715202152729,
0.017340345308184624,
-0.06763263791799545,
0.019086727872490883,
0.021309396252036095,
-0.016193730756640434,
0.010213692672550678,
-0.02834784798324108,
0.007100192364305258,
-0.005741894710808992,
0.00016206961299758404,
0.0030341194942593575,
0.0351569764316082,
0.051721151918172836,
0.014641390182077885,
0.03743256628513336,
0.03143488988280296,
0.01502065546810627,
-0.00035611214116215706,
-0.009569824673235416,
-0.040184441953897476,
-0.011139804497361183,
-0.018363479524850845,
-0.0027937712147831917,
-0.04614683985710144,
-0.02803032472729683,
-0.014747231267392635,
-0.00707373209297657,
0.051297787576913834,
-0.005234737880527973,
-0.06699758768081665,
-0.02688371017575264,
-0.027342354878783226,
0.0008787038968876004,
-0.035562701523303986,
0.008493770845234394,
0.048087265342473984,
0.03510405495762825,
-0.010081390850245953,
0.003131140721961856,
-0.005142126698046923,
0.03464541211724281,
-0.016934620216488838,
-0.006615085992962122,
0.012903828173875809,
0.0012237909249961376,
-0.0008930366020649672,
-0.033922161906957626,
-0.07881654798984528,
0.022685334086418152,
-0.07888710498809814,
-0.016502434387803078,
0.011474968865513802,
-0.047205254435539246,
-0.004754041787236929,
-0.04212486743927002,
0.04491202533245087,
0.07959271222352982,
-0.02758931927382946,
-0.0023946610745042562,
0.037467848509550095,
0.05087441951036453,
0.0631520226597786,
0.0641045942902565,
-0.07267774641513824,
0.08756610006093979,
-0.05877724289894104,
-0.006068238988518715,
-0.08827170729637146,
-0.021785683929920197,
0.0034023593179881573,
-0.019457172602415085,
0.010892841964960098,
0.027501117438077927,
0.008079225197434425,
-0.03891434520483017,
-0.027501117438077927,
-0.02526080794632435,
0.0017860732041299343,
-0.05045105516910553,
-0.0009156381711363792,
-0.0314701683819294,
-0.0023792260326445103,
-0.0014476013602688909,
-0.05313237011432648,
0.01512649655342102,
0.016299571841955185,
0.010054931044578552,
-0.016140809282660484,
0.018310558050870895,
0.06883217394351959,
-0.008145376108586788,
-0.03575674444437027,
-0.06597445905208588,
0.038879066705703735,
0.024855082854628563,
0.03286374732851982,
0.018054774031043053,
0.04671132564544678,
-0.02601933851838112,
-0.04946320131421089,
-0.012110017240047455,
0.04314799979329109,
0.009428702294826508,
0.06004733964800835,
-0.05066273733973503,
0.03803233429789543,
0.04544122889637947,
0.01785191148519516,
0.01512649655342102,
0.018134156242012978,
-0.09709182381629944,
-0.06632725894451141,
-0.0347336120903492,
-0.005697794258594513,
0.012304060161113739,
-0.039866916835308075,
0.020145142450928688,
-0.022244328632950783,
0.0021421853452920914,
-0.07980439811944962,
0.03640943393111229,
-0.010196052491664886,
-0.025384290143847466,
-0.0178960133343935,
0.01725214347243309,
0.005741894710808992,
-0.03775009140372276,
-0.025931136682629585,
0.038279298692941666,
-0.03803233429789543,
0.05546088144183159,
-0.04653492569923401,
-0.02638978324830532,
-0.01588502712547779,
-0.01751674711704254,
0.042583514004945755,
0.010654698126018047,
-0.01954537443816662,
0.011307386681437492,
0.033340033143758774,
-0.007933693006634712,
-0.02437879703938961,
0.03058815747499466,
0.023443864658474922,
-0.08128617703914642,
0.02307341992855072,
-0.008339418098330498,
-0.004824602510780096,
0.03482181206345558,
0.0008362571243196726,
-0.00612115953117609,
0.008484950289130211,
-0.0079469233751297,
-0.013238992542028427,
0.020092220976948738,
-0.024255314841866493,
0.02970614656805992,
-0.029864909127354622,
-0.006429863628000021,
0.05528447777032852,
0.0007397871231660247,
0.07239550352096558,
-0.012797986157238483,
-0.01616727001965046,
0.007029631175100803,
0.006817948538810015,
-0.06650366634130478,
0.021644560620188713,
0.041666220873594284,
0.024908004328608513,
0.004427697509527206,
-0.01616727001965046,
-0.03732672706246376,
-0.006690056994557381,
0.0022998449858278036,
0.06752679497003555,
-0.03348115459084511,
-0.035897865891456604,
-0.08269739151000977,
0.013080229982733727,
-0.04755805805325508,
0.003188471542671323,
0.029670866206288338,
0.03369283676147461,
0.015302899293601513,
-0.014332686550915241,
-0.028771214187145233,
0.016149630770087242,
-0.03732672706246376,
-0.07281886786222458,
0.07959271222352982,
-0.10217221081256866,
0.08834227174520493,
-0.010099031031131744,
0.036656398326158524,
0.024625759571790695,
-0.01882212422788143,
0.07366559654474258,
0.01328309252858162,
-0.04896927624940872,
0.0317876935005188,
-0.05637817457318306,
0.022173767909407616,
0.030658718198537827,
0.007704370189458132,
-0.012727425433695316,
-0.014967734925448895,
-0.04914567992091179,
-0.008881855756044388,
0.003653732594102621,
0.0516858734190464,
-0.04085477069020271,
0.030888041481375694,
0.05524919927120209,
0.027077751234173775,
0.00878924410790205,
0.04776974022388458,
0.04974544793367386,
-0.008361469022929668,
-0.03838513791561127,
0.008833345025777817,
0.06413987278938293,
-0.009613924659788609,
-0.004643790423870087,
-0.02155636064708233,
0.02176804281771183,
0.027395276352763176,
-0.02594877779483795,
0.003841159865260124,
-0.017428547143936157,
0.06481020152568817,
-0.020691988989710808,
0.04000803828239441,
-0.04293631762266159,
-0.002831256715580821,
-0.029159298166632652,
0.02753639779984951,
0.025595972314476967,
-0.02638978324830532,
-0.027289435267448425,
-0.054508309811353683,
0.0038124944549053907,
0.02688371017575264,
-0.004754041787236929,
-0.013856399804353714,
-0.0192631296813488,
-0.035456862300634384,
0.02148579992353916,
-0.05133306607604027,
0.007766110822558403,
-0.01363589707762003,
-0.023443864658474922,
0.02917693927884102,
-0.06248169392347336,
0.00446297787129879,
0.057330746203660965,
0.029318060725927353,
0.017234504222869873,
-0.037467848509550095,
0.05256788432598114,
0.0030429395847022533,
0.001085976604372263,
-0.04251295328140259,
-0.04755805805325508,
0.0009393421933054924,
0.013627077452838421,
0.030464675277471542,
0.014138643629848957,
0.06385762989521027,
0.04275991767644882,
0.017940113320946693,
0.01502065546810627,
-0.01466785091906786,
-0.009463982656598091,
-0.0030760150402784348,
-0.012551022693514824,
0.006593035534024239,
0.023302743211388588,
0.050944983959198,
0.024043632671236992,
-0.08530814945697784,
0.023814309388399124,
-0.06720927357673645,
0.04674660786986351,
0.013918140903115273,
-0.03337531536817551,
-0.03859682008624077,
0.07719364017248154,
-0.037855930626392365,
-0.07401840388774872,
-0.05355573445558548,
0.00979914702475071,
0.02617810107767582,
0.004590869881212711,
-0.0021510054357349873,
-0.06646838039159775,
0.00783667154610157,
-0.022067926824092865,
-0.009393421933054924,
-0.013759379275143147,
-0.009305221028625965,
-0.003554506227374077,
0.03145252913236618,
0.024908004328608513,
-0.030111871659755707,
-0.01887504570186138,
0.03718560189008713,
0.032140497118234634,
0.005543441977351904,
-0.08530814945697784,
0.008427619934082031,
0.03478653356432915,
0.02693662978708744,
-0.011960075236856937,
-0.027818642556667328,
0.005486111156642437,
-0.05574312433600426,
0.016467154026031494,
0.00466584088280797,
0.0036294772289693356,
-0.006072648800909519,
0.012621584348380566,
-0.02291465736925602,
-0.03244038298726082,
-0.0023902510292828083,
0.022738255560398102,
0.044382818043231964,
0.011836593970656395,
-0.06579805165529251,
-0.04664076492190361,
-0.029617944732308388,
0.018839765340089798,
0.04791086167097092,
-0.02171512320637703,
-0.03009423054754734,
0.015346999280154705,
0.054402466863393784,
-0.07373616099357605,
-0.022191409021615982,
0.0383145771920681,
0.006879689637571573,
-0.027818642556667328,
0.05916532874107361,
-0.008290907368063927,
-0.033657558262348175,
0.05415550246834755,
-0.006623906083405018,
-0.0023196900729089975,
-0.04776974022388458,
-0.03346351534128189,
0.049604326486587524,
0.01834583841264248,
0.02067434787750244,
0.024996204301714897,
-0.03760896995663643,
0.00791605282574892,
-0.019721776247024536,
0.0036449122708290815,
0.008158606477081776,
0.0030892451759427786,
0.0032061117235571146,
0.00349717540666461,
-0.0023020498920232058,
0.04544122889637947,
-0.06131743639707565,
-0.03293430805206299,
0.06308145821094513,
0.02247365191578865,
-0.08594319969415665,
0.006447503808885813,
-0.01816943660378456,
0.024996204301714897,
0.05489639192819595,
0.012207038700580597,
0.0569426603615284,
-0.049710165709257126,
-0.00005953577419859357,
0.09003572911024094,
-0.07352447509765625,
0.008145376108586788,
0.012171758338809013,
0.042901039123535156,
-0.06985531002283096,
-0.01521469745784998,
-0.05002769082784653,
0.01003729086369276,
0.02367318794131279,
0.00008158606215147302,
-0.0014453963376581669,
-0.01970413699746132,
0.00006715001654811203,
-0.046887729316949844,
-0.05856556072831154,
0.06301090121269226,
0.07458288967609406,
0.04791086167097092,
0.036268312484025955,
0.05217979848384857,
-0.03870266303420067,
0.009296400472521782,
-0.06082351133227348,
-0.0086834030225873,
0.07038451731204987,
-0.022826457396149635,
0.015170597471296787,
0.019527733325958252,
-0.028453689068555832,
0.020427385345101357,
-0.04674660786986351,
0.08135673403739929,
0.06668006628751755,
0.01417392399162054,
-0.0017254349077120423,
-0.029370982199907303,
-0.008604021742939949,
-0.014579649083316326,
0.06085878983139992,
-0.01676703803241253,
0.0014773692237213254,
-0.0022017210721969604,
0.018381118774414062,
-0.020374465733766556,
0.07493569701910019
] |
10,295 | fractions | __hash__ | hash(self) | def __hash__(self):
"""hash(self)"""
# To make sure that the hash of a Fraction agrees with the hash
# of a numerically equal integer, float or Decimal instance, we
# follow the rules for numeric hashes outlined in the
# documentation. (See library docs, 'Built-in Types').
try:
dinv = pow(self._denominator, -1, _PyHASH_MODULUS)
except ValueError:
# ValueError means there is no modular inverse.
hash_ = _PyHASH_INF
else:
# The general algorithm now specifies that the absolute value of
# the hash is
# (|N| * dinv) % P
# where N is self._numerator and P is _PyHASH_MODULUS. That's
# optimized here in two ways: first, for a non-negative int i,
# hash(i) == i % P, but the int hash implementation doesn't need
# to divide, and is faster than doing % P explicitly. So we do
# hash(|N| * dinv)
# instead. Second, N is unbounded, so its product with dinv may
# be arbitrarily expensive to compute. The final answer is the
# same if we use the bounded |N| % P instead, which can again
# be done with an int hash() call. If 0 <= i < P, hash(i) == i,
# so this nested hash() call wastes a bit of time making a
# redundant copy when |N| < P, but can save an arbitrarily large
# amount of computation for large |N|.
hash_ = hash(hash(abs(self._numerator)) * dinv)
result = hash_ if self._numerator >= 0 else -hash_
return -2 if result == -1 else result
| (self) | [
-0.004372735042124987,
-0.05376844480633736,
-0.0010352629469707608,
0.08522333949804306,
0.021395809948444366,
-0.0046516540460288525,
0.003841888392344117,
-0.039984431117773056,
-0.05488412082195282,
0.011138777248561382,
0.023159299045801163,
-0.024760836735367775,
0.04901781678199768,
0.026272399351000786,
-0.05092526599764824,
0.026092451065778732,
-0.03125695511698723,
0.025354664772748947,
-0.014890692196786404,
-0.028125863522291183,
-0.02060403861105442,
0.01768888160586357,
0.031634848564863205,
0.05833912268280983,
-0.04405125603079796,
-0.0008716228185221553,
0.07223109900951385,
0.0018917026463896036,
-0.01836368627846241,
0.01489968877285719,
-0.008214623667299747,
0.029097581282258034,
0.01711304858326912,
0.040416307747364044,
-0.016573205590248108,
-0.060138601809740067,
-0.009330300614237785,
0.0796089693903923,
-0.12653939425945282,
0.007782748434692621,
0.008156140334904194,
0.01125574391335249,
-0.000565992493648082,
-0.017625899985432625,
0.015727449208498,
0.0018849546322599053,
0.02161174640059471,
0.02654232084751129,
0.007089948747307062,
-0.051717035472393036,
-0.04149599373340607,
-0.04210781678557396,
-0.038364898413419724,
-0.0003359965339768678,
-0.033632270991802216,
0.0675884485244751,
0.052256882190704346,
-0.013082214631140232,
-0.02987135760486126,
0.022421512752771378,
-0.016528217121958733,
-0.011624637059867382,
0.04854995384812355,
-0.04261166974902153,
-0.028089873492717743,
0.018408674746751785,
-0.040884170681238174,
0.016042359173297882,
-0.007413854822516441,
-0.011615639552474022,
-0.005294967908412218,
-0.0014215887058526278,
0.0520409420132637,
0.0012596355518326163,
0.023699143901467323,
0.0317608118057251,
0.015520509332418442,
0.025282684713602066,
0.03471195697784424,
0.006329668685793877,
0.03296646103262901,
-0.04181990027427673,
0.017625899985432625,
-0.03136492520570755,
-0.07313083857297897,
-0.021935652941465378,
0.04901781678199768,
-0.014602774754166603,
0.03086107037961483,
-0.023681148886680603,
-0.05873500555753708,
0.0029623929876834154,
0.005016048904508352,
-0.00625319080427289,
0.011327723041176796,
-0.023771122097969055,
-0.022727424278855324,
-0.016708165407180786,
0.01834569312632084,
-0.04063224419951439,
0.01295625139027834,
0.009366289712488651,
-0.01966830901801586,
-0.0013282407307997346,
0.023825107142329216,
-0.03742917254567146,
0.025228701531887054,
-0.01595238409936428,
-0.03829292207956314,
-0.005115020088851452,
-0.025534613057971,
0.06395349651575089,
-0.04750625416636467,
0.011930548585951328,
0.0037001795135438442,
-0.008214623667299747,
-0.014197892509400845,
-0.023645158857107162,
0.0990433469414711,
-0.009654207155108452,
-0.01869659125804901,
0.06287381052970886,
-0.07248302549123764,
0.060102611780166626,
0.027190133929252625,
0.0005195996491238475,
0.024832814931869507,
-0.03327237442135811,
-0.09256521612405777,
0.031005030497908592,
0.05351651832461357,
0.05452422425150871,
-0.006748047657310963,
0.04556281864643097,
0.01076088659465313,
0.026560315862298012,
-0.011966537684202194,
0.03249859809875488,
0.028611721470952034,
0.013181186281144619,
-0.020801981911063194,
-0.048801880329847336,
0.010409988462924957,
0.02591250278055668,
0.05045740306377411,
0.05092526599764824,
0.001994048012420535,
0.01489968877285719,
-0.004294007550925016,
0.04657052457332611,
0.04171193018555641,
0.02351919561624527,
0.13380928337574005,
0.021701721474528313,
0.003128844778984785,
-0.004728131927549839,
0.011642631143331528,
-0.02639836259186268,
-0.07903313636779785,
0.015754442662000656,
0.04066823422908783,
-0.011426693759858608,
0.038040995597839355,
-0.008655495941638947,
0.008385573513805866,
-0.016294285655021667,
0.005357949994504452,
-0.08140844851732254,
-0.06251391023397446,
0.007175424136221409,
-0.004809108562767506,
-0.055639903992414474,
-0.06805630773305893,
0.015448530204594135,
0.0007822111947461963,
0.005686354823410511,
0.022385522723197937,
0.010670912452042103,
-0.04059625416994095,
0.000922795501537621,
0.028521748259663582,
-0.09961917996406555,
-0.012830288149416447,
-0.0127673065289855,
0.03735719248652458,
0.028755679726600647,
0.031059013679623604,
-0.010580938309431076,
0.030609143897891045,
-0.0034639977384358644,
-0.06233396381139755,
-0.0539843812584877,
-0.00029691410600207746,
-0.010104076936841011,
0.03332635760307312,
-0.004975560586899519,
-0.037069275975227356,
-0.003920615650713444,
0.05456021428108215,
0.04257568344473839,
-0.019488360732793808,
-0.020334117114543915,
0.007341875694692135,
-0.025732554495334625,
-0.045922715216875076,
-0.019722294062376022,
-0.024238986894488335,
0.03465797379612923,
0.06841620802879333,
-0.003691182006150484,
-0.04919776692986488,
-0.06262188404798508,
0.006802032236009836,
0.03042919561266899,
-0.011552657932043076,
-0.03739318251609802,
0.05815917253494263,
-0.046822454780340195,
0.04016438126564026,
0.015583490952849388,
0.029331514611840248,
-0.010868855752050877,
-0.028539743274450302,
-0.009357293136417866,
-0.011318725533783436,
-0.007409356534481049,
-0.013505092822015285,
0.041891880333423615,
-0.021665731444954872,
-0.026128441095352173,
0.02015416882932186,
0.03674536943435669,
0.02600247785449028,
-0.009654207155108452,
-0.01649222895503044,
0.029115576297044754,
-0.05146510899066925,
0.029151566326618195,
-0.03627750277519226,
0.020334117114543915,
-0.002409053035080433,
0.025102736428380013,
0.044879015535116196,
0.04419521242380142,
0.007706270553171635,
-0.07665782421827316,
0.00820112694054842,
0.045778755098581314,
0.021305834874510765,
0.007796244230121374,
-0.07636990398168564,
-0.03642146289348602,
-0.03573765978217125,
-0.04955766350030899,
0.05567589029669762,
0.006905502174049616,
-0.03717724233865738,
0.03966052457690239,
0.02400505542755127,
0.014368842355906963,
-0.016411252319812775,
-0.03688932582736015,
0.02103591337800026,
-0.04793813079595566,
-0.0460306815803051,
-0.031454898416996,
-0.029637426137924194,
0.027532033622264862,
-0.024922790005803108,
0.06884808093309402,
0.0737786516547203,
-0.050241462886333466,
-0.011552657932043076,
-0.01202951930463314,
-0.005389440804719925,
-0.011696616187691689,
0.08407167345285416,
0.0578712560236454,
0.014620769768953323,
0.03149088844656944,
0.03330836445093155,
-0.020244142040610313,
-0.01961432583630085,
-0.015817424282431602,
0.017508935183286667,
0.12063709646463394,
0.005326458718627691,
-0.02546263299882412,
0.04268364980816841,
-0.01952435076236725,
0.02015416882932186,
-0.007593803107738495,
-0.045922715216875076,
0.017194025218486786,
0.034046150743961334,
0.027729976922273636,
-0.020981930196285248,
-0.029079586267471313,
0.02591250278055668,
0.030501175671815872,
-0.06424141675233841,
-0.005043040961027145,
0.026254404336214066,
-0.0127223189920187,
-0.03575565665960312,
-0.02161174640059471,
0.024292971938848495,
0.033596280962228775,
0.03170682489871979,
-0.005083529278635979,
0.00024053978268057108,
0.07737760990858078,
0.020352112129330635,
0.036997295916080475,
0.05326458811759949,
-0.019758284091949463,
0.026290394365787506,
-0.030051305890083313,
-0.024185003712773323,
0.057115476578474045,
-0.030681123957037926,
0.07464240491390228,
-0.0010020850459113717,
0.038976721465587616,
0.03172482177615166,
-0.06996376067399979,
-0.023861097171902657,
0.014620769768953323,
0.0289356280118227,
0.023825107142329216,
-0.06075042486190796,
0.0009644084493629634,
0.06463729590177536,
0.009208835661411285,
-0.04664250463247299,
0.003236813470721245,
0.07565011084079742,
0.0033200394827872515,
-0.005731341894716024,
-0.05625172704458237,
0.04012839123606682,
-0.06089438125491142,
0.0030028813052922487,
-0.04271963983774185,
-0.07201516628265381,
-0.027352087199687958,
-0.026380367577075958,
-0.009447266347706318,
-0.019236434251070023,
0.025318674743175507,
-0.011048803105950356,
-0.028287814930081367,
0.010014102794229984,
-0.01005009189248085,
0.01838168129324913,
0.007989688776433468,
-0.012596355751156807,
-0.031184976920485497,
-0.06136224791407585,
0.011048803105950356,
0.052760735154151917,
0.012344428338110447,
-0.03624151274561882,
-0.020891955122351646,
-0.003981348127126694,
-0.013514090329408646,
-0.04865792393684387,
0.01473773643374443,
-0.004827103577554226,
-0.02699219062924385,
-0.03912068158388138,
-0.04527490213513374,
-0.03530578687787056,
-0.05542396381497383,
0.022169586271047592,
-0.0074228523299098015,
-0.013172188773751259,
0.057043496519327164,
-0.044771045446395874,
-0.033056434243917465,
0.05304865166544914,
-0.01204751431941986,
-0.03735719248652458,
-0.00845305435359478,
-0.07327479869127274,
0.014989662915468216,
0.05258078873157501,
-0.01472873892635107,
0.08342386037111282,
0.061002351343631744,
-0.058519069105386734,
-0.0127223189920187,
0.06355760991573334,
-0.015943387523293495,
-0.01589840091764927,
0.0429355762898922,
0.06888406723737717,
-0.043331462889909744,
-0.07208714634180069,
-0.033146411180496216,
0.055603913962841034,
-0.03197674825787544,
0.0059022922068834305,
0.031994741410017014,
0.0382569320499897,
-0.01770687662065029,
0.05052937939763069,
0.016519220545887947,
0.03724922239780426,
-0.052724745124578476,
-0.04131604731082916,
-0.037969015538692474,
-0.02162974141538143,
0.003592210588976741,
0.015817424282431602,
-0.026578310877084732,
-0.050745319575071335,
-0.10077084600925446,
-0.00410056347027421,
-0.002528268611058593,
0.032084718346595764,
-0.03415411710739136,
-0.01050895918160677,
0.0012157732853665948,
0.0026002477388828993,
-0.01565547101199627,
-0.004867591895163059,
0.033002451062202454,
-0.053660474717617035,
0.03912068158388138,
-0.0259304977953434,
0.045382868498563766,
0.039012711495161057,
-0.006437637377530336,
0.021881669759750366,
-0.04754224419593811,
0.009699193760752678,
0.028089873492717743,
-0.011930548585951328,
0.0363134928047657,
0.08335188776254654,
0.05322859808802605,
-0.005353451240807772,
-0.03512583673000336,
0.03771708905696869,
-0.013010235503315926,
0.057079486548900604,
0.0026834735181182623,
-0.023375237360596657,
-0.005947279278188944,
0.02251148782670498,
0.00019780214643105865,
0.02393307536840439,
-0.03179680183529854,
-0.04750625416636467,
-0.02645234763622284,
-0.03185078501701355,
-0.010463972575962543,
0.017472945153713226,
0.0025732554495334625,
-0.018147749826312065,
0.06395349651575089,
0.003920615650713444,
-0.009321303106844425,
-0.036025576293468475,
-0.03465797379612923,
0.03570166975259781,
-0.022781409323215485,
0.016897112131118774,
-0.0026902216486632824,
0.007638789713382721,
0.06452932953834534,
-0.05099724605679512,
0.021323829889297485,
-0.06359360367059708,
0.01423388160765171,
-0.046318598091602325,
-0.042359743267297745,
-0.03336234763264656,
-0.05430828779935837,
0.010850860737264156,
-0.013640053570270538,
0.048262037336826324,
-0.018822554498910904,
0.05135714262723923,
-0.05006151646375656,
0.0001334145199507475,
0.04901781678199768,
0.030141279101371765,
-0.028305809944868088,
-0.017796851694583893,
-0.030645133927464485,
-0.04207182675600052,
0.07932104915380478,
-0.027604013681411743,
0.007359870709478855,
-0.0168521236628294,
0.013019233010709286,
-0.023645158857107162,
-0.04696641117334366,
-0.005281472112983465,
0.03215669468045235,
0.05650365352630615,
0.016447242349386215,
0.0353417731821537,
0.0518609955906868,
0.009672201238572598,
0.02737008035182953,
-0.0037046782672405243,
0.016114337369799614,
-0.00845305435359478,
-0.01737397350370884,
0.029241539537906647,
0.016636187210679054,
0.013460105285048485,
0.024220991879701614,
-0.04606667160987854,
0.005088028032332659,
-0.012371420860290527,
-0.0024225490633398294,
0.013927970081567764,
-0.0007912085857242346,
-0.01770687662065029,
-0.013667046092450619,
-0.005362448748201132,
0.00892091915011406,
-0.05430828779935837,
-0.05132115259766579,
0.019398387521505356,
-0.020945940166711807,
-0.064853236079216,
-0.03487391024827957,
-0.03044719062745571,
0.008169636130332947,
-0.034064143896102905,
0.05776328966021538,
-0.07331079244613647,
-0.01912846602499485,
0.038508858531713486,
0.022439507767558098,
-0.06089438125491142,
0.01871458627283573,
0.043835315853357315,
-0.02198963798582554,
0.05830313265323639,
0.03285849466919899,
-0.011534662917256355,
0.023699143901467323,
0.00398359727114439,
-0.00399709353223443,
0.07064756006002426,
-0.05330057814717293,
0.04549083858728409,
-0.08068865537643433,
0.03512583673000336,
-0.00427826214581728,
0.012875274755060673,
0.027334092184901237,
0.03442404046654701,
-0.01322617381811142,
0.026740264147520065,
0.0007867098902352154,
0.04469906911253929,
-0.09472459554672241,
-0.05254479870200157,
-0.019218439236283302,
0.05686354637145996,
-0.023393232375383377,
-0.04131604731082916,
0.010023100301623344,
-0.024185003712773323,
0.09328500926494598,
0.03915667161345482,
0.02348320558667183,
0.02898961305618286,
-0.009321303106844425,
-0.018444662913680077,
-0.04361937940120697,
0.026290394365787506,
-0.061434224247932434,
-0.0065725985914468765,
-0.03264255449175835,
-0.0206760186702013,
0.018984507769346237,
-0.031130993738770485,
0.024274976924061775,
0.020999925211071968,
0.02790992520749569,
0.005375944543629885,
0.039552558213472366,
-0.06409745663404465,
-0.06341364979743958,
0.019362397491931915,
-0.016393257305026054,
-0.0017409962601959705,
-0.013244167901575565,
-0.059094902127981186,
-0.03987646475434303,
0.0019524351228028536,
-0.0050700330175459385,
-0.004249020479619503,
-0.00799418706446886,
-0.026290394365787506,
0.014008946716785431,
0.031454898416996,
0.027280107140541077,
0.03474794700741768,
-0.010976823978126049,
-0.01617731899023056,
-0.07349073886871338,
-0.01666317880153656,
0.0004971061716787517,
-0.002050281735137105,
-0.049845580011606216,
-0.000475456181447953,
-0.007647787220776081,
0.007926706224679947,
-0.007386862765997648,
-0.034621983766555786,
0.051069226115942,
-0.0850793868303299,
0.06629282236099243,
0.0028161851223558187,
0.03235463798046112,
-0.025822529569268227,
-0.020981930196285248,
0.032048728317022324,
0.007323881145566702,
-0.011966537684202194,
-0.04962963983416557,
-0.0421438068151474,
0.02002820558845997,
-0.014629767276346684,
0.014998660422861576,
0.011705613695085049,
-0.03393818065524101,
0.03278651461005211,
0.003938610665500164,
-0.01683412864804268,
0.08104854822158813,
-0.0016139080980792642,
-0.016132332384586334,
-0.04365536943078041,
-0.005061035510152578,
-0.028197841718792915,
0.008646498434245586,
-0.005124017596244812,
-0.0002659855526871979,
-0.0035787145607173443,
-0.03976849466562271,
-0.0004417159652803093,
0.08205626159906387,
0.019344402477145195,
-0.054200317710638046,
-0.018552633002400398,
-0.014755730517208576,
0.02350120060145855,
-0.029979325830936432,
-0.008507038466632366,
0.02350120060145855,
0.02591250278055668,
0.016654182225465775,
-0.06679667532444,
-0.0016217808006331325,
0.02258346602320671,
0.035071853548288345,
-0.00626218831166625,
0.009118861518800259,
-0.011822579428553581,
-0.004422220401465893,
-0.024238986894488335,
0.008664493449032307,
-0.02794591523706913,
0.034136123955249786,
-0.06596891582012177,
0.004989056382328272,
-0.004962064325809479,
0.050745319575071335,
-0.038544848561286926,
0.01423388160765171,
-0.025642581284046173,
-0.004255768842995167,
-0.03415411710739136,
0.019344402477145195,
0.03478393703699112,
0.0635216236114502,
-0.02699219062924385,
-0.01249738410115242,
-0.03672737255692482,
-0.03131094202399254,
-0.03566567972302437,
0.002712715184316039,
-0.03663739934563637,
-0.02013617381453514,
-0.018822554498910904,
-0.006437637377530336,
-0.02699219062924385,
0.0049485680647194386,
0.035953596234321594,
-0.05625172704458237,
-0.013109207153320312,
-0.02404104359447956,
0.058663029223680496,
0.021161876618862152,
-0.013415118679404259,
-0.01273131649941206,
-0.012857279740273952,
0.024652866646647453,
0.042863599956035614,
-0.007454343140125275,
-0.049125786870718,
0.010607930831611156,
0.02647034078836441,
0.024562893435359,
0.05110521242022514,
0.04664250463247299,
0.0737786516547203,
0.019416382536292076,
-0.0014508302556350827,
-0.00012750997848343104,
-0.014107918366789818,
-0.04275562986731529,
0.10192251205444336,
0.06553703546524048,
0.007719766348600388,
0.00627118581905961,
0.10969626158475876,
0.01344211120158434,
-0.02459888346493244,
-0.00446045957505703,
-0.01737397350370884,
0.03732120245695114,
-0.015304571948945522,
-0.042395733296871185,
0.0361335463821888,
-0.007211413700133562,
0.03814896196126938,
-0.001784858643077314,
-0.02409502863883972,
0.02002820558845997,
0.02351919561624527,
-0.021683726459741592,
-0.042359743267297745,
-0.008758965879678726,
0.025642581284046173,
0.0032030732836574316,
-0.0008862435934133828,
0.030051305890083313,
0.025804534554481506,
-0.06647276878356934,
-0.006703060586005449,
0.0008704981300979853,
0.0073013873770833015,
0.03735719248652458,
-0.004433467518538237,
0.007764753419905901,
0.013397123664617538,
0.001223645987920463,
0.024131018668413162,
0.0030456187669187784,
-0.05725943297147751,
-0.02699219062924385,
0.020927945151925087,
0.04448312893509865,
-0.025678571313619614,
0.023321252316236496,
0.04106412082910538,
-0.0022560972720384598
] |
10,296 | fractions | __le__ | a <= b | def __le__(a, b):
"""a <= b"""
return a._richcmp(b, operator.le)
| (a, b) | [
-0.044335246086120605,
0.0337592214345932,
-0.021922482177615166,
0.022815490141510963,
0.005231103394180536,
-0.010182047262787819,
-0.02622993476688862,
-0.007476757280528545,
-0.06198529526591301,
-0.07354187220335007,
0.04181380942463875,
-0.021309632807970047,
0.08376769721508026,
-0.008733097463846207,
-0.06310593336820602,
-0.0019053035648539662,
-0.05561166629195213,
-0.0256170853972435,
-0.0402379110455513,
-0.001566047896631062,
-0.04191887006163597,
0.03530009835958481,
0.042969465255737305,
0.0062466817907989025,
0.02887394092977047,
0.0753629133105278,
-0.021642323583364487,
0.0023747896775603294,
-0.06128489598631859,
0.033864282071590424,
-0.04682166129350662,
-0.03566781058907509,
0.005537528079003096,
-0.08656929433345795,
0.052354808896780014,
-0.005686362739652395,
0.016818325966596603,
0.02920662984251976,
-0.030782528221607208,
-0.016643226146697998,
0.012694728560745716,
-0.028401171788573265,
0.018928278237581253,
-0.007568684406578541,
-0.03272613510489464,
-0.039397433400154114,
0.0052923886105418205,
-0.04965827614068985,
0.05088397487998009,
0.021869951859116554,
0.0334615521132946,
-0.031710557639598846,
0.01331633236259222,
0.007805068977177143,
-0.07690379023551941,
0.02080184407532215,
0.007673744577914476,
0.028943980112671852,
-0.06075959652662277,
0.026772744953632355,
-0.02533692680299282,
0.015776483342051506,
0.01102252583950758,
-0.018630608916282654,
0.040693171322345734,
0.0012924546608701348,
-0.0741722360253334,
-0.04380994662642479,
-0.013920426368713379,
0.043319664895534515,
-0.07284147292375565,
0.02139718271791935,
0.0035260701552033424,
-0.015793992206454277,
-0.08019566535949707,
0.033566612750291824,
-0.03575535863637924,
0.041988909244537354,
0.02439138852059841,
-0.008628037758171558,
0.0337592214345932,
-0.0329887829720974,
0.06230047345161438,
0.001813376322388649,
-0.013009907677769661,
-0.014209340326488018,
-0.01152156013995409,
0.0021996900904923677,
0.043634846806526184,
0.012256979010999203,
-0.033566612750291824,
0.08537861704826355,
0.017868924885988235,
-0.007411094848066568,
0.04020288959145546,
0.030782528221607208,
-0.009831848554313183,
0.07592322677373886,
0.008072095923125744,
0.04062313213944435,
0.04451034218072891,
0.027753302827477455,
-0.004171750508248806,
-0.022815490141510963,
0.0029285424388945103,
-0.004749579355120659,
-0.006452423986047506,
-0.011565335094928741,
-0.029399240389466286,
-0.017019690945744514,
-0.03339151293039322,
-0.043599825352430344,
-0.033163882791996,
0.013526451773941517,
-0.0369110181927681,
0.06422656774520874,
0.05739768221974373,
-0.002499548252671957,
0.042619265615940094,
-0.008264705538749695,
0.012388303875923157,
-0.041393570601940155,
0.04223404824733734,
0.018963297829031944,
0.00014144773012958467,
-0.000015851310308789834,
0.038136713206768036,
0.008693699724972248,
-0.06520713120698929,
-0.043634846806526184,
0.052740029990673065,
0.0005088835023343563,
0.007936393842101097,
0.02663266472518444,
0.035527728497982025,
-0.014962268993258476,
0.03929237276315689,
0.06391139328479767,
0.01232701912522316,
0.010435942560434341,
-0.02172987349331379,
-0.007848843932151794,
0.028156032785773277,
0.012423323467373848,
0.003051112173125148,
-0.02827860228717327,
-0.048187438398599625,
0.0414285883307457,
0.02729804255068302,
0.09308300167322159,
0.008339122869074345,
-0.04409010335803032,
0.03516001999378204,
0.009963173419237137,
-0.00631672190502286,
0.010015702806413174,
-0.02337580919265747,
-0.01606539823114872,
0.018683137372136116,
-0.007835711352527142,
0.0653822273015976,
0.014191830530762672,
-0.015820257365703583,
0.023463359102606773,
0.013850386254489422,
0.005042871460318565,
-0.016074152663350105,
0.029364218935370445,
0.0065049538388848305,
0.04608624055981636,
0.03981767222285271,
0.004880904220044613,
-0.017256075516343117,
0.005489375442266464,
-0.02596728503704071,
-0.04563098028302193,
0.006202906835824251,
0.0836276188492775,
0.00908767431974411,
0.008159645833075047,
-0.01815783977508545,
0.06842896342277527,
-0.05344042927026749,
-0.024899177253246307,
0.03188565373420715,
0.009674258530139923,
0.0066362787038087845,
0.004230846650898457,
0.007441737223416567,
0.038171734660863876,
-0.06167011335492134,
-0.017755109816789627,
0.0246365275233984,
-0.039432451128959656,
-0.0002469179453328252,
0.017431175336241722,
-0.04118344932794571,
0.008317235857248306,
0.03848691284656525,
0.06440167129039764,
-0.001165507361292839,
0.028978999704122543,
0.006601258646696806,
-0.00868056807667017,
0.08860044926404953,
0.0017827338306233287,
-0.02461901865899563,
-0.012449588626623154,
0.005878972355276346,
-0.05820314213633537,
-0.009315304458141327,
-0.038101695477962494,
-0.036175597459077835,
0.05743270367383957,
0.010155783034861088,
0.03381175175309181,
0.0005931502091698349,
0.0000675091432640329,
-0.002265352290123701,
-0.02073180489242077,
0.06916438043117523,
-0.005423713009804487,
0.02820856124162674,
-0.05935879796743393,
0.053125251084566116,
0.0050341165624558926,
-0.016625717282295227,
-0.026124875992536545,
-0.023218220099806786,
0.032621074467897415,
0.04307452589273453,
0.009262774139642715,
0.03466974198818207,
-0.029136590659618378,
-0.011110075749456882,
0.0023638459388166666,
-0.0343545600771904,
0.06328102946281433,
-0.05536652356386185,
0.041358549147844315,
0.002241276204586029,
0.07522283494472504,
0.015723953023552895,
-0.002746876562014222,
0.01917341724038124,
-0.09182228147983551,
-0.02435636892914772,
0.000988766085356474,
0.024093719199299812,
0.06492696702480316,
-0.055016327649354935,
-0.06786864250898361,
-0.030589917674660683,
-0.013789101503789425,
-0.015802748501300812,
0.018648117780685425,
-0.0121694291010499,
-0.07627342641353607,
0.012782278470695019,
0.0010237860260531306,
0.013097457587718964,
0.04965827614068985,
-0.02826109156012535,
0.019716225564479828,
0.011311440728604794,
-0.013885405845940113,
0.021677343174815178,
0.02337580919265747,
0.05683736130595207,
0.021344654262065887,
0.029451768845319748,
-0.07963534444570541,
-0.016039133071899414,
0.04188384860754013,
-0.027017883956432343,
-0.02139718271791935,
0.05613696575164795,
-0.04048305004835129,
0.0057914224453270435,
-0.008199043571949005,
0.003375046653673053,
0.029679398983716965,
-0.109122134745121,
-0.01364902127534151,
-0.052705008536577225,
0.01072485651820898,
-0.030922606587409973,
-0.0694795623421669,
-0.03398685157299042,
-0.05876345932483673,
0.04062313213944435,
-0.0008678378653712571,
0.018105309456586838,
-0.01591656357049942,
0.06138995662331581,
-0.027665752917528152,
0.02827860228717327,
-0.029346710070967674,
0.05245986953377724,
0.01376283634454012,
0.002987638581544161,
-0.06527716666460037,
-0.030677467584609985,
-0.017115995287895203,
-0.00957795325666666,
-0.010050722397863865,
-0.01789519004523754,
0.05421086773276329,
-0.05386066809296608,
-0.005835197400301695,
-0.03500242903828621,
-0.0047058044001460075,
0.0013154365587979555,
-0.04822245612740517,
-0.002757820300757885,
0.007608082145452499,
0.019558636471629143,
0.033864282071590424,
-0.038416873663663864,
0.027052903547883034,
0.0019720604177564383,
0.06527716666460037,
-0.019681205973029137,
-0.013281312771141529,
-0.010313372127711773,
-0.026702703908085823,
-0.012449588626623154,
-0.002571776742115617,
0.03607053682208061,
0.015960337594151497,
-0.019978875294327736,
0.01749246008694172,
0.08881057053804398,
0.03431954234838486,
-0.005379938520491123,
0.03855695575475693,
0.05067385360598564,
0.013797856867313385,
-0.022272681817412376,
-0.030975136905908585,
-0.026142384856939316,
0.04149862751364708,
-0.017947718501091003,
-0.02015397511422634,
0.03806667402386665,
-0.01510234922170639,
-0.0486777164041996,
0.03367167338728905,
0.04149862751364708,
-0.027718283236026764,
0.006693186238408089,
-0.012230713851749897,
0.0007140784873627126,
-0.04444030299782753,
0.017264829948544502,
-0.0019381347810849547,
0.01591656357049942,
0.010313372127711773,
0.03249850496649742,
0.041043370962142944,
0.01446323562413454,
-0.02752567268908024,
-0.03757639601826668,
0.017536234110593796,
-0.0604444183409214,
-0.01103128120303154,
-0.051759470254182816,
-0.00722724013030529,
-0.03503745049238205,
0.010418431833386421,
-0.00794952642172575,
-0.005305520724505186,
0.06079461798071861,
-0.011757944710552692,
-0.06583748757839203,
-0.02920662984251976,
-0.01331633236259222,
-0.011582844890654087,
-0.05512138456106186,
0.03319890424609184,
0.07081031799316406,
0.04811739921569824,
0.007047763094305992,
0.008400408551096916,
0.0011720736511051655,
0.019873816519975662,
0.02405869960784912,
-0.011687904596328735,
0.03281368315219879,
0.014016730710864067,
0.00923650898039341,
-0.031062686815857887,
-0.07620339095592499,
0.013412636704742908,
-0.050183575600385666,
-0.043599825352430344,
0.01950610615313053,
-0.0382767952978611,
0.009901887737214565,
-0.06944454461336136,
0.056942421942949295,
0.07977542281150818,
-0.037156157195568085,
-0.01138148084282875,
0.046611540019512177,
0.06569740921258926,
0.06699314713478088,
0.042374126613140106,
-0.050183575600385666,
0.0694795623421669,
-0.08818020671606064,
0.0032546657603234053,
-0.058868519961833954,
-0.05189955234527588,
-0.04058811068534851,
-0.04444030299782753,
0.0058745951391756535,
0.02498672716319561,
0.004609499592334032,
-0.042093969881534576,
0.002278484869748354,
-0.05480620637536049,
-0.007135313004255295,
-0.04846759885549545,
0.014489499852061272,
-0.011460275389254093,
0.026370014995336533,
-0.008308480493724346,
-0.018700648099184036,
-0.001010106410831213,
-0.008002056740224361,
0.023130670189857483,
0.0045088171027600765,
-0.004018538165837526,
0.038136713206768036,
-0.021589793264865875,
-0.015942826867103577,
-0.02819105237722397,
0.04027293249964714,
-0.023218220099806786,
0.055331505835056305,
-0.009612973779439926,
0.049798354506492615,
-0.0223777424544096,
-0.017921455204486847,
-0.012344528920948505,
0.025827206671237946,
0.002665892941877246,
0.0480823777616024,
-0.02468905784189701,
0.007673744577914476,
0.03181561455130577,
-0.017115995287895203,
0.025424476712942123,
-0.012502118945121765,
-0.05256493017077446,
-0.04013285040855408,
-0.04286440834403038,
0.004885281436145306,
0.007244749926030636,
0.013666532002389431,
-0.014927249401807785,
-0.021309632807970047,
0.014629580080509186,
-0.05872843787074089,
0.05263496935367584,
0.0027249890845268965,
-0.004977209027856588,
-0.015636403113603592,
0.02628246508538723,
0.02861129119992256,
-0.05102405324578285,
-0.007892618887126446,
0.011696659959852695,
-0.007695632055401802,
0.055996883660554886,
-0.05666226148605347,
-0.017037201672792435,
0.025844715535640717,
-0.04517572373151779,
0.014183076098561287,
0.02048666588962078,
0.011556580662727356,
0.002355091040953994,
0.041008349508047104,
-0.048852816224098206,
-0.05326532945036888,
0.04251420870423317,
-0.00745049212127924,
-0.06345613300800323,
0.04878277704119682,
-0.021799912676215172,
-0.03281368315219879,
0.07872482389211655,
0.02332328073680401,
-0.01943606697022915,
0.004403757397085428,
0.0009094240958802402,
0.016783306375145912,
0.02432134933769703,
-0.03211328387260437,
0.031342845410108566,
-0.053090229630470276,
-0.007993301376700401,
0.056242022663354874,
0.06426159292459488,
0.05781792104244232,
-0.018928278237581253,
-0.019576147198677063,
0.03183312714099884,
0.031938184052705765,
-0.05837824195623398,
0.02925916016101837,
0.04373990371823311,
0.014034241437911987,
0.009367833845317364,
-0.0005668852827511728,
-0.0312027670443058,
-0.012108144350349903,
-0.017186036333441734,
0.06457676738500595,
-0.014629580080509186,
-0.010435942560434341,
-0.07172083854675293,
-0.013570226728916168,
-0.04976333677768707,
-0.021152043715119362,
-0.02691282331943512,
0.011924289166927338,
0.031027667224407196,
-0.006990855559706688,
-0.050113532692193985,
0.0370861180126667,
-0.036490779370069504,
-0.09791575372219086,
0.05669728294014931,
-0.10632053762674332,
0.07056517899036407,
-0.004187071695923805,
0.04857265576720238,
0.016424352303147316,
-0.05196959152817726,
0.06744840741157532,
0.028681330382823944,
-0.023533400148153305,
0.04409010335803032,
-0.0583081990480423,
0.032008226960897446,
-0.004053558222949505,
0.015137368813157082,
-0.013237537816166878,
-0.028313621878623962,
-0.057607799768447876,
0.0008968387846834958,
-0.005752025172114372,
-0.0064392914064228535,
-0.04153364896774292,
0.033251434564590454,
0.025389457121491432,
0.017107240855693817,
0.002554266946390271,
0.04226906597614288,
-0.0032831192947924137,
-0.04864269867539406,
-0.041078388690948486,
-0.018245389685034752,
0.0875498503446579,
-0.04598117992281914,
0.014489499852061272,
0.03573784977197647,
0.04086827114224434,
0.03402187302708626,
-0.04829249903559685,
0.01446323562413454,
-0.03733125701546669,
0.07200099527835846,
-0.021624812856316566,
0.017965229228138924,
-0.039082251489162445,
-0.042339108884334564,
-0.03319890424609184,
0.00988437794148922,
0.006229171995073557,
-0.03764643520116806,
-0.0015857466496527195,
-0.06944454461336136,
-0.004889659117907286,
0.023550909012556076,
-0.014498255215585232,
-0.008899441920220852,
-0.026107365265488625,
-0.03883711248636246,
-0.004158617928624153,
-0.0473119392991066,
-0.019313497468829155,
0.004513194784522057,
0.006032184697687626,
0.034231990575790405,
-0.00006484160985564813,
0.03589543700218201,
0.026510095223784447,
0.04444030299782753,
-0.0006139433244243264,
-0.06233549490571022,
0.022272681817412376,
0.014078016392886639,
0.05028863251209259,
-0.05477118492126465,
-0.030589917674660683,
-0.010672327131032944,
0.023953638970851898,
-0.010050722397863865,
0.016170457005500793,
0.012799788266420364,
0.025897245854139328,
0.026405034586787224,
0.01576772890985012,
-0.0433897040784359,
0.021869951859116554,
0.02500423789024353,
0.028943980112671852,
0.0004681181162595749,
0.01882321760058403,
0.03570282831788063,
0.004885281436145306,
-0.061214856803417206,
0.05904361978173256,
-0.030117148533463478,
0.06660792976617813,
0.022517820820212364,
-0.009070164524018764,
-0.018245389685034752,
0.07046011835336685,
-0.03985269367694855,
-0.07543294876813889,
-0.022447781637310982,
0.02528439648449421,
-0.005555037874728441,
0.0018801330588757992,
-0.015496323816478252,
-0.11087313294410706,
0.02796342223882675,
-0.02953931875526905,
-0.028085991740226746,
-0.013570226728916168,
0.001748808310367167,
0.003250288311392069,
0.019401047378778458,
0.011425255797803402,
-0.014226851053535938,
-0.0019961365032941103,
0.046261340379714966,
0.01976875588297844,
0.005082268733531237,
-0.08054586499929428,
0.02565210685133934,
0.03344404324889183,
0.028418680652976036,
-0.0006817944813519716,
-0.03020469844341278,
-0.006846398115158081,
-0.018595587462186813,
0.028453702107071877,
-0.022868020460009575,
-0.003094887128099799,
0.01427062600851059,
0.04020288959145546,
0.012852317653596401,
-0.03267360478639603,
-0.005121666472405195,
-0.026352504268288612,
0.01578523777425289,
0.0063079665414988995,
-0.05281006917357445,
0.0009400665294378996,
-0.009464139118790627,
-0.0032874969765543938,
0.00029821667703799903,
-0.013141232542693615,
-0.029346710070967674,
-0.026790253818035126,
0.04507066309452057,
-0.05561166629195213,
-0.061845213174819946,
0.027455633506178856,
0.0007939676870591938,
-0.02533692680299282,
0.047557078301906586,
0.026737723499536514,
-0.00959546398371458,
0.04643644019961357,
0.016117926687002182,
-0.025722146034240723,
-0.050778914242982864,
-0.030292248353362083,
0.03050236776471138,
0.006785113364458084,
-0.00940285436809063,
0.02071429416537285,
-0.04906293749809265,
0.0298369899392128,
-0.04531580209732056,
0.011311440728604794,
-0.0006796056986786425,
0.01152156013995409,
-0.00972678791731596,
0.010549756698310375,
-0.008667435497045517,
0.047592099756002426,
-0.022080073133111,
-0.0056819855235517025,
0.06657290458679199,
-0.01610041782259941,
-0.1012776643037796,
0.012572158128023148,
-0.04409010335803032,
0.007034630514681339,
0.028821410611271858,
0.007581816986203194,
0.04906293749809265,
-0.05347544699907303,
-0.01331633236259222,
0.047802217304706573,
-0.06124987453222275,
0.012580913491547108,
0.0080239437520504,
0.03365416079759598,
-0.05536652356386185,
-0.026037326082587242,
-0.042339108884334564,
0.02892647124826908,
0.028383661061525345,
-0.025792185217142105,
0.033216413110494614,
0.003703358583152294,
0.028681330382823944,
-0.036210618913173676,
-0.027017883956432343,
0.053055208176374435,
0.049203015863895416,
0.07291151583194733,
0.011223890818655491,
0.055331505835056305,
-0.049833375960588455,
-0.010593531653285027,
-0.032323405146598816,
0.02468905784189701,
0.055996883660554886,
-0.01578523777425289,
0.005607567727565765,
-0.03540515899658203,
-0.028068482875823975,
0.028961490839719772,
-0.04503564164042473,
0.010313372127711773,
0.040728189051151276,
0.01652941107749939,
0.0001885057718027383,
-0.032918743789196014,
-0.013780346140265465,
-0.04289942607283592,
0.0610397569835186,
-0.013859141618013382,
0.02470656856894493,
0.005270501133054495,
0.02109951339662075,
0.005371183156967163,
0.10218818485736847
] |
10,297 | fractions | __lt__ | a < b | def __lt__(a, b):
"""a < b"""
return a._richcmp(b, operator.lt)
| (a, b) | [
-0.025769954547286034,
0.010314928367733955,
0.00668126018717885,
0.013223598711192608,
0.016835561022162437,
-0.002947742585092783,
0.0094813983887434,
-0.014673592522740364,
-0.037474099546670914,
-0.05720096454024315,
0.03002442792057991,
-0.05153990909457207,
0.06466799974441528,
0.006069136783480644,
-0.07348952442407608,
-0.009889480657875538,
-0.042510006576776505,
-0.014916705898940563,
-0.005934556480497122,
-0.022557392716407776,
-0.018129266798496246,
0.0367794893682003,
0.015194549225270748,
-0.0074540115892887115,
0.04598304629325867,
0.07800447195768356,
0.010228102095425129,
-0.016245143488049507,
-0.03799505531787872,
0.019119083881378174,
-0.014013715088367462,
-0.0064511713571846485,
0.029833411797881126,
-0.07300329208374023,
0.0077318549156188965,
-0.03625853359699249,
0.013744554482400417,
0.022522663697600365,
-0.030962148681282997,
0.004619142971932888,
0.0002230342652183026,
-0.032490286976099014,
-0.002092506503686309,
-0.03657110780477524,
-0.031483106315135956,
-0.03446992114186287,
-0.008873616345226765,
-0.03657110780477524,
0.03115316666662693,
0.004766746889799833,
0.0027697491459548473,
-0.008027062751352787,
0.02556157298386097,
0.02285260148346424,
-0.10516364127397537,
0.028148986399173737,
0.01899752765893936,
0.03542500361800194,
-0.05737461522221565,
0.03507770225405693,
-0.009203555062413216,
0.03938427194952965,
-0.01606280915439129,
-0.025960972532629967,
0.018476571887731552,
-0.0377519428730011,
-0.07835177332162857,
0.0009431473445147276,
-0.05518660321831703,
0.03858547285199165,
-0.06699493527412415,
0.03295914828777313,
0.005218242295086384,
0.015385566279292107,
-0.04712915048003197,
0.046920765191316605,
-0.04185012727975845,
0.03514716401696205,
0.04327407479286194,
-0.013787968084216118,
0.07039851695299149,
-0.015133771114051342,
0.048622556030750275,
0.013423298485577106,
-0.026412466540932655,
-0.03278549388051033,
0.008248469792306423,
0.005691444035619497,
0.03266393765807152,
0.019014893099665642,
-0.03931481018662453,
0.0875900611281395,
0.006008358672261238,
-0.019587943330407143,
0.0356333889067173,
0.04737226292490959,
0.014717006124556065,
0.04601777717471123,
0.016696639358997345,
0.013796650804579258,
0.08099129050970078,
0.01772986724972725,
0.0007239117403514683,
-0.04112078994512558,
-0.00066042022081092,
-0.010497262701392174,
-0.00039288762491196394,
-0.006069136783480644,
-0.03653637692332268,
0.026863962411880493,
-0.015211913734674454,
-0.03688368201255798,
-0.03771721199154854,
0.0051444401033222675,
0.003492575604468584,
0.015619996003806591,
0.04344772547483444,
-0.00429788650944829,
0.056402165442705154,
-0.010367023758590221,
0.0021283221431076527,
-0.04518424719572067,
0.04181540012359619,
-0.008908347226679325,
-0.04636508226394653,
0.023026254028081894,
0.04066929593682289,
-0.01786878891289234,
-0.05101895332336426,
-0.04490640386939049,
0.05445726215839386,
-0.008877958171069622,
0.010097863152623177,
0.03990522772073746,
0.024693312123417854,
-0.0691482201218605,
0.022574758157134056,
0.07883800566196442,
0.058103956282138824,
0.003859415417537093,
0.004944740328937769,
-0.03598069027066231,
0.019692135974764824,
0.005400576628744602,
-0.04386449232697487,
-0.03605015203356743,
-0.014117906801402569,
0.041398633271455765,
0.04619142785668373,
0.08119966834783554,
0.002455004956573248,
-0.012112226337194443,
0.05508241057395935,
-0.01688765548169613,
-0.0015400761039927602,
0.017113402485847473,
-0.03740463778376579,
-0.0791158452630043,
0.022435836493968964,
-0.029242994263768196,
0.04896986111998558,
-0.013692459091544151,
0.01192989107221365,
-0.010158641263842583,
0.0054526724852621555,
0.010167323984205723,
0.0003779644030146301,
-0.01109636202454567,
-0.016262508928775787,
0.05185248330235481,
0.051470447331666946,
-0.002728506922721863,
-0.01087061408907175,
-0.0013284377055242658,
0.013458029367029667,
-0.008400415070354939,
-0.004028725903481245,
0.06546679884195328,
0.003579401643946767,
0.016323287039995193,
-0.027020249515771866,
0.060847654938697815,
-0.042336355894804,
-0.01391820702701807,
0.00264168088324368,
-0.01685292460024357,
0.01005445048213005,
-0.01941429264843464,
0.00970714632421732,
0.035807039588689804,
-0.0317956805229187,
-0.03544237092137337,
-0.00007339509465964511,
-0.013501442037522793,
-0.006403416860848665,
0.04007887840270996,
-0.04719860851764679,
-0.00666823610663414,
0.05553390458226204,
0.08953496813774109,
-0.018650222569704056,
0.03165675699710846,
0.009967624209821224,
-0.0005152579979039729,
0.08814574778079987,
0.0014521647244691849,
-0.023234635591506958,
-0.013093359768390656,
-0.02665558084845543,
-0.05452672392129898,
-0.0068114991299808025,
-0.044767484068870544,
-0.015368200838565826,
0.04466329142451286,
0.006546679884195328,
0.03910642862319946,
0.005613300483673811,
-0.011834383010864258,
-0.016427477821707726,
-0.030180715024471283,
0.07515657693147659,
-0.0035967668518424034,
0.0006994919385761023,
-0.03910642862319946,
0.06022251024842262,
0.015923887491226196,
-0.004406419117003679,
-0.03007652424275875,
-0.028635213151574135,
0.042093243449926376,
0.06810630857944489,
-0.010358341038227081,
0.049803391098976135,
-0.012199051678180695,
-0.01667059026658535,
0.0035945961717516184,
0.003486063564196229,
0.049108780920505524,
-0.0814080536365509,
0.0043478114530444145,
-0.014100541360676289,
0.08224157989025116,
0.04837944358587265,
0.001227502478286624,
0.023182541131973267,
-0.10947021096944809,
-0.032073523849248886,
0.009906846098601818,
-0.018719684332609177,
0.04678184539079666,
-0.03108370490372181,
-0.0366058386862278,
-0.03844654932618141,
-0.014013715088367462,
-0.02939928136765957,
-0.00572617445141077,
-0.023651400581002235,
-0.06633505970239639,
-0.02052566409111023,
0.017391245812177658,
-0.010775106027722359,
0.007840387523174286,
-0.05438780412077904,
-0.002947742585092783,
0.004640849307179451,
-0.02446756511926651,
0.011799652129411697,
0.052130326628685,
0.027124440297484398,
0.07088474184274673,
0.030337002128362656,
-0.08231104165315628,
0.0028652579057961702,
0.04567047208547592,
-0.019188543781638145,
-0.0284441951662302,
0.015507122501730919,
-0.029312456026673317,
0.0050880033522844315,
-0.030701670795679092,
0.010905344970524311,
0.03490404784679413,
-0.11349894106388092,
-0.013405933044850826,
-0.04487167298793793,
-0.0323687307536602,
-0.02062985673546791,
-0.08585353940725327,
-0.07515657693147659,
-0.02887832559645176,
0.031239992007613182,
0.017017895355820656,
0.0210813507437706,
-0.018233459442853928,
0.048101600259542465,
-0.03629326447844505,
0.0004968075081706047,
-0.03559865802526474,
0.05108841508626938,
0.028010064736008644,
-0.002461516996845603,
-0.05404049903154373,
-0.012068812735378742,
-0.007840387523174286,
-0.007150120567530394,
-0.005878119729459286,
-0.016896339133381844,
0.035911232233047485,
-0.06887038052082062,
-0.002756725298240781,
-0.026499293744564056,
0.014508623629808426,
-0.02332146279513836,
-0.03858547285199165,
-0.006867935881018639,
0.009394572116434574,
0.008960442617535591,
0.030267542228102684,
-0.024780139327049255,
0.03820343688130379,
-0.007701465860009193,
0.04438544809818268,
-0.014117906801402569,
0.01586310938000679,
-0.0011233113473281264,
-0.03778667375445366,
-0.007462694309651852,
-0.012173004448413849,
0.018042441457509995,
0.02340828813612461,
-0.009576907381415367,
0.049768660217523575,
0.09384153038263321,
0.008556701242923737,
-0.013449346646666527,
0.03337591141462326,
0.038029786199331284,
0.01645352505147457,
-0.03855074197053909,
-0.030944783240556717,
-0.0333411805331707,
0.015185866504907608,
0.019049622118473053,
-0.013675093650817871,
0.024259183555841446,
-0.006946079432964325,
-0.020265186205506325,
0.03327172249555588,
0.011148457415401936,
-0.028183717280626297,
0.0013197551015764475,
-0.016731368377804756,
-0.0071370964869856834,
-0.04181540012359619,
0.019622674211859703,
-0.005370187573134899,
-0.0006946079665794969,
0.019900517538189888,
0.027610665187239647,
0.029295090585947037,
0.050289615988731384,
-0.014508623629808426,
-0.030823227018117905,
-0.01894543133676052,
-0.04900459200143814,
-0.002272670390084386,
-0.020334647968411446,
-0.03217771276831627,
-0.06939133256673813,
-0.005035907495766878,
-0.04671238362789154,
0.0033601659815758467,
0.03150046989321709,
-0.05164410173892975,
-0.054700374603271484,
-0.04716388136148453,
-0.018754415214061737,
0.008430804125964642,
-0.04994231089949608,
0.048587825149297714,
0.07925476878881454,
0.04629562050104141,
0.004389054141938686,
0.009785289876163006,
-0.017755916342139244,
0.013206233270466328,
-0.002639510203152895,
0.007497424725443125,
0.04740699380636215,
0.008326612412929535,
-0.011817017570137978,
-0.040912408381700516,
-0.06407758593559265,
0.02559630386531353,
-0.04626088961958885,
-0.030788497999310493,
0.031361550092697144,
-0.036432188004255295,
0.000010598876542644575,
-0.06647398322820663,
0.05841652676463127,
0.08349187672138214,
-0.013640363700687885,
0.009411937557160854,
0.03499087691307068,
0.04046091437339783,
0.05108841508626938,
0.03615434467792511,
-0.06737697124481201,
0.07939369231462479,
-0.07724040746688843,
0.02728072740137577,
-0.05122733488678932,
-0.03910642862319946,
-0.0014434821205213666,
-0.026464562863111496,
0.003245121566578746,
0.04490640386939049,
-0.02340828813612461,
-0.020265186205506325,
-0.03212561830878258,
-0.04664292559027672,
-0.029816046357154846,
-0.0267250407487154,
0.0006468536448664963,
-0.004174159839749336,
0.02715917117893696,
-0.01527269184589386,
-0.028079526498913765,
0.008131254464387894,
0.03000706434249878,
0.03726571798324585,
0.004688603803515434,
0.010914027690887451,
0.04108605906367302,
-0.01891070231795311,
-0.026464562863111496,
-0.03761301934719086,
0.019049622118473053,
0.007410598453134298,
0.05112314596772194,
0.01112241018563509,
0.07067635655403137,
0.003488234244287014,
-0.03716152533888817,
-0.0038116611540317535,
0.02337355725467205,
0.033566929399967194,
0.02715917117893696,
-0.029850777238607407,
0.05122733488678932,
0.03629326447844505,
0.02623881585896015,
0.021237637847661972,
-0.022001706063747406,
-0.06682128459215164,
-0.060291968286037445,
-0.013727189972996712,
-0.01531610544770956,
0.020404107868671417,
-0.00860445573925972,
0.023460382595658302,
-0.03004179336130619,
-0.014378384687006474,
-0.04549682140350342,
0.056367434561252594,
-0.02172386273741722,
-0.00678979279473424,
-0.04046091437339783,
0.023026254028081894,
0.025318460538983345,
-0.04275311902165413,
-0.006581410299986601,
0.017035260796546936,
-0.04962973669171333,
0.06692547351121902,
-0.05779138207435608,
-0.03837708756327629,
0.032490286976099014,
-0.026933424174785614,
0.013805332593619823,
-0.022418471053242683,
0.022540027275681496,
0.019778961315751076,
0.04379503056406975,
-0.023755591362714767,
-0.04219743236899376,
0.056436896324157715,
0.013240964151918888,
-0.05789557099342346,
0.040321990847587585,
0.008678258396685123,
-0.011764922179281712,
0.033566929399967194,
0.004098186735063791,
-0.00668560154736042,
-0.020751412957906723,
0.006776768714189529,
0.017356516793370247,
0.033167529851198196,
-0.03516452759504318,
0.004389054141938686,
-0.01885860599577427,
0.00946403294801712,
0.07724040746688843,
0.05661054700613022,
0.06543207168579102,
0.01055804081261158,
-0.004080821759998798,
-0.0029651077929884195,
0.008187690749764442,
-0.07508712261915207,
0.05452672392129898,
0.04344772547483444,
0.027384918183088303,
-0.004623484332114458,
-0.005222583655267954,
-0.0014456528006121516,
0.012841564603149891,
-0.005027225241065025,
0.07786554843187332,
-0.04379503056406975,
-0.004970788024365902,
-0.10877560824155807,
-0.0035034287720918655,
-0.03816870599985123,
0.005244289990514517,
0.0008991917129606009,
0.01937956176698208,
0.024102896451950073,
-0.005153122823685408,
-0.04740699380636215,
0.009411937557160854,
-0.038064517080783844,
-0.07071109116077423,
0.07314221560955048,
-0.11426300555467606,
0.07272545248270035,
0.007362844422459602,
0.03566811978816986,
0.023078348487615585,
-0.03059748001396656,
0.09266070276498795,
0.03969684615731239,
-0.013840063475072384,
0.02062985673546791,
-0.08786790817975998,
0.05226924642920494,
-0.034122616052627563,
-0.007692783139646053,
-0.01053199265152216,
-0.03778667375445366,
-0.047580644488334656,
-0.0061385976150631905,
-0.025700494647026062,
-0.02507534623146057,
-0.029607662931084633,
0.01998734287917614,
0.036327995359897614,
0.03108370490372181,
0.03386213630437851,
0.039766304194927216,
0.03247292339801788,
-0.04994231089949608,
-0.036987874656915665,
-0.01337120309472084,
0.05282493308186531,
-0.02511007711291313,
-0.023529844358563423,
-0.011843065731227398,
0.03830762952566147,
0.033671122044324875,
-0.036987874656915665,
0.027350187301635742,
-0.042023781687021255,
0.07633741199970245,
-0.016496939584612846,
0.03386213630437851,
-0.05716623365879059,
-0.03467830270528793,
-0.019640039652585983,
-0.006290543358772993,
0.019674770534038544,
-0.0329417809844017,
-0.005192194599658251,
-0.07022486627101898,
0.0007760073058307171,
0.029850777238607407,
-0.010445167310535908,
-0.030371733009815216,
-0.041398633271455765,
-0.05355427414178848,
0.010306245647370815,
-0.01751280203461647,
0.013128090649843216,
0.0043000574223697186,
0.007844728417694569,
0.012407434172928333,
-0.05386684834957123,
0.0071718269027769566,
0.02113344706594944,
0.030944783240556717,
0.0284441951662302,
-0.03848128020763397,
0.03827289864420891,
-0.01663586124777794,
0.04726807028055191,
-0.05546444654464722,
-0.0323687307536602,
-0.009273015893995762,
0.05119260773062706,
0.013727189972996712,
0.017347833141684532,
0.003974460065364838,
0.049664467573165894,
0.017703820019960403,
0.032073523849248886,
-0.04567047208547592,
0.04952554777264595,
-0.009012538008391857,
-0.001711557386443019,
-0.009889480657875538,
0.012537673115730286,
0.031483106315135956,
0.0017864448018372059,
-0.06494584679603577,
0.040287259966135025,
-0.01001971960067749,
0.04778902605175972,
-0.011235283687710762,
0.006203717086464167,
-0.03004179336130619,
0.10064869374036789,
-0.029625028371810913,
-0.07112785428762436,
-0.03264657407999039,
0.032594479620456696,
-0.007671076338738203,
-0.012763421051204205,
0.0035338180605322123,
-0.06699493527412415,
-0.0005383211537264287,
-0.0356333889067173,
-0.01333647221326828,
-0.02111608162522316,
-0.012320608831942081,
-0.027957970276474953,
-0.005791293922811747,
0.03429626673460007,
-0.0038963165134191513,
-0.0012285878183320165,
0.024033434689044952,
0.030250176787376404,
0.012094860896468163,
-0.10044030845165253,
0.0228873323649168,
0.007692783139646053,
-0.009273015893995762,
0.02278314158320427,
-0.02774958685040474,
-0.0032624867744743824,
-0.007744878530502319,
0.02052566409111023,
0.012433482334017754,
0.021359194070100784,
0.00016591904568485916,
0.022470567375421524,
-0.012077495455741882,
-0.012624499388039112,
0.00527467904612422,
-0.03108370490372181,
0.04733753204345703,
0.01444784551858902,
-0.04949081689119339,
-0.028652578592300415,
-0.017703820019960403,
-0.007050270680338144,
-0.011183188296854496,
-0.018598128110170364,
-0.025387920439243317,
-0.026325641199946404,
0.04601777717471123,
-0.04598304629325867,
-0.0465734638273716,
-0.005891143810003996,
-0.012572403997182846,
-0.030979514122009277,
0.023564575240015984,
0.020751412957906723,
0.00382468500174582,
0.0467471145093441,
0.012876294553279877,
-0.023668766021728516,
-0.060291968286037445,
-0.050914764404296875,
0.010610136203467846,
0.024293912574648857,
-0.00763634592294693,
0.013275694102048874,
-0.03240346163511276,
0.028791500255465508,
-0.00528770312666893,
0.00484489044174552,
0.002667728578671813,
-0.012615816667675972,
-0.015342152677476406,
0.0015910863876342773,
0.00572617445141077,
0.05039380490779877,
-0.022557392716407776,
-0.012407434172928333,
0.029850777238607407,
0.021845420822501183,
-0.07098893076181412,
0.03282022476196289,
-0.00870430562645197,
0.0144652109593153,
0.04185012727975845,
0.03608488291501999,
0.0774487853050232,
-0.02285260148346424,
-0.008960442617535591,
0.04459382966160774,
-0.012720008380711079,
0.021011890843510628,
0.04108605906367302,
0.03844654932618141,
-0.08932658284902573,
-0.03855074197053909,
-0.03844654932618141,
0.04737226292490959,
0.05383211746811867,
-0.008087840862572193,
0.007414939813315868,
0.03552919626235962,
0.017122086137533188,
-0.03332381695508957,
-0.02563103288412094,
0.07404521107673645,
0.0545961856842041,
0.051400989294052124,
0.014916705898940563,
0.03242082521319389,
-0.05949316918849945,
0.02382505312561989,
-0.051956675946712494,
0.04164174571633339,
0.05744407698512077,
-0.010471214540302753,
0.04296150058507919,
-0.027054980397224426,
-0.029607662931084633,
-0.010332292877137661,
-0.0601530484855175,
0.04237108677625656,
0.05223451927304268,
-0.014916705898940563,
0.013440663926303387,
-0.022470567375421524,
-0.018580762669444084,
-0.02615198865532875,
0.040912408381700516,
-0.0500117726624012,
0.032490286976099014,
0.010670914314687252,
0.00810954812914133,
0.014048445969820023,
0.08022721856832504
] |
10,298 | fractions | __mod__ | a % b | def _operator_fallbacks(monomorphic_operator, fallback_operator):
"""Generates forward and reverse operators given a purely-rational
operator and a function from the operator module.
Use this like:
__op__, __rop__ = _operator_fallbacks(just_rational_op, operator.op)
In general, we want to implement the arithmetic operations so
that mixed-mode operations either call an implementation whose
author knew about the types of both arguments, or convert both
to the nearest built in type and do the operation there. In
Fraction, that means that we define __add__ and __radd__ as:
def __add__(self, other):
# Both types have numerators/denominator attributes,
# so do the operation directly
if isinstance(other, (int, Fraction)):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
# float and complex don't have those operations, but we
# know about those types, so special case them.
elif isinstance(other, float):
return float(self) + other
elif isinstance(other, complex):
return complex(self) + other
# Let the other type take over.
return NotImplemented
def __radd__(self, other):
# radd handles more types than add because there's
# nothing left to fall back to.
if isinstance(other, numbers.Rational):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
elif isinstance(other, Real):
return float(other) + float(self)
elif isinstance(other, Complex):
return complex(other) + complex(self)
return NotImplemented
There are 5 different cases for a mixed-type addition on
Fraction. I'll refer to all of the above code that doesn't
refer to Fraction, float, or complex as "boilerplate". 'r'
will be an instance of Fraction, which is a subtype of
Rational (r : Fraction <: Rational), and b : B <:
Complex. The first three involve 'r + b':
1. If B <: Fraction, int, float, or complex, we handle
that specially, and all is well.
2. If Fraction falls back to the boilerplate code, and it
were to return a value from __add__, we'd miss the
possibility that B defines a more intelligent __radd__,
so the boilerplate should return NotImplemented from
__add__. In particular, we don't handle Rational
here, even though we could get an exact answer, in case
the other type wants to do something special.
3. If B <: Fraction, Python tries B.__radd__ before
Fraction.__add__. This is ok, because it was
implemented with knowledge of Fraction, so it can
handle those instances before delegating to Real or
Complex.
The next two situations describe 'b + r'. We assume that b
didn't know about Fraction in its implementation, and that it
uses similar boilerplate code:
4. If B <: Rational, then __radd_ converts both to the
builtin rational type (hey look, that's us) and
proceeds.
5. Otherwise, __radd__ tries to find the nearest common
base ABC, and fall back to its builtin type. Since this
class doesn't subclass a concrete type, there's no
implementation to fall back to, so we need to try as
hard as possible to return an actual value, or the user
will get a TypeError.
"""
def forward(a, b):
if isinstance(b, (int, Fraction)):
return monomorphic_operator(a, b)
elif isinstance(b, float):
return fallback_operator(float(a), b)
elif isinstance(b, complex):
return fallback_operator(complex(a), b)
else:
return NotImplemented
forward.__name__ = '__' + fallback_operator.__name__ + '__'
forward.__doc__ = monomorphic_operator.__doc__
def reverse(b, a):
if isinstance(a, numbers.Rational):
# Includes ints.
return monomorphic_operator(a, b)
elif isinstance(a, numbers.Real):
return fallback_operator(float(a), float(b))
elif isinstance(a, numbers.Complex):
return fallback_operator(complex(a), complex(b))
else:
return NotImplemented
reverse.__name__ = '__r' + fallback_operator.__name__ + '__'
reverse.__doc__ = monomorphic_operator.__doc__
return forward, reverse
| (a, b) | [
-0.03859762102365494,
-0.06188410148024559,
-0.0011350512504577637,
0.05616593360900879,
0.011097756214439869,
-0.012847064062952995,
-0.03622759133577347,
-0.023474575951695442,
-0.027104860171675682,
-0.014840898104012012,
0.07467473298311234,
0.012546108104288578,
0.0520654059946537,
0.032634928822517395,
-0.020145248621702194,
0.05274255946278572,
0.01366528868675232,
0.004356809891760349,
0.0027227122336626053,
-0.001199709833599627,
-0.005990907549858093,
0.009404878132045269,
0.041005268692970276,
0.07241756469011307,
-0.005393697880208492,
0.05594021826982498,
-0.00014526129234582186,
-0.021762888878583908,
-0.06286220997571945,
0.012658966705203056,
0.003769004950299859,
-0.01904487796127796,
-0.001985604874789715,
-0.02815820649266243,
0.007105385418981314,
-0.016787707805633545,
-0.019336430355906487,
0.07700714468955994,
-0.15649718046188354,
-0.005835726857185364,
-0.007185326889157295,
-0.030076801776885986,
0.02181931771337986,
-0.04299910366535187,
-0.027593912556767464,
-0.029587747529149055,
-0.01110716164112091,
-0.030415376648306847,
0.027067240327596664,
-0.015555668622255325,
0.02665342576801777,
-0.05575212091207504,
0.0197878647595644,
0.0203145369887352,
-0.043525777757167816,
0.029136313125491142,
-0.01954333670437336,
0.013505405746400356,
-0.07501330971717834,
0.002062019659206271,
-0.009724644012749195,
-0.0004338000144343823,
-0.05293065682053566,
0.0005140354041941464,
0.004342702683061361,
0.007641463540494442,
-0.040365736931562424,
-0.05112491920590401,
-0.02230837196111679,
0.0036702537909150124,
-0.062486011534929276,
0.0042321952059865,
0.03284183517098427,
-0.028553210198879242,
-0.020164059475064278,
-0.006592819932848215,
0.032634928822517395,
0.0047917854972183704,
0.036754265427589417,
-0.008610166609287262,
-0.02631484903395176,
-0.003371648956090212,
-0.007994147017598152,
-0.013270283117890358,
-0.0008922878187149763,
-0.06707559525966644,
0.001975024351850152,
0.008487902581691742,
-0.00895344465970993,
-0.051350634545087814,
-0.06007836386561394,
-0.06955847889184952,
0.03342493623495102,
0.009221483021974564,
0.024509113281965256,
0.022458849474787712,
-0.005459532141685486,
0.008962849155068398,
0.014361249282956123,
-0.0430743433535099,
-0.03293588384985924,
0.06647367775440216,
-0.02917393296957016,
-0.02849678136408329,
0.05180206894874573,
0.0015906000044196844,
0.02003239095211029,
-0.014643395319581032,
-0.04920632392168045,
0.0009681146475486457,
-0.04668581485748291,
-0.023436956107616425,
-0.03114895708858967,
0.0011362269287928939,
-0.008149326778948307,
0.005379590671509504,
-0.051501113921403885,
0.0008358585764653981,
0.060793135315179825,
0.012734205462038517,
-0.04950727894902229,
0.006301268469542265,
-0.019618576392531395,
0.0030542341992259026,
0.043563395738601685,
-0.004298029467463493,
0.10571083426475525,
0.022872664034366608,
-0.06722606718540192,
0.042209092527627945,
0.012489678338170052,
0.024565542116761208,
-0.017116878181695938,
0.03564449027180672,
-0.02622080035507679,
0.07885050028562546,
-0.03028370812535286,
0.01855582557618618,
-0.008186946623027325,
0.0110037075355649,
-0.004015882965177298,
-0.051651593297719955,
-0.0056241173297166824,
0.06278696656227112,
-0.0476263053715229,
0.031280625611543655,
0.034948527812957764,
0.011925386264920235,
0.014361249282956123,
0.02336171828210354,
-0.006653951480984688,
0.04044097661972046,
0.03605830296874046,
-0.027255337685346603,
0.046572957187891006,
-0.01514185406267643,
0.06703796982765198,
0.026691045612096786,
-0.059438832104206085,
-0.014596370980143547,
0.0039006732404232025,
-0.012423844076693058,
-0.01772819645702839,
-0.04156956076622009,
0.03523067384958267,
-0.014286010526120663,
0.006470556370913982,
-0.08712679147720337,
0.020765971392393112,
0.04747582599520683,
0.02704842947423458,
-0.04326244071125984,
0.0428486242890358,
-0.01521709281951189,
-0.012743609957396984,
-0.005163278430700302,
0.0019303512526676059,
0.00943309348076582,
-0.036979980766773224,
-0.01852761022746563,
0.07433615624904633,
-0.016599610447883606,
-0.09532784670591354,
-0.05262969806790352,
0.027537483721971512,
0.053193993866443634,
0.004102878272533417,
-0.048980604857206345,
0.014690419659018517,
0.010730965994298458,
0.017069853842258453,
-0.01637389324605465,
0.03378232195973396,
0.010382985696196556,
0.012753015384078026,
-0.057256899774074554,
0.029098693281412125,
-0.018612254410982132,
0.11248234659433365,
0.044391024857759476,
-0.0576707161962986,
0.022082654759287834,
0.07700714468955994,
0.047438208013772964,
-0.01633627340197563,
-0.024828879162669182,
-0.04770154505968094,
0.04077955335378647,
-0.03656616806983948,
-0.03062228485941887,
0.003082448849454522,
-0.010787395760416985,
0.013778147287666798,
0.03671664372086525,
-0.029192741960287094,
0.02738700620830059,
0.07388472557067871,
-0.0017763463547453284,
-0.006569307763129473,
0.014238986186683178,
0.00043438782449811697,
0.017718790099024773,
-0.001849234220571816,
-0.019562147557735443,
0.04363863542675972,
-0.014474107883870602,
-0.031807299703359604,
0.006188409868627787,
0.03344374895095825,
0.02166884019970894,
0.04736296832561493,
-0.0208976399153471,
-0.010082029737532139,
-0.05349494889378548,
0.04277338832616806,
0.010514654219150543,
0.015094829723238945,
0.002325356239452958,
0.027838440611958504,
0.03101728856563568,
-0.023060761392116547,
-0.0003041890449821949,
-0.011417522095143795,
0.04040335863828659,
0.022609326988458633,
-0.0621098168194294,
0.03184491768479347,
-0.014887922443449497,
0.012442653998732567,
-0.017248546704649925,
0.024396253749728203,
-0.028872976079583168,
0.029192741960287094,
-0.04318720102310181,
0.01710747368633747,
-0.007020741701126099,
-0.06805370002985,
-0.022383609786629677,
0.013561834581196308,
0.0007036024471744895,
0.011436332017183304,
0.05308113247156143,
0.0032070635352283716,
-0.0132796885445714,
-0.046911533921957016,
-0.05631641298532486,
-0.03438423573970795,
-0.001556507428176701,
0.036603786051273346,
0.0474005863070488,
0.039124295115470886,
-0.02956893853843212,
-0.051839690655469894,
0.035776156932115555,
-0.012094673700630665,
0.01889440044760704,
0.028760118409991264,
0.04909346625208855,
-0.003075395245105028,
-0.07794763147830963,
-0.0259762741625309,
-0.026258420199155807,
-0.03415851667523384,
-0.03301112353801727,
-0.03754427284002304,
0.08660011738538742,
-0.02240242063999176,
-0.06504414230585098,
0.04999633505940437,
-0.035926636308431625,
0.10104601085186005,
-0.01831129752099514,
0.02274099551141262,
0.04702439159154892,
0.024979356676340103,
0.022628137841820717,
-0.05481163039803505,
-0.051839690655469894,
0.07068706303834915,
-0.019120117649435997,
-0.02163122035562992,
-0.019280001521110535,
0.06933276355266571,
0.030603474006056786,
0.007326400373131037,
-0.051990166306495667,
0.03357541561126709,
0.014972566626966,
-0.04785202071070671,
0.02452792227268219,
-0.009038087911903858,
-0.006842048838734627,
-0.047776781022548676,
-0.006992527283728123,
0.045406751334667206,
-0.020916448906064034,
0.02341814711689949,
0.025129834190011024,
0.017916293814778328,
0.023737912997603416,
0.025430791079998016,
0.04924394190311432,
-0.05601545423269272,
0.024847688153386116,
-0.03901143744587898,
-0.011887766420841217,
-0.030020371079444885,
-0.023625055328011513,
0.04875488951802254,
0.01898844912648201,
-0.03284183517098427,
0.011906576342880726,
-0.011342283338308334,
0.054548293352127075,
-0.02898583561182022,
-0.021405503153800964,
0.03551281988620758,
0.018132604658603668,
0.005948585458099842,
0.030753951519727707,
0.03859762102365494,
-0.0069643124006688595,
-0.01550864428281784,
-0.018734518438577652,
-0.01155859511345625,
0.014963161200284958,
0.017041640356183052,
0.01390981487929821,
0.032823026180267334,
-0.02379434183239937,
-0.0005637048743665218,
-0.0231171902269125,
-0.04988347366452217,
-0.034515902400016785,
0.008012956008315086,
0.012094673700630665,
-0.08584772795438766,
0.026164371520280838,
0.04273576661944389,
-0.03748784586787224,
0.050635866820812225,
0.019430479034781456,
0.0047024390660226345,
0.058272626250982285,
0.007020741701126099,
-0.032540880143642426,
-0.018442966043949127,
0.028289875015616417,
-0.03310517221689224,
-0.07373424619436264,
0.00640942482277751,
-0.043036725372076035,
0.028082966804504395,
-0.014427083544433117,
-0.051501113921403885,
0.05684308335185051,
0.04108050838112831,
0.007994147017598152,
0.0052008978091180325,
0.0046483613550662994,
0.044767219573259354,
0.006179004907608032,
-0.04299910366535187,
0.0065269856713712215,
0.024640781804919243,
0.02108573727309704,
0.012931708246469498,
0.034666381776332855,
0.006080253981053829,
-0.0007506268448196352,
-0.029249172657728195,
-0.017427239567041397,
0.007157112471759319,
-0.01901666447520256,
-0.07546474784612656,
0.01337373722344637,
0.033838752657175064,
0.028195826336741447,
-0.07478759437799454,
0.0009381365962326527,
0.06797846406698227,
0.020352156832814217,
0.032239921391010284,
0.025336742401123047,
0.027951298281550407,
0.013016351498663425,
0.034666381776332855,
0.06195933744311333,
-0.010862634517252445,
0.048115357756614685,
-0.024828879162669182,
-0.060304079204797745,
-0.02249646931886673,
0.022609326988458633,
-0.03677307441830635,
0.027349386364221573,
-0.014351844787597656,
-0.02065311372280121,
0.0017998586408793926,
0.011031921952962875,
0.05748261511325836,
0.00648466357961297,
-0.0011203561443835497,
0.06034170091152191,
-0.008864098228514194,
0.015395785681903362,
0.041870519518852234,
-0.00005940503251622431,
-0.08502010256052017,
0.05744499713182449,
0.02834630385041237,
-0.0678279846906662,
-0.008229268714785576,
-0.011031921952962875,
0.03199539706110954,
-0.053193993866443634,
-0.021593600511550903,
0.020013581961393356,
-0.01627984456717968,
0.00850671250373125,
0.023211240768432617,
0.011257639154791832,
-0.014925542287528515,
-0.03062228485941887,
-0.001935053733177483,
-0.03585139662027359,
0.060304079204797745,
-0.00881707388907671,
-0.04943203926086426,
0.009687025099992752,
0.027255337685346603,
-0.01714509353041649,
0.024546733126044273,
0.059438832104206085,
0.0362464003264904,
-0.012950517237186432,
0.05018443241715431,
0.009428390301764011,
-0.03255968913435936,
-0.02520507387816906,
0.023587435483932495,
-0.01281884964555502,
-0.031337056308984756,
-0.02471601963043213,
-0.025092216208577156,
0.15160663425922394,
0.05025966838002205,
-0.00927791278809309,
-0.04367625713348389,
0.009381365962326527,
0.009809288196265697,
0.005219707731157541,
-0.015734361484646797,
-0.015480429865419865,
-0.022082654759287834,
0.05782119184732437,
-0.053193993866443634,
-0.0464600995182991,
0.004319190513342619,
-0.042209092527627945,
0.0016752439551055431,
-0.011426927521824837,
-0.016449132934212685,
-0.023154810070991516,
0.011473951861262321,
-0.013618264347314835,
0.026502948254346848,
0.047287728637456894,
0.042209092527627945,
-0.021856937557458878,
0.015546264126896858,
0.05157635360956192,
-0.011238829232752323,
-0.016872351989150047,
-0.049469660967588425,
0.02631484903395176,
-0.07636760920286179,
-0.053005896508693695,
0.051651593297719955,
-0.03938763216137886,
0.028459161520004272,
-0.04314958304166794,
-0.03754427284002304,
0.044052451848983765,
0.053043514490127563,
0.02781962975859642,
-0.009875122457742691,
0.03150634095072746,
-0.02119859680533409,
0.03336850926280022,
-0.018236059695482254,
0.022120274603366852,
-0.004617795348167419,
0.01081561017781496,
0.01671246811747551,
0.022947903722524643,
0.040478598326444626,
-0.006837346591055393,
-0.03842833265662193,
-0.07095040380954742,
0.0474005863070488,
-0.04431578516960144,
-0.05247922241687775,
0.017925698310136795,
-0.015442810021340847,
-0.026013894006609917,
-0.08374103903770447,
-0.04183289781212807,
0.024659590795636177,
-0.017436644062399864,
-0.020070010796189308,
0.007632059045135975,
-0.03773237392306328,
0.040666695684194565,
-0.03208944573998451,
0.022609326988458633,
-0.009560058824717999,
0.03575734794139862,
0.08306388556957245,
0.02381315268576145,
-0.005859239026904106,
0.06004074215888977,
0.006959610152989626,
0.0049516684375703335,
-0.0059297760017216206,
-0.022383609786629677,
-0.005454829428344965,
-0.016044722869992256,
0.014464703388512135,
0.007801346480846405,
-0.04939442127943039,
-0.025468410924077034,
-0.005906263832002878,
0.07207898795604706,
0.03293588384985924,
-0.022759806364774704,
0.03677307441830635,
0.06271173059940338,
-0.008205756545066833,
-0.0032399806659668684,
-0.022440040484070778,
-0.01449291780591011,
0.001868044026196003,
-0.05868644267320633,
-0.025750556960701942,
0.039124295115470886,
0.039500489830970764,
0.012658966705203056,
0.003524478292092681,
-0.0027015514206141233,
-0.002536965999752283,
-0.018640469759702682,
0.035832587629556656,
-0.06429174542427063,
0.0006160195334814489,
0.0028849465306848288,
-0.011671453714370728,
-0.02206384390592575,
0.015546264126896858,
-0.012781229801476002,
-0.03479804843664169,
-0.014840898104012012,
0.021029308438301086,
-0.04570771008729935,
0.029117504134774208,
-0.03649092838168144,
0.028026537969708443,
0.059777408838272095,
-0.021856937557458878,
-0.0361335426568985,
-0.057068802416324615,
-0.0076179513707757,
0.050786342471838,
-0.053871143609285355,
-0.022477658465504646,
-0.011520976200699806,
-0.06470556557178497,
0.018903804942965508,
0.01756831258535385,
-0.01521709281951189,
0.014633990824222565,
-0.0158190056681633,
0.020145248621702194,
-0.0441276878118515,
-0.023888390511274338,
0.0038183806464076042,
-0.05635403096675873,
0.005826322361826897,
-0.030358947813510895,
-0.0498458556830883,
0.029531318694353104,
-0.017831649631261826,
-0.0028496780432760715,
0.007519200444221497,
0.03634044900536537,
-0.027405815199017525,
-0.040854793041944504,
0.031374674290418625,
-0.0045731221325695515,
0.054209720343351364,
-0.033067554235458374,
-0.0009487171191722155,
-0.05646688863635063,
0.02868487872183323,
-0.04273576661944389,
0.09224304556846619,
0.02603270299732685,
0.015471025370061398,
0.02157479152083397,
-0.020878830924630165,
0.0014130829367786646,
0.030358947813510895,
0.04044097661972046,
-0.002915512304753065,
-0.08667536079883575,
-0.07648047059774399,
0.030227279290556908,
0.03188253939151764,
0.01757771708071232,
-0.0049516684375703335,
-0.0018186683300882578,
-0.022440040484070778,
-0.01344897598028183,
-0.01852761022746563,
0.008083493448793888,
0.027650343254208565,
-0.031807299703359604,
-0.04108050838112831,
0.02501697652041912,
0.04804011806845665,
-0.03541877120733261,
0.05560164153575897,
-0.007152410224080086,
-0.017060449346899986,
0.008111707866191864,
0.02403886988759041,
0.02956893853843212,
-0.022120274603366852,
0.009752859361469746,
0.030735142529010773,
-0.017587123438715935,
-0.04416530951857567,
-0.0008781804936006665,
0.05718166008591652,
-0.017370810732245445,
0.0600031241774559,
-0.03192015737295151,
-0.011351687833666801,
0.05530068650841713,
-0.060266461223363876,
-0.0055206636898219585,
0.00008868506120052189,
-0.012790634296834469,
0.0002806768461596221,
-0.026051513850688934,
0.030697522684931755,
0.031807299703359604,
0.017502479255199432,
-0.02323004975914955,
-0.009066302329301834,
-0.01705104485154152,
0.013881600461900234,
-0.034026850014925,
-0.007237053941935301,
-0.03201420605182648,
-0.057934049516916275,
0.005243219900876284,
0.038973815739154816,
-0.012301580980420113,
-0.03859762102365494,
0.03555044159293175,
0.01710747368633747,
0.04548199102282524,
-0.03289826586842537,
-0.022120274603366852,
-0.000742397562135011,
-0.05281779542565346,
0.0030730441212654114,
0.025825796648859978,
-0.04044097661972046,
0.03327446058392525,
-0.034421853721141815,
-0.04096765071153641,
-0.040516216307878494,
0.04093002900481224,
0.027894869446754456,
-0.018819160759449005,
-0.03605830296874046,
0.04239719361066818,
-0.05819738656282425,
-0.03348136693239212,
0.04871727153658867,
0.002640419639647007,
-0.05360780656337738,
0.00472360011190176,
-0.024904118850827217,
0.08193530142307281,
0.07885050028562546,
-0.035193055868148804,
0.028760118409991264,
-0.04578294977545738,
-0.0027227122336626053,
0.08328960090875626,
0.027744391933083534,
0.043751493096351624,
-0.0008628976065665483,
0.03756308555603027,
-0.054021622985601425,
-0.03654735907912254,
0.030509425327181816,
-0.0005178560968488455,
0.09547832608222961,
0.02849678136408329,
0.028967024758458138,
-0.020822400227189064,
-0.03893619775772095,
0.030885620042681694,
-0.05936359241604805,
-0.020295727998018265,
0.022233132272958755,
-0.03415851667523384,
-0.03419613838195801,
-0.0050269076600670815,
-0.019120117649435997,
0.035437580198049545,
-0.002551073208451271,
0.07245518267154694,
0.02052144519984722,
0.0002241006150143221,
0.05864882096648216,
0.04104289039969444,
-0.07271852344274521,
0.03449709340929985,
0.014577561058104038,
-0.03319922089576721,
0.016242224723100662,
0.013289093039929867,
-0.004015882965177298,
0.0004320366133470088,
-0.039124295115470886,
-0.07712000608444214,
-0.017587123438715935,
0.0220074150711298,
0.008008253760635853,
0.015574478544294834,
-0.012734205462038517,
0.004258058499544859,
0.045594848692417145
] |
10,299 | fractions | __mul__ | a * b | def _operator_fallbacks(monomorphic_operator, fallback_operator):
"""Generates forward and reverse operators given a purely-rational
operator and a function from the operator module.
Use this like:
__op__, __rop__ = _operator_fallbacks(just_rational_op, operator.op)
In general, we want to implement the arithmetic operations so
that mixed-mode operations either call an implementation whose
author knew about the types of both arguments, or convert both
to the nearest built in type and do the operation there. In
Fraction, that means that we define __add__ and __radd__ as:
def __add__(self, other):
# Both types have numerators/denominator attributes,
# so do the operation directly
if isinstance(other, (int, Fraction)):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
# float and complex don't have those operations, but we
# know about those types, so special case them.
elif isinstance(other, float):
return float(self) + other
elif isinstance(other, complex):
return complex(self) + other
# Let the other type take over.
return NotImplemented
def __radd__(self, other):
# radd handles more types than add because there's
# nothing left to fall back to.
if isinstance(other, numbers.Rational):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
elif isinstance(other, Real):
return float(other) + float(self)
elif isinstance(other, Complex):
return complex(other) + complex(self)
return NotImplemented
There are 5 different cases for a mixed-type addition on
Fraction. I'll refer to all of the above code that doesn't
refer to Fraction, float, or complex as "boilerplate". 'r'
will be an instance of Fraction, which is a subtype of
Rational (r : Fraction <: Rational), and b : B <:
Complex. The first three involve 'r + b':
1. If B <: Fraction, int, float, or complex, we handle
that specially, and all is well.
2. If Fraction falls back to the boilerplate code, and it
were to return a value from __add__, we'd miss the
possibility that B defines a more intelligent __radd__,
so the boilerplate should return NotImplemented from
__add__. In particular, we don't handle Rational
here, even though we could get an exact answer, in case
the other type wants to do something special.
3. If B <: Fraction, Python tries B.__radd__ before
Fraction.__add__. This is ok, because it was
implemented with knowledge of Fraction, so it can
handle those instances before delegating to Real or
Complex.
The next two situations describe 'b + r'. We assume that b
didn't know about Fraction in its implementation, and that it
uses similar boilerplate code:
4. If B <: Rational, then __radd_ converts both to the
builtin rational type (hey look, that's us) and
proceeds.
5. Otherwise, __radd__ tries to find the nearest common
base ABC, and fall back to its builtin type. Since this
class doesn't subclass a concrete type, there's no
implementation to fall back to, so we need to try as
hard as possible to return an actual value, or the user
will get a TypeError.
"""
def forward(a, b):
if isinstance(b, (int, Fraction)):
return monomorphic_operator(a, b)
elif isinstance(b, float):
return fallback_operator(float(a), b)
elif isinstance(b, complex):
return fallback_operator(complex(a), b)
else:
return NotImplemented
forward.__name__ = '__' + fallback_operator.__name__ + '__'
forward.__doc__ = monomorphic_operator.__doc__
def reverse(b, a):
if isinstance(a, numbers.Rational):
# Includes ints.
return monomorphic_operator(a, b)
elif isinstance(a, numbers.Real):
return fallback_operator(float(a), float(b))
elif isinstance(a, numbers.Complex):
return fallback_operator(complex(a), complex(b))
else:
return NotImplemented
reverse.__name__ = '__r' + fallback_operator.__name__ + '__'
reverse.__doc__ = monomorphic_operator.__doc__
return forward, reverse
| (a, b) | [
-0.03859762102365494,
-0.06188410148024559,
-0.0011350512504577637,
0.05616593360900879,
0.011097756214439869,
-0.012847064062952995,
-0.03622759133577347,
-0.023474575951695442,
-0.027104860171675682,
-0.014840898104012012,
0.07467473298311234,
0.012546108104288578,
0.0520654059946537,
0.032634928822517395,
-0.020145248621702194,
0.05274255946278572,
0.01366528868675232,
0.004356809891760349,
0.0027227122336626053,
-0.001199709833599627,
-0.005990907549858093,
0.009404878132045269,
0.041005268692970276,
0.07241756469011307,
-0.005393697880208492,
0.05594021826982498,
-0.00014526129234582186,
-0.021762888878583908,
-0.06286220997571945,
0.012658966705203056,
0.003769004950299859,
-0.01904487796127796,
-0.001985604874789715,
-0.02815820649266243,
0.007105385418981314,
-0.016787707805633545,
-0.019336430355906487,
0.07700714468955994,
-0.15649718046188354,
-0.005835726857185364,
-0.007185326889157295,
-0.030076801776885986,
0.02181931771337986,
-0.04299910366535187,
-0.027593912556767464,
-0.029587747529149055,
-0.01110716164112091,
-0.030415376648306847,
0.027067240327596664,
-0.015555668622255325,
0.02665342576801777,
-0.05575212091207504,
0.0197878647595644,
0.0203145369887352,
-0.043525777757167816,
0.029136313125491142,
-0.01954333670437336,
0.013505405746400356,
-0.07501330971717834,
0.002062019659206271,
-0.009724644012749195,
-0.0004338000144343823,
-0.05293065682053566,
0.0005140354041941464,
0.004342702683061361,
0.007641463540494442,
-0.040365736931562424,
-0.05112491920590401,
-0.02230837196111679,
0.0036702537909150124,
-0.062486011534929276,
0.0042321952059865,
0.03284183517098427,
-0.028553210198879242,
-0.020164059475064278,
-0.006592819932848215,
0.032634928822517395,
0.0047917854972183704,
0.036754265427589417,
-0.008610166609287262,
-0.02631484903395176,
-0.003371648956090212,
-0.007994147017598152,
-0.013270283117890358,
-0.0008922878187149763,
-0.06707559525966644,
0.001975024351850152,
0.008487902581691742,
-0.00895344465970993,
-0.051350634545087814,
-0.06007836386561394,
-0.06955847889184952,
0.03342493623495102,
0.009221483021974564,
0.024509113281965256,
0.022458849474787712,
-0.005459532141685486,
0.008962849155068398,
0.014361249282956123,
-0.0430743433535099,
-0.03293588384985924,
0.06647367775440216,
-0.02917393296957016,
-0.02849678136408329,
0.05180206894874573,
0.0015906000044196844,
0.02003239095211029,
-0.014643395319581032,
-0.04920632392168045,
0.0009681146475486457,
-0.04668581485748291,
-0.023436956107616425,
-0.03114895708858967,
0.0011362269287928939,
-0.008149326778948307,
0.005379590671509504,
-0.051501113921403885,
0.0008358585764653981,
0.060793135315179825,
0.012734205462038517,
-0.04950727894902229,
0.006301268469542265,
-0.019618576392531395,
0.0030542341992259026,
0.043563395738601685,
-0.004298029467463493,
0.10571083426475525,
0.022872664034366608,
-0.06722606718540192,
0.042209092527627945,
0.012489678338170052,
0.024565542116761208,
-0.017116878181695938,
0.03564449027180672,
-0.02622080035507679,
0.07885050028562546,
-0.03028370812535286,
0.01855582557618618,
-0.008186946623027325,
0.0110037075355649,
-0.004015882965177298,
-0.051651593297719955,
-0.0056241173297166824,
0.06278696656227112,
-0.0476263053715229,
0.031280625611543655,
0.034948527812957764,
0.011925386264920235,
0.014361249282956123,
0.02336171828210354,
-0.006653951480984688,
0.04044097661972046,
0.03605830296874046,
-0.027255337685346603,
0.046572957187891006,
-0.01514185406267643,
0.06703796982765198,
0.026691045612096786,
-0.059438832104206085,
-0.014596370980143547,
0.0039006732404232025,
-0.012423844076693058,
-0.01772819645702839,
-0.04156956076622009,
0.03523067384958267,
-0.014286010526120663,
0.006470556370913982,
-0.08712679147720337,
0.020765971392393112,
0.04747582599520683,
0.02704842947423458,
-0.04326244071125984,
0.0428486242890358,
-0.01521709281951189,
-0.012743609957396984,
-0.005163278430700302,
0.0019303512526676059,
0.00943309348076582,
-0.036979980766773224,
-0.01852761022746563,
0.07433615624904633,
-0.016599610447883606,
-0.09532784670591354,
-0.05262969806790352,
0.027537483721971512,
0.053193993866443634,
0.004102878272533417,
-0.048980604857206345,
0.014690419659018517,
0.010730965994298458,
0.017069853842258453,
-0.01637389324605465,
0.03378232195973396,
0.010382985696196556,
0.012753015384078026,
-0.057256899774074554,
0.029098693281412125,
-0.018612254410982132,
0.11248234659433365,
0.044391024857759476,
-0.0576707161962986,
0.022082654759287834,
0.07700714468955994,
0.047438208013772964,
-0.01633627340197563,
-0.024828879162669182,
-0.04770154505968094,
0.04077955335378647,
-0.03656616806983948,
-0.03062228485941887,
0.003082448849454522,
-0.010787395760416985,
0.013778147287666798,
0.03671664372086525,
-0.029192741960287094,
0.02738700620830059,
0.07388472557067871,
-0.0017763463547453284,
-0.006569307763129473,
0.014238986186683178,
0.00043438782449811697,
0.017718790099024773,
-0.001849234220571816,
-0.019562147557735443,
0.04363863542675972,
-0.014474107883870602,
-0.031807299703359604,
0.006188409868627787,
0.03344374895095825,
0.02166884019970894,
0.04736296832561493,
-0.0208976399153471,
-0.010082029737532139,
-0.05349494889378548,
0.04277338832616806,
0.010514654219150543,
0.015094829723238945,
0.002325356239452958,
0.027838440611958504,
0.03101728856563568,
-0.023060761392116547,
-0.0003041890449821949,
-0.011417522095143795,
0.04040335863828659,
0.022609326988458633,
-0.0621098168194294,
0.03184491768479347,
-0.014887922443449497,
0.012442653998732567,
-0.017248546704649925,
0.024396253749728203,
-0.028872976079583168,
0.029192741960287094,
-0.04318720102310181,
0.01710747368633747,
-0.007020741701126099,
-0.06805370002985,
-0.022383609786629677,
0.013561834581196308,
0.0007036024471744895,
0.011436332017183304,
0.05308113247156143,
0.0032070635352283716,
-0.0132796885445714,
-0.046911533921957016,
-0.05631641298532486,
-0.03438423573970795,
-0.001556507428176701,
0.036603786051273346,
0.0474005863070488,
0.039124295115470886,
-0.02956893853843212,
-0.051839690655469894,
0.035776156932115555,
-0.012094673700630665,
0.01889440044760704,
0.028760118409991264,
0.04909346625208855,
-0.003075395245105028,
-0.07794763147830963,
-0.0259762741625309,
-0.026258420199155807,
-0.03415851667523384,
-0.03301112353801727,
-0.03754427284002304,
0.08660011738538742,
-0.02240242063999176,
-0.06504414230585098,
0.04999633505940437,
-0.035926636308431625,
0.10104601085186005,
-0.01831129752099514,
0.02274099551141262,
0.04702439159154892,
0.024979356676340103,
0.022628137841820717,
-0.05481163039803505,
-0.051839690655469894,
0.07068706303834915,
-0.019120117649435997,
-0.02163122035562992,
-0.019280001521110535,
0.06933276355266571,
0.030603474006056786,
0.007326400373131037,
-0.051990166306495667,
0.03357541561126709,
0.014972566626966,
-0.04785202071070671,
0.02452792227268219,
-0.009038087911903858,
-0.006842048838734627,
-0.047776781022548676,
-0.006992527283728123,
0.045406751334667206,
-0.020916448906064034,
0.02341814711689949,
0.025129834190011024,
0.017916293814778328,
0.023737912997603416,
0.025430791079998016,
0.04924394190311432,
-0.05601545423269272,
0.024847688153386116,
-0.03901143744587898,
-0.011887766420841217,
-0.030020371079444885,
-0.023625055328011513,
0.04875488951802254,
0.01898844912648201,
-0.03284183517098427,
0.011906576342880726,
-0.011342283338308334,
0.054548293352127075,
-0.02898583561182022,
-0.021405503153800964,
0.03551281988620758,
0.018132604658603668,
0.005948585458099842,
0.030753951519727707,
0.03859762102365494,
-0.0069643124006688595,
-0.01550864428281784,
-0.018734518438577652,
-0.01155859511345625,
0.014963161200284958,
0.017041640356183052,
0.01390981487929821,
0.032823026180267334,
-0.02379434183239937,
-0.0005637048743665218,
-0.0231171902269125,
-0.04988347366452217,
-0.034515902400016785,
0.008012956008315086,
0.012094673700630665,
-0.08584772795438766,
0.026164371520280838,
0.04273576661944389,
-0.03748784586787224,
0.050635866820812225,
0.019430479034781456,
0.0047024390660226345,
0.058272626250982285,
0.007020741701126099,
-0.032540880143642426,
-0.018442966043949127,
0.028289875015616417,
-0.03310517221689224,
-0.07373424619436264,
0.00640942482277751,
-0.043036725372076035,
0.028082966804504395,
-0.014427083544433117,
-0.051501113921403885,
0.05684308335185051,
0.04108050838112831,
0.007994147017598152,
0.0052008978091180325,
0.0046483613550662994,
0.044767219573259354,
0.006179004907608032,
-0.04299910366535187,
0.0065269856713712215,
0.024640781804919243,
0.02108573727309704,
0.012931708246469498,
0.034666381776332855,
0.006080253981053829,
-0.0007506268448196352,
-0.029249172657728195,
-0.017427239567041397,
0.007157112471759319,
-0.01901666447520256,
-0.07546474784612656,
0.01337373722344637,
0.033838752657175064,
0.028195826336741447,
-0.07478759437799454,
0.0009381365962326527,
0.06797846406698227,
0.020352156832814217,
0.032239921391010284,
0.025336742401123047,
0.027951298281550407,
0.013016351498663425,
0.034666381776332855,
0.06195933744311333,
-0.010862634517252445,
0.048115357756614685,
-0.024828879162669182,
-0.060304079204797745,
-0.02249646931886673,
0.022609326988458633,
-0.03677307441830635,
0.027349386364221573,
-0.014351844787597656,
-0.02065311372280121,
0.0017998586408793926,
0.011031921952962875,
0.05748261511325836,
0.00648466357961297,
-0.0011203561443835497,
0.06034170091152191,
-0.008864098228514194,
0.015395785681903362,
0.041870519518852234,
-0.00005940503251622431,
-0.08502010256052017,
0.05744499713182449,
0.02834630385041237,
-0.0678279846906662,
-0.008229268714785576,
-0.011031921952962875,
0.03199539706110954,
-0.053193993866443634,
-0.021593600511550903,
0.020013581961393356,
-0.01627984456717968,
0.00850671250373125,
0.023211240768432617,
0.011257639154791832,
-0.014925542287528515,
-0.03062228485941887,
-0.001935053733177483,
-0.03585139662027359,
0.060304079204797745,
-0.00881707388907671,
-0.04943203926086426,
0.009687025099992752,
0.027255337685346603,
-0.01714509353041649,
0.024546733126044273,
0.059438832104206085,
0.0362464003264904,
-0.012950517237186432,
0.05018443241715431,
0.009428390301764011,
-0.03255968913435936,
-0.02520507387816906,
0.023587435483932495,
-0.01281884964555502,
-0.031337056308984756,
-0.02471601963043213,
-0.025092216208577156,
0.15160663425922394,
0.05025966838002205,
-0.00927791278809309,
-0.04367625713348389,
0.009381365962326527,
0.009809288196265697,
0.005219707731157541,
-0.015734361484646797,
-0.015480429865419865,
-0.022082654759287834,
0.05782119184732437,
-0.053193993866443634,
-0.0464600995182991,
0.004319190513342619,
-0.042209092527627945,
0.0016752439551055431,
-0.011426927521824837,
-0.016449132934212685,
-0.023154810070991516,
0.011473951861262321,
-0.013618264347314835,
0.026502948254346848,
0.047287728637456894,
0.042209092527627945,
-0.021856937557458878,
0.015546264126896858,
0.05157635360956192,
-0.011238829232752323,
-0.016872351989150047,
-0.049469660967588425,
0.02631484903395176,
-0.07636760920286179,
-0.053005896508693695,
0.051651593297719955,
-0.03938763216137886,
0.028459161520004272,
-0.04314958304166794,
-0.03754427284002304,
0.044052451848983765,
0.053043514490127563,
0.02781962975859642,
-0.009875122457742691,
0.03150634095072746,
-0.02119859680533409,
0.03336850926280022,
-0.018236059695482254,
0.022120274603366852,
-0.004617795348167419,
0.01081561017781496,
0.01671246811747551,
0.022947903722524643,
0.040478598326444626,
-0.006837346591055393,
-0.03842833265662193,
-0.07095040380954742,
0.0474005863070488,
-0.04431578516960144,
-0.05247922241687775,
0.017925698310136795,
-0.015442810021340847,
-0.026013894006609917,
-0.08374103903770447,
-0.04183289781212807,
0.024659590795636177,
-0.017436644062399864,
-0.020070010796189308,
0.007632059045135975,
-0.03773237392306328,
0.040666695684194565,
-0.03208944573998451,
0.022609326988458633,
-0.009560058824717999,
0.03575734794139862,
0.08306388556957245,
0.02381315268576145,
-0.005859239026904106,
0.06004074215888977,
0.006959610152989626,
0.0049516684375703335,
-0.0059297760017216206,
-0.022383609786629677,
-0.005454829428344965,
-0.016044722869992256,
0.014464703388512135,
0.007801346480846405,
-0.04939442127943039,
-0.025468410924077034,
-0.005906263832002878,
0.07207898795604706,
0.03293588384985924,
-0.022759806364774704,
0.03677307441830635,
0.06271173059940338,
-0.008205756545066833,
-0.0032399806659668684,
-0.022440040484070778,
-0.01449291780591011,
0.001868044026196003,
-0.05868644267320633,
-0.025750556960701942,
0.039124295115470886,
0.039500489830970764,
0.012658966705203056,
0.003524478292092681,
-0.0027015514206141233,
-0.002536965999752283,
-0.018640469759702682,
0.035832587629556656,
-0.06429174542427063,
0.0006160195334814489,
0.0028849465306848288,
-0.011671453714370728,
-0.02206384390592575,
0.015546264126896858,
-0.012781229801476002,
-0.03479804843664169,
-0.014840898104012012,
0.021029308438301086,
-0.04570771008729935,
0.029117504134774208,
-0.03649092838168144,
0.028026537969708443,
0.059777408838272095,
-0.021856937557458878,
-0.0361335426568985,
-0.057068802416324615,
-0.0076179513707757,
0.050786342471838,
-0.053871143609285355,
-0.022477658465504646,
-0.011520976200699806,
-0.06470556557178497,
0.018903804942965508,
0.01756831258535385,
-0.01521709281951189,
0.014633990824222565,
-0.0158190056681633,
0.020145248621702194,
-0.0441276878118515,
-0.023888390511274338,
0.0038183806464076042,
-0.05635403096675873,
0.005826322361826897,
-0.030358947813510895,
-0.0498458556830883,
0.029531318694353104,
-0.017831649631261826,
-0.0028496780432760715,
0.007519200444221497,
0.03634044900536537,
-0.027405815199017525,
-0.040854793041944504,
0.031374674290418625,
-0.0045731221325695515,
0.054209720343351364,
-0.033067554235458374,
-0.0009487171191722155,
-0.05646688863635063,
0.02868487872183323,
-0.04273576661944389,
0.09224304556846619,
0.02603270299732685,
0.015471025370061398,
0.02157479152083397,
-0.020878830924630165,
0.0014130829367786646,
0.030358947813510895,
0.04044097661972046,
-0.002915512304753065,
-0.08667536079883575,
-0.07648047059774399,
0.030227279290556908,
0.03188253939151764,
0.01757771708071232,
-0.0049516684375703335,
-0.0018186683300882578,
-0.022440040484070778,
-0.01344897598028183,
-0.01852761022746563,
0.008083493448793888,
0.027650343254208565,
-0.031807299703359604,
-0.04108050838112831,
0.02501697652041912,
0.04804011806845665,
-0.03541877120733261,
0.05560164153575897,
-0.007152410224080086,
-0.017060449346899986,
0.008111707866191864,
0.02403886988759041,
0.02956893853843212,
-0.022120274603366852,
0.009752859361469746,
0.030735142529010773,
-0.017587123438715935,
-0.04416530951857567,
-0.0008781804936006665,
0.05718166008591652,
-0.017370810732245445,
0.0600031241774559,
-0.03192015737295151,
-0.011351687833666801,
0.05530068650841713,
-0.060266461223363876,
-0.0055206636898219585,
0.00008868506120052189,
-0.012790634296834469,
0.0002806768461596221,
-0.026051513850688934,
0.030697522684931755,
0.031807299703359604,
0.017502479255199432,
-0.02323004975914955,
-0.009066302329301834,
-0.01705104485154152,
0.013881600461900234,
-0.034026850014925,
-0.007237053941935301,
-0.03201420605182648,
-0.057934049516916275,
0.005243219900876284,
0.038973815739154816,
-0.012301580980420113,
-0.03859762102365494,
0.03555044159293175,
0.01710747368633747,
0.04548199102282524,
-0.03289826586842537,
-0.022120274603366852,
-0.000742397562135011,
-0.05281779542565346,
0.0030730441212654114,
0.025825796648859978,
-0.04044097661972046,
0.03327446058392525,
-0.034421853721141815,
-0.04096765071153641,
-0.040516216307878494,
0.04093002900481224,
0.027894869446754456,
-0.018819160759449005,
-0.03605830296874046,
0.04239719361066818,
-0.05819738656282425,
-0.03348136693239212,
0.04871727153658867,
0.002640419639647007,
-0.05360780656337738,
0.00472360011190176,
-0.024904118850827217,
0.08193530142307281,
0.07885050028562546,
-0.035193055868148804,
0.028760118409991264,
-0.04578294977545738,
-0.0027227122336626053,
0.08328960090875626,
0.027744391933083534,
0.043751493096351624,
-0.0008628976065665483,
0.03756308555603027,
-0.054021622985601425,
-0.03654735907912254,
0.030509425327181816,
-0.0005178560968488455,
0.09547832608222961,
0.02849678136408329,
0.028967024758458138,
-0.020822400227189064,
-0.03893619775772095,
0.030885620042681694,
-0.05936359241604805,
-0.020295727998018265,
0.022233132272958755,
-0.03415851667523384,
-0.03419613838195801,
-0.0050269076600670815,
-0.019120117649435997,
0.035437580198049545,
-0.002551073208451271,
0.07245518267154694,
0.02052144519984722,
0.0002241006150143221,
0.05864882096648216,
0.04104289039969444,
-0.07271852344274521,
0.03449709340929985,
0.014577561058104038,
-0.03319922089576721,
0.016242224723100662,
0.013289093039929867,
-0.004015882965177298,
0.0004320366133470088,
-0.039124295115470886,
-0.07712000608444214,
-0.017587123438715935,
0.0220074150711298,
0.008008253760635853,
0.015574478544294834,
-0.012734205462038517,
0.004258058499544859,
0.045594848692417145
] |
10,300 | fractions | __neg__ | -a | def __neg__(a):
"""-a"""
return Fraction(-a._numerator, a._denominator, _normalize=False)
| (a) | [
-0.02740240842103958,
-0.004649085458368063,
0.07859846204519272,
0.012647929601371288,
-0.03639841079711914,
-0.009263637475669384,
-0.006587283685803413,
-0.034101925790309906,
-0.025123191997408867,
-0.020150354132056236,
-0.011465153656899929,
0.0004508253186941147,
0.03256518021225929,
-0.04323606193065643,
-0.046413153409957886,
0.05515015125274658,
-0.016412092372775078,
0.018699942156672478,
0.006911036092787981,
-0.010049276053905487,
0.009255004115402699,
0.009919775649905205,
0.00482175312936306,
0.028421150520443916,
-0.019735950976610184,
-0.0014795487513765693,
0.016869662329554558,
-0.004269215743988752,
-0.04793263226747513,
-0.007865026593208313,
0.024328919127583504,
0.021997900679707527,
0.0322025790810585,
0.0034663097467273474,
0.001651137601584196,
-0.03199537843465805,
-0.04323606193065643,
0.0591215156018734,
-0.14214028418064117,
0.007636241614818573,
-0.023966316133737564,
0.0014374608872458339,
-0.015488318167626858,
0.015488318167626858,
-0.005542641971260309,
-0.04385766759514809,
0.023776380345225334,
-0.03947190195322037,
-0.05528828874230385,
0.004864920396357775,
0.030458630993962288,
0.05680776387453079,
0.0102046774700284,
0.043443262577056885,
-0.06810025125741959,
0.08474544435739517,
0.04965931177139282,
0.06623543798923492,
-0.03971363604068756,
0.00037177573540247977,
-0.033739324659109116,
0.03615667670965195,
-0.015004847198724747,
-0.08502171188592911,
0.02662540227174759,
0.0297679603099823,
-0.029077287763357162,
0.020806491374969482,
0.011827756650745869,
0.0620914064347744,
-0.024950522929430008,
0.006328281480818987,
0.032582446932792664,
0.03147737309336662,
0.05988125503063202,
-0.037952423095703125,
0.04589514806866646,
0.052076663821935654,
-0.0044289338402450085,
-0.015695519745349884,
-0.02866288460791111,
-0.01452137716114521,
0.0204093549400568,
0.01983955129981041,
-0.005978628993034363,
-0.02735060825943947,
0.0259347315877676,
-0.04102591052651405,
0.017922936007380486,
0.023776380345225334,
-0.06630450487136841,
-0.029336290434002876,
-0.0078002759255468845,
-0.047656361013650894,
0.012734263204038143,
0.06309287995100021,
-0.004189356695860624,
-0.0222223699092865,
0.01616172306239605,
-0.048036232590675354,
0.05200759693980217,
0.033549387007951736,
-0.016437992453575134,
-0.02918088808655739,
0.024501586332917213,
-0.02904275432229042,
0.0463440865278244,
-0.05259466543793678,
0.01312276627868414,
0.04900317266583443,
-0.012811964377760887,
0.05984672158956528,
-0.04886503890156746,
0.012293959967792034,
-0.04240725561976433,
-0.029612557962536812,
-0.03805602341890335,
-0.02904275432229042,
0.058707114309072495,
0.03159824013710022,
-0.003923879936337471,
0.029871560633182526,
-0.04150938242673874,
0.0030799650121480227,
0.03420552611351013,
0.02609013207256794,
0.006621817126870155,
-0.0317881740629673,
-0.014745845459401608,
0.030234163627028465,
0.02425985038280487,
0.007368606049567461,
-0.017025062814354897,
0.020340288057923317,
-0.015427883714437485,
0.052283864468336105,
0.0620914064347744,
0.03417099267244339,
0.010316912084817886,
0.024018116295337677,
0.004228207282721996,
-0.0423036552965641,
0.03881576284766197,
0.03819415718317032,
0.01176732312887907,
0.06740958243608475,
0.0075714909471571445,
0.018665408715605736,
-0.04119858145713806,
0.04630955308675766,
-0.0017784802475944161,
0.04057697579264641,
0.06312741339206696,
-0.015004847198724747,
0.05459761619567871,
-0.00022311940847430378,
0.005646242760121822,
-0.03967910259962082,
-0.02336197718977928,
-0.012699729762971401,
0.030769433826208115,
0.039782702922821045,
0.03194357827305794,
-0.019563281908631325,
0.02482965588569641,
-0.03643294423818588,
0.07687178254127502,
-0.00863339938223362,
-0.023033909499645233,
0.021048227325081825,
-0.004018847364932299,
-0.04907223954796791,
-0.060710061341524124,
0.03275511413812637,
-0.0078434431925416,
0.006522533018141985,
0.03418825939297676,
0.030734900385141373,
-0.04358140006661415,
0.008875134401023388,
0.046413153409957886,
-0.02128996141254902,
-0.04589514806866646,
-0.03534513711929321,
0.06968879699707031,
-0.06564836949110031,
-0.034084659069776535,
0.006518216338008642,
0.009971575811505318,
-0.014823545701801777,
0.02147989720106125,
0.004271374084055424,
0.018268272280693054,
-0.0032914832700043917,
0.012155826203525066,
-0.03760708495974541,
-0.03472353145480156,
-0.008672249503433704,
0.07452350109815598,
-0.014106974005699158,
-0.007536957506090403,
0.01295873150229454,
0.001124500180594623,
-0.062022339552640915,
-0.021013693884015083,
-0.008935567922890186,
-0.06651170551776886,
-0.02151443064212799,
-0.032427046447992325,
-0.01230259332805872,
-0.015462418086826801,
0.01911434531211853,
0.05628976225852966,
-0.019891351461410522,
0.002218783600255847,
-0.008361446671187878,
0.05970858782529831,
-0.0036001272965222597,
0.035189732909202576,
0.07120827585458755,
0.002756212605163455,
-0.04993557929992676,
-0.003395084058865905,
-0.017232265323400497,
0.021376296877861023,
0.03237524628639221,
-0.00358501891605556,
0.014409142546355724,
0.007226155139505863,
-0.0053656576201319695,
-0.016990529373288155,
-0.002249000361189246,
-0.04686208814382553,
-0.05919058248400688,
-0.01709412969648838,
0.04240725561976433,
-0.029508957639336586,
0.02242957055568695,
-0.038125090301036835,
-0.017232265323400497,
-0.014918513596057892,
0.023431044071912766,
-0.027436941862106323,
0.08129208534955978,
0.0328587181866169,
-0.037745218724012375,
0.016869662329554558,
0.02992336079478264,
0.003790062153711915,
0.021756164729595184,
0.0006922906613908708,
-0.03550053760409355,
-0.03493073210120201,
0.019045278429985046,
0.05076438561081886,
-0.015281116589903831,
-0.046965692192316055,
-0.0310457032173872,
0.021618030965328217,
0.0191316120326519,
-0.009678040631115437,
-0.06298927962779999,
-0.02994062751531601,
-0.007679408416152,
-0.025692995637655258,
0.0168437622487545,
-0.021169094368815422,
-0.035396937280893326,
0.012518428266048431,
0.06481955945491791,
0.09137589484453201,
-0.05601349472999573,
0.021825233474373817,
-0.01890714466571808,
-0.01220762636512518,
0.01856180839240551,
0.03382565826177597,
0.007489473558962345,
0.027454208582639694,
0.01358897052705288,
0.00010852452396648005,
-0.0017407090635970235,
-0.02422531694173813,
0.010593180544674397,
0.015307016670703888,
0.04630955308675766,
0.028576551005244255,
-0.023655513301491737,
-0.025623928755521774,
0.0074160899966955185,
0.05148959159851074,
0.05957045406103134,
0.031183836981654167,
0.02020215429365635,
0.06026112660765648,
0.028196681290864944,
-0.0004478575719986111,
-0.02261950634419918,
0.02809308096766472,
0.01926974579691887,
-0.0023288594093173742,
-0.03771068528294563,
0.021756164729595184,
0.018130138516426086,
-0.03746895119547844,
-0.021600764244794846,
0.04575701430439949,
0.07756245881319046,
0.03348032012581825,
0.017767535522580147,
-0.019701415672898293,
0.0003763622371479869,
-0.015548751689493656,
0.01619625650346279,
-0.019235212355852127,
0.028386615216732025,
0.047898098826408386,
-0.008180145174264908,
0.0021292120218276978,
0.03386019170284271,
0.00808949489146471,
-0.00218209158629179,
-0.03394652530550957,
0.013891139067709446,
-0.007968626916408539,
-0.034982532262802124,
-0.061262600123882294,
0.012950098142027855,
0.0031317654065787792,
0.029871560633182526,
-0.01278606429696083,
0.001919852104038,
0.02187703363597393,
-0.06875638663768768,
-0.06330008059740067,
-0.024121716618537903,
0.04755276069045067,
0.026331866160035133,
-0.008901034481823444,
0.0029483058024197817,
-0.01598905585706234,
0.013718470931053162,
-0.03090756945312023,
-0.014314175583422184,
-0.029716160148382187,
0.009073702618479729,
-0.017871135845780373,
-0.05660056322813034,
0.05304360389709473,
-0.01780206896364689,
0.01358033623546362,
0.005603075958788395,
0.005883661564439535,
0.028334815055131912,
0.009255004115402699,
0.03213351219892502,
0.0003296879294794053,
0.04340872913599014,
-0.02185976691544056,
-0.04758729413151741,
-0.010213310830295086,
0.005926828365772963,
-0.01856180839240551,
-0.01819920539855957,
-0.013554436154663563,
-0.061642467975616455,
-0.0073427059687674046,
-0.06098633259534836,
-0.04333966225385666,
-0.045860614627599716,
-0.021756164729595184,
-0.0478290319442749,
-0.013450835831463337,
-0.082949697971344,
-0.025623928755521774,
-0.004532534629106522,
-0.012544328346848488,
-0.006906719412654638,
-0.020996427163481712,
0.017448099330067635,
0.0062851146794855595,
-0.005443357862532139,
-0.0833640992641449,
0.015885453671216965,
0.009695307351648808,
0.013917039148509502,
0.016576126217842102,
-0.002997947856783867,
0.03254791349172592,
0.012950098142027855,
-0.021359028294682503,
-0.07069027423858643,
0.038125090301036835,
0.017940202727913857,
-0.017145929858088493,
-0.05746390298008919,
0.014806278981268406,
-0.020841024816036224,
-0.03323858603835106,
0.01802653633058071,
0.048485167324543,
0.05235293135046959,
-0.0032936418429017067,
0.020633824169635773,
0.008231946267187595,
0.011965891346335411,
0.044548340141773224,
0.045998748391866684,
-0.003051906591281295,
0.029906094074249268,
0.006898086052387953,
-0.061297133564949036,
-0.02902548760175705,
0.03771068528294563,
0.05494295060634613,
-0.03251338005065918,
-0.05345800518989563,
-0.013433569110929966,
-0.05694590136408806,
-0.06043379381299019,
-0.0018205679953098297,
-0.04213098809123039,
0.055771756917238235,
-0.025123191997408867,
0.04354686290025711,
0.010852182283997536,
0.002695778850466013,
-0.04209645465016365,
-0.0242425836622715,
0.0680311843752861,
-0.02647000178694725,
-0.052629198879003525,
0.05086798593401909,
-0.07700991630554199,
0.06471595913171768,
-0.061089932918548584,
-0.034654464572668076,
-0.03503433242440224,
-0.04762182757258415,
0.08557425439357758,
0.09289537370204926,
-0.0011730630649253726,
0.02757507562637329,
-0.0103082787245512,
0.008378713391721249,
-0.015850920230150223,
0.02479512244462967,
0.011145718395709991,
0.046965692192316055,
-0.030734900385141373,
0.045480746775865555,
0.03202991187572479,
0.07942727208137512,
-0.03496526554226875,
-0.052283864468336105,
-0.029664359986782074,
-0.05093705281615257,
-0.015937253832817078,
-0.006039062514901161,
-0.03204717859625816,
-0.02097916044294834,
0.02241230383515358,
-0.09462205320596695,
-0.037399884313344955,
0.019442414864897728,
0.08412384241819382,
0.055046550929546356,
-0.0408187098801136,
-0.04917583987116814,
-0.03957550227642059,
-0.03853949159383774,
-0.0031231320463120937,
-0.026055598631501198,
-0.03468899801373482,
-0.02443251945078373,
0.02864561788737774,
-0.06015752628445625,
-0.05756750330328941,
0.007895243354141712,
-0.024018116295337677,
0.00021947719505988061,
-0.02629733271896839,
-0.04541167989373207,
0.019701415672898293,
0.017007796093821526,
0.007476523518562317,
-0.03560413792729378,
0.01856180839240551,
0.06996506452560425,
-0.0282830148935318,
0.0060174791142344475,
-0.019891351461410522,
-0.015453784726560116,
0.01781933568418026,
-0.015315650030970573,
0.012052224949002266,
-0.023931782692670822,
-0.031321972608566284,
-0.007247738540172577,
-0.012147192843258381,
-0.027074338868260384,
0.012060858309268951,
-0.03247884660959244,
-0.015850920230150223,
0.016489792615175247,
-0.00449368404224515,
-0.007459256798028946,
0.03622574359178543,
-0.017543066293001175,
-0.016135822981595993,
-0.03819415718317032,
0.04157844930887222,
0.034827131778001785,
0.06875638663768768,
0.001514082308858633,
0.04002443701028824,
-0.04534261301159859,
-0.024294385686516762,
0.06343821436166763,
-0.019407881423830986,
0.033722057938575745,
-0.020184887573122978,
-0.05984672158956528,
-0.019597815349698067,
0.012673829682171345,
-0.02315477654337883,
-0.06468142569065094,
-0.03418825939297676,
0.01478037890046835,
-0.011042117141187191,
0.02754054218530655,
-0.04869237169623375,
0.001919852104038,
0.04302886128425598,
-0.041474848985672,
0.0718989446759224,
-0.04938304424285889,
-0.012250793166458607,
-0.011275218799710274,
0.01871720887720585,
0.012457994744181633,
0.017180463299155235,
0.047898098826408386,
0.020443888381123543,
0.002782112918794155,
0.014970313757658005,
-0.0591215156018734,
0.039402831345796585,
0.057084035128355026,
0.02331017702817917,
0.012112658470869064,
-0.007208888418972492,
-0.0181819386780262,
-0.007972943596541882,
0.062195006757974625,
0.07134640961885452,
0.003554802155122161,
0.058327242732048035,
0.032237112522125244,
0.009401771239936352,
0.0018475473625585437,
-0.04851970076560974,
0.07549043744802475,
-0.07507603615522385,
-0.06709877401590347,
0.03985176980495453,
0.06647717207670212,
0.028904620558023453,
0.032427046447992325,
-0.031857240945100784,
-0.018838075920939445,
-0.033186785876750946,
0.010515480302274227,
0.02446705289185047,
-0.04630955308675766,
0.045653413981199265,
0.01617898978292942,
-0.05325080454349518,
-0.008206046186387539,
0.015281116589903831,
0.015298383310437202,
-0.07797686010599136,
-0.08792253583669662,
-0.02629733271896839,
-0.06830745190382004,
0.006829018704593182,
0.04119858145713806,
-0.021065494045615196,
0.049693845212459564,
-0.009341337718069553,
0.030234163627028465,
-0.018251005560159683,
0.08025607466697693,
-0.011370186693966389,
-0.07300402224063873,
-0.016170356422662735,
-0.009194569662213326,
0.007226155139505863,
0.006393032148480415,
0.010714048519730568,
0.005404507741332054,
0.002587861381471157,
0.018112871795892715,
0.04316699504852295,
0.005059171933680773,
0.07887473702430725,
0.008175828494131565,
-0.0242425836622715,
-0.07535230368375778,
-0.0824662297964096,
0.008672249503433704,
0.021013693884015083,
-0.03139103949069977,
-0.042372722178697586,
0.05083345249295235,
-0.013209100812673569,
-0.004929671064019203,
-0.008849234320223331,
-0.0837785005569458,
0.060917261987924576,
-0.07583577930927277,
-0.011007583700120449,
-0.0448591411113739,
0.04579154774546623,
-0.04340872913599014,
0.01066224742680788,
0.02460518665611744,
-0.010739948600530624,
-0.03323858603835106,
-0.008555698208510876,
-0.008978734724223614,
-0.0013338600983843207,
-0.0699305310845375,
0.026780804619193077,
-0.06706424057483673,
-0.022153301164507866,
-0.0029288805089890957,
0.013796172104775906,
0.013019165955483913,
0.07811499387025833,
0.0052750068716704845,
-0.02812761440873146,
-0.01432280894368887,
-0.0024432518985122442,
-0.0510406568646431,
-0.02868015132844448,
-0.06267847865819931,
-0.041820183396339417,
-0.05404507741332054,
-0.009902508929371834,
-0.019338814541697502,
0.046413153409957886,
0.02275764010846615,
-0.08771533519029617,
-0.033342186361551285,
0.04099137708544731,
0.03266878053545952,
0.04630955308675766,
0.01756896637380123,
0.004536851309239864,
-0.017655301839113235,
-0.03524153307080269,
-0.027281541377305984,
0.05256013199687004,
0.043443262577056885,
0.024950522929430008,
-0.0020158987026661634,
-0.03691641241312027,
0.011525588110089302,
-0.03049316629767418,
-0.004649085458368063,
0.05304360389709473,
-0.03805602341890335,
0.04927944019436836,
-0.028334815055131912,
0.027454208582639694,
0.0028813970275223255,
0.020651090890169144,
0.04865783825516701,
0.012104025110602379,
-0.03560413792729378,
0.012017691507935524,
0.0015000530984252691,
-0.017750268802046776,
0.0048131197690963745,
-0.018855342641472816,
-0.03864309564232826,
0.026141932234168053,
0.02517499215900898,
-0.012950098142027855,
0.010679514147341251,
-0.0029353557620197535,
-0.060364726930856705,
0.00982480775564909,
0.05014277994632721,
0.029543491080403328,
-0.0089873680844903,
-0.017698468640446663,
0.03598400577902794,
0.0565660297870636,
0.051385991275310516,
-0.006656350567936897,
0.005957045126706362,
0.049693845212459564,
-0.02185976691544056,
0.005728260148316622,
0.05459761619567871,
-0.019028011709451675,
-0.00029461472877301276,
-0.06395622342824936,
-0.015142981894314289,
0.053906943649053574,
-0.004498000722378492,
-0.03358392044901848,
0.02538219280540943,
0.034429993480443954,
0.04009350389242172,
0.013899772427976131,
0.012423461303114891,
0.013183200731873512,
-0.029129087924957275,
-0.029508957639336586,
0.0808086171746254,
0.059052448719739914,
0.014262375421822071,
-0.03788335621356964,
-0.018423672765493393,
-0.0367782786488533,
-0.0068808188661932945,
-0.05328533798456192,
-0.013917039148509502,
0.037192683666944504,
0.04074964299798012,
-0.02812761440873146,
0.006336914841085672,
0.0003064856573473662,
0.012164459563791752,
0.011991791427135468,
0.021445363759994507,
0.007489473558962345,
0.01894167810678482,
0.026504535228013992,
0.012906931340694427,
-0.010869449004530907,
-0.01800926961004734,
0.010161510668694973,
-0.012975999154150486,
0.0610208660364151,
-0.01715456321835518,
-0.032979585230350494,
0.027143405750393867,
-0.05052265152335167,
0.00028652092441916466,
0.06554476916790009,
-0.007472206838428974,
-0.0452735461294651,
0.044928207993507385,
0.032237112522125244,
0.0071829878725111485,
-0.03513793274760246,
-0.03653654456138611,
-0.00859454832971096,
-0.005883661564439535,
0.06930892914533615,
-0.0761120468378067,
0.042165521532297134,
0.022084234282374382,
0.010938516817986965
] |
10,301 | fractions | __new__ | Constructs a Rational.
Takes a string like '3/2' or '1.5', another Rational instance, a
numerator/denominator pair, or a float.
Examples
--------
>>> Fraction(10, -8)
Fraction(-5, 4)
>>> Fraction(Fraction(1, 7), 5)
Fraction(1, 35)
>>> Fraction(Fraction(1, 7), Fraction(2, 3))
Fraction(3, 14)
>>> Fraction('314')
Fraction(314, 1)
>>> Fraction('-35/4')
Fraction(-35, 4)
>>> Fraction('3.1415') # conversion from numeric string
Fraction(6283, 2000)
>>> Fraction('-47e-2') # string may include a decimal exponent
Fraction(-47, 100)
>>> Fraction(1.47) # direct construction from float (exact conversion)
Fraction(6620291452234629, 4503599627370496)
>>> Fraction(2.25)
Fraction(9, 4)
>>> Fraction(Decimal('1.47'))
Fraction(147, 100)
| def __new__(cls, numerator=0, denominator=None, *, _normalize=True):
"""Constructs a Rational.
Takes a string like '3/2' or '1.5', another Rational instance, a
numerator/denominator pair, or a float.
Examples
--------
>>> Fraction(10, -8)
Fraction(-5, 4)
>>> Fraction(Fraction(1, 7), 5)
Fraction(1, 35)
>>> Fraction(Fraction(1, 7), Fraction(2, 3))
Fraction(3, 14)
>>> Fraction('314')
Fraction(314, 1)
>>> Fraction('-35/4')
Fraction(-35, 4)
>>> Fraction('3.1415') # conversion from numeric string
Fraction(6283, 2000)
>>> Fraction('-47e-2') # string may include a decimal exponent
Fraction(-47, 100)
>>> Fraction(1.47) # direct construction from float (exact conversion)
Fraction(6620291452234629, 4503599627370496)
>>> Fraction(2.25)
Fraction(9, 4)
>>> Fraction(Decimal('1.47'))
Fraction(147, 100)
"""
self = super(Fraction, cls).__new__(cls)
if denominator is None:
if type(numerator) is int:
self._numerator = numerator
self._denominator = 1
return self
elif isinstance(numerator, numbers.Rational):
self._numerator = numerator.numerator
self._denominator = numerator.denominator
return self
elif isinstance(numerator, (float, Decimal)):
# Exact conversion
self._numerator, self._denominator = numerator.as_integer_ratio()
return self
elif isinstance(numerator, str):
# Handle construction from strings.
m = _RATIONAL_FORMAT.match(numerator)
if m is None:
raise ValueError('Invalid literal for Fraction: %r' %
numerator)
numerator = int(m.group('num') or '0')
denom = m.group('denom')
if denom:
denominator = int(denom)
else:
denominator = 1
decimal = m.group('decimal')
if decimal:
scale = 10**len(decimal)
numerator = numerator * scale + int(decimal)
denominator *= scale
exp = m.group('exp')
if exp:
exp = int(exp)
if exp >= 0:
numerator *= 10**exp
else:
denominator *= 10**-exp
if m.group('sign') == '-':
numerator = -numerator
else:
raise TypeError("argument should be a string "
"or a Rational instance")
elif type(numerator) is int is type(denominator):
pass # *very* normal case
elif (isinstance(numerator, numbers.Rational) and
isinstance(denominator, numbers.Rational)):
numerator, denominator = (
numerator.numerator * denominator.denominator,
denominator.numerator * numerator.denominator
)
else:
raise TypeError("both arguments should be "
"Rational instances")
if denominator == 0:
raise ZeroDivisionError('Fraction(%s, 0)' % numerator)
if _normalize:
g = math.gcd(numerator, denominator)
if denominator < 0:
g = -g
numerator //= g
denominator //= g
self._numerator = numerator
self._denominator = denominator
return self
| (cls, numerator=0, denominator=None, *, _normalize=True) | [
0.017471805214881897,
-0.04732917994260788,
0.030672725290060043,
0.022228019312024117,
-0.013055321760475636,
-0.008187482133507729,
0.005566711537539959,
-0.004967331420630217,
-0.023023957386612892,
-0.0019218985689803958,
0.06037479266524315,
0.06848947703838348,
0.031973402947187424,
0.04752331227064133,
-0.020558491349220276,
0.02614946849644184,
0.011803175322711468,
0.02017022855579853,
-0.020713796839118004,
-0.004020941909402609,
-0.013686247169971466,
0.03826325386762619,
0.020228467881679535,
0.09621141105890274,
-0.024091677740216255,
0.023645177483558655,
0.037467315793037415,
0.005498765502125025,
-0.025586487725377083,
-0.019811086356639862,
0.008532064966857433,
0.05858878791332245,
-0.022616282105445862,
0.03337114676833153,
-0.03979688882827759,
-0.03001267835497856,
-0.04841631278395653,
0.04103932902216911,
-0.13099971413612366,
0.057074565440416336,
-0.016889411956071854,
0.02050025202333927,
-0.008988273330032825,
-0.009522134438157082,
-0.0028949810657650232,
-0.012705884873867035,
0.026498904451727867,
-0.011618751101195812,
-0.050396453589200974,
0.008007911033928394,
0.031526900827884674,
-0.0008020044188015163,
-0.05097884684801102,
-0.022538628429174423,
-0.05602625757455826,
0.08433058112859726,
0.034341804683208466,
0.07419693470001221,
-0.012802951037883759,
-0.017025303095579147,
-0.010861638933420181,
0.03599191829562187,
0.0032856701873242855,
-0.05148358643054962,
-0.055482689291238785,
0.005620097275823355,
0.0103277787566185,
-0.012346742674708366,
-0.0032128707971423864,
0.024674072861671448,
-0.012434101663529873,
0.010531616397202015,
-0.0016319152200594544,
0.005095943342894316,
0.0650339424610138,
0.02964382991194725,
0.0033657492604106665,
0.045970261096954346,
0.023373393341898918,
0.03288581967353821,
0.03521539643406868,
-0.00021612260024994612,
0.03674903139472008,
-0.047795094549655914,
-0.0008390106377191842,
-0.015588733367621899,
-0.06037479266524315,
-0.02976030856370926,
0.01519076433032751,
0.026576558127999306,
-0.08906738460063934,
-0.06134545058012009,
0.0007188919698819518,
-0.010191886685788631,
0.02098557911813259,
0.0024800256360322237,
-0.010230712592601776,
-0.03412825986742973,
0.010434550233185291,
-0.012637939304113388,
-0.040107499808073044,
0.028886718675494194,
-0.06771295517683029,
-0.01971402019262314,
0.016209952533245087,
-0.017219435423612595,
0.025683553889393806,
-0.009075632318854332,
-0.016860291361808777,
0.013938617892563343,
-0.06037479266524315,
0.000025877836378640495,
-0.06713055819272995,
0.036613140255212784,
-0.02752779982984066,
-0.0015239296481013298,
-0.037506140768527985,
-0.0033948689233511686,
0.06317028403282166,
-0.019995510578155518,
-0.010686920955777168,
0.04274768382310867,
-0.040884025394916534,
0.0872037261724472,
0.038884472101926804,
0.016239073127508163,
0.030633898451924324,
-0.045310214161872864,
-0.022092128172516823,
0.05132828280329704,
0.0534248985350132,
0.05326959490776062,
-0.017170902341604233,
0.01101694442331791,
0.021257363259792328,
0.07295449078083038,
-0.05851113423705101,
0.045310214161872864,
-0.010541322641074657,
0.029449699446558952,
0.01748151145875454,
-0.023353980854153633,
0.01939370483160019,
0.008323374204337597,
-0.025159399956464767,
0.07085787504911423,
0.034865956753492355,
0.008580598048865795,
-0.05862761288881302,
0.0875919833779335,
-0.020907927304506302,
0.03183751180768013,
0.14412298798561096,
0.003928729798644781,
0.033681757748126984,
-0.06452920287847519,
0.04301946610212326,
-0.03012915700674057,
-0.020306119695305824,
0.024674072861671448,
0.029624417424201965,
-0.02061673067510128,
0.03286640718579292,
-0.0103277787566185,
0.009648319333791733,
0.031371597200632095,
-0.025761205703020096,
-0.1068497970700264,
-0.04228176921606064,
0.0031279386021196842,
0.0448831282556057,
-0.028537282720208168,
-0.00033790955785661936,
0.013346518389880657,
-0.01943252980709076,
-0.001278839074075222,
0.04204881191253662,
0.013841552659869194,
-0.037428490817546844,
0.007629354950040579,
0.09349357336759567,
-0.05257072299718857,
-0.025586487725377083,
-0.014113335870206356,
0.03760320693254471,
-0.0014341439818963408,
-0.023470459505915642,
-0.004292725585401058,
0.03474947810173035,
-0.022596867755055428,
0.055327385663986206,
0.0039869691245257854,
-0.0022300819400697947,
0.026906579732894897,
0.01736503280699253,
-0.02399461343884468,
0.037467315793037415,
-0.050318799912929535,
0.08068091422319412,
0.07376984506845474,
-0.048455141484737396,
0.014443359337747097,
0.022169779986143112,
-0.048455141484737396,
-0.005115356296300888,
-0.026498904451727867,
-0.07151792198419571,
0.016782639548182487,
0.0027590892277657986,
-0.021703865379095078,
-0.05179419741034508,
-0.010395724326372147,
0.020111989229917526,
0.03940862789750099,
-0.034788306802511215,
-0.02842080406844616,
0.10436491668224335,
-0.020306119695305824,
0.024382874369621277,
-0.011803175322711468,
0.06010301038622856,
0.027391908690333366,
-0.029993265867233276,
-0.007192560005933046,
-0.01333681121468544,
-0.015520786866545677,
-0.029857374727725983,
0.011676990427076817,
-0.017850361764431,
0.00018427295435685664,
0.007017842028290033,
-0.04107815772294998,
0.007469196803867817,
-0.024052852764725685,
-0.02570296637713909,
-0.00902709923684597,
0.0066053131595253944,
0.027294842526316643,
-0.01740385964512825,
-0.004134994000196457,
-0.004249046090990305,
0.026460079476237297,
-0.01833568885922432,
0.030245637521147728,
0.02480996400117874,
-0.07404162734746933,
-0.023722829297184944,
0.03589485213160515,
-0.0058336416259408,
-0.007687594275921583,
-0.028226671740412712,
-0.028071368113160133,
-0.001776300254277885,
-0.031138639897108078,
0.01760769821703434,
0.03224518895149231,
-0.05656982213258743,
0.008852381259202957,
0.029255567118525505,
0.0035453205928206444,
0.015520786866545677,
-0.005319193936884403,
0.03785557672381401,
0.04888222739100456,
-0.04996936395764351,
-0.04379599168896675,
-0.028323737904429436,
-0.03680726885795593,
-0.003846223931759596,
0.036613140255212784,
0.023043369874358177,
0.015957582741975784,
-0.025178812444210052,
-0.013424170203506947,
-0.02756662666797638,
-0.026091229170560837,
0.01963636837899685,
0.012599113397300243,
0.007415810599923134,
-0.02679010108113289,
-0.0480668768286705,
-0.041660550981760025,
0.04282533749938011,
0.022228019312024117,
0.01378331333398819,
0.06647051125764847,
0.02329574152827263,
-0.019626662135124207,
0.0006818857509642839,
0.014268641360104084,
-0.0019461649935692549,
-0.018199797719717026,
-0.007823485881090164,
0.029022609815001488,
0.0231404360383749,
0.00679944409057498,
-0.007537142839282751,
-0.049348145723342896,
0.004753787070512772,
-0.0231404360383749,
-0.04542669281363487,
-0.025470009073615074,
0.05781226232647896,
0.06041362136602402,
-0.04371834173798561,
-0.05913235619664192,
0.05105649679899216,
-0.014482185244560242,
0.003926302772015333,
0.020752621814608574,
-0.013065028004348278,
0.05400729179382324,
-0.01142461970448494,
0.01601582206785679,
0.04317477345466614,
0.018675418570637703,
0.043330077081918716,
-0.0027736490592360497,
-0.013181506656110287,
0.04034045711159706,
-0.009177551604807377,
0.04826100915670395,
-0.02488761581480503,
0.03255579620599747,
-0.014443359337747097,
0.0018818590324372053,
-0.043563034385442734,
0.08603893220424652,
-0.020267294719815254,
0.036244288086891174,
-0.06386915594339371,
0.001890352345071733,
0.01687970571219921,
-0.0049527715891599655,
0.006770324427634478,
-0.04961992800235748,
0.04243707284331322,
-0.021412668749690056,
0.004273312631994486,
-0.022985130548477173,
0.08378701657056808,
-0.03548717871308327,
-0.03045918047428131,
-0.03898153826594353,
-0.034865956753492355,
-0.0009506361093372107,
0.058782920241355896,
-0.06359737366437912,
0.03756438195705414,
-0.04096167907118797,
-0.06689760088920593,
-0.03354586660861969,
-0.023159848526120186,
-0.020888514816761017,
-0.031895752996206284,
-0.009696852415800095,
-0.025062333792448044,
-0.024499353021383286,
-0.014181282371282578,
-0.046902090311050415,
0.03261403739452362,
0.0557156465947628,
-0.0026329040993005037,
0.0026741567999124527,
-0.02867317385971546,
-0.04565965011715889,
-0.0016464750515297055,
0.010783986188471317,
-0.02310160920023918,
-0.011657577008008957,
0.014132749289274216,
-0.02017022855579853,
-0.03878740966320038,
-0.0325169712305069,
-0.029585590586066246,
0.03199281543493271,
0.026984233409166336,
0.020403185859322548,
-0.008197188377380371,
-0.02414991706609726,
0.0020213909447193146,
-0.020306119695305824,
-0.03853503614664078,
0.01586051657795906,
-0.03265286237001419,
-0.033565279096364975,
0.05901587754487991,
-0.0013225185684859753,
0.005940414033830166,
0.03727318346500397,
-0.08355405926704407,
-0.006183078046888113,
0.04204881191253662,
-0.0014232241082936525,
-0.05835583060979843,
0.003979688975960016,
0.035700723528862,
-0.0003752191551029682,
-0.04969758167862892,
0.033079952001571655,
0.03199281543493271,
-0.030400941148400307,
-0.009075632318854332,
0.04150524362921715,
0.024499353021383286,
0.0035234808456152678,
0.08184570074081421,
0.015957582741975784,
-0.0012861189898103476,
-0.014792795293033123,
0.012851483188569546,
-0.08495180308818817,
-0.030750377103686333,
0.06549985706806183,
-0.012977669015526772,
-0.03179868683218956,
-0.014627783559262753,
-0.0804479569196701,
-0.026479491963982582,
0.01421040203422308,
0.012938842177391052,
0.009434774518013,
0.02976030856370926,
0.06946013122797012,
0.054667338728904724,
0.02147090807557106,
0.052143633365631104,
0.0007431583944708109,
-0.007343011442571878,
0.017617404460906982,
0.0016003688797354698,
0.050357624888420105,
-0.028401389718055725,
-0.04115580767393112,
0.024984681978821754,
-0.04965875297784805,
-0.02935263328254223,
0.03440004214644432,
-0.02455759234726429,
0.002325934125110507,
0.020034337416291237,
-0.0008402239764109254,
0.017617404460906982,
-0.03705964237451553,
0.0046785613521933556,
-0.08029264956712723,
0.06262671947479248,
-0.011589630506932735,
-0.0471738763153553,
-0.04631969705224037,
0.0015142231713980436,
-0.007100347429513931,
0.010463669896125793,
-0.0043364050798118114,
-0.005396846681833267,
-0.029915614053606987,
0.026285361498594284,
0.010793693363666534,
-0.02013140171766281,
-0.010463669896125793,
-0.002241001697257161,
0.023839307948946953,
-0.012618525885045528,
0.003443401772528887,
-0.05656982213258743,
0.06359737366437912,
0.10622857511043549,
-0.017908601090312004,
-0.060568924993276596,
-0.03150748834013939,
0.007294478826224804,
0.08689311146736145,
0.0011344540398567915,
0.011686696670949459,
-0.060685403645038605,
-0.00459362892434001,
-0.040767546743154526,
-0.06119014695286751,
-0.008187482133507729,
-0.03234225511550903,
0.0056540705263614655,
0.017413565889000893,
0.0016792346723377705,
0.028226671740412712,
0.0011805602116510272,
-0.014715142548084259,
0.0021682025399059057,
0.02228625863790512,
0.017578577622771263,
0.002870714757591486,
-0.030808616429567337,
0.02667362242937088,
-0.017986252903938293,
0.03321584314107895,
-0.06386915594339371,
0.021296190097928047,
-0.05843348428606987,
-0.03632194176316261,
-0.019063681364059448,
-0.007071227766573429,
0.038399145007133484,
-0.02931380644440651,
0.005644363816827536,
0.020461425185203552,
0.04216529056429863,
0.014268641360104084,
-0.03558424487709999,
0.05831700563430786,
-0.004266032483428717,
-0.018151264637708664,
-0.05307546257972717,
0.015346068888902664,
-0.008842675015330315,
0.031779274344444275,
-0.013288279063999653,
0.00861942395567894,
-0.024984681978821754,
0.010657801292836666,
-0.03581720218062401,
-0.031701620668172836,
-0.010822813026607037,
0.026479491963982582,
-0.03975806385278702,
-0.01699618436396122,
-0.01417157519608736,
-0.02248038910329342,
-0.0830104872584343,
-0.0404181107878685,
0.04965875297784805,
-0.026984233409166336,
0.006823710631579161,
-0.04791157320141792,
0.00235869362950325,
0.02712012454867363,
-0.03830207884311676,
0.023878134787082672,
-0.04146641865372658,
-0.012880602851510048,
0.04810570552945137,
0.0047998931258916855,
-0.02240273728966713,
0.05622038617730141,
0.00571230985224247,
0.019539302214980125,
0.01723884791135788,
-0.05004701763391495,
0.04989171028137207,
0.0012776257935911417,
0.033079952001571655,
-0.0029289540834724903,
0.04961992800235748,
-0.058045219630002975,
0.0038632103241980076,
0.0267124492675066,
0.02574179321527481,
0.051289454102516174,
0.027799583971500397,
0.009784211404621601,
0.0332740843296051,
-0.02797430194914341,
0.0061393980868160725,
0.0006151531706564128,
0.05004701763391495,
-0.011715816333889961,
-0.059714749455451965,
0.013026202097535133,
0.05062941089272499,
0.029372045770287514,
0.003292950103059411,
-0.0021014700178056955,
0.014986926689743996,
0.01402597688138485,
0.04981406033039093,
0.04899870604276657,
-0.030750377103686333,
0.0006782457930967212,
-0.011259607970714569,
-0.03241990506649017,
-0.01114312931895256,
0.014511304907500744,
0.02117971144616604,
-0.02849845588207245,
-0.07136262208223343,
-0.04961992800235748,
-0.021373841911554337,
0.024751724675297737,
-0.0026595969684422016,
0.015540200285613537,
0.007794366683810949,
0.008832968771457672,
-0.007726420648396015,
-0.009560960344970226,
0.05528855696320534,
-0.02719777636229992,
-0.042553551495075226,
-0.029585590586066246,
-0.07307097315788269,
-0.05447320640087128,
0.038651514798402786,
-0.022946303710341454,
-0.027993714436888695,
0.020849687978625298,
-0.03715670481324196,
0.02778017148375511,
0.01846187375485897,
0.03533187508583069,
0.0133562246337533,
0.005018290597945452,
-0.04903753474354744,
-0.06452920287847519,
0.02370341680943966,
0.002817328553646803,
-0.00032850634306669235,
-0.025101160630583763,
0.03647724539041519,
-0.021781517192721367,
-0.06779060512781143,
0.003712758654728532,
-0.04585378244519234,
0.0422041155397892,
-0.06507276743650436,
0.03674903139472008,
-0.02667362242937088,
0.04663030803203583,
-0.03337114676833153,
0.0399133674800396,
0.003919023089110851,
-0.04301946610212326,
-0.028964370489120483,
-0.09722089022397995,
0.03940862789750099,
0.0041010212153196335,
-0.0436018630862236,
-0.003681212430819869,
-0.058899398893117905,
-0.004608188755810261,
0.02017022855579853,
0.019510183483362198,
0.042514726519584656,
0.0840199738740921,
0.00459362892434001,
-0.033914715051651,
-0.023819895461201668,
-0.015404308214783669,
-0.003307509934529662,
-0.027838410809636116,
-0.05524973198771477,
-0.07749716192483902,
0.004761067219078541,
0.03069213777780533,
-0.015569319948554039,
0.07081905007362366,
0.029993265867233276,
-0.05509442836046219,
-0.02578062005341053,
0.010133647359907627,
0.009784211404621601,
-0.006838270463049412,
-0.006702378857880831,
0.06810121238231659,
-0.02979913540184498,
0.011473151855170727,
0.019568422809243202,
0.04977523162961006,
0.02061673067510128,
0.0404181107878685,
-0.032749928534030914,
-0.019180160015821457,
-0.00000883448501554085,
-0.02578062005341053,
0.0003233497263863683,
-0.005566711537539959,
0.003419135231524706,
0.02329574152827263,
-0.061461929231882095,
0.04732917994260788,
0.02187858335673809,
0.03156572952866554,
0.035642482340335846,
0.05012466758489609,
0.0038243841845542192,
0.02585827186703682,
-0.017665937542915344,
-0.01792801357805729,
0.035428937524557114,
-0.015258709900081158,
-0.02191741019487381,
0.03086685575544834,
0.0007164653507061303,
0.0011623604223132133,
0.020267294719815254,
0.0018867122707888484,
-0.021315602585673332,
-0.014744262211024761,
-0.03172103315591812,
0.023645177483558655,
-0.06219962611794472,
-0.029488524422049522,
0.010065700858831406,
-0.014647196978330612,
0.027702517807483673,
-0.03005150519311428,
0.003016313072293997,
0.03269169107079506,
0.021043818444013596,
-0.007192560005933046,
-0.007003282196819782,
0.01971402019262314,
0.08751433342695236,
-0.05416259542107582,
-0.01264764554798603,
0.056375693529844284,
0.015579026192426682,
-0.028692586347460747,
0.007876872085034847,
0.023373393341898918,
0.07870077341794968,
0.0578899160027504,
-0.00847867876291275,
-0.025800032541155815,
-0.011395500041544437,
-0.05622038617730141,
0.10498613864183426,
0.04367951303720474,
0.009633759036660194,
0.02135442942380905,
0.061500754207372665,
0.0016367684584110975,
-0.036943163722753525,
-0.056414518505334854,
-0.05183302238583565,
0.08875676989555359,
-0.010628681629896164,
-0.05307546257972717,
0.014579251408576965,
-0.07155674695968628,
0.01417157519608736,
-0.015918755903840065,
0.043368902057409286,
0.023528698831796646,
-0.03599191829562187,
-0.03313818946480751,
-0.018879257142543793,
-0.01402597688138485,
-0.023606350645422935,
0.020927339792251587,
0.045077256858348846,
0.02162621170282364,
-0.0031570582650601864,
-0.022655107080936432,
0.036088984459638596,
-0.07703124731779099,
-0.007192560005933046,
0.0624714121222496,
0.005445379298180342,
-0.038360320031642914,
-0.024344049394130707,
-0.006707231979817152,
0.006692672148346901,
0.0029241007287055254,
-0.019218986853957176,
-0.015676092356443405,
0.05691925808787346,
0.0457761287689209,
-0.03845738619565964,
0.040922850370407104,
0.02183975651860237,
0.012637939304113388
] |
10,302 | fractions | __pos__ | +a: Coerces a subclass instance to Fraction | def __pos__(a):
"""+a: Coerces a subclass instance to Fraction"""
return Fraction(a._numerator, a._denominator, _normalize=False)
| (a) | [
-0.037039875984191895,
-0.0462910495698452,
0.03440170735120773,
0.025449523702263832,
-0.021421922370791435,
0.030198225751519203,
0.00445190817117691,
-0.04161269962787628,
-0.034929338842630386,
0.0060458010993897915,
0.04576341435313225,
-0.012628029100596905,
0.026733431965112686,
0.0029503507539629936,
-0.02958265319466591,
0.016972212120890617,
0.01614558696746826,
0.0000565419795748312,
-0.013102899305522442,
0.046115171164274216,
-0.002090747933834791,
0.03777856007218361,
0.02536158449947834,
0.013472243212163448,
-0.032502226531505585,
0.0028514196164906025,
0.04653727635741234,
0.03443688154220581,
-0.026610318571329117,
-0.04759254306554794,
0.008890625089406967,
0.04759254306554794,
0.01107151061296463,
0.021668151021003723,
0.008895021863281727,
-0.00014303815260063857,
-0.023444516584277153,
0.06212005391716957,
-0.08280328661203384,
0.06134619191288948,
-0.05891907960176468,
0.012548884376883507,
-0.05747687816619873,
0.0015730074374005198,
0.023198287934064865,
-0.00013403815682977438,
0.0358966663479805,
-0.020788760855793953,
-0.04101471230387688,
-0.004827846772968769,
0.009761220775544643,
-0.0020874501205980778,
-0.0003130075929220766,
-0.007123052608221769,
-0.015987295657396317,
0.07210991531610489,
0.04277349263429642,
0.06247181072831154,
-0.031147966161370277,
0.02513294480741024,
-0.001397129613906145,
0.02567816525697708,
0.06328085064888,
-0.10489355027675629,
0.006837251130491495,
-0.03292433172464371,
-0.01915309764444828,
0.013243601657450199,
-0.037497155368328094,
0.030761035159230232,
-0.005799571983516216,
0.018889280036091805,
0.02369074523448944,
0.025414349511265755,
0.053677916526794434,
0.02448219619691372,
0.0597984679043293,
0.044461920857429504,
0.038939353078603745,
0.013850380666553974,
-0.014351632446050644,
-0.008151938207447529,
0.03313538432121277,
0.03922075778245926,
0.03002234734594822,
-0.016435785219073296,
-0.03601978346705437,
-0.0675370916724205,
0.0067449151538312435,
0.0482608824968338,
-0.054100025445222855,
-0.029406774789094925,
-0.006050197873264551,
-0.010385586880147457,
-0.018994808197021484,
0.052552301436662674,
-0.006520671304315329,
-0.05103975161910057,
0.00017395417671650648,
-0.015125494450330734,
-0.014589067548513412,
0.07140640169382095,
-0.07077324390411377,
-0.030163049697875977,
-0.00907529704272747,
-0.026100272312760353,
0.0414368212223053,
-0.023532455787062645,
-0.012759937904775143,
0.05424072593450546,
-0.00840696133673191,
0.04973825439810753,
-0.029951997101306915,
0.06134619191288948,
-0.027278654277324677,
-0.035157982259988785,
-0.039044883102178574,
-0.014114197343587875,
0.060959260910749435,
0.02457013539969921,
-0.0014136182144284248,
0.043230775743722916,
-0.004841037560254335,
0.07218027114868164,
0.01661166176199913,
0.02303999848663807,
0.045587535947561264,
-0.015283784829080105,
-0.02057770825922489,
-0.002009404357522726,
0.060853734612464905,
0.0052543506026268005,
-0.03728610277175903,
-0.020401829853653908,
0.03964286670088768,
0.07358729094266891,
0.016585281118750572,
0.00545221334323287,
-0.06458234786987305,
-0.003541740123182535,
0.0024139233864843845,
0.0054038469679653645,
0.050125185400247574,
0.0066877552308142185,
-0.04509507864713669,
0.07232096791267395,
0.00022905341756995767,
0.012698380276560783,
-0.06809990108013153,
0.03431376814842224,
-0.03547456115484238,
0.023514868691563606,
0.12803907692432404,
-0.020753584802150726,
0.0030250989366322756,
-0.07415010035037994,
-0.01728879287838936,
-0.056527137756347656,
0.013199632056057453,
0.015530013479292393,
-0.0083102285861969,
0.0032911142334342003,
0.012979784980416298,
-0.044813673943281174,
0.008512487635016441,
0.028034929186105728,
-0.005733617581427097,
-0.06869788467884064,
-0.045587535947561264,
0.018801340833306313,
0.04541166126728058,
-0.028826378285884857,
0.02193196676671505,
0.03125349432229996,
-0.007786991540342569,
0.012320242822170258,
0.0296705923974514,
0.03696952387690544,
0.0035329461097717285,
-0.00037566409446299076,
0.08533593267202377,
-0.03408512473106384,
-0.010007449425756931,
-0.05118045210838318,
0.05455730855464935,
-0.008297037333250046,
0.0031943812500685453,
0.04087401181459427,
0.036723293364048004,
-0.01625990681350231,
0.04228103533387184,
0.007879327051341534,
0.014993586577475071,
-0.03426100313663483,
0.011854167096316814,
-0.019223447889089584,
0.0008903815760277212,
-0.0253439974039793,
0.029547477141022682,
0.06954210251569748,
-0.0631401464343071,
0.00445850333198905,
-0.0023237860295921564,
-0.04671315476298332,
-0.01301496010273695,
0.04238656163215637,
-0.03056756965816021,
-0.001012946479022503,
-0.014448365196585655,
-0.044145338237285614,
-0.035492148250341415,
0.011194624938070774,
0.03573837876319885,
-0.023233463987708092,
-0.023514868691563606,
-0.04119059070944786,
0.06078338250517845,
-0.04252726212143898,
0.06824060529470444,
0.04769807308912277,
0.04133129492402077,
0.005166411865502596,
-0.020102838054299355,
-0.015055143274366856,
-0.0006716335192322731,
-0.010781312361359596,
-0.04449709504842758,
-0.01860787533223629,
-0.009989861398935318,
-0.03777856007218361,
0.010886838659644127,
-0.05860249698162079,
-0.03999462351202965,
-0.04263278841972351,
0.034700699150562286,
0.020859112963080406,
-0.0020280913449823856,
0.011968486942350864,
-0.035157982259988785,
-0.00019277860701549798,
-0.03200976923108101,
0.013243601657450199,
-0.020349066704511642,
0.06503962725400925,
-0.026979660615324974,
-0.02249477617442608,
0.0009480915032327175,
0.003187785856425762,
0.004647572059184313,
0.033399201929569244,
-0.022529952228069305,
-0.04607999697327614,
-0.006582228466868401,
0.012188334949314594,
0.05318545922636986,
0.03174595162272453,
-0.10306441783905029,
-0.009523785673081875,
-0.01073734275996685,
0.022072669118642807,
-0.04027602821588516,
0.003939663525670767,
0.0390097051858902,
0.030198225751519203,
-0.03507004305720329,
0.01025367807596922,
-0.0148352961987257,
-0.04418051615357399,
-0.021773677319288254,
0.07365763932466507,
0.07098429650068283,
0.010596640408039093,
0.0491754449903965,
0.010508701205253601,
-0.03002234734594822,
-0.012390593998134136,
-0.0005716030136682093,
0.03264292702078819,
0.03477105125784874,
-0.04562271386384964,
-0.027876637876033783,
-0.04045190289616585,
-0.021967142820358276,
0.01123859453946352,
0.0034054347779601812,
0.024306317791342735,
0.06134619191288948,
0.044672973453998566,
-0.012874258682131767,
-0.00031987784313969314,
0.0018873891094699502,
0.0018621067283675075,
0.00957654882222414,
0.0032515416387468576,
0.04108506441116333,
0.04182375222444534,
-0.00744842691347003,
0.03332884982228279,
-0.014413189142942429,
0.002873404184356332,
-0.022547539323568344,
-0.07590887695550919,
-0.03002234734594822,
0.08273293823003769,
-0.021175691857933998,
0.005535755306482315,
0.04938649758696556,
0.020683234557509422,
0.013498624786734581,
0.006384365726262331,
-0.030426867306232452,
0.03774338588118553,
-0.04351218044757843,
0.05184878781437874,
-0.014096609316766262,
0.005984243471175432,
0.013947113417088985,
0.002175389090552926,
0.005676457658410072,
0.06725569069385529,
-0.04819053038954735,
0.03575596585869789,
-0.016004884615540504,
-0.012830289080739021,
-0.009374288842082024,
0.03918558359146118,
-0.03640671446919441,
0.05490906164050102,
0.017561402171850204,
0.02182644046843052,
-0.0771048441529274,
-0.013850380666553974,
0.007800182327628136,
-0.04076848551630974,
-0.07485361397266388,
-0.04488402605056763,
0.05677336826920509,
0.03686399757862091,
0.008068395778536797,
-0.026416853070259094,
0.008094778284430504,
0.018643051385879517,
-0.015758654102683067,
0.006797678768634796,
-0.02601233310997486,
0.017895570024847984,
-0.020296303555369377,
-0.028421860188245773,
0.06088890880346298,
-0.03908005729317665,
-0.03310021013021469,
-0.03542179986834526,
-0.0014894654741510749,
-0.0067053427919745445,
-0.006212885025888681,
-0.0003685190458782017,
0.02325105108320713,
0.000034746179153444245,
-0.030620332807302475,
-0.043019719421863556,
0.010042624548077583,
0.023127935826778412,
-0.0003031144733540714,
-0.03932628780603409,
0.011053922586143017,
-0.022125432267785072,
-0.029037432745099068,
-0.04403981193900108,
-0.042140331119298935,
-0.013375510461628437,
-0.010429556481540203,
0.01704256236553192,
-0.05958741530776024,
-0.09251174330711365,
-0.04407498612999916,
0.04129611700773239,
0.00525874737650156,
0.014817708171904087,
-0.022899296134710312,
0.0034120301716029644,
0.038165491074323654,
-0.0165061354637146,
-0.05040659010410309,
0.04882368817925453,
0.014580273069441319,
-0.002231450052931905,
0.02282894402742386,
-0.015442075207829475,
0.02989923395216465,
0.06665769964456558,
-0.06489892303943634,
-0.02581886760890484,
-0.008002442307770252,
-0.012223510071635246,
-0.05902460590004921,
-0.024060089141130447,
0.015697097405791283,
-0.01780763268470764,
-0.04692420735955238,
0.02291688323020935,
0.06503962725400925,
-0.01792195253074169,
0.016769953072071075,
0.03357508033514023,
0.0089170066639781,
-0.027102775871753693,
0.05592915415763855,
0.010112975724041462,
-0.017965922132134438,
0.018361646682024002,
0.007483602501451969,
-0.03630118817090988,
0.0021929768845438957,
0.0780194103717804,
0.014606654644012451,
-0.018537525087594986,
-0.03872830048203468,
-0.05139150470495224,
-0.07541642338037491,
-0.03025098890066147,
0.012592853978276253,
0.002229251665994525,
0.017227234318852425,
0.04164787381887436,
0.057195473462343216,
0.0033416789956390858,
0.02910778298974037,
-0.016092821955680847,
0.012795113027095795,
0.05684372037649155,
-0.001375144929625094,
-0.021650562062859535,
0.002000610576942563,
-0.04632622376084328,
0.05392414703965187,
-0.057195473462343216,
-0.023233463987708092,
0.004025404341518879,
-0.037039875984191895,
0.0661652460694313,
0.04636140167713165,
0.03171077370643616,
0.03088415041565895,
0.0034274195786565542,
0.06197935342788696,
-0.061522070318460464,
0.011827785521745682,
-0.024534959346055984,
-0.02689172327518463,
-0.05480353534221649,
0.0320977084338665,
-0.012056426145136356,
0.09019015729427338,
-0.011185831390321255,
-0.009787602350115776,
-0.04428604245185852,
-0.03192183002829552,
-0.02214302122592926,
-0.0030229005496948957,
-0.02423596754670143,
0.0009766716975718737,
0.009567754343152046,
-0.0453764833509922,
-0.042245857417583466,
-0.02858014963567257,
0.05789898708462715,
0.07647168636322021,
-0.00314381648786366,
-0.03995944559574127,
-0.052095018327236176,
0.041577521711587906,
0.027946989983320236,
-0.02634650096297264,
-0.07478325814008713,
-0.05195431411266327,
0.03533386066555977,
-0.04112023860216141,
-0.04815535247325897,
-0.007712243590503931,
-0.027735935524106026,
-0.038271017372608185,
-0.011150655336678028,
-0.018133005127310753,
0.01618076115846634,
-0.006630594842135906,
0.031165553256869316,
-0.018889280036091805,
0.042914193123579025,
0.01268079224973917,
-0.005263144616037607,
-0.0031679996754974127,
0.01971590705215931,
-0.0626828670501709,
0.01925862394273281,
-0.013771235011518002,
0.03259016573429108,
-0.01151120476424694,
-0.019557615742087364,
-0.028509799391031265,
-0.034700699150562286,
0.0173767302185297,
-0.00858723558485508,
-0.019540028646588326,
-0.013032548129558563,
0.006401953753083944,
-0.011546380817890167,
-0.025449523702263832,
0.04681868106126785,
-0.0029877249617129564,
0.017112914472818375,
-0.03689917176961899,
0.02457013539969921,
-0.030848974362015724,
0.04980860650539398,
0.026944486424326897,
0.01727120392024517,
-0.016743570566177368,
-0.011634319089353085,
0.021738501265645027,
-0.07689379155635834,
0.0036692514549940825,
-0.02270583063364029,
-0.05315028503537178,
0.0002716488379519433,
-0.011889342218637466,
-0.003823144594207406,
-0.03929110988974571,
-0.010631815530359745,
0.019328976050019264,
-0.02138674631714821,
0.04305489733815193,
-0.046466927975416183,
0.0029503507539629936,
0.03477105125784874,
-0.012707174755632877,
0.01173984631896019,
-0.034929338842630386,
-0.00642393808811903,
0.03123590536415577,
0.04942167550325394,
0.02326863817870617,
0.02945953980088234,
0.015283784829080105,
0.0024644883815199137,
0.012786319479346275,
-0.0015927937347441912,
-0.007123052608221769,
-0.03579114004969597,
0.020190777257084846,
0.04140164330601692,
0.03021581470966339,
-0.042245857417583466,
-0.024288730695843697,
0.044250864535570145,
0.04498955234885216,
0.06584866344928741,
-0.02879120409488678,
-0.0045728241093456745,
0.02404250204563141,
0.0031921828631311655,
0.022969646379351616,
-0.019522441551089287,
0.09532579034566879,
-0.022336486726999283,
-0.06437128782272339,
0.019979722797870636,
0.04885886609554291,
0.0780194103717804,
0.012821494601666927,
-0.005702839232981205,
0.025783691555261612,
-0.01123859453946352,
-0.030919324606657028,
0.03788408637046814,
-0.031200729310512543,
0.012153158895671368,
-0.006467907689511776,
-0.019012395292520523,
-0.006547052878886461,
-0.009233586490154266,
0.003451602766290307,
-0.031288668513298035,
-0.06683357805013657,
-0.027401767671108246,
-0.011959693394601345,
0.02180885337293148,
0.02448219619691372,
-0.020067662000656128,
0.03357508033514023,
-0.03675847128033638,
0.002695328090339899,
-0.009215999394655228,
0.04710008576512337,
-0.018467172980308533,
-0.07640133798122406,
-0.07175815850496292,
-0.03389165922999382,
-0.026979660615324974,
0.0059182895347476006,
-0.010112975724041462,
-0.014817708171904087,
0.020788760855793953,
0.0008271755068562925,
0.0347534604370594,
0.004265037830919027,
0.018871692940592766,
0.035386621952056885,
0.000627114437520504,
-0.024534959346055984,
-0.07731590420007706,
0.015099112875759602,
0.037602681666612625,
-0.010658197104930878,
-0.04984378069639206,
-0.03851724788546562,
-0.021949555724859238,
-0.03700469806790352,
0.006938381120562553,
-0.0799892470240593,
0.0915268287062645,
-0.07576817274093628,
0.005949067883193493,
-0.03313538432121277,
0.05184878781437874,
-0.0390097051858902,
0.026962073519825935,
0.03668811917304993,
-0.03654741495847702,
0.028843967244029045,
-0.059517063200473785,
0.046889033168554306,
0.04615034535527229,
-0.04892921820282936,
-0.04752219468355179,
-0.09279315173625946,
-0.0453764833509922,
-0.054311078041791916,
0.009101678617298603,
-0.00014482441474683583,
0.06743156909942627,
0.008732334710657597,
-0.026399264112114906,
-0.023514868691563606,
0.01284787617623806,
-0.009945891797542572,
-0.08069275319576263,
-0.047346316277980804,
-0.03711022436618805,
-0.030198225751519203,
0.019012395292520523,
-0.006964762695133686,
0.053537216037511826,
0.030620332807302475,
-0.028070103377103806,
-0.023092761635780334,
0.036266010254621506,
0.04055743291974068,
0.025854043662548065,
-0.00741764809936285,
0.0352107435464859,
-0.038024790585041046,
-0.010227296501398087,
-0.02789422683417797,
0.037813737988471985,
0.052235718816518784,
0.036617767065763474,
-0.0221606083214283,
-0.02270583063364029,
-0.018695814535021782,
-0.055295996367931366,
-0.025854043662548065,
0.07457220554351807,
-0.07647168636322021,
-0.0029657401610165834,
-0.07415010035037994,
0.02680378407239914,
0.03978356719017029,
0.015424487181007862,
0.061064787209033966,
0.021615387871861458,
-0.01562674716114998,
0.010834075510501862,
-0.002175389090552926,
-0.026399264112114906,
0.004937770310789347,
0.0011212212266400456,
-0.03436652943491936,
-0.003482381347566843,
0.026997249573469162,
-0.0015015570679679513,
0.02291688323020935,
0.012768731452524662,
-0.029635416343808174,
0.006516274064779282,
0.022864120081067085,
0.03098967671394348,
-0.026082685217261314,
-0.01573227345943451,
0.008714747615158558,
0.0021270227152854204,
0.0695069208741188,
-0.027946989983320236,
-0.010754929855465889,
0.04748701676726341,
0.033047448843717575,
0.0006881220615468919,
0.00835419725626707,
0.024165615439414978,
0.03728610277175903,
0.0043463814072310925,
-0.027630409225821495,
0.04952720180153847,
-0.00479267118498683,
-0.051989492028951645,
-0.0006260151858441532,
0.058848727494478226,
0.08350680023431778,
0.028615325689315796,
-0.025766104459762573,
0.03609013557434082,
-0.04952720180153847,
-0.03623083606362343,
0.09082332253456116,
0.1021498516201973,
0.014694593846797943,
-0.0075891287997365,
0.06528585404157639,
-0.009928304702043533,
-0.07035113871097565,
-0.04119059070944786,
-0.01472976990044117,
0.05902460590004921,
-0.024658074602484703,
-0.04199963063001633,
-0.030620332807302475,
-0.006028213072568178,
-0.022178195416927338,
-0.013815204612910748,
0.007721037603914738,
-0.0012641219655051827,
-0.015688303858041763,
-0.03929110988974571,
-0.005526961293071508,
-0.012056426145136356,
-0.05490906164050102,
-0.014791326597332954,
0.04210515692830086,
0.03964286670088768,
-0.012373005971312523,
-0.017359143123030663,
0.03021581470966339,
-0.01584659330546856,
0.012962196953594685,
0.06423059105873108,
0.004972945898771286,
-0.04797947779297829,
0.02689172327518463,
-0.0129006402567029,
0.008037617430090904,
-0.04541166126728058,
-0.045130256563425064,
-0.03640671446919441,
0.026856547221541405,
0.07006973028182983,
-0.056421611458063126,
0.027859050780534744,
0.02325105108320713,
-0.00881148036569357
] |
10,303 | fractions | __pow__ | a ** b
If b is not an integer, the result will be a float or complex
since roots are generally irrational. If b is an integer, the
result will be rational.
| def __pow__(a, b):
"""a ** b
If b is not an integer, the result will be a float or complex
since roots are generally irrational. If b is an integer, the
result will be rational.
"""
if isinstance(b, numbers.Rational):
if b.denominator == 1:
power = b.numerator
if power >= 0:
return Fraction(a._numerator ** power,
a._denominator ** power,
_normalize=False)
elif a._numerator >= 0:
return Fraction(a._denominator ** -power,
a._numerator ** -power,
_normalize=False)
else:
return Fraction((-a._denominator) ** -power,
(-a._numerator) ** -power,
_normalize=False)
else:
# A fractional power will generally produce an
# irrational number.
return float(a) ** float(b)
else:
return float(a) ** b
| (a, b) | [
-0.020914804190397263,
-0.043162234127521515,
0.0821785256266594,
0.054748665541410446,
-0.01825881004333496,
-0.029928529635071754,
-0.039460498839616776,
-0.014927247539162636,
-0.06585387140512466,
0.040793124586343765,
0.03897927328944206,
0.012669188901782036,
0.03614744544029236,
0.022025324404239655,
-0.10231596231460571,
0.021488573402166367,
-0.022099358960986137,
-0.0638919472694397,
0.010559200309216976,
0.027763014659285545,
-0.0388312041759491,
0.03986768797039986,
0.09765177965164185,
0.06755667179822922,
-0.04301416501402855,
0.010957136750221252,
0.04097820818424225,
0.029891513288021088,
-0.015889698639512062,
-0.018906613811850548,
0.011743755079805851,
-0.004816883243620396,
0.028688447549939156,
-0.003063185838982463,
0.01277098711580038,
-0.014307206496596336,
-0.007218383718281984,
0.04301416501402855,
-0.10335244983434677,
-0.03524051979184151,
-0.037294983863830566,
0.06429914385080338,
-0.023339441046118736,
0.01774981990456581,
-0.005663654766976833,
-0.05663654953241348,
-0.021988308057188988,
0.015269657596945763,
-0.04693800210952759,
0.0012007503537461162,
-0.036924809217453,
-0.00228235125541687,
-0.032575272023677826,
-0.012002876959741116,
-0.05745093151926994,
0.03316754847764969,
-0.016296889632940292,
-0.013585368171334267,
-0.07336839288473129,
-0.025616008788347244,
-0.04212574660778046,
0.007764389738440514,
-0.01042038481682539,
-0.06048635393381119,
0.03622147813439369,
0.010179772041738033,
-0.03662867099046707,
0.030428264290094376,
-0.013363264501094818,
0.06611299514770508,
-0.043976616114377975,
0.00014322534843813628,
-0.026948632672429085,
-0.046345725655555725,
-0.013289229944348335,
0.04279205948114395,
-0.006487291306257248,
0.014557073824107647,
-0.014575582928955555,
0.022451024502515793,
-0.011012662202119827,
-0.03920137509703636,
-0.009467188268899918,
-0.02935476042330265,
0.008995216339826584,
0.001887885038740933,
0.02308031916618347,
-0.0010914334561675787,
0.0075561669655144215,
-0.037313491106033325,
-0.07581153512001038,
-0.047086071223020554,
0.015491762198507786,
0.02308031916618347,
0.0003632327716331929,
-0.004240800626575947,
-0.012724715285003185,
0.03296395391225815,
0.03990470618009567,
0.009022979997098446,
-0.000599796767346561,
0.02842932753264904,
-0.030132126063108444,
0.021192435175180435,
0.05941285192966461,
-0.022006817162036896,
0.03768366575241089,
-0.0353330634534359,
0.03934944421052933,
0.04938114807009697,
-0.06474334746599197,
0.022821197286248207,
-0.02720775455236435,
-0.0021227137185633183,
-0.04841869696974754,
0.03846102952957153,
-0.01623210869729519,
0.03292693570256233,
0.08758305758237839,
0.031224137172102928,
-0.00459477910771966,
0.039460498839616776,
0.026652494445443153,
0.036480601876974106,
0.08662060648202896,
0.03901629149913788,
0.028669940307736397,
-0.04034891352057457,
0.0158064104616642,
0.031224137172102928,
0.050972893834114075,
0.05293481424450874,
0.037294983863830566,
0.053416039794683456,
-0.014843958429992199,
0.09580090641975403,
-0.0456053800880909,
0.02420934848487377,
0.05078780651092529,
-0.00703329686075449,
-0.037424542009830475,
-0.02965090051293373,
0.02639337256550789,
0.0008837893255986273,
-0.042236801236867905,
0.0736275166273117,
0.04464292898774147,
-0.01632465235888958,
-0.039978742599487305,
0.04430977255105972,
0.018045959994196892,
0.002074128482490778,
0.0909886509180069,
0.029132656753063202,
-0.002824886702001095,
-0.029206691309809685,
0.05511884018778801,
-0.0007426606607623398,
0.0034796311520040035,
0.02752240188419819,
0.0587095208466053,
0.04364345967769623,
0.029891513288021088,
-0.01774981990456581,
-0.005552602931857109,
-0.005950539372861385,
0.04812255874276161,
-0.048307646065950394,
0.021710677072405815,
-0.0030146006029099226,
-0.001148116309195757,
-0.0058672502636909485,
-0.028558887541294098,
0.01333550177514553,
0.016306143254041672,
0.028003627434372902,
0.0072785369120538235,
-0.025412412360310555,
-0.004960325080901384,
-0.018943630158901215,
0.02011893130838871,
-0.03696182742714882,
-0.07421979308128357,
0.02483864314854145,
0.06355879455804825,
0.02689310722053051,
-0.02258058451116085,
0.007074941415339708,
-0.0022719400003552437,
-0.012900547124445438,
-0.019267532974481583,
-0.006237423978745937,
0.04738221317529678,
0.005510958377271891,
0.011188494972884655,
0.006098608952015638,
0.01889735832810402,
-0.023876192048192024,
0.0046132877469062805,
0.07884696125984192,
-0.0519353449344635,
0.007236892357468605,
0.028669940307736397,
0.007667219266295433,
0.05208341404795647,
-0.04305117949843407,
-0.020489104092121124,
0.00022687588352710009,
0.0074173519387841225,
-0.03651762008666992,
-0.028466343879699707,
-0.007773644290864468,
-0.03251974284648895,
0.058154262602329254,
0.005423041991889477,
0.043384335935115814,
0.032482728362083435,
-0.026819072663784027,
0.007583930157124996,
0.005529467016458511,
0.02483864314854145,
-0.025616008788347244,
0.02452399581670761,
0.029928529635071754,
0.010642488487064838,
0.03975663706660271,
-0.00621428806334734,
0.0566735677421093,
0.028910553082823753,
-0.010605471208691597,
0.0012747851433232427,
-0.006001438479870558,
-0.034851837903261185,
-0.047789402306079865,
-0.03448166325688362,
-0.03748007118701935,
-0.02761494554579258,
0.015130843035876751,
0.03222360461950302,
0.012141691520810127,
0.007338690105825663,
0.006681632250547409,
0.012502610683441162,
0.033815350383520126,
-0.007482132408767939,
-0.011373581364750862,
0.007681100629270077,
-0.023543035611510277,
0.02594916522502899,
0.02944730408489704,
0.025393903255462646,
-0.023783648386597633,
0.054156385362148285,
0.005150039214640856,
0.0611896850168705,
0.025282852351665497,
0.018323589116334915,
-0.044716961681842804,
-0.004798374138772488,
0.01350207906216383,
-0.026097234338521957,
0.05371217802166939,
-0.010559200309216976,
-0.003599937539547682,
-0.059079695492982864,
-0.07566346973180771,
-0.023654088377952576,
-0.024486979469656944,
0.0003016335831489414,
0.09202513843774796,
0.12319374829530716,
0.0029937783256173134,
-0.0007860403275117278,
-0.01472365204244852,
-0.036684196442365646,
-0.0295768640935421,
0.05519287288188934,
0.0993545725941658,
-0.011632703244686127,
-0.021729186177253723,
-0.03140922263264656,
0.004062654450535774,
-0.02380215749144554,
0.01092937309294939,
-0.027448367327451706,
0.05737689509987831,
0.022228920832276344,
0.005344380158931017,
0.054859716445207596,
-0.03849804773926735,
0.0361289381980896,
0.03440763056278229,
0.011660465970635414,
0.03233465924859047,
0.038127873092889786,
0.022525059059262276,
0.003627700498327613,
-0.02452399581670761,
0.03983067348599434,
0.020489104092121124,
-0.045938536524772644,
-0.014853212982416153,
0.027281789109110832,
0.02833678387105465,
-0.02606021612882614,
-0.024505486711859703,
0.1214909553527832,
-0.008365921676158905,
0.021284976974129677,
0.06677930802106857,
-0.04586450010538101,
0.006334594450891018,
-0.04723414406180382,
0.04375451058149338,
0.0028480226173996925,
-0.00985587015748024,
0.03664717823266983,
0.03418552502989769,
-0.030539315193891525,
0.020859278738498688,
0.018952883780002594,
0.05889460816979408,
0.07951327413320541,
0.0035351573023945093,
0.023339441046118736,
-0.018952883780002594,
-0.038942255079746246,
0.0074173519387841225,
0.04260697215795517,
-0.01186406146734953,
-0.07566346973180771,
0.002249961020424962,
0.0625593289732933,
-0.009471815079450607,
-0.0566735677421093,
0.0025773332454264164,
0.0706661269068718,
0.014547819271683693,
-0.02513478323817253,
-0.038238923996686935,
0.005885758902877569,
-0.00323439110070467,
-0.018841832876205444,
-0.010901610367000103,
-0.05163920670747757,
0.01930454932153225,
0.01816626638174057,
-0.020155949518084526,
0.020896295085549355,
-0.027078192681074142,
-0.004988088272511959,
-0.0745159313082695,
0.04301416501402855,
-0.03398193046450615,
-0.014112865552306175,
0.014149882830679417,
-0.05186131224036217,
-0.004900171887129545,
-0.03901629149913788,
-0.0017675786511972547,
-0.015954479575157166,
0.03437061235308647,
-0.03748007118701935,
-0.026300828903913498,
-0.02872546575963497,
-0.023117337375879288,
-0.010596217587590218,
0.012456338852643967,
0.011938096024096012,
-0.03842401131987572,
0.010938627645373344,
-0.04915904626250267,
-0.03538858890533447,
-0.024061279371380806,
-0.010707269422709942,
0.047086071223020554,
-0.013048617169260979,
0.00888416450470686,
-0.017916398122906685,
0.011456870473921299,
0.025616008788347244,
-0.08928585797548294,
-0.05089886114001274,
-0.0017953416099771857,
0.0162043459713459,
0.01365014910697937,
0.014890230260789394,
-0.03170536085963249,
0.02196979895234108,
0.06763070076704025,
-0.013576114550232887,
-0.02955835685133934,
0.053416039794683456,
-0.012391558848321438,
-0.033297110348939896,
-0.01736113801598549,
0.07862485945224762,
-0.030761420726776123,
-0.06837105005979538,
-0.011410598643124104,
0.025227325037121773,
0.07773643732070923,
-0.040793124586343765,
-0.006144880782812834,
0.03301947936415672,
0.005862623453140259,
0.0025889012031257153,
0.034888856112957,
-0.007042551413178444,
0.006792684085667133,
-0.043273285031318665,
-0.07707013189792633,
-0.029595373198390007,
0.01989682763814926,
-0.034444645047187805,
-0.019471127539873123,
-0.08358518034219742,
-0.0544155091047287,
-0.04690098762512207,
-0.0002141511649824679,
0.02370961382985115,
-0.02228444628417492,
0.008439956232905388,
-0.001705111819319427,
0.0426810085773468,
-0.0024385182186961174,
0.01684289611876011,
-0.01674109697341919,
0.01355760544538498,
0.06881526112556458,
-0.007250774186104536,
-0.015463999472558498,
0.0027693607844412327,
-0.010836830362677574,
0.058265313506126404,
-0.060708459466695786,
-0.004592465236783028,
0.036295514553785324,
-0.035166483372449875,
-0.011466125026345253,
0.08898971974849701,
0.0449390672147274,
0.00004912752046948299,
-0.009707801043987274,
0.011012662202119827,
-0.05478568375110626,
0.1178632527589798,
-0.024301892146468163,
-0.031890448182821274,
-0.019137971103191376,
0.0026166641619056463,
-0.018203282728791237,
0.07259102910757065,
-0.00229738955385983,
0.034222543239593506,
-0.0012597468448802829,
-0.059597939252853394,
-0.025079255923628807,
0.009175675921142101,
-0.00775513518601656,
-0.0004346646892372519,
-0.027337314561009407,
0.008907300420105457,
-0.0020012506283819675,
-0.03585130721330643,
0.014677380211651325,
0.06859315186738968,
0.00392615282908082,
0.03983067348599434,
0.014205409213900566,
0.026208285242319107,
0.04168153926730156,
-0.030446773394942284,
-0.007384961936622858,
0.019026920199394226,
0.004932562354952097,
-0.07914309948682785,
-0.02833678387105465,
0.03298246115446091,
-0.08528798073530197,
-0.056932687759399414,
0.001092590275220573,
0.03235316649079323,
-0.028466343879699707,
0.030465280637145042,
-0.04205171391367912,
0.02084076963365078,
0.008111427538096905,
0.05626637488603592,
-0.01786087267100811,
0.03235316649079323,
0.07444189488887787,
-0.004988088272511959,
0.013039362616837025,
-0.09269145131111145,
-0.02422785758972168,
-0.031168611720204353,
0.005353634711354971,
-0.033722806721925735,
0.001152743468992412,
-0.029317744076251984,
0.02802213653922081,
-0.04882588982582092,
0.02842932753264904,
0.06511352211236954,
0.03237167373299599,
-0.010725777596235275,
0.011281038634479046,
-0.02842932753264904,
0.011660465970635414,
-0.05256463959813118,
0.004513803403824568,
-0.018212538212537766,
0.03305649757385254,
-0.013141159899532795,
0.015241894870996475,
-0.0025333750527352095,
0.025282852351665497,
0.019656214863061905,
-0.04430977255105972,
0.06692737340927124,
0.021284976974129677,
-0.07914309948682785,
-0.06922245025634766,
0.0055942474864423275,
-0.057006724178791046,
-0.08358518034219742,
-0.019026920199394226,
0.012696951627731323,
0.031131593510508537,
-0.017842363566160202,
-0.0478634387254715,
-0.05400831624865532,
0.04723414406180382,
-0.07669995725154877,
-0.022191902622580528,
-0.10868294537067413,
0.002646740758791566,
0.006112490314990282,
0.030335720628499985,
-0.03975663706660271,
0.02032252587378025,
0.018517930060625076,
0.002403814345598221,
0.03685077652335167,
-0.006552071310579777,
-0.016481976956129074,
0.026856089010834694,
0.02513478323817253,
-0.01866600103676319,
0.07514522969722748,
-0.04827062785625458,
0.03192746639251709,
0.06674228608608246,
0.002845708979293704,
0.02739284187555313,
0.020803751423954964,
0.010309332981705666,
-0.03213106095790863,
-0.031261153519153595,
0.003456495236605406,
-0.02106287330389023,
0.06037530303001404,
-0.04734519496560097,
-0.043976616114377975,
-0.01684289611876011,
0.03438911959528923,
0.0767739862203598,
0.023320931941270828,
0.01601925864815712,
-0.046752914786338806,
0.07285015285015106,
0.023320931941270828,
-0.007051805499941111,
-0.007209129631519318,
0.010614725761115551,
0.013131906278431416,
-0.04012681171298027,
-0.013714929111301899,
0.018147757276892662,
-0.021692167967557907,
-0.020655682310461998,
-0.06178196147084236,
0.0021088323555886745,
-0.002829513978213072,
0.00006022549860063009,
0.015417727641761303,
-0.0050389873795211315,
0.007634828798472881,
0.007977239787578583,
-0.053860247135162354,
-0.030317211523652077,
0.0010995310731232166,
-0.0365731455385685,
-0.035462625324726105,
-0.042458903044462204,
-0.047900453209877014,
0.02084076963365078,
0.01591746136546135,
-0.035980865359306335,
-0.04486503079533577,
-0.013770455494523048,
0.013141159899532795,
-0.005464686546474695,
-0.026837579905986786,
0.05356410890817642,
0.007667219266295433,
-0.03170536085963249,
-0.008273378014564514,
-0.05819127708673477,
-0.0038891355507075787,
-0.0009584024082869291,
-0.02113690786063671,
0.03007659874856472,
-0.010059465654194355,
0.007236892357468605,
-0.022321464493870735,
-0.03923839330673218,
-0.0523795560002327,
0.01993384398519993,
-0.08935988694429398,
-0.011401345022022724,
-0.01544549036771059,
0.014362732879817486,
-0.03520350158214569,
0.01763876900076866,
0.040274880826473236,
-0.013131906278431416,
0.016185836866497993,
0.009596748277544975,
0.0009109739330597222,
0.053749196231365204,
-0.015130843035876751,
-0.035666219890117645,
-0.025912147015333176,
0.014427512884140015,
-0.008537126705050468,
-0.01001319382339716,
0.011965859681367874,
0.08203045278787613,
-0.04630870744585991,
0.044494859874248505,
-0.04486503079533577,
-0.07566346973180771,
0.007056432776153088,
0.026411881670355797,
-0.054156385362148285,
-0.029891513288021088,
0.0044744727201759815,
-0.04730817675590515,
-0.06452124565839767,
0.042347852140665054,
0.030206160619854927,
-0.004451336804777384,
0.0003302641853224486,
-0.020711209625005722,
0.02718924544751644,
-0.005386024713516235,
-0.008236360736191273,
0.03686928376555443,
-0.023357950150966644,
-0.05274972692131996,
-0.039275411516427994,
-0.0011787713738158345,
0.005242582410573959,
0.0011735657462850213,
0.0003690167504828423,
-0.0363510400056839,
-0.04034891352057457,
-0.021229451522231102,
0.023580053821206093,
-0.03194597363471985,
-0.03857208043336868,
-0.03163132816553116,
-0.060190215706825256,
0.05434147268533707,
-0.01431646104902029,
0.022210411727428436,
0.026356354355812073,
-0.00012117398728150874,
-0.01051292847841978,
0.02718924544751644,
-0.00038260905421338975,
0.0006692043389193714,
0.00994841381907463,
-0.04227381572127342,
-0.008143818005919456,
0.07499715685844421,
-0.027263280004262924,
-0.00784305203706026,
0.015945224091410637,
-0.027633454650640488,
-0.0453832745552063,
0.046049587428569794,
-0.037720683962106705,
-0.0006316085928119719,
-0.028780991211533546,
-0.020489104092121124,
0.0043171485885977745,
0.014890230260789394,
0.01703723706305027,
0.014085102826356888,
0.008541754446923733,
0.003331561805680394,
0.013150414451956749,
-0.0032158824615180492,
0.00985587015748024,
-0.009578240104019642,
0.013326247222721577,
-0.04575344920158386,
-0.022654619067907333,
0.034759294241666794,
0.047086071223020554,
-0.05748794972896576,
0.034888856112957,
0.004867781884968281,
-0.0067093949764966965,
0.03170536085963249,
-0.007523776963353157,
0.02944730408489704,
-0.04978834092617035,
-0.026319338008761406,
0.05334200710058212,
0.044198717921972275,
0.050565704703330994,
-0.006602970417588949,
0.01756473444402218,
-0.011715992353856564,
0.02124796062707901,
0.0037896514404565096,
-0.04549432545900345,
0.013178177177906036,
-0.019026920199394226,
-0.05500778555870056,
-0.007759762462228537,
-0.0184624046087265,
-0.011540159583091736,
-0.05930180102586746,
0.013576114550232887,
-0.05293481424450874,
-0.010429639369249344,
-0.019249023869633675,
0.016676317900419235,
-0.03079843707382679,
-0.02011893130838871,
-0.01092937309294939,
0.0023621697910130024,
0.02034103497862816,
0.04279205948114395,
-0.02781854011118412,
0.019970862194895744,
-0.03964558616280556,
0.022247429937124252,
0.009106269106268883,
0.0410892628133297,
-0.0018416133243590593,
-0.004143630154430866,
0.015140097588300705,
0.0007507581613026559,
0.0017120526172220707,
-0.025116274133324623,
0.0018913553794845939,
0.0007964514661580324,
0.0609675794839859,
-0.057747069746255875,
-0.0023633267264813185,
0.013761200942099094,
0.020155949518084526
] |
10,306 | fractions | __reduce__ | null | def __reduce__(self):
return (self.__class__, (str(self),))
| (self) | [
-0.012503856793045998,
-0.026975193992257118,
0.03651920333504677,
-0.0019275700906291604,
-0.0023644284810870886,
-0.05581431835889816,
0.005557269789278507,
-0.041489679366350174,
0.0739358514547348,
-0.04028157517313957,
0.013297752477228642,
0.030323363840579987,
0.04953218623995781,
0.015239345841109753,
0.022177303209900856,
0.011287125758826733,
-0.020744839683175087,
-0.00614837696775794,
0.0312208104878664,
0.06765372306108475,
0.005811834242194891,
0.031635016202926636,
0.03198019042611122,
-0.004979106597602367,
0.012383046559989452,
0.061060935258865356,
0.022177303209900856,
-0.02466254122555256,
-0.02837314084172249,
-0.01372921746224165,
-0.037382133305072784,
-0.02398945577442646,
-0.006018937565386295,
-0.058817315846681595,
0.0036092051304876804,
0.007132117170840502,
-0.03551820293068886,
0.06920699030160904,
-0.01896720379590988,
-0.02067580446600914,
0.024127526208758354,
-0.04949767142534256,
-0.09374872595071793,
-0.05374328792095184,
-0.010363790206611156,
-0.042007435113191605,
0.05332908034324646,
0.0001818894816096872,
0.003855140181258321,
-0.084291011095047,
-0.0013893174473196268,
0.013349528424441814,
-0.0077534266747534275,
0.01644744724035263,
-0.019847393035888672,
0.03206648305058479,
0.02007175423204899,
-0.0075463238172233105,
-0.05184483900666237,
0.05595238879323006,
-0.02666454017162323,
0.04563174396753311,
0.09471520781517029,
0.001068954705260694,
-0.02343718148767948,
-0.02179761417210102,
-0.07435005903244019,
0.023523474112153053,
-0.01488554384559393,
0.07020799070596695,
-0.0006984340725466609,
-0.04407846927642822,
0.0034625069238245487,
0.02222907915711403,
0.010312014259397984,
0.01047597173601389,
-0.03298118710517883,
-0.002537014428526163,
0.08125349879264832,
-0.03468979150056839,
0.005949902813881636,
0.01315105427056551,
-0.0741429552435875,
-0.032428912818431854,
0.021728578954935074,
-0.06102641671895981,
-0.0331365168094635,
-0.02821781486272812,
-0.09153962135314941,
0.025128524750471115,
-0.066273033618927,
0.04849667102098465,
-0.026233075186610222,
0.051948390901088715,
-0.047323085367679596,
0.016033241525292397,
-0.037416648119688034,
-0.02897719293832779,
0.023281853646039963,
0.01000135950744152,
0.048082463443279266,
0.011407935991883278,
-0.05153418704867363,
-0.05288035795092583,
-0.04407846927642822,
-0.024541731923818588,
-0.015265233814716339,
-0.0036847114097326994,
0.007101914845407009,
0.04269777983427048,
0.0021433026995509863,
0.0035142828710377216,
-0.027924418449401855,
0.015265233814716339,
-0.002424833597615361,
-0.022884905338287354,
-0.016766732558608055,
-0.01668906770646572,
0.005255244206637144,
-0.026371143758296967,
0.003024569945409894,
0.018811875954270363,
-0.04238712787628174,
0.03261875733733177,
-0.03237713873386383,
0.020934684202075005,
0.01872558332979679,
-0.02581886760890484,
0.05591787025332451,
-0.044561710208654404,
0.01047597173601389,
-0.0006196916801854968,
-0.04159323126077652,
0.010286126285791397,
0.03596692532300949,
0.01586928404867649,
0.0146870706230402,
0.0032338304445147514,
0.020296115428209305,
0.08850210905075073,
0.03299844637513161,
-0.001483161118812859,
0.03631209954619408,
0.03827957808971405,
-0.02250521630048752,
-0.04052319750189781,
0.037347614765167236,
0.12191476672887802,
-0.025042232125997543,
0.01681850664317608,
-0.010596781969070435,
0.01967480592429638,
0.06192386522889137,
0.04166226461529732,
0.004802206065505743,
0.02614678256213665,
-0.011105909943580627,
-0.007869922555983067,
0.017439818009734154,
-0.06144062429666519,
0.0034474057611078024,
-0.051430635154247284,
0.011968840844929218,
0.0034840803127735853,
0.04984284192323685,
0.031635016202926636,
0.032428912818431854,
-0.022781355306506157,
0.0013019457692280412,
-0.030530467629432678,
-0.01666318066418171,
-0.08083929121494293,
-0.019467702135443687,
0.04866925626993179,
-0.052983906120061874,
0.04877280816435814,
-0.020813873037695885,
0.0789753645658493,
-0.01924334093928337,
0.019295116886496544,
0.03682985529303551,
-0.03261875733733177,
-0.07821598649024963,
-0.005458032712340355,
0.0549168698489666,
-0.009207463823258877,
0.02730310894548893,
-0.013763735070824623,
0.00022247416200116277,
-0.03268779069185257,
-0.007145061157643795,
-0.023212820291519165,
-0.029960932210087776,
0.013340898789465427,
0.01147697027772665,
-0.015558629296720028,
-0.061060935258865356,
0.003041828516870737,
0.015213457867503166,
0.04483784735202789,
-0.08083929121494293,
0.05250066518783569,
-0.006739484146237373,
0.0175778865814209,
0.03717502951622009,
0.007339220494031906,
-0.0005770844873040915,
-0.0071191731840372086,
-0.01257289107888937,
-0.0012145740911364555,
0.04984284192323685,
0.021245338022708893,
-0.00644608773291111,
0.027613762766122818,
0.048358604311943054,
-0.061129968613386154,
0.06841310113668442,
-0.007455715909600258,
-0.01991642639040947,
0.029425915330648422,
0.026474695652723312,
-0.031635016202926636,
0.026768092066049576,
-0.003934961277991533,
0.00697678979486227,
-0.054502665996551514,
-0.035311099141836166,
-0.05581431835889816,
-0.002590947551652789,
-0.019933685660362244,
0.038900889456272125,
-0.053708769381046295,
-0.016093647107481956,
0.009026248939335346,
-0.014281492680311203,
0.06468524038791656,
0.023557990789413452,
-0.023178301751613617,
-0.03979833424091339,
-0.01803523860871792,
-0.03596692532300949,
-0.0021141788456588984,
-0.0037149139679968357,
0.013409934006631374,
0.05284583941102028,
-0.02997819148004055,
0.03487963601946831,
0.05384683609008789,
-0.027320366352796555,
0.004556270781904459,
0.013832769356667995,
0.013677442446351051,
-0.0014615878462791443,
-0.05391587316989899,
0.022246338427066803,
-0.045528192073106766,
-0.03324006870388985,
0.0001680017012404278,
0.01702561043202877,
-0.01372921746224165,
0.029167037457227707,
0.012624667026102543,
0.04535560682415962,
0.0029102317057549953,
-0.030582241714000702,
-0.0071407463401556015,
-0.00980288628488779,
0.007093285210430622,
-0.02958124317228794,
0.06095738336443901,
0.10065216571092606,
-0.016309378668665886,
-0.02250521630048752,
0.05029156431555748,
-0.06931054592132568,
-0.00507834367454052,
-0.019088013097643852,
0.015463707037270069,
-0.04587336257100105,
-0.04877280816435814,
-0.029960932210087776,
0.003494866890832782,
-0.02730310894548893,
-0.038383129984140396,
0.015170310623943806,
-0.0002912389172706753,
0.022729579359292984,
-0.014264234341681004,
-0.00418736832216382,
0.00878894329071045,
0.05288035795092583,
-0.01510990597307682,
-0.00927649810910225,
-0.0009589310502633452,
0.08187481015920639,
0.023005716502666473,
0.018708324059844017,
0.003456034930422902,
0.022125527262687683,
-0.018311375752091408,
-0.03651920333504677,
-0.010199833661317825,
0.01836315169930458,
-0.006722225341945887,
-0.017983462661504745,
-0.020365150645375252,
0.0026340940967202187,
-0.0070415097288787365,
-0.0009130879188887775,
0.036139510571956635,
-0.02526659332215786,
0.03234262019395828,
0.02283312939107418,
0.03524206578731537,
-0.013315011747181416,
0.04929056763648987,
-0.006109545007348061,
0.08449811488389969,
0.010950583033263683,
0.05691887065768242,
-0.029132520779967308,
-0.03429284319281578,
-0.03444816917181015,
0.012849029153585434,
0.024610767140984535,
-0.017224084585905075,
-0.06841310113668442,
-0.012383046559989452,
0.029408657923340797,
-0.00792169850319624,
-0.05736759305000305,
-0.027958935126662254,
0.017293119803071022,
0.040419645607471466,
-0.06278679519891739,
0.012141426093876362,
0.07621398568153381,
-0.012469340115785599,
-0.006541009992361069,
-0.0293741412460804,
0.012357158586382866,
0.00474180094897747,
-0.02335088886320591,
0.052397117018699646,
-0.03298118710517883,
-0.004992050584405661,
-0.028511209413409233,
0.028804605826735497,
0.08629301190376282,
-0.02179761417210102,
0.014238346368074417,
-0.07752563804388046,
-0.005716911982744932,
-0.014635294675827026,
0.0560559406876564,
0.022453440353274345,
-0.04466526210308075,
0.002608206123113632,
-0.00590675650164485,
0.0338786356151104,
0.07000088691711426,
-0.03727858141064644,
0.006299389526247978,
0.015334268100559711,
0.03651920333504677,
0.04611498489975929,
-0.026491953060030937,
0.008357478305697441,
0.0280279703438282,
-0.06568624079227448,
-0.03198019042611122,
0.04649467393755913,
-0.012452080845832825,
-0.05771276354789734,
-0.058023419231176376,
0.07676625996828079,
0.014229717664420605,
0.03879733756184578,
-0.0701734721660614,
-0.055020421743392944,
-0.024610767140984535,
-0.03641565144062042,
0.009673446416854858,
0.04677081108093262,
-0.019657546654343605,
0.05816148966550827,
0.036346614360809326,
0.009846032597124577,
0.02626759186387062,
0.08035605400800705,
-0.030426915735006332,
-0.034189291298389435,
-0.0510854609310627,
-0.04311198741197586,
-0.0014238347066566348,
-0.015817508101463318,
-0.006057769060134888,
-0.04677081108093262,
-0.02554273046553135,
-0.014989095740020275,
-0.001315968343988061,
-0.026595504954457283,
0.024697059765458107,
0.018501222133636475,
-0.03413751348853111,
0.008310017175972462,
0.05253518372774124,
0.0008861213573254645,
0.0062907603569328785,
-0.03389589488506317,
0.03827957808971405,
-0.03983285278081894,
-0.039418645203113556,
-0.058817315846681595,
0.0351557731628418,
-0.03596692532300949,
0.018432186916470528,
0.010286126285791397,
0.026284851133823395,
-0.02642291970551014,
-0.020261598750948906,
0.016697697341442108,
0.0068818675354123116,
0.00700699258595705,
-0.029874639585614204,
-0.0014777678297832608,
-0.030478691682219505,
0.04673629254102707,
0.03040965646505356,
0.0015877913683652878,
-0.018863651901483536,
-0.016318008303642273,
-0.014583518728613853,
-0.03848668187856674,
0.015291120857000351,
-0.06485782563686371,
0.0016978149069473147,
-0.018742840737104416,
0.04842763766646385,
0.04501043260097504,
0.019864650443196297,
-0.013271864503622055,
0.009552636183798313,
-0.02626759186387062,
0.04715050011873245,
-0.022522475570440292,
-0.05771276354789734,
0.010872919112443924,
-0.02159051038324833,
-0.004728856962174177,
0.058541178703308105,
0.028528468683362007,
-0.025767093524336815,
-0.008284129202365875,
0.05916248634457588,
0.007028565742075443,
0.015342896804213524,
-0.054744284600019455,
-0.0025175984483212233,
0.0021562466863542795,
0.026750832796096802,
-0.0009934483096003532,
0.028666537255048752,
0.05843762680888176,
-0.07683529704809189,
-0.03365427255630493,
0.01624034345149994,
-0.03796892240643501,
-0.024955937638878822,
-0.026474695652723312,
0.04918701574206352,
-0.0006337143131531775,
-0.016637291759252548,
-0.04076481610536575,
-0.03752020001411438,
0.06616947799921036,
0.003654508851468563,
-0.056504663079977036,
-0.019692065194249153,
-0.03337813541293144,
-0.011580522172152996,
-0.039384130388498306,
0.011666814796626568,
-0.02350621484220028,
-0.02335088886320591,
0.042490676045417786,
0.028873641043901443,
-0.007455715909600258,
0.03821054473519325,
0.01900172047317028,
-0.027561986818909645,
0.09043507277965546,
-0.0357598215341568,
-0.004474292509257793,
0.007403940428048372,
0.0459078811109066,
-0.02402397431433201,
-0.03772730380296707,
-0.07938957214355469,
0.0069250138476490974,
0.02882186509668827,
-0.056228525936603546,
-0.002787264296784997,
-0.005846351385116577,
0.020209822803735733,
-0.013686071150004864,
0.04114450514316559,
0.007244298234581947,
-0.015619034878909588,
-0.0485311895608902,
-0.004672766663134098,
-0.02474883571267128,
-0.02526659332215786,
0.016947947442531586,
-0.01039830781519413,
-0.05974927917122841,
0.005371739622205496,
-0.01924334093928337,
-0.030961932614445686,
-0.011347530409693718,
-0.010510488413274288,
0.023488957434892654,
-0.04497591778635979,
0.021780354902148247,
-0.05674628168344498,
0.02283312939107418,
0.012408934533596039,
-0.007693021558225155,
-0.01705149933695793,
0.03972930088639259,
-0.033792342990636826,
-0.02423107624053955,
-0.024369146674871445,
0.031790345907211304,
-0.04922153428196907,
0.09575072675943375,
-0.059058934450149536,
0.031427912414073944,
0.02587064355611801,
0.026957936584949493,
0.04625305160880089,
-0.0012879231944680214,
0.013237347826361656,
-0.016464706510305405,
0.006144062150269747,
0.003255403833463788,
0.014333268627524376,
0.03641565144062042,
-0.0073564788326621056,
-0.04646015539765358,
-0.012547003105282784,
-0.007930327206850052,
-0.00898310262709856,
0.016896171495318413,
0.03793440759181976,
0.004316807724535465,
-0.015515482984483242,
0.002155167981982231,
-0.014083019457757473,
0.03037513978779316,
0.0162662323564291,
0.01724134385585785,
0.01742255873978138,
-0.008810516446828842,
-0.0019480646587908268,
0.005911071319133043,
0.0162662323564291,
0.07932053506374359,
-0.0004889038391411304,
-0.031238069757819176,
-0.003997523803263903,
-0.0010225721634924412,
-0.025094006210565567,
-0.004254245199263096,
-0.0011703489581122994,
0.023782353848218918,
-0.025594506412744522,
0.019692065194249153,
-0.0382450632750988,
-0.026578247547149658,
-0.02442092075943947,
0.05664272978901863,
0.0036631382536143064,
-0.053191009908914566,
-0.0133926747366786,
-0.0070328800939023495,
-0.013271864503622055,
-0.02474883571267128,
-0.02167680487036705,
-0.03156598284840584,
-0.004286605399101973,
0.02977108769118786,
-0.0006342536071315408,
0.025801610201597214,
0.026647280901670456,
-0.039660267531871796,
0.010277497582137585,
0.021383408457040787,
-0.07082930207252502,
-0.02152147702872753,
0.00925923977047205,
0.00982014462351799,
0.02255699224770069,
0.05871376395225525,
0.04742663726210594,
-0.011925693601369858,
-0.012987097725272179,
0.03717502951622009,
-0.028200555592775345,
0.04280133172869682,
-0.0069250138476490974,
0.015998724848031998,
0.05964572727680206,
-0.0011455396888777614,
0.01808701455593109,
-0.031997449696063995,
-0.028632020577788353,
-0.01964028924703598,
-0.08567170053720474,
0.023972198367118835,
-0.013271864503622055,
0.005889497697353363,
-0.02930510602891445,
0.03208374232053757,
-0.04677081108093262,
0.05495138838887215,
-0.01943318545818329,
-0.05253518372774124,
0.07876826077699661,
-0.06658368557691574,
0.015040871687233448,
0.03177308663725853,
0.0764210894703865,
-0.08650011569261551,
-0.0703115463256836,
0.023851387202739716,
0.03717502951622009,
0.06268323957920074,
-0.03158324211835861,
-0.009311015717685223,
0.002537014428526163,
0.008568895980715752,
-0.05816148966550827,
-0.024610767140984535,
-0.027251332998275757,
-0.04190388694405556,
-0.039142508059740067,
-0.05084384232759476,
-0.01624034345149994,
-0.033429913222789764,
-0.04749567061662674,
0.016585515812039375,
0.015213457867503166,
0.038452163338661194,
0.02079661563038826,
0.012279495596885681,
0.0004905218374915421,
-0.025404661893844604,
-0.015342896804213524,
0.008586154319345951,
-0.011200832203030586,
-0.029356881976127625,
0.025490954518318176,
-0.029236070811748505,
0.029425915330648422,
0.007218410260975361,
-0.04218002408742905,
-0.0035897891502827406,
0.03648468479514122,
-0.0638568252325058,
0.01233127061277628,
0.009371420368552208,
0.05795438587665558,
-0.04218002408742905,
-0.08208191394805908,
0.021763097494840622,
0.05391587316989899,
0.07193385064601898,
0.03886637091636658,
-0.09153962135314941,
0.03983285278081894,
-0.026768092066049576,
-0.03424106538295746,
-0.05771276354789734,
-0.013884545303881168,
-0.020468702539801598,
-0.033792342990636826,
0.016248973086476326,
0.02331637032330036,
-0.06737758219242096,
0.03879733756184578,
-0.030426915735006332,
-0.001907075522467494,
-0.011364789679646492,
-0.0009573130519129336,
0.0701044425368309,
-0.03113451786339283,
-0.05125804618000984,
0.04694339632987976,
-0.017983462661504745,
0.017914429306983948,
0.016827136278152466,
0.0184839628636837,
-0.03437913581728935,
0.032549723982810974,
0.025732574984431267,
0.03651920333504677,
0.023057492449879646,
0.03779633715748787,
0.0017797932960093021,
0.015912430360913277,
0.07724950462579727,
-0.03158324211835861,
-0.00016503538063261658,
0.024852387607097626,
-0.05716048926115036,
0.07959666848182678,
0.04849667102098465,
-0.03217003494501114,
0.05964572727680206,
0.00042607172508724034,
0.009846032597124577,
0.06986282020807266,
0.03377508372068405,
-0.01636115461587906,
0.07932053506374359,
0.012978469021618366,
-0.03872830420732498,
-0.026595504954457283,
-0.03627758100628853,
0.025490954518318176,
0.043284572660923004,
-0.050636738538742065,
0.013875915668904781,
0.04856570437550545,
0.004318965133279562,
-0.003941433038562536,
-0.008154689334332943,
-0.01155463419854641,
0.03479333966970444,
-0.05056770518422127,
-0.004008310381323099,
0.0497392900288105,
0.05595238879323006,
-0.05515849217772484,
-0.059058934450149536,
0.09216093271970749,
0.09326548129320145,
-0.051154494285583496,
0.01155463419854641,
0.02052047848701477,
0.030823862180113792,
0.030961932614445686,
-0.006178579293191433,
0.04818601533770561,
-0.05170677229762077,
0.005863610189408064,
-0.022177303209900856,
-0.000982661615125835,
-0.025767093524336815,
-0.009509489871561527,
-0.024766093119978905,
0.003490552306175232,
0.01171859074383974,
0.029167037457227707,
0.020019978284835815,
0.038141511380672455,
0.004109704401344061
] |
10,307 | fractions | __repr__ | repr(self) | def __repr__(self):
"""repr(self)"""
return '%s(%s, %s)' % (self.__class__.__name__,
self._numerator, self._denominator)
| (self) | [
0.001539595308713615,
-0.048551060259342194,
0.09601107984781265,
0.02949204109609127,
0.01888854429125786,
-0.03187867999076843,
0.000013243383364169858,
-0.05939321964979172,
0.004828682169318199,
0.005404032766819,
0.006456711329519749,
0.005190940108150244,
0.030208032578229904,
0.05434718355536461,
-0.029764799401164055,
0.029202233999967575,
0.0164337158203125,
-0.046096231788396835,
-0.024224387481808662,
0.035049501806497574,
-0.019672725349664688,
0.04838058352470398,
0.04060696065425873,
-0.000762872165068984,
-0.021087661385536194,
0.016408143565058708,
0.020542144775390625,
-0.03475969284772873,
-0.04592575505375862,
-0.009998313151299953,
-0.05652925372123718,
-0.012052527628839016,
0.015001731924712658,
-0.011617817915976048,
-0.02736111357808113,
0.00025571134756319225,
-0.035390447825193405,
0.023389063775539398,
-0.12417342513799667,
0.051824163645505905,
0.00689142057672143,
-0.00675504095852375,
0.0004554858314804733,
-0.027378160506486893,
-0.02758272923529148,
-0.032918572425842285,
0.05952959880232811,
-0.03233896195888519,
-0.03143544867634773,
-0.06941710412502289,
0.018428264185786247,
0.038322605192661285,
-0.038561269640922546,
-0.021104708313941956,
-0.05772257223725319,
0.05308567360043526,
0.06726913154125214,
0.02282649837434292,
0.027719108387827873,
0.05083541199564934,
-0.03283333405852318,
0.0188033077865839,
0.0398227795958519,
-0.042482174932956696,
-0.027616824954748154,
-0.022212792187929153,
-0.04272083938121796,
0.036413293331861496,
-0.02748044580221176,
0.03600415587425232,
0.034725598990917206,
0.0005732195568270981,
-0.009878980927169323,
0.015206300653517246,
-0.006252142135053873,
0.008084740489721298,
-0.005199464038014412,
0.029423851519823074,
0.050358086824417114,
-0.025843892246484756,
0.002456959802657366,
0.0006978788296692073,
0.020968329161405563,
-0.025571133941411972,
-0.004769016522914171,
-0.07309934496879578,
-0.05015351623296738,
-0.04827830195426941,
-0.03600415587425232,
0.04105019196867943,
-0.05782485753297806,
-0.0061626429669559,
-0.011558152735233307,
0.025741606950759888,
-0.05376756936311722,
0.010935921221971512,
-0.013680556789040565,
-0.07057632505893707,
0.03770889714360237,
-0.003545863786712289,
0.004828682169318199,
0.0037461710162460804,
-0.01755884476006031,
-0.018513500690460205,
-0.02766796573996544,
-0.0423457957804203,
-0.003138856729492545,
0.0030024773441255093,
-0.016297336667776108,
0.046300798654556274,
-0.03129906579852104,
0.06385964155197144,
-0.010714304633438587,
0.002614648314192891,
0.020422812551259995,
-0.007701172959059477,
-0.02826462686061859,
0.014328358694911003,
0.05393804609775543,
-0.007441199850291014,
-0.015794437378644943,
0.025179043412208557,
-0.025792749598622322,
0.047221358865499496,
-0.033037904649972916,
0.02688378468155861,
-0.008813517168164253,
-0.0003396166139282286,
-0.04490290954709053,
-0.0497443787753582,
0.0658712387084961,
-0.0030046082101762295,
-0.03879993408918381,
0.02621893584728241,
0.08025926351547241,
0.040913812816143036,
0.028673764318227768,
-0.014609641395509243,
0.043402738869190216,
0.11401315778493881,
0.009214132092893124,
-0.029116997495293617,
0.017814556136727333,
0.029202233999967575,
-0.02182069979608059,
0.046880412846803665,
0.02350839599967003,
0.10269366949796677,
0.008813517168164253,
-0.01888854429125786,
-0.0015491845551878214,
0.03818622604012489,
0.11285393685102463,
-0.038424890488386154,
0.032373055815696716,
-0.013296989724040031,
0.02766796573996544,
-0.010552354156970978,
0.00762872165068984,
0.0009759649401530623,
-0.008131620474159718,
-0.019860247150063515,
0.021241087466478348,
-0.012282667681574821,
0.01171157881617546,
0.04442558437585831,
0.003944347146898508,
-0.06385964155197144,
-0.021786605939269066,
-0.01171157881617546,
0.014226074330508709,
-0.10767152160406113,
-0.07255382835865021,
0.02441190928220749,
-0.02262192964553833,
0.03487902507185936,
0.01720937341451645,
0.11380859464406967,
-0.04377778246998787,
-0.007500865962356329,
0.09048771858215332,
-0.08973763138055801,
-0.06508705765008926,
-0.019519299268722534,
0.042482174932956696,
-0.06426878273487091,
0.020661475136876106,
-0.01530006155371666,
0.016339953988790512,
-0.008204071782529354,
0.023116305470466614,
0.009725554846227169,
-0.02521313726902008,
-0.0019679118413478136,
0.0010984932305291295,
-0.060586538165807724,
-0.0060220020823180676,
-0.05850675329566002,
0.06535981595516205,
0.0319809652864933,
-0.027309970930218697,
0.024957425892353058,
-0.015479059889912605,
0.0016919566551223397,
0.03366865962743759,
0.007002228870987892,
-0.027719108387827873,
-0.0077480534091591835,
0.031691160053014755,
-0.023269731551408768,
-0.013893648982048035,
0.011166061274707317,
0.03481083735823631,
0.0017761283088475466,
0.0043577472679317,
-0.026406457647681236,
0.011404725722968578,
-0.02015005238354206,
-0.0371633805334568,
0.017132660374045372,
0.06089339405298233,
-0.03985687345266342,
0.002182070165872574,
-0.023372016847133636,
-0.05281291529536247,
-0.028162341564893723,
0.018752165138721466,
0.004208582453429699,
-0.021138804033398628,
-0.00480737304314971,
0.027020163834095,
-0.023440206423401833,
-0.018752165138721466,
-0.01619505137205124,
-0.05254015699028969,
0.035390447825193405,
-0.03835669904947281,
0.018189599737524986,
-0.028776049613952637,
0.011668960563838482,
-0.04265265166759491,
0.034163035452365875,
-0.003034441266208887,
-0.004611327778548002,
0.02621893584728241,
-0.0580294243991375,
0.014728972688317299,
0.06426878273487091,
-0.015623962506651878,
0.013936268165707588,
0.002682838123291731,
-0.03712928667664528,
-0.017746366560459137,
-0.023048115894198418,
0.03825441747903824,
-0.01701332814991474,
-0.04636899009346962,
0.012205954641103745,
0.051483213901519775,
0.030583076179027557,
-0.011847958900034428,
0.0203546229749918,
-0.005340104922652245,
0.040675148367881775,
0.004555923864245415,
0.020235290750861168,
-0.04173209145665169,
-0.008161453530192375,
0.012947517447173595,
0.027412254363298416,
0.09014677256345749,
0.025281326845288277,
-0.05506317317485809,
0.012504284270107746,
-0.019451109692454338,
-0.013637937605381012,
0.031350210309028625,
0.020456906408071518,
-0.043709591031074524,
-0.04763049632310867,
0.025179043412208557,
-0.030344411730766296,
-0.01423459779471159,
0.003513899864628911,
0.018513500690460205,
0.017490655183792114,
0.059938736259937286,
0.008161453530192375,
0.011310964822769165,
0.021684320643544197,
0.05202873423695564,
0.0037632184103131294,
0.015146634541451931,
0.06375735998153687,
0.06177986040711403,
-0.018598737195134163,
0.05444946885108948,
-0.0021692845039069653,
-0.0355268269777298,
0.040777433663606644,
-0.04050467535853386,
-0.039993252605199814,
0.056665632873773575,
0.0484146811068058,
-0.04568709060549736,
-0.028503289446234703,
0.025826845318078995,
0.0272417813539505,
0.013689080253243446,
-0.005118488799780607,
-0.011745673604309559,
0.049471620470285416,
0.018377121537923813,
0.05093769729137421,
0.026866737753152847,
0.0016930220881476998,
-0.018411215394735336,
-0.004432329908013344,
0.013859554193913937,
0.06904206424951553,
-0.00911184772849083,
0.023917533457279205,
-0.012759995646774769,
0.04971028491854668,
0.028827190399169922,
-0.015325632877647877,
-0.05219920724630356,
0.06842835247516632,
0.02362772822380066,
0.024889236316084862,
-0.040231917053461075,
-0.06655313819646835,
0.00734317721799016,
0.02001367323100567,
0.011686008423566818,
-0.020337574183940887,
0.0402660109102726,
-0.001525744330137968,
-0.026372361928224564,
-0.012205954641103745,
0.05755209922790527,
-0.02959432452917099,
-0.022144602611660957,
-0.009546556510031223,
-0.026815595105290413,
0.027719108387827873,
-0.002561375265941024,
-0.02904880791902542,
0.053972139954566956,
0.010927397757768631,
-0.05424489825963974,
-0.001818746910430491,
0.01890559121966362,
-0.009657364338636398,
-0.02691788040101528,
0.020542144775390625,
0.0012902767630293965,
0.019638631492853165,
-0.06437106430530548,
0.0037887897342443466,
0.052267398685216904,
0.04006144404411316,
-0.006810445338487625,
0.020184148102998734,
-0.024275530129671097,
-0.027173591777682304,
-0.001038294518366456,
-0.007948360405862331,
0.03457217290997505,
-0.0037994442973285913,
-0.0609956756234169,
-0.008932849392294884,
-0.05502907931804657,
-0.028724906966090202,
-0.044493772089481354,
0.06256403774023056,
0.010415975004434586,
0.0012934731785207987,
-0.007351700682193041,
-0.07507684826850891,
0.004291688557714224,
-0.005489270202815533,
-0.012453141622245312,
0.03634510561823845,
-0.024480098858475685,
0.0005961270653642714,
0.010211406275629997,
0.026645122095942497,
0.006077405996620655,
0.03296971321105957,
-0.06965576857328415,
-0.01383398286998272,
0.024803999811410904,
-0.011328011751174927,
-0.0752132311463356,
-0.0371633805334568,
0.042379893362522125,
-0.036174628883600235,
-0.06955348700284958,
0.010254024527966976,
0.02609960362315178,
-0.019996626302599907,
-0.027616824954748154,
0.025008568540215492,
0.0030983691103756428,
-0.014226074330508709,
0.047221358865499496,
0.01754179783165455,
0.026696262881159782,
-0.06447335332632065,
-0.011958766728639603,
-0.0488579124212265,
-0.05189235508441925,
0.023116305470466614,
0.0562564954161644,
-0.03924316540360451,
-0.06726913154125214,
-0.024139150977134705,
-0.007377272006124258,
-0.0013968232087790966,
-0.01366350892931223,
0.012657711282372475,
0.036276914179325104,
0.05254015699028969,
0.010407451540231705,
0.013100944459438324,
0.007846076041460037,
0.023781154304742813,
0.03941364213824272,
0.048687439411878586,
-0.039106786251068115,
0.010373356752097607,
0.010893302969634533,
-0.014907971024513245,
0.035151783376932144,
-0.07978193461894989,
-0.022195743396878242,
-0.009376082569360733,
-0.0034222700633108616,
0.03774299472570419,
0.03273105248808861,
0.020559191703796387,
0.006563257426023483,
-0.04122066870331764,
-0.02217869646847248,
-0.036413293331861496,
0.014183455146849155,
-0.02226393297314644,
0.007999503053724766,
-0.05219920724630356,
0.0348619781434536,
0.003639624686911702,
0.014601116999983788,
-0.03498131036758423,
0.0092908451333642,
-0.03199801221489906,
0.015248918905854225,
-0.035629112273454666,
0.005105703137814999,
-0.022928783670067787,
-0.027974819764494896,
0.02937270887196064,
-0.014711925759911537,
0.03879993408918381,
-0.021309278905391693,
-0.0113621074706316,
0.0787590891122818,
0.007125822361558676,
-0.06904206424951553,
-0.03327656909823418,
0.023440206423401833,
0.06120024621486664,
-0.05165369063615799,
-0.011004110798239708,
-0.03579958528280258,
0.0549267940223217,
-0.06488248705863953,
-0.028878333047032356,
-0.027736155316233635,
-0.04561890289187431,
-0.06832607090473175,
-0.04466424509882927,
-0.013254370540380478,
-0.0010409582173451781,
-0.0035266855265945196,
0.03150363638997078,
-0.029901178553700447,
0.044289205223321915,
0.01288785133510828,
-0.0053060101345181465,
0.0037120762281119823,
0.06280270218849182,
-0.07078089565038681,
-0.015001731924712658,
-0.050255801528692245,
0.04848286882042885,
-0.03423122316598892,
-0.034282367676496506,
-0.043232262134552,
0.010322214104235172,
0.009887505322694778,
-0.03692471608519554,
0.0188033077865839,
-0.005156845320016146,
0.03791346773505211,
0.03412893787026405,
0.036174628883600235,
0.05427899211645126,
-0.014771591871976852,
-0.01832597889006138,
0.004325783345848322,
-0.0407092459499836,
0.0048627774231135845,
0.028213484212756157,
-0.013714651577174664,
-0.03644739091396332,
-0.023951629176735878,
0.03624282032251358,
-0.031776394695043564,
0.0036076607648283243,
0.026270078495144844,
-0.008344713598489761,
-0.07200831174850464,
-0.01379136461764574,
-0.026986069977283478,
0.027412254363298416,
-0.05179006978869438,
-0.010160263627767563,
-0.03467445820569992,
0.022536693140864372,
0.012112193740904331,
-0.010160263627767563,
0.00352881639264524,
0.023014020174741745,
-0.05908636748790741,
0.07916823029518127,
-0.04466424509882927,
0.02688378468155861,
0.052369680255651474,
0.05386985465884209,
0.03511768952012062,
-0.003100499976426363,
0.004127607215195894,
-0.031350210309028625,
0.03576549142599106,
-0.030105747282505035,
0.032918572425842285,
-0.013654985465109348,
0.0752132311463356,
-0.007274987641721964,
0.05741572007536888,
-0.05591554567217827,
-0.015121063217520714,
-0.028605574741959572,
0.03736795112490654,
0.09041953086853027,
-0.0036524103488773108,
0.017303133383393288,
0.01619505137205124,
0.016732044517993927,
0.008446997962892056,
0.018291885033249855,
0.07807719707489014,
-0.031009260565042496,
-0.008706971071660519,
0.01957044005393982,
0.04670993611216545,
0.03845898434519768,
-0.04469834268093109,
-0.01700480468571186,
0.013433368876576424,
-0.004585756454616785,
0.06201852113008499,
0.018547596409916878,
-0.05100588873028755,
0.02712244912981987,
0.0031260710675269365,
0.009486890397965908,
-0.018274836242198944,
-0.005600078031420708,
-0.038765840232372284,
-0.012862280011177063,
-0.040129631757736206,
-0.04773278161883354,
-0.01720937341451645,
0.043164074420928955,
-0.03450398147106171,
-0.005374199710786343,
0.020900139585137367,
0.005719410255551338,
-0.02262192964553833,
-0.03770889714360237,
0.007138608023524284,
-0.011660437099635601,
0.03423122316598892,
-0.04009553790092468,
-0.05011942237615585,
-0.021633179858326912,
-0.010458593256771564,
-0.004696564748883247,
-0.0018315324559807777,
0.023593632504343987,
-0.006051835138350725,
0.04555071145296097,
0.026133699342608452,
0.018155504018068314,
0.047084979712963104,
0.025127900764346123,
-0.06941710412502289,
-0.018649879842996597,
-0.013569748029112816,
0.05086950957775116,
0.005877098999917507,
-0.04548252373933792,
-0.003484067041426897,
-0.023099256679415703,
-0.01587115041911602,
0.00629902258515358,
-0.06208671256899834,
0.08121392130851746,
-0.025826845318078995,
0.039550021290779114,
-0.06181395426392555,
0.05052855983376503,
-0.03051488660275936,
0.014388024806976318,
0.010842160321772099,
-0.05110817402601242,
0.05762028694152832,
-0.06177986040711403,
0.011600770987570286,
0.03961820900440216,
-0.03083878755569458,
-0.08175943791866302,
-0.07957737147808075,
-0.018939686939120293,
0.005476484540849924,
0.02049100212752819,
-0.033037904649972916,
0.05646106228232384,
0.0043577472679317,
-0.00005577037518378347,
-0.07957737147808075,
0.013288465328514576,
-0.021905938163399696,
0.002405817387625575,
-0.0917833223938942,
-0.04302769526839256,
0.012802613899111748,
-0.02330382727086544,
-0.02969660982489586,
0.061370719224214554,
0.03104335628449917,
0.00883908849209547,
-0.028077105060219765,
-0.005041775293648243,
0.01558986771851778,
0.0006563257775269449,
-0.029509088024497032,
0.03208325058221817,
-0.018087314441800117,
-0.010791018605232239,
-0.019502250477671623,
-0.021121757104992867,
0.04882381856441498,
0.025059711188077927,
-0.06716684252023697,
0.013484511524438858,
-0.00352881639264524,
-0.07084909081459045,
0.009256750345230103,
0.035731397569179535,
-0.0239857230335474,
0.0010356309358030558,
-0.10787609219551086,
0.022485550493001938,
0.015547249466180801,
0.007999503053724766,
0.029867084696888924,
0.01142177265137434,
-0.00291297840885818,
-0.0042213681153953075,
-0.01948520354926586,
-0.05356300249695778,
0.01824074238538742,
0.01034778542816639,
-0.03702700138092041,
0.02969660982489586,
-0.02173546329140663,
-0.03818622604012489,
-0.03542454540729523,
-0.026491694152355194,
0.00262956484220922,
-0.028315769508481026,
0.039345450699329376,
0.0231674462556839,
0.01755884476006031,
-0.06290499120950699,
0.03521997481584549,
-0.03452103212475777,
0.023593632504343987,
0.0051312739960849285,
0.029355661943554878,
0.02115585096180439,
0.034163035452365875,
0.012529855594038963,
0.04606213420629501,
-0.004110559821128845,
0.04040239006280899,
-0.0225025974214077,
-0.0044962577521800995,
0.09546556323766708,
-0.021922985091805458,
-0.01766113005578518,
-0.016237670555710793,
0.02654283680021763,
0.03249238803982735,
0.033037904649972916,
-0.010381880216300488,
0.0018315324559807777,
-0.014089694246649742,
-0.011166061274707317,
0.07289478182792664,
0.026934927329421043,
-0.011720103211700916,
0.09014677256345749,
0.003552256617695093,
-0.018939686939120293,
-0.04289131611585617,
-0.05755209922790527,
-0.026082556694746017,
0.06563257426023483,
-0.024957425892353058,
-0.030889930203557014,
0.01075692381709814,
-0.00044776120921596885,
0.010816589929163456,
-0.017592940479516983,
0.049471620470285416,
0.01788274571299553,
-0.004526090808212757,
0.01599900610744953,
0.02609960362315178,
-0.016135385259985924,
-0.009427224285900593,
0.02103651873767376,
0.019945483654737473,
0.05809761583805084,
-0.019212445244193077,
-0.009018086828291416,
0.0583362802863121,
0.026423504576086998,
0.0026210411451756954,
0.031588874757289886,
0.03678833693265915,
-0.023235635831952095,
0.0330890454351902,
0.008613210171461105,
0.024497145786881447,
-0.027974819764494896,
-0.0691443458199501,
-0.025383612141013145,
0.08148667961359024,
0.024684667587280273,
-0.060586538165807724,
0.06890568137168884,
-0.0028831453528255224,
-0.02081490308046341
] |
10,311 | fractions | __round__ | round(self, ndigits)
Rounds half toward even.
| def __round__(self, ndigits=None):
"""round(self, ndigits)
Rounds half toward even.
"""
if ndigits is None:
floor, remainder = divmod(self.numerator, self.denominator)
if remainder * 2 < self.denominator:
return floor
elif remainder * 2 > self.denominator:
return floor + 1
# Deal with the half case:
elif floor % 2 == 0:
return floor
else:
return floor + 1
shift = 10**abs(ndigits)
# See _operator_fallbacks.forward to check that the results of
# these operations will always be Fraction and therefore have
# round().
if ndigits > 0:
return Fraction(round(self * shift), shift)
else:
return Fraction(round(self / shift) * shift)
| (self, ndigits=None) | [
-0.0683782771229744,
-0.013862713240087032,
0.012807035818696022,
0.06797081977128983,
-0.00775089580565691,
-0.045005202293395996,
-0.006954507436603308,
0.012223634868860245,
-0.022021064534783363,
-0.018076162785291672,
0.03392984718084335,
0.026058567687869072,
0.06082184612751007,
0.012631089426577091,
0.008200022391974926,
0.04896862432360649,
0.018122464418411255,
0.0025558508932590485,
-0.0013473780127242208,
-0.0019770804792642593,
0.01325153186917305,
0.03937492147088051,
0.07823126763105392,
0.02479916252195835,
-0.04907974600791931,
0.022095147520303726,
0.04644981399178505,
0.0038268312346190214,
-0.04000462591648102,
0.02394721284508705,
0.005792336072772741,
0.004104641266167164,
-0.002319712657481432,
0.0026993860956281424,
0.04341242462396622,
-0.019520774483680725,
-0.04319017753005028,
0.04530153423547745,
-0.16372263431549072,
0.03305937722325325,
-0.009468686766922474,
-0.007394373416900635,
0.015825903043150902,
-0.01868734508752823,
-0.06571129709482193,
-0.030077550560235977,
0.045449696481227875,
0.020280122756958008,
0.03967125341296196,
0.00035420761560089886,
-0.04519040882587433,
0.014686882495880127,
-0.02765134535729885,
0.0049820574931800365,
-0.03141103684902191,
0.01279777567833662,
-0.002006018999963999,
-0.028429212048649788,
-0.004044448956847191,
0.00019909709226340055,
-0.010186363011598587,
-0.016974184662103653,
0.04696839302778244,
0.001935408916324377,
-0.012242156080901623,
0.02331751026213169,
-0.050190988928079605,
-0.0011656440328806639,
0.0011471232865005732,
0.007857389748096466,
-0.006347956135869026,
0.028855187818408012,
0.009246439673006535,
0.0270772036164999,
-0.018863292410969734,
0.08163906633853912,
-0.023243427276611328,
0.02633637748658657,
0.04022687301039696,
-0.01020488329231739,
0.02189141884446144,
0.0013797890860587358,
0.005352470558136702,
0.008010185323655605,
-0.03893042728304863,
-0.024595435708761215,
0.03963421285152435,
-0.009834470227360725,
-0.016909362748265266,
0.0034286370500922203,
-0.0638221949338913,
0.006500751245766878,
0.006172009743750095,
-0.056228723376989365,
0.013621944934129715,
0.010001156479120255,
-0.05170968174934387,
-0.02689199708402157,
-0.06511864066123962,
-0.05089477077126503,
-0.037467293441295624,
0.004049079027026892,
-0.02724388986825943,
-0.018807729706168175,
0.041004739701747894,
-0.04041207954287529,
0.015307324938476086,
-0.03242967650294304,
-0.083194799721241,
0.03509664908051491,
-0.043856922537088394,
-0.02444726973772049,
-0.05678434297442436,
0.01589072495698929,
-0.03163328766822815,
-0.002109040040522814,
-0.0012084729969501495,
0.004949646070599556,
0.08556544780731201,
-0.03042944334447384,
0.005491375457495451,
0.0330778993666172,
-0.0170945692807436,
0.04952424392104149,
0.037652499973773956,
0.001732839155010879,
-0.004400971811264753,
0.02639194019138813,
-0.031837012618780136,
-0.0031971288844943047,
0.06748928129673004,
0.01950225420296192,
0.013371916487812996,
-0.020983906462788582,
0.042893845587968826,
0.05270979553461075,
-0.017076047137379646,
0.024650998413562775,
0.034689195454120636,
0.0421900637447834,
-0.010612337850034237,
-0.06945247203111649,
0.02331751026213169,
0.021169112995266914,
0.005009838379919529,
0.09897440671920776,
0.016909362748265266,
0.048413004726171494,
0.004391711205244064,
0.050413236021995544,
0.0009312418987974524,
0.040893614292144775,
0.10949414223432541,
-0.02233591489493847,
0.02979974076151848,
0.008426900021731853,
0.057191796600818634,
0.01744646206498146,
-0.042560476809740067,
0.025206618010997772,
0.007945362478494644,
-0.006912836339324713,
0.008825094439089298,
-0.03144808113574982,
0.02246556058526039,
0.012177333235740662,
-0.04419029504060745,
-0.07208240777254105,
0.03415209427475929,
0.02120615541934967,
0.022724848240613937,
-0.01832619309425354,
-0.01607593148946762,
0.0009792798664420843,
0.02148396521806717,
0.011556891724467278,
0.007269358728080988,
0.024465791881084442,
-0.05448777973651886,
-0.02216922864317894,
0.06219237297773361,
-0.08430603891611099,
-0.0067600407637655735,
-0.03420765697956085,
0.040560245513916016,
0.07741635292768478,
0.019872667267918587,
-0.024132419377565384,
-0.029318204149603844,
-0.009144575335085392,
0.05841416120529175,
0.013807151466608047,
0.003928694874048233,
-0.016112973913550377,
0.015446229837834835,
-0.06674845516681671,
0.005102441646158695,
-0.015788862481713295,
0.10119688510894775,
0.035985641181468964,
-0.06108113378286362,
0.012742213904857635,
0.04430141672492027,
-0.004317628685384989,
0.01202916819602251,
-0.0316147655248642,
-0.027484659105539322,
0.0222247913479805,
-0.0018995251739397645,
0.016529688611626625,
-0.01892811432480812,
-0.00487556355074048,
0.02348419651389122,
0.030392402783036232,
0.006042364984750748,
-0.004787590354681015,
0.05170968174934387,
-0.012464404106140137,
0.0021217730827629566,
0.011668015271425247,
-0.006236832123249769,
-0.005954391788691282,
-0.02666974999010563,
-0.02348419651389122,
-0.009075122885406017,
-0.0011089245090261102,
-0.004623219836503267,
0.008579695597290993,
0.05667321756482124,
-0.009098273701965809,
0.03174440935254097,
-0.020539410412311554,
-0.044597748667001724,
-0.014390552416443825,
-0.001051626168191433,
-0.014047919772565365,
-0.04515336826443672,
-0.027429096400737762,
-0.02474360167980194,
-0.0330408550798893,
-0.0038522970862686634,
-0.011769878678023815,
-0.06108113378286362,
0.0541544072329998,
0.02011343650519848,
-0.057599250227212906,
-0.019113320857286453,
-0.023780526593327522,
0.04578306898474693,
0.05689546465873718,
0.010297486558556557,
-0.017853915691375732,
-0.003250375622883439,
-0.014492415823042393,
0.02331751026213169,
0.009158466011285782,
-0.11549483239650726,
0.01381641160696745,
-0.0030072920490056276,
0.017844654619693756,
0.01245514303445816,
-0.00655631348490715,
0.016390783712267876,
-0.06093296781182289,
-0.01863178424537182,
0.012760734185576439,
-0.05163559690117836,
-0.0379117913544178,
0.03459659218788147,
0.05945131555199623,
0.0951961874961853,
-0.08749159425497055,
-0.04548674076795578,
0.013483040034770966,
-0.018557701259851456,
0.012232895940542221,
0.03985645994544029,
0.05826599523425102,
-0.0029239491559565067,
-0.026595667004585266,
0.04359763115644455,
-0.01687232032418251,
-0.044375501573085785,
0.015344366431236267,
0.0028382909949868917,
0.0660817101597786,
0.025169575586915016,
0.01892811432480812,
0.047042474150657654,
-0.011362424120306969,
0.048598211258649826,
0.0259289238601923,
0.04348650947213173,
0.04378283768892288,
0.024187982082366943,
0.01416830439120531,
-0.04922791197896004,
-0.038448888808488846,
0.06137746572494507,
0.008445420302450657,
-0.057599250227212906,
-0.04341242462396622,
-0.0016379208536818624,
0.04726472124457359,
0.06748928129673004,
0.010779024101793766,
0.038560014218091965,
0.014696143567562103,
0.002669289940968156,
0.037930309772491455,
-0.02381756715476513,
-0.04567194730043411,
-0.013455258682370186,
-0.009297370910644531,
0.0210950318723917,
-0.028318088501691818,
-0.03785622864961624,
0.04185669124126434,
-0.02142840251326561,
0.022243311628699303,
-0.02581779845058918,
0.058969780802726746,
-0.02046532928943634,
0.03574487194418907,
0.035818956792354584,
-0.020835742354393005,
-0.02472507953643799,
0.038448888808488846,
0.005972912535071373,
0.04974649101495743,
-0.07386039197444916,
-0.011621713638305664,
0.01942817121744156,
0.01966894045472145,
-0.06397035717964172,
-0.021409882232546806,
0.0661557987332344,
0.027503179386258125,
-0.007176755461841822,
-0.017548324540257454,
0.03339274972677231,
-0.014909130521118641,
0.009047342464327812,
-0.01775205135345459,
-0.003282786812633276,
0.035078130662441254,
-0.02798471599817276,
-0.007871280424296856,
0.0410417802631855,
-0.009431646205484867,
0.012269936501979828,
-0.08512095361948013,
0.016863061115145683,
-0.030596129596233368,
-0.012557007372379303,
-0.0039564757607877254,
-0.006616505794227123,
0.0011806919937953353,
0.024095378816127777,
-0.06530384719371796,
0.027429096400737762,
0.023336030542850494,
-0.0038661877624690533,
0.03922675549983978,
0.04622756689786911,
0.027484659105539322,
-0.04622756689786911,
-0.0011193423997610807,
-0.04081953316926956,
0.010251184925436974,
-0.04552378132939339,
-0.06682253628969193,
-0.013983097858726978,
-0.06478526443243027,
-0.008260213769972324,
0.09001040458679199,
0.026021527126431465,
0.03272600471973419,
-0.0066489167511463165,
-0.043116096407175064,
0.020669056102633476,
-0.020724618807435036,
-0.04815371334552765,
0.045338574796915054,
0.010380829684436321,
0.0061164479702711105,
0.019965270534157753,
-0.011167957447469234,
0.08578769117593765,
-0.021391361951828003,
-0.07934250682592392,
0.008885286748409271,
0.012269936501979828,
0.0009306631400249898,
-0.07274915277957916,
0.02474360167980194,
0.037133920937776566,
-0.01202916819602251,
-0.02798471599817276,
0.03535594046115875,
0.033540915697813034,
-0.007584210019558668,
0.04007870703935623,
0.047857385128736496,
0.002162287011742592,
0.01083458587527275,
0.03637457638978958,
0.0006210208521224558,
0.027503179386258125,
-0.011899523437023163,
-0.01577034220099449,
-0.029947906732559204,
-0.03196665644645691,
0.052932046353816986,
0.035541146993637085,
0.02941080741584301,
-0.021724732592701912,
-0.0006331750191748142,
-0.03574487194418907,
-0.019465213641524315,
0.013918275944888592,
-0.01733533665537834,
-0.0026484543923288584,
0.07111933082342148,
0.046597979962825775,
-0.02952193096280098,
0.06174787878990173,
0.00716749532148242,
-0.03752285614609718,
0.06185900419950485,
-0.017372379079461098,
0.004949646070599556,
-0.06489638984203339,
0.01994675025343895,
0.08282438665628433,
-0.0461905263364315,
0.00004308223651605658,
0.004167148377746344,
-0.03026275709271431,
-0.009565920569002628,
0.0051441132090985775,
0.048524126410484314,
-0.0037434883415699005,
-0.03155920282006264,
0.04563490301370621,
-0.08326888829469681,
0.040263913571834564,
-0.014566498808562756,
-0.04359763115644455,
-0.06363698840141296,
0.0017826134571805596,
-0.03937492147088051,
0.002984141232445836,
0.00943627581000328,
-0.028521815314888954,
-0.06597059220075607,
-0.006977658253163099,
0.009158466011285782,
0.017400160431861877,
-0.047857385128736496,
-0.005732144229114056,
0.0044380128383636475,
-0.06174787878990173,
0.008075007237493992,
-0.04563490301370621,
-0.005648801103234291,
0.03893042728304863,
0.017909478396177292,
-0.033874284476041794,
-0.01750202290713787,
0.03750433400273323,
0.004192614462226629,
-0.023891650140285492,
-0.0016900101909413934,
0.03652273863554001,
0.036504220217466354,
-0.05978468805551529,
-0.037930309772491455,
-0.001713161007501185,
-0.04156035929918289,
-0.04115290567278862,
0.0030466485768556595,
-0.006014584098011255,
-0.012844077311456203,
-0.012723692692816257,
-0.01507581677287817,
-0.05545085296034813,
0.02400277554988861,
0.05278388038277626,
-0.04685726761817932,
0.02844773232936859,
0.05111702159047127,
-0.0666743740439415,
0.0004181617696303874,
-0.021113552153110504,
0.06093296781182289,
-0.057932622730731964,
0.005949761718511581,
-0.02309526316821575,
-0.0019585597328841686,
0.020539410412311554,
-0.025002889335155487,
0.01926148496568203,
0.0093992343172431,
0.015483271330595016,
0.024669518694281578,
-0.08341705054044724,
0.03896746784448624,
0.0041139014065265656,
0.01618705689907074,
0.024947328492999077,
-0.009176986292004585,
-0.004299107939004898,
0.03196665644645691,
0.061118174344301224,
0.01577960141003132,
-0.022984137758612633,
-0.001511748880147934,
-0.029484890401363373,
0.0005168421776033938,
0.04793146625161171,
-0.07289731502532959,
-0.03483736142516136,
0.018316932022571564,
-0.01507581677287817,
-0.025614071637392044,
-0.03652273863554001,
0.0061071873642504215,
0.033374227583408356,
-0.02246556058526039,
0.004072229843586683,
0.025280700996518135,
-0.026632707566022873,
0.03515221178531647,
-0.019187403842806816,
0.06137746572494507,
-0.04963536560535431,
0.0364856980741024,
0.12549598515033722,
0.017159391194581985,
-0.022613724693655968,
-0.0003571014676708728,
0.007098042871803045,
0.004523671232163906,
-0.033652037382125854,
0.012279197573661804,
-0.02000231295824051,
0.0043963417410850525,
0.03555966541171074,
-0.013233011588454247,
-0.0030026619788259268,
-0.021187635138630867,
0.04474591463804245,
-0.0022572053130716085,
0.05352470651268959,
0.03226298838853836,
0.008088897913694382,
0.011519850231707096,
-0.00731103029102087,
-0.01051973458379507,
-0.047042474150657654,
-0.022669287398457527,
0.07956475019454956,
-0.023002659901976585,
-0.05604351684451103,
-0.01478874683380127,
0.07367518544197083,
0.012112511321902275,
-0.01761314645409584,
0.030633170157670975,
0.012427362613379955,
0.022409997880458832,
0.030596129596233368,
-0.0016564414836466312,
-0.016094453632831573,
-0.006426668725907803,
0.0066489167511463165,
-0.008283364586532116,
-0.024576915428042412,
-0.04907974600791931,
-0.024206502363085747,
-0.03780066594481468,
0.01915036141872406,
-0.03863409534096718,
-0.050820689648389816,
-0.022298874333500862,
0.014862828887999058,
0.018696606159210205,
-0.004208819940686226,
-0.012973722070455551,
-0.006806342396885157,
-0.028244005516171455,
0.02661418728530407,
-0.06052551418542862,
-0.015983328223228455,
-0.07278618961572647,
-0.10867922753095627,
-0.010084498673677444,
0.018937373533844948,
-0.033540915697813034,
0.020872782915830612,
0.018150245770812035,
0.020372726023197174,
0.024299105629324913,
0.011334643699228764,
0.0356152281165123,
-0.017742792144417763,
0.004940385930240154,
-0.08534319698810577,
-0.04507928341627121,
0.030485006049275398,
0.06708183139562607,
0.011306862346827984,
-0.0032735264394432306,
-0.0028984833043068647,
0.007963883690536022,
-0.00894547812640667,
-0.03413357585668564,
-0.05341358110308647,
-0.01931704767048359,
-0.07652736455202103,
0.044486623257398605,
-0.04700543358922005,
0.041819650679826736,
-0.027317972853779793,
-0.019187403842806816,
0.03481883928179741,
-0.027966195717453957,
0.02348419651389122,
-0.05448777973651886,
-0.009510358795523643,
-0.0009011458605527878,
0.0344669483602047,
-0.046486854553222656,
-0.10334528237581253,
-0.02383608929812908,
-0.0063896276988089085,
0.01903923787176609,
-0.03911563381552696,
0.051376309245824814,
0.04948720335960388,
-0.024873245507478714,
-0.03852296993136406,
0.01017710193991661,
-0.025262178853154182,
-0.029596013948321342,
-0.03996758162975311,
-0.022372957319021225,
-0.016288919374346733,
-0.0006985760992392898,
-0.03198517858982086,
0.06126634031534195,
0.019391130656003952,
-0.01717791147530079,
0.00017840604414232075,
-0.05659913644194603,
0.0763792023062706,
-0.022298874333500862,
-0.02103946916759014,
-0.0035328157246112823,
-0.03911563381552696,
-0.028966311365365982,
-0.04463478922843933,
0.05489523336291313,
0.003928694874048233,
0.028058798983693123,
-0.05752516910433769,
0.004810741171240807,
0.008477832190692425,
-0.06756336241960526,
0.031151749193668365,
0.0034564181696623564,
-0.02553998865187168,
0.017603887245059013,
-0.07608287036418915,
-0.017159391194581985,
0.012760734185576439,
0.0152517631649971,
-0.01325153186917305,
-0.009677044115960598,
-0.031077666208148003,
-0.024150939658284187,
-0.04337538406252861,
-0.04485703632235527,
0.003389280755072832,
-0.03663386404514313,
0.010445651598274708,
0.05341358110308647,
-0.028577378019690514,
-0.03174440935254097,
-0.0033707600086927414,
-0.008283364586532116,
-0.015474011190235615,
0.024521352723240852,
-0.011973606422543526,
-0.07382334768772125,
-0.04207893833518028,
-0.00902419164776802,
0.05174672231078148,
-0.0358930379152298,
0.04826483875513077,
-0.02741057612001896,
0.03215186297893524,
-0.008297255262732506,
0.03618936985731125,
0.009686305187642574,
0.010566036216914654,
-0.004315313417464495,
0.0524505078792572,
-0.024928808212280273,
-0.030485006049275398,
0.05170968174934387,
-0.0006406990578398108,
-0.00035420761560089886,
0.005843268241733313,
0.028244005516171455,
0.042375270277261734,
0.01589072495698929,
-0.06289616227149963,
0.012871858663856983,
-0.05152447521686554,
-0.02741057612001896,
0.07100820541381836,
0.0028614418115466833,
0.0230767410248518,
0.010445651598274708,
0.047449927777051926,
0.01920592412352562,
-0.04007870703935623,
-0.0031299914699047804,
-0.028058798983693123,
0.032985296100378036,
0.0313369557261467,
-0.01726125366985798,
0.0050839208997786045,
-0.0027086464688181877,
0.036226410418748856,
-0.05204305425286293,
0.013075585477054119,
-0.033948369324207306,
0.008292625658214092,
-0.05596943199634552,
0.05341358110308647,
-0.025114014744758606,
-0.05267275497317314,
0.026817914098501205,
0.043745797127485275,
0.029670096933841705,
0.031133228912949562,
-0.040263913571834564,
0.05122814327478409,
-0.0008259056485258043,
0.08415787667036057,
-0.01399235799908638,
0.01966894045472145,
0.011269820854067802,
-0.011232780292630196,
-0.004579233005642891,
0.03557818755507469,
-0.0012431992217898369,
-0.05048731714487076,
-0.020761659368872643,
0.031244352459907532,
0.041301071643829346,
-0.014844308607280254,
0.049339037388563156,
0.01890033297240734,
0.02844773232936859
] |
10,312 | fractions | __rpow__ | a ** b | def __rpow__(b, a):
"""a ** b"""
if b._denominator == 1 and b._numerator >= 0:
# If a is an int, keep it that way if possible.
return a ** b._numerator
if isinstance(a, numbers.Rational):
return Fraction(a.numerator, a.denominator) ** b
if b._denominator == 1:
return a ** b._numerator
return a ** float(b)
| (b, a) | [
-0.025358572602272034,
-0.028271004557609558,
0.060548923909664154,
0.05583709105849266,
-0.017270542681217194,
-0.04930730536580086,
-0.032036762684583664,
-0.014079851098358631,
-0.04837977886199951,
0.03621063008904457,
0.04192419350147247,
0.021778320893645287,
0.04585690796375275,
0.055948395282030106,
-0.09609173983335495,
0.016834603622555733,
-0.009377292357385159,
-0.029272733256220818,
0.007809772621840239,
0.027621736750006676,
-0.03112778626382351,
0.06500104814767838,
0.07687339186668396,
0.09112019836902618,
-0.05242379382252693,
0.01716851443052292,
0.05294320732355118,
0.01638011634349823,
-0.030645472928881645,
-0.00013557827332988381,
0.024987561628222466,
-0.017335468903183937,
0.04633922129869461,
0.011751759797334671,
0.016445042565464973,
-0.04556009918451309,
-0.016268813982605934,
0.059176184237003326,
-0.10788987576961517,
-0.041775789111852646,
-0.0437050461769104,
0.045634299516677856,
-0.007188329938799143,
-0.01984906569123268,
-0.01964500918984413,
-0.06696740537881851,
-0.020887894555926323,
0.007976727560162544,
-0.025525527074933052,
0.00989670678973198,
-0.025414224714040756,
-0.006525148171931505,
-0.02187107317149639,
0.021908173337578773,
-0.04485517740249634,
0.03055272065103054,
-0.008751211687922478,
0.0059083434753119946,
-0.0643332302570343,
-0.032667480409145355,
-0.029625194147229195,
-0.014487962238490582,
-0.03424427658319473,
-0.05646780878305435,
0.05787764862179756,
-0.008139044046401978,
-0.04619081690907478,
0.022149330005049706,
-0.004271259065717459,
0.05925038829445839,
-0.06463003903627396,
0.010351195000112057,
-0.03177705407142639,
-0.059584297239780426,
-0.01654707081615925,
0.058545466512441635,
-0.013514059595763683,
-0.017678653821349144,
0.017261266708374023,
0.0014666510978713632,
0.014794046059250832,
-0.030051855370402336,
0.01944095455110073,
-0.0226687453687191,
-0.014321007765829563,
-0.013328555040061474,
0.03765757381916046,
-0.010184240527451038,
0.020331379026174545,
-0.05190437659621239,
-0.07416500896215439,
-0.029179980978369713,
0.018309371545910835,
0.015638096258044243,
0.007077026646584272,
-0.0029263459146022797,
-0.020349929109215736,
0.04047725349664688,
0.02469075284898281,
-0.016649099066853523,
0.012150595895946026,
0.022000927478075027,
-0.04607951268553734,
0.014914624392986298,
0.04956701025366783,
0.008514692075550556,
0.04455836862325668,
-0.025191618129611015,
0.01942240260541439,
0.04292592406272888,
-0.052052780985832214,
0.03682279959321022,
-0.026211896911263466,
0.004217926412820816,
-0.06477844715118408,
0.04285172000527382,
-0.021388759836554527,
0.012057843618094921,
0.09995024651288986,
0.047266747802495956,
0.0007321661687456071,
0.024560900405049324,
0.02571103163063526,
0.04607951268553734,
0.07104852050542831,
0.041998397558927536,
0.0424807108938694,
-0.015294910408556461,
-0.00005894865171285346,
0.02628609910607338,
0.043408237397670746,
0.058174457401037216,
0.008561069145798683,
0.05056874081492424,
0.010490323416888714,
0.10076647251844406,
-0.03238922357559204,
0.02385597862303257,
0.0680062398314476,
-0.017502423375844955,
-0.016268813982605934,
-0.007823685184121132,
0.04878788813948631,
0.011241620406508446,
-0.019496604800224304,
0.03572831675410271,
0.0477861613035202,
0.027788691222667694,
-0.023392215371131897,
0.035301655530929565,
0.024004383012652397,
0.03172140195965767,
0.10299253463745117,
0.042963024228811264,
0.0058155907317996025,
-0.0008539039990864694,
0.036136429756879807,
-0.0036034402437508106,
-0.008519330061972141,
0.010295542888343334,
0.07594586163759232,
0.019515156745910645,
0.03357645496726036,
-0.03788017854094505,
0.0031790968496352434,
-0.02571103163063526,
0.05869387090206146,
-0.03153589740395546,
0.008273535408079624,
-0.010787132196128368,
0.011093216016888618,
-0.014339558780193329,
-0.016120409592986107,
-0.015406213700771332,
-0.006293266545981169,
0.03543150797486305,
-0.007772671524435282,
-0.026174794882535934,
-0.022928453981876373,
-0.021518612280488014,
0.030367214232683182,
-0.04830557480454445,
-0.05899067968130112,
0.01416332833468914,
0.07409080862998962,
0.013272902928292751,
-0.018531978130340576,
0.006353556178510189,
0.0028127238620072603,
-0.00045419810339808464,
-0.016918081790208817,
-0.015007377602159977,
0.021704118698835373,
-0.01619461178779602,
-0.0012394072255119681,
0.001639402937144041,
0.013393481262028217,
-0.02305830642580986,
0.0245052482932806,
0.0947560966014862,
-0.07858003675937653,
0.0042967661283910275,
-0.002900838851928711,
0.025618279352784157,
0.04392765089869499,
-0.04262911528348923,
-0.004271259065717459,
0.0029333021957427263,
0.018485601991415024,
-0.03290863707661629,
-0.021741218864917755,
0.0044938656501472,
-0.0051060328260064125,
0.02242758870124817,
-0.009442218579351902,
0.04073696210980415,
0.035097599029541016,
-0.0068265944719314575,
0.016018381342291832,
-0.007104852236807346,
0.012540156953036785,
-0.026545805856585503,
0.0251174159348011,
0.019162695854902267,
0.011788860894739628,
0.02409713715314865,
-0.022409038618206978,
0.061179641634225845,
0.005741388536989689,
-0.003109532408416271,
0.006163413170725107,
0.006882246118038893,
-0.0033993844408541918,
-0.05190437659621239,
-0.03537585586309433,
-0.05364812910556793,
-0.04021754488348961,
0.025618279352784157,
0.02023862674832344,
0.03585817292332649,
-0.013727391138672829,
0.019923267886042595,
0.013764492236077785,
0.05190437659621239,
-0.01020279061049223,
-0.011158143170177937,
0.01022134069353342,
-0.015461865812540054,
0.01508157979696989,
0.01923689804971218,
0.021555714309215546,
-0.026453053578734398,
0.03216661512851715,
0.034708037972450256,
0.06744971871376038,
0.051088154315948486,
0.023299463093280792,
-0.047823261469602585,
-0.00019680951663758606,
0.007424849085509777,
-0.00939584244042635,
0.06407352536916733,
-0.015016652643680573,
-0.024560900405049324,
-0.051088154315948486,
-0.062366876751184464,
-0.0007536152261309326,
-0.003160546300932765,
0.007837598212063313,
0.07550065219402313,
0.1386837512254715,
0.01716851443052292,
-0.0172056145966053,
0.0011907120933756232,
-0.03828829154372215,
-0.013653188943862915,
0.06837724894285202,
0.0917138159275055,
-0.014107677154242992,
-0.03602512553334236,
-0.031461697071790695,
0.011343647725880146,
-0.011362198740243912,
0.030701125040650368,
-0.03661874309182167,
0.05802605301141739,
0.037935830652713776,
-0.002733884146437049,
0.05346262454986572,
-0.034874994307756424,
0.04415025934576988,
0.026378851383924484,
0.023911630734801292,
0.04348243772983551,
0.05806315317749977,
-0.007021375000476837,
-0.014849698171019554,
-0.03161010146141052,
0.03977233171463013,
0.049863819032907486,
-0.05609679967164993,
-0.02524726837873459,
0.03355790674686432,
0.03300138935446739,
-0.014571440406143665,
-0.02244613878428936,
0.12273029237985611,
-0.00889034103602171,
0.010063661262392998,
0.06411062926054001,
-0.04496648162603378,
0.014998102560639381,
-0.05220118537545204,
0.036117877811193466,
-0.012493780814111233,
-0.025636829435825348,
0.026453053578734398,
0.054315946996212006,
-0.01798473671078682,
0.027046671137213707,
-0.0027014208026230335,
0.056764617562294006,
0.05743243545293808,
-0.008032378740608692,
0.009108309634029865,
-0.043222732841968536,
-0.05101395398378372,
0.0058758798986673355,
0.010777857154607773,
-0.019719211384654045,
-0.08525823056697845,
0.013328555040061474,
0.060734428465366364,
-0.009344828315079212,
-0.03663729503750801,
-0.004472996108233929,
0.0667819008231163,
-0.0012023061281070113,
-0.04225810244679451,
-0.029625194147229195,
0.002229541540145874,
-0.012326826341450214,
-0.020164424553513527,
0.007392385508865118,
-0.057543739676475525,
0.022538891062140465,
0.012410303577780724,
-0.019719211384654045,
0.02569248154759407,
-0.054724059998989105,
-0.009599898010492325,
-0.07494413107633591,
0.039920736104249954,
-0.03545005992054939,
-0.0011385387042537332,
0.013977822847664356,
-0.05379653349518776,
0.015016652643680573,
-0.04147898033261299,
0.002103166189044714,
-0.01737256906926632,
0.040774062275886536,
-0.04589400812983513,
-0.018049664795398712,
-0.023373665288090706,
-0.0251174159348011,
-0.04930730536580086,
0.014506513252854347,
-0.0035964837297797203,
-0.036896999925374985,
-0.0021785276476293802,
-0.034485433250665665,
-0.009850330650806427,
-0.019700661301612854,
-0.019292550161480904,
0.05038323625922203,
-0.03272313252091408,
-0.002794173313304782,
-0.025414224714040756,
0.006395294796675444,
0.020999198779463768,
-0.07338588684797287,
-0.039735231548547745,
-0.001973312348127365,
0.008176145143806934,
0.03212951496243477,
0.009386567398905754,
-0.03929001837968826,
0.016741851344704628,
0.0618845634162426,
-0.025599729269742966,
-0.019552256911993027,
0.043964751064777374,
0.006386019289493561,
-0.05988110601902008,
-0.016036931425333023,
0.02747333236038685,
-0.05157046765089035,
-0.0716792419552803,
-0.009609173983335495,
0.020294278860092163,
0.09015556424856186,
-0.05483536049723625,
-0.020164424553513527,
0.031276192516088486,
-0.003918799106031656,
0.026657110080122948,
0.05238669365644455,
-0.0016208523884415627,
0.0011907120933756232,
-0.07138243317604065,
-0.05357392504811287,
-0.021611366420984268,
0.02309540845453739,
-0.01435810886323452,
-0.0278814435005188,
-0.04144188016653061,
-0.07509253919124603,
-0.03274168074131012,
0.015443314798176289,
0.010889160446822643,
-0.0015547662042081356,
0.0075315143913030624,
-0.0017866477137431502,
0.04281461983919144,
0.0008881065296009183,
0.019570806995034218,
-0.006770942825824022,
0.005477043334394693,
0.08177072554826736,
-0.01657489687204361,
-0.0428888201713562,
0.008417301811277866,
-0.006103124003857374,
0.05787764862179756,
-0.0639251172542572,
-0.002520553069189191,
0.050680045038461685,
-0.02448669821023941,
-0.01275348849594593,
0.08429360389709473,
0.030497068539261818,
0.004737341310828924,
-0.03474513813853264,
-0.0008770921849645674,
-0.04949280992150307,
0.12198827415704727,
-0.012289725244045258,
-0.04671023041009903,
-0.026007840409874916,
-0.004004595335572958,
-0.016482144594192505,
0.04878788813948631,
-0.005453855264931917,
0.03211096301674843,
-0.012762763537466526,
-0.06344280391931534,
-0.03715670853853226,
0.013987098820507526,
-0.022780049592256546,
0.01100973878055811,
-0.01801256276667118,
0.006812681443989277,
0.026564355939626694,
-0.025358572602272034,
0.03947552293539047,
0.05138496309518814,
0.0023234537802636623,
0.026007840409874916,
0.014376659877598286,
0.031443145126104355,
0.04006914049386978,
-0.024319741874933243,
0.003065474797040224,
0.01923689804971218,
0.009479319676756859,
-0.06830304861068726,
-0.02203802764415741,
0.015461865812540054,
-0.0792478546500206,
-0.05839706212282181,
0.006993549410253763,
0.023299463093280792,
-0.03151734918355942,
0.040959566831588745,
-0.04121927544474602,
0.008718748576939106,
0.012976094149053097,
0.06704161316156387,
0.002580842236056924,
0.028642015531659126,
0.0731261819601059,
-0.021796870976686478,
0.05082844942808151,
-0.08266115188598633,
-0.009525696747004986,
-0.012169146910309792,
0.010351195000112057,
-0.003925755620002747,
-0.0026921455282717943,
-0.013959272764623165,
0.017919810488820076,
-0.06744971871376038,
0.02142586000263691,
0.05939879268407822,
0.03836249187588692,
-0.027195075526833534,
0.018884437158703804,
-0.03259328007698059,
0.023948732763528824,
-0.05461275577545166,
-0.0013924490194767714,
-0.016120409592986107,
0.03661874309182167,
-0.007851511240005493,
0.013495509512722492,
-0.007053838577121496,
0.019570806995034218,
0.003997638821601868,
-0.04812007024884224,
0.05439015105366707,
0.024616550654172897,
-0.0602521151304245,
-0.09935662895441055,
0.001994181890040636,
-0.061587754637002945,
-0.06455583870410919,
-0.002111281966790557,
0.01919979602098465,
0.025636829435825348,
-0.030459968373179436,
-0.030459968373179436,
-0.046784430742263794,
0.02953244186937809,
-0.05798895284533501,
-0.018967915326356888,
-0.1015084907412529,
0.007740207947790623,
0.022334836423397064,
0.022204982116818428,
-0.01615750975906849,
0.0058758798986673355,
0.02324381284415722,
-0.017558075487613678,
0.010592351667582989,
0.01840212382376194,
0.0034967747051268816,
0.023614821955561638,
0.018949365243315697,
-0.022316286340355873,
0.04092246666550636,
-0.05991820618510246,
0.03188835829496384,
0.06644799560308456,
-0.022817149758338928,
0.03010750748217106,
0.001342594507150352,
0.0074433996342122555,
-0.0003721699758898467,
-0.035709768533706665,
0.006464859005063772,
-0.023559171706438065,
0.08481301367282867,
-0.046042412519454956,
-0.024950461462140083,
-0.006362831220030785,
0.02261309325695038,
0.06459294259548187,
0.01172393374145031,
0.02322526089847088,
-0.05260929837822914,
0.04752645269036293,
0.008959905244410038,
-0.0028776507824659348,
-0.012586533091962337,
-0.012605084106326103,
0.02107340097427368,
-0.049233101308345795,
-0.03071967512369156,
0.009256714023649693,
-0.001575635513290763,
-0.004906614776700735,
-0.04170158877968788,
-0.012818414717912674,
-0.006460221484303474,
-0.021982375532388687,
0.010796407237648964,
0.011714658699929714,
0.021129051223397255,
-0.005848053842782974,
-0.05030903220176697,
-0.012595809064805508,
-0.01802183873951435,
-0.07338588684797287,
-0.013235801830887794,
-0.037472065538167953,
-0.047192543745040894,
0.03279733285307884,
-0.010239891707897186,
-0.019923267886042595,
-0.028808970004320145,
-0.025414224714040756,
0.02081369236111641,
-0.009534971788525581,
-0.024356843903660774,
0.03572831675410271,
0.006599350366741419,
-0.0309422817081213,
-0.006005733739584684,
-0.048824992030858994,
-0.0019698343239724636,
0.01641721837222576,
-0.0151650570333004,
0.0416644848883152,
-0.018160967156291008,
-0.007568615488708019,
-0.017641551792621613,
-0.06258948147296906,
-0.05157046765089035,
0.004412706941366196,
-0.0900813639163971,
-0.005147771444171667,
-0.02406003512442112,
0.0175673495978117,
-0.0371752604842186,
0.028642015531659126,
0.05101395398378372,
0.00008833239553496242,
0.03131329268217087,
-0.0020776591263711452,
0.001806357759051025,
0.034281376749277115,
0.01621316187083721,
-0.04021754488348961,
-0.026768412441015244,
0.021481512114405632,
-0.005087482277303934,
-0.0006341962143778801,
-0.011538428254425526,
0.07112272828817368,
-0.026174794882535934,
0.006344280671328306,
-0.05965849757194519,
-0.047452252358198166,
-0.010091487318277359,
0.0218525230884552,
-0.04121927544474602,
-0.018745308741927147,
-0.011668282561004162,
-0.035876721143722534,
-0.06652219593524933,
0.03274168074131012,
0.033669207245111465,
0.006599350366741419,
0.002782579278573394,
-0.028586363419890404,
0.039549726992845535,
0.0020208482164889574,
-0.021908173337578773,
0.02713942341506481,
-0.019478054717183113,
-0.06648509204387665,
-0.037935830652713776,
-0.01798473671078682,
-0.00878367479890585,
-0.005426029674708843,
-0.007420211564749479,
-0.03322399780154228,
-0.04029174894094467,
-0.04455836862325668,
0.024226989597082138,
-0.028827521950006485,
-0.04530039057135582,
-0.04292592406272888,
-0.04771195724606514,
0.032481975853443146,
-0.02105484902858734,
0.015313461422920227,
0.03940132260322571,
-0.020720940083265305,
-0.04099666699767113,
0.018902989104390144,
0.0030237361788749695,
-0.0013692608335986733,
0.026638558134436607,
-0.03398456797003746,
-0.025377122685313225,
0.1023247167468071,
-0.04789746552705765,
-0.012818414717912674,
0.03222226724028587,
-0.03474513813853264,
-0.03552426025271416,
0.012150595895946026,
-0.04715544357895851,
0.019311100244522095,
-0.024523798376321793,
-0.01294826902449131,
0.01636156626045704,
0.008092667907476425,
0.018160967156291008,
0.005667186342179775,
0.02444959618151188,
-0.01324507687240839,
-0.001959399553015828,
0.011649731546640396,
0.005096757784485817,
-0.01303174626082182,
-0.0029750410467386246,
-0.03255617618560791,
-0.005384291056543589,
0.051867276430130005,
0.028475061058998108,
-0.03999494016170502,
0.017298366874456406,
0.007035288028419018,
-0.02261309325695038,
0.02404148504137993,
-0.017047936096787453,
0.03424427658319473,
-0.0757603570818901,
-0.02226063422858715,
0.05498376488685608,
0.038956109434366226,
0.05194148048758507,
-0.0033414140343666077,
0.008653821423649788,
-0.014497238211333752,
-0.007795859593898058,
0.008579619228839874,
-0.04585690796375275,
0.0013924490194767714,
-0.018281545490026474,
-0.06084573268890381,
-0.003682279959321022,
0.00023579460685141385,
-0.014432311058044434,
-0.05880517512559891,
0.039735231548547745,
-0.025785233825445175,
-0.0008991209324449301,
0.007030650041997433,
0.019533706828951836,
-0.026397401466965675,
-0.035283103585243225,
0.00919642485678196,
-0.012122769840061665,
0.03173995390534401,
0.04099666699767113,
-0.04619081690907478,
0.0477861613035202,
-0.031628649681806564,
0.01981196366250515,
-0.01133437268435955,
0.022965554147958755,
-0.006446308456361294,
0.0023327290546149015,
0.010592351667582989,
0.0025506976526230574,
0.006140225101262331,
-0.012503055855631828,
0.00565791130065918,
-0.012178421951830387,
0.07397950440645218,
-0.06340570747852325,
0.00580631522461772,
0.009674100205302238,
0.016880981624126434
] |
10,313 | fractions | __rsub__ | a - b | def _operator_fallbacks(monomorphic_operator, fallback_operator):
"""Generates forward and reverse operators given a purely-rational
operator and a function from the operator module.
Use this like:
__op__, __rop__ = _operator_fallbacks(just_rational_op, operator.op)
In general, we want to implement the arithmetic operations so
that mixed-mode operations either call an implementation whose
author knew about the types of both arguments, or convert both
to the nearest built in type and do the operation there. In
Fraction, that means that we define __add__ and __radd__ as:
def __add__(self, other):
# Both types have numerators/denominator attributes,
# so do the operation directly
if isinstance(other, (int, Fraction)):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
# float and complex don't have those operations, but we
# know about those types, so special case them.
elif isinstance(other, float):
return float(self) + other
elif isinstance(other, complex):
return complex(self) + other
# Let the other type take over.
return NotImplemented
def __radd__(self, other):
# radd handles more types than add because there's
# nothing left to fall back to.
if isinstance(other, numbers.Rational):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
elif isinstance(other, Real):
return float(other) + float(self)
elif isinstance(other, Complex):
return complex(other) + complex(self)
return NotImplemented
There are 5 different cases for a mixed-type addition on
Fraction. I'll refer to all of the above code that doesn't
refer to Fraction, float, or complex as "boilerplate". 'r'
will be an instance of Fraction, which is a subtype of
Rational (r : Fraction <: Rational), and b : B <:
Complex. The first three involve 'r + b':
1. If B <: Fraction, int, float, or complex, we handle
that specially, and all is well.
2. If Fraction falls back to the boilerplate code, and it
were to return a value from __add__, we'd miss the
possibility that B defines a more intelligent __radd__,
so the boilerplate should return NotImplemented from
__add__. In particular, we don't handle Rational
here, even though we could get an exact answer, in case
the other type wants to do something special.
3. If B <: Fraction, Python tries B.__radd__ before
Fraction.__add__. This is ok, because it was
implemented with knowledge of Fraction, so it can
handle those instances before delegating to Real or
Complex.
The next two situations describe 'b + r'. We assume that b
didn't know about Fraction in its implementation, and that it
uses similar boilerplate code:
4. If B <: Rational, then __radd_ converts both to the
builtin rational type (hey look, that's us) and
proceeds.
5. Otherwise, __radd__ tries to find the nearest common
base ABC, and fall back to its builtin type. Since this
class doesn't subclass a concrete type, there's no
implementation to fall back to, so we need to try as
hard as possible to return an actual value, or the user
will get a TypeError.
"""
def forward(a, b):
if isinstance(b, (int, Fraction)):
return monomorphic_operator(a, b)
elif isinstance(b, float):
return fallback_operator(float(a), b)
elif isinstance(b, complex):
return fallback_operator(complex(a), b)
else:
return NotImplemented
forward.__name__ = '__' + fallback_operator.__name__ + '__'
forward.__doc__ = monomorphic_operator.__doc__
def reverse(b, a):
if isinstance(a, numbers.Rational):
# Includes ints.
return monomorphic_operator(a, b)
elif isinstance(a, numbers.Real):
return fallback_operator(float(a), float(b))
elif isinstance(a, numbers.Complex):
return fallback_operator(complex(a), complex(b))
else:
return NotImplemented
reverse.__name__ = '__r' + fallback_operator.__name__ + '__'
reverse.__doc__ = monomorphic_operator.__doc__
return forward, reverse
| (b, a) | [
-0.03859853371977806,
-0.061885565519332886,
-0.0011244973866268992,
0.05620488151907921,
0.011088614352047443,
-0.012856773100793362,
-0.03620963916182518,
-0.023399891331791878,
-0.027030259370803833,
-0.014869464561343193,
0.0746764987707138,
0.012527594342827797,
0.052029017359018326,
0.03256046026945114,
-0.02016453631222248,
0.052743807435035706,
0.013665611855685711,
0.00437572319060564,
0.002750992076471448,
-0.0011944478610530496,
-0.0059769414365291595,
0.00935337319970131,
0.04108148068189621,
0.07245689630508423,
-0.00543614849448204,
0.055941540747880936,
-0.00013020186452195048,
-0.02174459397792816,
-0.06286369264125824,
0.012678075581789017,
0.003771445481106639,
-0.01906413957476616,
-0.002029150491580367,
-0.02814006246626377,
0.007129066623747349,
-0.016722269356250763,
-0.01935569755733013,
0.07697134464979172,
-0.15650087594985962,
-0.005864080507308245,
-0.007133768871426582,
-0.03005870245397091,
0.021819833666086197,
-0.04300012066960335,
-0.02757575549185276,
-0.029588447883725166,
-0.011116829700767994,
-0.030434906482696533,
0.027049070224165916,
-0.01551841665059328,
0.02665405534207821,
-0.0557534396648407,
0.01980714313685894,
0.020333828404545784,
-0.04356442764401436,
0.02909938246011734,
-0.019581420347094536,
0.013477509841322899,
-0.07505270838737488,
0.0020820542704313993,
-0.009715469554066658,
-0.00045644131023436785,
-0.05293190851807594,
0.0005575461545959115,
0.004331049043685198,
0.007669859565794468,
-0.04036669433116913,
-0.05112612992525101,
-0.02229009009897709,
0.003639774164184928,
-0.062487490475177765,
0.004236998036503792,
0.03280499204993248,
-0.028516266494989395,
-0.02016453631222248,
-0.006588273216038942,
0.03261689096689224,
0.004806006792932749,
0.03675513342022896,
-0.008610369637608528,
-0.026334282010793686,
-0.0034281592816114426,
-0.008027253672480583,
-0.013261192478239536,
-0.0008611545781604946,
-0.06707718223333359,
0.0019715442322194576,
0.00846929382532835,
-0.008967763744294643,
-0.05138947069644928,
-0.06004216521978378,
-0.0695977434515953,
0.033444538712501526,
0.009174675680696964,
0.024547314271330833,
0.022421760484576225,
-0.005445553455501795,
0.00899127684533596,
0.014389804564416409,
-0.043037742376327515,
-0.032880231738090515,
0.06643763184547424,
-0.029137002304196358,
-0.02853507548570633,
0.05180329456925392,
0.0015659492928534746,
0.020032864063978195,
-0.014643741771578789,
-0.04920748621225357,
0.0009722522809170187,
-0.046649299561977386,
-0.023475131019949913,
-0.031168503686785698,
0.0010986333945766091,
-0.008144817315042019,
0.005417338106781244,
-0.05150233209133148,
0.0008252976112999022,
0.06079457327723503,
0.012753317132592201,
-0.04950845241546631,
0.006315525155514479,
-0.019675470888614655,
0.003028442384675145,
0.04352680593729019,
-0.004319292493164539,
0.10571333765983582,
0.02291082590818405,
-0.06722766160964966,
0.04221009463071823,
0.012489973567426205,
0.024566123262047768,
-0.017107877880334854,
0.035626523196697235,
-0.02625904232263565,
0.07892760634422302,
-0.03026561439037323,
0.018565669655799866,
-0.008149519562721252,
0.011003968305885792,
-0.004020680673420429,
-0.051728054881095886,
-0.005647763144224882,
0.06282607465982437,
-0.04762743040919304,
0.031243745237588882,
0.03493054583668709,
0.01196328829973936,
0.014389804564416409,
0.023381080478429794,
-0.006687026936560869,
0.040554795414209366,
0.03604034706950188,
-0.027331223711371422,
0.046536438167095184,
-0.015179832465946674,
0.06703955680131912,
0.02671048603951931,
-0.05947785824537277,
-0.01457790657877922,
0.003914873115718365,
-0.012424138374626637,
-0.017700400203466415,
-0.04157054424285889,
0.03523150831460953,
-0.014258133247494698,
0.006470709573477507,
-0.08712885528802872,
0.020785272121429443,
0.0474393293261528,
0.027030259370803833,
-0.04330108314752579,
0.04284964129328728,
-0.015264478512108326,
-0.01266867108643055,
-0.005210425704717636,
0.001965666189789772,
0.009433316066861153,
-0.03696204721927643,
-0.018575074151158333,
0.07430029660463333,
-0.01658119261264801,
-0.09533010423183441,
-0.05266856402158737,
0.027538135647773743,
0.053195249289274216,
0.004079462494701147,
-0.048981767147779465,
0.014662552624940872,
0.010731220245361328,
0.017042042687535286,
-0.01634606532752514,
0.03378312289714813,
0.010439662262797356,
0.01274391170591116,
-0.057258255779743195,
0.029137002304196358,
-0.0185844786465168,
0.11240976303815842,
0.04439207538962364,
-0.05763445794582367,
0.022026745602488518,
0.07700896263122559,
0.047401707619428635,
-0.016289634630084038,
-0.024867087602615356,
-0.04774029180407524,
0.04078051820397377,
-0.036585841327905655,
-0.030660629272460938,
0.0030566577333956957,
-0.010768840089440346,
0.01378787774592638,
0.03671751543879509,
-0.02919343300163746,
0.02742527425289154,
0.07388647645711899,
-0.001823413884267211,
-0.006597678177058697,
0.014267537742853165,
0.00040001070010475814,
0.017700400203466415,
-0.0018386972369626164,
-0.01960023120045662,
0.043639667332172394,
-0.014493260532617569,
-0.03180805221199989,
0.006207366473972797,
0.033444538712501526,
0.02163173258304596,
0.047364089637994766,
-0.02087932452559471,
-0.010091673582792282,
-0.053496215492486954,
0.042774397879838943,
0.010505497455596924,
0.015095187351107597,
0.0023136548697948456,
0.027857908979058266,
0.03103683330118656,
-0.023042498156428337,
-0.00029111726325936615,
-0.011446007527410984,
0.040404312312603,
0.02264748327434063,
-0.06211128458380699,
0.03184567019343376,
-0.014897679910063744,
0.012461759150028229,
-0.017258360981941223,
0.02443445287644863,
-0.028854848816990852,
0.029212243854999542,
-0.04322584345936775,
0.017154904082417488,
-0.006964477244764566,
-0.06801769137382507,
-0.022384140640497208,
0.013543345034122467,
0.0007324222242459655,
0.011446007527410984,
0.05312000960111618,
0.0031812754459679127,
-0.013289407826960087,
-0.04691264405846596,
-0.05631774291396141,
-0.03438504785299301,
-0.0015483146999031305,
0.036585841327905655,
0.047401707619428635,
0.039087601006031036,
-0.029588447883725166,
-0.05184091627597809,
0.03581462427973747,
-0.012104365043342113,
0.018951278179883957,
0.0287419892847538,
0.049132246524095535,
-0.0031036832369863987,
-0.07794947922229767,
-0.025976888835430145,
-0.02625904232263565,
-0.03414051607251167,
-0.03299309313297272,
-0.03754516318440437,
0.08660216629505157,
-0.022421760484576225,
-0.06508329510688782,
0.05003513768315315,
-0.035927485674619675,
0.10104840248823166,
-0.018292920663952827,
0.02274153381586075,
0.04702550545334816,
0.02494232729077339,
0.022572241723537445,
-0.054812926799058914,
-0.05184091627597809,
0.07068873941898346,
-0.01909235492348671,
-0.021612921729683876,
-0.019252240657806396,
0.0693720206618309,
0.030641818419098854,
0.007331276312470436,
-0.05199139937758446,
0.033595021814107895,
0.014991730451583862,
-0.04785315319895744,
0.024509692564606667,
-0.009061814285814762,
-0.0068657235242426395,
-0.047702670097351074,
-0.007006800267845392,
0.04540782794356346,
-0.02091694436967373,
0.023437511175870895,
0.025111619383096695,
0.017888501286506653,
0.0237196646630764,
0.025431392714381218,
0.0491698682308197,
-0.05601678043603897,
0.024810656905174255,
-0.03904997929930687,
-0.0118598323315382,
-0.030039891600608826,
-0.023587992414832115,
0.04875604435801506,
0.018979493528604507,
-0.032786183059215546,
0.011888047680258751,
-0.011351956985890865,
0.05462482571601868,
-0.02900533191859722,
-0.021387198939919472,
0.03553247079253197,
0.01813303492963314,
0.005920511204749346,
0.030754679813981056,
0.03859853371977806,
-0.0069832876324653625,
-0.01553722657263279,
-0.018744366243481636,
-0.011511843651533127,
0.014972920529544353,
0.01706085354089737,
0.01389133371412754,
0.032786183059215546,
-0.023738475516438484,
-0.0005740050692111254,
-0.023080118000507355,
-0.04992227628827095,
-0.034516721963882446,
0.008017848245799541,
0.01211376953870058,
-0.08584976196289062,
0.026164989918470383,
0.042774397879838943,
-0.037451110780239105,
0.05063706263899803,
0.019412128254771233,
0.0047354684211313725,
0.058274004608392715,
0.007016205228865147,
-0.032522838562726974,
-0.018415188416838646,
0.02829054370522499,
-0.033143576234579086,
-0.07373598963022232,
0.006433088798075914,
-0.04300012066960335,
0.028121251612901688,
-0.014389804564416409,
-0.05150233209133148,
0.056844428181648254,
0.04104385897517204,
0.008031955920159817,
0.005229236092418432,
0.004681388847529888,
0.044768281280994415,
0.006141530815511942,
-0.04300012066960335,
0.006517734844237566,
0.02462255395948887,
0.021086236461997032,
0.012941419146955013,
0.03464839234948158,
0.006108613219112158,
-0.0007976701017469168,
-0.029268674552440643,
-0.017465272918343544,
0.007171389646828175,
-0.019017113372683525,
-0.07546652853488922,
0.013355243019759655,
0.0338771753013134,
0.028196493163704872,
-0.07478936016559601,
0.0009422735311090946,
0.06794244796037674,
0.020352639257907867,
0.032221876084804535,
0.02529972232878208,
0.027914339676499367,
0.01295082364231348,
0.03464839234948158,
0.06196080520749092,
-0.010853486135601997,
0.048116497695446014,
-0.024791846051812172,
-0.060305505990982056,
-0.022478191182017326,
0.022609863430261612,
-0.03677394613623619,
0.027350032702088356,
-0.014352183789014816,
-0.02067241258919239,
0.0017611051443964243,
0.011013372801244259,
0.0574839785695076,
0.00647541182115674,
-0.0011268486268818378,
0.060305505990982056,
-0.008883117698132992,
0.015367934480309486,
0.04183388873934746,
-0.00007803295011399314,
-0.08509735018014908,
0.0573711171746254,
0.02838459424674511,
-0.0678672045469284,
-0.008205950260162354,
-0.010985157452523708,
0.032014962285757065,
-0.05315763130784035,
-0.021612921729683876,
0.01995762437582016,
-0.016270823776721954,
0.008488103747367859,
0.02321178838610649,
0.011210880242288113,
-0.014907085336744785,
-0.030585387721657753,
-0.0018892496591433883,
-0.035871054977178574,
0.06026788800954819,
-0.008854902349412441,
-0.049395591020584106,
0.009696658700704575,
0.027237173169851303,
-0.01714549958705902,
0.024547314271330833,
0.059440236538648605,
0.03620963916182518,
-0.01295082364231348,
0.05018561705946922,
0.00940980389714241,
-0.03256046026945114,
-0.02518686093389988,
0.02356918342411518,
-0.012809747830033302,
-0.03131898492574692,
-0.02473541535437107,
-0.025111619383096695,
0.15161022543907166,
0.05026086047291756,
-0.009315752424299717,
-0.043639667332172394,
0.009400398470461369,
0.009762494824826717,
0.005224533379077911,
-0.015753544867038727,
-0.01549020130187273,
-0.0220455564558506,
0.05782255902886391,
-0.05323287099599838,
-0.04646119847893715,
0.004326346330344677,
-0.042172472923994064,
0.0016835130518302321,
-0.011370766907930374,
-0.01643071137368679,
-0.02309892699122429,
0.011446007527410984,
-0.01363739650696516,
0.02646595425903797,
0.04728884622454643,
0.04221009463071823,
-0.02183864451944828,
0.015574847348034382,
0.05153995379805565,
-0.011248501017689705,
-0.01681631989777088,
-0.04947083070874214,
0.02631547302007675,
-0.07633180171251297,
-0.053044769912958145,
0.05165281519293785,
-0.039426181465387344,
0.028459835797548294,
-0.04307536035776138,
-0.03752635419368744,
0.044053491204977036,
0.053044769912958145,
0.027745047584176064,
-0.009818925522267818,
0.03154470771551132,
-0.02118028700351715,
0.03335048630833626,
-0.018245896324515343,
0.02213960699737072,
-0.004643768537789583,
0.010778245516121387,
0.01673167385160923,
0.022967256605625153,
0.0405171737074852,
-0.0068657235242426395,
-0.038410432636737823,
-0.07091446220874786,
0.047401707619428635,
-0.04431683570146561,
-0.052480462938547134,
0.017935527488589287,
-0.01541496068239212,
-0.02599569968879223,
-0.08381825685501099,
-0.04183388873934746,
0.024660173803567886,
-0.017380626872181892,
-0.020070485770702362,
0.007627537008374929,
-0.03769564628601074,
0.04066765680909157,
-0.03212782368063927,
0.022572241723537445,
-0.009550879709422588,
0.03573938459157944,
0.08314108848571777,
0.02381371520459652,
-0.005831162445247173,
0.06004216521978378,
0.006964477244764566,
0.004942380357533693,
-0.00595342880114913,
-0.022384140640497208,
-0.005426743067800999,
-0.016035696491599083,
0.014418019913136959,
0.007810936309397221,
-0.049395591020584106,
-0.025469012558460236,
-0.005892295856028795,
0.07211831212043762,
0.032936662435531616,
-0.02276034466922283,
0.036736324429512024,
0.06271321326494217,
-0.008196545764803886,
-0.0032306520733982325,
-0.022421760484576225,
-0.01450266595929861,
0.001857507391832769,
-0.05868782848119736,
-0.02575116604566574,
0.039125218987464905,
0.03946380317211151,
0.012631050311028957,
0.003550425637513399,
-0.002678102580830455,
-0.0025182156823575497,
-0.018659720197319984,
0.03583343327045441,
-0.06433089077472687,
0.0006007508491165936,
0.002840340370312333,
-0.011671730317175388,
-0.022101987153291702,
0.015527821145951748,
-0.01280034240335226,
-0.034855302423238754,
-0.014813033863902092,
0.02106742560863495,
-0.0457087904214859,
0.02909938246011734,
-0.036491792649030685,
0.028046010062098503,
0.05977882072329521,
-0.021876264363527298,
-0.03615320846438408,
-0.05707015097141266,
-0.007599321659654379,
0.0507875457406044,
-0.05383479595184326,
-0.022478191182017326,
-0.011521249078214169,
-0.06470709294080734,
0.018894847482442856,
0.017559323459863663,
-0.015217453241348267,
0.01465314719825983,
-0.015819380059838295,
0.020183347165584564,
-0.044053491204977036,
-0.02387014590203762,
0.0038020119536668062,
-0.05635536462068558,
0.005793542135506868,
-0.030340855941176414,
-0.049847036600112915,
0.029569637030363083,
-0.017794450744986534,
-0.002849745564162731,
0.007514675613492727,
0.036341309547424316,
-0.02742527425289154,
-0.040855757892131805,
0.03137541562318802,
-0.0045638252049684525,
0.05428624153137207,
-0.033087145537137985,
-0.0009199364576488733,
-0.05646822601556778,
0.0287419892847538,
-0.042736779898405075,
0.09216999262571335,
0.02605213038623333,
0.01549020130187273,
0.021594110876321793,
-0.02087932452559471,
0.0013954818714410067,
0.03041609562933445,
0.040441934019327164,
-0.002896771067753434,
-0.08675265312194824,
-0.07644466310739517,
0.030246805399656296,
0.03184567019343376,
0.01759694330394268,
-0.004970595706254244,
-0.0018316433997824788,
-0.022478191182017326,
-0.013477509841322899,
-0.01849042810499668,
0.008064874447882175,
0.027650997042655945,
-0.03178923949599266,
-0.04108148068189621,
0.02497994713485241,
0.04800363630056381,
-0.03540080040693283,
0.055640578269958496,
-0.007129066623747349,
-0.017107877880334854,
0.008093089796602726,
0.024039437994360924,
0.029550826177001,
-0.022101987153291702,
0.009706064127385616,
0.030754679813981056,
-0.017559323459863663,
-0.04416635259985924,
-0.0009046531631611288,
0.05714539438486099,
-0.01732419617474079,
0.06004216521978378,
-0.03190210089087486,
-0.011323741637170315,
0.05533961206674576,
-0.060305505990982056,
-0.005530199501663446,
0.00008809934661258012,
-0.01280034240335226,
0.00027700961800292134,
-0.02605213038623333,
0.030641818419098854,
0.03178923949599266,
0.01751229725778103,
-0.023230599239468575,
-0.009071219712495804,
-0.017051447182893753,
0.01381609309464693,
-0.03406527638435364,
-0.0072090099565684795,
-0.0320337750017643,
-0.057860180735588074,
0.005252748727798462,
0.038974739611148834,
-0.012301871553063393,
-0.038523294031620026,
0.0355512797832489,
0.017023231834173203,
0.0454830676317215,
-0.03291785344481468,
-0.022101987153291702,
-0.0007618131930939853,
-0.05285666882991791,
0.003096629399806261,
0.02578878588974476,
-0.04047955572605133,
0.03325643762946129,
-0.034403860569000244,
-0.04096861928701401,
-0.0405171737074852,
0.04093099758028984,
0.02787671983242035,
-0.018829012289643288,
-0.03600272536277771,
0.04239819571375847,
-0.05819876492023468,
-0.03351977840065956,
0.04868080094456673,
0.0026498872321099043,
-0.053646694868803024,
0.0047143069095909595,
-0.024904707446694374,
0.08193723857402802,
0.07892760634422302,
-0.03521269932389259,
0.0287419892847538,
-0.0458216518163681,
-0.002708669053390622,
0.08321633189916611,
0.02772623673081398,
0.04371491074562073,
-0.000858803279697895,
0.03756397217512131,
-0.05409814044833183,
-0.036585841327905655,
0.030510148033499718,
-0.0005155170802026987,
0.09540534019470215,
0.02853507548570633,
0.02894890122115612,
-0.020841702818870544,
-0.03893711790442467,
0.030905161052942276,
-0.05936499685049057,
-0.020296208560466766,
0.022233659401535988,
-0.034196946769952774,
-0.03421575576066971,
-0.005022323690354824,
-0.01912057027220726,
0.035419609397649765,
-0.002541728550568223,
0.07241927832365036,
0.020503120496869087,
0.00021749295410700142,
0.05868782848119736,
0.04108148068189621,
-0.07268261909484863,
0.034460291266441345,
0.014615526422858238,
-0.03321881592273712,
0.016261419281363487,
0.013336433097720146,
-0.004032437223941088,
0.00038619694532826543,
-0.039087601006031036,
-0.07712182402610779,
-0.017587538808584213,
0.022007936611771584,
0.007966120727360249,
0.015556036494672298,
-0.012762721627950668,
0.0042605106718838215,
0.0455959290266037
] |
10,314 | fractions | __rtruediv__ | a / b | def _operator_fallbacks(monomorphic_operator, fallback_operator):
"""Generates forward and reverse operators given a purely-rational
operator and a function from the operator module.
Use this like:
__op__, __rop__ = _operator_fallbacks(just_rational_op, operator.op)
In general, we want to implement the arithmetic operations so
that mixed-mode operations either call an implementation whose
author knew about the types of both arguments, or convert both
to the nearest built in type and do the operation there. In
Fraction, that means that we define __add__ and __radd__ as:
def __add__(self, other):
# Both types have numerators/denominator attributes,
# so do the operation directly
if isinstance(other, (int, Fraction)):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
# float and complex don't have those operations, but we
# know about those types, so special case them.
elif isinstance(other, float):
return float(self) + other
elif isinstance(other, complex):
return complex(self) + other
# Let the other type take over.
return NotImplemented
def __radd__(self, other):
# radd handles more types than add because there's
# nothing left to fall back to.
if isinstance(other, numbers.Rational):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
elif isinstance(other, Real):
return float(other) + float(self)
elif isinstance(other, Complex):
return complex(other) + complex(self)
return NotImplemented
There are 5 different cases for a mixed-type addition on
Fraction. I'll refer to all of the above code that doesn't
refer to Fraction, float, or complex as "boilerplate". 'r'
will be an instance of Fraction, which is a subtype of
Rational (r : Fraction <: Rational), and b : B <:
Complex. The first three involve 'r + b':
1. If B <: Fraction, int, float, or complex, we handle
that specially, and all is well.
2. If Fraction falls back to the boilerplate code, and it
were to return a value from __add__, we'd miss the
possibility that B defines a more intelligent __radd__,
so the boilerplate should return NotImplemented from
__add__. In particular, we don't handle Rational
here, even though we could get an exact answer, in case
the other type wants to do something special.
3. If B <: Fraction, Python tries B.__radd__ before
Fraction.__add__. This is ok, because it was
implemented with knowledge of Fraction, so it can
handle those instances before delegating to Real or
Complex.
The next two situations describe 'b + r'. We assume that b
didn't know about Fraction in its implementation, and that it
uses similar boilerplate code:
4. If B <: Rational, then __radd_ converts both to the
builtin rational type (hey look, that's us) and
proceeds.
5. Otherwise, __radd__ tries to find the nearest common
base ABC, and fall back to its builtin type. Since this
class doesn't subclass a concrete type, there's no
implementation to fall back to, so we need to try as
hard as possible to return an actual value, or the user
will get a TypeError.
"""
def forward(a, b):
if isinstance(b, (int, Fraction)):
return monomorphic_operator(a, b)
elif isinstance(b, float):
return fallback_operator(float(a), b)
elif isinstance(b, complex):
return fallback_operator(complex(a), b)
else:
return NotImplemented
forward.__name__ = '__' + fallback_operator.__name__ + '__'
forward.__doc__ = monomorphic_operator.__doc__
def reverse(b, a):
if isinstance(a, numbers.Rational):
# Includes ints.
return monomorphic_operator(a, b)
elif isinstance(a, numbers.Real):
return fallback_operator(float(a), float(b))
elif isinstance(a, numbers.Complex):
return fallback_operator(complex(a), complex(b))
else:
return NotImplemented
reverse.__name__ = '__r' + fallback_operator.__name__ + '__'
reverse.__doc__ = monomorphic_operator.__doc__
return forward, reverse
| (b, a) | [
-0.038636092096567154,
-0.06188546493649483,
-0.0011674062116071582,
0.05616717040538788,
0.011098001152276993,
-0.012837941758334637,
-0.036209579557180405,
-0.023456282913684845,
-0.027086647227406502,
-0.014860035851597786,
0.07471399754285812,
0.012527573853731155,
0.05202893540263176,
0.032635647803545,
-0.020183313637971878,
0.05274372175335884,
0.01371261477470398,
0.004342798143625259,
0.002727474784478545,
-0.001226188032887876,
-0.005995742045342922,
0.00935335736721754,
0.04104379564523697,
0.07245677709579468,
-0.005393816623836756,
0.05597906932234764,
-0.0001307159982388839,
-0.021744558587670326,
-0.06286359578371048,
0.012621625326573849,
0.003750277915969491,
-0.019064107909798622,
-0.001970365410670638,
-0.028177637606859207,
0.007147865369915962,
-0.01676926761865616,
-0.01933685690164566,
0.07697121798992157,
-0.15635015070438385,
-0.0058781784027814865,
-0.007147865369915962,
-0.030077464878559113,
0.021838609129190445,
-0.043037671595811844,
-0.027613332495093346,
-0.02960721030831337,
-0.011126216500997543,
-0.03041604720056057,
0.0270302165299654,
-0.015527796931564808,
0.026597581803798676,
-0.05575334653258324,
0.01988235116004944,
0.020333794876933098,
-0.04356435686349869,
0.02909933589398861,
-0.019562577828764915,
0.013421057723462582,
-0.07505258172750473,
0.0021161441691219807,
-0.009734263643622398,
-0.00043998166802339256,
-0.05293182283639908,
0.0005378533387556672,
0.00434750085696578,
0.007641632109880447,
-0.04040424898266792,
-0.05112604424357414,
-0.022327672690153122,
0.0037009012885391712,
-0.06244976818561554,
0.004253449849784374,
0.03284255787730217,
-0.028572650626301765,
-0.02020212449133396,
-0.0065694525837898254,
0.032616838812828064,
0.0048059988766908646,
0.03679269552230835,
-0.008643274195492268,
-0.026334239169955254,
-0.0033670207485556602,
-0.008027240633964539,
-0.01328938640654087,
-0.0008347013499587774,
-0.06703945249319077,
0.0019527309341356158,
0.00848808977752924,
-0.00894893892109394,
-0.05135176703333855,
-0.06004206836223602,
-0.06956001371145248,
0.033425673842430115,
0.009202876128256321,
0.024584893137216568,
0.022459344938397408,
-0.0054361396469175816,
0.008934831246733665,
0.014417996630072594,
-0.043037671595811844,
-0.03289898857474327,
0.06647514551877975,
-0.02909933589398861,
-0.028516219928860664,
0.051803212612867355,
0.0015436096582561731,
0.01999521255493164,
-0.014690743759274483,
-0.049169786274433136,
0.0009563796338625252,
-0.04664922505617142,
-0.02347509376704693,
-0.031112022697925568,
0.0010815848363563418,
-0.008168317377567291,
0.005398519337177277,
-0.051502250134944916,
0.0008188302745111287,
0.06079447269439697,
0.012772106565535069,
-0.049470752477645874,
0.006315514910966158,
-0.019656628370285034,
0.0030378426890820265,
0.04363959655165672,
-0.00431928550824523,
0.10571316629648209,
0.022910788655281067,
-0.06718993186950684,
0.042134784162044525,
0.012508763931691647,
0.02454727329313755,
-0.01708904094994068,
0.03564527630805969,
-0.026277810335159302,
0.07885223627090454,
-0.03026556596159935,
0.01855623349547386,
-0.008125994354486465,
0.010994545184075832,
-0.00401832303032279,
-0.05172797292470932,
-0.005624241195619106,
0.06282597035169601,
-0.0475897341966629,
0.031243694946169853,
0.034949298948049545,
0.011935053393244743,
0.014380375854671001,
0.023362232372164726,
-0.00663058552891016,
0.04047948867082596,
0.03602147847414017,
-0.02733117900788784,
0.046536363661289215,
-0.015208023600280285,
0.06707707047462463,
0.02667282335460186,
-0.059440143406391144,
-0.014615503139793873,
0.003898408031091094,
-0.012480548582971096,
-0.01771918125450611,
-0.041532859206199646,
0.03523145243525505,
-0.014239300042390823,
0.006418970879167318,
-0.08712871372699738,
0.02074761874973774,
0.0474768728017807,
0.027086647227406502,
-0.04326339438557625,
0.04288719221949577,
-0.015236238949000835,
-0.01272508129477501,
-0.005205715075135231,
0.0019633115734905005,
0.009470921009778976,
-0.03690555691719055,
-0.01859385520219803,
0.07430017739534378,
-0.016571760177612305,
-0.09532994776964188,
-0.05263086035847664,
0.02753809094429016,
0.05315754562616348,
0.004074753262102604,
-0.04894406720995903,
0.014681338332593441,
0.010750013403594494,
0.016994990408420563,
-0.016421278938651085,
0.03380187973380089,
0.01044904999434948,
0.012734485790133476,
-0.057220540940761566,
0.029061714187264442,
-0.018575044348835945,
0.11240958422422409,
0.04439200460910797,
-0.057671986520290375,
0.022083140909671783,
0.0770464614033699,
0.047401633113622665,
-0.01628020405769348,
-0.02490466646850109,
-0.04774021357297897,
0.04074282944202423,
-0.03658578172326088,
-0.030604148283600807,
0.003098975634202361,
-0.01077822782099247,
0.013759640045464039,
0.03675507381558418,
-0.029231006279587746,
0.027444040402770042,
0.07388634979724884,
-0.001788141904398799,
-0.006583559792488813,
0.014286325313150883,
0.000450268475105986,
0.017700370401144028,
-0.0017693317495286465,
-0.019619008526206017,
0.04367721825838089,
-0.014512047171592712,
-0.03177037835121155,
0.006132116075605154,
0.033425673842430115,
0.02161288633942604,
0.0473640114068985,
-0.020916910842061043,
-0.01010106224566698,
-0.05349612608551979,
0.042736709117889404,
0.010514886118471622,
0.015095162205398083,
0.0023265830241143703,
0.02787667326629162,
0.030999163165688515,
-0.023061269894242287,
-0.0003094860876444727,
-0.011455394327640533,
0.04040424898266792,
0.022609826177358627,
-0.06211118772625923,
0.03182680904865265,
-0.014878845773637295,
0.012471144087612629,
-0.017314761877059937,
0.024415602907538414,
-0.028873613104224205,
0.029193386435508728,
-0.04318815469741821,
0.0171266607940197,
-0.007025599014014006,
-0.06801757961511612,
-0.02236529439687729,
0.013524513691663742,
0.0006965641514398158,
0.011417774483561516,
0.05308230221271515,
0.003124839626252651,
-0.013279980979859829,
-0.04691256582736969,
-0.05631765350699425,
-0.034384991973638535,
-0.001522448263131082,
0.03658578172326088,
0.047439251095056534,
0.03912515565752983,
-0.02955077961087227,
-0.051840830594301224,
0.0358145646750927,
-0.012094940058887005,
0.018960652872920036,
0.028760751709342003,
0.04913216829299927,
-0.003124839626252651,
-0.07794935256242752,
-0.02595803700387478,
-0.02625899948179722,
-0.03417808189988136,
-0.03301184996962547,
-0.03756391257047653,
0.08660203218460083,
-0.022440534085035324,
-0.06508319079875946,
0.04999743402004242,
-0.035965047776699066,
0.10104823857545853,
-0.018302297219634056,
0.022760307416319847,
0.046987809240818024,
0.02499871701002121,
0.022647446021437645,
-0.05481284111738205,
-0.051840830594301224,
0.07072624564170837,
-0.019139349460601807,
-0.021594077348709106,
-0.019242804497480392,
0.06933429092168808,
0.030604148283600807,
0.007354776840656996,
-0.05199131369590759,
0.03355734422802925,
0.015001111663877964,
-0.04789069667458534,
0.024528464302420616,
-0.009057097136974335,
-0.00688452273607254,
-0.04774021357297897,
-0.007020896300673485,
0.04544537514448166,
-0.02095453068614006,
0.023418663069605827,
0.025111578404903412,
0.01789787784218788,
0.023719625547528267,
0.025431351736187935,
0.0492074079811573,
-0.05597906932234764,
0.024829426780343056,
-0.03908753767609596,
-0.011916243471205235,
-0.030002223327755928,
-0.02364438585937023,
0.048718344420194626,
0.018932437524199486,
-0.0328049398958683,
0.011906838975846767,
-0.011323723010718822,
0.05454949662089348,
-0.02900528348982334,
-0.021387165412306786,
0.03553241491317749,
0.01814240962266922,
0.005944014061242342,
0.03077344037592411,
0.038636092096567154,
-0.0069315480068326,
-0.015556011348962784,
-0.01870671473443508,
-0.011549444869160652,
0.014954086393117905,
0.017023205757141113,
0.01389131136238575,
0.03278612717986107,
-0.02379486709833145,
-0.0005399106885306537,
-0.023098889738321304,
-0.049922194331884384,
-0.03451666608452797,
0.00808367133140564,
0.012113749980926514,
-0.08584962040185928,
0.0261649489402771,
0.04277433082461357,
-0.037469860166311264,
0.05067460238933563,
0.019355665892362595,
0.004740163218230009,
0.05831153318285942,
0.00701149133965373,
-0.03254159539937973,
-0.018386943265795708,
0.028309307992458344,
-0.03316233307123184,
-0.07373587042093277,
0.006442483514547348,
-0.043000053614377975,
0.02814001590013504,
-0.01442740112543106,
-0.051502250134944916,
0.056806717067956924,
0.04104379564523697,
0.008046050556004047,
0.00514928437769413,
0.00467667868360877,
0.044768206775188446,
0.006165033672004938,
-0.043000053614377975,
0.006531831808388233,
0.024660134688019753,
0.021123822778463364,
0.012969613075256348,
0.034648336470127106,
0.006122710648924112,
-0.0007541702943854034,
-0.029212195426225662,
-0.017465244978666306,
0.007147865369915962,
-0.018998272716999054,
-0.07546640932559967,
0.01338343694806099,
0.03387711942195892,
0.028177637606859207,
-0.07486448436975479,
0.0009446233161725104,
0.06797996163368225,
0.02035260573029518,
0.03224063292145729,
0.0252996813505888,
0.027914294973015785,
0.01293199323117733,
0.03466714546084404,
0.061923082917928696,
-0.010862873867154121,
0.04819165915250778,
-0.02484823577105999,
-0.060305409133434296,
-0.022496964782476425,
0.02257220633327961,
-0.036811504513025284,
0.02733117900788784,
-0.014380375854671001,
-0.02065356820821762,
0.0017622779123485088,
0.011022760532796383,
0.05748388543725014,
0.006461293902248144,
-0.00114154233597219,
0.06038064882159233,
-0.00889250822365284,
0.015405530110001564,
0.041833821684122086,
-0.00004559262379189022,
-0.08502197265625,
0.057408642023801804,
0.028384549543261528,
-0.06786710023880005,
-0.008248260244727135,
-0.01098513975739479,
0.03199610114097595,
-0.05319516360759735,
-0.021594077348709106,
0.019957592710852623,
-0.016270797699689865,
0.008511602878570557,
0.023192942142486572,
0.011173241771757603,
-0.014888250268995762,
-0.030585339292883873,
-0.0019421501783654094,
-0.0358709953725338,
0.06026778742671013,
-0.008821970783174038,
-0.04939550906419754,
0.009762478992342949,
0.02733117900788784,
-0.017145471647381783,
0.024566084146499634,
0.05940252169966698,
0.036266010254621506,
-0.012950803153216839,
0.05014791712164879,
0.00941449124366045,
-0.03259802609682083,
-0.025168009102344513,
0.02358795516192913,
-0.012772106565535069,
-0.031356554478406906,
-0.024716565385460854,
-0.02505514770746231,
0.15160998702049255,
0.05026077851653099,
-0.009287522174417973,
-0.04363959655165672,
0.009405085816979408,
0.009809504263103008,
0.0051774997264146805,
-0.015753518790006638,
-0.015480770729482174,
-0.022083140909671783,
0.05786008760333061,
-0.05323278531432152,
-0.04642350226640701,
0.004309880547225475,
-0.04217240586876869,
0.0016940910136327147,
-0.011417774483561516,
-0.016411874443292618,
-0.023098889738321304,
0.011436584405601025,
-0.013599754311144352,
0.02652234211564064,
0.047251150012016296,
0.04221002385020256,
-0.02185741998255253,
0.015574822202324867,
0.051539868116378784,
-0.011182647198438644,
-0.016900939866900444,
-0.049470752477645874,
0.02631543017923832,
-0.07633167505264282,
-0.053007062524557114,
0.051652729511260986,
-0.03942611813545227,
0.02844097837805748,
-0.04311291128396988,
-0.037582721561193466,
0.04409104213118553,
0.05304468423128128,
0.027763813734054565,
-0.009809504263103008,
0.031507037580013275,
-0.021217873319983482,
0.033331625163555145,
-0.018236462026834488,
0.022139571607112885,
-0.004639058373868465,
0.01077822782099247,
0.01675986312329769,
0.02298603020608425,
0.04047948867082596,
-0.00683279475197196,
-0.03842918202280998,
-0.07091434299945831,
0.047401633113622665,
-0.04427914321422577,
-0.05248037725687027,
0.017916688695549965,
-0.015424340963363647,
-0.025995656847953796,
-0.0837428867816925,
-0.041833821684122086,
0.024660134688019753,
-0.017399407923221588,
-0.020070452243089676,
0.007632227148860693,
-0.037733204662799835,
0.040667589753866196,
-0.032108962535858154,
0.02257220633327961,
-0.009527351707220078,
0.035758137702941895,
0.08314095437526703,
0.02383248694241047,
-0.005831153132021427,
0.06007968634366989,
0.006969168316572905,
0.00489534717053175,
-0.005953419487923384,
-0.022384103387594223,
-0.00545494956895709,
-0.01607329212129116,
0.01442740112543106,
0.007792113348841667,
-0.04943313077092171,
-0.025431351736187935,
-0.005911096464842558,
0.07211820036172867,
0.03295541927218437,
-0.02277911826968193,
0.036773886531591415,
0.06271310895681381,
-0.008229450322687626,
-0.0032071343157440424,
-0.022440534085035324,
-0.014540262520313263,
0.0018657338805496693,
-0.058725353330373764,
-0.02571350522339344,
0.03912515565752983,
0.03942611813545227,
0.012640435248613358,
0.003559825010597706,
-0.002696908311918378,
-0.00253702187910676,
-0.01865028403699398,
0.0358145646750927,
-0.06433078646659851,
0.0005472584161907434,
0.0028309307526797056,
-0.011718736961483955,
-0.0221207607537508,
0.015546606853604317,
-0.012781511060893536,
-0.034798815846443176,
-0.014813009649515152,
0.02104858122766018,
-0.04570871591567993,
0.02915576659142971,
-0.036472924053668976,
0.028008345514535904,
0.05977872386574745,
-0.021876228973269463,
-0.036153148859739304,
-0.057070061564445496,
-0.007618119474500418,
0.050787463784217834,
-0.0538347102701664,
-0.022478153929114342,
-0.011530634947121143,
-0.06470698863267899,
0.018885411322116852,
0.01754048466682434,
-0.015264454297721386,
0.014643718488514423,
-0.015800543129444122,
0.020183313637971878,
-0.04409104213118553,
-0.023870106786489487,
0.003823167411610484,
-0.05639289319515228,
0.005788830108940601,
-0.030378427356481552,
-0.04984695464372635,
0.029588399454951286,
-0.017860257998108864,
-0.0028567947447299957,
0.007495853118598461,
0.03630363196134567,
-0.02738760970532894,
-0.04085569083690643,
0.03137536719441414,
-0.004490928258746862,
0.05424853414297104,
-0.03308709338307381,
-0.0009505014750175178,
-0.056505754590034485,
0.028723131865262985,
-0.04269908741116524,
0.09216984361410141,
0.026052087545394897,
0.015461960807442665,
0.021594077348709106,
-0.020822860300540924,
0.0013896013842895627,
0.030397236347198486,
0.04044186696410179,
-0.0029320353642106056,
-0.08667726814746857,
-0.07644453644752502,
0.030227946117520332,
0.031864430755376816,
0.017587510868906975,
-0.004979992751032114,
-0.0017940200632438064,
-0.02242172509431839,
-0.0134586775675416,
-0.018518613651394844,
0.008093075826764107,
0.02768857218325138,
-0.03182680904865265,
-0.04108141362667084,
0.02505514770746231,
0.04804117605090141,
-0.035400740802288055,
0.05564048886299133,
-0.007105542346835136,
-0.017051421105861664,
0.008121291175484657,
0.024058209732174873,
0.029494348913431168,
-0.022101951763033867,
0.009762478992342949,
0.03071700967848301,
-0.017531080171465874,
-0.04416628181934357,
-0.0008834902546368539,
0.0571829229593277,
-0.017380598932504654,
0.06004206836223602,
-0.031864430755376816,
-0.011351938359439373,
0.055339522659778595,
-0.06023016944527626,
-0.005558405537158251,
0.0000937569493544288,
-0.012743891216814518,
0.000287442933768034,
-0.026033276692032814,
0.030698200687766075,
0.03178919106721878,
0.01754048466682434,
-0.023249370977282524,
-0.009066502563655376,
-0.017042014747858047,
0.013797260820865631,
-0.034027598798274994,
-0.007223105989396572,
-0.03203372284770012,
-0.05793532729148865,
0.005229227710515261,
0.03897467628121376,
-0.012254826724529266,
-0.03859847038984299,
0.035551223903894424,
0.017042014747858047,
0.04548299312591553,
-0.032917801290750504,
-0.022083140909671783,
-0.0007500555948354304,
-0.05278133973479271,
0.0030425451695919037,
0.025826364755630493,
-0.04047948867082596,
0.03329400345683098,
-0.034347373992204666,
-0.0410061739385128,
-0.040517110377550125,
0.0408933125436306,
0.027914294973015785,
-0.018876006826758385,
-0.03602147847414017,
0.0423981249332428,
-0.05823628976941109,
-0.033482104539871216,
0.04868072271347046,
0.0026146138552576303,
-0.05364660918712616,
0.004740163218230009,
-0.024923477321863174,
0.08193710446357727,
0.07885223627090454,
-0.03521263971924782,
0.028760751709342003,
-0.04578395560383797,
-0.0026922058314085007,
0.0832914412021637,
0.027707383036613464,
0.04367721825838089,
-0.0008864293340593576,
0.03750748187303543,
-0.05409805476665497,
-0.03652935475111008,
0.03051009774208069,
-0.0004999390803277493,
0.09548042714595795,
0.028516219928860664,
0.028986474499106407,
-0.02080404944717884,
-0.03897467628121376,
0.030905110761523247,
-0.05936489999294281,
-0.020277364179491997,
0.02221481315791607,
-0.034140460193157196,
-0.0341968908905983,
-0.004989398177713156,
-0.01912994496524334,
0.03547598421573639,
-0.0025346705224364996,
0.07245677709579468,
0.020521897822618484,
0.0002242525079054758,
0.058725353330373764,
0.0410061739385128,
-0.07268249988555908,
0.034441422671079636,
0.014587287791073322,
-0.03321876376867294,
0.016214367002248764,
0.013298790901899338,
-0.003983053844422102,
0.0003973648708779365,
-0.03908753767609596,
-0.07719694077968597,
-0.017615726217627525,
0.022026710212230682,
0.007975513115525246,
0.015584226697683334,
-0.01272508129477501,
0.00427226023748517,
0.045633476227521896
] |
10,315 | fractions | __str__ | str(self) | def __str__(self):
"""str(self)"""
if self._denominator == 1:
return str(self._numerator)
else:
return '%s/%s' % (self._numerator, self._denominator)
| (self) | [
-0.0007740388973616064,
-0.03620913252234459,
0.06386411190032959,
0.025473501533269882,
0.017434662207961082,
-0.04407620057463646,
0.025731157511472702,
-0.06297090649604797,
0.00885474681854248,
-0.017219949513673782,
0.029784930869936943,
0.004470316227525473,
0.0263667069375515,
0.012934286147356033,
0.00928417220711708,
-0.0006199826020747423,
0.013921963982284069,
-0.04919494688510895,
0.020286045968532562,
0.03682750463485718,
-0.006643207743763924,
0.056306228041648865,
0.04885140806436539,
0.025593740865588188,
-0.050259921699762344,
0.022003745660185814,
0.032292772084474564,
-0.039713241159915924,
-0.04953848943114281,
-0.015339067205786705,
-0.011044815182685852,
-0.014591868035495281,
0.025868572294712067,
0.001658654771745205,
-0.026555653661489487,
-0.006007658317685127,
-0.0332375094294548,
0.03110755980014801,
-0.1451113522052765,
0.047752078622579575,
-0.01798432692885399,
0.008545560762286186,
-0.034096360206604004,
-0.024133695289492607,
-0.040812570601701736,
-0.04235849902033806,
0.015682607889175415,
0.0035835530143231153,
-0.008399556390941143,
-0.022158339619636536,
0.016884997487068176,
0.030523542314767838,
-0.05823005363345146,
-0.021728914231061935,
-0.049916382879018784,
0.04077821597456932,
0.05177149921655655,
0.005028568673878908,
0.028153114020824432,
0.04067515209317207,
-0.02825617603957653,
0.004356518387794495,
0.03373564034700394,
-0.050843942910432816,
-0.03136521577835083,
-0.005453699734061956,
-0.037720706313848495,
0.06005081534385681,
0.008154784329235554,
0.05311130732297897,
0.014471628703176975,
-0.016704639419913292,
-0.019066477194428444,
0.022570587694644928,
0.006123602855950594,
0.020612409338355064,
-0.03498956188559532,
0.0311934445053339,
0.054829005151987076,
-0.020354753360152245,
0.012247205711901188,
-0.015021292492747307,
0.03308291733264923,
-0.0392322838306427,
-0.019564611837267876,
-0.06606277078390121,
-0.06482602655887604,
-0.051634084433317184,
0.0006505791679956019,
0.044110555201768875,
-0.05053475499153137,
-0.014265504665672779,
-0.00912099052220583,
0.014832345768809319,
-0.035384636372327805,
0.04847351461648941,
-0.015055647119879723,
-0.07544141262769699,
0.009275583550333977,
-0.0003867510531563312,
-0.0027805280406028032,
0.030111294239759445,
-0.01729724556207657,
0.005457994062453508,
-0.024580297991633415,
-0.05850488692522049,
0.013063114136457443,
0.006707621272653341,
-0.02032039873301983,
0.043251704424619675,
-0.06386411190032959,
0.012504861690104008,
-0.041087400168180466,
0.004225543700158596,
0.013793136924505234,
-0.0010472607100382447,
-0.03545334190130234,
0.007278756704181433,
0.055687855929136276,
-0.02660718373954296,
0.01421397365629673,
0.01772667095065117,
-0.04984767362475395,
0.032619137316942215,
0.01732301153242588,
0.0715937688946724,
-0.015648253262043,
-0.011104934848845005,
-0.01373301725834608,
-0.020406285300850868,
0.06585664302110672,
0.019994037225842476,
-0.03689621016383171,
0.01529612485319376,
0.10711582005023956,
0.03373564034700394,
-0.025095608085393906,
-0.0080946646630764,
0.06578794121742249,
0.12449894845485687,
0.007583648897707462,
-0.03785812482237816,
0.014789403416216373,
-0.002120286924764514,
0.01891188509762287,
0.07111281156539917,
0.020182983949780464,
0.10237496346235275,
-0.01875729113817215,
-0.0022781004663556814,
0.007235814351588488,
0.062249474227428436,
0.09921438992023468,
-0.03792683035135269,
0.02695072442293167,
-0.006252430845052004,
0.019770735874772072,
-0.0058144167996943,
0.029870815575122833,
0.0021578615996986628,
0.03263631463050842,
-0.05293953791260719,
0.013372300192713737,
-0.015124354511499405,
0.014875288121402264,
0.028393592685461044,
-0.015605310909450054,
-0.026401059702038765,
0.002853530226275325,
-0.00003532693153829314,
0.009163932874798775,
-0.08650340884923935,
-0.07241826504468918,
0.03950711712241173,
0.021144896745681763,
0.03292832151055336,
0.00801736768335104,
0.08753402531147003,
-0.050603464245796204,
0.019221071153879166,
0.07004783302545547,
-0.06901721656322479,
-0.04088127613067627,
-0.0013204824645072222,
0.060016464442014694,
-0.03655267134308815,
0.024752067402005196,
-0.014325624331831932,
0.008120429702103138,
-0.008197726681828499,
0.013896198943257332,
0.021024657413363457,
-0.03699927404522896,
-0.002769792452454567,
0.012307325378060341,
-0.061905935406684875,
0.025421971455216408,
-0.08602245151996613,
0.07131893187761307,
0.04606873169541359,
-0.051015712320804596,
0.024322642013430595,
-0.0011315353913232684,
0.015321890823543072,
0.024769244715571404,
0.018465282395482063,
-0.014617633074522018,
0.02193503826856613,
0.01305452547967434,
-0.005681294947862625,
-0.02394474856555462,
0.02203810028731823,
0.019427195191383362,
0.010890222154557705,
0.017125476151704788,
-0.027878282591700554,
0.057852160185575485,
0.010727041400969028,
-0.03121062181890011,
0.02220986969769001,
0.05469159036874771,
-0.021144896745681763,
0.02835923805832863,
-0.018637053668498993,
-0.04338911920785904,
-0.02212398499250412,
-0.000227192766033113,
-0.017675140872597694,
-0.016051912680268288,
0.023223314434289932,
0.020801356062293053,
-0.029441390186548233,
-0.006952393800020218,
0.003770353039726615,
-0.036690086126327515,
0.043354764580726624,
-0.040056779980659485,
-0.004667851608246565,
-0.057783450931310654,
-0.01551083754748106,
-0.03861391171813011,
0.0036479670088738203,
-0.015983205288648605,
0.0005332924192771316,
0.04036596789956093,
-0.07015089690685272,
0.00903510581701994,
0.03631219267845154,
-0.044454094022512436,
0.006213782355189323,
0.0315198078751564,
-0.01049515139311552,
-0.02585139498114586,
-0.03765200078487396,
0.02521584741771221,
-0.025112785398960114,
-0.060875315219163895,
0.029492922127246857,
0.04174012690782547,
0.005883125122636557,
-0.034611668437719345,
0.0018916178960353136,
-0.011122112162411213,
0.023017190396785736,
-0.03181181848049164,
-0.010005606338381767,
-0.02920091152191162,
-0.000251616322202608,
0.014720695093274117,
0.027637803927063942,
0.04163706675171852,
0.028719956055283546,
-0.052595995366573334,
0.011431298218667507,
-0.017949972301721573,
-0.009945487603545189,
0.03758329153060913,
0.03299703076481819,
-0.046000026166439056,
-0.03024870902299881,
0.004219102207571268,
-0.026830485090613365,
-0.005011391825973988,
-0.002171817934140563,
0.012668042443692684,
0.006608853582292795,
0.07715911418199539,
-0.0227251797914505,
0.01961614191532135,
0.03947276249527931,
0.02602316625416279,
-0.005187456030398607,
-0.0086829774081707,
0.05417628213763237,
0.024408526718616486,
-0.019049301743507385,
0.06987606734037399,
-0.028651248663663864,
-0.01740889623761177,
0.014832345768809319,
-0.07935777306556702,
-0.006930922623723745,
0.02738014981150627,
0.02124795876443386,
-0.029235266149044037,
-0.03662138059735298,
0.02066393941640854,
-0.015175885520875454,
0.025971634313464165,
0.005792945623397827,
-0.01849963702261448,
0.036861859261989594,
0.021574320271611214,
0.0666811391711235,
0.033306218683719635,
0.038407787680625916,
-0.020440638065338135,
0.02602316625416279,
0.0022394522093236446,
0.07179988920688629,
-0.026057519018650055,
0.03775506094098091,
-0.03148545324802399,
0.03974759578704834,
0.012341680005192757,
-0.014222562313079834,
-0.029183736070990562,
0.0838237926363945,
-0.0024756360799074173,
0.021797621622681618,
-0.05393580347299576,
-0.06090966612100601,
0.024752067402005196,
-0.01732301153242588,
0.01257356908172369,
-0.043767012655735016,
0.060531772673130035,
-0.02963033691048622,
-0.018207628279924393,
0.016575811430811882,
0.07764007151126862,
-0.048507869243621826,
-0.010692686773836613,
0.02375580184161663,
-0.015588133595883846,
0.04215237498283386,
0.005835887975990772,
-0.02799852192401886,
0.04943542554974556,
0.007373230531811714,
-0.059329383075237274,
-0.0030424774158746004,
0.0077210646122694016,
-0.030609427019953728,
-0.004539024084806442,
0.008429616689682007,
-0.005131630692631006,
0.02341226115822792,
-0.047133706510066986,
0.013063114136457443,
0.04902317747473717,
0.032876793295145035,
0.0040387436747550964,
0.01646416075527668,
-0.0124876843765378,
-0.016653109341859818,
0.003974330145865679,
-0.009782305918633938,
0.044454094022512436,
-0.01781255565583706,
-0.04854222387075424,
0.005904596298933029,
-0.021282311528921127,
-0.04971025884151459,
-0.01901494711637497,
0.09694702923297882,
0.035041093826293945,
0.004015125334262848,
0.004352224059402943,
-0.04957284405827522,
-0.007420467212796211,
0.0010177376680076122,
-0.01529612485319376,
0.06489473581314087,
-0.02341226115822792,
0.0009291687165386975,
0.025301732122898102,
0.0008400630322284997,
0.008141901344060898,
0.023876039311289787,
-0.03299703076481819,
-0.010057137347757816,
0.027792397886514664,
-0.003982918336987495,
-0.07179988920688629,
-0.033220332115888596,
0.02705378644168377,
-0.035659465938806534,
-0.049744613468647,
0.031038852408528328,
0.02877148613333702,
-0.03830472752451897,
-0.039026159793138504,
0.0499507375061512,
-0.011242351494729519,
0.004401607904583216,
0.04569083824753761,
-0.002172891516238451,
-0.002525020157918334,
-0.03693056479096413,
-0.028050052002072334,
-0.07296792417764664,
-0.02184915356338024,
0.039094869047403336,
0.04751160368323326,
-0.02662436105310917,
-0.04819868132472038,
-0.04101869463920593,
-0.02392757125198841,
0.0032893968746066093,
-0.03548769652843475,
0.017949972301721573,
0.033409278839826584,
0.07262438535690308,
0.012951463460922241,
0.0014836640330031514,
0.044969405978918076,
0.03249889612197876,
0.030609427019953728,
0.07928906381130219,
-0.03282526135444641,
0.021385373547673225,
-0.021402550861239433,
-0.05046604573726654,
0.040400322526693344,
-0.06427635997533798,
-0.004869681317359209,
0.011697541922330856,
-0.010941753163933754,
0.007772595621645451,
0.0499507375061512,
0.0063812583684921265,
-0.0012668042909353971,
0.0018486754270270467,
-0.017932794988155365,
-0.04562213271856308,
0.004128923173993826,
-0.015167297795414925,
-0.0114141209051013,
-0.04854222387075424,
-0.006093543488532305,
0.0005271193804219365,
-0.011173643171787262,
-0.04060644656419754,
0.031949233263731,
-0.02514713816344738,
0.03706798329949379,
-0.018465282395482063,
0.010306204669177532,
-0.007098398171365261,
-0.020612409338355064,
0.0456564836204052,
-0.026899192482233047,
0.05795522406697273,
-0.011534360237419605,
-0.0028470889665186405,
0.06372669339179993,
0.02911502681672573,
-0.06328009814023972,
-0.03414788842201233,
0.013939141295850277,
0.04397313669323921,
-0.026899192482233047,
0.007948660291731358,
-0.04314864054322243,
0.03785812482237816,
-0.05926067382097244,
-0.02169455960392952,
-0.003012417582795024,
-0.047820787876844406,
-0.07571624964475632,
-0.020028389990329742,
-0.011087758466601372,
0.010812926106154919,
-0.009155345149338245,
0.013604189269244671,
-0.036587025970220566,
0.03610606864094734,
0.011087758466601372,
-0.000755788292735815,
0.003319456707686186,
0.052321162074804306,
-0.058711010962724686,
-0.04167141765356064,
-0.05922631919384003,
0.06125320866703987,
-0.0544511117041111,
-0.025129960849881172,
-0.058539241552352905,
0.042736392468214035,
0.01551083754748106,
-0.028445124626159668,
0.017563490197062492,
0.013827490620315075,
0.04088127613067627,
0.03933534771203995,
0.008390967734158039,
0.04527859017252922,
-0.03562511131167412,
-0.024322642013430595,
-0.0010311572114005685,
-0.037274107336997986,
0.0011712572304531932,
0.0570276640355587,
-0.0037939713802188635,
-0.016180740669369698,
-0.015141531825065613,
0.014789403416216373,
-0.029595984145998955,
0.028239000588655472,
-0.008154784329235554,
-0.027242733165621758,
-0.06376104801893234,
-0.031056029722094536,
-0.009593358263373375,
-0.0031476865988224745,
-0.05479465425014496,
-0.01953025721013546,
-0.04318299517035484,
0.023824509233236313,
0.002958739409223199,
0.004176159854978323,
0.023738624528050423,
0.06784918159246445,
-0.025284554809331894,
0.0728992149233818,
-0.055859629064798355,
-0.0027805280406028032,
0.0649634376168251,
0.03723975270986557,
0.0077339475974440575,
-0.019083654507994652,
0.024339819326996803,
-0.06204335018992424,
0.059672921895980835,
-0.028582539409399033,
0.05479465425014496,
0.024580297991633415,
0.08196868002414703,
-0.013020171783864498,
0.018276335671544075,
-0.0473741851747036,
-0.015218828804790974,
-0.032790906727313995,
0.03351234272122383,
0.0623868890106678,
-0.01175766158849001,
0.03134803846478462,
0.03820166364312172,
-0.002329631708562374,
-0.007351758889853954,
-0.0159746166318655,
0.08107547461986542,
0.009275583550333977,
-0.015141531825065613,
0.009730774909257889,
0.014128088019788265,
0.039885010570287704,
-0.003914210479706526,
-0.028050052002072334,
0.011714719235897064,
-0.045450359582901,
0.04527859017252922,
0.030111294239759445,
-0.0561688132584095,
0.03246454522013664,
0.022845419123768806,
0.006930922623723745,
-0.02384168654680252,
0.03179464116692543,
-0.03354669362306595,
-0.007463409565389156,
-0.010589624755084515,
-0.03507544845342636,
-0.0076137082651257515,
0.024666182696819305,
-0.0012249352876096964,
0.0027461741119623184,
0.016627343371510506,
-0.01796714961528778,
-0.0426676869392395,
-0.04211802035570145,
0.013921963982284069,
-0.011929431930184364,
0.03265349194407463,
-0.055962689220905304,
-0.05036298558115959,
-0.03241301327943802,
0.002415516646578908,
-0.026985079050064087,
-0.003665143856778741,
0.025542208924889565,
-0.005861653480678797,
0.0578865148127079,
0.034869324415922165,
0.050259921699762344,
0.038407787680625916,
0.029664691537618637,
-0.0746169164776802,
-0.010873045772314072,
-0.0033409278839826584,
0.07283051311969757,
0.006613147910684347,
-0.002265217714011669,
-0.023188959807157516,
-0.015725549310445786,
-0.0048482101410627365,
-0.02133384346961975,
-0.08093805611133575,
0.039953719824552536,
-0.03222406655550003,
0.05936373770236969,
-0.060188233852386475,
0.0499507375061512,
-0.06348621845245361,
0.033409278839826584,
0.02756909653544426,
-0.06987606734037399,
0.033563870936632156,
-0.10642873495817184,
-0.0026409649290144444,
0.015785669907927513,
-0.026212112978100777,
-0.0533861368894577,
-0.07537271082401276,
0.002769792452454567,
0.008725919760763645,
0.02602316625416279,
-0.03717104345560074,
0.043938785791397095,
-0.009584769606590271,
-0.004822444636374712,
-0.0606691911816597,
0.014334212057292461,
-0.03562511131167412,
-0.012848401442170143,
-0.08251833915710449,
-0.031949233263731,
-0.01839657500386238,
-0.029853638261556625,
-0.06008516997098923,
0.04847351461648941,
0.04500376060605049,
0.012650866061449051,
-0.008098958991467953,
-0.008889101445674896,
0.038751326501369476,
-0.022931303828954697,
-0.03531592711806297,
0.025937281548976898,
-0.013363711535930634,
-0.02480359748005867,
-0.007184283342212439,
-0.025507856160402298,
0.040915630757808685,
0.014471628703176975,
-0.06719645112752914,
-0.02124795876443386,
0.002576551167294383,
-0.0924123004078865,
0.014703517779707909,
0.03351234272122383,
-0.011216585524380207,
-0.024339819326996803,
-0.08753402531147003,
0.029080674052238464,
0.03617477789521217,
0.016026148572564125,
0.023274844512343407,
-0.004081686493009329,
-0.01170613057911396,
-0.010606802068650723,
-0.005290518049150705,
-0.032619137316942215,
0.013226295821368694,
0.011869312264025211,
-0.04960719496011734,
0.023876039311289787,
0.0029458566568791866,
-0.021814798936247826,
-0.03899180516600609,
-0.039713241159915924,
-0.01798432692885399,
-0.029235266149044037,
0.04156835749745369,
0.023532500490546227,
-0.014196796342730522,
0.00474944245070219,
-0.004423079546540976,
-0.03474908694624901,
0.015184474177658558,
-0.004753736779093742,
0.01884317770600319,
0.014256916008889675,
0.02308589778840542,
-0.027431679889559746,
0.028531009331345558,
-0.011122112162411213,
0.015227416530251503,
-0.05486335977911949,
0.006720504257827997,
0.07839585840702057,
-0.04555342346429825,
-0.021385373547673225,
-0.016962295398116112,
0.00371667486615479,
0.013114645145833492,
0.055687855929136276,
0.01603473536670208,
0.003955006133764982,
-0.01755490154027939,
-0.03024870902299881,
0.06108143925666809,
0.019736381247639656,
0.004358665551990271,
0.06565052270889282,
0.02255341038107872,
-0.018465282395482063,
-0.04400749132037163,
-0.04977896809577942,
-0.03502391651272774,
0.0750291645526886,
-0.0034547254908829927,
-0.03820166364312172,
0.020784178748726845,
-0.0029501509852707386,
0.009516062214970589,
-0.023034365847706795,
0.03964453190565109,
0.01751195825636387,
0.02772369049489498,
-0.001666169730015099,
0.009421588853001595,
-0.02334355190396309,
-0.02392757125198841,
0.01584578864276409,
0.06819272041320801,
0.05582527443766594,
-0.03785812482237816,
-0.018190450966358185,
0.05599704384803772,
-0.005067217163741589,
0.02212398499250412,
0.029338328167796135,
0.02937268279492855,
-0.04043467342853546,
0.006677561439573765,
0.01980508863925934,
0.030609427019953728,
0.006132191512733698,
-0.03603735938668251,
-0.04314864054322243,
0.06760869920253754,
0.03548769652843475,
-0.059054549783468246,
0.08313671499490738,
-0.020286045968532562,
-0.026057519018650055
] |
10,318 | fractions | __trunc__ | trunc(a) | def __trunc__(a):
"""trunc(a)"""
if a._numerator < 0:
return -(-a._numerator // a._denominator)
else:
return a._numerator // a._denominator
| (a) | [
-0.050695326179265976,
0.03009280003607273,
0.0848948284983635,
0.04051484912633896,
0.03406146168708801,
-0.014494238421320915,
0.020084872841835022,
-0.05052277445793152,
-0.027659839019179344,
0.024364124983549118,
0.01787622831761837,
-0.00803653709590435,
0.03414773568511009,
-0.0436207540333271,
-0.06819193810224533,
0.043931346386671066,
-0.015486403368413448,
0.037132859230041504,
0.00869222916662693,
0.030679471790790558,
0.02481275610625744,
0.016590725630521774,
0.0022798229474574327,
0.013441680930554867,
-0.06981391459703445,
-0.03447557985782623,
0.039790134876966476,
0.01730681024491787,
-0.042136821895837784,
-0.021551551297307014,
0.04244741424918175,
0.010120084509253502,
0.06598329544067383,
-0.0017783481162041426,
0.02165508270263672,
-0.057148709893226624,
-0.013260502368211746,
0.011845588684082031,
-0.13017205893993378,
0.007273001596331596,
-0.04776196554303169,
0.011992257088422775,
-0.03352655470371246,
0.0034984606318175793,
-0.029540637508034706,
-0.021085666492581367,
0.08137479424476624,
0.003509244881570339,
-0.020654289051890373,
0.03771952912211418,
-0.010370282456278801,
0.05159258842468262,
-0.008726739324629307,
0.03640814498066902,
-0.09531687200069427,
0.06249777600169182,
0.015917779877781868,
-0.0007425061776302755,
-0.025934332981705666,
-0.01273422408849001,
0.002183841774240136,
0.02255234494805336,
0.04220584034919739,
-0.05407731235027313,
0.013191482052206993,
0.03252576291561127,
-0.0342857763171196,
0.07937321066856384,
0.00023132545175030828,
0.025934332981705666,
-0.059391867369413376,
0.004827098920941353,
-0.006263581570237875,
0.003039045026525855,
0.005573379807174206,
0.024019023403525352,
0.01992957852780819,
0.04013523459434509,
0.0332159623503685,
-0.03916895389556885,
0.032042618840932846,
0.032491251826286316,
0.02049899473786354,
0.05625144764780998,
0.03112810291349888,
-0.0392724834382534,
-0.04048033803701401,
-0.0014968751929700375,
0.01894604042172432,
0.022535089403390884,
-0.042585451155900955,
0.03633912652730942,
0.013087952509522438,
0.0009873121744021773,
-0.03899640217423439,
0.08634424954652786,
-0.05266239866614342,
-0.0157883670181036,
0.02058526873588562,
-0.04317212477326393,
0.03727089986205101,
0.06732919067144394,
-0.029299067333340645,
0.009645571000874043,
0.022483324632048607,
0.011742058210074902,
0.056562040001153946,
-0.05335260182619095,
-0.010301262140274048,
0.0828932374715805,
-0.06142796203494072,
0.022034693509340286,
-0.04220584034919739,
0.01640092022716999,
-0.049798060208559036,
-0.04030778631567955,
-0.02255234494805336,
0.0045121945440769196,
0.052144747227430344,
0.02538217231631279,
0.019222121685743332,
-0.030783001333475113,
-0.013890312053263187,
0.005573379807174206,
0.021379001438617706,
0.030334370210766792,
0.008183205500245094,
-0.013993842527270317,
-0.02791866473853588,
0.011578136123716831,
0.05179964751005173,
0.04079092666506767,
-0.004212387837469578,
-0.004525135736912489,
0.05925382673740387,
0.05818401277065277,
0.0035264999605715275,
0.03521754965186119,
0.011897354386746883,
0.018997805193066597,
-0.02579629421234131,
-0.019032316282391548,
0.006871821824461222,
0.034579113125801086,
-0.01238049566745758,
0.06173855438828468,
0.046761173754930496,
0.05121297761797905,
-0.00854556169360876,
0.030524175614118576,
-0.027625327929854393,
0.023570392280817032,
0.12982696294784546,
-0.015796994790434837,
0.02567550726234913,
-0.02734924666583538,
-0.014744436368346214,
-0.016012681648135185,
-0.014977379702031612,
0.010810285806655884,
0.012993049807846546,
-0.013131089508533478,
0.01160401850938797,
-0.025192366912961006,
-0.007635357789695263,
-0.027521798387169838,
0.004805530421435833,
-0.016538960859179497,
-0.03369910269975662,
0.03882385417819023,
0.06612133234739304,
0.004568273201584816,
0.004302977118641138,
0.007846731692552567,
-0.0006050050142221153,
0.04013523459434509,
0.010534205473959446,
0.03782305866479874,
-0.05573379620909691,
0.04244741424918175,
0.03131790831685066,
-0.028505336493253708,
-0.013312268070876598,
-0.008938114158809185,
0.03352655470371246,
-0.025899823755025864,
-0.02350137196481228,
-0.01894604042172432,
-0.007083196192979813,
-0.028073959052562714,
-0.0007775555131956935,
-0.0002452103653922677,
0.023846473544836044,
-0.06270483881235123,
-0.010508323088288307,
-0.01906682550907135,
-0.017600147053599358,
-0.025520212948322296,
0.07316139340400696,
-0.01002518180757761,
-0.09324626624584198,
-0.005504359491169453,
0.0032245367765426636,
-0.03104182705283165,
0.0261586494743824,
0.0015799151733517647,
-0.03200811147689819,
0.024899030104279518,
-0.055043596774339676,
0.015495031140744686,
-0.03972111642360687,
0.0009091251995414495,
0.0019002119079232216,
-0.022914700210094452,
-0.00026125216390937567,
-0.011905981227755547,
0.04099798947572708,
-0.02869514189660549,
0.03340576961636543,
0.03273282200098038,
-0.02714218758046627,
-0.05921931564807892,
0.049383942037820816,
-0.028108470141887665,
0.0064620147459208965,
0.010206359438598156,
-0.029419852420687675,
-0.011880098842084408,
0.027728859335184097,
0.0037098347675055265,
0.039583075791597366,
-0.06408523768186569,
-0.06933077424764633,
-0.04810706898570061,
0.011448723264038563,
-0.007928693667054176,
-0.033802635967731476,
-0.023691177368164062,
0.01681504212319851,
-0.04603646323084831,
-0.02833278477191925,
0.030644960701465607,
-0.025399427860975266,
0.06674251705408096,
0.006725153885781765,
-0.019411927089095116,
-0.03785756975412369,
0.018428388983011246,
0.016720138490200043,
0.030317114666104317,
-0.039790134876966476,
0.009188312105834484,
0.0036192459519952536,
-0.0004168172017671168,
0.09925102442502975,
0.02034369856119156,
-0.021137431263923645,
0.019446436315774918,
-0.011862844228744507,
0.0037421879824250937,
0.028505336493253708,
-0.0655001550912857,
0.014640905894339085,
-0.005495732184499502,
-0.036063045263290405,
0.015400128439068794,
-0.009196938946843147,
-0.05355966091156006,
0.02476099133491516,
0.067570760846138,
0.05790793523192406,
-0.006151423789560795,
0.028142979368567467,
-0.06180757284164429,
0.023397842422127724,
0.001705014263279736,
0.05832205340266228,
0.034872446209192276,
0.0076224165968596935,
0.026883361861109734,
-0.02508883737027645,
-0.03143869340419769,
-0.030248094350099564,
0.055699288845062256,
-0.010335772298276424,
0.029299067333340645,
0.04634705185890198,
-0.043896835297346115,
0.016780532896518707,
0.028315529227256775,
0.018152307718992233,
0.044518016278743744,
-0.015175812877714634,
0.023708432912826538,
0.011655783280730247,
-0.027487287297844887,
-0.01681504212319851,
-0.06187659502029419,
0.009171056561172009,
-0.0071306475438177586,
-0.025002561509609222,
-0.025848058983683586,
-0.008705170825123787,
0.05076434463262558,
0.017979757860302925,
0.02677983045578003,
0.013907566666603088,
-0.008955368772149086,
0.038237180560827255,
0.02144802175462246,
-0.05473300442099571,
-0.01084479596465826,
-0.0392034649848938,
0.011957746930420399,
0.025571977719664574,
0.011362447403371334,
0.04265447333455086,
0.04831412807106972,
-0.022276263684034348,
0.07329943776130676,
-0.014649533666670322,
0.0850328654050827,
-0.026434730738401413,
0.01535699050873518,
0.027211207896471024,
-0.031835559755563736,
-0.01820407249033451,
0.053525153547525406,
-0.014623651280999184,
-0.0008805465768091381,
-0.0894501581788063,
0.007514572236686945,
0.03226693719625473,
-0.021879397332668304,
-0.05687263235449791,
-0.023604903370141983,
0.09269410371780396,
-0.0012855009408667684,
-0.02910926192998886,
-0.03785756975412369,
0.019170355051755905,
-0.05031571164727211,
0.01906682550907135,
0.038030121475458145,
-0.02669355645775795,
0.04096347838640213,
0.04182622954249382,
-0.06832998245954514,
0.06812292337417603,
-0.010594598017632961,
-0.011345192790031433,
-0.013113834895193577,
0.038892872631549835,
-0.03664971888065338,
0.008148695342242718,
0.0056035760790109634,
-0.022604109719395638,
0.035407353192567825,
-0.03640814498066902,
-0.01367462333291769,
0.033077921718358994,
0.039790134876966476,
-0.03059319593012333,
-0.03200811147689819,
0.015727974474430084,
0.01898054964840412,
-0.058736175298690796,
-0.04310310259461403,
-0.04752039536833763,
0.011215779930353165,
-0.02365666814148426,
-0.05707969143986702,
0.012708340771496296,
-0.06832998245954514,
-0.0033108119387179613,
0.043068595230579376,
-0.02603786438703537,
-0.008813014253973961,
-0.05266239866614342,
0.04417291656136513,
0.01207853201776743,
0.011008718982338905,
-0.0414121113717556,
0.012087159790098667,
-0.017686421051621437,
0.021430766209959984,
-0.0337163582444191,
-0.045829400420188904,
0.028712395578622818,
0.02255234494805336,
-0.03557990491390228,
-0.0370638370513916,
0.016185233369469643,
0.02579629421234131,
-0.07053862512111664,
-0.0023617844562977552,
0.0021633512806147337,
-0.04206779971718788,
-0.04199878126382828,
0.025520212948322296,
0.0489698201417923,
-0.0012272651074454188,
0.010309889912605286,
0.026434730738401413,
-0.007264374289661646,
-0.0024113927502185106,
0.050902385264635086,
-0.004221015609800816,
0.03947954624891281,
0.030489666387438774,
0.005741616245359182,
-0.04251643270254135,
0.00024251427385024726,
0.05642399936914444,
0.08033949136734009,
-0.010663618333637714,
-0.05821852385997772,
-0.030852021649479866,
-0.087103471159935,
-0.038444243371486664,
-0.026296690106391907,
-0.017332693561911583,
0.023139016702771187,
0.03947954624891281,
0.027866898104548454,
-0.018135052174329758,
0.033733613789081573,
-0.018273092806339264,
-0.006660447455942631,
0.07385159283876419,
-0.014295805245637894,
-0.02103389985859394,
-0.015270715579390526,
-0.03765051066875458,
0.041550152003765106,
-0.020550759509205818,
-0.020602524280548096,
0.03300890326499939,
-0.02645198442041874,
0.024571185931563377,
0.09379842877388,
0.041515640914440155,
0.03330224007368088,
-0.021465277299284935,
0.033561065793037415,
-0.04417291656136513,
0.032370466738939285,
0.025986099615693092,
-0.05235181003808975,
-0.04952198266983032,
0.0228456798940897,
-0.040445826947689056,
0.05362868309020996,
-0.020982135087251663,
-0.038064632564783096,
-0.06225620582699776,
-0.049763552844524384,
-0.010629108175635338,
-0.002420020056888461,
-0.008196147158741951,
0.00372061925008893,
0.04179172217845917,
-0.03961758688092232,
-0.04641607403755188,
0.017720932140946388,
0.053697701543569565,
0.032335955649614334,
-0.02571001835167408,
-0.05856362357735634,
-0.03661520779132843,
0.07343747466802597,
0.008278108201920986,
-0.014606396667659283,
0.0006864272872917354,
0.01620248705148697,
0.02869514189660549,
-0.05418084189295769,
-0.02612413838505745,
0.05297299101948738,
-0.01865270361304283,
-0.03747795894742012,
-0.020775076001882553,
0.010853423736989498,
0.011914609000086784,
-0.014476983807981014,
0.030006524175405502,
-0.09076154232025146,
0.009749100543558598,
0.07122883200645447,
-0.009438510052859783,
-0.010931071825325489,
0.04883177950978279,
-0.04182622954249382,
0.022397048771381378,
-0.026624536141753197,
0.006328288000077009,
0.017600147053599358,
0.0057200477458536625,
0.0008875564089976251,
-0.005180827341973782,
-0.021965673193335533,
-0.002385510131716728,
-0.014097372069954872,
0.0033366945572197437,
0.013484817929565907,
0.01521032303571701,
-0.06056521087884903,
0.02312176115810871,
-0.06467191129922867,
-0.018273092806339264,
-0.026106884703040123,
0.013967959210276604,
-0.023794708773493767,
0.07826888561248779,
0.017237789928913116,
-0.005944363307207823,
-0.049591001123189926,
-0.04821059852838516,
0.03640814498066902,
-0.030334370210766792,
-0.00506435614079237,
-0.024019023403525352,
-0.08234107494354248,
-0.02201743796467781,
-0.009309097193181515,
-0.06612133234739304,
-0.033854398876428604,
-0.02243155986070633,
-0.005948677193373442,
0.02538217231631279,
-0.0046027833595871925,
-0.0207060556858778,
0.01598680019378662,
0.03727089986205101,
-0.020895861089229584,
0.04117053747177124,
-0.08116773515939713,
-0.0718500092625618,
0.06318797916173935,
0.02910926192998886,
-0.003688266035169363,
-0.003627873258665204,
0.025848058983683586,
-0.016987591981887817,
0.05079885572195053,
-0.02546844817698002,
-0.004576900973916054,
0.045208219438791275,
0.05811499431729317,
-0.005551810842007399,
0.0014731495175510645,
-0.056562040001153946,
0.0315077118575573,
0.04921139031648636,
-0.0250543262809515,
0.03083476610481739,
-0.002420020056888461,
-0.0025688449386507273,
0.029092006385326385,
-0.026831595227122307,
0.01193186454474926,
-0.013036186806857586,
0.11222681403160095,
-0.029350832104682922,
-0.04707176610827446,
0.0027564936317503452,
0.043068595230579376,
0.027280228212475777,
0.004922001622617245,
0.0392034649848938,
-0.03295713663101196,
-0.03021358512341976,
-0.0005737302708439529,
0.03595951572060585,
-0.037132859230041504,
0.010810285806655884,
0.021413512527942657,
-0.04058386757969856,
-0.044310957193374634,
-0.04244741424918175,
0.04075641930103302,
-0.07530102133750916,
-0.06084129214286804,
-0.036684226244688034,
-0.023311566561460495,
-0.011146759614348412,
0.01647856831550598,
-0.008472227491438389,
0.01816956326365471,
-0.020637035369873047,
-0.013864429667592049,
-0.030248094350099564,
-0.005327495280653238,
-0.023432351648807526,
0.0006459857686422765,
-0.027073167264461517,
-0.04186074063181877,
-0.013312268070876598,
-0.010180477052927017,
-0.004037680570036173,
0.002249626675620675,
0.007889869622886181,
-0.016754649579524994,
0.05690713971853256,
-0.03363008424639702,
0.031093591824173927,
0.05908127501606941,
-0.032042618840932846,
-0.04096347838640213,
-0.058943238109350204,
0.02210371382534504,
0.05014316365122795,
-0.021620571613311768,
0.010335772298276424,
-0.011371075175702572,
0.006233385298401117,
-0.002687473315745592,
-0.07737162709236145,
-0.006466328166425228,
0.050419244915246964,
-0.0655001550912857,
-0.007924379780888557,
-0.024467654526233673,
0.0005087542231194675,
-0.01816956326365471,
0.008411834947764874,
0.06739820539951324,
-0.01992957852780819,
-0.005431025754660368,
-0.05456045642495155,
0.021068410947918892,
0.014847966842353344,
0.0006168679101392627,
-0.021586062386631966,
-0.07709554582834244,
0.03432028740644455,
-0.03181830421090126,
0.0051851412281394005,
-0.017738187685608864,
0.05638948827981949,
0.042136821895837784,
-0.032422229647636414,
-0.017272301018238068,
0.007048686034977436,
0.012207944877445698,
-0.032991647720336914,
-0.03747795894742012,
0.0037745411973446608,
-0.05104042589664459,
0.011923236772418022,
-0.04317212477326393,
0.059598926454782486,
0.051281996071338654,
-0.03937601298093796,
-0.0035739513114094734,
0.019084081053733826,
0.046761173754930496,
-0.003425126662477851,
-0.04296506568789482,
0.036994818598032,
-0.005396515596657991,
-0.04641607403755188,
-0.07033156603574753,
0.032663799822330475,
0.053525153547525406,
-0.016461312770843506,
-0.0665009468793869,
0.018221328034996986,
-0.008170263841748238,
-0.03444107249379158,
-0.008558502420783043,
0.019826047122478485,
0.003953562583774328,
0.0048572951927781105,
-0.024536674842238426,
0.0010309889912605286,
0.048935309052467346,
0.022690385580062866,
0.01684955134987831,
-0.005745930131524801,
-0.046070970594882965,
-0.009153801947832108,
0.004771020263433456,
-0.026227669790387154,
0.01094832643866539,
-0.04486311972141266,
-0.0631534680724144,
0.03896189481019974,
0.017807208001613617,
0.03219791501760483,
0.025019817054271698,
-0.03509676456451416,
-0.04275800287723541,
-0.020033108070492744,
-0.0032870862632989883,
-0.010447930544614792,
-0.043482717126607895,
0.07530102133750916,
0.04765843600034714,
0.025779038667678833,
0.08130577206611633,
0.010085574351251125,
0.0007759378640912473,
-0.0013944234233349562,
-0.005167886149138212,
-0.03564892336726189,
0.046726662665605545,
-0.0015259931096807122,
-0.0009662825614213943,
-0.0342857763171196,
0.026417475193738937,
0.10497970134019852,
0.0013804036425426602,
-0.01992957852780819,
0.037132859230041504,
0.050626304000616074,
-0.010439302772283554,
0.028712395578622818,
0.026521004736423492,
0.013424425385892391,
-0.035407353192567825,
-0.03972111642360687,
0.066431924700737,
0.060254618525505066,
-0.007027117535471916,
0.002353156916797161,
0.006026324816048145,
0.009093409404158592,
-0.04834863916039467,
-0.048038046807050705,
-0.0456913597881794,
0.019670752808451653,
0.006854566745460033,
-0.01754838228225708,
0.012889519333839417,
0.020757820457220078,
-0.0075059449300169945,
0.007777711842209101,
0.01571071892976761,
-0.04010072723031044,
0.0010029495460912585,
-0.03112810291349888,
0.020274678245186806,
-0.006060834974050522,
0.004969452973455191,
-0.03480342775583267,
0.0425509437918663,
0.042827025055885315,
-0.013381288386881351,
-0.034423816949129105,
0.02526138722896576,
-0.020844094455242157,
-0.01820407249033451,
-0.007475748658180237,
-0.0050212182104587555,
-0.038892872631549835,
-0.018307603895664215,
0.028798671439290047,
0.03837522119283676,
-0.013320894911885262,
-0.01351070124655962,
-0.04275800287723541,
0.0009091251995414495,
0.08310030400753021,
-0.046519603580236435,
0.06235973536968231,
0.02082684077322483,
0.0033712044823914766
] |
10,319 | fractions | _add | a + b | def _add(a, b):
"""a + b"""
na, da = a.numerator, a.denominator
nb, db = b.numerator, b.denominator
g = math.gcd(da, db)
if g == 1:
return Fraction(na * db + da * nb, da * db, _normalize=False)
s = da // g
t = na * (db // g) + nb * s
g2 = math.gcd(t, g)
if g2 == 1:
return Fraction(t, s * db, _normalize=False)
return Fraction(t // g2, s * (db // g2), _normalize=False)
| (a, b) | [
-0.09816188365221024,
-0.03755354508757591,
0.003805920947343111,
0.0952979326248169,
-0.018884168937802315,
-0.00011984400043729693,
-0.02446887269616127,
-0.016396112740039825,
-0.05720739811658859,
-0.019492758437991142,
0.050154924392700195,
0.0026066419668495655,
0.039021316915750504,
0.04986852779984474,
-0.04661078378558159,
0.016011269763112068,
0.017291096970438957,
-0.02310849539935589,
-0.023359091952443123,
-0.03442109748721123,
-0.0681978091597557,
0.015268432907760143,
0.026097742840647697,
0.05931956321001053,
-0.04503561183810234,
0.02645573765039444,
0.06658683717250824,
-0.002140131313353777,
-0.057994987815618515,
0.030214671045541763,
0.08112138509750366,
-0.04109768196940422,
-0.04417642951011658,
-0.03626476600766182,
-0.016172368079423904,
0.02541755512356758,
0.011214153841137886,
0.019421160221099854,
-0.12637178599834442,
0.026670534163713455,
-0.024361474439501762,
0.009021442383527756,
0.007781888823956251,
-0.009934326633810997,
0.005213283933699131,
-0.037947338074445724,
-0.023394890129566193,
-0.006036669481545687,
-0.013388966210186481,
0.02650943584740162,
0.018016034737229347,
-0.029623981565237045,
-0.031217053532600403,
0.031002258881926537,
-0.00827860552817583,
0.04643178731203079,
0.005548902787268162,
0.006882429588586092,
-0.047290973365306854,
0.03773254156112671,
0.04371103644371033,
-0.025614451617002487,
-0.009227288886904716,
-0.02586504817008972,
-0.009979075752198696,
0.02258940599858761,
-0.06601404398679733,
-0.015384781174361706,
-0.005960595794022083,
0.03869912400841713,
-0.03653326258063316,
0.02695692889392376,
0.025811348110437393,
-0.02541755512356758,
0.0006706789135932922,
0.04467761889100075,
0.03783993795514107,
0.02491636388003826,
0.0479353629052639,
0.0005378296482376754,
0.04947473481297493,
-0.051622696220874786,
0.00951368361711502,
-0.04159887135028839,
0.019009467214345932,
0.021211128681898117,
-0.041921067982912064,
-0.018902068957686424,
0.001632227678783238,
-0.023162195459008217,
-0.0334366150200367,
-0.08677767962217331,
0.03708815202116966,
0.01815028302371502,
0.03091275878250599,
0.0005850960151292384,
-0.0235022883862257,
-0.015859123319387436,
-0.04081128537654877,
-0.0027878761757165194,
-0.011402100324630737,
0.07453429698944092,
-0.013818558305501938,
-0.040417492389678955,
0.03180774301290512,
-0.08513091504573822,
0.032076239585876465,
-0.04056069254875183,
0.02742232009768486,
0.0733887180685997,
0.001318983151577413,
-0.0605725422501564,
-0.020835235714912415,
0.008940894156694412,
-0.03673015907406807,
0.01685255579650402,
0.0009744142298586667,
0.0037969711702317,
0.047827962785959244,
0.04177786782383919,
-0.000953158363699913,
0.041419874876737595,
0.025739749893546104,
0.0460737943649292,
0.05273247882723808,
-0.011965940706431866,
0.05616921931505203,
-0.013943856582045555,
-0.05584702268242836,
-0.015322132036089897,
0.05928376317024231,
0.0029914851766079664,
-0.0071688247844576836,
0.023162195459008217,
0.028728997334837914,
0.055059436708688736,
0.024254076182842255,
0.024612069129943848,
0.037052351981401443,
0.0115184485912323,
-0.004761316813528538,
-0.03852012753486633,
0.011420000344514847,
-0.011079906485974789,
-0.008314404636621475,
0.0596417561173439,
-0.007021152414381504,
-0.0063141146674752235,
-0.0629711002111435,
0.039952103048563004,
0.0039021316915750504,
-0.004369761329144239,
0.04754156991839409,
0.0011545298621058464,
0.0060187699273228645,
-0.03180774301290512,
0.057636991143226624,
0.00213901256211102,
-0.021694419905543327,
-0.01968965493142605,
0.06182551756501198,
0.02504166215658188,
0.04360363632440567,
0.013469514437019825,
0.01657511107623577,
-0.0022038989700376987,
-0.009361536242067814,
0.01199279073625803,
-0.0548088401556015,
-0.017344797030091286,
0.014516646042466164,
-0.04027429595589638,
-0.008336779661476612,
0.010507116094231606,
0.004065466579049826,
-0.055131036788225174,
-0.011115705594420433,
-0.02455837093293667,
-0.01856197603046894,
-0.05094251036643982,
0.055596429854631424,
0.0025171434972435236,
-0.014033354818820953,
0.0030004349537193775,
0.017604341730475426,
0.0018201743951067328,
-0.007450744975358248,
0.002823675749823451,
0.05770859122276306,
-0.024307774379849434,
0.057959187775850296,
0.038412727415561676,
-0.01863357424736023,
-0.004806065931916237,
0.011625846847891808,
-0.03318601846694946,
-0.016243966296315193,
-0.002781163901090622,
0.027243323624134064,
0.09536953270435333,
-0.0746774971485138,
-0.013075721450150013,
0.008287555538117886,
-0.013397916220128536,
0.04897354543209076,
-0.025686051696538925,
-0.07124075293540955,
0.057529594749212265,
-0.03166454657912254,
-0.007759514264762402,
-0.02149752341210842,
0.021264828741550446,
-0.014615094289183617,
0.06425987929105759,
-0.040453292429447174,
0.010614514350891113,
0.0481143593788147,
-0.019242163747549057,
0.0403100959956646,
-0.0018201743951067328,
0.024379374459385872,
-0.005933746229857206,
0.054128654301166534,
-0.020781537517905235,
0.03630056604743004,
-0.045858997851610184,
-0.0021255877800285816,
0.051658496260643005,
0.006810830906033516,
-0.02939128689467907,
0.021694419905543327,
0.007701340597122908,
-0.037446144968271255,
-0.03916451707482338,
0.015447430312633514,
0.03472539409995079,
-0.019206363707780838,
0.007361246272921562,
0.0022956349421292543,
-0.014427147805690765,
-0.05416445434093475,
0.02060253918170929,
-0.05745799466967583,
0.031002258881926537,
-0.0587109737098217,
-0.046252790838479996,
-0.0175595935434103,
0.0007864675135351717,
-0.0010040606139227748,
0.03862752392888069,
0.00488213961943984,
-0.009961175732314587,
0.01126785296946764,
-0.018776772543787956,
-0.030250471085309982,
0.04686138033866882,
-0.04704037681221962,
-0.006667633540928364,
0.01375590916723013,
0.005186434369534254,
0.038018934428691864,
0.021390125155448914,
-0.0037208974827080965,
0.026151442900300026,
-0.0889972448348999,
0.007634216453880072,
0.013639561831951141,
0.0067079076543450356,
0.028514200821518898,
0.02548915520310402,
0.09393756091594696,
-0.025238558650016785,
0.05176589637994766,
-0.019976051524281502,
-0.0003339410468470305,
-0.04081128537654877,
0.04245805740356445,
0.08556050062179565,
-0.013442665338516235,
-0.001064472016878426,
-0.01815028302371502,
-0.004291450139135122,
-0.029749279841780663,
0.01103515736758709,
-0.01794443652033806,
0.04360363632440567,
0.02688533067703247,
-0.019385360181331635,
-0.03193304315209389,
-0.033955708146095276,
-0.002263191621750593,
-0.0035419005434960127,
0.015948621556162834,
0.06060834228992462,
0.031217053532600403,
0.04560840129852295,
-0.055990222841501236,
-0.009415235370397568,
0.015877023339271545,
0.06794720888137817,
-0.056026019155979156,
0.011482649482786655,
0.04754156991839409,
0.018016034737229347,
-0.044355425983667374,
-0.0403100959956646,
0.09150320291519165,
0.005942696239799261,
-0.004302637185901403,
0.013165219686925411,
-0.07388991117477417,
0.036569058895111084,
0.018033934757113457,
0.06719542294740677,
0.008435227908194065,
-0.010802460834383965,
-0.0224820077419281,
0.02547125518321991,
-0.015527978539466858,
-0.008444176986813545,
-0.006354388780891895,
0.035029686987400055,
0.01446294691413641,
0.001335764187388122,
0.029140690341591835,
0.02991037629544735,
-0.02394978143274784,
0.016038119792938232,
0.04023849591612816,
0.009540533646941185,
-0.0889972448348999,
0.014883589930832386,
0.020495140925049782,
0.04843655228614807,
-0.0460737943649292,
-0.04653918743133545,
0.04750576987862587,
-0.013236818835139275,
-0.022231411188840866,
-0.015322132036089897,
-0.018239781260490417,
0.029659781605005264,
-0.004922413732856512,
-0.005356481298804283,
0.027171725407242775,
-0.037446144968271255,
-0.00007901033677626401,
-0.02405717968940735,
0.01295937318354845,
-0.03091275878250599,
-0.04836495593190193,
-0.03959410637617111,
-0.006891379598528147,
-0.04550100490450859,
0.02541755512356758,
0.06612144410610199,
-0.017604341730475426,
0.00019773560052271932,
0.029480785131454468,
-0.021748119965195656,
0.016691457480192184,
0.057636991143226624,
-0.004877664614468813,
0.031091757118701935,
-0.02357388846576214,
0.0071240756660699844,
-0.06522645801305771,
-0.005839772988110781,
-0.012091238982975483,
-0.07596626877784729,
0.033526115119457245,
-0.02880059741437435,
0.04206426441669464,
0.006367813795804977,
-0.011876442469656467,
0.04807855933904648,
0.04961793124675751,
0.026831630617380142,
-0.03665855899453163,
-0.004716567695140839,
0.005589177366346121,
-0.005638401489704847,
-0.07346031814813614,
0.026795832440257072,
0.03166454657912254,
0.024719467386603355,
0.07396150380373001,
-0.05054871737957001,
-0.009173589758574963,
0.03323971852660179,
-0.043854232877492905,
-0.02690322883427143,
0.054092854261398315,
0.01122310385107994,
-0.10081103444099426,
-0.06601404398679733,
0.048150159418582916,
-0.04764896631240845,
-0.04714777693152428,
0.024629969149827957,
0.07360351085662842,
0.003886469639837742,
-0.013791709206998348,
0.0072269984520971775,
-0.0035978371743112803,
-0.002443307312205434,
0.0023291967809200287,
-0.010247570462524891,
-0.023162195459008217,
0.046288590878248215,
-0.07947461307048798,
-0.10388978570699692,
-0.027565518394112587,
0.05083511024713516,
-0.0488661453127861,
-0.010641364380717278,
-0.0313960500061512,
-0.06676582992076874,
-0.0431024469435215,
0.008314404636621475,
0.03386620804667473,
-0.01623501628637314,
-0.057565394788980484,
0.06397347897291183,
0.043317243456840515,
-0.04943893477320671,
0.048257555812597275,
0.015859123319387436,
-0.026652634143829346,
-0.0009783298010006547,
0.006023244932293892,
-0.001489030197262764,
0.03581727296113968,
-0.029606081545352936,
0.03293542563915253,
-0.03334711864590645,
-0.001541610574349761,
0.019904451444745064,
0.03737454488873482,
0.0016870455583557487,
0.05137210339307785,
-0.01245818194001913,
-0.03148555010557175,
-0.029140690341591835,
-0.02207031473517418,
-0.12379423528909683,
0.022625204175710678,
-0.030268371105194092,
-0.04063228890299797,
-0.061897117644548416,
0.025149060413241386,
-0.027834013104438782,
0.010426567867398262,
0.04689718037843704,
0.04210006445646286,
-0.02547125518321991,
0.012637179344892502,
-0.033615611493587494,
0.011572147719562054,
0.013281567953526974,
-0.012297085486352444,
0.04639598727226257,
0.0019409973174333572,
0.06630044430494308,
-0.017300046980381012,
0.0401310995221138,
0.06272049993276596,
-0.0028303880244493484,
-0.018973669037222862,
0.018418777734041214,
0.006372288800776005,
0.018919968977570534,
-0.02158702351152897,
-0.050226520746946335,
0.03166454657912254,
-0.007741614710539579,
-0.024719467386603355,
-0.03726714849472046,
0.0068063559010624886,
-0.029104890301823616,
-0.002637966303154826,
0.023717084899544716,
-0.01763119176030159,
0.019492758437991142,
0.029086992144584656,
0.053197868168354034,
0.013039922341704369,
0.03127075359225273,
0.09923586249351501,
-0.014140753075480461,
0.02455837093293667,
-0.008918519131839275,
-0.043353043496608734,
0.004369761329144239,
-0.09250558167695999,
0.006367813795804977,
-0.01856197603046894,
-0.059928152710199356,
-0.010050673969089985,
0.017273198813199997,
0.010328119620680809,
-0.03579937294125557,
-0.06229091063141823,
0.015474279411137104,
0.03823373094201088,
0.034492697566747665,
-0.02255360595881939,
0.027171725407242775,
-0.01270877756178379,
0.034063104540109634,
-0.0657634511590004,
-0.0075894673354923725,
0.0036582485772669315,
0.04274445399641991,
0.045858997851610184,
0.03091275878250599,
0.006551285274326801,
-0.016378214582800865,
0.01863357424736023,
-0.06218351423740387,
-0.011402100324630737,
0.005763699300587177,
-0.029212288558483124,
-0.05846037715673447,
-0.01200173981487751,
-0.0015393730718642473,
-0.08684927970170975,
-0.02543545514345169,
-0.04449862241744995,
0.010104373097419739,
-0.022195611149072647,
-0.00005723005597246811,
-0.002396320691332221,
0.009142264723777771,
-0.05437925085425377,
0.014561395160853863,
-0.028746897354722023,
-0.014507696032524109,
-0.0020998569671064615,
-0.025220658630132675,
0.022661004215478897,
0.009916426613926888,
0.05283987522125244,
0.020692037418484688,
-0.011411050334572792,
0.05137210339307785,
0.014650894328951836,
-0.004235513508319855,
0.0479353629052639,
-0.010650313459336758,
-0.0011701920302584767,
-0.003492676420137286,
-0.02744022011756897,
0.06880639493465424,
0.04245805740356445,
0.02445097267627716,
-0.023788684979081154,
-0.010569765232503414,
-0.0029802978970110416,
-0.02260730415582657,
0.03239843249320984,
-0.024254076182842255,
0.027153825387358665,
-0.049259938299655914,
-0.06891379505395889,
-0.025220658630132675,
0.02880059741437435,
-0.014561395160853863,
0.048185959458351135,
-0.01918846368789673,
-0.04378263279795647,
-0.01666460931301117,
-0.023627586662769318,
-0.012359733693301678,
-0.043818432837724686,
0.01804288476705551,
-0.05101410672068596,
0.0018492614617571235,
-0.012028589844703674,
0.028746897354722023,
-0.05860357731580734,
-0.016736207529902458,
-0.005911371670663357,
-0.008314404636621475,
0.019367462024092674,
0.017514843493700027,
0.0029444985557347536,
-0.019958151504397392,
0.02244620770215988,
-0.012404482811689377,
-0.034582193940877914,
-0.031217053532600403,
0.04847235232591629,
-0.021229028701782227,
-0.03635426610708237,
-0.01645876280963421,
-0.0566704086959362,
0.053197868168354034,
-0.026223041117191315,
-0.023627586662769318,
0.01300412230193615,
-0.010408667847514153,
0.02745812013745308,
0.01274457760155201,
0.018919968977570534,
0.09436715394258499,
-0.006654208526015282,
-0.025757649913430214,
-0.05570382624864578,
-0.09114520996809006,
0.026670534163713455,
0.022428307682275772,
-0.006578134838491678,
0.006895854603499174,
0.022338809445500374,
-0.0429234504699707,
-0.03490439057350159,
-0.04657498747110367,
-0.030053574591875076,
0.05978495627641678,
-0.05140789970755577,
0.03229103609919548,
-0.030715862289071083,
0.023609686642885208,
-0.03606786951422691,
0.018284529447555542,
0.028532100841403008,
-0.03431370109319687,
0.03927191346883774,
0.00038064803811721504,
-0.0230368971824646,
0.03866332396864891,
-0.017693839967250824,
-0.021730219945311546,
-0.006457312032580376,
-0.022768402472138405,
0.012538731098175049,
0.021443825215101242,
-0.0009369367617182434,
0.0460737943649292,
-0.0026782406494021416,
0.0050924611277878284,
-0.09286357462406158,
-0.02738652192056179,
0.001692639198154211,
0.01863357424736023,
-0.06182551756501198,
-0.08756526559591293,
0.034492697566747665,
0.0201550479978323,
-0.024092979729175568,
0.03508338704705238,
0.05731479823589325,
-0.03166454657912254,
0.021640721708536148,
0.014355548657476902,
0.04890194535255432,
0.026760032400488853,
-0.002957923337817192,
0.0024097454734146595,
0.02638413943350315,
-0.04206426441669464,
0.02454047091305256,
0.004246700555086136,
-0.055202633142471313,
0.035495080053806305,
0.007817688398063183,
-0.01731794700026512,
0.022177712991833687,
-0.048687148839235306,
-0.025578653439879417,
-0.008274130523204803,
-0.025238558650016785,
0.044283825904130936,
-0.04256545752286911,
0.05470144376158714,
0.008399427868425846,
0.013917006552219391,
0.034582193940877914,
-0.012109138071537018,
-0.02994617633521557,
0.022661004215478897,
-0.01368431095033884,
-0.05155109986662865,
-0.0283352043479681,
-0.01324576884508133,
-0.018776772543787956,
0.0393793098628521,
0.04596639797091484,
-0.008994592353701591,
0.003477014135569334,
-0.025793449953198433,
-0.00626041553914547,
-0.0014207876520231366,
-0.010936709120869637,
0.06161072477698326,
-0.020262446254491806,
-0.025632351636886597,
-0.03230893611907959,
0.0007601773249916732,
0.02942708507180214,
-0.006179866846650839,
0.009110940620303154,
-0.00164788996335119,
0.007862437516450882,
0.015044687315821648,
0.015447430312633514,
0.01908106729388237,
0.01685255579650402,
-0.06515485793352127,
-0.029749279841780663,
0.03141395002603531,
-0.039880502969026566,
0.009719530120491982,
-0.0006304046255536377,
0.03374091163277626,
0.052625078707933426,
0.018123432993888855,
-0.017067352309823036,
0.015402681194245815,
-0.05978495627641678,
-0.008650023490190506,
0.12307824939489365,
0.02207031473517418,
0.016396112740039825,
-0.019797053188085556,
0.0796894058585167,
-0.0668732300400734,
-0.013299467042088509,
-0.00575922429561615,
-0.02835310436785221,
0.06601404398679733,
0.028245706111192703,
0.006775031331926584,
-0.032487932592630386,
-0.012664028443396091,
0.028317304328083992,
0.004823965486139059,
0.02198081649839878,
-0.023090597242116928,
0.029731379821896553,
-0.03422420099377632,
0.04900934174656868,
-0.07009517401456833,
-0.04603799432516098,
-0.030733762308955193,
0.05051291733980179,
0.03490439057350159,
-0.012869874946773052,
0.004806065931916237,
0.04832915589213371,
-0.01857987605035305,
0.04156307503581047,
0.05835298076272011,
0.005718950182199478,
0.006654208526015282,
0.012637179344892502,
0.016288714483380318,
0.039415109902620316,
-0.045393604785203934,
-0.009097515605390072,
-0.007289647590368986,
0.038484327495098114,
0.03427790105342865,
-0.02348439022898674,
0.011581097729504108,
-0.041849467903375626,
0.06350809335708618
] |
10,320 | fractions | _div | a / b | def _div(a, b):
"""a / b"""
# Same as _mul(), with inversed b.
na, da = a.numerator, a.denominator
nb, db = b.numerator, b.denominator
g1 = math.gcd(na, nb)
if g1 > 1:
na //= g1
nb //= g1
g2 = math.gcd(db, da)
if g2 > 1:
da //= g2
db //= g2
n, d = na * db, nb * da
if d < 0:
n, d = -n, -d
return Fraction(n, d, _normalize=False)
| (a, b) | [
-0.0699693113565445,
-0.014559431001543999,
-0.009875549003481865,
0.028698625043034554,
-0.005690697580575943,
0.01580262929201126,
0.0147520387545228,
-0.02570444345474243,
-0.06727279722690582,
0.01781626045703888,
0.04692636802792549,
0.011022442951798439,
0.04633103311061859,
0.04955284297466278,
-0.05021821707487106,
0.00009226863767253235,
0.010383334010839462,
0.01651177741587162,
0.012598328292369843,
-0.013788998126983643,
-0.04223373159766197,
0.008641105145215988,
0.02472389116883278,
0.0738915205001831,
-0.05487583205103874,
-0.01002438273280859,
0.04062282666563988,
-0.004591954872012138,
-0.026597443968057632,
0.03389904648065567,
0.10281777381896973,
0.009691695682704449,
-0.01631041429936886,
-0.004460631404072046,
-0.006382335908710957,
-0.004410290624946356,
0.022044885903596878,
0.03270837664604187,
-0.1570282280445099,
0.021992357447743416,
-0.060268864035606384,
0.0021745029371231794,
0.009490332566201687,
-0.00184400484431535,
-0.01105746254324913,
-0.02917139045894146,
0.029644155874848366,
-0.04104306176304817,
-0.008146452717483044,
0.051163747906684875,
-0.030764786526560783,
-0.020539039745926857,
-0.04916762560606003,
0.050008099526166916,
-0.024986539036035538,
0.0389418788254261,
-0.015137255191802979,
-0.00018782037659548223,
-0.04857229068875313,
-0.029609136283397675,
-0.019225802272558212,
0.009122625924646854,
-0.00480207335203886,
-0.026457365602254868,
-0.006671248469501734,
0.024111047387123108,
-0.029346488416194916,
0.041953571140766144,
-0.04366953670978546,
-0.006697513163089752,
-0.06166965141892433,
0.03386402875185013,
0.009507842361927032,
-0.0035347985103726387,
-0.00826464407145977,
0.0671677365899086,
0.025284206494688988,
0.06541675329208374,
0.06187976896762848,
-0.003497590310871601,
0.04696138575673103,
-0.015645040199160576,
0.003134261118248105,
-0.0448952242732048,
0.009210174903273582,
-0.012221867218613625,
0.018507899716496468,
-0.007025822531431913,
0.0235507320612669,
-0.03225312381982803,
-0.062335025519132614,
-0.028400957584381104,
0.02889123372733593,
0.03531734272837639,
-0.0371558777987957,
0.029836764559149742,
-0.031114982441067696,
0.017019562423229218,
-0.0016273206565529108,
-0.007446058560162783,
0.010716021060943604,
0.08054525405168533,
-0.01178412139415741,
-0.014086664654314518,
0.00567756500095129,
-0.040482744574546814,
0.03241071105003357,
-0.04538550227880478,
0.007520475424826145,
0.033461302518844604,
-0.02561689354479313,
-0.010269519872963428,
-0.055821362882852554,
0.04009753093123436,
-0.024233616888523102,
0.01019072625786066,
0.005458692088723183,
-0.008741786703467369,
0.08320675045251846,
0.002740289783105254,
-0.03225312381982803,
0.0389418788254261,
-0.0055155991576612,
0.02239508368074894,
0.0683584064245224,
0.0323932021856308,
0.021134374663233757,
-0.00773497112095356,
-0.03897690027952194,
0.057607367634773254,
0.08285655826330185,
0.02029390260577202,
0.0035019677598029375,
0.011145012453198433,
0.044334910809993744,
0.07886431366205215,
0.007577382493764162,
0.029241429641842842,
0.057922545820474625,
0.00662747398018837,
-0.02826087921857834,
-0.07165025919675827,
0.03325118124485016,
0.006605586502701044,
-0.006570566911250353,
0.08005498349666595,
0.05158398300409317,
-0.0030948638450354338,
-0.02561689354479313,
0.06286031752824783,
0.05021821707487106,
0.028716135770082474,
0.12467005103826523,
-0.024601323530077934,
-0.020854217931628227,
-0.03897690027952194,
0.013771487399935722,
-0.010917384177446365,
0.005690697580575943,
0.02503906935453415,
0.07417167723178864,
-0.012510779313743114,
0.08516785502433777,
0.01458569522947073,
0.005301103461533785,
-0.017623651772737503,
0.02185227908194065,
-0.028208348900079727,
-0.014182968996465206,
0.025879541411995888,
0.026720013469457626,
-0.012029258534312248,
-0.07207049429416656,
-0.02743791602551937,
0.009788000024855137,
-0.03354885056614876,
0.009148890152573586,
-0.030484627932310104,
-0.011565248481929302,
-0.031990475952625275,
0.04454502835869789,
-0.012729652225971222,
0.027770603075623512,
0.02799823135137558,
0.014480636455118656,
0.029539097100496292,
-0.0015966783976182342,
-0.003552308538928628,
0.043774597346782684,
-0.011661551892757416,
0.02239508368074894,
-0.021344492211937904,
-0.0335838682949543,
-0.012440740130841732,
0.04212867096066475,
-0.000021733403627877124,
0.004964039195328951,
-0.047346603125333786,
0.04482518509030342,
0.06790315359830856,
-0.05718713253736496,
0.01831529103219509,
-0.007253450341522694,
0.0018308724975213408,
0.039607252925634384,
0.008212113752961159,
-0.03922203928232193,
0.05270461365580559,
-0.003539175959303975,
-0.02619471773505211,
-0.05620658025145531,
0.02004876546561718,
-0.014725773595273495,
0.04307420179247856,
-0.011258825659751892,
0.02596708945930004,
0.08348690718412399,
0.00515226973220706,
0.06559185683727264,
-0.0013438800815492868,
0.024653851985931396,
-0.0141567038372159,
0.03827650845050812,
-0.013683938421308994,
-0.010234500281512737,
-0.031062453985214233,
-0.045805737376213074,
0.01919078268110752,
-0.0038390320260077715,
-0.03323367238044739,
-0.00843098759651184,
0.02447875402867794,
-0.029644155874848366,
-0.027017680928111076,
0.01580262929201126,
-0.02472389116883278,
-0.054945871233940125,
-0.008601708337664604,
-0.002484208205714822,
-0.011425169184803963,
-0.009192665107548237,
-0.005331745836883783,
-0.029591627418994904,
0.0107773058116436,
-0.006303541827946901,
-0.0530548095703125,
-0.025739463046193123,
-0.0054674469865858555,
-0.0076036471873521805,
0.014323047362267971,
-0.0641910657286644,
-0.020976785570383072,
0.011180032044649124,
-0.023498203605413437,
0.033986594527959824,
0.07858415693044662,
-0.04689134657382965,
0.01283471193164587,
0.007896937429904938,
0.0176849365234375,
0.0008366419351659715,
-0.037015799432992935,
-0.039607252925634384,
0.00985803920775652,
-0.013753977604210377,
-0.014349312521517277,
0.010654736310243607,
0.014559431001543999,
0.019505959004163742,
0.04542052000761032,
0.06923390179872513,
-0.01889311522245407,
0.025196656584739685,
-0.030799806118011475,
0.0030904863961040974,
-0.02918890118598938,
0.019611019641160965,
0.053510066121816635,
0.00989305879920721,
0.02269275113940239,
-0.01941841095685959,
-0.017159640789031982,
-0.07200045883655548,
0.03097490407526493,
0.016686875373125076,
0.043494436889886856,
0.04661118984222412,
-0.049377743154764175,
0.021011805161833763,
-0.013298721984028816,
0.009166399948298931,
0.009420293383300304,
-0.0641910657286644,
0.04633103311061859,
-0.03241071105003357,
0.04517538473010063,
-0.05375520512461662,
-0.031114982441067696,
-0.027472935616970062,
0.03386402875185013,
-0.07130005955696106,
-0.02834842912852764,
0.003112373873591423,
0.041988592594861984,
-0.015662550926208496,
-0.005686319898813963,
0.10204733908176422,
0.03652552142739296,
0.02565191313624382,
-0.01755361258983612,
-0.07200045883655548,
0.03859168291091919,
-0.006986425723880529,
0.05270461365580559,
0.008811825886368752,
-0.03659556061029434,
0.03673563897609711,
0.05091860890388489,
-0.04776683822274208,
0.01281720120459795,
-0.01801762357354164,
0.09651423245668411,
0.01861295849084854,
0.06702765822410583,
0.041113100945949554,
0.006811327300965786,
0.008623595349490643,
0.009359008632600307,
0.03915200009942055,
0.041428279131650925,
-0.11108241230249405,
0.02710522897541523,
0.01194170955568552,
-0.006649360992014408,
-0.01666061207652092,
-0.06541675329208374,
0.05287971347570419,
0.011145012453198433,
0.0008174905669875443,
-0.046120915561914444,
-0.005874550901353359,
-0.02917139045894146,
0.0009302101680077612,
-0.02031141333281994,
-0.018455369397997856,
-0.021344492211937904,
0.00738039705902338,
-0.03505469486117363,
0.010681001469492912,
-0.060268864035606384,
-0.03302355483174324,
-0.03568505123257637,
0.03540489450097084,
-0.019365880638360977,
0.012887241318821907,
0.01076855044811964,
-0.04307420179247856,
-0.011880425736308098,
-0.020539039745926857,
0.010164461098611355,
0.0018855907255783677,
0.08614840358495712,
-0.0441247932612896,
-0.011503963731229305,
-0.038486625999212265,
-0.04009753093123436,
-0.07886431366205215,
-0.01770244725048542,
-0.023480692878365517,
-0.03475702926516533,
0.0032765285577625036,
-0.0482921339571476,
0.022850338369607925,
-0.024951519444584846,
-0.000769338512327522,
0.019313352182507515,
0.0023353747092187405,
-0.013640164397656918,
-0.03181537613272667,
0.052914731204509735,
0.017641162499785423,
-0.011670307256281376,
-0.04808201640844345,
-0.007424171548336744,
-0.0056162807159125805,
0.006640606094151735,
0.06650236248970032,
-0.0209592767059803,
-0.0075642503798007965,
0.03456442058086395,
-0.05946341156959534,
-0.03533485531806946,
0.020118804648518562,
-0.018455369397997856,
-0.07837403565645218,
-0.03332122415304184,
0.07368139922618866,
-0.03593018651008606,
-0.0015561869367957115,
-0.02946905791759491,
0.05921827256679535,
0.05329994857311249,
0.0007928673876449466,
0.011722836643457413,
0.03307608515024185,
-0.007402284070849419,
0.03687572106719017,
0.012309416197240353,
0.01147769857198,
0.0383465476334095,
-0.05035829544067383,
-0.09287218004465103,
-0.024688871577382088,
0.05021821707487106,
-0.016949523240327835,
-0.0044912733137607574,
-0.049412764608860016,
-0.05315987020730972,
-0.07396155595779419,
0.006369203794747591,
-0.009700450114905834,
-0.004486896097660065,
0.011889180168509483,
0.0076036471873521805,
0.06222996488213539,
-0.028225859627127647,
0.02826087921857834,
-0.01639796420931816,
0.00871114432811737,
0.004705769009888172,
0.009315233677625656,
0.03192043676972389,
0.009113870561122894,
-0.012318171560764313,
0.0641910657286644,
-0.049657899886369705,
0.021694689989089966,
0.0826464369893074,
0.028488507494330406,
-0.005344877950847149,
0.061494551599025726,
0.005778246559202671,
0.02060907892882824,
-0.05123378708958626,
0.02123943343758583,
-0.06247510388493538,
0.031202532351017,
0.005305481143295765,
-0.022535162046551704,
-0.06559185683727264,
0.026912622153759003,
-0.011792875826358795,
0.04086796194314957,
0.01859544776380062,
0.02686009183526039,
-0.022272514179348946,
-0.04986802116036415,
-0.0156012661755085,
0.020188843831419945,
0.02568693272769451,
0.003904693992808461,
0.0280157420784235,
-0.04163839668035507,
0.029101351276040077,
-0.007997618988156319,
0.01639796420931816,
0.03967729210853577,
0.00604089442640543,
0.030257001519203186,
0.0034910240210592747,
-0.0017148697515949607,
0.046996407210826874,
-0.009175155311822891,
0.008522913791239262,
-0.000565786671359092,
-0.058202702552080154,
-0.051478926092386246,
-0.0413232184946537,
0.008689257316291332,
-0.03946717455983162,
-0.014410597272217274,
0.05210927873849869,
0.0013187096919864416,
-0.0003553949936758727,
0.03733097389340401,
-0.03097490407526493,
0.00046893535181879997,
0.03067723661661148,
0.09350253641605377,
-0.02538926526904106,
0.01753610372543335,
-0.008229624480009079,
-0.04976296052336693,
-0.025774482637643814,
-0.07214053720235825,
-0.03694576025009155,
-0.0018976287683472037,
-0.02094176597893238,
0.0073103574104607105,
-0.03482706844806671,
0.02714024856686592,
-0.04265396669507027,
-0.007481078617274761,
-0.007025822531431913,
0.03778623044490814,
0.0295040775090456,
0.004088547080755234,
0.025266697630286217,
0.009945588186383247,
0.010243255645036697,
-0.07347127795219421,
-0.02973170578479767,
0.012729652225971222,
0.05505093187093735,
-0.006132821086794138,
0.007822520099580288,
-0.08649860322475433,
-0.023445673286914825,
0.049132607877254486,
-0.017264701426029205,
0.03635042533278465,
0.01400787103921175,
-0.021939827129244804,
-0.028103290125727654,
-0.03270837664604187,
-0.013937830924987793,
-0.05536611005663872,
-0.023988477885723114,
-0.013438801281154156,
-0.029591627418994904,
-0.07424171268939972,
-0.06454126536846161,
0.019295841455459595,
0.04076290503144264,
-0.05123378708958626,
0.032830946147441864,
-0.07578258216381073,
0.0018341555260121822,
0.0031364497262984514,
0.011092482134699821,
0.01118878647685051,
0.01504970621317625,
0.033146124333143234,
0.006014629267156124,
0.02237757295370102,
0.020153824239969254,
-0.0005146251060068607,
0.056136541068553925,
0.036140307784080505,
-0.02004876546561718,
0.033986594527959824,
-0.06569691002368927,
0.0065880767069756985,
0.0018286837730556726,
-0.014077910222113132,
0.009052586741745472,
-0.024076027795672417,
-0.00257832370698452,
0.006377958692610264,
-0.030502138659358025,
0.02122192457318306,
-0.016222864389419556,
0.059358350932598114,
-0.013929076492786407,
-0.014358067885041237,
0.023077966645359993,
0.05634665861725807,
-0.004920264706015587,
0.028681114315986633,
-0.004591954872012138,
-0.054700735956430435,
0.0161966010928154,
0.03782125189900398,
0.0413232184946537,
-0.00357419578358531,
0.02479393035173416,
-0.013263702392578125,
-0.058763016015291214,
-0.006255389656871557,
-0.014935892075300217,
-0.040482744574546814,
-0.05336998775601387,
-0.022500142455101013,
0.024356184527277946,
-0.004657616838812828,
-0.010803570039570332,
0.0389418788254261,
-0.021309472620487213,
0.05133884772658348,
0.021869787946343422,
-0.06755295395851135,
-0.05844784155488014,
0.04605087637901306,
-0.002961351303383708,
-0.010549677535891533,
-0.02710522897541523,
-0.05522603169083595,
-0.013981605879962444,
-0.049377743154764175,
-0.045560598373413086,
-0.0029241431038826704,
0.0161966010928154,
0.04486020654439926,
0.03034454956650734,
0.028996292501688004,
0.04223373159766197,
0.023112986236810684,
-0.035825129598379135,
-0.017860034480690956,
-0.08474761992692947,
-0.004316175356507301,
0.0025520590133965015,
-0.015286088921129704,
0.050568412989377975,
0.031727828085422516,
-0.025196656584739685,
0.016993297263979912,
-0.0747319906949997,
-0.04797695577144623,
0.023638281971216202,
-0.043459419161081314,
-0.01617909036576748,
-0.03967729210853577,
0.006504904944449663,
-0.040832944214344025,
0.02589705027639866,
0.06124941632151604,
-0.03381149843335152,
-0.002136200200766325,
0.024566303938627243,
0.04006250947713852,
0.023953458294272423,
-0.010637226514518261,
-0.012712142430245876,
-0.019628528505563736,
0.020819198340177536,
0.021046826615929604,
0.009525352157652378,
0.008234001696109772,
0.07172029465436935,
0.003955034539103508,
-0.009691695682704449,
-0.015960218384861946,
-0.02559938281774521,
0.007691196631640196,
-0.03221810236573219,
-0.031675297766923904,
-0.035772599279880524,
0.01854291930794716,
0.01831529103219509,
-0.033496320247650146,
0.037611134350299835,
0.07326116412878036,
-0.06499651819467545,
-0.04990303888916969,
-0.020714139565825462,
0.060899216681718826,
0.005695074796676636,
-0.011845405213534832,
0.0040097529999911785,
0.019663548097014427,
-0.01357887964695692,
-0.018718017265200615,
0.02295539714396,
-0.016643101349473,
0.028120800852775574,
-0.01312362402677536,
0.0008530574268661439,
-0.055541206151247025,
-0.05956846848130226,
0.002700892509892583,
0.020101293921470642,
-0.03501967713236809,
0.003180224448442459,
-0.08951029181480408,
0.04212867096066475,
0.019873665645718575,
0.0047889407724142075,
0.034651968628168106,
-0.012414474971592426,
-0.042899105697870255,
0.036385443061590195,
-0.030484627932310104,
-0.04062282666563988,
-0.0003772822965402156,
-0.05459567531943321,
-0.026632463559508324,
0.009341498836874962,
0.03363639861345291,
0.0022500143386423588,
0.024128558114171028,
-0.0137102035805583,
-0.029258940368890762,
-0.02826087921857834,
-0.06664244830608368,
0.031692806631326675,
0.0069732931442558765,
-0.030414588749408722,
-0.01697578839957714,
0.0441247932612896,
0.0003039598523173481,
-0.022044885903596878,
0.013622654601931572,
-0.010654736310243607,
-0.03004688210785389,
0.005695074796676636,
-0.017308475449681282,
0.02652740478515625,
-0.0224476121366024,
-0.05400034040212631,
0.0025827011559158564,
0.02295539714396,
-0.014410597272217274,
-0.020469000563025475,
0.0453154630959034,
0.022202474996447563,
0.024531284347176552,
0.0019632906187325716,
0.008352193050086498,
0.02535424567759037,
-0.07543238252401352,
-0.01798260398209095,
0.11164272576570511,
0.05918325483798981,
0.006255389656871557,
-0.022237494587898254,
0.05179410055279732,
-0.03034454956650734,
0.020101293921470642,
-0.006859479006379843,
-0.06391090899705887,
0.03253328055143356,
-0.024286145344376564,
-0.03652552142739296,
-0.018385330215096474,
-0.01829778030514717,
0.04097302258014679,
-0.010882364585995674,
0.04391467571258545,
-0.04419483244419098,
0.07620281726121902,
-0.049097586423158646,
0.030852334573864937,
-0.04836217314004898,
-0.07564250379800797,
0.00942904781550169,
0.027245309203863144,
0.022587692365050316,
-0.0016076220199465752,
-0.014603205025196075,
0.03039707988500595,
-0.028085781261324883,
0.009586636908352375,
0.034091655164957047,
0.03337375074625015,
-0.046085894107818604,
0.0046401070430874825,
0.007402284070849419,
0.01626664027571678,
-0.012143072672188282,
0.0022412592079490423,
0.0019118554191663861,
-0.0054674469865858555,
0.061774708330631256,
-0.0413232184946537,
0.007599269971251488,
0.039362117648124695,
0.036105286329984665
] |
10,321 | fractions | _divmod | (a // b, a % b) | def _divmod(a, b):
"""(a // b, a % b)"""
da, db = a.denominator, b.denominator
div, n_mod = divmod(a.numerator * db, da * b.numerator)
return div, Fraction(n_mod, da * db)
| (a, b) | [
-0.01032718550413847,
0.0019532039295881987,
0.009335357695817947,
0.006064067594707012,
0.01376378070563078,
0.022516222670674324,
0.022603224962949753,
-0.0036388756707310677,
-0.056168753653764725,
0.005341947544366121,
0.07948539406061172,
-0.019436337053775787,
0.050322189927101135,
0.008373981341719627,
-0.035392578691244125,
-0.024465076625347137,
0.008917746134102345,
0.01367677841335535,
-0.028606390580534935,
-0.021071981638669968,
-0.009822571650147438,
0.030764050781726837,
0.011893228627741337,
0.048686545342206955,
-0.041900359094142914,
0.0029189307242631912,
0.05717797949910164,
0.01165832206606865,
-0.013563674874603748,
0.01672186143696308,
0.0919441431760788,
0.003973834682255983,
-0.013720279559493065,
0.008078173734247684,
-0.01799209788441658,
-0.0019075276795774698,
0.025178495794534683,
0.061284493654966354,
-0.14936572313308716,
0.03313051536679268,
-0.02556130662560463,
-0.015817036852240562,
-0.02289903350174427,
-0.017522284761071205,
-0.04384921118617058,
-0.03692382201552391,
0.04628527909517288,
-0.044719237834215164,
0.00761706056073308,
0.03974269703030586,
-0.013259166851639748,
-0.019105728715658188,
-0.029337210580706596,
0.041656751185655594,
0.00987477321177721,
0.058952830731868744,
-0.0016954593593254685,
0.024517277255654335,
-0.03170367702841759,
-0.0029015301261097193,
-0.00435664551332593,
-0.008321779780089855,
-0.013824681751430035,
-0.010153180919587612,
-0.03344372287392616,
0.009413660503923893,
-0.03095545619726181,
0.024430274963378906,
-0.059648849070072174,
-0.013772481121122837,
-0.09020408987998962,
0.033478524535894394,
0.013981286436319351,
0.006146719679236412,
-0.027701565995812416,
0.05192303657531738,
0.02789297141134739,
0.04318799450993538,
0.09660746902227402,
-0.004297918640077114,
0.019488539546728134,
-0.015129717998206615,
0.0013605001149699092,
-0.0149470129981637,
0.0010782860917970538,
-0.041413143277168274,
-0.007425655145198107,
-0.0065817320719361305,
0.04764251783490181,
-0.04698129743337631,
-0.06163250282406807,
-0.0235950518399477,
0.02425627037882805,
0.0076518612913787365,
-0.037724241614341736,
0.023160040378570557,
-0.024604279547929764,
0.03059004619717598,
-0.0364714078605175,
0.002242486923933029,
0.009422359988093376,
0.06667864322662354,
-0.02441287413239479,
0.005563803948462009,
0.0318254791200161,
-0.06069287657737732,
0.008165176026523113,
-0.03814185410737991,
-0.008313079364597797,
0.024813085794448853,
-0.02122858725488186,
-0.012119434773921967,
-0.061319295316934586,
0.046772491186857224,
-0.005494202021509409,
0.020845776423811913,
0.02980702370405197,
-0.024186668917536736,
0.08679360151290894,
-0.014990514144301414,
-0.004632878117263317,
0.022133411839604378,
-0.020915377885103226,
0.0509486086666584,
0.07517007738351822,
0.03415714576840401,
0.028971800580620766,
-0.008226077072322369,
-0.04482363909482956,
0.028762994334101677,
0.056899573653936386,
0.018879521638154984,
0.0031473119743168354,
0.020549967885017395,
0.024273671209812164,
0.05818720906972885,
-0.027997374534606934,
0.012345640920102596,
0.017696289345622063,
-0.011353814043104649,
-0.06549540907144547,
-0.049834977835416794,
-0.0029363310895860195,
0.025282898917794228,
-0.004498024471104145,
0.04579806700348854,
0.025282898917794228,
0.013006859458982944,
0.01429449487477541,
0.051540225744247437,
0.039603494107723236,
0.002507844241335988,
0.09960035234689713,
-0.014729507267475128,
-0.02904140204191208,
0.00007442783680744469,
0.001431189593859017,
-0.004789482336491346,
0.02044556476175785,
0.02274242788553238,
0.07920698821544647,
-0.04228316992521286,
0.07927659153938293,
0.042143963277339935,
0.03737623244524002,
-0.007656211499124765,
0.021889805793762207,
-0.05867442116141319,
-0.041726354509592056,
0.03664541244506836,
0.03929028660058975,
0.005711707752197981,
-0.022933833301067352,
-0.017113372683525085,
-0.007677962072193623,
-0.025369901210069656,
0.03587979078292847,
-0.04558926075696945,
-0.0352533757686615,
-0.03219088912010193,
0.03925548493862152,
-0.005385448690503836,
0.008909046649932861,
0.058048006147146225,
0.014790409244596958,
0.029372012242674828,
0.02262062579393387,
-0.015416826121509075,
0.03239969536662102,
-0.015634331852197647,
-0.008226077072322369,
-0.009500662796199322,
-0.03622779995203018,
-0.015773536637425423,
0.017739789560437202,
-0.00006066378773539327,
-0.03177327662706375,
-0.026901142671704292,
0.045658860355615616,
0.0774669423699379,
-0.08303509652614594,
0.003997760359197855,
-0.022707628086209297,
0.0273535568267107,
0.05073980242013931,
0.024673882871866226,
-0.002997232833877206,
0.07175958156585693,
-0.026031119748950005,
-0.039116282016038895,
-0.03991670161485672,
0.028693392872810364,
0.009892173111438751,
0.05742158740758896,
-0.018270505592226982,
0.021541794762015343,
0.0925009548664093,
0.03337412327528,
0.05237544700503349,
-0.008086873218417168,
-0.010214081965386868,
-0.011501718312501907,
0.023734256625175476,
-0.021524395793676376,
0.003351767547428608,
-0.04336199909448624,
-0.04433642700314522,
0.015590830706059933,
-0.03206908702850342,
-0.007216849364340305,
-0.007338652852922678,
0.057595591992139816,
-0.04290958493947983,
-0.00862628873437643,
0.029720021411776543,
-0.012232538312673569,
-0.0680706799030304,
-0.016904566437005997,
0.0054985517635941505,
-0.006303324364125729,
-0.001070673344656825,
-0.0010271721985191107,
-0.023786457255482674,
0.0408911295235157,
0.019906150177121162,
-0.06500819325447083,
-0.04245717450976372,
-0.015086216852068901,
-0.007708413060754538,
-0.0005073327920399606,
-0.07725813239812851,
0.0007977032801136374,
0.03083365224301815,
-0.03313051536679268,
0.02281203120946884,
0.08616717904806137,
-0.04538045451045036,
0.04224836826324463,
0.018844719976186752,
-0.0012093334225937724,
0.015964942052960396,
-0.03286951035261154,
-0.04854734241962433,
-0.0396730974316597,
0.021071981638669968,
-0.025700509548187256,
0.017330879345536232,
0.02613552287220955,
0.024447675794363022,
0.05808280408382416,
0.05456790700554848,
-0.03243449702858925,
0.016982870176434517,
-0.02404746413230896,
0.02425627037882805,
-0.03734143078327179,
0.06518220156431198,
0.030085431411862373,
0.03500976786017418,
0.00036350692971609533,
-0.008909046649932861,
-0.024447675794363022,
-0.07823256403207779,
0.022951234132051468,
0.013659377582371235,
0.05992725491523743,
0.0465288870036602,
-0.022429220378398895,
0.040786728262901306,
0.0005470276228152215,
-0.010248883627355099,
-0.011449516750872135,
-0.02965041995048523,
0.04750331491231918,
-0.04151754826307297,
0.04764251783490181,
-0.044510431587696075,
-0.03574058786034584,
-0.03400053828954697,
0.009396259672939777,
-0.07517007738351822,
-0.05561193823814392,
-0.03025943599641323,
0.03626260161399841,
-0.0054985517635941505,
-0.003301741322502494,
0.06824468821287155,
0.03509676828980446,
0.029824424535036087,
-0.029580818489193916,
-0.026901142671704292,
0.020845776423811913,
0.021942006424069405,
0.038872674107551575,
0.018983924761414528,
-0.007108096498996019,
0.025404702872037888,
0.06956712156534195,
-0.040786728262901306,
0.027040347456932068,
-0.0031929882243275642,
0.08317429572343826,
0.021785402670502663,
0.08707200735807419,
0.05178382992744446,
0.004832983482629061,
0.0273535568267107,
-0.0013528873678296804,
0.03664541244506836,
0.04388401284813881,
-0.12403062731027603,
0.04948696866631508,
0.016173746436834335,
-0.0022403118200600147,
-0.022516222670674324,
-0.05651676282286644,
0.05112261325120926,
-0.05394149199128151,
0.011232010088860989,
-0.04736410826444626,
0.017800692468881607,
-0.07168997824192047,
-0.007108096498996019,
-0.019523339346051216,
-0.016373852267861366,
-0.027370955795049667,
0.02850198745727539,
0.014224893413484097,
0.03025943599641323,
-0.01901872642338276,
0.006755736656486988,
-0.04109993577003479,
0.023769056424498558,
-0.039777498692274094,
0.012232538312673569,
0.02147219330072403,
-0.04833853617310524,
0.0009918274590745568,
-0.044962842017412186,
0.027753766626119614,
-0.004654628690332174,
0.0785805732011795,
0.008878595195710659,
0.001456202706322074,
-0.04621567577123642,
-0.035392578691244125,
-0.08832484483718872,
0.006255473010241985,
0.016547856852412224,
-0.03737623244524002,
-0.006090168375521898,
-0.02629212662577629,
0.04879095032811165,
-0.0229860357940197,
-0.010675194673240185,
0.016017142683267593,
-0.005024388898164034,
-0.025091493502259254,
-0.04082152992486954,
0.012484844774007797,
0.01750488393008709,
-0.039151083678007126,
-0.03532297536730766,
0.00836093071848154,
-0.023125238716602325,
0.02147219330072403,
0.08916006237268448,
-0.04416242241859436,
0.01926233246922493,
0.04381440952420235,
-0.06006646156311035,
-0.03681941702961922,
0.010187981650233269,
0.006559981498867273,
-0.049417365342378616,
-0.022725028917193413,
0.05084420368075371,
-0.04151754826307297,
-0.0192275308072567,
-0.034539952874183655,
0.0774669423699379,
0.03135566785931587,
-0.0022620626259595156,
0.03504456952214241,
0.014729507267475128,
0.0008096661185845733,
0.049904581159353256,
0.011023204773664474,
0.018340107053518295,
0.005463751032948494,
-0.07475246489048004,
-0.07095915824174881,
-0.029250208288431168,
0.02771896682679653,
0.02187240496277809,
0.033722132444381714,
-0.040299512445926666,
-0.05234064534306526,
-0.07127237319946289,
-0.0006095605785958469,
0.00542894983664155,
-0.01811389997601509,
-0.0005687781958840787,
-0.018061699345707893,
0.04158714786171913,
-0.01750488393008709,
0.022759828716516495,
-0.003669326426461339,
-0.026274725794792175,
0.04127394035458565,
-0.008782892487943172,
0.04715530201792717,
-0.004580676555633545,
-0.021245988085865974,
0.0634421557188034,
-0.06573902070522308,
0.018548913300037384,
0.07621410489082336,
0.0084000825881958,
-0.01607804372906685,
0.06274613738059998,
0.03567098453640938,
0.017939895391464233,
-0.04757291451096535,
0.03071184828877449,
-0.040264714509248734,
0.021419992670416832,
0.02159399725496769,
-0.040960732847452164,
-0.06469498574733734,
0.032817307859659195,
0.006325074937194586,
0.027388356626033783,
0.028484586626291275,
0.04290958493947983,
-0.043570805341005325,
-0.021298188716173172,
-0.022255215793848038,
0.0107186958193779,
0.018705517053604126,
0.01097970362752676,
0.036332204937934875,
-0.0359145924448967,
0.03255629912018776,
-0.012980759143829346,
-0.02629212662577629,
0.03380913287401199,
-0.008226077072322369,
0.024934889748692513,
0.015208020806312561,
-0.020863177254796028,
0.015147118829190731,
-0.00047144427662715316,
0.020845776423811913,
-0.003271290333941579,
-0.0320516861975193,
-0.03831585869193077,
-0.04113473743200302,
-0.00592921394854784,
-0.045658860355615616,
-0.0510530099272728,
0.03125126287341118,
0.007590959779918194,
-0.01656525768339634,
0.021733200177550316,
-0.030363839119672775,
-0.00964856706559658,
0.02253362350165844,
0.07280360907316208,
-0.0459720715880394,
0.003728053066879511,
0.015303722582757473,
-0.04910415783524513,
-0.0314948707818985,
-0.04297918826341629,
-0.01790509559214115,
-0.01672186143696308,
0.023856058716773987,
0.00020132900681346655,
-0.01566043309867382,
0.003306091297417879,
-0.013929084874689579,
0.010535990819334984,
-0.03146006911993027,
0.05004378408193588,
0.010431588627398014,
0.005955314729362726,
0.002866729162633419,
-0.0016399953747168183,
0.02122858725488186,
-0.0485125407576561,
-0.03368733078241348,
-0.02028896100819111,
0.08623678237199783,
-0.009953075088560581,
0.010370686650276184,
-0.05561193823814392,
-0.025056691840291023,
0.0396730974316597,
-0.02583971433341503,
0.03932508826255798,
-0.0005440369131974876,
-0.009230955503880978,
-0.0485125407576561,
-0.049660973250865936,
-0.013198264874517918,
-0.05460270866751671,
-0.03328711912035942,
-0.02977222204208374,
-0.042143963277339935,
-0.05495071783661842,
-0.04270077869296074,
0.01672186143696308,
0.021193785592913628,
-0.0490693561732769,
0.035636186599731445,
-0.06674824655056,
0.020619569346308708,
0.03210388869047165,
0.026100721210241318,
-0.006903640925884247,
0.004772081971168518,
0.010875300504267216,
-0.03135566785931587,
0.034661758691072464,
0.04430162534117699,
0.038837872445583344,
0.046772491186857224,
0.025735311210155487,
-0.014755607582628727,
0.010257583111524582,
-0.06650463491678238,
-0.008721991442143917,
-0.02846718765795231,
-0.038629066199064255,
0.01452070102095604,
-0.03929028660058975,
-0.03246929869055748,
-0.0006938441656529903,
-0.04339680075645447,
0.040717124938964844,
-0.00384333124384284,
0.06406857073307037,
-0.010153180919587612,
-0.016921967267990112,
0.005315846763551235,
0.10147960484027863,
-0.010884000919759274,
0.012067233212292194,
0.021089382469654083,
-0.031094659119844437,
0.008243477903306484,
0.025456903502345085,
0.04468443617224693,
0.03231269493699074,
0.0018248754786327481,
-0.020619569346308708,
-0.057804398238658905,
0.003488796530291438,
-0.011171109043061733,
-0.02658793516457081,
-0.061528101563453674,
-0.0027666764799505472,
0.01506881695240736,
-0.030972857028245926,
0.010118379257619381,
0.033791735768318176,
0.009535463526844978,
0.08693280071020126,
0.03918588161468506,
-0.047538112848997116,
-0.030816251412034035,
0.0447540357708931,
-0.026518333703279495,
0.009544163942337036,
-0.015634331852197647,
-0.09667707234621048,
0.023073038086295128,
-0.06271133571863174,
-0.05425469949841499,
-0.010457688942551613,
0.03038123995065689,
0.014564202167093754,
0.03513156995177269,
0.013320067897439003,
0.01823570393025875,
0.027057748287916183,
-0.02441287413239479,
-0.005724758375436068,
-0.07537887990474701,
-0.014833910390734673,
0.0049504367634654045,
-0.004484973847866058,
0.02695334516465664,
0.023995263502001762,
-0.008887295611202717,
0.007908518426120281,
-0.07517007738351822,
-0.03803745284676552,
-0.02490008808672428,
-0.06657423824071884,
0.028658593073487282,
-0.025543905794620514,
0.016452154144644737,
-0.033843934535980225,
0.02486528642475605,
0.04673769325017929,
-0.014764307998120785,
0.030938055366277695,
-0.008373981341719627,
-0.012693651020526886,
0.024099666625261307,
-0.0007085258257575333,
-0.011336413212120533,
-0.025265498086810112,
0.016878467053174973,
-0.007860667072236538,
-0.021071981638669968,
0.02269022725522518,
0.04458003118634224,
0.0068557895720005035,
-0.03333932161331177,
-0.013685477897524834,
-0.03192988410592079,
-0.01443369872868061,
-0.0415523499250412,
0.018670715391635895,
-0.022516222670674324,
0.0017965997103601694,
-0.013998687267303467,
-0.03255629912018776,
0.054289501160383224,
0.06124969199299812,
-0.06285053491592407,
-0.05529872700572014,
-0.01758318580687046,
0.07203799486160278,
-0.004685079678893089,
-0.0041956910863518715,
0.005481151398271322,
0.04454522952437401,
-0.02441287413239479,
0.0107186958193779,
0.013433171436190605,
-0.00032625903259031475,
0.032904308289289474,
-0.0085653867572546,
0.014764307998120785,
-0.02347324974834919,
-0.057317186146974564,
-0.017365679144859314,
0.027631964534521103,
-0.03316531702876091,
0.008887295611202717,
-0.05515952408313751,
0.018740318715572357,
0.030068030580878258,
0.024099666625261307,
0.0295634176582098,
-0.0038911825977265835,
-0.057595591992139816,
0.0195059385150671,
-0.040264714509248734,
-0.055681537836790085,
-0.031755879521369934,
-0.02362985350191593,
-0.045450057834386826,
0.019906150177121162,
0.010066178627312183,
-0.02980702370405197,
0.03313051536679268,
0.005437650252133608,
-0.001507316716015339,
-0.04806012660264969,
-0.06250252574682236,
0.02168099954724312,
0.014120490290224552,
0.014207492582499981,
-0.000952132570091635,
0.05140101909637451,
-0.014903511852025986,
-0.04384921118617058,
0.016252048313617706,
-0.02952861599624157,
-0.030155032873153687,
-0.04384921118617058,
-0.019036125391721725,
0.01251094602048397,
-0.047294508665800095,
-0.0509486086666584,
-0.01579093560576439,
0.045415256172418594,
-0.027388356626033783,
-0.005998815875500441,
0.04503244534134865,
0.027249153703451157,
0.016217248514294624,
-0.0028471536934375763,
0.018009498715400696,
0.03391353785991669,
-0.06462538987398148,
-0.013424471020698547,
0.11978491395711899,
0.04478883743286133,
-0.013259166851639748,
-0.03158187121152878,
0.03908148035407066,
0.008256528526544571,
0.017113372683525085,
-0.005507252179086208,
-0.04419722035527229,
0.027614563703536987,
-0.021367790177464485,
-0.0522710457444191,
-0.0007047194521874189,
-0.020584769546985626,
0.020097555592656136,
0.015582130290567875,
0.018844719976186752,
-0.02613552287220955,
0.07781495153903961,
-0.030311638489365578,
0.02486528642475605,
-0.03737623244524002,
-0.08644559234380722,
-0.0000736801594030112,
0.02441287413239479,
0.045867666602134705,
-0.016921967267990112,
-0.03349592536687851,
0.024395475164055824,
-0.02834538370370865,
0.008887295611202717,
0.01877511851489544,
0.018061699345707893,
-0.06469498574733734,
0.009622465819120407,
0.01766148768365383,
0.02596151828765869,
-0.016782764345407486,
-0.007638811133801937,
0.027788568288087845,
0.009178753942251205,
0.05839601531624794,
-0.05366308242082596,
-0.0007955282344482839,
0.012606648728251457,
0.04318799450993538
] |
10,322 | fractions | _floordiv | a // b | def _floordiv(a, b):
"""a // b"""
return (a.numerator * b.denominator) // (a.denominator * b.numerator)
| (a, b) | [
-0.05818963795900345,
-0.026089640334248543,
0.0052380748093128204,
0.038278236985206604,
0.02066688984632492,
-0.01766171306371689,
0.04203890636563301,
-0.023218773305416107,
-0.09173346310853958,
0.018736189231276512,
0.05456327646970749,
-0.01587371714413166,
0.02822180651128292,
-0.00498624425381422,
-0.037170182913541794,
-0.01049293763935566,
0.0026736005675047636,
-0.001631651888601482,
-0.005015624221414328,
-0.021623846143484116,
-0.023420237004756927,
0.017132868990302086,
0.02802034094929695,
0.04919089376926422,
-0.033627767115831375,
0.004776385147124529,
0.017065715044736862,
0.007374436594545841,
-0.01806464232504368,
-0.0165956299751997,
0.06174883991479874,
-0.01039220578968525,
-0.0007491957512684166,
-0.033342357724905014,
0.0031961489003151655,
-0.025753866881132126,
0.02169100195169449,
0.04022572562098503,
-0.1539188027381897,
0.018232528120279312,
-0.047243405133485794,
-0.0005918017122894526,
-0.018702613189816475,
0.03426573798060417,
-0.05496620759367943,
-0.04626965895295143,
0.04717624932527542,
-0.055906374007463455,
0.02511589601635933,
0.05140700191259384,
-0.045128028839826584,
0.012893722392618656,
-0.04307980462908745,
0.04083012044429779,
-0.03074011020362377,
0.01856830343604088,
-0.015084647573530674,
-0.014547409489750862,
-0.03582708537578583,
0.00872172974050045,
-0.02541809342801571,
0.0204654261469841,
-0.030824054032564163,
-0.017409883439540863,
-0.004801568575203419,
-0.001841510646045208,
-0.041501667350530624,
0.06406567990779877,
-0.03921840339899063,
0.005393370054662228,
-0.08662969619035721,
0.049963172525167465,
0.013061609119176865,
-0.006623142398893833,
-0.04052792489528656,
0.04848576709628105,
0.02044863812625408,
0.05735019966959953,
0.10234391689300537,
-0.015705829486250877,
0.034819766879081726,
-0.0029632055666297674,
0.027264850214123726,
-0.006270579528063536,
-0.0003462669556029141,
-0.045631688088178635,
0.0027323609683662653,
0.0077689713798463345,
0.03670009970664978,
-0.021120185032486916,
-0.0695052221417427,
0.020230384543538094,
0.0020219890866428614,
0.01224735751748085,
-0.03263723477721214,
0.053287334740161896,
-0.052884407341480255,
0.05345522239804268,
-0.009275756776332855,
0.0063629173673689365,
0.025871386751532555,
0.058424677699804306,
-0.0469747856259346,
0.004553935024887323,
0.021355226635932922,
-0.014883182942867279,
0.031075885519385338,
-0.03814392909407616,
-0.02239612676203251,
0.0516420416533947,
-0.026257527992129326,
-0.029178760945796967,
-0.08374203741550446,
0.05073545500636101,
-0.026341471821069717,
0.00625379104167223,
0.01724199578166008,
0.03248613700270653,
0.08837571740150452,
-0.011961949057877064,
0.0022664745338261127,
-0.012935693375766277,
-0.03087441995739937,
0.04284476488828659,
0.05130627006292343,
0.046739742159843445,
0.0197770893573761,
0.002467938931658864,
-0.03364455699920654,
0.021439170464873314,
0.1010008230805397,
0.040494345128536224,
0.020734045654535294,
-0.008092153817415237,
0.018198952078819275,
0.059532731771469116,
-0.008788884617388248,
0.016444532200694084,
0.05607426166534424,
-0.029715999960899353,
-0.042307525873184204,
-0.09435249865055084,
0.004801568575203419,
0.018316471949219704,
-0.023772800341248512,
0.0647372305393219,
0.026643667370080948,
0.01804785244166851,
0.0197770893573761,
0.06436787545681,
0.037170182913541794,
0.025770654901862144,
0.11987132579088211,
-0.04767990857362747,
-0.0024553474504500628,
-0.03389638662338257,
-0.00013732632214669138,
-0.009326123632490635,
0.02278226613998413,
0.015328084118664265,
0.0755491554737091,
-0.03339272737503052,
0.10059789568185806,
0.012792989611625671,
0.0077689713798463345,
-0.0025350938085466623,
-0.005401764530688524,
-0.05332091450691223,
-0.00862939190119505,
0.029867097735404968,
0.04428859055042267,
0.020918721333146095,
-0.038278236985206604,
0.016410954296588898,
0.0016484404914081097,
-0.018920864909887314,
-0.015143407508730888,
0.010602064430713654,
-0.06362917274236679,
-0.0023168406914919615,
0.030404336750507355,
-0.01947489194571972,
-0.005779510363936424,
0.05133984610438347,
0.011777273379266262,
0.03359419107437134,
0.016612419858574867,
-0.04126662760972977,
0.008264238014817238,
-0.012994454242289066,
-0.028372904285788536,
-0.02511589601635933,
-0.03065616823732853,
-0.025770654901862144,
0.025233417749404907,
-0.0037186972331255674,
-0.033728498965501785,
-0.050769031047821045,
0.03649863600730896,
0.04499371722340584,
-0.11376023292541504,
0.027785299345850945,
-0.02086835540831089,
0.024528291076421738,
0.0496273972094059,
0.012163413688540459,
0.0013987086713314056,
0.0768250972032547,
-0.023772800341248512,
-0.011525442823767662,
-0.06000281497836113,
-0.007357648108154535,
-0.029178760945796967,
0.062991201877594,
0.0021069818176329136,
0.013498115353286266,
0.04539664834737778,
0.01893765479326248,
0.02852400206029415,
-0.004679850302636623,
-0.027348794043064117,
-0.012650285847485065,
0.05291798338294029,
-0.037371646612882614,
0.0002436984796077013,
-0.008184491656720638,
-0.027449525892734528,
-0.004163597710430622,
0.0012318709632381797,
-0.0022224043495953083,
-0.005985171999782324,
0.017023742198944092,
-0.027852455154061317,
-0.019793877378106117,
-0.002499417867511511,
-0.04015857353806496,
-0.06963953375816345,
-0.010677613317966461,
0.027986763045191765,
-0.045430224388837814,
0.002751248423010111,
-0.035357002168893814,
-0.02157348021864891,
-0.004323090426623821,
0.00753392931073904,
-0.06963953375816345,
-0.042508989572525024,
-0.02550203539431095,
-0.00004161105607636273,
0.033627767115831375,
-0.07521338015794754,
-0.00541855301707983,
0.021254494786262512,
-0.013640819117426872,
0.04324769228696823,
0.06362917274236679,
-0.022664746269583702,
0.015739407390356064,
0.006530804559588432,
-0.00013240776024758816,
-0.012071075849235058,
-0.04576599970459938,
-0.011307190172374249,
-0.03013571724295616,
0.007685027550905943,
-0.025048742070794106,
0.015453998930752277,
0.010064826346933842,
0.03522269427776337,
0.04506087303161621,
0.05473116412758827,
-0.027852455154061317,
0.009586348198354244,
-0.030169295147061348,
0.016008026897907257,
-0.02833932638168335,
0.0526493638753891,
0.025350937619805336,
0.050970494747161865,
0.00862099789083004,
-0.005003032740205526,
0.015412027016282082,
-0.08394350111484528,
0.04808283969759941,
-0.025854598730802536,
0.024880854412913322,
0.042106062173843384,
-0.04338200390338898,
0.02560276910662651,
-0.035021230578422546,
-0.01732593961060047,
0.011458287946879864,
-0.028893353417515755,
0.03824466094374657,
-0.010727979242801666,
0.024578657001256943,
-0.0066189453937113285,
-0.06503942608833313,
-0.023420237004756927,
0.0019107640255242586,
-0.05184350907802582,
-0.043214116245508194,
-0.01994497701525688,
0.026576513424515724,
0.008662969805300236,
0.016469715163111687,
0.05698084831237793,
0.025535613298416138,
0.009015532210469246,
-0.042710453271865845,
-0.05412676930427551,
0.013498115353286266,
0.010761557146906853,
0.008516068570315838,
0.040595076978206635,
-0.018534725531935692,
0.0238063782453537,
0.093210868537426,
-0.04989601671695709,
0.03298979625105858,
-0.0019915595185011625,
0.07991421222686768,
0.045530956238508224,
0.10442572087049484,
0.052985139191150665,
-0.009955699555575848,
0.020549369975924492,
-0.02026396244764328,
0.019139118492603302,
0.03297300636768341,
-0.13471253216266632,
0.03441683575510979,
0.018182162195444107,
-0.0034269934985786676,
-0.00844891369342804,
-0.049258045852184296,
0.08226463198661804,
0.010014459490776062,
-0.01537845004349947,
-0.03194889798760414,
0.020734045654535294,
-0.0489894300699234,
0.010006065480411053,
0.028977297246456146,
-0.02038148231804371,
-0.01885371096432209,
0.029061241075396538,
-0.02350418083369732,
0.045027293264865875,
-0.020213594660162926,
-0.0072653102688491344,
-0.055704910308122635,
0.046840474009513855,
-0.0600699707865715,
0.0369015634059906,
0.03260365501046181,
-0.04569884389638901,
-0.016528476029634476,
-0.030085351318120956,
0.03582708537578583,
0.022832632064819336,
0.06634894758462906,
-0.0038215280510485172,
-0.015269323252141476,
-0.04637039080262184,
-0.0172587838023901,
-0.0520113930106163,
0.012314511463046074,
-0.03136129304766655,
-0.009149841964244843,
-0.03931913524866104,
-0.0207844115793705,
0.034131430089473724,
-0.03173064440488815,
0.00448258314281702,
0.03426573798060417,
0.01987782120704651,
-0.030622590333223343,
-0.0586932972073555,
0.04717624932527542,
0.013624030165374279,
0.017812810838222504,
-0.024662600830197334,
0.006224410608410835,
-0.02340344898402691,
0.027063384652137756,
0.020146440714597702,
-0.02932986058294773,
0.007080634590238333,
0.02560276910662651,
-0.020734045654535294,
-0.014178058132529259,
0.016948193311691284,
0.006333537399768829,
-0.05808890238404274,
-0.013447749428451061,
0.05355595424771309,
-0.03532342612743378,
0.011550625786185265,
-0.03834539279341698,
0.054798319935798645,
0.029296282678842545,
0.0009076390997506678,
0.027751721441745758,
0.018400415778160095,
-0.014832817018032074,
0.03327520564198494,
-0.002501516370102763,
0.02773493342101574,
-0.0025665725115686655,
-0.058928340673446655,
-0.06242039054632187,
-0.02370564453303814,
0.0405615009367466,
0.0049106949009001255,
-0.0024952206294983625,
-0.030001407489180565,
-0.0037921478506177664,
-0.07319873571395874,
-0.015638675540685654,
-0.017032137140631676,
-0.019609201699495316,
0.015705829486250877,
0.018484359607100487,
0.04408712685108185,
-0.019239850342273712,
0.02481369860470295,
-0.02551882527768612,
0.009049109183251858,
0.04939235746860504,
-0.00844891369342804,
0.03084084391593933,
-0.05463043227791786,
0.00567038357257843,
0.0476127564907074,
-0.047344136983156204,
0.027600623667240143,
0.08253325521945953,
0.037270914763212204,
-0.022261817008256912,
0.06618105620145798,
0.05677938461303711,
0.04851934313774109,
-0.03787530958652496,
0.018383627757430077,
-0.037472378462553024,
0.020549369975924492,
0.010845500975847244,
-0.01244882121682167,
-0.05899549275636673,
0.020230384543538094,
-0.002824698807671666,
0.007038662675768137,
0.017208417877554893,
0.015109830535948277,
-0.044322170317173004,
-0.06594601273536682,
0.014899971894919872,
0.00761367566883564,
0.018316471949219704,
0.015680646523833275,
0.049157314002513885,
-0.033728498965501785,
0.015252534300088882,
-0.006656719837337732,
-0.0014385817339643836,
0.036263592541217804,
0.006446861196309328,
0.039990685880184174,
-0.007449985947459936,
0.03461829945445061,
0.024461137130856514,
-0.017393093556165695,
0.03429931402206421,
0.029799943789839745,
-0.015017492696642876,
-0.043919239193201065,
-0.00698409928008914,
0.046639010310173035,
-0.06463649868965149,
-0.0331912599503994,
0.03713660687208176,
-0.00740801403298974,
-0.01667957380414009,
0.004100640304386616,
-0.004629484377801418,
-0.03075690008699894,
0.015596702694892883,
0.06752415746450424,
-0.06379706412553787,
0.018417203798890114,
0.029867097735404968,
-0.02509910799562931,
-0.07098262757062912,
-0.035155538469552994,
-0.008092153817415237,
0.010811923071742058,
0.022547224536538124,
0.028087496757507324,
-0.020045708864927292,
-0.007038662675768137,
-0.01875297911465168,
0.00489390641450882,
-0.004818357061594725,
0.03770742192864418,
0.041098739951848984,
0.020650101825594902,
0.023067675530910492,
-0.011760484427213669,
0.019928187131881714,
-0.04002426192164421,
-0.02127128280699253,
-0.02048221416771412,
0.07514622062444687,
0.013724762946367264,
0.0027953186072409153,
-0.047545600682497025,
0.0033745288383215666,
-0.004851934500038624,
0.0009957797592505813,
0.0506347194314003,
-0.000012230831089254934,
-0.021842099726200104,
-0.04475867748260498,
-0.03542415797710419,
-0.028977297246456146,
-0.04469152167439461,
-0.01385907270014286,
-0.0063125514425337315,
-0.029061241075396538,
-0.04365062341094017,
-0.056107837706804276,
0.017779234796762466,
0.03421537205576897,
-0.020549369975924492,
0.01997855305671692,
-0.08965165913105011,
0.010325050912797451,
0.04052792489528656,
0.04177028685808182,
-0.009107870049774647,
-0.044221438467502594,
0.0338795967400074,
-0.017275573685765266,
0.038479700684547424,
0.01048454362899065,
0.032805122435092926,
0.06282331794500351,
0.002875064965337515,
-0.018081430345773697,
0.06289047002792358,
-0.06312551349401474,
0.015823351219296455,
-0.011936766095459461,
-0.01522735133767128,
0.02358812466263771,
-0.045228760689496994,
-0.010467754676938057,
-0.028557579964399338,
-0.03814392909407616,
0.015453998930752277,
-0.006216016598045826,
0.058827608823776245,
0.014077325351536274,
-0.046538278460502625,
-0.028675099834799767,
0.053388066589832306,
0.019105540588498116,
0.0022328970953822136,
0.013061609119176865,
-0.0425761453807354,
0.021405592560768127,
0.046437546610832214,
0.02771814540028572,
0.01421163510531187,
0.020297538489103317,
-0.0054857078939676285,
-0.07125124335289001,
-0.006085903849452734,
-0.044725097715854645,
-0.027886031195521355,
-0.06010354682803154,
-0.023638490587472916,
-0.005473116412758827,
-0.034248948097229004,
-0.017728867009282112,
0.029010875150561333,
-0.019390949979424477,
0.06671829521656036,
0.0192734282463789,
-0.02511589601635933,
-0.049560245126485825,
0.02914518490433693,
-0.003221331862732768,
-0.0027134737465530634,
-0.051474157720804214,
-0.04626965895295143,
-0.015109830535948277,
-0.052985139191150665,
-0.040292881429195404,
0.00804598443210125,
0.03579350933432579,
0.01682227849960327,
0.046840474009513855,
0.006707085762172937,
0.013271467760205269,
0.02592175453901291,
-0.0395541787147522,
-0.03468545526266098,
-0.07487760484218597,
0.018534725531935692,
0.033107317984104156,
0.00015818103565834463,
0.06090940535068512,
0.0174434594810009,
0.007307281717658043,
0.036968719214200974,
-0.09965772926807404,
-0.020415060222148895,
-0.0009889594512060285,
-0.04002426192164421,
-0.0004934304160997272,
-0.003588584717363119,
-0.0053430041298270226,
-0.01184442825615406,
0.006337734404951334,
0.09757592529058456,
-0.04932520166039467,
0.029799943789839745,
-0.0035822889767587185,
0.005531876813620329,
0.03226788341999054,
0.014505437575280666,
-0.04747844487428665,
-0.03911767154932022,
0.02963205613195896,
0.0016358490101993084,
-0.01564706861972809,
-0.00579629885032773,
0.027248060330748558,
0.0051079620607197285,
-0.011584203690290451,
-0.007890689186751842,
-0.04449005797505379,
0.014774056151509285,
-0.02318519540131092,
-0.03147881478071213,
-0.006459452677518129,
0.006413283757865429,
0.0025875584688037634,
-0.03770742192864418,
0.03663294389843941,
0.07722802460193634,
-0.030286815017461777,
-0.05876045301556587,
0.004465794190764427,
0.038043197244405746,
-0.04287834092974663,
-0.020599735900759697,
0.017695290967822075,
0.012801384553313255,
-0.019239850342273712,
-0.007781562861055136,
0.02217787317931652,
-0.03389638662338257,
0.017006954178214073,
-0.014606169424951077,
-0.010761557146906853,
-0.037908885627985,
-0.07004246115684509,
0.008113139308989048,
0.011575808748602867,
-0.01385907270014286,
-0.019340582191944122,
-0.05543629080057144,
0.0238063782453537,
0.016049997881054878,
0.01915590651333332,
-0.0029212338849902153,
-0.03878189995884895,
-0.06000281497836113,
0.029665634036064148,
-0.03240219131112099,
-0.07736232876777649,
-0.002289558993652463,
-0.03248613700270653,
-0.06440145522356033,
0.01866903528571129,
0.04579957574605942,
0.004046076908707619,
0.04506087303161621,
-0.009854967705905437,
-0.03285548835992813,
-0.0019474892178550363,
-0.06050647795200348,
0.014480254612863064,
0.006161453202366829,
0.02570350095629692,
0.018383627757430077,
0.038278236985206604,
0.0002238930610474199,
-0.03243577107787132,
-0.006736466195434332,
-0.009527587331831455,
-0.024578657001256943,
-0.018517937511205673,
-0.011777273379266262,
0.02300051972270012,
-0.017594559118151665,
-0.04526233673095703,
0.005024018697440624,
0.04640396684408188,
-0.03144523501396179,
-0.027986763045191765,
0.06403210759162903,
0.014832817018032074,
-0.007601084187626839,
0.03147881478071213,
0.005003032740205526,
0.006623142398893833,
-0.04576599970459938,
-0.0011216950369998813,
0.0891815796494484,
0.031109461560845375,
0.0016673278296366334,
-0.010048037394881248,
0.03720375895500183,
-0.01149186585098505,
-0.011794062331318855,
-0.0010702796280384064,
-0.057215891778469086,
0.01665439084172249,
-0.024326827377080917,
-0.04307980462908745,
0.029682422056794167,
0.008956771343946457,
0.006954719312489033,
-0.009275756776332855,
0.03555846959352493,
-0.04982886463403702,
0.08683115988969803,
-0.05684654042124748,
0.009158235974609852,
-0.0510040707886219,
-0.05714873597025871,
0.004780582617968321,
0.06258827447891235,
0.046840474009513855,
-0.025787444785237312,
-0.015865322202444077,
0.012557948008179665,
-0.029665634036064148,
0.030824054032564163,
-0.01150025986135006,
0.014841211028397083,
-0.04224037006497383,
-0.005082779098302126,
0.035256270319223404,
0.03831181302666664,
0.010048037394881248,
0.01215501967817545,
0.0070134797133505344,
-0.016008026897907257,
0.07729517668485641,
-0.03572635352611542,
0.03268760070204735,
0.014648141339421272,
0.030488280579447746
] |
10,323 | fractions | _mod | a % b | def _mod(a, b):
"""a % b"""
da, db = a.denominator, b.denominator
return Fraction((a.numerator * db) % (b.numerator * da), da * db)
| (a, b) | [
-0.0022664335556328297,
0.005200363229960203,
0.0031433405820280313,
0.05291108042001724,
-0.01660451665520668,
0.005479577463120222,
0.010898076929152012,
0.011063860729336739,
-0.046907976269721985,
0.007119960617274046,
0.05643615871667862,
-0.012084737420082092,
0.06798864156007767,
0.030818261206150055,
-0.05053776130080223,
-0.011186016723513603,
0.008612011559307575,
0.012477382086217403,
-0.02319222502410412,
-0.03183041140437126,
-0.02663004957139492,
0.036332741379737854,
0.029998069629073143,
0.04561661183834076,
-0.05127069726586342,
0.013786198571324348,
0.05046795681118965,
-0.006168887484818697,
-0.016543438658118248,
0.026036718860268593,
0.09674770385026932,
-0.007403537631034851,
-0.011875326745212078,
0.030818261206150055,
-0.022546542808413506,
-0.00797505397349596,
0.018358329311013222,
0.06376553326845169,
-0.14002589881420135,
0.026263579726219177,
-0.009685240685939789,
-0.01888185553252697,
0.01919597201049328,
-0.02846239134669304,
-0.026071621105074883,
-0.04003232717514038,
0.04505818337202072,
-0.03207472339272499,
0.024518491700291634,
0.05284127593040466,
-0.00603800592944026,
-0.01204110961407423,
-0.02012086845934391,
0.02132498100399971,
0.011063860729336739,
0.06750001758337021,
0.009781219996511936,
0.03947389870882034,
-0.019405383616685867,
-0.004369264934211969,
0.008489854633808136,
-0.019614793360233307,
-0.014318450354039669,
-0.0013360832817852497,
-0.03441314399242401,
0.0066182478331029415,
-0.03397687152028084,
0.00892176479101181,
-0.044325243681669235,
0.0043845344334840775,
-0.07245606929063797,
0.0334184430539608,
0.008913039229810238,
0.00019904914370272309,
-0.03352314978837967,
0.07081568986177444,
-0.002098468830808997,
0.027136124670505524,
0.06219495087862015,
0.006168887484818697,
0.04041624814271927,
-0.03097531944513321,
0.013096888549625874,
-0.00465938588604331,
-0.016115890815854073,
-0.04034644365310669,
-0.014004334807395935,
-0.013716395013034344,
0.08927872031927109,
-0.06687178462743759,
-0.06750001758337021,
-0.024727903306484222,
0.03518098220229149,
-0.008415688760578632,
-0.02369830012321472,
0.013009633868932724,
-0.0420217290520668,
0.03563470393419266,
-0.04785032197833061,
0.008258630521595478,
0.004764091223478317,
0.03717038407921791,
-0.0014102495042607188,
0.009091910906136036,
0.03542529419064522,
-0.0768536925315857,
0.005361784249544144,
-0.033296287059783936,
-0.011037684045732021,
0.018969111144542694,
-0.03430843725800514,
-0.010208766907453537,
-0.05346950888633728,
0.029020819813013077,
-0.02518162503838539,
0.054865580052137375,
0.03437824174761772,
-0.030137676745653152,
0.09081439673900604,
-0.011186016723513603,
0.007237754296511412,
0.03769391030073166,
-0.005017129238694906,
0.0379033200442791,
0.10135473310947418,
0.025792406871914864,
0.019370481371879578,
-0.01280022319406271,
-0.023680849000811577,
0.004360539838671684,
0.052457358688116074,
0.036018624901771545,
-0.01156121026724577,
0.02659514732658863,
0.02511182241141796,
0.054621268063783646,
-0.023000264540314674,
0.018358329311013222,
0.023471439257264137,
0.012198167853057384,
-0.06163652241230011,
-0.027066320180892944,
0.017660293728113174,
0.02528632991015911,
0.011927679181098938,
0.03476215898990631,
0.018009312450885773,
0.020731650292873383,
0.017922058701515198,
0.05699458718299866,
0.04600052908062935,
0.00046871983795426786,
0.0998888611793518,
0.01581050083041191,
-0.017442159354686737,
0.012878752313554287,
0.02415202371776104,
-0.0012488288339227438,
-0.008036131970584393,
0.044325243681669235,
0.09960964322090149,
-0.02012086845934391,
0.036716658622026443,
0.039229586720466614,
0.03978801518678665,
-0.00831970851868391,
0.020033614709973335,
-0.032127078622579575,
-0.03786841779947281,
0.022040465846657753,
0.02514672465622425,
-0.022546542808413506,
-0.04073036462068558,
-0.03279021009802818,
0.0263508353382349,
-0.024570845067501068,
0.011343074962496758,
-0.044290345162153244,
-0.029928265139460564,
-0.0516895167529583,
0.030242381617426872,
0.005248353350907564,
0.008210641331970692,
0.019004013389348984,
0.016875004395842552,
0.04278956726193428,
0.013629140332341194,
0.00730319507420063,
0.03303452208638191,
-0.03289491683244705,
0.012311598286032677,
-0.0033985597547143698,
-0.020452436059713364,
-0.02970140427350998,
-0.010540333576500416,
-0.018253624439239502,
-0.04013703390955925,
-0.016630692407488823,
0.05887928232550621,
0.09828338027000427,
-0.06463807076215744,
-0.004868796560913324,
-0.029090624302625656,
0.022075368091464043,
0.05332989990711212,
0.010278570465743542,
0.0016643780982121825,
0.05280637368559837,
-0.029858462512493134,
-0.057587917894124985,
-0.029195329174399376,
0.010357099585235119,
0.033400990068912506,
0.052003633230924606,
-0.007996867410838604,
0.05298088490962982,
0.06163652241230011,
0.015548737719655037,
0.052282847464084625,
0.0073162829503417015,
-0.010060434229671955,
-0.006862560287117958,
0.0009925189660862088,
-0.011962580494582653,
0.031202180311083794,
-0.03289491683244705,
-0.033366091549396515,
0.033610403537750244,
-0.0334184430539608,
-0.026141423732042313,
0.014650017023086548,
0.05811144411563873,
-0.02977120876312256,
-0.006295406259596348,
0.023104969412088394,
-0.025199076160788536,
-0.054760873317718506,
-0.0030997132416814566,
-0.026106521487236023,
0.015313150361180305,
-0.0003700132656376809,
0.002988463966175914,
-0.024658098816871643,
0.05922830104827881,
0.024588296189904213,
-0.06575492769479752,
-0.03533804044127464,
-0.029055722057819366,
0.006286681164056063,
0.02697906643152237,
-0.07601605355739594,
0.008232454769313335,
0.00627795560285449,
-0.036158230155706406,
0.018445584923028946,
0.0537487231194973,
-0.03954370319843292,
0.016717946156859398,
0.02298281341791153,
0.010566510260105133,
-0.0031847862992435694,
-0.033750008791685104,
-0.05605223774909973,
-0.05570322275161743,
-0.0007236663368530571,
-0.002737607341259718,
0.003978801425546408,
0.02574005350470543,
0.03744959831237793,
0.034325890243053436,
0.06163652241230011,
-0.030085323378443718,
0.006243053823709488,
-0.004681199789047241,
0.0027790532913058996,
-0.03657705336809158,
0.09074459969997406,
0.05441185459494591,
0.05179422348737717,
-0.00506511889398098,
0.01708441600203514,
-0.024675549939274788,
-0.08327561616897583,
0.027607297524809837,
0.01581050083041191,
0.05873967707157135,
0.05887928232550621,
0.005073844455182552,
0.04090487211942673,
0.0014407886192202568,
0.0013622596161440015,
-0.023471439257264137,
0.021988114342093468,
0.022197524085640907,
-0.030573949217796326,
0.049804821610450745,
-0.04006722941994667,
-0.028951017186045647,
-0.00940602645277977,
0.02263379655778408,
-0.07538782060146332,
-0.07755172997713089,
-0.03744959831237793,
0.03776371106505394,
-0.0036690484266728163,
-0.01361168920993805,
0.07622545957565308,
0.03172570839524269,
0.018445584923028946,
-0.009903376922011375,
-0.023279478773474693,
0.014239921234548092,
0.01977185159921646,
0.046873074024915695,
0.017939507961273193,
-0.00649609137326479,
0.013358651660382748,
0.06966392695903778,
-0.032336488366127014,
0.017834803089499474,
0.0109417038038373,
0.0854395255446434,
0.01764284446835518,
0.06697649508714676,
0.04544210061430931,
-0.006984716281294823,
0.015321875922381878,
0.030259832739830017,
0.017860978841781616,
0.031097475439310074,
-0.10973116010427475,
0.04334799572825432,
0.05332989990711212,
-0.0028946653474122286,
-0.033994320780038834,
-0.011299447156488895,
0.04024173691868782,
-0.05664556846022606,
0.019963812083005905,
-0.03978801518678665,
0.007194126956164837,
-0.05570322275161743,
-0.01423119567334652,
-0.02450104057788849,
-0.00945837888866663,
-0.0035817939788103104,
0.0028335873503237963,
0.025862209498882294,
0.03814763203263283,
-0.02666494995355606,
0.002611088566482067,
-0.004672474227845669,
0.027624748647212982,
-0.025268880650401115,
-0.0008305530063807964,
0.04275466501712799,
-0.030224930495023727,
-0.00959798600524664,
-0.052213042974472046,
0.019353030249476433,
-0.005043305456638336,
0.07238626480102539,
-0.0035272599197924137,
-0.019370481371879578,
-0.049281295388936996,
-0.02418692596256733,
-0.09241987764835358,
-0.0043998039327561855,
0.014292273670434952,
-0.036332741379737854,
-0.011255820281803608,
-0.03985781967639923,
0.019108718261122704,
-0.003926448989659548,
-0.023558693006634712,
-0.004055149387568235,
-0.036297839134931564,
-0.009702691808342934,
-0.028340235352516174,
0.016107166185975075,
0.03507627546787262,
-0.043976228684186935,
-0.044185638427734375,
0.013856002129614353,
-0.02108066715300083,
0.00797941628843546,
0.09137282520532608,
-0.04554680734872818,
0.034674905240535736,
0.03408157452940941,
-0.060135744512081146,
-0.05629654973745346,
0.01877715066075325,
0.010200041346251965,
-0.057797327637672424,
-0.02659514732658863,
0.03528568893671036,
-0.04355740547180176,
-0.038845669478178024,
-0.047117386013269424,
0.06945452094078064,
0.033086877316236496,
-0.027991218492388725,
0.020609494298696518,
0.011299447156488895,
0.01426609791815281,
0.05556361377239227,
0.025024566799402237,
-0.0036166957579553127,
0.005348695907741785,
-0.0847414955496788,
-0.06540591269731522,
-0.04181231930851936,
0.01193640474230051,
0.03158609941601753,
-0.0026023630052804947,
-0.025757504627108574,
-0.08481129258871078,
-0.06174122914671898,
0.0036995874252170324,
0.028968466445803642,
-0.04589582607150078,
0.017320001497864723,
-0.03992762416601181,
0.03486686572432518,
-0.04258015751838684,
0.023715751245617867,
0.00993827823549509,
-0.03076590783894062,
0.04226604104042053,
-0.04816443845629692,
0.0354776456952095,
0.0021257358603179455,
-0.01299218274652958,
0.06495218724012375,
-0.0544467568397522,
0.014946682378649712,
0.052213042974472046,
0.020417533814907074,
-0.02814827486872673,
0.08006465435028076,
0.021098118275403976,
0.012870026752352715,
-0.06184593215584755,
-0.009388575330376625,
-0.055005185306072235,
0.0447789691388607,
0.03224923461675644,
-0.03758920356631279,
-0.046454254537820816,
0.023471439257264137,
0.018969111144542694,
0.02687436155974865,
0.016307851299643517,
0.02839258871972561,
-0.05137540400028229,
-0.004685562569648027,
-0.028305333107709885,
0.015513835474848747,
-0.0018105291528627276,
-0.0024278543423861265,
0.03779861330986023,
-0.051829125732183456,
0.02977120876312256,
-0.0167092215269804,
-0.008420051075518131,
0.03985781967639923,
-0.007722015958279371,
0.008271719329059124,
0.030643751844763756,
-0.01457148790359497,
0.0010017898166552186,
0.007076333276927471,
0.0009156260639429092,
0.013873452320694923,
-0.016997160390019417,
-0.05350441113114357,
-0.023785555735230446,
-0.01221561897546053,
-0.050049133598804474,
-0.05936790630221367,
0.017442159354686737,
0.02649044245481491,
-0.0033222120255231857,
0.027205927297472954,
-0.05346950888633728,
-0.023750653490424156,
0.022755952551960945,
0.07734231650829315,
-0.05898398905992508,
0.019335579127073288,
0.009423477575182915,
-0.01595010794699192,
0.017939507961273193,
-0.04055585339665413,
-0.006779668387025595,
-0.02952689491212368,
0.025914562866091728,
-0.017066964879631996,
-0.01073229406028986,
0.02115047164261341,
0.0004564496921375394,
-0.006195063702762127,
-0.03455274924635887,
0.04551190510392189,
0.010880625806748867,
-0.0010399635648354888,
-0.02181360498070717,
0.00762167340144515,
0.019248325377702713,
-0.01984165422618389,
-0.015391679480671883,
-0.013812374323606491,
0.07713291049003601,
-0.00393517455086112,
0.015112465247511864,
-0.060100845992565155,
-0.02263379655778408,
0.041742514818906784,
-0.04086996987462044,
0.04854835942387581,
-0.009746318683028221,
-0.0203302800655365,
-0.06369572877883911,
-0.043697014451026917,
-0.041358593851327896,
-0.054621268063783646,
-0.031202180311083794,
-0.031027670949697495,
-0.024518491700291634,
-0.049769919365644455,
-0.018585192039608955,
0.00845931563526392,
0.0054883030243217945,
-0.0516895167529583,
0.029753757640719414,
-0.07357292622327805,
0.012337774969637394,
0.036088429391384125,
0.04327819123864174,
-0.01485070213675499,
0.008995930664241314,
0.034884318709373474,
-0.017974410206079483,
0.024989666417241096,
0.06233455613255501,
-0.01288747787475586,
0.022965364158153534,
0.036367643624544144,
0.000497350178193301,
0.004999678116291761,
-0.06519649922847748,
-0.023035166785120964,
-0.028724154457449913,
-0.020312828943133354,
0.018724799156188965,
-0.052178144454956055,
-0.02263379655778408,
0.005937663372606039,
-0.01909126713871956,
0.041428398340940475,
0.004009340424090624,
0.08285679668188095,
-0.011779346503317356,
-0.028410039842128754,
-0.011055135168135166,
0.10442608594894409,
-0.017285101115703583,
0.004812081344425678,
0.009004656225442886,
-0.030050422996282578,
0.013594239018857479,
0.004371446557343006,
0.04572131484746933,
0.01977185159921646,
0.010994057171046734,
-0.013210318982601166,
-0.05713419243693352,
-0.012398852966725826,
-0.014789624139666557,
-0.02135988138616085,
-0.06275337934494019,
0.015068838372826576,
-0.008097209967672825,
-0.026507893577218056,
0.014911780133843422,
0.035442743450403214,
0.007006529718637466,
0.062020443379879,
0.04003232717514038,
-0.0354950986802578,
-0.04303387925028801,
0.036018624901771545,
-0.03992762416601181,
0.004650660790503025,
-0.011761895380914211,
-0.11308173090219498,
0.025897111743688583,
-0.03118472918868065,
-0.029509445652365685,
-0.0038871844299137592,
0.01919597201049328,
0.006744766607880592,
0.0020744737703353167,
0.019998712465167046,
0.057727523148059845,
0.0327378585934639,
-0.03706567734479904,
-0.01667431928217411,
-0.07343331724405289,
-0.025024566799402237,
0.01288747787475586,
0.0018879674607887864,
-0.009789945557713509,
0.03245864436030388,
-0.008516031317412853,
0.009240242652595043,
-0.06076397746801376,
-0.02104576677083969,
-0.02570515125989914,
-0.06914040446281433,
0.050084035843610764,
-0.03675156086683273,
0.02390771172940731,
-0.01994636096060276,
0.006635698489844799,
0.0382523387670517,
-0.017922058701515198,
0.04854835942387581,
-0.017695195972919464,
-0.026403186842799187,
0.03793822228908539,
-0.023104969412088394,
-0.0018007131293416023,
-0.026036718860268593,
-0.008433139882981777,
0.00016428371600341052,
-0.03200492262840271,
0.00011002236715285107,
0.07224665582180023,
-0.004076962824910879,
-0.044429950416088104,
-0.04104447737336159,
-0.013794924132525921,
-0.03786841779947281,
-0.03263315185904503,
0.00816265121102333,
-0.01560981571674347,
-0.007612948305904865,
-0.01987655647099018,
-0.024553393945097923,
0.08802226185798645,
0.04041624814271927,
-0.03783351555466652,
-0.04558170959353447,
-0.060135744512081146,
0.07943642139434814,
0.006321582477539778,
0.014440606348216534,
-0.014946682378649712,
0.049630314111709595,
-0.028863761574029922,
0.01891675777733326,
0.015400405041873455,
-0.006600796710699797,
0.029125524684786797,
-0.005976927932351828,
-0.0033069425262510777,
-0.00999063067138195,
-0.04526759311556816,
-0.017005886882543564,
0.016246773302555084,
-0.04470916464924812,
0.018340878188610077,
-0.05716909468173981,
0.0282529816031456,
0.034709807485342026,
0.009196615777909756,
0.029683953151106834,
0.019702047109603882,
-0.04282446950674057,
0.008668726310133934,
-0.03270295634865761,
-0.04568641260266304,
0.0007743829628452659,
0.02546083927154541,
-0.04080016538500786,
0.03167335316538811,
0.011491406708955765,
-0.04833894968032837,
0.02163909561932087,
-0.02142968587577343,
-0.003049541963264346,
-0.06257887184619904,
-0.04292917624115944,
0.041463300585746765,
-0.008262993767857552,
0.0010786827187985182,
-0.01426609791815281,
0.03261570259928703,
-0.018445584923028946,
-0.029858462512493134,
0.023541241884231567,
-0.0237681046128273,
-0.027520043775439262,
-0.04491857439279556,
-0.018375780433416367,
0.0177475493401289,
-0.030172578990459442,
-0.06603414565324783,
-0.033400990068912506,
0.0379033200442791,
-0.007359910290688276,
-0.00184543093200773,
0.05392323061823845,
0.015182268805801868,
-0.0009183527436107397,
-0.02156929299235344,
0.03315667808055878,
0.03542529419064522,
-0.06687178462743759,
-0.028968466445803642,
0.10966135561466217,
0.03156865015625954,
-0.019213423132896423,
-0.04847855493426323,
0.01083699893206358,
0.009755044244229794,
-0.01117729116231203,
0.002724519232288003,
-0.035268235951662064,
0.03518098220229149,
-0.0304866936057806,
-0.0354776456952095,
-0.005750066135078669,
-0.017590491101145744,
0.003882821649312973,
0.014396979473531246,
0.033086877316236496,
-0.0033069425262510777,
0.054830677807331085,
-0.018550289794802666,
0.036262936890125275,
-0.03793822228908539,
-0.09639868140220642,
0.014161392115056515,
-0.01571452058851719,
0.03191766515374184,
0.00021295531769283116,
-0.038531553000211716,
0.022092819213867188,
-0.00735554751008749,
0.00999063067138195,
0.027380436658859253,
0.026263579726219177,
-0.041009578853845596,
0.005649723578244448,
0.005466489586979151,
0.014676193706691265,
-0.022214975208044052,
-0.03566960617899895,
0.02914297580718994,
0.036542151123285294,
0.060484763234853745,
-0.06380043178796768,
0.009720141999423504,
-0.00039237222517840564,
0.04620993882417679
] |
10,324 | fractions | _mul | a * b | def _mul(a, b):
"""a * b"""
na, da = a.numerator, a.denominator
nb, db = b.numerator, b.denominator
g1 = math.gcd(na, db)
if g1 > 1:
na //= g1
db //= g1
g2 = math.gcd(nb, da)
if g2 > 1:
nb //= g2
da //= g2
return Fraction(na * nb, db * da, _normalize=False)
| (a, b) | [
-0.02443440444767475,
-0.018061380833387375,
0.031838223338127136,
0.06475206464529037,
-0.047649774700403214,
-0.025151479989290237,
-0.01256677694618702,
-0.02479294314980507,
-0.06303107738494873,
0.036857765167951584,
0.020042305812239647,
0.015937039628624916,
0.04693269729614258,
0.08275070041418076,
-0.07016599923372269,
0.009949445724487305,
0.009214441291987896,
-0.02879064716398716,
0.032160911709070206,
0.023179518058896065,
-0.07066795229911804,
0.051055893301963806,
0.06812232732772827,
0.07131332159042358,
-0.051055893301963806,
0.027840519323945045,
0.05525079369544983,
-0.024739161133766174,
-0.03969021886587143,
0.034957509487867355,
0.08690974861383438,
0.03289591521024704,
0.005207772832363844,
0.02378903329372406,
0.0011596481781452894,
-0.009357856586575508,
0.019737549126148224,
0.023143664002418518,
-0.13595782220363617,
-0.026513926684856415,
-0.0333261601626873,
0.02432684227824211,
0.0288982093334198,
-0.03323652595281601,
0.006987020373344421,
-0.030493704602122307,
0.010469326749444008,
-0.026603562757372856,
-0.04026388004422188,
0.031407978385686874,
-0.005920368246734142,
-0.012548849917948246,
-0.029418090358376503,
0.047757338732481,
-0.0333082340657711,
0.07414577901363373,
0.01576673425734043,
0.01350794080644846,
-0.04578537493944168,
-0.025205262005329132,
-0.02099243365228176,
-0.011697321198880672,
-0.016958873718976974,
-0.05087662488222122,
0.02767917700111866,
-0.000917074445169419,
-0.02599404565989971,
0.015184108167886734,
-0.036284103989601135,
0.05646982416510582,
-0.05632640793919563,
0.01094438973814249,
-0.018966689705848694,
-0.0378258191049099,
-0.0016548795392736793,
0.04721952974796295,
-0.012970132753252983,
0.010406581684947014,
0.03388189524412155,
-0.011078841984272003,
0.02966906689107418,
-0.038614604622125626,
0.03359506279230118,
-0.05912300944328308,
0.035387758165597916,
0.031139075756072998,
0.030870171263813972,
0.014475994743406773,
-0.0016795290866866708,
-0.0355491004884243,
-0.052167363464832306,
-0.06837330758571625,
0.03714459761977196,
0.019719621166586876,
-0.02423720806837082,
0.02599404565989971,
-0.02957943268120289,
0.01966584101319313,
0.0026643897872418165,
0.006032411474734545,
0.011258111335337162,
0.023251226171851158,
0.00967157818377018,
-0.025760997086763382,
0.03721630200743675,
-0.04922734573483467,
0.05198809131979942,
-0.025312822312116623,
0.010962316766381264,
0.027822593227028847,
-0.0030206874944269657,
-0.013400379568338394,
-0.049836862832307816,
0.025043919682502747,
-0.03542361035943031,
0.04643074423074722,
-0.02902369759976864,
-0.027876373380422592,
0.0811731293797493,
0.031407978385686874,
-0.047398798167705536,
0.03203542158007622,
0.03646337240934372,
0.005525975953787565,
0.07378723472356796,
0.019952671602368355,
0.04546269029378891,
-0.018375102430582047,
-0.010836828500032425,
0.03954680263996124,
0.03567458689212799,
0.04216413572430611,
0.005104693118482828,
0.07131332159042358,
0.014368433505296707,
0.06274425238370895,
-0.021494386717677116,
-0.0036951880902051926,
0.07593847066164017,
0.015058619901537895,
-0.033505428582429886,
-0.001716503407806158,
0.027177223935723305,
0.005911404732614756,
-0.0194686446338892,
0.03266286477446556,
0.047972459346055984,
-0.007717542815953493,
-0.05259760841727257,
0.023358788341283798,
-0.010352801531553268,
0.03725215792655945,
0.10390447825193405,
0.018966689705848694,
0.03990534320473671,
-0.017693879082798958,
0.0622064433991909,
-0.004593775607645512,
-0.0005473315250128508,
0.020293282344937325,
0.08303753286600113,
0.009635724127292633,
0.023036103695631027,
0.003547291038557887,
-0.013158365152776241,
-0.03156932070851326,
0.04012046754360199,
0.004678928293287754,
-0.01710228994488716,
-0.002020140876993537,
0.010343837551772594,
-0.03465275466442108,
-0.03131834417581558,
-0.032842133194208145,
0.0009994262363761663,
-0.01427879836410284,
-0.018590224906802177,
-0.05467713251709938,
0.03079846315085888,
-0.047972459346055984,
0.018052417784929276,
-0.01665411703288555,
0.00531085254624486,
0.009402673691511154,
0.022175610065460205,
0.04854612424969673,
-0.0022397455759346485,
0.022372806444764137,
0.019647913053631783,
-0.03275249898433685,
0.04123193398118019,
-0.008595962077379227,
-0.04237926006317139,
-0.013588611967861652,
0.01305976789444685,
0.003383707720786333,
0.016528628766536713,
-0.0034666198771446943,
0.03655300661921501,
0.09759420156478882,
-0.059087157249450684,
-0.006538846995681524,
-0.003040855284780264,
0.005158473737537861,
0.10024738311767578,
-0.029202966019511223,
-0.03359506279230118,
0.02877272106707096,
-0.027481980621814728,
-0.050518084317445755,
-0.03241188824176788,
0.04270194470882416,
0.014924167655408382,
0.051414430141448975,
-0.0036369257140904665,
0.06693915277719498,
0.04643074423074722,
-0.014314652420580387,
0.020078159868717194,
-0.010639632120728493,
0.035853855311870575,
-0.0028817537240684032,
0.018948763608932495,
0.03420457988977432,
0.01488831453025341,
0.005077802576124668,
0.002924330299720168,
0.08726828545331955,
0.008295685984194279,
-0.035728368908166885,
-0.025259042158722878,
-0.012656411156058311,
-0.013176292181015015,
-0.01338245254009962,
-0.046753428876399994,
-0.03504714369773865,
-0.016089418902993202,
0.009779139421880245,
-0.02957943268120289,
0.03836362808942795,
-0.026083681732416153,
-0.015264779329299927,
-0.013346598483622074,
0.03433007001876831,
-0.038614604622125626,
-0.03954680263996124,
-0.040945105254650116,
-0.007493456359952688,
0.02411171980202198,
0.028270766139030457,
-0.00928614940494299,
-0.0035517727956175804,
0.015157218091189861,
0.0009501271997578442,
0.04313218966126442,
0.04610805958509445,
-0.03990534320473671,
-0.053852494806051254,
0.021763291209936142,
0.00383188109844923,
0.01156286895275116,
0.017729733139276505,
-0.02412964589893818,
0.027804667130112648,
-0.04969344660639763,
-0.0039730556309223175,
0.0034038755111396313,
0.03045785240828991,
-0.007188698276877403,
0.023645618930459023,
0.1110752522945404,
0.006928757764399052,
0.043168045580387115,
-0.020418772473931313,
-0.031945787370204926,
-0.0533505380153656,
0.037180449813604355,
0.11874797195196152,
-0.020185722038149834,
-0.0544620081782341,
-0.012979096733033657,
-0.024380622431635857,
-0.0377541109919548,
0.017496682703495026,
0.0005781434592790902,
0.045964643359184265,
0.04700440540909767,
-0.018249614164233208,
0.006821196526288986,
-0.002476156922057271,
-0.010523106902837753,
0.0014588037738576531,
-0.017039544880390167,
0.05421103164553642,
0.0016952152363955975,
0.026962101459503174,
-0.07145673781633377,
0.008690078742802143,
0.0036010718904435635,
0.05525079369544983,
-0.09278978407382965,
-0.027607470750808716,
0.02810942381620407,
0.060091063380241394,
-0.014027821831405163,
-0.004988167900592089,
0.08949122577905655,
0.005301889032125473,
0.016483811661601067,
0.036678496748209,
-0.014556665904819965,
0.03158724680542946,
-0.034724459052085876,
0.05801153928041458,
0.007520346436649561,
0.014709045179188251,
0.014045748859643936,
0.06428596377372742,
-0.015004838816821575,
0.008873829618096352,
0.014251908287405968,
0.05170126259326935,
-0.001448719878681004,
0.025510018691420555,
0.013032876886427402,
-0.0077578783966600895,
-0.04191315919160843,
0.025760997086763382,
0.024201354011893272,
-0.011320855468511581,
-0.10182495415210724,
0.030762609094381332,
0.022408660501241684,
0.0006039133877493441,
-0.00860940758138895,
-0.030421998351812363,
-0.00855114497244358,
-0.03433007001876831,
-0.0014005412813276052,
-0.053960055112838745,
-0.027481980621814728,
-0.0011137104593217373,
-0.011222257278859615,
-0.014601483009755611,
-0.01599081978201866,
0.01988096348941326,
0.016734788194298744,
-0.041518766433000565,
0.0005787036498077214,
-0.07486285269260406,
-0.033290307968854904,
-0.029202966019511223,
0.04187730699777603,
-0.031515538692474365,
0.011276038363575935,
0.04087339714169502,
-0.043060481548309326,
-0.021870853379368782,
-0.03359506279230118,
0.011984151788055897,
0.016161127015948296,
0.06374815851449966,
-0.01576673425734043,
-0.03692947328090668,
0.015130328014492989,
-0.021404752507805824,
-0.056398116052150726,
-0.023968303576111794,
-0.042415112257003784,
-0.03257323056459427,
0.005844178609549999,
-0.05912300944328308,
-0.006525401957333088,
-0.002163556171581149,
-0.04076583683490753,
0.04098095744848251,
-0.04901222139596939,
0.02099243365228176,
-0.022068049758672714,
0.04133949801325798,
-0.0013299540150910616,
-0.05069735273718834,
-0.040945105254650116,
0.008403248153626919,
0.01144634373486042,
0.012270982377231121,
0.029973825439810753,
-0.031730663031339645,
-0.022767199203372,
0.05535835400223732,
-0.029077477753162384,
-0.04320389777421951,
0.0422358438372612,
-0.021727437153458595,
-0.06611451506614685,
-0.040945105254650116,
0.044387076050043106,
-0.04492488130927086,
-0.06539743393659592,
-0.008340503089129925,
0.03947509825229645,
0.05521494150161743,
-0.02601197361946106,
0.005046430509537458,
0.002019020263105631,
-0.011087805032730103,
0.014233981259167194,
0.04858197644352913,
-0.034849949181079865,
0.03990534320473671,
-0.036965325474739075,
-0.08533217757940292,
-0.013606538996100426,
0.03922411799430847,
-0.025850631296634674,
-0.016376249492168427,
-0.018177906051278114,
-0.10598400235176086,
-0.0421999916434288,
0.032949693500995636,
0.022641710937023163,
-0.02602989971637726,
0.049299053847789764,
-0.00045041408156976104,
0.02099243365228176,
-0.09185758233070374,
0.03291384130716324,
-0.01855437085032463,
-0.017747659236192703,
-0.006816714536398649,
-0.033182743936777115,
-0.0027204114012420177,
0.04456634446978569,
0.019612058997154236,
0.06055716425180435,
-0.04603635147213936,
0.008811085484921932,
0.06346132606267929,
0.008376357145607471,
-0.03192786127328873,
0.0632820576429367,
-0.015076546929776669,
-0.014260871335864067,
-0.06851672381162643,
-0.04858197644352913,
-0.09099709242582321,
0.06156107410788536,
0.0030296510085463524,
-0.05403176322579384,
-0.026531854644417763,
-0.0027069661300629377,
0.00678086094558239,
0.05424688756465912,
-0.02009608782827854,
0.06188375875353813,
-0.006874977145344019,
-0.015094473958015442,
-0.0666164681315422,
0.04080168902873993,
0.0031349717173725367,
0.0036212396807968616,
0.0054901218973100185,
-0.008793158456683159,
0.05399590730667114,
-0.01383958850055933,
0.02610160782933235,
0.055609334260225296,
0.01632246933877468,
0.021494386717677116,
0.019056325778365135,
0.02823491208255291,
0.0633537620306015,
-0.006919794250279665,
0.016734788194298744,
0.0032806280069053173,
-0.036821912974119186,
-0.06876769661903381,
-0.005906922742724419,
0.008739377371966839,
-0.046502452343702316,
-0.01400989480316639,
0.0172367412596941,
0.03576422110199928,
0.009698468260467052,
0.04230755195021629,
-0.03099565953016281,
0.02599404565989971,
0.01846473664045334,
0.08174679428339005,
-0.028073569759726524,
0.017281558364629745,
0.02654978074133396,
0.0018263058736920357,
0.01478075236082077,
-0.10820694267749786,
-0.015479902736842632,
-0.013409342616796494,
-0.022605856880545616,
-0.0010307984193786979,
-0.016707897186279297,
0.027320638298988342,
-0.005015058442950249,
-0.061740342527627945,
0.008250868879258633,
0.07020185142755508,
0.015963930636644363,
-0.0015170663828030229,
-0.006650890689343214,
-0.01438636053353548,
0.017093326896429062,
-0.07217381149530411,
-0.024147571995854378,
-0.024057937785983086,
0.02133304439485073,
0.0029310528188943863,
0.031605176627635956,
-0.029848335310816765,
-0.03289591521024704,
0.05191638693213463,
-0.07536480575799942,
0.03832777217030525,
0.008067118003964424,
-0.0333440862596035,
-0.04958588629961014,
-0.007287296466529369,
-0.030171019956469536,
-0.07059624791145325,
-0.005006094928830862,
-0.01161665003746748,
-0.005122619681060314,
-0.05478469282388687,
-0.026854539290070534,
-0.0238965954631567,
0.006964611820876598,
-0.08526047319173813,
-0.0152737433090806,
-0.0666523203253746,
0.0034598971251398325,
0.019271448254585266,
0.015444048680365086,
0.0068077510222792625,
0.030941879376769066,
0.046968553215265274,
0.028844427317380905,
-0.023645618930459023,
0.045964643359184265,
-0.0411243736743927,
0.033057257533073425,
0.07601017504930496,
-0.006050338502973318,
0.04499658942222595,
-0.023609764873981476,
-0.03467068076133728,
0.04270194470882416,
0.005454267840832472,
0.04531927406787872,
0.009097916074097157,
-0.02321537211537361,
0.008201570250093937,
0.003213401883840561,
0.012468178756535053,
0.007798213977366686,
0.09343515336513519,
-0.04323974996805191,
-0.005225699860602617,
-0.021404752507805824,
0.024362696334719658,
0.007511382922530174,
0.04087339714169502,
-0.007515864912420511,
-0.043741706758737564,
0.009456454776227474,
0.05180882290005684,
0.018715713173151016,
-0.03178444504737854,
-0.02167365700006485,
-0.0007484492962248623,
-0.03303932771086693,
-0.03180237114429474,
0.01799863576889038,
-0.014413250610232353,
0.011957261711359024,
0.004129915963858366,
0.0044189877808094025,
-0.0016784087056294084,
-0.03590763732790947,
-0.00489405170083046,
-0.03958265855908394,
0.04822343960404396,
0.008465992286801338,
-0.0399770513176918,
-0.025402458384633064,
0.01599081978201866,
-0.028073569759726524,
-0.039833635091781616,
0.020580114796757698,
-0.053063709288835526,
0.02545623853802681,
-0.017953818663954735,
-0.016394175589084625,
-0.002032465534284711,
-0.007524828426539898,
0.011643540114164352,
-0.009546089917421341,
0.026280878111720085,
0.04298877343535423,
-0.006574701052159071,
-0.039295826107263565,
-0.007883367128670216,
-0.05320712551474571,
-0.0002352909359615296,
0.02956150472164154,
-0.01780143938958645,
0.03567458689212799,
0.023968303576111794,
-0.03710874170064926,
-0.017980709671974182,
-0.03067297488451004,
-0.02913125976920128,
0.0010251962812617421,
-0.08877415210008621,
0.017649061977863312,
-0.03135419636964798,
-0.0019629986491054296,
-0.014574592933058739,
0.021709511056542397,
0.010657559148967266,
-0.05324297770857811,
0.0105679240077734,
0.04503244534134865,
0.009868774563074112,
0.026298804208636284,
-0.011643540114164352,
-0.023484276607632637,
0.0027786740101873875,
-0.010128715075552464,
0.015470939688384533,
-0.013355561532080173,
-0.016707897186279297,
0.09924347698688507,
-0.018948763608932495,
-0.013481050729751587,
-0.030708828940987587,
-0.026209169998764992,
-0.002196048852056265,
-0.027804667130112648,
-0.041733890771865845,
-0.05098418518900871,
0.011930370703339577,
0.006328205578029156,
-0.042630236595869064,
0.04478146880865097,
0.05847764015197754,
-0.019809255376458168,
-0.012226165272295475,
-0.028521742671728134,
0.02443440444767475,
0.019414864480495453,
-0.018249614164233208,
0.0033097590785473585,
0.024308914318680763,
-0.044745612889528275,
-0.03210712969303131,
0.029633212834596634,
-0.018428882583975792,
-0.0038520488888025284,
-0.0045220679603517056,
-0.03637373819947243,
-0.042630236595869064,
-0.027177223935723305,
0.018608151003718376,
0.01790003851056099,
-0.03990534320473671,
-0.032824207097291946,
-0.08934780955314636,
0.03915241360664368,
0.02402208372950554,
-0.015291670337319374,
0.03253737464547157,
0.01679753139615059,
-0.03033236227929592,
0.0019114587921649218,
-0.0005434100166894495,
0.0125129958614707,
0.01456562988460064,
-0.002076162490993738,
-0.013086657971143723,
0.03311103582382202,
-0.0017602002480998635,
-0.017693879082798958,
0.04313218966126442,
-0.022641710937023163,
-0.012279946357011795,
-0.019845109432935715,
-0.09271807223558426,
0.05571689456701279,
-0.015479902736842632,
-0.021870853379368782,
-0.01062170509248972,
0.022319026291370392,
-0.013624466024339199,
0.014054711908102036,
-0.001579810632392764,
-0.022032195702195168,
-0.004013391211628914,
0.04076583683490753,
-0.007578609045594931,
0.016600335016846657,
0.004405542742460966,
-0.06679573655128479,
-0.022032195702195168,
0.0261195357888937,
-0.0030072422232478857,
-0.018948763608932495,
0.010352801531553268,
0.023699399083852768,
-0.0031730663031339645,
-0.00475063594058156,
0.028521742671728134,
0.040514860302209854,
-0.06572011858224869,
-0.017819367349147797,
0.05499981716275215,
0.0005747821414843202,
0.001073374878615141,
0.010917499661445618,
0.013490013778209686,
-0.04567781463265419,
0.02368147298693657,
-0.008524254895746708,
-0.0444946363568306,
0.06647305190563202,
-0.011706284247338772,
-0.010800974443554878,
-0.04388512298464775,
-0.03678605705499649,
0.028414182364940643,
-0.04711196944117546,
0.06202717125415802,
-0.025760997086763382,
-0.015497829765081406,
-0.039726074784994125,
0.05715104937553406,
-0.024541964754462242,
-0.10483667999505997,
0.008936573751270771,
-0.0067091528326272964,
0.018841201439499855,
0.01634039543569088,
-0.0033030365593731403,
0.030314436182379723,
-0.015408195555210114,
-0.011258111335337162,
0.022534148767590523,
0.021207556128501892,
-0.0305654127150774,
0.05202394723892212,
-0.003455415368080139,
-0.011957261711359024,
-0.027589542791247368,
-0.013301781378686428,
0.04370585083961487,
0.053637370467185974,
0.06077228859066963,
-0.07923702150583267,
0.02099243365228176,
0.0067405253648757935,
0.03619446977972984
] |
10,325 | fractions | _operator_fallbacks | Generates forward and reverse operators given a purely-rational
operator and a function from the operator module.
Use this like:
__op__, __rop__ = _operator_fallbacks(just_rational_op, operator.op)
In general, we want to implement the arithmetic operations so
that mixed-mode operations either call an implementation whose
author knew about the types of both arguments, or convert both
to the nearest built in type and do the operation there. In
Fraction, that means that we define __add__ and __radd__ as:
def __add__(self, other):
# Both types have numerators/denominator attributes,
# so do the operation directly
if isinstance(other, (int, Fraction)):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
# float and complex don't have those operations, but we
# know about those types, so special case them.
elif isinstance(other, float):
return float(self) + other
elif isinstance(other, complex):
return complex(self) + other
# Let the other type take over.
return NotImplemented
def __radd__(self, other):
# radd handles more types than add because there's
# nothing left to fall back to.
if isinstance(other, numbers.Rational):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
elif isinstance(other, Real):
return float(other) + float(self)
elif isinstance(other, Complex):
return complex(other) + complex(self)
return NotImplemented
There are 5 different cases for a mixed-type addition on
Fraction. I'll refer to all of the above code that doesn't
refer to Fraction, float, or complex as "boilerplate". 'r'
will be an instance of Fraction, which is a subtype of
Rational (r : Fraction <: Rational), and b : B <:
Complex. The first three involve 'r + b':
1. If B <: Fraction, int, float, or complex, we handle
that specially, and all is well.
2. If Fraction falls back to the boilerplate code, and it
were to return a value from __add__, we'd miss the
possibility that B defines a more intelligent __radd__,
so the boilerplate should return NotImplemented from
__add__. In particular, we don't handle Rational
here, even though we could get an exact answer, in case
the other type wants to do something special.
3. If B <: Fraction, Python tries B.__radd__ before
Fraction.__add__. This is ok, because it was
implemented with knowledge of Fraction, so it can
handle those instances before delegating to Real or
Complex.
The next two situations describe 'b + r'. We assume that b
didn't know about Fraction in its implementation, and that it
uses similar boilerplate code:
4. If B <: Rational, then __radd_ converts both to the
builtin rational type (hey look, that's us) and
proceeds.
5. Otherwise, __radd__ tries to find the nearest common
base ABC, and fall back to its builtin type. Since this
class doesn't subclass a concrete type, there's no
implementation to fall back to, so we need to try as
hard as possible to return an actual value, or the user
will get a TypeError.
| def _operator_fallbacks(monomorphic_operator, fallback_operator):
"""Generates forward and reverse operators given a purely-rational
operator and a function from the operator module.
Use this like:
__op__, __rop__ = _operator_fallbacks(just_rational_op, operator.op)
In general, we want to implement the arithmetic operations so
that mixed-mode operations either call an implementation whose
author knew about the types of both arguments, or convert both
to the nearest built in type and do the operation there. In
Fraction, that means that we define __add__ and __radd__ as:
def __add__(self, other):
# Both types have numerators/denominator attributes,
# so do the operation directly
if isinstance(other, (int, Fraction)):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
# float and complex don't have those operations, but we
# know about those types, so special case them.
elif isinstance(other, float):
return float(self) + other
elif isinstance(other, complex):
return complex(self) + other
# Let the other type take over.
return NotImplemented
def __radd__(self, other):
# radd handles more types than add because there's
# nothing left to fall back to.
if isinstance(other, numbers.Rational):
return Fraction(self.numerator * other.denominator +
other.numerator * self.denominator,
self.denominator * other.denominator)
elif isinstance(other, Real):
return float(other) + float(self)
elif isinstance(other, Complex):
return complex(other) + complex(self)
return NotImplemented
There are 5 different cases for a mixed-type addition on
Fraction. I'll refer to all of the above code that doesn't
refer to Fraction, float, or complex as "boilerplate". 'r'
will be an instance of Fraction, which is a subtype of
Rational (r : Fraction <: Rational), and b : B <:
Complex. The first three involve 'r + b':
1. If B <: Fraction, int, float, or complex, we handle
that specially, and all is well.
2. If Fraction falls back to the boilerplate code, and it
were to return a value from __add__, we'd miss the
possibility that B defines a more intelligent __radd__,
so the boilerplate should return NotImplemented from
__add__. In particular, we don't handle Rational
here, even though we could get an exact answer, in case
the other type wants to do something special.
3. If B <: Fraction, Python tries B.__radd__ before
Fraction.__add__. This is ok, because it was
implemented with knowledge of Fraction, so it can
handle those instances before delegating to Real or
Complex.
The next two situations describe 'b + r'. We assume that b
didn't know about Fraction in its implementation, and that it
uses similar boilerplate code:
4. If B <: Rational, then __radd_ converts both to the
builtin rational type (hey look, that's us) and
proceeds.
5. Otherwise, __radd__ tries to find the nearest common
base ABC, and fall back to its builtin type. Since this
class doesn't subclass a concrete type, there's no
implementation to fall back to, so we need to try as
hard as possible to return an actual value, or the user
will get a TypeError.
"""
def forward(a, b):
if isinstance(b, (int, Fraction)):
return monomorphic_operator(a, b)
elif isinstance(b, float):
return fallback_operator(float(a), b)
elif isinstance(b, complex):
return fallback_operator(complex(a), b)
else:
return NotImplemented
forward.__name__ = '__' + fallback_operator.__name__ + '__'
forward.__doc__ = monomorphic_operator.__doc__
def reverse(b, a):
if isinstance(a, numbers.Rational):
# Includes ints.
return monomorphic_operator(a, b)
elif isinstance(a, numbers.Real):
return fallback_operator(float(a), float(b))
elif isinstance(a, numbers.Complex):
return fallback_operator(complex(a), complex(b))
else:
return NotImplemented
reverse.__name__ = '__r' + fallback_operator.__name__ + '__'
reverse.__doc__ = monomorphic_operator.__doc__
return forward, reverse
| (monomorphic_operator, fallback_operator) | [
-0.03859853371977806,
-0.061885565519332886,
-0.0011244973866268992,
0.05620488151907921,
0.011088614352047443,
-0.012856773100793362,
-0.03620963916182518,
-0.023399891331791878,
-0.027030259370803833,
-0.014869464561343193,
0.0746764987707138,
0.012527594342827797,
0.052029017359018326,
0.03256046026945114,
-0.02016453631222248,
0.052743807435035706,
0.013665611855685711,
0.00437572319060564,
0.002750992076471448,
-0.0011944478610530496,
-0.0059769414365291595,
0.00935337319970131,
0.04108148068189621,
0.07245689630508423,
-0.00543614849448204,
0.055941540747880936,
-0.00013020186452195048,
-0.02174459397792816,
-0.06286369264125824,
0.012678075581789017,
0.003771445481106639,
-0.01906413957476616,
-0.002029150491580367,
-0.02814006246626377,
0.007129066623747349,
-0.016722269356250763,
-0.01935569755733013,
0.07697134464979172,
-0.15650087594985962,
-0.005864080507308245,
-0.007133768871426582,
-0.03005870245397091,
0.021819833666086197,
-0.04300012066960335,
-0.02757575549185276,
-0.029588447883725166,
-0.011116829700767994,
-0.030434906482696533,
0.027049070224165916,
-0.01551841665059328,
0.02665405534207821,
-0.0557534396648407,
0.01980714313685894,
0.020333828404545784,
-0.04356442764401436,
0.02909938246011734,
-0.019581420347094536,
0.013477509841322899,
-0.07505270838737488,
0.0020820542704313993,
-0.009715469554066658,
-0.00045644131023436785,
-0.05293190851807594,
0.0005575461545959115,
0.004331049043685198,
0.007669859565794468,
-0.04036669433116913,
-0.05112612992525101,
-0.02229009009897709,
0.003639774164184928,
-0.062487490475177765,
0.004236998036503792,
0.03280499204993248,
-0.028516266494989395,
-0.02016453631222248,
-0.006588273216038942,
0.03261689096689224,
0.004806006792932749,
0.03675513342022896,
-0.008610369637608528,
-0.026334282010793686,
-0.0034281592816114426,
-0.008027253672480583,
-0.013261192478239536,
-0.0008611545781604946,
-0.06707718223333359,
0.0019715442322194576,
0.00846929382532835,
-0.008967763744294643,
-0.05138947069644928,
-0.06004216521978378,
-0.0695977434515953,
0.033444538712501526,
0.009174675680696964,
0.024547314271330833,
0.022421760484576225,
-0.005445553455501795,
0.00899127684533596,
0.014389804564416409,
-0.043037742376327515,
-0.032880231738090515,
0.06643763184547424,
-0.029137002304196358,
-0.02853507548570633,
0.05180329456925392,
0.0015659492928534746,
0.020032864063978195,
-0.014643741771578789,
-0.04920748621225357,
0.0009722522809170187,
-0.046649299561977386,
-0.023475131019949913,
-0.031168503686785698,
0.0010986333945766091,
-0.008144817315042019,
0.005417338106781244,
-0.05150233209133148,
0.0008252976112999022,
0.06079457327723503,
0.012753317132592201,
-0.04950845241546631,
0.006315525155514479,
-0.019675470888614655,
0.003028442384675145,
0.04352680593729019,
-0.004319292493164539,
0.10571333765983582,
0.02291082590818405,
-0.06722766160964966,
0.04221009463071823,
0.012489973567426205,
0.024566123262047768,
-0.017107877880334854,
0.035626523196697235,
-0.02625904232263565,
0.07892760634422302,
-0.03026561439037323,
0.018565669655799866,
-0.008149519562721252,
0.011003968305885792,
-0.004020680673420429,
-0.051728054881095886,
-0.005647763144224882,
0.06282607465982437,
-0.04762743040919304,
0.031243745237588882,
0.03493054583668709,
0.01196328829973936,
0.014389804564416409,
0.023381080478429794,
-0.006687026936560869,
0.040554795414209366,
0.03604034706950188,
-0.027331223711371422,
0.046536438167095184,
-0.015179832465946674,
0.06703955680131912,
0.02671048603951931,
-0.05947785824537277,
-0.01457790657877922,
0.003914873115718365,
-0.012424138374626637,
-0.017700400203466415,
-0.04157054424285889,
0.03523150831460953,
-0.014258133247494698,
0.006470709573477507,
-0.08712885528802872,
0.020785272121429443,
0.0474393293261528,
0.027030259370803833,
-0.04330108314752579,
0.04284964129328728,
-0.015264478512108326,
-0.01266867108643055,
-0.005210425704717636,
0.001965666189789772,
0.009433316066861153,
-0.03696204721927643,
-0.018575074151158333,
0.07430029660463333,
-0.01658119261264801,
-0.09533010423183441,
-0.05266856402158737,
0.027538135647773743,
0.053195249289274216,
0.004079462494701147,
-0.048981767147779465,
0.014662552624940872,
0.010731220245361328,
0.017042042687535286,
-0.01634606532752514,
0.03378312289714813,
0.010439662262797356,
0.01274391170591116,
-0.057258255779743195,
0.029137002304196358,
-0.0185844786465168,
0.11240976303815842,
0.04439207538962364,
-0.05763445794582367,
0.022026745602488518,
0.07700896263122559,
0.047401707619428635,
-0.016289634630084038,
-0.024867087602615356,
-0.04774029180407524,
0.04078051820397377,
-0.036585841327905655,
-0.030660629272460938,
0.0030566577333956957,
-0.010768840089440346,
0.01378787774592638,
0.03671751543879509,
-0.02919343300163746,
0.02742527425289154,
0.07388647645711899,
-0.001823413884267211,
-0.006597678177058697,
0.014267537742853165,
0.00040001070010475814,
0.017700400203466415,
-0.0018386972369626164,
-0.01960023120045662,
0.043639667332172394,
-0.014493260532617569,
-0.03180805221199989,
0.006207366473972797,
0.033444538712501526,
0.02163173258304596,
0.047364089637994766,
-0.02087932452559471,
-0.010091673582792282,
-0.053496215492486954,
0.042774397879838943,
0.010505497455596924,
0.015095187351107597,
0.0023136548697948456,
0.027857908979058266,
0.03103683330118656,
-0.023042498156428337,
-0.00029111726325936615,
-0.011446007527410984,
0.040404312312603,
0.02264748327434063,
-0.06211128458380699,
0.03184567019343376,
-0.014897679910063744,
0.012461759150028229,
-0.017258360981941223,
0.02443445287644863,
-0.028854848816990852,
0.029212243854999542,
-0.04322584345936775,
0.017154904082417488,
-0.006964477244764566,
-0.06801769137382507,
-0.022384140640497208,
0.013543345034122467,
0.0007324222242459655,
0.011446007527410984,
0.05312000960111618,
0.0031812754459679127,
-0.013289407826960087,
-0.04691264405846596,
-0.05631774291396141,
-0.03438504785299301,
-0.0015483146999031305,
0.036585841327905655,
0.047401707619428635,
0.039087601006031036,
-0.029588447883725166,
-0.05184091627597809,
0.03581462427973747,
-0.012104365043342113,
0.018951278179883957,
0.0287419892847538,
0.049132246524095535,
-0.0031036832369863987,
-0.07794947922229767,
-0.025976888835430145,
-0.02625904232263565,
-0.03414051607251167,
-0.03299309313297272,
-0.03754516318440437,
0.08660216629505157,
-0.022421760484576225,
-0.06508329510688782,
0.05003513768315315,
-0.035927485674619675,
0.10104840248823166,
-0.018292920663952827,
0.02274153381586075,
0.04702550545334816,
0.02494232729077339,
0.022572241723537445,
-0.054812926799058914,
-0.05184091627597809,
0.07068873941898346,
-0.01909235492348671,
-0.021612921729683876,
-0.019252240657806396,
0.0693720206618309,
0.030641818419098854,
0.007331276312470436,
-0.05199139937758446,
0.033595021814107895,
0.014991730451583862,
-0.04785315319895744,
0.024509692564606667,
-0.009061814285814762,
-0.0068657235242426395,
-0.047702670097351074,
-0.007006800267845392,
0.04540782794356346,
-0.02091694436967373,
0.023437511175870895,
0.025111619383096695,
0.017888501286506653,
0.0237196646630764,
0.025431392714381218,
0.0491698682308197,
-0.05601678043603897,
0.024810656905174255,
-0.03904997929930687,
-0.0118598323315382,
-0.030039891600608826,
-0.023587992414832115,
0.04875604435801506,
0.018979493528604507,
-0.032786183059215546,
0.011888047680258751,
-0.011351956985890865,
0.05462482571601868,
-0.02900533191859722,
-0.021387198939919472,
0.03553247079253197,
0.01813303492963314,
0.005920511204749346,
0.030754679813981056,
0.03859853371977806,
-0.0069832876324653625,
-0.01553722657263279,
-0.018744366243481636,
-0.011511843651533127,
0.014972920529544353,
0.01706085354089737,
0.01389133371412754,
0.032786183059215546,
-0.023738475516438484,
-0.0005740050692111254,
-0.023080118000507355,
-0.04992227628827095,
-0.034516721963882446,
0.008017848245799541,
0.01211376953870058,
-0.08584976196289062,
0.026164989918470383,
0.042774397879838943,
-0.037451110780239105,
0.05063706263899803,
0.019412128254771233,
0.0047354684211313725,
0.058274004608392715,
0.007016205228865147,
-0.032522838562726974,
-0.018415188416838646,
0.02829054370522499,
-0.033143576234579086,
-0.07373598963022232,
0.006433088798075914,
-0.04300012066960335,
0.028121251612901688,
-0.014389804564416409,
-0.05150233209133148,
0.056844428181648254,
0.04104385897517204,
0.008031955920159817,
0.005229236092418432,
0.004681388847529888,
0.044768281280994415,
0.006141530815511942,
-0.04300012066960335,
0.006517734844237566,
0.02462255395948887,
0.021086236461997032,
0.012941419146955013,
0.03464839234948158,
0.006108613219112158,
-0.0007976701017469168,
-0.029268674552440643,
-0.017465272918343544,
0.007171389646828175,
-0.019017113372683525,
-0.07546652853488922,
0.013355243019759655,
0.0338771753013134,
0.028196493163704872,
-0.07478936016559601,
0.0009422735311090946,
0.06794244796037674,
0.020352639257907867,
0.032221876084804535,
0.02529972232878208,
0.027914339676499367,
0.01295082364231348,
0.03464839234948158,
0.06196080520749092,
-0.010853486135601997,
0.048116497695446014,
-0.024791846051812172,
-0.060305505990982056,
-0.022478191182017326,
0.022609863430261612,
-0.03677394613623619,
0.027350032702088356,
-0.014352183789014816,
-0.02067241258919239,
0.0017611051443964243,
0.011013372801244259,
0.0574839785695076,
0.00647541182115674,
-0.0011268486268818378,
0.060305505990982056,
-0.008883117698132992,
0.015367934480309486,
0.04183388873934746,
-0.00007803295011399314,
-0.08509735018014908,
0.0573711171746254,
0.02838459424674511,
-0.0678672045469284,
-0.008205950260162354,
-0.010985157452523708,
0.032014962285757065,
-0.05315763130784035,
-0.021612921729683876,
0.01995762437582016,
-0.016270823776721954,
0.008488103747367859,
0.02321178838610649,
0.011210880242288113,
-0.014907085336744785,
-0.030585387721657753,
-0.0018892496591433883,
-0.035871054977178574,
0.06026788800954819,
-0.008854902349412441,
-0.049395591020584106,
0.009696658700704575,
0.027237173169851303,
-0.01714549958705902,
0.024547314271330833,
0.059440236538648605,
0.03620963916182518,
-0.01295082364231348,
0.05018561705946922,
0.00940980389714241,
-0.03256046026945114,
-0.02518686093389988,
0.02356918342411518,
-0.012809747830033302,
-0.03131898492574692,
-0.02473541535437107,
-0.025111619383096695,
0.15161022543907166,
0.05026086047291756,
-0.009315752424299717,
-0.043639667332172394,
0.009400398470461369,
0.009762494824826717,
0.005224533379077911,
-0.015753544867038727,
-0.01549020130187273,
-0.0220455564558506,
0.05782255902886391,
-0.05323287099599838,
-0.04646119847893715,
0.004326346330344677,
-0.042172472923994064,
0.0016835130518302321,
-0.011370766907930374,
-0.01643071137368679,
-0.02309892699122429,
0.011446007527410984,
-0.01363739650696516,
0.02646595425903797,
0.04728884622454643,
0.04221009463071823,
-0.02183864451944828,
0.015574847348034382,
0.05153995379805565,
-0.011248501017689705,
-0.01681631989777088,
-0.04947083070874214,
0.02631547302007675,
-0.07633180171251297,
-0.053044769912958145,
0.05165281519293785,
-0.039426181465387344,
0.028459835797548294,
-0.04307536035776138,
-0.03752635419368744,
0.044053491204977036,
0.053044769912958145,
0.027745047584176064,
-0.009818925522267818,
0.03154470771551132,
-0.02118028700351715,
0.03335048630833626,
-0.018245896324515343,
0.02213960699737072,
-0.004643768537789583,
0.010778245516121387,
0.01673167385160923,
0.022967256605625153,
0.0405171737074852,
-0.0068657235242426395,
-0.038410432636737823,
-0.07091446220874786,
0.047401707619428635,
-0.04431683570146561,
-0.052480462938547134,
0.017935527488589287,
-0.01541496068239212,
-0.02599569968879223,
-0.08381825685501099,
-0.04183388873934746,
0.024660173803567886,
-0.017380626872181892,
-0.020070485770702362,
0.007627537008374929,
-0.03769564628601074,
0.04066765680909157,
-0.03212782368063927,
0.022572241723537445,
-0.009550879709422588,
0.03573938459157944,
0.08314108848571777,
0.02381371520459652,
-0.005831162445247173,
0.06004216521978378,
0.006964477244764566,
0.004942380357533693,
-0.00595342880114913,
-0.022384140640497208,
-0.005426743067800999,
-0.016035696491599083,
0.014418019913136959,
0.007810936309397221,
-0.049395591020584106,
-0.025469012558460236,
-0.005892295856028795,
0.07211831212043762,
0.032936662435531616,
-0.02276034466922283,
0.036736324429512024,
0.06271321326494217,
-0.008196545764803886,
-0.0032306520733982325,
-0.022421760484576225,
-0.01450266595929861,
0.001857507391832769,
-0.05868782848119736,
-0.02575116604566574,
0.039125218987464905,
0.03946380317211151,
0.012631050311028957,
0.003550425637513399,
-0.002678102580830455,
-0.0025182156823575497,
-0.018659720197319984,
0.03583343327045441,
-0.06433089077472687,
0.0006007508491165936,
0.002840340370312333,
-0.011671730317175388,
-0.022101987153291702,
0.015527821145951748,
-0.01280034240335226,
-0.034855302423238754,
-0.014813033863902092,
0.02106742560863495,
-0.0457087904214859,
0.02909938246011734,
-0.036491792649030685,
0.028046010062098503,
0.05977882072329521,
-0.021876264363527298,
-0.03615320846438408,
-0.05707015097141266,
-0.007599321659654379,
0.0507875457406044,
-0.05383479595184326,
-0.022478191182017326,
-0.011521249078214169,
-0.06470709294080734,
0.018894847482442856,
0.017559323459863663,
-0.015217453241348267,
0.01465314719825983,
-0.015819380059838295,
0.020183347165584564,
-0.044053491204977036,
-0.02387014590203762,
0.0038020119536668062,
-0.05635536462068558,
0.005793542135506868,
-0.030340855941176414,
-0.049847036600112915,
0.029569637030363083,
-0.017794450744986534,
-0.002849745564162731,
0.007514675613492727,
0.036341309547424316,
-0.02742527425289154,
-0.040855757892131805,
0.03137541562318802,
-0.0045638252049684525,
0.05428624153137207,
-0.033087145537137985,
-0.0009199364576488733,
-0.05646822601556778,
0.0287419892847538,
-0.042736779898405075,
0.09216999262571335,
0.02605213038623333,
0.01549020130187273,
0.021594110876321793,
-0.02087932452559471,
0.0013954818714410067,
0.03041609562933445,
0.040441934019327164,
-0.002896771067753434,
-0.08675265312194824,
-0.07644466310739517,
0.030246805399656296,
0.03184567019343376,
0.01759694330394268,
-0.004970595706254244,
-0.0018316433997824788,
-0.022478191182017326,
-0.013477509841322899,
-0.01849042810499668,
0.008064874447882175,
0.027650997042655945,
-0.03178923949599266,
-0.04108148068189621,
0.02497994713485241,
0.04800363630056381,
-0.03540080040693283,
0.055640578269958496,
-0.007129066623747349,
-0.017107877880334854,
0.008093089796602726,
0.024039437994360924,
0.029550826177001,
-0.022101987153291702,
0.009706064127385616,
0.030754679813981056,
-0.017559323459863663,
-0.04416635259985924,
-0.0009046531631611288,
0.05714539438486099,
-0.01732419617474079,
0.06004216521978378,
-0.03190210089087486,
-0.011323741637170315,
0.05533961206674576,
-0.060305505990982056,
-0.005530199501663446,
0.00008809934661258012,
-0.01280034240335226,
0.00027700961800292134,
-0.02605213038623333,
0.030641818419098854,
0.03178923949599266,
0.01751229725778103,
-0.023230599239468575,
-0.009071219712495804,
-0.017051447182893753,
0.01381609309464693,
-0.03406527638435364,
-0.0072090099565684795,
-0.0320337750017643,
-0.057860180735588074,
0.005252748727798462,
0.038974739611148834,
-0.012301871553063393,
-0.038523294031620026,
0.0355512797832489,
0.017023231834173203,
0.0454830676317215,
-0.03291785344481468,
-0.022101987153291702,
-0.0007618131930939853,
-0.05285666882991791,
0.003096629399806261,
0.02578878588974476,
-0.04047955572605133,
0.03325643762946129,
-0.034403860569000244,
-0.04096861928701401,
-0.0405171737074852,
0.04093099758028984,
0.02787671983242035,
-0.018829012289643288,
-0.03600272536277771,
0.04239819571375847,
-0.05819876492023468,
-0.03351977840065956,
0.04868080094456673,
0.0026498872321099043,
-0.053646694868803024,
0.0047143069095909595,
-0.024904707446694374,
0.08193723857402802,
0.07892760634422302,
-0.03521269932389259,
0.0287419892847538,
-0.0458216518163681,
-0.002708669053390622,
0.08321633189916611,
0.02772623673081398,
0.04371491074562073,
-0.000858803279697895,
0.03756397217512131,
-0.05409814044833183,
-0.036585841327905655,
0.030510148033499718,
-0.0005155170802026987,
0.09540534019470215,
0.02853507548570633,
0.02894890122115612,
-0.020841702818870544,
-0.03893711790442467,
0.030905161052942276,
-0.05936499685049057,
-0.020296208560466766,
0.022233659401535988,
-0.034196946769952774,
-0.03421575576066971,
-0.005022323690354824,
-0.01912057027220726,
0.035419609397649765,
-0.002541728550568223,
0.07241927832365036,
0.020503120496869087,
0.00021749295410700142,
0.05868782848119736,
0.04108148068189621,
-0.07268261909484863,
0.034460291266441345,
0.014615526422858238,
-0.03321881592273712,
0.016261419281363487,
0.013336433097720146,
-0.004032437223941088,
0.00038619694532826543,
-0.039087601006031036,
-0.07712182402610779,
-0.017587538808584213,
0.022007936611771584,
0.007966120727360249,
0.015556036494672298,
-0.012762721627950668,
0.0042605106718838215,
0.0455959290266037
] |
10,326 | fractions | _richcmp | Helper for comparison operators, for internal use only.
Implement comparison between a Rational instance `self`, and
either another Rational instance or a float `other`. If
`other` is not a Rational instance or a float, return
NotImplemented. `op` should be one of the six standard
comparison operators.
| def _richcmp(self, other, op):
"""Helper for comparison operators, for internal use only.
Implement comparison between a Rational instance `self`, and
either another Rational instance or a float `other`. If
`other` is not a Rational instance or a float, return
NotImplemented. `op` should be one of the six standard
comparison operators.
"""
# convert other to a Rational instance where reasonable.
if isinstance(other, numbers.Rational):
return op(self._numerator * other.denominator,
self._denominator * other.numerator)
if isinstance(other, float):
if math.isnan(other) or math.isinf(other):
return op(0.0, other)
else:
return op(self, self.from_float(other))
else:
return NotImplemented
| (self, other, op) | [
-0.0015508730430155993,
-0.06423068791627884,
0.018423032015562057,
0.08461742103099823,
0.017664331942796707,
-0.05387666076421738,
-0.0020306394435465336,
0.0005015233182348311,
-0.014584900811314583,
-0.003066042438149452,
0.05566183850169182,
-0.009015146642923355,
0.09404315799474716,
0.001023129909299314,
-0.040202200412750244,
0.05494776740670204,
-0.012915760278701782,
0.002970089204609394,
0.0169324092566967,
0.020422430709004402,
-0.037988580763339996,
0.010595029219985008,
0.003996566403657198,
0.02906269021332264,
0.021886277943849564,
0.07611997425556183,
0.011264470405876637,
-0.03170475363731384,
-0.07847640663385391,
0.011826801113784313,
0.021921981126070023,
-0.018405180424451828,
-0.003427540883421898,
-0.019137103110551834,
-0.034989479929208755,
-0.026027889922261238,
0.010880657471716404,
0.025206707417964935,
-0.08747370541095734,
0.01038080733269453,
-0.016146931797266006,
-0.010452214628458023,
0.029419725760817528,
-0.03763154521584511,
-0.04159463942050934,
-0.01053254771977663,
0.006703341845422983,
0.003177616046741605,
0.04973504692316055,
0.025795815512537956,
-0.02961609698832035,
0.005083293188363314,
-0.028170103207230568,
0.02692047879099846,
-0.07547730952501297,
0.050306305289268494,
0.016111228615045547,
0.01605767197906971,
-0.03614984452724457,
0.022850273177027702,
-0.0131389070302248,
-0.01038080733269453,
-0.02019035816192627,
-0.003418615087866783,
-0.01761077716946602,
-0.014950862154364586,
-0.04684305936098099,
0.0007062609074637294,
-0.020029691979289055,
0.031936828047037125,
-0.062195587903261185,
0.029169801622629166,
0.020975837484002113,
-0.0007319228025153279,
-0.016084449365735054,
0.07711967080831528,
0.0038135857321321964,
0.01787855289876461,
0.04155893251299858,
-0.037488728761672974,
0.08725947886705399,
-0.004458480980247259,
0.040844861418008804,
-0.027313217520713806,
-0.05748271942138672,
-0.0555904284119606,
-0.026081444695591927,
-0.009318627417087555,
0.06083885207772255,
-0.015789896249771118,
-0.0731922835111618,
0.0029500059317797422,
0.021868426352739334,
-0.055233392864465714,
0.04287996515631676,
0.06605157256126404,
-0.037702951580286026,
0.0029500059317797422,
-0.019672656431794167,
-0.01620941236615181,
0.010077327489852905,
0.07419198006391525,
0.02472470887005329,
0.010452214628458023,
0.05102037638425827,
-0.045664843171834946,
0.027009736746549606,
-0.021279316395521164,
-0.04680735617876053,
0.04370114579796791,
-0.037988580763339996,
0.015075825154781342,
-0.05601887404918671,
0.014745566993951797,
-0.00006994269642746076,
0.0014861603267490864,
-0.03731021285057068,
0.01732514798641205,
0.07065732777118683,
-0.008626870810985565,
-0.019636953249573708,
0.015879154205322266,
0.05401947349309921,
0.02172561176121235,
0.006774749141186476,
-0.001543062855489552,
0.05876804515719414,
-0.0167806688696146,
-0.08226098120212555,
0.024028491228818893,
0.04188026487827301,
0.015477489680051804,
0.00643110228702426,
0.005337681155651808,
0.04616469144821167,
0.049378011375665665,
-0.02783091925084591,
0.021618500351905823,
0.08283223956823349,
-0.012665835209190845,
0.014995492063462734,
-0.04737861454486847,
-0.017342999577522278,
0.024314118549227715,
-0.013219240121543407,
0.06080314889550209,
-0.01358520146459341,
0.05005637928843498,
0.0353822186589241,
0.031312014907598495,
-0.027866622433066368,
0.0446651428937912,
0.10275482386350632,
-0.061874255537986755,
0.07633419334888458,
-0.0021399816032499075,
0.037417322397232056,
-0.019387029111385345,
-0.029848169535398483,
0.03240097314119339,
0.04623609781265259,
-0.009880958124995232,
0.042987074702978134,
0.003960862755775452,
0.027348920702934265,
0.010657509788870811,
-0.010139808990061283,
-0.07690545171499252,
-0.03413259610533714,
0.040773455053567886,
0.026759812608361244,
-0.06705126911401749,
-0.016566447913646698,
-0.031918976455926895,
-0.01956554688513279,
-0.0012674761237576604,
-0.011675061658024788,
0.018039219081401825,
-0.041701748967170715,
0.02110079862177372,
0.05512628331780434,
-0.03479311242699623,
-0.05248422175645828,
-0.0012038791319355369,
0.018512291833758354,
0.009059776552021503,
0.01700381562113762,
-0.039238203316926956,
-0.010354029946029186,
0.019387029111385345,
0.030972830951213837,
-0.02409989759325981,
-0.057018570601940155,
-0.024028491228818893,
0.007301376201212406,
-0.05009208247065544,
-0.006172251421958208,
-0.019029993563890457,
0.09390033781528473,
0.08240379393100739,
-0.05994626507163048,
-0.006274899002164602,
-0.005435865838080645,
0.008791999891400337,
-0.014745566993951797,
-0.01721803843975067,
-0.029562540352344513,
0.031276311725378036,
0.009238294325768948,
-0.03231171518564224,
-0.031026385724544525,
-0.018726512789726257,
-0.01666463352739811,
0.035043034702539444,
0.007390635088086128,
0.0721568763256073,
-0.011951764114201069,
-0.027670253068208694,
-0.022868124768137932,
0.010157660581171513,
0.016084449365735054,
-0.008251983672380447,
-0.01894073374569416,
0.001892288215458393,
0.022100498899817467,
0.006966655608266592,
-0.0016568679129704833,
-0.01769110932946205,
0.015566748566925526,
0.012023171409964561,
0.03240097314119339,
-0.014924084767699242,
0.06323099136352539,
-0.04180885851383209,
-0.0648733526468277,
0.023617899045348167,
-0.0065694535151124,
0.07433479279279709,
-0.07483464479446411,
0.03054438903927803,
-0.02593863010406494,
0.004326824098825455,
-0.012621205300092697,
0.007082691881805658,
0.018092775717377663,
-0.1026834174990654,
0.010175512172281742,
0.0026866921689361334,
0.015727413818240166,
0.07162132114171982,
-0.035882070660591125,
-0.042951371520757675,
-0.01129124779254198,
-0.08190394937992096,
0.02322516031563282,
-0.06594446301460266,
-0.0756201222538948,
-0.035882070660591125,
0.026813367381691933,
-0.002709006890654564,
-0.029776761308312416,
0.03909539058804512,
0.020690208300948143,
-0.001796334981918335,
-0.05594746395945549,
-0.01829807087779045,
-0.015441786497831345,
0.02231471985578537,
0.07412057369947433,
0.041416119784116745,
-0.005007422994822264,
-0.027616696432232857,
-0.021761314943432808,
-0.0027290901634842157,
-0.014451012946665287,
0.014299272559583187,
0.02079731971025467,
-0.00428888900205493,
-0.004619147162884474,
-0.02938402257859707,
0.018253440037369728,
-0.023760713636875153,
-0.03218675032258034,
0.00039859669050201774,
-0.047521427273750305,
0.03855983540415764,
-0.024296266958117485,
-0.09768491983413696,
-0.015441786497831345,
-0.025563742965459824,
0.04188026487827301,
0.008131483569741249,
-0.02688477374613285,
0.029901724308729172,
0.0410233810544014,
0.0025684242136776447,
0.0186908096075058,
-0.0677296370267868,
0.06580164283514023,
0.04134471341967583,
-0.02931261621415615,
-0.03877405822277069,
0.023742862045764923,
-0.003572586691007018,
-0.015513192862272263,
-0.006118696182966232,
0.025528039783239365,
0.023689307272434235,
-0.05005637928843498,
0.018583698198199272,
0.0037689562886953354,
0.019708361476659775,
-0.004371453542262316,
0.007604856509715319,
0.036846064031124115,
0.05448361858725548,
0.0028585155960172415,
0.01053254771977663,
0.009559625759720802,
0.009046387858688831,
-0.014558123424649239,
0.047200094908475876,
-0.04584335908293724,
-0.004067973233759403,
-0.01956554688513279,
-0.049378011375665665,
-0.059125080704689026,
0.02899128384888172,
0.006752434186637402,
0.06498046219348907,
-0.024938931688666344,
0.01791425794363022,
0.08590274304151535,
0.02593863010406494,
-0.0018699734937399626,
0.012603353708982468,
0.0671226754784584,
0.013370980508625507,
0.0021087410859763622,
-0.00045800962834618986,
0.014477790333330631,
-0.02474256046116352,
0.025849372148513794,
-0.00960425566881895,
-0.014656308107078075,
0.002740247640758753,
0.020029691979289055,
-0.01404934749007225,
0.037131693214178085,
-0.02322516031563282,
-0.015120454132556915,
-0.058518122881650925,
0.012594427913427353,
-0.04852112755179405,
-0.01557567436248064,
0.04013079032301903,
-0.055483318865299225,
-0.016575373709201813,
-0.007845855318009853,
-0.029901724308729172,
0.0885448083281517,
0.055483318865299225,
-0.0027804141864180565,
-0.015995191410183907,
-0.07204976677894592,
-0.013031796552240849,
-0.012317725457251072,
-0.002488091355189681,
-0.05584035441279411,
-0.03054438903927803,
-0.046950168907642365,
-0.023689307272434235,
0.004953867755830288,
-0.024510487914085388,
-0.0452721044421196,
0.0166289284825325,
-0.040202200412750244,
0.0009561857441440225,
-0.011817875318229198,
-0.024617599323391914,
0.05266273766756058,
0.039023980498313904,
-0.03913109377026558,
0.007720893248915672,
-0.039273906499147415,
-0.03611414134502411,
-0.02756314165890217,
0.0030459591653198004,
0.04030930995941162,
-0.002223661867901683,
-0.06116018444299698,
-0.018208811059594154,
0.024046342819929123,
0.013281721621751785,
-0.0747632384300232,
0.02724180929362774,
0.0320439375936985,
-0.01571848802268505,
-0.06351661682128906,
-0.03731021285057068,
0.051198892295360565,
0.008943739347159863,
-0.021814869716763496,
0.018780067563056946,
0.040487825870513916,
0.0317404568195343,
0.014040421694517136,
0.027295365929603577,
-0.0398094616830349,
0.04652172699570656,
-0.062159884721040726,
-0.027116848155856133,
0.0004563360125757754,
0.022707458585500717,
-0.05898226797580719,
-0.026813367381691933,
-0.020029691979289055,
-0.018271293491125107,
0.0029723206534981728,
0.04177315533161163,
0.005998196545988321,
-0.009702440351247787,
0.04348692670464516,
0.02142213098704815,
-0.00009197848703479394,
-0.05226999893784523,
0.07969032973051071,
0.0033204304054379463,
-0.037453025579452515,
0.020368875935673714,
-0.01803029328584671,
0.043843962252140045,
-0.005110071040689945,
0.00945251528173685,
0.04837831109762192,
0.004395999945700169,
-0.012415910139679909,
0.013861903920769691,
-0.02845573052763939,
0.009363256394863129,
0.0367746576666832,
0.007038062438368797,
0.005078830290585756,
-0.027866622433066368,
-0.054269399493932724,
-0.05312688648700714,
0.07326368987560272,
0.028830617666244507,
-0.06016048416495323,
-0.059803448617458344,
0.0317404568195343,
0.015174009837210178,
-0.02968750335276127,
0.03331141546368599,
0.04730720445513725,
-0.018003515899181366,
0.027366772294044495,
0.00382474297657609,
0.0006382009596563876,
-0.0002362570958212018,
-0.014442086219787598,
0.0673011913895607,
-0.03945242613554001,
-0.03663184493780136,
-0.07105007022619247,
0.07676263898611069,
0.06083885207772255,
-0.011282321996986866,
-0.009309700690209866,
0.01736977882683277,
0.036810360848903656,
0.019101399928331375,
-0.012174910865724087,
0.015968414023518562,
-0.05298407003283501,
0.06230269744992256,
-0.054197993129491806,
-0.004770887084305286,
0.0007966355187818408,
-0.022993087768554688,
0.0038024282548576593,
-0.01559352595359087,
-0.017789294943213463,
-0.026152851060032845,
0.03820279985666275,
-0.0030705053359270096,
-0.031008534133434296,
0.035578589886426926,
0.057304199784994125,
-0.05312688648700714,
0.013228165917098522,
0.04273715242743492,
-0.028598545119166374,
0.023439381271600723,
-0.01926206611096859,
0.021832721307873726,
-0.012924686074256897,
0.019422732293605804,
0.025260262191295624,
0.029169801622629166,
0.035275109112262726,
-0.01985117420554161,
-0.061909958720207214,
0.0610530748963356,
0.03581066057085991,
-0.03266875073313713,
0.013067499734461308,
0.007993132807314396,
-0.02533167041838169,
0.022225460037589073,
-0.008055614307522774,
-0.017298370599746704,
0.03490022197365761,
-0.016887780278921127,
0.02868780307471752,
-0.022243313491344452,
-0.028259361162781715,
-0.001110715209506452,
-0.04055923596024513,
-0.014620603993535042,
0.022564643993973732,
-0.057875458151102066,
-0.06362372636795044,
-0.04255863279104233,
-0.04634321108460426,
-0.04152322933077812,
-0.08625978231430054,
0.0005587047780863941,
0.0314369760453701,
-0.06615868210792542,
-0.054233696311712265,
-0.029794614762067795,
-0.013165684416890144,
-0.005770586431026459,
-0.05384095758199692,
0.0495208278298378,
-0.05651872232556343,
0.05202007666230202,
0.04452233016490936,
0.022118350490927696,
-0.01389760710299015,
0.05998196825385094,
0.060696039348840714,
0.007207654416561127,
0.026741961017251015,
-0.004416082985699177,
-0.015602451749145985,
0.021011540666222572,
0.01929776929318905,
0.01833377406001091,
0.01466523390263319,
-0.03698888048529625,
-0.016977038234472275,
0.028312915936112404,
0.001686992822214961,
0.061874255537986755,
0.004491953179240227,
0.02384997345507145,
0.058161087334156036,
-0.020333172753453255,
0.04073775187134743,
0.028223657980561256,
0.0832606852054596,
-0.027705956250429153,
-0.03734591603279114,
-0.030705055221915245,
0.05833960324525833,
0.010354029946029186,
-0.027741659432649612,
-0.009046387858688831,
-0.0030816628132015467,
0.0183873288333416,
-0.021243613213300705,
0.021154355257749557,
-0.009108868427574635,
0.01377264503389597,
0.014013644307851791,
0.0072255064733326435,
-0.053626734763383865,
-0.03479311242699623,
-0.05166304111480713,
-0.027402475476264954,
0.07512027025222778,
-0.04687876254320145,
-0.01602196879684925,
-0.04773565009236336,
-0.010764621198177338,
0.046950168907642365,
0.005239496007561684,
0.020886577665805817,
-0.0186908096075058,
-0.03302578628063202,
0.028580693528056145,
-0.06023189052939415,
0.005654550157487392,
-0.026688404381275177,
-0.05326969921588898,
0.005641160998493433,
-0.022528940811753273,
-0.0017740202601999044,
0.034721702337265015,
-0.02572440914809704,
-0.013549498282372952,
-0.06108877807855606,
0.010318326763808727,
0.008756295777857304,
-0.04884245991706848,
-0.017887478694319725,
-0.03398977965116501,
-0.036810360848903656,
0.04362973943352699,
0.04470084607601166,
0.03090142458677292,
0.027420327067375183,
0.05594746395945549,
0.0011458608787506819,
-0.02017250657081604,
-0.028598545119166374,
0.004994034301489592,
0.012424835935235023,
-0.01829807087779045,
-0.0005436423816718161,
-0.012701538391411304,
0.013469165191054344,
-0.015897005796432495,
-0.01178217213600874,
0.04009508714079857,
-0.051163189113140106,
0.007207654416561127,
-0.038666944950819016,
-0.029169801622629166,
-0.0083903344348073,
0.03756013512611389,
-0.01753936894237995,
-0.06705126911401749,
-0.06230269744992256,
0.01590593159198761,
0.01330849900841713,
-0.01929776929318905,
0.04009508714079857,
0.030098093673586845,
0.004541045520454645,
-0.0314369760453701,
-0.0007620476535521448,
-0.05191296339035034,
0.0021221297793090343,
-0.08040440082550049,
-0.012326651252806187,
0.034685999155044556,
0.009184738621115685,
-0.026509886607527733,
0.06633719801902771,
0.01711985282599926,
-0.013960088603198528,
-0.04316559433937073,
-0.008551000617444515,
0.04152322933077812,
-0.04591476917266846,
0.0172358900308609,
0.03340067341923714,
-0.00152632687240839,
0.006631934549659491,
0.013076425530016422,
0.0192085113376379,
-0.01924421451985836,
0.02661699801683426,
-0.0091936644166708,
-0.03398977965116501,
0.0062213437631726265,
-0.04152322933077812,
-0.02568870596587658,
0.05626879632472992,
-0.012683686800301075,
0.01205887459218502,
-0.04562913998961449,
0.011380506679415703,
0.039023980498313904,
0.036239106208086014,
-0.015691710636019707,
-0.0007481009815819561,
-0.014718789607286453,
0.04805698245763779,
-0.04098767787218094,
0.018512291833758354,
0.015664933249354362,
0.010121956467628479,
-0.04698587581515312,
0.043522629886865616,
0.018494440242648125,
-0.04362973943352699,
0.018119553104043007,
-0.0010906319366768003,
0.005270736757665873,
-0.054233696311712265,
-0.03448963165283203,
0.018887178972363472,
-0.061267293989658356,
-0.009836328215897083,
0.013263869099318981,
0.024974634870886803,
0.02724180929362774,
-0.028223657980561256,
-0.002128824358806014,
0.0019692741334438324,
0.03259734436869621,
-0.013674460351467133,
-0.002340814098715782,
0.017521517351269722,
0.05187726020812988,
-0.06398076564073563,
-0.03431111201643944,
0.06715837866067886,
-0.030954979360103607,
-0.05048482120037079,
0.01097884215414524,
0.030812164768576622,
0.06091025844216347,
0.03213319554924965,
0.012014245614409447,
0.021886277943849564,
-0.02777736261487007,
-0.025278113782405853,
0.0909726470708847,
0.021011540666222572,
0.01040758565068245,
0.038024283945560455,
0.05448361858725548,
-0.036846064031124115,
-0.062195587903261185,
-0.012264169752597809,
-0.00036791394813917577,
0.08061861991882324,
0.02142213098704815,
-0.002105393912643194,
0.004877997562289238,
-0.016503967344760895,
0.005904474761337042,
-0.05512628331780434,
0.05137741193175316,
0.0707644373178482,
-0.035328663885593414,
0.005203792825341225,
0.01715555600821972,
-0.0343468151986599,
0.00481105362996459,
-0.009497145190834999,
0.03490022197365761,
0.05812538042664528,
-0.02236827462911606,
0.02752743847668171,
0.00991666130721569,
-0.05908937752246857,
0.06994325667619705,
0.029134098440408707,
0.021921981126070023,
0.07690545171499252,
-0.024671154096722603,
0.017039520666003227,
0.01654859632253647,
0.000046581979404436424,
-0.04152322933077812,
0.020583096891641617,
-0.03118705190718174,
0.043522629886865616,
-0.013656608760356903,
0.010184437967836857,
-0.003445392707362771,
0.07976173609495163
] |
10,327 | fractions | _sub | a - b | def _sub(a, b):
"""a - b"""
na, da = a.numerator, a.denominator
nb, db = b.numerator, b.denominator
g = math.gcd(da, db)
if g == 1:
return Fraction(na * db - da * nb, da * db, _normalize=False)
s = da // g
t = na * (db // g) - nb * s
g2 = math.gcd(t, g)
if g2 == 1:
return Fraction(t, s * db, _normalize=False)
return Fraction(t // g2, s * (db // g2), _normalize=False)
| (a, b) | [
-0.024497807025909424,
-0.01990772783756256,
0.004216265399008989,
0.03487764298915863,
-0.05153406783938408,
-0.013631143607199192,
0.016752049326896667,
0.01616959646344185,
-0.023663247004151344,
-0.04002409800887108,
0.024376099929213524,
0.027644792571663857,
0.019629541784524918,
-0.018968848511576653,
-0.06422632932662964,
0.038042016327381134,
0.033034659922122955,
0.008380371145904064,
0.00491173192858696,
-0.02135082148015499,
-0.047882869839668274,
0.006220078561455011,
0.006602584850043058,
0.056054599583148956,
-0.04270164296030998,
0.02519327402114868,
0.05066473409533501,
-0.04002409800887108,
-0.00862813089042902,
0.021281274035573006,
0.06001875922083855,
0.0282880999147892,
-0.02887924574315548,
-0.006854691542685032,
-0.04767422750592232,
-0.008171731606125832,
0.017186716198921204,
0.042736414819955826,
-0.10738002508878708,
0.05282067880034447,
-0.06669523566961288,
-0.036964043974876404,
0.032773859798908234,
0.009354024194180965,
0.012979143299162388,
-0.040232736617326736,
-0.008245624601840973,
-0.046943988651037216,
-0.039606817066669464,
0.05994921177625656,
0.010084263980388641,
-0.031191673129796982,
-0.04085865616798401,
0.04242345690727234,
-0.05716734752058983,
0.04937811940908432,
0.026445113122463226,
0.06579113006591797,
-0.04760468006134033,
-0.00671559851616621,
0.015161169692873955,
-0.016256529837846756,
-0.08352552354335785,
-0.024132687598466873,
0.0010442864149808884,
0.018169062212109566,
-0.025975674390792847,
-0.005133411847054958,
-0.024741221219301224,
0.03367796540260315,
-0.03679017722606659,
0.03320852667093277,
0.026810232549905777,
-0.006098371930420399,
0.027262287214398384,
0.02084660902619362,
0.026410339400172234,
0.027975140139460564,
0.019994661211967468,
-0.02037716843187809,
0.041762761771678925,
-0.03520799055695534,
0.035399243235588074,
-0.03706836327910423,
0.04256254807114601,
0.017430128529667854,
0.03859839215874672,
-0.02300255373120308,
0.012579250149428844,
0.008801997639238834,
-0.06756456941366196,
-0.05229908227920532,
0.024358713999390602,
-0.0043640523217618465,
-0.0032143592834472656,
0.012831357307732105,
-0.03898089751601219,
0.012640103697776794,
-0.03162634000182152,
-0.048856522887945175,
0.06134014576673508,
0.07191123813390732,
-0.03814633563160896,
-0.026705913245677948,
0.04697876051068306,
-0.022741753607988358,
0.04339710995554924,
-0.04673535004258156,
0.03499935194849968,
0.024480421096086502,
-0.007276318036019802,
0.031591564416885376,
-0.053168412297964096,
0.027610020712018013,
-0.03439081832766533,
-0.006067945156246424,
-0.030983032658696175,
-0.036372896283864975,
0.014100583270192146,
-0.0074806115590035915,
-0.02734922058880329,
0.014969916082918644,
0.01139695756137371,
0.042493004351854324,
0.054002974182367325,
0.018916688859462738,
0.032061006873846054,
-0.004337972495704889,
-0.023576313629746437,
0.024289166554808617,
0.0778922438621521,
-0.018534181639552116,
-0.02974857948720455,
0.01990772783756256,
0.040476150810718536,
0.05942761152982712,
0.03413001820445061,
0.05014313384890556,
0.03259999305009842,
0.0016082662623375654,
0.009484424255788326,
-0.026062607765197754,
0.02574964612722397,
0.01940351538360119,
-0.002518892753869295,
0.05570686608552933,
0.016273915767669678,
-0.030774392187595367,
-0.03943295031785965,
0.04909993335604668,
-0.027853433042764664,
0.03971113637089729,
0.06231379881501198,
-0.06513043493032455,
0.03190452605485916,
-0.04012841731309891,
0.033260684460401535,
-0.02001204900443554,
-0.01834292896091938,
0.0018353795167058706,
0.07344125956296921,
0.0661388635635376,
0.02599306032061577,
-0.0074806115590035915,
0.02962687239050865,
-0.02263743430376053,
0.06259198486804962,
-0.008849810808897018,
-0.03918953612446785,
0.004742212127894163,
-0.0018158195307478309,
-0.006963358260691166,
-0.057619400322437286,
0.0021026995964348316,
-0.030148472636938095,
-0.05056041479110718,
0.028844472020864487,
-0.019803408533334732,
0.0032665191683918238,
-0.018881915137171745,
0.0453096404671669,
-0.014769969508051872,
-0.007015518378466368,
0.03032233938574791,
0.017525754868984222,
-0.008310824632644653,
-0.024358713999390602,
0.03581652417778969,
0.05786281079053879,
-0.03437343239784241,
0.02075967565178871,
0.017908262088894844,
-0.02180287428200245,
-0.028149006888270378,
0.03727700561285019,
-0.0016169595764949918,
-0.0214377548545599,
0.004287985619157553,
0.02348938025534153,
0.05678483843803406,
-0.06878163665533066,
-0.0007878331234678626,
-0.016239142045378685,
-0.05428116023540497,
0.05382910743355751,
0.011414343491196632,
-0.0345299132168293,
0.01191855687648058,
-0.03239135071635246,
-0.03129599243402481,
-0.04204094782471657,
0.017803942784667015,
0.04673535004258156,
0.014343996532261372,
0.02863583341240883,
0.018482021987438202,
0.05295977368950844,
-0.02482815459370613,
0.06067945063114166,
0.006967704743146896,
0.057375986129045486,
-0.035434018820524216,
0.034947190433740616,
-0.006280931644141674,
-0.011596904136240482,
-0.005468105431646109,
0.020429328083992004,
0.03741609677672386,
0.016621649265289307,
-0.04833492264151573,
-0.01823860965669155,
0.012553170323371887,
0.017647461965680122,
-0.05149929225444794,
0.0006797098321840167,
0.035051509737968445,
-0.061896517872810364,
-0.012205436825752258,
0.012292370200157166,
-0.01929919607937336,
-0.03425172343850136,
0.019125329330563545,
-0.035677433013916016,
0.038181111216545105,
-0.0082673579454422,
-0.06134014576673508,
-0.007732718251645565,
0.005689785350114107,
-0.01964692771434784,
0.025558393448591232,
-0.02371540665626526,
-0.05734121426939964,
-0.00608533201739192,
0.010336371138691902,
-0.007897891104221344,
0.008845464326441288,
-0.04099775105714798,
-0.05417684093117714,
0.016039196401834488,
0.04127593711018562,
0.02109002135694027,
-0.04169321805238724,
-0.0428755097091198,
0.020411942154169083,
-0.04882174730300903,
0.023159034550189972,
-0.001270313048735261,
-0.0022602661047130823,
0.005476798862218857,
0.0352601520717144,
0.07211987674236298,
-0.04131070896983147,
0.015734929591417313,
-0.015387196093797684,
-0.02503679320216179,
-0.025801807641983032,
0.005863652098923922,
0.0467701219022274,
0.009267090819776058,
-0.0069459713995456696,
-0.023576313629746437,
-0.028201166540384293,
-0.05821054428815842,
0.01259663701057434,
0.0060896784998476505,
-0.010066877119243145,
0.040441375225782394,
-0.07928317785263062,
0.0077370647341012955,
0.01527418289333582,
-0.019490448758006096,
-0.023402446880936623,
-0.02263743430376053,
0.06224425137042999,
0.0009051930974237621,
0.06224425137042999,
-0.04909993335604668,
-0.0440925769507885,
0.015300262719392776,
0.07010301947593689,
-0.03378228470683098,
-0.015056849457323551,
-0.01127525046467781,
0.026410339400172234,
-0.04204094782471657,
-0.03679017722606659,
0.07344125956296921,
0.02482815459370613,
0.02854890003800392,
-0.00790658500045538,
-0.04854356124997139,
-0.011075303889811039,
0.03981545567512512,
0.04819582775235176,
-0.0211943406611681,
0.012422770261764526,
0.002012506127357483,
0.008928051218390465,
-0.017890876159071922,
0.01990772783756256,
0.0030600526370108128,
0.023402446880936623,
0.004872612189501524,
0.0744844600558281,
0.06693865358829498,
-0.012440157122910023,
-0.06860776990652084,
0.03689449653029442,
0.06756456941366196,
0.04937811940908432,
-0.09277523308992386,
0.033504098653793335,
0.04889129474759102,
-0.031591564416885376,
-0.01031029038131237,
-0.04412734881043434,
0.04204094782471657,
0.016013115644454956,
-0.0215594619512558,
-0.01527418289333582,
0.01294437050819397,
0.0007503431406803429,
-0.014230983331799507,
-0.017065009102225304,
0.0176300760358572,
0.009327944368124008,
0.0005743032088503242,
-0.0457964688539505,
0.027262287214398384,
-0.03115689940750599,
-0.06405246257781982,
-0.015430662781000137,
0.001581099582836032,
0.004881305620074272,
0.0026079993695020676,
0.03981545567512512,
-0.03367796540260315,
-0.02361108735203743,
0.005746291950345039,
-0.06064467877149582,
-0.011405650526285172,
0.061687879264354706,
-0.03129599243402481,
-0.03981545567512512,
-0.033034659922122955,
-0.0817868635058403,
-0.06377428025007248,
-0.044057801365852356,
-0.05967102572321892,
-0.05528958514332771,
0.009979944676160812,
-0.029070500284433365,
0.049204256385564804,
-0.03425172343850136,
-0.022463567554950714,
-0.002279826207086444,
0.007389331702142954,
0.00856293085962534,
-0.018621115013957024,
0.03772905841469765,
0.02517588622868061,
-0.00721981143578887,
-0.08908925950527191,
0.016847675666213036,
-0.012492316775023937,
0.013883249834179878,
-0.021542074158787727,
-0.03058313950896263,
0.03546879068017006,
0.025245433673262596,
-0.05115156248211861,
-0.035173218697309494,
0.025732260197401047,
-0.008784610778093338,
-0.03381705656647682,
-0.04638761654496193,
0.03619902953505516,
-0.0445794016122818,
-0.0015148129314184189,
0.026566820219159126,
0.0428755097091198,
0.06631273031234741,
-0.009006290696561337,
0.0211943406611681,
0.03199145942926407,
0.017543142661452293,
0.06502611935138702,
0.03141769766807556,
-0.028079459443688393,
0.04106729477643967,
-0.04089343175292015,
-0.10765821486711502,
-0.06728638708591461,
0.05845395848155022,
-0.018899302929639816,
-0.017656154930591583,
-0.06495656818151474,
-0.02371540665626526,
-0.06982483714818954,
-0.03259999305009842,
-0.005463758483529091,
-0.01966431550681591,
0.032912950962781906,
-0.049551986157894135,
0.03237396478652954,
-0.01666511595249176,
0.006906851660460234,
-0.0224114079028368,
-0.011231783777475357,
0.008784610778093338,
-0.014430929906666279,
-0.008919358253479004,
0.010058184154331684,
-0.027383992448449135,
0.05887123942375183,
-0.027175353839993477,
0.012092423625290394,
0.040823884308338165,
0.0165347158908844,
0.040441375225782394,
0.060331717133522034,
0.00434231897816062,
0.040093641728162766,
-0.027036260813474655,
-0.01450047641992569,
-0.06318312883377075,
0.04113684222102165,
-0.015421969816088676,
-0.017647461965680122,
-0.07232851535081863,
0.03155679255723953,
0.015430662781000137,
0.028809700161218643,
-0.014448316767811775,
0.007463224697858095,
-0.06276585161685944,
-0.019212262704968452,
0.02109002135694027,
0.002590612741187215,
0.005442025139927864,
-0.03845929726958275,
0.04005886986851692,
-0.04444031044840813,
0.053029321134090424,
-0.0010812330292537808,
0.03223487362265587,
0.09917352348566055,
0.011640370823442936,
-0.005298585165292025,
0.014474396593868732,
-0.01427445001900196,
0.02684500627219677,
-0.016734663397073746,
0.005042131990194321,
0.017717009410262108,
0.01156213041394949,
-0.05504617467522621,
-0.04231913760304451,
0.011353490874171257,
-0.007484958041459322,
0.028722766786813736,
0.03991977870464325,
-0.023072101175785065,
0.013987570069730282,
0.03821588307619095,
-0.029922446236014366,
-0.05021268129348755,
0.03176543116569519,
0.049934495240449905,
-0.046457160264253616,
-0.008115224540233612,
-0.020325008779764175,
-0.05007358640432358,
0.009206237271428108,
-0.07483219355344772,
-0.027001487091183662,
-0.01751706190407276,
-0.018064742907881737,
0.002879665931686759,
0.0009155164589174092,
0.01343119703233242,
-0.01546543650329113,
-0.018777595832943916,
0.006202691700309515,
0.006932931486517191,
0.012135890312492847,
0.010040797293186188,
0.04437076300382614,
-0.0009100831230171025,
0.006646051537245512,
-0.08018728345632553,
-0.0022385327611118555,
0.048613108694553375,
0.0479871891438961,
-0.0055985054932534695,
0.025975674390792847,
-0.06422632932662964,
-0.023784954100847244,
0.07796179503202438,
-0.02674068696796894,
0.019490448758006096,
-0.008549891412258148,
-0.01774308830499649,
-0.02541930042207241,
0.0342864990234375,
-0.03352148458361626,
-0.07698813825845718,
-0.007841384969651699,
-0.0009970164392143488,
-0.025471460074186325,
-0.05226430669426918,
-0.03706836327910423,
0.026410339400172234,
0.013822396285831928,
-0.03273908421397209,
0.03272169828414917,
-0.07657086104154587,
-0.03738132491707802,
-0.003509932430461049,
0.007602318190038204,
0.005768025293946266,
0.027001487091183662,
0.06874686479568481,
0.027505699545145035,
-0.0291400458663702,
0.041901856660842896,
-0.019229648634791374,
0.056402333080768585,
0.06377428025007248,
0.06537385284900665,
0.03724223002791405,
-0.03153940662741661,
0.016239142045378685,
0.026410339400172234,
-0.017821328714489937,
0.0475003607571125,
-0.04325801506638527,
0.015361116267740726,
0.029939832165837288,
-0.021385595202445984,
0.003966332413256168,
-0.014378770254552364,
0.09284477680921555,
-0.005424638744443655,
-0.012866130098700523,
0.038911350071430206,
0.07573629915714264,
0.019368741661310196,
0.029035726562142372,
-0.03237396478652954,
-0.03459945693612099,
0.0006688431603834033,
0.007458878215402365,
0.026097379624843597,
-0.040580470114946365,
0.03765951097011566,
-0.011414343491196632,
-0.03755519166588783,
-0.003642505733296275,
0.05678483843803406,
-0.005515918601304293,
-0.044405534863471985,
-0.0282880999147892,
0.028966179117560387,
-0.02168116718530655,
0.031330764293670654,
0.03211316466331482,
-0.046700574457645416,
0.04551828280091286,
-0.006646051537245512,
-0.006254851818084717,
-0.030165858566761017,
0.06937278062105179,
-0.033260684460401535,
-0.030235406011343002,
-0.006550425197929144,
-0.02971380576491356,
-0.0000343828032782767,
-0.04371006786823273,
-0.05059518665075302,
0.0021266061812639236,
-0.031191673129796982,
0.07337171584367752,
0.014813436195254326,
0.02910527214407921,
0.06860776990652084,
0.001334426342509687,
-0.06074899807572365,
-0.03905044496059418,
-0.062035612761974335,
0.02408052794635296,
0.0009068230865523219,
-0.013561597093939781,
-0.0007894631125964224,
0.050525639206171036,
-0.024602128192782402,
0.019942501559853554,
-0.06241811811923981,
-0.07170259207487106,
0.022567886859178543,
-0.055220041424036026,
0.03491241857409477,
-0.02098570205271244,
0.03465161845088005,
-0.01964692771434784,
0.034216951578855515,
0.03042665868997574,
-0.04433598741889,
-0.020829221233725548,
0.0012116330908611417,
0.010527623817324638,
0.00004991873720427975,
-0.031817592680454254,
0.015534983016550541,
-0.022098448127508163,
-0.004446638748049736,
0.02507156692445278,
0.013744156807661057,
-0.006693865172564983,
0.08387325704097748,
0.027175353839993477,
-0.014057116582989693,
-0.02110740728676319,
0.015300262719392776,
-0.049204256385564804,
-0.04962153360247612,
-0.047882869839668274,
-0.0342864990234375,
-0.0008209764491766691,
0.03633812442421913,
-0.006094024982303381,
0.06700819730758667,
0.05195134878158569,
-0.050177909433841705,
-0.06502611935138702,
-0.00904106441885233,
0.07490174472332001,
0.029539939016103745,
-0.0029448659624904394,
0.025801807641983032,
0.05195134878158569,
-0.023228580132126808,
-0.02301994152367115,
0.022985167801380157,
-0.00650695851072669,
0.003064399352297187,
0.015734929591417313,
0.0036316390614956617,
-0.0037077057640999556,
-0.046804893761873245,
0.008215198293328285,
-0.00034311492345295846,
-0.0453096404671669,
-0.004370572045445442,
-0.07135486602783203,
0.021055247634649277,
0.01521332934498787,
0.014674343168735504,
0.06398291885852814,
0.0014898196095600724,
-0.00434231897816062,
0.03665108606219292,
-0.015039462596178055,
-0.05177748203277588,
0.016517329961061478,
-0.004516185726970434,
-0.03180020675063133,
0.028322873637080193,
0.015317649580538273,
-0.017690928652882576,
0.020411942154169083,
-0.004937812220305204,
-0.04037183150649071,
-0.038076791912317276,
-0.024237006902694702,
0.07239805907011032,
-0.023228580132126808,
-0.01252709049731493,
-0.014343996532261372,
0.03425172343850136,
-0.014317916706204414,
-0.03381705656647682,
0.02084660902619362,
0.015987036749720573,
-0.02602783404290676,
0.02528020739555359,
-0.004059785511344671,
-0.01990772783756256,
0.00791093148291111,
-0.09145384281873703,
-0.015300262719392776,
0.02468905970454216,
-0.012387996539473534,
-0.025210659950971603,
0.0012529263040050864,
0.022359248250722885,
0.025245433673262596,
0.021263888105750084,
0.016447782516479492,
0.04510100185871124,
-0.05501139909029007,
-0.02375018037855625,
0.14910802245140076,
0.03922431170940399,
0.019247034564614296,
0.0000869333089212887,
0.08345597982406616,
-0.03689449653029442,
-0.011431730352342129,
-0.011483890935778618,
-0.05452457442879677,
0.02757524698972702,
0.0002169257786590606,
-0.018899302929639816,
-0.034338656812906265,
0.0013561596861109138,
0.023332901298999786,
-0.019212262704968452,
0.047778546810150146,
-0.02456735447049141,
0.05727166682481766,
-0.006911198142915964,
0.024358713999390602,
0.007658824790269136,
-0.08853288739919662,
0.025436686351895332,
-0.015143782831728458,
0.024010980501770973,
0.005029092077165842,
-0.048717427998781204,
0.03033972531557083,
-0.04986494779586792,
-0.0004224415752105415,
0.035555724054574966,
-0.01127525046467781,
-0.01929919607937336,
0.0056767454370856285,
0.0026601592544466257,
-0.02458474040031433,
-0.02074228785932064,
0.015100316144526005,
0.05358569324016571,
0.007876157760620117,
0.07684905081987381,
-0.03786814957857132,
0.02889663353562355,
-0.006311358418315649,
0.03863316401839256
] |
10,328 | fractions | as_integer_ratio | Return the integer ratio as a tuple.
Return a tuple of two integers, whose ratio is equal to the
Fraction and with a positive denominator.
| def as_integer_ratio(self):
"""Return the integer ratio as a tuple.
Return a tuple of two integers, whose ratio is equal to the
Fraction and with a positive denominator.
"""
return (self._numerator, self._denominator)
| (self) | [
-0.009571216069161892,
-0.07518133521080017,
0.015385100618004799,
0.04012447968125343,
0.040089771151542664,
-0.0007777155260555446,
0.056299228221178055,
-0.017450330778956413,
-0.033980853855609894,
0.0056793843396008015,
0.036410536617040634,
-0.010274088010191917,
0.05154399201273918,
0.0406104177236557,
-0.03365110978484154,
-0.023168763145804405,
-0.012616997584700584,
-0.016192102804780006,
-0.019871337339282036,
0.0447755865752697,
-0.00727603305131197,
0.005683722905814648,
0.006672950927168131,
0.02254398725926876,
-0.05577858164906502,
0.018222622573375702,
0.05727110058069229,
-0.00871214922517538,
0.049357276409864426,
0.005406044889241457,
-0.0555703230202198,
0.03073549084365368,
0.0075970981270074844,
0.023706763982772827,
-0.07091203331947327,
0.006642580032348633,
-0.021537404507398605,
0.07014842331409454,
-0.1387001872062683,
0.04116577282547951,
-0.04192938655614853,
-0.001311378087848425,
0.004345227964222431,
0.00032079408993013203,
-0.04460204020142555,
-0.026240577921271324,
0.005097995977848768,
-0.07157152146100998,
-0.031290847808122635,
-0.02717773988842964,
0.04550449177622795,
0.008065680041909218,
-0.051439862698316574,
0.029538003727793694,
-0.05192579701542854,
0.0732375904917717,
0.01886475272476673,
0.040055062621831894,
-0.015003292821347713,
0.007801018189638853,
-0.006477708462625742,
0.010664572939276695,
0.018396172672510147,
-0.05498025566339493,
-0.01193147897720337,
-0.01007450744509697,
-0.011029025539755821,
0.012452125549316406,
-0.01723339408636093,
0.026934772729873657,
-0.01988869160413742,
0.0007413787534460425,
0.01442190445959568,
0.007644824218004942,
0.03125613555312157,
0.017059845849871635,
0.04664991423487663,
0.07247397303581238,
0.05987433344125748,
0.0033299673814326525,
0.01931598037481308,
0.006291143596172333,
0.0755978524684906,
-0.014586775563657284,
-0.024279475212097168,
-0.05005147308111191,
0.007909486070275307,
-0.03259246423840523,
-0.04664991423487663,
0.0028396921698004007,
-0.0696277767419815,
-0.019801916554570198,
0.0041977115906775,
-0.008226213045418262,
-0.021016757935285568,
0.0382501520216465,
-0.07545901089906693,
-0.027906645089387894,
-0.03745182976126671,
-0.021919213235378265,
-0.07927709072828293,
0.03002394177019596,
-0.05435547977685928,
-0.03365110978484154,
-0.005332286469638348,
-0.06643448024988174,
0.0443243607878685,
-0.032956916838884354,
-0.008642729371786118,
0.020652305334806442,
-0.03123878315091133,
0.023290248587727547,
-0.0677187368273735,
0.07844405621290207,
-0.014482646249234676,
-0.012773190625011921,
-0.01762387901544571,
-0.02254398725926876,
0.052654702216386795,
0.0076925503090023994,
-0.04439378157258034,
0.07816637307405472,
-0.03469240292906761,
0.07080790400505066,
0.051474571228027344,
0.051439862698316574,
0.04029802978038788,
-0.016330940648913383,
-0.07351526618003845,
0.06056852638721466,
0.02455715462565422,
0.0014914348721504211,
0.0000977567833615467,
0.020322563126683235,
-0.009631957858800888,
0.02926032617688179,
0.029989231377840042,
0.026362061500549316,
0.057548779994249344,
0.06185279041528702,
-0.01730281487107277,
0.02155476063489914,
0.01679084636271,
0.008946440182626247,
0.014283065684139729,
0.02842729166150093,
0.022682826966047287,
0.046094559133052826,
-0.02929503656923771,
0.03821544349193573,
0.009692699648439884,
0.015280971303582191,
0.13141115009784698,
0.005445093382149935,
0.03070078045129776,
-0.03821544349193573,
0.03073549084365368,
-0.02171095460653305,
0.023272892460227013,
-0.0242447666823864,
0.0038679686840623617,
-0.01688629761338234,
0.053869545459747314,
0.006325853522866964,
0.02318611927330494,
0.03469240292906761,
0.000686602434143424,
-0.048142433166503906,
-0.0051327054388821125,
-0.0261538028717041,
0.018656495958566666,
-0.03252304345369339,
-0.05407780408859253,
-0.02011430449783802,
0.013788451440632343,
0.028323162347078323,
0.02152005024254322,
0.04560862109065056,
0.01784081570804119,
0.035612210631370544,
0.09253621846437454,
-0.08559426665306091,
-0.02443566918373108,
0.03153381496667862,
0.0705302283167839,
0.03175942972302437,
0.048940759152173996,
0.00564467441290617,
0.0059353685937821865,
-0.02056553214788437,
0.03609814867377281,
-0.009779474698007107,
-0.015437165275216103,
0.009033214300870895,
-0.0015586850931867957,
0.003188959090039134,
-0.009059246629476547,
-0.03457091748714447,
0.03828486427664757,
0.035351887345314026,
-0.034518852829933167,
-0.04664991423487663,
0.005423399619758129,
0.020444046705961227,
0.008881359361112118,
-0.00007931722211651504,
-0.027802515774965286,
-0.003047950565814972,
0.004436341114342213,
-0.017563138157129288,
-0.035612210631370544,
0.008165470324456692,
-0.02667444944381714,
-0.02830580808222294,
-0.006039497908204794,
-0.02516457438468933,
0.04703172296285629,
-0.034970082342624664,
-0.0023906345013529062,
-0.0011812164448201656,
0.08496949076652527,
-0.0033039350528270006,
0.001113966340199113,
-0.03073549084365368,
0.04071454703807831,
-0.02993716672062874,
-0.05237702652812004,
0.009137343615293503,
-0.05272412300109863,
0.012538900598883629,
0.013250450603663921,
-0.032852787524461746,
0.00599611084908247,
-0.03365110978484154,
-0.027646321803331375,
0.0038397670723497868,
-0.02932974509894848,
-0.00360547611489892,
-0.04071454703807831,
-0.010161281563341618,
-0.003950404468923807,
0.030718136578798294,
0.00726735545322299,
0.06553202122449875,
-0.038007184863090515,
-0.08274806290864944,
-0.017415620386600494,
0.0040979208424687386,
-0.024348895996809006,
-0.004941802006214857,
-0.03169000893831253,
-0.053071219474077225,
0.0011790470452979207,
-0.03786834701895714,
0.03582046926021576,
0.02481747791171074,
-0.08087373524904251,
0.019194496795535088,
0.0022344407625496387,
-0.018361462280154228,
0.044983845204114914,
0.010898863896727562,
-0.00824790634214878,
-0.002633602824062109,
-0.048975467681884766,
0.009935668669641018,
-0.023359667509794235,
0.012157092802226543,
-0.03897905722260475,
0.04383842647075653,
0.0859413594007492,
-0.00470751104876399,
-0.038007184863090515,
-0.012773190625011921,
-0.018274687230587006,
-0.023290248587727547,
0.08656613528728485,
0.04442849010229111,
0.00855161715298891,
0.008030970580875874,
-0.04057570919394493,
-0.04231119528412819,
0.00043143145740032196,
0.021155597642064095,
0.005774836055934429,
0.06213046610355377,
0.03521304950118065,
0.017728008329868317,
0.018621785566210747,
0.011384801007807255,
-0.003633677726611495,
0.007432227022945881,
-0.04953082650899887,
0.03700060397386551,
0.02861819602549076,
0.06306762993335724,
-0.009970378130674362,
-0.012035608291625977,
0.01938539929687977,
0.030232200399041176,
-0.04057570919394493,
-0.020825855433940887,
0.001708370866253972,
0.036861762404441833,
-0.014795034192502499,
0.040367450565099716,
0.02808019518852234,
0.0028331840876489878,
-0.004251945298165083,
0.018986238166689873,
-0.019454820081591606,
0.05025973170995712,
0.008929084986448288,
0.051474571228027344,
0.04272771254181862,
-0.0033364754635840654,
0.0011964020086452365,
0.07077319920063019,
-0.030527232214808464,
0.03766008839011192,
-0.014066129922866821,
0.031776782125234604,
0.011124477721750736,
0.06216517835855484,
0.01168851088732481,
0.005124027840793133,
-0.04109635204076767,
0.022648116573691368,
0.024869542568922043,
0.04276242107152939,
-0.07059964537620544,
-0.004959156736731529,
-0.019558949396014214,
0.00836071278899908,
-0.007701227441430092,
-0.0030956766568124294,
0.0606379471719265,
0.023446442559361458,
0.0368964746594429,
0.004742220509797335,
0.032540399581193924,
-0.07788869738578796,
-0.0021368195302784443,
0.009493119083344936,
-0.0006231486331671476,
0.007870437577366829,
-0.03281807526946068,
-0.009571216069161892,
0.04390784353017807,
-0.03240155801177025,
-0.04217235743999481,
-0.024539798498153687,
-0.004664123989641666,
-0.014673550613224506,
-0.008399761281907558,
0.04394255578517914,
-0.037521250545978546,
-0.011445542797446251,
-0.006534112151712179,
0.06341473013162613,
0.0261538028717041,
0.008143777027726173,
0.013467386364936829,
-0.008803262375295162,
-0.004690156318247318,
0.01128934882581234,
-0.033720530569553375,
-0.005822562146931887,
-0.03814602270722389,
0.00727603305131197,
-0.02296050451695919,
0.02011430449783802,
-0.06365769356489182,
-0.040367450565099716,
0.002414497546851635,
0.07226571440696716,
0.0004943428793922067,
0.06171394884586334,
-0.016027230769395828,
-0.029538003727793694,
0.002169359941035509,
-0.0480383038520813,
0.001326563535258174,
0.05251586437225342,
-0.058277685195207596,
-0.018847398459911346,
0.03578576073050499,
-0.03984680399298668,
-0.036410536617040634,
0.046962302178144455,
-0.027611613273620605,
-0.018587075173854828,
-0.02094733901321888,
-0.06459485739469528,
-0.032922204583883286,
-0.020860563963651657,
0.04033273831009865,
-0.007649162784218788,
0.009250150993466377,
-0.0009556030272506177,
0.04349132627248764,
-0.04619868844747543,
-0.03203710541129112,
0.007592759560793638,
0.006351885851472616,
0.051023345440626144,
0.025216639041900635,
0.08198444545269012,
0.019940756261348724,
-0.07851347327232361,
-0.010499701835215092,
-0.02577199600636959,
0.026934772729873657,
0.05050269886851311,
0.023081989958882332,
0.005332286469638348,
-0.022179534658789635,
-0.01115918718278408,
-0.051023345440626144,
-0.01685158722102642,
0.04359545558691025,
-0.0011540994746610522,
-0.017276782542467117,
0.027681032195687294,
0.010274088010191917,
-0.025407543405890465,
0.06608738005161285,
0.04120048135519028,
0.010534411296248436,
0.035577502101659775,
-0.006217385642230511,
0.024730702862143517,
-0.006954967975616455,
-0.07552843540906906,
0.022943150252103806,
-0.054216641932725906,
0.004868043586611748,
0.040055062621831894,
-0.0038679686840623617,
0.0401591919362545,
0.052272897213697433,
0.07289049029350281,
0.031360264867544174,
-0.02993716672062874,
0.04269300401210785,
-0.0901065319776535,
-0.02219689078629017,
0.018986238166689873,
-0.011332736350595951,
-0.042484745383262634,
0.006768402643501759,
-0.015975166112184525,
0.05449432134628296,
-0.03776421770453453,
0.0016671530902385712,
0.004655446391552687,
-0.028097549453377724,
-0.059909041970968246,
-0.025372833013534546,
-0.042033515870571136,
0.019038302823901176,
0.01633961871266365,
-0.02049611136317253,
-0.02558109164237976,
-0.023238183930516243,
-0.017806105315685272,
0.06334530562162399,
-0.04626810923218727,
-0.038388993591070175,
-0.00924147292971611,
0.010916219092905521,
0.032852787524461746,
0.0019242222188040614,
-0.01373638678342104,
-0.01896888203918934,
0.027073610574007034,
-0.0015868867048993707,
-0.019073011353611946,
-0.002425344428047538,
-0.03949970379471779,
-0.01707720197737217,
0.024730702862143517,
-0.010985638946294785,
0.010404249653220177,
-0.035577502101659775,
0.0014925196301192045,
-0.04154758155345917,
0.006551466882228851,
-0.02683064341545105,
-0.058277685195207596,
-0.02762896753847599,
0.0280107744038105,
-0.028132259845733643,
-0.02068701572716236,
-0.04828127473592758,
0.021086178719997406,
-0.01181867253035307,
-0.01614871434867382,
-0.04505326598882675,
0.003870137967169285,
0.025407543405890465,
-0.03700060397386551,
0.02421005629003048,
0.0008590664947405457,
0.03738240897655487,
0.04838540405035019,
-0.025546381250023842,
-0.039222028106451035,
-0.015133454464375973,
0.006434321403503418,
-0.04907959699630737,
0.01170586608350277,
-0.020843209698796272,
0.030353683978319168,
0.03092639520764351,
0.0003004563332069665,
0.013632257468998432,
-0.02091262862086296,
0.0160879734903574,
-0.023324957117438316,
-0.0066946446895599365,
-0.0017723670462146401,
-0.011237284168601036,
0.023168763145804405,
-0.013198385946452618,
-0.012859965674579144,
-0.07983244210481644,
-0.04810772463679314,
0.017997009679675102,
-0.04189467802643776,
-0.02526870369911194,
-0.05879833176732063,
-0.011341413483023643,
0.0015608544927090406,
-0.04276242107152939,
0.03203710541129112,
-0.046163979917764664,
-0.02216218039393425,
0.023741474375128746,
0.0564727783203125,
-0.04265829175710678,
-0.010560443624854088,
-0.01650449074804783,
0.028514066711068153,
0.06046440079808235,
0.02315140888094902,
-0.023932378739118576,
0.043248359113931656,
0.024956315755844116,
-0.007041742093861103,
0.02091262862086296,
-0.03550808131694794,
0.010421604849398136,
-0.0406104177236557,
0.011662478558719158,
0.021624179556965828,
0.006182675715535879,
-0.0113067040219903,
0.02235308475792408,
-0.012426093220710754,
0.008629713207483292,
-0.07462598383426666,
0.011098445393145084,
-0.010950928553938866,
-0.04619868844747543,
-0.008903052657842636,
0.06757990270853043,
0.07046081125736237,
0.0015543464105576277,
0.0014089992037042975,
-0.009067924693226814,
0.009059246629476547,
0.04925314709544182,
0.01077738031744957,
0.007809695787727833,
-0.04914901778101921,
-0.026847997680306435,
-0.0322280116379261,
-0.008152454160153866,
0.005705416668206453,
-0.009232795797288418,
0.04508797451853752,
-0.01552393939346075,
-0.010820766910910606,
-0.039187315851449966,
0.021624179556965828,
0.008963795378804207,
0.02471334859728813,
0.02766367793083191,
0.01413554884493351,
-0.03484859690070152,
-0.038805510848760605,
0.012009575963020325,
-0.019402755424380302,
-0.004928785841912031,
-0.06272052973508835,
-0.051856379956007004,
-0.03443207964301109,
-0.01732884719967842,
-0.041269902139902115,
0.03358169272542,
0.02960742451250553,
-0.017294136807322502,
0.031898267567157745,
0.01787552610039711,
0.012269899249076843,
0.03835428133606911,
-0.005731448996812105,
-0.0419640988111496,
-0.018465591594576836,
0.003414572449401021,
-0.002633602824062109,
0.03188091143965721,
-0.0573752298951149,
0.008746858686208725,
-0.009666667319834232,
-0.05935368686914444,
0.04231119528412819,
-0.0844835489988327,
0.05699342489242554,
-0.06563615053892136,
0.043248359113931656,
-0.003453620942309499,
0.03852783143520355,
-0.02414063736796379,
0.022943150252103806,
0.03526511415839195,
-0.06528905779123306,
0.041686419397592545,
-0.07601436972618103,
0.05879833176732063,
-0.0060742078348994255,
0.024001797661185265,
-0.0631023421883583,
-0.012972772121429443,
0.0025273042265325785,
0.0017799597699195147,
0.006560144480317831,
0.017580492421984673,
0.08365051448345184,
0.04546978324651718,
-0.0004097378405276686,
-0.03137762099504471,
-0.005622980650514364,
0.06674686819314957,
-0.02257869765162468,
-0.06959306448698044,
-0.053904253989458084,
-0.006733693182468414,
-0.027611613273620605,
-0.026917418465018272,
0.06140156090259552,
0.03654937446117401,
-0.05043327808380127,
-0.039187315851449966,
0.011167864315211773,
-0.01331986952573061,
0.006039497908204794,
-0.06664273887872696,
0.03188091143965721,
-0.04064512625336647,
0.027681032195687294,
-0.014361162669956684,
0.04786475747823715,
0.060811497271060944,
0.05963136628270149,
-0.07823579758405685,
-0.0016714917728677392,
0.003811565227806568,
-0.05237702652812004,
0.05570916086435318,
0.0895511731505394,
0.02049611136317253,
0.03582046926021576,
-0.05237702652812004,
0.031932976096868515,
0.024956315755844116,
0.014716937206685543,
0.012165769934654236,
0.026813289150595665,
-0.02606702782213688,
-0.010673251003026962,
-0.034588273614645004,
-0.027542192488908768,
0.005670706741511822,
-0.06188749894499779,
-0.04300539195537567,
-0.0002169359941035509,
-0.001960016554221511,
-0.007601437158882618,
0.0040783965960145,
-0.011879414319992065,
-0.02743806317448616,
-0.045712750405073166,
0.005783513654023409,
-0.014803712256252766,
-0.04543507471680641,
0.034327950328588486,
0.03323459252715111,
-0.024001797661185265,
0.002434021793305874,
-0.06639976799488068,
0.001884089084342122,
0.012686416506767273,
0.009493119083344936,
-0.01883004419505596,
0.019263915717601776,
0.01263435184955597,
0.02433153986930847,
-0.0391526073217392,
-0.06584440916776657,
0.05032914876937866,
-0.04553920403122902,
-0.025181930512189865,
0.02443566918373108,
0.04154758155345917,
0.054702579975128174,
0.04175584018230438,
-0.038423702120780945,
0.012833933345973492,
-0.07056494057178497,
-0.04914901778101921,
0.09218911826610565,
0.04376900568604469,
-0.02504309080541134,
0.046163979917764664,
0.12370558083057404,
0.007397517096251249,
-0.06702454388141632,
-0.02846200205385685,
-0.015532616525888443,
0.010699283331632614,
-0.03529982268810272,
-0.05730580911040306,
0.027958709746599197,
0.005006882827728987,
0.030492521822452545,
-0.04057570919394493,
0.04543507471680641,
-0.0000818933331174776,
0.04519210383296013,
-0.05765290930867195,
-0.005852933041751385,
-0.022491922602057457,
-0.020773790776729584,
-0.029052067548036575,
0.0354386642575264,
0.0480383038520813,
-0.015888391062617302,
-0.05890246108174324,
0.02721245028078556,
0.018361462280154228,
0.04998205229640007,
-0.03306104615330696,
0.008260922506451607,
-0.030995814129710197,
0.04585159197449684,
-0.010438960045576096,
-0.006881209556013346,
0.02512986585497856,
-0.014604130759835243,
0.012096351012587547,
0.029815683141350746,
0.01582765020430088,
-0.043630167841911316,
0.045747462660074234,
0.01390993595123291,
0.033338721841573715
] |
10,329 | numbers | conjugate | Conjugate is a no-op for Reals. | def conjugate(self):
"""Conjugate is a no-op for Reals."""
return +self
| (self) | [
-0.06059981882572174,
-0.07181686162948608,
0.08633303642272949,
0.06910810619592667,
-0.04966059699654579,
-0.044555626809597015,
-0.054105743765830994,
0.007136540487408638,
0.08848615735769272,
-0.03788791224360466,
-0.0001524762628832832,
-0.02771269716322422,
0.03705444559454918,
0.049104955047369,
-0.041152313351631165,
-0.0026913960464298725,
0.041951049119234085,
-0.03514442220330238,
0.0016018147580325603,
-0.023962106555700302,
-0.011876869946718216,
0.004238948691636324,
0.028164157643914223,
0.016860293224453926,
-0.03945065662264824,
0.06257929652929306,
0.025212302803993225,
-0.0002422799007035792,
-0.05361955612897873,
-0.009558796882629395,
-0.015531959943473339,
-0.007279792334884405,
0.005222176667302847,
-0.01592264696955681,
0.08140170574188232,
-0.00150956935249269,
-0.016912385821342468,
0.06435041129589081,
-0.048722948879003525,
0.012710334733128548,
0.0014336025342345238,
-0.05924544110894203,
0.04469453915953636,
-0.01972532831132412,
0.008951062336564064,
-0.021826352924108505,
0.015887917950749397,
0.022486180067062378,
0.018891863524913788,
-0.05497393384575844,
0.04979950934648514,
-0.01275374460965395,
-0.004844512790441513,
-0.017988944426178932,
-0.04459035396575928,
0.05917598679661751,
0.047333844006061554,
0.05018151178956032,
-0.04219414293766022,
0.03410259261727333,
-0.014880815520882607,
-0.036672443151474,
0.00045471571502275765,
-0.043548524379730225,
-0.0026848847046494484,
0.025872129946947098,
-0.048757679760456085,
0.006802286487072706,
0.06441986560821533,
0.013569844886660576,
-0.011859506368637085,
0.01949959807097912,
-0.01495895255357027,
0.0036876467056572437,
0.005447906441986561,
-0.10244669020175934,
0.013101021759212017,
0.01295342855155468,
-0.0020076946821063757,
-0.047576937824487686,
-0.045180726796388626,
-0.033581677824258804,
-0.029622720554471016,
0.006711126305162907,
0.02031569927930832,
-0.04101340100169182,
-0.003848262131214142,
-0.049313321709632874,
-0.05657140910625458,
0.040179938077926636,
-0.04261087626218796,
-0.0406661257147789,
-0.013231250457465649,
-0.004653510637581348,
0.041152313351631165,
0.042159415781497955,
-0.016139693558216095,
-0.07695656269788742,
0.04847985506057739,
-0.030560368672013283,
0.0035791227128356695,
0.06778845191001892,
-0.04042303189635277,
-0.055147573351860046,
0.048931315541267395,
-0.03806154802441597,
-0.031567469239234924,
-0.054730840027332306,
0.021565895527601242,
-0.0043084039352834225,
-0.03653353080153465,
0.0016408833907917142,
-0.00966298021376133,
-0.030178362503647804,
-0.005569453351199627,
-0.02929280698299408,
-0.045354362577199936,
0.03429359570145607,
0.021565895527601242,
0.0561894029378891,
0.009732435457408428,
0.010071029886603355,
-0.029848450794816017,
-0.0025763604789972305,
0.05636304244399071,
0.04907022789120674,
0.049313321709632874,
0.025073392316699028,
-0.03434568643569946,
-0.08911125361919403,
0.011182316578924656,
0.020576156675815582,
0.01955169066786766,
0.03629043698310852,
0.022034719586372375,
0.055147573351860046,
0.024378839880228043,
-0.02413574419915676,
0.0166779737919569,
0.07952640950679779,
0.00977584533393383,
0.0021911002695560455,
0.028962893411517143,
0.07876240462064743,
-0.026167314499616623,
0.022607726976275444,
0.00632912153378129,
0.023684285581111908,
-0.049695324152708054,
0.01094790454953909,
0.027365420013666153,
0.03726281225681305,
0.07390052825212479,
-0.014090760610997677,
-0.006906469352543354,
0.030143635347485542,
0.02906707674264908,
0.05084133893251419,
-0.04966059699654579,
-0.022052083164453506,
-0.007023675367236137,
0.05646722391247749,
0.0038829899858683348,
-0.006941196974366903,
-0.008213099092245102,
-0.04521545395255089,
0.06337803602218628,
-0.017589574679732323,
-0.026219407096505165,
0.011138906702399254,
-0.006706785410642624,
-0.07716492563486099,
0.00020158338884357363,
0.029761631041765213,
-0.01534963957965374,
0.043374884873628616,
-0.01464640349149704,
0.035977888852357864,
-0.016895022243261337,
0.017112068831920624,
0.06511442363262177,
-0.016990521922707558,
-0.07883185893297195,
-0.030647186562418938,
0.0827908143401146,
-0.016955794766545296,
0.0030885939486324787,
-0.010123121552169323,
0.04879240691661835,
-0.023632192984223366,
0.010114439763128757,
0.011017359793186188,
0.004045776091516018,
0.02812943048775196,
0.015870554372668266,
-0.07695656269788742,
0.021878445520997047,
0.010105757974088192,
0.02411838062107563,
0.022086812183260918,
-0.03387686237692833,
-0.008378054946660995,
0.029865814372897148,
-0.022572999820113182,
0.052508268505334854,
-0.01475926861166954,
-0.018978683277964592,
-0.008629831485450268,
-0.015948692336678505,
-0.015358321368694305,
0.022190993651747704,
0.017494075000286102,
0.03847828134894371,
0.000022857873773318715,
-0.005187449045479298,
-0.024830298498272896,
0.024587204679846764,
-0.01166850421577692,
-0.014212307520210743,
0.037193357944488525,
-0.02394474297761917,
-0.021027617156505585,
0.005934094078838825,
-0.023875286802649498,
0.0030820826068520546,
-0.011703231371939182,
-0.03413731977343559,
0.010939222760498524,
0.008655876852571964,
-0.06487132608890533,
-0.021774262189865112,
0.0016007295344024897,
-0.035769522190093994,
-0.05625886097550392,
0.010088394396007061,
0.026358317583799362,
-0.012293602339923382,
0.05608522146940231,
-0.016981840133666992,
0.008629831485450268,
-0.03920756280422211,
0.007996050640940666,
0.030612459406256676,
0.055703215301036835,
-0.01911759376525879,
0.006763217970728874,
0.0533764623105526,
0.05396683141589165,
-0.046361468732357025,
0.0533764623105526,
-0.025455396622419357,
-0.056675590574741364,
-0.037992093712091446,
0.009437249973416328,
0.003702840069308877,
-0.008738354779779911,
-0.0080568240955472,
0.007388316094875336,
0.0005062646232545376,
0.017624303698539734,
0.01334411557763815,
0.0024309384170919657,
0.05841197445988655,
-0.00808287039399147,
-0.022833457216620445,
0.04288869723677635,
-0.012623515911400318,
0.005269926972687244,
0.018770316615700722,
0.03583897650241852,
0.11112861335277557,
-0.005547748412936926,
-0.010939222760498524,
-0.004195539280772209,
-0.016313333064317703,
0.03570006787776947,
-0.017198888584971428,
0.04365270584821701,
-0.06355167180299759,
-0.011243090033531189,
-0.010088394396007061,
-0.016426198184490204,
-0.020576156675815582,
-0.05716177821159363,
-0.0708097591996193,
0.028945529833436012,
0.018075762316584587,
0.018996046856045723,
0.004566691350191832,
-0.002773874206468463,
0.073344886302948,
0.06528805941343307,
0.078970767557621,
0.07230304926633835,
0.08529120683670044,
-0.01094790454953909,
0.00020158338884357363,
0.013179158791899681,
0.011086815036833286,
0.05858561396598816,
0.02891080267727375,
0.0017461517127230763,
-0.03642934933304787,
-0.04768111929297447,
-0.017277026548981667,
-0.06622570753097534,
0.044173624366521835,
0.060287270694971085,
0.011312545277178288,
0.04132595285773277,
-0.0383046418428421,
0.00001987346331588924,
-0.04782003164291382,
0.05862034112215042,
-0.02434411086142063,
-0.03212311491370201,
0.052508268505334854,
-0.03545697405934334,
0.05441829189658165,
0.045771095901727676,
0.02389265038073063,
-0.04170795530080795,
-0.030820826068520546,
0.01365666463971138,
-0.041152313351631165,
-0.014811360277235508,
-0.0502856969833374,
0.04424307867884636,
-0.013700073584914207,
-0.0035096672363579273,
-0.038200460374355316,
-0.014637721702456474,
-0.01915232092142105,
0.016139693558216095,
-0.07862348854541779,
-0.05539066717028618,
0.05636304244399071,
0.017867397516965866,
-0.017259662970900536,
-0.017659030854701996,
0.03726281225681305,
0.004857535939663649,
-0.043201249092817307,
0.0020532747730612755,
0.0021791625767946243,
0.00043436745181679726,
0.01516731921583414,
-0.04587528109550476,
0.07327542454004288,
0.006841355003416538,
0.011251771822571754,
-0.002446131780743599,
-0.004640487488359213,
-0.006138119380921125,
0.028962893411517143,
0.05365428328514099,
-0.038547735661268234,
-0.009437249973416328,
0.010505126789212227,
-0.059314895421266556,
0.023076551035046577,
0.014003940857946873,
-0.02851143479347229,
0.045736368745565414,
0.0031884361524134874,
0.0071452222764492035,
-0.04431253299117088,
0.01607023924589157,
-0.02554221637547016,
-0.04900077357888222,
-0.01495895255357027,
-0.006832673214375973,
0.0010049325646832585,
-0.014898179098963737,
-0.06813573092222214,
0.04719493165612221,
-0.009098654612898827,
0.006563533563166857,
-0.00662430701777339,
-0.04650037735700607,
0.024378839880228043,
-0.001266475417651236,
-0.08911125361919403,
-0.024830298498272896,
-0.007522886153310537,
0.04618782922625542,
0.017528802156448364,
0.0006288967560976744,
0.01993369497358799,
0.041569046676158905,
0.0032448687124997377,
-0.05921071395277977,
0.013812938705086708,
-0.006450668442994356,
-0.09154219180345535,
-0.017606940120458603,
0.0526471808552742,
0.0015117397997528315,
-0.05605049431324005,
0.004184686578810215,
0.04549327492713928,
0.03554379194974899,
0.04604891687631607,
0.031046556308865547,
-0.027573786675930023,
0.008386737667024136,
0.017702439799904823,
0.03031727485358715,
0.0439305305480957,
0.011347273364663124,
-0.04490290582180023,
-0.021166527643799782,
-0.03681135177612305,
0.009619570337235928,
0.010522490367293358,
-0.051119159907102585,
-0.01107813324779272,
-0.049313321709632874,
0.049903690814971924,
0.030959736555814743,
0.00603827740997076,
0.028546161949634552,
0.03328649327158928,
0.04500708729028702,
-0.027782153338193893,
0.04879240691661835,
0.04768111929297447,
-0.006893446668982506,
-0.06560061126947403,
0.0229202751070261,
-0.058307792991399765,
-0.04045775905251503,
0.054314106702804565,
-0.04861876741051674,
-0.022277813404798508,
-0.01038357987999916,
0.002693566493690014,
-0.055911581963300705,
-0.008534329943358898,
0.07563690841197968,
0.01951696164906025,
0.0033034714870154858,
-0.051709532737731934,
-0.017224933952093124,
0.00030359599622897804,
-0.03764481842517853,
0.04202050715684891,
-0.0383046418428421,
0.02309391461312771,
0.010999996215105057,
0.013170477002859116,
0.05098025128245354,
0.037748999893665314,
-0.017190206795930862,
-0.001327248988673091,
-0.003346881130710244,
-0.03467559814453125,
-0.044173624366521835,
-0.007952640764415264,
-0.02950117364525795,
-0.016391469165682793,
0.032626666128635406,
-0.0010771009838208556,
-0.001840567565523088,
-0.020228879526257515,
0.05021624267101288,
0.07598418742418289,
-0.018058398738503456,
-0.07133067399263382,
-0.009003154002130032,
0.00995816569775343,
-0.05004260316491127,
-0.028823982924222946,
-0.06160692498087883,
0.012814518064260483,
-0.008234803564846516,
-0.08355482667684555,
0.017077341675758362,
0.05365428328514099,
-0.07258087396621704,
-0.06990683823823929,
-0.014698495157063007,
-0.03646407648921013,
0.009532751515507698,
0.03899919614195824,
0.06646879762411118,
-0.0034163366071879864,
-0.029935268685221672,
0.05424465239048004,
0.007757297717034817,
-0.0048141260631382465,
0.02295500412583351,
-0.019655872136354446,
0.016122329980134964,
-0.029466446489095688,
0.030213091522455215,
-0.060704004019498825,
-0.04490290582180023,
-0.019395414739847183,
0.04170795530080795,
-0.024205200374126434,
0.00025679499958641827,
-0.07004575431346893,
-0.011130224913358688,
-0.01087844930589199,
-0.01385634858161211,
-0.032800305634737015,
-0.008091552183032036,
-0.06466296315193176,
-0.0064680324867367744,
-0.017389891669154167,
0.002693566493690014,
-0.013778211548924446,
0.01915232092142105,
0.03304339945316315,
0.012528014369308949,
-0.013882393948733807,
0.03523124381899834,
0.02594158425927162,
-0.061468012630939484,
0.022434087470173836,
-0.018631406128406525,
-0.054314106702804565,
0.04681292548775673,
-0.00607300503179431,
0.02569849044084549,
-0.030404092743992805,
-0.03674189746379852,
-0.009020517580211163,
0.03132437542080879,
-0.0354917012155056,
0.004199880175292492,
-0.03726281225681305,
0.0931396633386612,
-0.08209626376628876,
0.010322806425392628,
-0.00860812608152628,
0.0004262281290721148,
0.008925016969442368,
0.0354917012155056,
-0.015280184336006641,
0.008712309412658215,
0.04504181444644928,
0.016599835827946663,
-0.02674032188951969,
0.028268340975046158,
0.004377859644591808,
0.005712705198675394,
-0.019464870914816856,
-0.014316490851342678,
-0.08286026865243912,
0.0005087064346298575,
-0.01616574078798294,
0.05188316851854324,
0.09070872515439987,
0.04268033057451248,
0.01484608743339777,
0.0331302173435688,
0.01076558418571949,
0.03708917275071144,
-0.015714280307292938,
-0.05268190801143646,
0.036776624619960785,
-0.0665382519364357,
-0.036672443151474,
0.04837567359209061,
0.04028411954641342,
0.04486817494034767,
0.03484923765063286,
0.0012447707122191787,
-0.007852799259126186,
-0.041569046676158905,
0.027000779286026955,
0.007058402989059687,
-0.05188316851854324,
0.04250669479370117,
-0.0037397381383925676,
-0.003548735985532403,
-0.04379161819815636,
-0.02906707674264908,
-0.05004260316491127,
-0.047576937824487686,
-0.027243873104453087,
-0.009037881158292294,
0.0011470990721136332,
-0.002439620206132531,
-0.030386729165911674,
0.03248775377869606,
-0.0006576556479558349,
-0.01146013755351305,
0.006602602079510689,
0.034779783338308334,
-0.00840844213962555,
-0.05476556718349457,
-0.01383898500353098,
-0.014168897643685341,
-0.031376469880342484,
0.00583425210788846,
0.03747117891907692,
0.035769522190093994,
0.006515782792121172,
-0.06441986560821533,
0.04146486148238182,
0.020662976428866386,
-0.06657298654317856,
0.02295500412583351,
-0.009914755821228027,
-0.0005871150060556829,
-0.00007684858428547159,
-0.07390052825212479,
-0.005934094078838825,
-0.008916334249079227,
-0.031220193952322006,
-0.009532751515507698,
-0.06348221749067307,
-0.021288074553012848,
-0.035769522190093994,
0.019985785707831383,
-0.04129122570157051,
0.1020299568772316,
-0.04709075018763542,
-0.008391078561544418,
-0.04406943917274475,
0.009793208912014961,
-0.04122176766395569,
0.01989896595478058,
0.03007418103516102,
-0.021010253578424454,
0.006767558865249157,
0.024656660854816437,
0.00797000527381897,
0.009124700911343098,
-0.001891573891043663,
-0.0027065894100815058,
-0.021270710974931717,
-0.03625570982694626,
-0.0006918407161720097,
0.06778845191001892,
-0.004805444274097681,
0.006090368609875441,
0.00791357271373272,
0.013500389643013477,
-0.053133368492126465,
0.0029279785230755806,
-0.06396840512752533,
0.032001566141843796,
-0.03653353080153465,
-0.06330858170986176,
-0.025785310193896294,
-0.04841040074825287,
-0.05368901044130325,
0.060287270694971085,
0.03486660122871399,
0.01871822588145733,
0.0163393784314394,
-0.015688234940171242,
0.032175205647945404,
0.025646399706602097,
0.01444671954959631,
-0.007197313942015171,
0.0237363763153553,
-0.014177579432725906,
0.010348851792514324,
-0.02773006074130535,
0.028441978618502617,
0.01873558945953846,
0.002513416577130556,
-0.049903690814971924,
0.027955790981650352,
-0.04886186122894287,
-0.01146013755351305,
-0.0024070630315691233,
-0.054939206689596176,
-0.006850036792457104,
0.022607726976275444,
0.02349328249692917,
-0.0009913670364767313,
0.014281762763857841,
0.02210417576134205,
-0.004134765826165676,
0.027209145948290825,
0.010782947763800621,
0.017016569152474403,
-0.030577732250094414,
-0.0062379613518714905,
-0.04726438596844673,
-0.009610888548195362,
0.045528002083301544,
0.010044984519481659,
-0.06178056076169014,
-0.03701971843838692,
-0.006806627381592989,
0.01237174030393362,
-0.008174030110239983,
0.04726438596844673,
0.06330858170986176,
-0.06219729408621788,
-0.013960531912744045,
-0.00583425210788846,
-0.006294393911957741,
0.06098182499408722,
0.01757221110165119,
-0.012580106034874916,
0.030977100133895874,
0.027243873104453087,
0.05077188462018967,
0.07112231105566025,
-0.05601576343178749,
0.003998025320470333,
0.024951845407485962,
0.02094079740345478,
0.09043090790510178,
-0.022399360314011574,
-0.02752169407904148,
0.0017580894054844975,
-0.01344829797744751,
0.01106076966971159,
0.0056215450167655945,
-0.036776624619960785,
0.07271978259086609,
-0.030942372977733612,
-0.023632192984223366,
0.06250984221696854,
0.0007151733734644949,
0.01627860590815544,
-0.02708759903907776,
-0.0013012031558901072,
-0.06632988899946213,
-0.022381996735930443,
-0.007579318713396788,
-0.031584836542606354,
0.04847985506057739,
0.047924213111400604,
0.05466138571500778,
-0.007275451440364122,
-0.0021422645077109337,
0.02134016528725624,
-0.004178175237029791,
-0.010296760126948357,
0.021253347396850586,
-0.041569046676158905,
-0.013786893337965012,
0.015306229703128338,
0.014273080974817276,
0.025056028738617897,
0.006780581548810005,
-0.0020250584930181503,
0.04007575660943985,
0.023180734366178513,
-0.016391469165682793,
0.015210728161036968,
0.029952634125947952,
0.05841197445988655,
-0.014342536218464375,
0.017476709559559822,
0.008707968518137932,
-0.02950117364525795,
0.021808989346027374,
-0.010921859182417393,
-0.028025247156620026,
-0.0314980149269104,
-0.012510650791227818,
0.05125807225704193,
0.04288869723677635,
-0.04007575660943985,
0.051535893231630325,
0.031758472323417664,
0.0246913880109787
] |
10,330 | fractions | limit_denominator | Closest Fraction to self with denominator at most max_denominator.
>>> Fraction('3.141592653589793').limit_denominator(10)
Fraction(22, 7)
>>> Fraction('3.141592653589793').limit_denominator(100)
Fraction(311, 99)
>>> Fraction(4321, 8765).limit_denominator(10000)
Fraction(4321, 8765)
| def limit_denominator(self, max_denominator=1000000):
"""Closest Fraction to self with denominator at most max_denominator.
>>> Fraction('3.141592653589793').limit_denominator(10)
Fraction(22, 7)
>>> Fraction('3.141592653589793').limit_denominator(100)
Fraction(311, 99)
>>> Fraction(4321, 8765).limit_denominator(10000)
Fraction(4321, 8765)
"""
# Algorithm notes: For any real number x, define a *best upper
# approximation* to x to be a rational number p/q such that:
#
# (1) p/q >= x, and
# (2) if p/q > r/s >= x then s > q, for any rational r/s.
#
# Define *best lower approximation* similarly. Then it can be
# proved that a rational number is a best upper or lower
# approximation to x if, and only if, it is a convergent or
# semiconvergent of the (unique shortest) continued fraction
# associated to x.
#
# To find a best rational approximation with denominator <= M,
# we find the best upper and lower approximations with
# denominator <= M and take whichever of these is closer to x.
# In the event of a tie, the bound with smaller denominator is
# chosen. If both denominators are equal (which can happen
# only when max_denominator == 1 and self is midway between
# two integers) the lower bound---i.e., the floor of self, is
# taken.
if max_denominator < 1:
raise ValueError("max_denominator should be at least 1")
if self._denominator <= max_denominator:
return Fraction(self)
p0, q0, p1, q1 = 0, 1, 1, 0
n, d = self._numerator, self._denominator
while True:
a = n//d
q2 = q0+a*q1
if q2 > max_denominator:
break
p0, q0, p1, q1 = p1, q1, p0+a*p1, q2
n, d = d, n-a*d
k = (max_denominator-q0)//q1
bound1 = Fraction(p0+k*p1, q0+k*q1)
bound2 = Fraction(p1, q1)
if abs(bound2 - self) <= abs(bound1-self):
return bound2
else:
return bound1
| (self, max_denominator=1000000) | [
-0.022101612761616707,
-0.04385938122868538,
-0.029952747747302055,
0.0380140095949173,
-0.030506720766425133,
0.0012225611135363579,
0.05356346070766449,
-0.04114682227373123,
-0.04737424477934837,
-0.02376353181898594,
0.007731744088232517,
0.04210194945335388,
-0.02085994929075241,
0.012311572209000587,
-0.005745082162320614,
0.036543115973472595,
0.02192969061434269,
0.0034909851383417845,
-0.0010369084775447845,
0.05039244145154953,
0.0019794984254986048,
0.04943731427192688,
0.05509166046977043,
0.0008273777784779668,
-0.040344517678022385,
0.032359663397073746,
0.008691645227372646,
0.03310466185212135,
-0.037574652582407,
-0.0067384131252765656,
-0.0004898004699498415,
0.01686752215027809,
-0.001534170936793089,
0.010706961154937744,
-0.02141392230987549,
0.004130919463932514,
0.008333473466336727,
0.05952344462275505,
-0.1595442295074463,
-0.030029157176613808,
-0.06437548249959946,
-0.008906548842787743,
0.006026844028383493,
0.009847347624599934,
-0.009933308698236942,
-0.005181557964533567,
0.03923657163977623,
0.03174838423728943,
-0.007535943295806646,
0.0632675364613533,
0.007130014710128307,
0.01657143421471119,
-0.06999162584543228,
-0.02578839845955372,
-0.044776301831007004,
0.04347733035683632,
-0.005797613877803087,
0.015196052379906178,
0.02947518415749073,
-0.032054025679826736,
0.008935202844440937,
-0.02941787615418434,
0.029819030314683914,
-0.07018265128135681,
-0.032550688832998276,
0.013811119832098484,
-0.025081604719161987,
-0.0037082761991769075,
-0.0371352955698967,
0.04683937132358551,
-0.004639524035155773,
-0.01274137943983078,
-0.004904571454972029,
-0.006184440106153488,
0.032990045845508575,
0.03744093328714371,
0.015224706381559372,
-0.0021012770012021065,
-0.004947551991790533,
0.025463655591011047,
0.07675391435623169,
-0.02338148094713688,
0.04317168891429901,
-0.07763262838125229,
-0.03491940349340439,
-0.033696841448545456,
-0.01774623803794384,
-0.03321927785873413,
0.04405040666460991,
-0.0043792519718408585,
-0.05692550167441368,
0.009694527834653854,
0.03912195563316345,
0.037173498421907425,
-0.02567378431558609,
0.002843887312337756,
-0.04087938740849495,
0.001316879759542644,
-0.027927881106734276,
-0.022426355630159378,
-0.013906632550060749,
0.09566541016101837,
-0.02477596513926983,
-0.02389724925160408,
0.04317168891429901,
-0.0038133400958031416,
0.03726901113986969,
-0.007488186936825514,
-0.06391702592372894,
0.013811119832098484,
-0.08237005770206451,
-0.001099588698707521,
-0.05119474604725838,
0.056123197078704834,
-0.021184692159295082,
0.032856330275535583,
-0.055435504764318466,
-0.005921780597418547,
0.08473876863718033,
-0.040153492242097855,
-0.019255338236689568,
0.03954220935702324,
-0.06013472378253937,
-0.0033668186515569687,
0.03491940349340439,
0.017259124666452408,
0.0557793527841568,
-0.01883508265018463,
-0.031404539942741394,
0.03677234426140785,
0.07977211475372314,
0.05043064430356026,
-0.006494855973869562,
0.004739812109619379,
0.07067931443452835,
0.06204497814178467,
-0.07327725738286972,
0.03377325087785721,
0.02307584136724472,
0.0012727052671834826,
-0.006389792077243328,
-0.030315695330500603,
0.013801569119095802,
0.02256007306277752,
-0.0028367238119244576,
0.04393579065799713,
0.024183787405490875,
0.025368142873048782,
0.025826603174209595,
0.032990045845508575,
-0.02504340000450611,
0.03824324160814285,
0.10177821666002274,
-0.011719394475221634,
0.05329602211713791,
-0.026323268190026283,
0.004398354794830084,
0.02693454921245575,
-0.05253192409873009,
0.023629814386367798,
0.026571601629257202,
-0.015530346892774105,
0.011709842830896378,
-0.011432856321334839,
0.002403335412964225,
-0.01807098090648651,
-0.053525254130363464,
-0.04981936514377594,
-0.02840544283390045,
0.05180602893233299,
0.03814772889018059,
0.002946563297882676,
-0.02389724925160408,
-0.0035411291755735874,
-0.04045913368463516,
0.0072637321427464485,
0.03650490939617157,
-0.028443649411201477,
-0.04076477140188217,
0.03016287460923195,
0.07423238456249237,
-0.07010623812675476,
0.026953652501106262,
-0.04019169509410858,
0.046113476157188416,
-0.013801569119095802,
0.0026600256096571684,
0.015711819753050804,
0.012884647585451603,
-0.016303999349474907,
0.0010828739032149315,
-0.01229246985167265,
0.03747913986444473,
-0.03980964794754982,
-0.02775595709681511,
-0.02991454303264618,
0.05325781926512718,
-0.003765583736822009,
0.08657260984182358,
0.04000067338347435,
-0.042369384318590164,
0.018300211057066917,
0.019379504024982452,
-0.019255338236689568,
-0.012110996060073376,
0.0213566143065691,
-0.03677234426140785,
-0.04026810824871063,
0.03396427631378174,
0.020821744576096535,
-0.05027782544493675,
0.003586497623473406,
-0.010888434946537018,
-0.03106069378554821,
-0.011834009550511837,
-0.027087369933724403,
0.08519722521305084,
-0.015530346892774105,
0.013381313532590866,
0.00665245158597827,
-0.006599919870495796,
-0.022579176351428032,
0.04049733653664589,
0.011767150834202766,
-0.01270317379385233,
-0.036294784396886826,
0.014880861155688763,
0.0069724190980196,
0.020458796992897987,
-0.03740273043513298,
0.01626579277217388,
-0.043248098343610764,
0.042063742876052856,
-0.05971447005867958,
-0.01977110467851162,
0.009436643682420254,
-0.05604678764939308,
-0.042942460626363754,
-0.03512952849268913,
-0.005315275397151709,
-0.012884647585451603,
0.0031901204492896795,
-0.040917593985795975,
0.06334394961595535,
-0.0023460278753191233,
-0.05979087948799133,
-0.04603706672787666,
-0.01033446192741394,
0.040535543113946915,
0.018147392198443413,
-0.015272462740540504,
-0.0475652702152729,
-0.042942460626363754,
-0.03980964794754982,
0.05383089557290077,
0.03048761747777462,
-0.06628573685884476,
0.009450970217585564,
0.016027012839913368,
0.045731425285339355,
0.017259124666452408,
-0.007507289294153452,
-0.015358423814177513,
0.005019186530262232,
-0.05830088257789612,
0.027335703372955322,
-0.04710680991411209,
-0.052646536380052567,
0.017870405688881874,
0.034269917756319046,
0.09062234312295914,
0.04282784461975098,
0.010687858797609806,
-0.06666778773069382,
-0.057078320533037186,
-0.015167399309575558,
0.03518683835864067,
0.021834177896380424,
0.007287610322237015,
-0.051309362053871155,
-0.034766580909490585,
-0.05837729200720787,
0.027049165219068527,
0.05627601593732834,
0.006232196465134621,
0.04974295571446419,
0.012502597644925117,
-0.06666778773069382,
0.017134958878159523,
0.028730185702443123,
0.016475921496748924,
-0.02395455725491047,
-0.02015315555036068,
0.05081269517540932,
0.032034922391176224,
-0.009556034579873085,
0.03516773506999016,
-0.05539730191230774,
0.05551191419363022,
0.004701606929302216,
-0.03642849996685982,
-0.043324507772922516,
0.01194862462580204,
0.06017293035984039,
-0.019073864445090294,
-0.004529684316366911,
-0.00489502027630806,
-0.024947887286543846,
0.006905559916049242,
-0.02597942389547825,
-0.038510676473379135,
0.019599182531237602,
0.027679547667503357,
0.004512969870120287,
0.02236904762685299,
-0.03543516993522644,
0.03239786997437477,
-0.004181063733994961,
-0.05165320634841919,
0.009622893296182156,
-0.023553404957056046,
0.08817721903324127,
-0.03425081446766853,
0.01327625010162592,
0.01106035802513361,
-0.0010601896792650223,
-0.019121620804071426,
0.10384128242731094,
0.01818559691309929,
-0.000028299335099291056,
-0.07854954898357391,
0.010028821416199207,
0.026915447786450386,
0.0004918898339383304,
0.014498811215162277,
0.012922853231430054,
0.07213110476732254,
-0.035396963357925415,
0.043630149215459824,
-0.04221656545996666,
0.04634270817041397,
-0.04175810143351555,
-0.003899301402270794,
-0.02028687298297882,
-0.014670733362436295,
0.029188646003603935,
0.06185395270586014,
-0.02802339382469654,
0.027469420805573463,
-0.03767016530036926,
-0.03637119382619858,
-0.040650155395269394,
0.0029059704393148422,
-0.03824324160814285,
-0.09024029225111008,
-0.00985689926892519,
0.012951507233083248,
0.0031280373223125935,
-0.03646670654416084,
-0.009622893296182156,
0.04240758717060089,
0.05153859034180641,
-0.022789303213357925,
-0.0061319079250097275,
-0.025826603174209595,
-0.009799591265618801,
-0.023171354085206985,
0.001638040877878666,
-0.015100539661943913,
0.0041571855545043945,
-0.010152988135814667,
-0.03291363641619682,
0.024241095408797264,
-0.009536932222545147,
0.009489175863564014,
0.054403968155384064,
-0.010095680132508278,
0.015950601547956467,
0.009379335679113865,
0.03927477449178696,
0.014002145268023014,
-0.05558832734823227,
-0.026017628610134125,
-0.00379423750564456,
-0.003507699817419052,
-0.01550169289112091,
0.038892727345228195,
-0.031786590814590454,
0.047259628772735596,
0.008959081023931503,
-0.02496699057519436,
-0.02433660812675953,
0.03980964794754982,
0.06674419343471527,
-0.05310500040650368,
0.029016723856329918,
0.07343007624149323,
-0.03220684453845024,
-0.0031089347321540117,
0.04920808598399162,
0.0009019969729706645,
0.03314286842942238,
0.004512969870120287,
0.038625288754701614,
0.06089882552623749,
0.01160477939993143,
0.07232213020324707,
0.06154831126332283,
0.008959081023931503,
0.007946647703647614,
-0.042254768311977386,
-0.0604785718023777,
-0.03144274279475212,
0.08519722521305084,
-0.011003050021827221,
-0.011910419911146164,
-0.06235061585903168,
-0.04618988558650017,
-0.030506720766425133,
-0.0400770828127861,
-0.013600992038846016,
-0.06804316490888596,
0.016772009432315826,
0.009412765502929688,
-0.006733637303113937,
-0.04320989549160004,
0.05791883170604706,
-0.02534904144704342,
-0.03119441121816635,
0.04691578447818756,
0.025960320606827736,
0.01645681820809841,
-0.020458796992897987,
-0.05062166973948479,
0.028730185702443123,
-0.012034585699439049,
-0.02003854140639305,
0.04943731427192688,
-0.0030731174629181623,
-0.02307584136724472,
0.05444217473268509,
0.024069171398878098,
-0.028863903135061264,
0.014785348437726498,
0.032799024134874344,
-0.08565568923950195,
0.05203525722026825,
0.009035490453243256,
-0.04252220317721367,
-0.05673447623848915,
-0.021452127024531364,
-0.04416501894593239,
0.01175759918987751,
0.0037870740052312613,
-0.036294784396886826,
-0.02915044128894806,
-0.004049733746796846,
0.008968631736934185,
0.017163611948490143,
0.02168135717511177,
0.04435604438185692,
0.03623747453093529,
0.030602233484387398,
0.02408827468752861,
-0.05864472687244415,
0.06983880698680878,
0.06391702592372894,
0.01134689524769783,
-0.026132244616746902,
-0.059294212609529495,
0.06991521269083023,
0.07977211475372314,
-0.06601829826831818,
-0.008147223852574825,
0.010964845307171345,
0.014603874646127224,
-0.030659539625048637,
-0.040344517678022385,
0.06464292109012604,
-0.021910587325692177,
0.03409799188375473,
0.007182546425610781,
0.0029179095290601254,
-0.026208654046058655,
-0.035664401948451996,
-0.04978116229176521,
-0.07568417489528656,
0.03117530792951584,
0.009417541325092316,
-0.0018195147858932614,
-0.024871477857232094,
0.01626579277217388,
-0.03778478130698204,
0.04118502885103226,
-0.08756594359874725,
0.008042159490287304,
0.0022755872923880816,
-0.01011478342115879,
0.05367807298898697,
-0.017593419179320335,
0.045349378138780594,
-0.024145582690835,
-0.0380140095949173,
0.021700460463762283,
0.0005456156795844436,
0.03256979212164879,
-0.07763262838125229,
0.07201649248600006,
0.0014267192455008626,
0.04366835579276085,
0.013123429380357265,
0.03136633336544037,
-0.025138912722468376,
0.008218858391046524,
0.019427260383963585,
-0.0013240432599559426,
0.013763363473117352,
0.008834914304316044,
0.010019270703196526,
-0.04874962568283081,
-0.03891182690858841,
0.02345789223909378,
-0.021891485899686813,
-0.028921211138367653,
-0.006456650793552399,
-0.0352250412106514,
-0.07629545778036118,
-0.029952747747302055,
0.0012440514983609319,
-0.01689617708325386,
0.0012070402735844254,
-0.01267452072352171,
0.03505311906337738,
0.025272630155086517,
0.01807098090648651,
0.020611615851521492,
-0.05509166046977043,
0.017068099230527878,
0.01936040073633194,
0.028730185702443123,
-0.027144677937030792,
0.007215975783765316,
0.062274206429719925,
0.01667649857699871,
0.00730671314522624,
-0.0409557968378067,
0.008104243315756321,
0.04126143828034401,
0.04897885397076607,
0.024298401549458504,
0.10131975263357162,
0.0036772345192730427,
0.042751435190439224,
-0.01667649857699871,
-0.012684071436524391,
0.009737508371472359,
0.03898823633790016,
0.010983947664499283,
0.04680116847157478,
-0.031461846083402634,
-0.004257473628968,
0.034518249332904816,
0.06911291182041168,
-0.02326686680316925,
0.004584604408591986,
-0.01235932856798172,
0.052188076078891754,
0.045922450721263885,
-0.014154965057969093,
0.038319651037454605,
-0.0022373823449015617,
0.05008680000901222,
0.011174973100423813,
0.006896008737385273,
0.0036056002136319876,
-0.024183787405490875,
0.01741194538772106,
-0.03795670345425606,
-0.04133784770965576,
0.007803378161042929,
-0.022025203332304955,
-0.02865377627313137,
0.010917088948190212,
-0.0010434750001877546,
-0.04596065729856491,
0.028883006423711777,
-0.010019270703196526,
0.00898295920342207,
-0.022101612761616707,
-0.0014589547645300627,
0.006786169484257698,
-0.0020678474102169275,
0.0014147801557555795,
-0.05214987322688103,
-0.006198767106980085,
-0.010630550794303417,
-0.08244646340608597,
-0.06544522196054459,
0.025177117437124252,
-0.012760481797158718,
-0.03734542056918144,
-0.0047947317361831665,
-0.03627568110823631,
0.03575991094112396,
0.02559737302362919,
0.02338148094713688,
-0.003990038298070431,
-0.06261805444955826,
-0.05127115547657013,
-0.05165320634841919,
-0.010019270703196526,
0.06376419961452484,
-0.021394819021224976,
-0.012130098417401314,
-0.06277087330818176,
-0.01289419922977686,
-0.036982472985982895,
-0.003937506582587957,
-0.037307217717170715,
0.03086966834962368,
-0.042445793747901917,
0.042254768311977386,
0.05222628265619278,
0.03119441121816635,
-0.025941219180822372,
-0.0012941955355927348,
0.007726968266069889,
-0.05325781926512718,
-0.030583130195736885,
0.016017461195588112,
0.014814002439379692,
0.006905559916049242,
-0.030029157176613808,
-0.018634505569934845,
-0.06624753028154373,
0.0139448381960392,
0.01984751597046852,
-0.026208654046058655,
-0.019732899963855743,
0.06544522196054459,
-0.021012770012021065,
0.03272261098027229,
-0.028290828689932823,
0.01153792068362236,
-0.016198934987187386,
0.0009097573929466307,
-0.04145246371626854,
0.017029894515872,
-0.05547371134161949,
-0.03788029029965401,
-0.05341063812375069,
0.03908374905586243,
0.054098330438137054,
-0.045540399849414825,
0.030850565060973167,
-0.009092798456549644,
0.028195315971970558,
0.009073696099221706,
0.0016523677622899413,
0.026667114347219467,
0.03602734953165054,
-0.04412681609392166,
-0.016638291999697685,
-0.008481517434120178,
-0.018147392198443413,
0.0368487574160099,
-0.04347733035683632,
-0.03163376823067665,
-0.04412681609392166,
-0.06277087330818176,
0.041414257138967514,
0.012034585699439049,
-0.008949529379606247,
-0.006461426615715027,
-0.055053453892469406,
0.010563692077994347,
-0.025578271597623825,
0.04252220317721367,
-0.002042775508016348,
-0.00040115287993103266,
0.002490490674972534,
0.007301937323063612,
-0.01796591840684414,
0.035091325640678406,
0.06284727901220322,
0.020993666723370552,
-0.031461846083402634,
0.03459465876221657,
-0.009092798456549644,
0.004923673812299967,
-0.0017096752999350429,
0.0006136683514341712,
-0.036600422114133835,
0.00798485241830349,
-0.012817788869142532,
-0.028367238119244576,
-0.02460404299199581,
0.01657143421471119,
0.009135778993368149,
-0.01963738724589348,
0.04817654937505722,
-0.023668019101023674,
0.008992509916424751,
-0.00005380044967751019,
-0.008428986184298992,
-0.002220667665824294,
0.012235162779688835,
0.034900300204753876,
0.05287576839327812,
-0.053525254130363464,
-0.004224044270813465,
0.015253360383212566,
0.004723097663372755,
-0.025501860305666924,
-0.02466134913265705,
0.022865712642669678,
0.05413653329014778,
0.01952277310192585,
-0.01990482397377491,
0.0003850351204164326,
-0.0368487574160099,
-0.02846275083720684,
0.051882438361644745,
0.02827172540128231,
0.02403096668422222,
0.06051677465438843,
0.05081269517540932,
0.0028892557602375746,
-0.06078420951962471,
-0.026648011058568954,
-0.05875934287905693,
0.04481450468301773,
-0.03367773815989494,
-0.04519655555486679,
0.00811856985092163,
-0.049857571721076965,
0.02168135717511177,
-0.01495727151632309,
-0.007960974238812923,
-0.016017461195588112,
-0.015110091306269169,
-0.002281556837260723,
0.002002182649448514,
-0.014508361928164959,
-0.044585276395082474,
0.028940314427018166,
0.020114950835704803,
0.00719209760427475,
0.0006232196465134621,
-0.044470660388469696,
0.013429069891571999,
-0.047259628772735596,
0.05001039057970047,
0.04194912686944008,
-0.03518683835864067,
0.007278059143573046,
-0.027335703372955322,
0.03029659204185009,
0.03459465876221657,
0.03232146054506302,
-0.028577366843819618,
0.012044137343764305,
0.07087033987045288,
0.047259628772735596,
-0.03575991094112396,
0.05360166355967522,
-0.013906632550060749,
0.0016762459417805076
] |
10,333 | itertools | count | Return a count object whose .__next__() method returns consecutive values.
Equivalent to:
def count(firstval=0, step=1):
x = firstval
while 1:
yield x
x += step | from itertools import count
| (start=0, step=1) | [
-0.010612834244966507,
-0.03804631903767586,
-0.052729714661836624,
0.06708681583404541,
0.01638830453157425,
0.05416542664170265,
-0.018386878073215485,
-0.026740100234746933,
0.05315390229225159,
0.030003078281879425,
-0.03471808135509491,
0.006636080332100391,
-0.009046604856848717,
0.005126953590661287,
-0.01601306162774563,
-0.012978493236005306,
0.03948202729225159,
0.06186605244874954,
-0.045812204480171204,
0.028697887435555458,
-0.0018344051204621792,
0.052697088569402695,
-0.005273787304759026,
0.03530541807413101,
-0.015017854049801826,
0.09058025479316711,
0.018582656979560852,
-0.030737247318029404,
-0.0005791785079054534,
-0.005942697636783123,
-0.020654646679759026,
0.002131132176145911,
0.004898544866591692,
-0.01041705533862114,
0.01565413549542427,
0.005857044830918312,
0.002714389469474554,
0.06248601898550987,
-0.05778733268380165,
0.0171795766800642,
0.05752629414200783,
-0.03289081156253815,
0.017815856263041496,
-0.003205875400453806,
0.0037095975130796432,
-0.015474670566618443,
0.04476805031299591,
-0.005714289378374815,
0.021193038672208786,
-0.08307540416717529,
-0.012864288873970509,
-0.03249925747513771,
0.03209138289093971,
-0.016567768529057503,
0.028795776888728142,
0.09168966859579086,
-0.014202109538018703,
0.01721220649778843,
-0.023868680000305176,
0.059908267110586166,
-0.06411750614643097,
-0.005184055306017399,
0.021225668489933014,
-0.030459895730018616,
-0.017146946862339973,
-0.04245133697986603,
-0.05299075320363045,
0.01346793957054615,
-0.007125527132302523,
-0.0092015964910388,
0.002575712976977229,
0.04529012739658356,
0.02083411067724228,
0.022840842604637146,
-0.0015856031095609069,
0.013680033385753632,
0.005934540182352066,
0.037458982318639755,
0.08907928317785263,
-0.09449582546949387,
0.055699024349451065,
-0.00751708447933197,
0.01346793957054615,
-0.0008580611320212483,
0.05719999596476555,
0.019659439101815224,
0.010302851907908916,
0.021861949935555458,
-0.06679315119981766,
0.029513631016016006,
-0.0327766090631485,
0.05015196278691292,
0.035403307527303696,
0.007782201282680035,
-0.018876325339078903,
0.04659532010555267,
-0.030459895730018616,
-0.028697887435555458,
0.01511574350297451,
-0.04776998981833458,
0.01576833799481392,
0.029644150286912918,
-0.02331397496163845,
-0.033298686146736145,
-0.0016732956282794476,
0.011803820729255676,
-0.01429184153676033,
-0.03566434234380722,
0.01956154964864254,
0.021715115755796432,
-0.0171795766800642,
0.016119109466671944,
0.022204561159014702,
-0.03080250695347786,
0.00322219030931592,
-0.023362919688224792,
0.047508951276540756,
0.0003997147432528436,
0.033706557005643845,
0.023493438959121704,
-0.020573073998093605,
0.038731541484594345,
-0.012847973965108395,
0.0454532764852047,
0.05556850507855415,
-0.021062519401311874,
0.022302450612187386,
0.03909046947956085,
0.031895603984594345,
0.009430005215108395,
0.04855310544371605,
0.004103193990886211,
0.027996346354484558,
0.036382198333740234,
0.009788932278752327,
-0.027196917682886124,
0.040134623646736145,
-0.030737247318029404,
-0.021845635026693344,
-0.02499440684914589,
0.005926382727921009,
-0.004865915048867464,
0.011053335852921009,
0.06679315119981766,
-0.001750791328959167,
-0.013353735208511353,
0.02590804174542427,
0.016575925052165985,
-0.0071826293133199215,
-0.004035895224660635,
-0.00023720317403785884,
0.0019057828467339277,
0.05403490737080574,
0.010563889518380165,
-0.014096062630414963,
0.015499142929911613,
-0.012472731061279774,
-0.05377386882901192,
-0.019039474427700043,
-0.06326913088560104,
0.03121037967503071,
0.005265629850327969,
-0.04747632145881653,
0.058048371225595474,
-0.03755687177181244,
0.007313148118555546,
-0.03390233591198921,
0.021029889583587646,
-0.015784652903676033,
-0.06043034419417381,
0.03869891166687012,
-0.05374123901128769,
-0.011094123125076294,
-0.03497911989688873,
-0.004694608971476555,
0.025647003203630447,
-0.047378432005643845,
0.020116256549954414,
0.026381172239780426,
0.022710323333740234,
-0.00003262977406848222,
-0.04793313890695572,
-0.04773736000061035,
-0.02767005003988743,
0.013565829023718834,
0.0023636193946003914,
0.06447643786668777,
0.00044534544576890767,
0.0247170552611351,
-0.0006225149263627827,
-0.021225668489933014,
-0.023444494232535362,
-0.016445405781269073,
0.03814420849084854,
0.031765084713697433,
-0.04790050908923149,
-0.06026719510555267,
-0.003921690862625837,
-0.04395230859518051,
-0.007896405644714832,
-0.08973187953233719,
-0.006244522985070944,
-0.03703479468822479,
0.004335681442171335,
0.09469160437583923,
0.007753650192171335,
-0.029301537200808525,
0.016257785260677338,
-0.05733051523566246,
-0.02602224610745907,
0.03393496572971344,
-0.07772412151098251,
0.02928522229194641,
0.022253505885601044,
0.04055881127715111,
-0.018337933346629143,
0.06490062177181244,
-0.018256358802318573,
0.01068625133484602,
-0.05315390229225159,
0.03944939747452736,
0.00949526485055685,
0.004409098532050848,
-0.025630688294768333,
0.025500169023871422,
-0.018729491159319878,
0.015466513112187386,
0.05843992531299591,
-0.008218624629080296,
-0.03481597080826759,
0.012048544362187386,
0.03514226898550987,
0.06793519109487534,
0.040297772735357285,
0.004086879547685385,
-0.052892863750457764,
-0.022661378607153893,
0.004751711152493954,
-0.02961152046918869,
-0.011387791484594345,
-0.043887048959732056,
-0.021878264844417572,
0.0319608636200428,
-0.006546348799020052,
-0.0532844215631485,
0.03101460076868534,
0.007362092845141888,
0.034163374453783035,
0.013500569388270378,
0.020573073998093605,
-0.014724185690283775,
-0.043887048959732056,
-0.03912309929728508,
-0.07217705994844437,
0.02442338690161705,
-0.04871625453233719,
-0.015409410931169987,
-0.005253393668681383,
0.02174774557352066,
0.016371989622712135,
0.055209580808877945,
-0.005738761741667986,
-0.0365779772400856,
-0.009046604856848717,
-0.051000338047742844,
0.014748658053576946,
0.005286023486405611,
0.036382198333740234,
-0.0725686177611351,
0.03817683830857277,
0.07517900317907333,
-0.05419805645942688,
0.04976040869951248,
-0.02598961628973484,
-0.06372594833374023,
-0.0042541068978607655,
-0.0030202935449779034,
0.06359542906284332,
-0.013337420299649239,
-0.005730604287236929,
0.03052515536546707,
0.03993884474039078,
-0.05589480325579643,
-0.027735309675335884,
-0.03315185010433197,
0.033086590468883514,
0.02223719097673893,
0.0003683595568872988,
-0.02948100119829178,
-0.04333234205842018,
0.03703479468822479,
0.0074273524805903435,
0.02566331811249256,
0.0014285723445937037,
0.034163374453783035,
-0.030296746641397476,
0.012790871784090996,
-0.05152241513133049,
0.011461208574473858,
0.03925361856818199,
-0.016771703958511353,
-0.05178345367312431,
-0.06463958323001862,
-0.015409410931169987,
-0.02923627756536007,
-0.012660352513194084,
0.06669525802135468,
-0.015042326413094997,
0.009870506823062897,
-0.004967883229255676,
-0.010979919694364071,
0.0775936022400856,
-0.0065096402540802956,
-0.012260638177394867,
0.06643421947956085,
-0.027131658047437668,
-0.061996571719646454,
0.051130857318639755,
-0.04467016085982323,
0.06339965015649796,
0.04506171867251396,
0.01299480814486742,
0.008850826881825924,
0.05054352059960365,
-0.03990621492266655,
0.023362919688224792,
0.031194064766168594,
-0.004825127776712179,
0.025712262839078903,
0.0028163574170321226,
-0.09155914932489395,
-0.00961762573570013,
0.002131132176145911,
0.05922304093837738,
-0.03993884474039078,
0.025924356654286385,
0.04209240898489952,
-0.013892126269638538,
-0.008451111614704132,
-0.05299075320363045,
0.011648830026388168,
-0.008157444186508656,
-0.06734785437583923,
0.01087387278676033,
-0.0258264672011137,
-0.015474670566618443,
-0.012211693450808525,
-0.06460695713758469,
0.0854247510433197,
0.004307130351662636,
0.030280431732535362,
0.03736109286546707,
0.06095242127776146,
0.04414808750152588,
0.059940896928310394,
0.08973187953233719,
0.0007948409183882177,
-0.014006330631673336,
-0.024929147213697433,
0.04776998981833458,
-0.02536964975297451,
0.012048544362187386,
0.04538801684975624,
0.021323557943105698,
0.017391670495271683,
-0.013761607930064201,
-0.044865939766168594,
0.02334660477936268,
-0.07204654067754745,
-0.015107586048543453,
-0.01758744940161705,
0.0020342625211924314,
0.01902315951883793,
-0.03307027742266655,
0.0432344526052475,
0.004629349336028099,
-0.025271760299801826,
0.04228818789124489,
-0.021682485938072205,
0.055699024349451065,
-0.04741106182336807,
0.017016427591443062,
-0.003909455146640539,
0.010865715332329273,
-0.04747632145881653,
0.018060579895973206,
-0.036382198333740234,
-0.003093710634857416,
-0.0017956573283299804,
0.06640159338712692,
-0.011608042754232883,
0.00432344526052475,
-0.004547774791717529,
-0.07661471515893936,
0.015172845683991909,
-0.011257272213697433,
-0.012921391054987907,
-0.029807299375534058,
-0.01167330238968134,
-0.008736622519791126,
0.02558174356818199,
0.011061493307352066,
0.05073929950594902,
0.05263182893395424,
-0.03215664252638817,
0.012521675787866116,
-0.010400740429759026,
-0.07857249677181244,
-0.003915573004633188,
-0.047508951276540756,
-0.054720133543014526,
-0.021095149219036102,
-0.0031589700374752283,
-0.0713939443230629,
-0.02536964975297451,
-0.08085658401250839,
-0.012684824876487255,
-0.043919678777456284,
0.07328647375106812,
0.008891614153981209,
0.05077192932367325,
-0.03422863408923149,
0.0023575013037770987,
0.07015401870012283,
0.002895892597734928,
-0.04708476364612579,
-0.024684425443410873,
-0.013680033385753632,
-0.014879177324473858,
-0.0017569094197824597,
-0.06565110385417938,
-0.032841868698596954,
0.02005099691450596,
-0.054720133543014526,
0.038405247032642365,
-0.008508213795721531,
-0.007341699209064245,
-0.017489559948444366,
0.04385441914200783,
-0.010555732063949108,
0.040460921823978424,
0.05781996250152588,
0.044865939766168594,
-0.027523215860128403,
0.07119817286729813,
-0.0029550339095294476,
-0.037785280495882034,
0.010930974967777729,
-0.02956257574260235,
-0.012195378541946411,
0.0012215771712362766,
-0.018419507890939713,
-0.02409708872437477,
-0.058048371225595474,
0.0343591533601284,
0.022596118971705437,
-0.05465487390756607,
0.008185994811356068,
-0.035109639167785645,
0.03228716179728508,
0.051424525678157806,
0.028012661263346672,
0.005730604287236929,
0.03307027742266655,
-0.04933622106909752,
-0.061507124453783035,
-0.05954933911561966,
0.025565428659319878,
0.029676780104637146,
0.03974306583404541,
0.031406156718730927,
0.0013225255534052849,
-0.052207641303539276,
-0.03706742450594902,
0.014805760234594345,
-0.00047644571168348193,
-0.021861949935555458,
0.02553279884159565,
0.048161547631025314,
0.012040386907756329,
0.01853371225297451,
0.026446431875228882,
0.038731541484594345,
-0.04636691138148308,
-0.024684425443410873,
-0.003913533873856068,
-0.0070154014974832535,
-0.057395774871110916,
0.011387791484594345,
-0.010539417155086994,
0.004816970322281122,
-0.041211407631635666,
-0.0075701079331338406,
-0.01299480814486742,
0.05321916192770004,
0.01363108865916729,
0.058211520314216614,
0.02253085933625698,
0.02067096158862114,
-0.01737535558640957,
-0.02961152046918869,
-0.010474157519638538,
0.035762231796979904,
-0.018713176250457764,
0.014487620443105698,
0.06568373739719391,
0.0560905821621418,
-0.05361071974039078,
0.011877237819135189,
-0.02204141393303871,
0.005286023486405611,
-0.03274397924542427,
-0.005485881119966507,
0.02677273005247116,
0.023542381823062897,
-0.06806571036577225,
-0.037458982318639755,
-0.02240034006536007,
-0.048912033438682556,
0.04418071359395981,
-0.007769965101033449,
0.007096976041793823,
-0.01956154964864254,
0.005167740397155285,
-0.008614260703325272,
0.02429286763072014,
-0.022906102240085602,
-0.047672100365161896,
0.00938921794295311,
0.05651476979255676,
-0.03047621063888073,
0.01161620020866394,
-0.008899771608412266,
0.030737247318029404,
0.03785054013133049,
-0.02850210852921009,
0.0034342838916927576,
-0.07472218573093414,
0.060854531824588776,
0.08451111614704132,
0.04591009393334389,
-0.04010199382901192,
0.020948315039277077,
-0.012366685084998608,
-0.0010635267244651914,
0.07224231958389282,
-0.006493325345218182,
-0.06587951630353928,
0.019300511106848717,
-0.02598961628973484,
-0.062290240079164505,
-0.02013257145881653,
-0.043887048959732056,
-0.011869080364704132,
0.011746719479560852,
-0.01799532026052475,
0.001133884652517736,
-0.048324696719646454,
0.02853473834693432,
0.0019343338208273053,
-0.03550119698047638,
-0.01812583953142166,
-0.03661060705780983,
-0.0230203066021204,
-0.005192212760448456,
-0.02158459648489952,
0.005791785195469856,
0.00036377101787365973,
-0.013149799779057503,
0.024227607995271683,
0.029627835378050804,
0.032515570521354675,
-0.0661405548453331,
-0.03850313276052475,
0.012040386907756329,
0.021111464127898216,
-0.034620191901922226,
-0.0675436332821846,
0.06300809234380722,
-0.04930359125137329,
-0.04868362471461296,
0.023493438959121704,
0.017636394128203392,
-0.04147244244813919,
0.025173870846629143,
0.02429286763072014,
-0.07002349942922592,
-0.009022132493555546,
-0.0033934966195374727,
0.061343975365161896,
-0.06741311401128769,
-0.026544321328401566,
-0.01977364346385002,
-0.02771899476647377,
-0.03546856716275215,
0.02129092812538147,
-0.001537678181193769,
-0.01812583953142166,
-0.07857249677181244,
-0.021943524479866028,
0.0011695735156536102,
0.03833998739719391,
-0.04336497187614441,
0.09025395661592484,
0.029578890651464462,
-0.015947801992297173,
-0.021682485938072205,
0.02585909701883793,
0.005204448942095041,
0.051424525678157806,
-0.04741106182336807,
0.02334660477936268,
0.0387968011200428,
-0.036839015781879425,
-0.026446431875228882,
0.02161722630262375,
0.009821562096476555,
0.01964312419295311,
-0.003018254181370139,
0.04088510945439339,
-0.056612659245729446,
0.027539530768990517,
-0.0037952507846057415,
-0.008047318086028099,
-0.015474670566618443,
0.037622131407260895,
-0.002335068304091692,
0.01779954321682453,
0.03202612325549126,
-0.006689103785902262,
-0.027931086719036102,
0.00042214771383441985,
0.06248601898550987,
-0.0687183067202568,
-0.007700626738369465,
0.02001836709678173,
-0.04127666726708412,
0.01418579462915659,
-0.0544590950012207,
0.02948100119829178,
-0.004044052679091692,
0.05530747026205063,
0.003010096726939082,
-0.04333234205842018,
-0.01969206891953945,
-0.018337933346629143,
-0.0022575724869966507,
0.017081687226891518,
0.012423787266016006,
0.0004336191341280937,
0.033869706094264984,
0.0004693079390563071,
0.043430231511592865,
0.013312947936356068,
-0.010172332637012005,
-0.014544722624123096,
0.051130857318639755,
-0.01190171018242836,
0.022384025156497955,
-0.041244037449359894,
0.04920570179820061,
0.0569063276052475,
0.04480068013072014,
-0.014577352441847324,
-0.022710323333740234,
0.0020985023584216833,
0.03566434234380722,
-0.04551853612065315,
-0.0071663144044578075,
-0.011869080364704132,
0.05210975185036659,
0.013312947936356068,
0.007916798815131187,
-0.013761607930064201,
-0.029970448464155197,
0.019871532917022705,
-0.039840955287218094,
0.02388499490916729,
0.018354248255491257,
-0.037752650678157806,
-0.0018792711198329926,
-0.02071990631520748,
-0.0251249261200428,
-0.07602737843990326,
-0.0004925056709907949,
0.0022473756689578295,
-0.04016725346446037,
-0.010139702819287777,
0.04636691138148308,
0.008948715403676033,
-0.019218938425183296,
-0.0166819728910923,
0.014887334778904915,
-0.00823493953794241,
-0.0627470538020134,
0.07746308296918869,
-0.02001836709678173,
0.014430518262088299,
0.08059554547071457,
-0.05184871330857277,
0.03723057359457016,
-0.001995514612644911,
0.04646480083465576,
0.0034342838916927576,
-0.07054557651281357,
0.02207404375076294,
-0.05563376471400261,
-0.014299998991191387,
-0.003848274005576968,
0.02063833363354206,
-0.010286536999046803,
0.045942723751068115,
-0.08033450692892075,
0.012203535996377468,
-0.01447946298867464,
-0.002516571432352066,
0.01721220649778843,
0.06078927218914032,
0.012603250332176685,
0.03393496572971344,
0.03422863408923149,
0.06222498044371605,
0.018468452617526054,
0.026103820651769638,
-0.08274910598993301,
0.009821562096476555,
0.006558584980666637,
0.069175124168396,
0.006048744544386864,
-0.03582749143242836,
-0.055046431720256805,
-0.05909252166748047,
-0.07772412151098251,
-0.015107586048543453,
-0.013606616295874119,
0.005420621484518051,
0.0011410224251449108,
-0.010637306608259678,
0.010816770605742931,
-0.039645176380872726,
0.01602122001349926,
-0.06359542906284332,
-0.027294807136058807,
0.025434909388422966,
0.04493119940161705,
-0.02112777903676033,
0.07746308296918869,
-0.002959112636744976,
-0.03303764760494232,
-0.06627107411623001,
-0.0032527807634323835,
0.025402279570698738,
0.024847574532032013,
-0.0502498522400856,
0.008793724700808525,
0.025190185755491257,
0.025271760299801826,
-0.07158972322940826,
-0.023167140781879425,
0.02204141393303871,
-0.02129092812538147,
-0.011053335852921009,
0.02005099691450596,
0.015409410931169987,
-0.0023901311215013266,
0.03429389372467995,
0.06300809234380722,
0.026413802057504654
] |
10,334 | torch_pitch_shift.main | get_fast_shifts |
Search for pitch-shift targets that can be computed quickly for a given sample rate.
Parameters
----------
sample_rate: int
The sample rate of an audio clip.
condition: Callable [optional]
A function to validate fast shift ratios.
Default is `lambda x: x >= 0.5 and x <= 2 and x != 1` (between -1 and +1 octaves).
Returns
-------
output: List[Fraction]
A list of fast pitch-shift target ratios
| def get_fast_shifts(
sample_rate: int,
condition: Optional[Callable] = lambda x: x >= 0.5 and x <= 2 and x != 1,
) -> List[Fraction]:
"""
Search for pitch-shift targets that can be computed quickly for a given sample rate.
Parameters
----------
sample_rate: int
The sample rate of an audio clip.
condition: Callable [optional]
A function to validate fast shift ratios.
Default is `lambda x: x >= 0.5 and x <= 2 and x != 1` (between -1 and +1 octaves).
Returns
-------
output: List[Fraction]
A list of fast pitch-shift target ratios
"""
fast_shifts = set()
factors = primes.factors(sample_rate)
products = []
for i in range(1, len(factors) + 1):
products.extend(
[
reduce(lambda x, y: x * y, x)
for x in _combinations_without_repetition(i, iterable=factors)
]
)
for i in products:
for j in products:
f = Fraction(i, j)
if condition(f):
fast_shifts.add(f)
return list(fast_shifts)
| (sample_rate: int, condition: Optional[Callable] = <function <lambda> at 0x7f1812901ea0>) -> List[fractions.Fraction] | [
-0.00298662600107491,
-0.026161449030041695,
-0.03755943477153778,
0.013722209259867668,
0.02454379014670849,
0.022888943552970886,
-0.025027228519320488,
-0.005224852357059717,
-0.0019000519532710314,
0.06407416611909866,
0.024766914546489716,
0.011286424472928047,
0.0222939420491457,
0.006568252574652433,
0.0019825617782771587,
0.025436291471123695,
0.040013816207647324,
0.02411613240838051,
-0.03798709437251091,
-0.01391744427382946,
0.043546631932258606,
0.012829707935452461,
0.023744257166981697,
0.08173825591802597,
-0.003098188666626811,
0.09653890877962112,
-0.04447632282972336,
-0.003611841704696417,
-0.10308391600847244,
0.0016118483617901802,
0.065152607858181,
0.04417882114648819,
0.024748321622610092,
-0.005164422560483217,
-0.04618695005774498,
0.023000506684184074,
0.001789651345461607,
0.04343507066369057,
-0.09118390083312988,
-0.007609504275023937,
0.03616490215063095,
0.014410179108381271,
0.03069833107292652,
-0.014716977253556252,
-0.03289239853620529,
0.012495020404458046,
0.004153385758399963,
0.009422398172318935,
0.06314447522163391,
-0.009092358872294426,
0.04049725458025932,
0.03356177359819412,
-0.05998353287577629,
-0.014902914874255657,
-0.017599012702703476,
-0.022572848945856094,
0.0036629745736718178,
-0.0039139906875789165,
0.0237070694565773,
0.010338141582906246,
0.03458442911505699,
0.020323000848293304,
0.00908306147903204,
0.005150476936250925,
-0.010821579955518246,
-0.09527453035116196,
-0.026328792795538902,
-0.06340479105710983,
-0.021475816145539284,
-0.010598454624414444,
-0.028969109058380127,
-0.00042736640898510814,
0.0335431806743145,
-0.003418931271880865,
-0.014214945025742054,
-0.005429383832961321,
-0.0037024863995611668,
-0.06485510617494583,
-0.005475868005305529,
-0.04618695005774498,
0.020732063800096512,
0.030419424176216125,
0.016799479722976685,
-0.004557800479233265,
0.005248094443231821,
-0.0039442055858671665,
0.01194650400429964,
-0.020378783345222473,
0.060318224132061005,
-0.013870960101485252,
-0.0642601028084755,
-0.0022149840369820595,
0.03826599940657616,
0.0010168473236262798,
0.0056850481778383255,
0.048046328127384186,
-0.032855208963155746,
-0.03919568657875061,
-0.035272400826215744,
0.034974899142980576,
-0.01151884626597166,
0.05771509185433388,
0.002519457135349512,
-0.00102963054087013,
0.05243445932865143,
0.06351635605096817,
-0.0608760342001915,
0.015646666288375854,
-0.019579250365495682,
0.002206849167123437,
0.05905384570360184,
0.012801817618310452,
-0.02917364053428173,
-0.051690708845853806,
-0.031999897211790085,
0.00009318679803982377,
0.0008744887309148908,
0.040311314165592194,
-0.004165006801486015,
-0.04841820150613785,
0.0369272455573082,
-0.03841475024819374,
-0.019579250365495682,
0.05395914986729622,
0.0009848893387243152,
-0.009557203389704227,
0.07824262976646423,
0.014419476501643658,
-0.01294127106666565,
0.06760698556900024,
-0.04704226180911064,
0.07006136327981949,
0.00978032872080803,
0.005420086905360222,
-0.014335804618895054,
-0.00022414220438804477,
-0.004880867432802916,
-0.026031291112303734,
0.02569660358130932,
-0.042393818497657776,
-0.010347438976168633,
-0.011463065631687641,
0.012736739590764046,
0.03930725157260895,
-0.009380562230944633,
-0.02327941171824932,
0.018974952399730682,
0.04745132476091385,
0.032966770231723785,
0.03622068464756012,
0.029006296768784523,
0.07943262904882431,
0.06727229803800583,
0.015088852494955063,
0.03413818031549454,
0.014456664212048054,
-0.002928520319983363,
0.011937206611037254,
-0.019858157262206078,
0.0184636227786541,
0.02047175168991089,
-0.008130130358040333,
-0.07218105345964432,
-0.024078944697976112,
-0.01296916138380766,
-0.016455495730042458,
-0.03092145547270775,
0.0292294230312109,
-0.007135363295674324,
0.054293837398290634,
0.0694291740655899,
-0.019356124103069305,
0.04655882343649864,
-0.03437989950180054,
0.04841820150613785,
-0.021531596779823303,
-0.02357691340148449,
-0.010077828541398048,
0.007270168047398329,
-0.034249741584062576,
0.015962760895490646,
-0.029638485983014107,
-0.04916195571422577,
-0.037224747240543365,
0.021494409069418907,
0.02182909846305847,
0.027667544782161713,
0.024041756987571716,
-0.003827994456514716,
0.05578133836388588,
-0.01415916346013546,
-0.0015700123040005565,
0.03056817501783371,
-0.013378224335610867,
0.005415438208729029,
-0.03337583690881729,
-0.003200454404577613,
-0.04626132547855377,
-0.034435681998729706,
0.03341302275657654,
-0.022777380421757698,
0.014800649136304855,
0.014029007405042648,
0.033264271914958954,
0.019728001207113266,
0.003088891739025712,
0.052285708487033844,
0.09073764830827713,
-0.02521316520869732,
-0.011295720934867859,
-0.04581507295370102,
-0.05154195800423622,
0.01054267305880785,
-0.01676229201257229,
0.0006048788782209158,
0.015191118232905865,
-0.013619943521916866,
0.0018721611704677343,
0.004890164360404015,
0.005355008877813816,
-0.02783488854765892,
-0.015944166108965874,
-0.059165406972169876,
0.052769146859645844,
0.04466225951910019,
0.06292135268449783,
-0.00991048477590084,
-0.0073770820163190365,
-0.049124766141176224,
-0.036425214260816574,
0.02703535556793213,
-0.007711770478636026,
0.05414508655667305,
-0.06106197461485863,
0.013424709439277649,
-0.031014425680041313,
0.024209100753068924,
0.0066333310678601265,
0.034974899142980576,
-0.006042978726327419,
0.03155364468693733,
-0.004664714448153973,
0.055706966668367386,
0.025733791291713715,
0.014029007405042648,
-0.026700668036937714,
0.039158500730991364,
-0.026960980147123337,
-0.0006844835006631911,
0.010988923721015453,
-0.0035258454736322165,
-0.020750658586621284,
-0.0287459846585989,
-0.00920392107218504,
0.01018009427934885,
-0.014326507225632668,
0.033264271914958954,
0.010914549231529236,
-0.011676893569529057,
0.007307355757802725,
-0.06760698556900024,
0.0013131856685504317,
-0.009789625182747841,
-0.08672139048576355,
-0.08977077156305313,
-0.039716314524412155,
-0.034677401185035706,
0.06299572438001633,
-0.04477382078766823,
0.06262385100126266,
-0.049794141203165054,
-0.046819139271974564,
-0.06292135268449783,
-0.0005034846835769713,
-0.037949904799461365,
0.013127208687365055,
0.05202539637684822,
0.053512897342443466,
0.01603713445365429,
-0.04492257162928581,
-0.018826201558113098,
-0.0010273063089698553,
0.07638324797153473,
0.04659601300954819,
-0.004983133170753717,
0.021382847800850868,
0.04696789011359215,
0.023074880242347717,
0.08233325928449631,
0.0232236310839653,
0.0047739529982209206,
0.002104583429172635,
-0.016195181757211685,
-0.06790448725223541,
0.0498313307762146,
0.04090631753206253,
0.0031051612459123135,
-0.11818206310272217,
0.04715382680296898,
-0.023539725691080093,
0.004908757749944925,
-0.05804977938532829,
-0.004927351605147123,
0.09021702408790588,
-0.0029726806096732616,
0.01658565178513527,
-0.011193455196917057,
-0.04745132476091385,
-0.004664714448153973,
-0.043732572346925735,
-0.0066147372126579285,
0.005066805053502321,
-0.0022870348766446114,
-0.010022046975791454,
0.08166388422250748,
-0.02856004610657692,
-0.016065025702118874,
0.06954073905944824,
0.012402051128447056,
0.064185731112957,
-0.010700720362365246,
0.02381863258779049,
0.012811114080250263,
0.07318511605262756,
-0.018677452579140663,
-0.012011582031846046,
-0.04905039072036743,
-0.04094350337982178,
-0.020583314821124077,
0.014744867570698261,
-0.09460515528917313,
0.03811724856495857,
0.029582703486084938,
0.0012713497271761298,
-0.005201609805226326,
0.000022824591724202037,
0.003909342456609011,
-0.0006089463131502271,
-0.047191012650728226,
-0.023539725691080093,
0.04745132476091385,
-0.03778256103396416,
0.029378172010183334,
0.024748321622610092,
-0.0220522228628397,
0.024748321622610092,
0.007251574192196131,
0.03134911134839058,
-0.0031772120855748653,
-0.008646107278764248,
0.03852631151676178,
0.021587379276752472,
-0.012346269562840462,
0.05548384040594101,
0.015488618984818459,
0.022628629580140114,
-0.05474008992314339,
-0.0187053419649601,
-0.01931893825531006,
0.007102823816239834,
0.053326960653066635,
0.0073166522197425365,
0.03646240383386612,
-0.010533376596868038,
-0.028485670685768127,
0.019858157262206078,
-0.0033050444908440113,
0.017124870792031288,
-0.03437989950180054,
-0.0206019077450037,
-0.017273621633648872,
-0.02523175999522209,
-0.0035769783426076174,
0.010189391672611237,
-0.033952243626117706,
-0.007149308454245329,
0.0015467701014131308,
-0.016241665929555893,
0.008102240040898323,
-0.0015944166807457805,
0.051318831741809845,
0.005336415022611618,
-0.05291789770126343,
0.03490052372217178,
0.026180041953921318,
0.010598454624414444,
-0.05823571979999542,
-0.03289239853620529,
0.02102956548333168,
0.0025357266422361135,
-0.012680958025157452,
-0.02965707890689373,
-0.004292838741093874,
-0.061768535524606705,
-0.026700668036937714,
0.0469307005405426,
-0.014568226411938667,
0.11386831104755402,
-0.020620502531528473,
0.01449385192245245,
0.02357691340148449,
-0.049013204872608185,
-0.027500201016664505,
-0.00835790392011404,
-0.0015781470574438572,
-0.00052992271957919,
0.01781284064054489,
-0.007790793664753437,
-0.005299227312207222,
0.006047626957297325,
0.004006959497928619,
-0.010263766162097454,
-0.007479348219931126,
-0.0253991037607193,
-0.018379950895905495,
-0.02175472304224968,
-0.09520015120506287,
-0.028002232313156128,
-0.026161449030041695,
0.04481101036071777,
0.0882088914513588,
-0.07080511748790741,
-0.01355486549437046,
0.005517704412341118,
0.048046328127384186,
0.008274232037365437,
0.011072595603764057,
0.04667038843035698,
-0.03140489384531975,
0.10605891793966293,
0.00277977017685771,
-0.007149308454245329,
-0.03675990179181099,
-0.01604643277823925,
0.02606847882270813,
-0.02697957493364811,
0.019653625786304474,
0.04477382078766823,
-0.026105666533112526,
-0.05269477143883705,
0.042393818497657776,
-0.00042446114821359515,
-0.02400456927716732,
0.02151300385594368,
0.005108640994876623,
-0.048046328127384186,
-0.01425213273614645,
-0.0014096410013735294,
-0.059351347386837006,
-0.029564110562205315,
-0.01099822111427784,
-0.020453158766031265,
0.01877971738576889,
0.03586740046739578,
0.07801949977874756,
0.03203708305954933,
-0.06307010352611542,
-0.00561997015029192,
-0.06730948388576508,
-0.03986506536602974,
0.058310095220804214,
-0.012262597680091858,
0.009278296492993832,
-0.0036374081391841173,
0.02054612711071968,
0.03941881284117699,
0.026031291112303734,
0.00525739137083292,
0.015953462570905685,
-0.012829707935452461,
0.026700668036937714,
-0.01567455567419529,
-0.05038914456963539,
0.0040720379911363125,
-0.03045661188662052,
0.025324728339910507,
-0.07742449641227722,
0.05366164818406105,
0.01039392314851284,
-0.01245783269405365,
-0.034547243267297745,
-0.026998167857527733,
-0.026161449030041695,
0.021977847442030907,
-0.022777380421757698,
-0.1044226661324501,
-0.02261003665626049,
-0.024450819939374924,
0.029582703486084938,
-0.06262385100126266,
-0.016622839495539665,
-0.02887614071369171,
0.04622413590550423,
0.024097539484500885,
-0.03380349278450012,
-0.02863442152738571,
-0.002204525051638484,
0.02357691340148449,
0.07801949977874756,
0.056301966309547424,
0.015144634060561657,
0.026142854243516922,
-0.07601137459278107,
0.03852631151676178,
0.05566977709531784,
0.0584588460624218,
0.016994714736938477,
-0.028039420023560524,
-0.02089940942823887,
0.03900974988937378,
0.04395569488406181,
0.04165006801486015,
-0.002053450560197234,
0.03964193910360336,
0.004532233811914921,
-0.01848221756517887,
-0.008604271337389946,
0.024599570780992508,
-0.013257364742457867,
-0.011221346445381641,
0.0038256703410297632,
-0.007967434823513031,
-0.02601269818842411,
0.009612984023988247,
0.0282625462859869,
-0.05340133607387543,
-0.009106303565204144,
-0.05767790600657463,
0.02030440792441368,
-0.024822697043418884,
0.007191144395619631,
0.003318989649415016,
-0.010468298569321632,
0.017422372475266457,
0.05161633342504501,
-0.005633915308862925,
0.029824422672390938,
0.0010249820770695806,
0.03447286784648895,
-0.04529444873332977,
0.021977847442030907,
0.008594974875450134,
0.03979068994522095,
-0.0013991818996146321,
0.020323000848293304,
-0.017915107309818268,
-0.054293837398290634,
-0.027370044961571693,
-0.013731506653130054,
-0.011137674562633038,
0.050054457038640976,
-0.024748321622610092,
-0.0074561056680977345,
0.03609052672982216,
0.08783701807260513,
0.007958137430250645,
0.06489229202270508,
0.025064416229724884,
-0.03556990250945091,
0.004718171898275614,
-0.014967992901802063,
-0.08181263506412506,
0.00779544236138463,
-0.044327571988105774,
-0.06701198220252991,
-0.05790103226900101,
-0.0028936569578945637,
0.050351954996585846,
-0.004288190510123968,
-0.0366855263710022,
0.005894228350371122,
0.09148139506578445,
0.049868516623973846,
0.04090631753206253,
0.00009957840666174889,
-0.02461816556751728,
0.07035886496305466,
-0.09668765962123871,
0.026533324271440506,
0.016436900943517685,
0.008088294416666031,
-0.03852631151676178,
0.03014051727950573,
-0.026384573429822922,
-0.014651898294687271,
-0.01579541526734829,
-0.013815178535878658,
-0.048046328127384186,
-0.023112067952752113,
0.03651818260550499,
0.021196909248828888,
-0.01646479219198227,
0.003490982111543417,
-0.010858767665922642,
-0.015581587329506874,
-0.06928042322397232,
-0.034417085349559784,
-0.03384067863225937,
0.03283661603927612,
0.065152607858181,
-0.020750658586621284,
0.006791378371417522,
0.005150476936250925,
-0.05384758859872818,
0.003142348723486066,
-0.016455495730042458,
-0.017217840999364853,
-0.04060881584882736,
-0.012792520225048065,
-0.006270752288401127,
-0.0184636227786541,
0.044216010719537735,
0.012495020404458046,
0.01635322906076908,
0.02207081764936447,
0.018640264868736267,
-0.013275958597660065,
0.0011876777280122042,
0.03530958667397499,
-0.03146067634224892,
-0.04856695234775543,
0.04235663264989853,
0.03912131488323212,
0.026700668036937714,
-0.006070869043469429,
-0.00581985292956233,
0.004969187546521425,
-0.034677401185035706,
-0.028169576078653336,
0.0037745372392237186,
0.04559195041656494,
-0.014270726591348648,
0.06857386231422424,
-0.032185833901166916,
-0.06712354719638824,
0.017338700592517853,
-0.051802270114421844,
0.03140489384531975,
-0.026775043457746506,
0.02357691340148449,
0.0323345847427845,
0.01573033817112446,
-0.0067123547196388245,
-0.06768135726451874,
-0.011342206038534641,
-0.01665073074400425,
0.02049034647643566,
0.035830214619636536,
-0.03140489384531975,
0.08895264565944672,
-0.06478072702884674,
0.007679230999201536,
-0.015274790115654469,
0.009278296492993832,
0.03956756368279457,
-0.0237070694565773,
0.01652057282626629,
-0.019672218710184097,
0.0019476984161883593,
-0.03711318597197533,
0.0010679801926016808,
0.04138975590467453,
0.01902143657207489,
0.05548384040594101,
-0.06567323207855225,
0.0008890150929801166,
0.021550191566348076,
-0.02893192134797573,
-0.01391744427382946,
0.052285708487033844,
0.042765695601701736,
0.014242835342884064,
-0.10271204262971878,
-0.001859377953223884,
0.07028448581695557,
0.0478975772857666,
-0.029155047610402107,
0.0019511848222464323,
-0.05012883245944977,
-0.05712009221315384,
-0.005652509164065123,
-0.016632135957479477,
0.0019767512567341328,
0.03480755537748337,
0.002677504438906908,
0.00027992355171591043,
0.02089940942823887,
-0.000959903874900192,
-0.028002232313156128,
-0.03517943248152733,
0.03562568128108978,
0.038080062717199326,
-0.03514224290847778,
0.019672218710184097,
-0.018128935247659683,
0.02400456927716732,
-0.016204480081796646,
0.018742529675364494,
0.0882088914513588,
-0.05340133607387543,
0.023688476532697678,
-0.016120808199048042,
-0.011035408824682236,
-0.03590459004044533,
-0.055632591247558594,
0.0008233558037318289,
-0.025975510478019714,
0.0019779133144766092,
0.046633198857307434,
0.006902941036969423,
0.015962760895490646,
0.041241005063056946,
-0.01413127314299345,
0.024766914546489716,
-0.05042633041739464,
-0.07653199881315231,
-0.01744096539914608,
0.005336415022611618,
0.0366855263710022,
0.002937817247584462,
-0.030419424176216125,
0.0416872538626194,
-0.030661143362522125,
0.015507212840020657,
-0.04722820222377777,
-0.02831832692027092,
0.010087125934660435,
0.0333014614880085,
-0.05187664553523064,
0.024153320118784904,
-0.019783781841397285,
-0.01449385192245245,
-0.02764894999563694,
-0.059574469923973083,
0.06206603720784187,
-0.0366855263710022,
0.021717535331845284,
-0.019579250365495682,
0.05771509185433388,
0.03477036952972412,
0.0075211841613054276,
0.015832602977752686,
-0.034417085349559784,
-0.004399753175675869,
0.029564110562205315,
0.002049964154139161,
0.010914549231529236,
-0.0206019077450037,
0.01442877296358347,
-0.07616012543439865,
-0.011379393748939037,
-0.06169416382908821,
-0.0074235666543245316,
0.0002864604175556451,
0.015628071501851082,
-0.024413634091615677,
-0.0292294230312109,
-0.014317210763692856,
-0.012197519652545452,
-0.021103940904140472,
-0.06240072473883629,
-0.030289268121123314,
0.0555582158267498,
0.04417882114648819,
-0.036852870136499405,
0.013936038129031658,
-0.0555582158267498,
-0.014363694936037064
] |
10,335 | itertools | islice | islice(iterable, stop) --> islice object
islice(iterable, start, stop[, step]) --> islice object
Return an iterator whose next() method returns selected values from an
iterable. If start is specified, will skip all preceding elements;
otherwise, start defaults to zero. Step defaults to one. If
specified as another value, step determines how many values are
skipped between successive calls. Works like a slice() on a list
but returns an iterator. | from itertools import islice
| null | [
0.0033497170079499483,
-0.03914053738117218,
-0.11029314994812012,
0.024306075647473335,
-0.02031281590461731,
0.0655752494931221,
0.003937567584216595,
-0.004492416046559811,
0.052836425602436066,
-0.00850630085915327,
0.007615243550390005,
-0.021121369674801826,
-0.04409085586667061,
0.030757993459701538,
-0.05016325041651726,
-0.0007518299971707165,
0.016096793115139008,
0.049272194504737854,
-0.07458483427762985,
0.019652774557471275,
-0.009966646321117878,
0.041615698486566544,
0.006447792984545231,
0.027325771749019623,
-0.020857350900769234,
0.09227398037910461,
0.029058383777737617,
-0.03478425368666649,
0.03663237392902374,
-0.014966470189392567,
-0.00074615771882236,
-0.04009759798645973,
0.027424776926636696,
-0.0056021129712462425,
-0.029421405866742134,
0.018398692831397057,
0.005841378588229418,
0.027243265882134438,
0.0014954094076529145,
0.06019590049982071,
0.013291611336171627,
-0.037985462695360184,
0.0708225890994072,
-0.013885649852454662,
-0.046665024012327194,
0.016154546290636063,
0.014842712320387363,
-0.010766947641968727,
0.030361967161297798,
0.022045427933335304,
0.07597092539072037,
-0.009653125889599323,
0.04834813252091408,
-0.036401357501745224,
0.013506125658750534,
0.03818347305059433,
-0.01248305942863226,
-0.01213653665035963,
-0.0070005785673856735,
0.06088894605636597,
-0.014570443890988827,
-0.054321520030498505,
0.055674608796834946,
-0.015882279723882675,
0.00463680038228631,
-0.043760836124420166,
-0.027045253664255142,
-0.028381839394569397,
-0.035147279500961304,
0.0009555150754749775,
-0.004273776896297932,
0.07940314710140228,
-0.011864269152283669,
0.006707684602588415,
-0.06253905594348907,
-0.0005032826447859406,
-0.038216475397348404,
0.037325419485569,
0.06679633259773254,
-0.07821507006883621,
0.04032861441373825,
0.014743705280125141,
0.020015796646475792,
0.03864550590515137,
0.02796931192278862,
-0.012367551214993,
0.02399255521595478,
0.006307533942162991,
0.007908137515187263,
0.035378292202949524,
-0.03716040775179863,
0.059601861983537674,
0.008555804379284382,
0.01689709536731243,
0.01810167357325554,
0.047622084617614746,
0.020807849243283272,
-0.006414790637791157,
-0.0065261730924248695,
-0.03960256651043892,
-0.0014551880303770304,
0.031682051718235016,
0.004570796154439449,
-0.025774670764803886,
-0.0030176329892128706,
0.036335356533527374,
-0.03334866091609001,
0.0026401712093502283,
0.008869324810802937,
0.010346170514822006,
-0.016740335151553154,
0.005490730982273817,
-0.04072463884949684,
0.013737140223383904,
-0.020692341029644012,
-0.02490011416375637,
0.050493273884058,
0.0071985917165875435,
0.011773512698709965,
0.008613558486104012,
0.0058001261204481125,
-0.0292068924754858,
-0.05801776051521301,
0.0545855388045311,
0.041384682059288025,
0.006992327980697155,
0.034520238637924194,
0.037292417138814926,
0.06224203482270241,
-0.04917318746447563,
0.04815012216567993,
-0.024586593732237816,
-0.03811747208237648,
0.016393812373280525,
-0.02161640115082264,
-0.01185601856559515,
0.010511181317269802,
-0.0031001383904367685,
-0.049107182770967484,
-0.03646736219525337,
-0.008679562248289585,
-0.00005540105121326633,
0.01665782928466797,
0.08765368163585663,
-0.048579148948192596,
-0.04778709635138512,
0.014075412414968014,
-0.011113470420241356,
0.02348102256655693,
-0.005940385162830353,
-0.01872871443629265,
0.04412385821342468,
0.028381839394569397,
0.005647491198033094,
-0.01537074614316225,
-0.03778744861483574,
-0.0434638150036335,
-0.07220868021249771,
-0.005123582202941179,
-0.031451039016246796,
-0.005375223234295845,
0.00016617092478554696,
-0.03283712640404701,
0.026451215147972107,
-0.025791171938180923,
0.03362917900085449,
-0.0544535294175148,
-0.010544183664023876,
-0.024124562740325928,
0.010626688599586487,
0.05600462853908539,
0.005053452681750059,
-0.000917356344871223,
-0.04151669144630432,
-0.03273812308907509,
0.015362495556473732,
-0.04234174266457558,
0.05191236361861229,
0.004871940705925226,
-0.02189691923558712,
-0.03212758153676987,
-0.0034322224091738462,
-0.04973422363400459,
-0.04049362614750862,
0.03455324098467827,
0.031517043709754944,
0.05286942794919014,
-0.004475914873182774,
0.07616893947124481,
0.003256898606196046,
-0.05042726919054985,
0.023794542998075485,
-0.006691183429211378,
-0.017210615798830986,
-0.027985813096165657,
-0.003995321225374937,
-0.041945718228816986,
0.04980022832751274,
-0.032820627093315125,
0.02490011416375637,
-0.07009654492139816,
-0.03211108222603798,
-0.03749043121933937,
-0.028546849265694618,
-0.0023018992505967617,
0.029652422294020653,
-0.06036091223359108,
0.013506125658750534,
-0.07141663134098053,
0.04029561206698418,
-0.019306251779198647,
-0.08118525892496109,
0.04993223771452904,
0.003941692877560854,
0.07102060317993164,
-0.0005826940177939832,
-0.013679386116564274,
-0.036500364542007446,
0.037589434534311295,
0.00015585776418447495,
0.0888417586684227,
-0.013976405374705791,
-0.025659162551164627,
-0.04118666797876358,
0.04590597376227379,
-0.019537266343832016,
0.011327983811497688,
-0.030939504504203796,
-0.014941718429327011,
-0.008778569288551807,
0.03884351626038551,
0.03341466560959816,
0.08798370510339737,
0.021929921582341194,
0.038216475397348404,
-0.011600252240896225,
-0.03392620012164116,
-0.012540812604129314,
-0.017111608758568764,
0.032820627093315125,
-0.05217638239264488,
0.04590597376227379,
0.02247445657849312,
-0.009397358633577824,
-0.05517957732081413,
0.0705585703253746,
0.002838183892890811,
0.035477299243211746,
0.0006966545479372144,
0.04471789672970772,
0.012672821059823036,
-0.04267176613211632,
-0.031055012717843056,
-0.048579148948192596,
0.040031593292951584,
-0.0010132688330486417,
-0.008465048857033253,
-0.07564090192317963,
0.010997963137924671,
-0.0064106653444468975,
0.029305899515748024,
-0.05042726919054985,
-0.037523433566093445,
-0.02359652891755104,
-0.04811711981892586,
0.04854614660143852,
0.016088543459773064,
0.003397157648578286,
0.005371097940951586,
0.052275389432907104,
0.08382543176412582,
0.041384682059288025,
0.011525996960699558,
-0.0014438435900956392,
-0.005453603342175484,
-0.01318435464054346,
-0.0024194694124162197,
0.04171470180153847,
0.000520557165145874,
-0.006831442937254906,
0.03966857120394707,
0.06824842095375061,
-0.08837972581386566,
0.00990064162760973,
-0.03199557214975357,
-0.038711510598659515,
0.0278043020516634,
-0.04042762145400047,
0.031187022104859352,
-0.02024681307375431,
0.0343882292509079,
0.008498051203787327,
0.005630990024656057,
-0.04009759798645973,
0.050460271537303925,
-0.01871221326291561,
-0.018992731347680092,
-0.01763964258134365,
0.012054030783474445,
0.007227468304336071,
-0.0023390266578644514,
-0.09610223025083542,
-0.09966646134853363,
0.028117822483181953,
-0.008811570703983307,
-0.0022400200832635164,
0.052341390401124954,
-0.013423619791865349,
-0.06283607333898544,
-0.04570796340703964,
0.009290101937949657,
0.005746497306972742,
-0.008345415815711021,
-0.06547624617815018,
0.030213458463549614,
-0.0646841898560524,
-0.032985638827085495,
0.09134992212057114,
-0.022936485707759857,
0.08197731524705887,
-0.03983358293771744,
-0.00014825179823674262,
-0.021121369674801826,
0.011905521154403687,
-0.03953656181693077,
0.03679738566279411,
-0.0025556031614542007,
0.011691007763147354,
-0.024603094905614853,
0.0724726989865303,
-0.02971842512488365,
-0.012854333035647869,
-0.025576656684279442,
0.06989853084087372,
0.002765991725027561,
0.04313379526138306,
-0.012829581275582314,
0.01247480884194374,
-0.0010725695174187422,
-0.06422216445207596,
0.05092230066657066,
-0.06610328704118729,
0.025378644466400146,
-0.005284467246383429,
0.008861074224114418,
-0.018167678266763687,
0.0060393912717700005,
-0.059139832854270935,
0.06824842095375061,
0.03742442652583122,
0.02417406626045704,
0.06527823209762573,
0.021748408675193787,
0.0027866181917488575,
0.01792016066610813,
0.08804970979690552,
0.01759013906121254,
0.009463363327085972,
-0.028728362172842026,
0.031731557101011276,
0.02161640115082264,
-0.004884316585958004,
0.02529613859951496,
0.023134499788284302,
-0.01871221326291561,
-0.027721796184778214,
-0.056862685829401016,
0.0052473400719463825,
-0.011195975355803967,
0.04224273934960365,
-0.04181370884180069,
0.010337919928133488,
-0.011930272914469242,
-0.0023575902450829744,
-0.003669425379484892,
-0.06732436269521713,
-0.03768844157457352,
0.07220868021249771,
-0.04593897610902786,
0.055113572627305984,
0.010271916165947914,
0.004475914873182774,
0.024471085518598557,
0.03636835515499115,
-0.04815012216567993,
-0.0221774373203516,
-0.06098795309662819,
-0.019025733694434166,
-0.0061755250208079815,
0.0318305641412735,
-0.016212301328778267,
-0.019025733694434166,
-0.013052346184849739,
-0.035708315670490265,
-0.0029103760607540607,
-0.040196605026721954,
0.010964960791170597,
-0.021253377199172974,
-0.052110377699136734,
-0.015552258118987083,
0.03560930863022804,
0.03679738566279411,
-0.0354112945497036,
0.055113572627305984,
-0.022721972316503525,
-0.0003924160555470735,
0.022226940840482712,
-0.035708315670490265,
-0.016352560371160507,
-0.018926726654171944,
-0.01912473887205124,
-0.01792016066610813,
-0.016253553330898285,
-0.04692904278635979,
0.03504827246069908,
-0.054090507328510284,
-0.02494961768388748,
0.026220198720693588,
0.02494961768388748,
0.04310079291462898,
0.05382648855447769,
-0.034916263073682785,
0.0034961639903485775,
0.03402520343661308,
-0.026814237236976624,
-0.061747003346681595,
-0.03511427715420723,
-0.022144434973597527,
-0.014017658308148384,
-0.010090404190123081,
-0.05178035423159599,
-0.06184600666165352,
0.012912087142467499,
-0.01551925577223301,
0.013266859576106071,
0.017210615798830986,
-0.03278762474656105,
-0.0014304365031421185,
0.021995926275849342,
0.011220727115869522,
0.08144927769899368,
0.035939328372478485,
0.02354702539741993,
-0.01128673180937767,
0.03904153034090996,
-0.007598742377012968,
-0.04125267267227173,
0.06115296483039856,
0.01691359654068947,
-0.0011004150146618485,
0.00490906834602356,
-0.014545693062245846,
-0.018068671226501465,
-0.010403924621641636,
0.023530524224042892,
-0.03395920246839523,
-0.028563350439071655,
0.0364343598484993,
-0.025741668418049812,
0.021533895283937454,
0.058677803725004196,
0.03057648241519928,
-0.011525996960699558,
-0.034916263073682785,
0.06036091223359108,
-0.018877223134040833,
-0.05178035423159599,
0.06075693666934967,
-0.024256572127342224,
-0.0024050308857113123,
0.02138538658618927,
-0.01952076517045498,
-0.06597127765417099,
-0.06283607333898544,
0.062638059258461,
0.04250675439834595,
0.014570443890988827,
0.05270441621541977,
0.046268999576568604,
-0.006064143031835556,
-0.03930554911494255,
-0.06257205456495285,
-0.02773829735815525,
-0.0005868192529305816,
-0.04471789672970772,
-0.03795246034860611,
-0.03795246034860611,
-0.0393715500831604,
-0.04656601697206497,
-0.006534423679113388,
0.02899237908422947,
-0.006777814123779535,
-0.005961011163890362,
-0.00305682304315269,
0.08917178213596344,
0.019075235351920128,
0.027820803225040436,
0.020279813557863235,
0.06451918184757233,
0.0022462080232799053,
-0.005882631056010723,
0.03206157684326172,
0.06778639554977417,
-0.007953515276312828,
0.016327807679772377,
0.07399079203605652,
0.042011722922325134,
-0.03102201037108898,
-0.040196605026721954,
-0.04283677786588669,
0.04709405079483986,
0.008580556139349937,
-0.010370922274887562,
0.008630059659481049,
0.011558999307453632,
-0.06319909542798996,
-0.017375625669956207,
0.04293578118085861,
-0.02790330909192562,
-0.0009611872956156731,
0.04993223771452904,
0.020279813557863235,
-0.023910049349069595,
0.012169538997113705,
0.0171281099319458,
0.0059197586961090565,
-0.04593897610902786,
-0.04442087933421135,
0.001409810152836144,
0.027375273406505585,
-0.013687636703252792,
0.013794894330203533,
0.019652774557471275,
0.0022750848438590765,
0.026979248970746994,
-0.017458131536841393,
0.028101321309804916,
-0.05587262287735939,
0.09253799915313721,
0.03663237392902374,
0.0364343598484993,
-0.013778393156826496,
0.014933467842638493,
-0.03339816629886627,
-0.03785345330834389,
0.07003054022789001,
-0.04953620955348015,
-0.010123406536877155,
-0.010973211377859116,
0.022936485707759857,
-0.04567496106028557,
-0.03983358293771744,
0.014504440128803253,
-0.01803566887974739,
0.03716040775179863,
-0.020329317077994347,
-0.014471437782049179,
-0.031847063452005386,
-0.010049151256680489,
0.023398516699671745,
0.02508162520825863,
0.03686339035630226,
-0.06554225087165833,
0.002082228660583496,
-0.023745039477944374,
0.006856194231659174,
0.033216651529073715,
0.014916966669261456,
0.0453779399394989,
0.010973211377859116,
0.027985813096165657,
0.013728889636695385,
-0.06679633259773254,
0.02440508082509041,
0.007858633995056152,
0.02655022032558918,
-0.014133165590465069,
-0.08606957644224167,
0.018167678266763687,
-0.0392395444214344,
0.01730962097644806,
-0.0171281099319458,
0.07537688314914703,
-0.03584032133221626,
0.016946598887443542,
0.023217003792524338,
-0.06187900900840759,
0.008320664055645466,
-0.003073324216529727,
0.04442087933421135,
0.02688024193048477,
-0.03296913579106331,
-0.026929745450615883,
-0.033266156911849976,
0.006014639977365732,
-0.01798616535961628,
0.016377311199903488,
-0.04696204513311386,
-0.0844854786992073,
-0.00248959893360734,
-0.020906854420900345,
0.04102165997028351,
-0.022886984050273895,
0.06871045380830765,
0.0287613645195961,
0.032424602657556534,
-0.03150054067373276,
-0.008951829746365547,
0.011171223595738411,
0.04412385821342468,
-0.03194607049226761,
0.010354421101510525,
0.009389108046889305,
-0.08356141299009323,
-0.06224203482270241,
0.03881051391363144,
0.004360407590866089,
0.019652774557471275,
0.031071513891220093,
0.013679386116564274,
-0.0337446853518486,
0.04930519685149193,
-0.01410016417503357,
0.02150089293718338,
-0.034289222210645676,
-0.020890353247523308,
0.03334866091609001,
-0.023134499788284302,
0.06729136407375336,
0.0032899007201194763,
-0.015205735340714455,
-0.010733945295214653,
0.08600357174873352,
-0.03762243688106537,
-0.02598918415606022,
0.015766771510243416,
0.00034626462729647756,
0.01089070551097393,
-0.06983252614736557,
0.02694624662399292,
0.008275286294519901,
0.011204225942492485,
-0.006769563537091017,
-0.06488220393657684,
0.0063900393433868885,
-0.04471789672970772,
0.004055137746036053,
0.04861215129494667,
0.05963486433029175,
-0.014141416177153587,
0.01624530367553234,
0.04996523633599281,
0.028431342914700508,
0.001374745392240584,
-0.06884246319532394,
-0.06092194840312004,
0.08026120066642761,
0.01546150166541338,
0.03692939504981041,
-0.023283008486032486,
0.04696204513311386,
0.04339781403541565,
0.016649579629302025,
-0.013019343838095665,
0.018134675920009613,
-0.019504263997077942,
-0.009290101937949657,
0.011476493440568447,
0.02366253361105919,
-0.012540812604129314,
-0.027936311438679695,
0.006662306841462851,
-0.027160760015249252,
-0.02427307330071926,
0.029124386608600616,
-0.010123406536877155,
-0.011550748720765114,
-0.054882556200027466,
0.02785380557179451,
-0.004612049087882042,
-0.041219670325517654,
-0.009991397149860859,
0.002330776071175933,
-0.025395145639777184,
-0.03907453268766403,
0.043826840817928314,
-0.021863916888833046,
-0.027837304398417473,
0.020444825291633606,
-0.020807849243283272,
0.04267176613211632,
0.009149842895567417,
0.017177613452076912,
-0.010601936839520931,
-0.02189691923558712,
0.04508092254400253,
-0.010057401843369007,
0.007821506820619106,
0.021599899977445602,
-0.00040762798744253814,
0.03890952095389366,
-0.011476493440568447,
0.046202994883060455,
-0.007648245897144079,
-0.054651543498039246,
-0.014875713735818863,
-0.07399079203605652,
0.007990642450749874,
-0.033893197774887085,
0.025576656684279442,
0.005325720179826021,
0.03371168300509453,
-0.07108660787343979,
-0.012252043932676315,
-0.013506125658750534,
-0.01724361814558506,
-0.043661829084157944,
0.04874416068196297,
-0.00037514150608330965,
0.056532662361860275,
0.007755502592772245,
0.008918828330934048,
-0.026566721498966217,
0.030444473028182983,
-0.08639959990978241,
0.020510829985141754,
-0.02376154065132141,
0.06069093197584152,
-0.05603763088583946,
0.005416476167738438,
-0.03699539601802826,
-0.05065828189253807,
-0.024603094905614853,
0.016608325764536858,
-0.018976230174303055,
-0.018563702702522278,
-0.03442123159766197,
-0.022325946018099785,
0.02650071680545807,
-0.05544359236955643,
-0.003007319988682866,
-0.015180983580648899,
-0.024999119341373444,
0.03824947774410248,
-0.02315100096166134,
-0.01094845961779356,
0.05521257966756821,
-0.014900465495884418,
-0.03164904937148094,
-0.016435064375400543,
0.002330776071175933,
0.02955341525375843,
0.018530700355768204,
0.02694624662399292,
-0.0013303987216204405,
-0.0051277074962854385,
0.004607923794537783,
-0.03488326072692871,
-0.04914018511772156,
0.009257099591195583,
-0.047688089311122894,
-0.0034301597625017166,
0.04181370884180069,
0.04980022832751274,
-0.03567531332373619,
-0.003250710666179657,
0.01579977385699749,
0.03785345330834389
] |
10,337 | torch.nn.functional | pad |
pad(input, pad, mode="constant", value=None) -> Tensor
Pads tensor.
Padding size:
The padding size by which to pad some dimensions of :attr:`input`
are described starting from the last dimension and moving forward.
:math:`\left\lfloor\frac{\text{len(pad)}}{2}\right\rfloor` dimensions
of ``input`` will be padded.
For example, to pad only the last dimension of the input tensor, then
:attr:`pad` has the form
:math:`(\text{padding\_left}, \text{padding\_right})`;
to pad the last 2 dimensions of the input tensor, then use
:math:`(\text{padding\_left}, \text{padding\_right},`
:math:`\text{padding\_top}, \text{padding\_bottom})`;
to pad the last 3 dimensions, use
:math:`(\text{padding\_left}, \text{padding\_right},`
:math:`\text{padding\_top}, \text{padding\_bottom}`
:math:`\text{padding\_front}, \text{padding\_back})`.
Padding mode:
See :class:`torch.nn.CircularPad2d`, :class:`torch.nn.ConstantPad2d`,
:class:`torch.nn.ReflectionPad2d`, and :class:`torch.nn.ReplicationPad2d`
for concrete examples on how each of the padding modes works. Constant
padding is implemented for arbitrary dimensions. Circular, replicate and
reflection padding are implemented for padding the last 3 dimensions of a
4D or 5D input tensor, the last 2 dimensions of a 3D or 4D input tensor,
or the last dimension of a 2D or 3D input tensor.
Note:
When using the CUDA backend, this operation may induce nondeterministic
behaviour in its backward pass that is not easily switched off.
Please see the notes on :doc:`/notes/randomness` for background.
Args:
input (Tensor): N-dimensional tensor
pad (tuple): m-elements tuple, where
:math:`\frac{m}{2} \leq` input dimensions and :math:`m` is even.
mode: ``'constant'``, ``'reflect'``, ``'replicate'`` or ``'circular'``.
Default: ``'constant'``
value: fill value for ``'constant'`` padding. Default: ``0``
Examples::
>>> t4d = torch.empty(3, 3, 4, 2)
>>> p1d = (1, 1) # pad last dim by 1 on each side
>>> out = F.pad(t4d, p1d, "constant", 0) # effectively zero padding
>>> print(out.size())
torch.Size([3, 3, 4, 4])
>>> p2d = (1, 1, 2, 2) # pad last dim by (1, 1) and 2nd to last by (2, 2)
>>> out = F.pad(t4d, p2d, "constant", 0)
>>> print(out.size())
torch.Size([3, 3, 8, 4])
>>> t4d = torch.empty(3, 3, 4, 2)
>>> p3d = (0, 1, 2, 1, 3, 3) # pad by (0, 1), (2, 1), and (3, 3)
>>> out = F.pad(t4d, p3d, "constant", 0)
>>> print(out.size())
torch.Size([3, 9, 7, 3])
| def pad(input: Tensor, pad: List[int], mode: str = "constant", value: Optional[float] = None) -> Tensor:
r"""
pad(input, pad, mode="constant", value=None) -> Tensor
Pads tensor.
Padding size:
The padding size by which to pad some dimensions of :attr:`input`
are described starting from the last dimension and moving forward.
:math:`\left\lfloor\frac{\text{len(pad)}}{2}\right\rfloor` dimensions
of ``input`` will be padded.
For example, to pad only the last dimension of the input tensor, then
:attr:`pad` has the form
:math:`(\text{padding\_left}, \text{padding\_right})`;
to pad the last 2 dimensions of the input tensor, then use
:math:`(\text{padding\_left}, \text{padding\_right},`
:math:`\text{padding\_top}, \text{padding\_bottom})`;
to pad the last 3 dimensions, use
:math:`(\text{padding\_left}, \text{padding\_right},`
:math:`\text{padding\_top}, \text{padding\_bottom}`
:math:`\text{padding\_front}, \text{padding\_back})`.
Padding mode:
See :class:`torch.nn.CircularPad2d`, :class:`torch.nn.ConstantPad2d`,
:class:`torch.nn.ReflectionPad2d`, and :class:`torch.nn.ReplicationPad2d`
for concrete examples on how each of the padding modes works. Constant
padding is implemented for arbitrary dimensions. Circular, replicate and
reflection padding are implemented for padding the last 3 dimensions of a
4D or 5D input tensor, the last 2 dimensions of a 3D or 4D input tensor,
or the last dimension of a 2D or 3D input tensor.
Note:
When using the CUDA backend, this operation may induce nondeterministic
behaviour in its backward pass that is not easily switched off.
Please see the notes on :doc:`/notes/randomness` for background.
Args:
input (Tensor): N-dimensional tensor
pad (tuple): m-elements tuple, where
:math:`\frac{m}{2} \leq` input dimensions and :math:`m` is even.
mode: ``'constant'``, ``'reflect'``, ``'replicate'`` or ``'circular'``.
Default: ``'constant'``
value: fill value for ``'constant'`` padding. Default: ``0``
Examples::
>>> t4d = torch.empty(3, 3, 4, 2)
>>> p1d = (1, 1) # pad last dim by 1 on each side
>>> out = F.pad(t4d, p1d, "constant", 0) # effectively zero padding
>>> print(out.size())
torch.Size([3, 3, 4, 4])
>>> p2d = (1, 1, 2, 2) # pad last dim by (1, 1) and 2nd to last by (2, 2)
>>> out = F.pad(t4d, p2d, "constant", 0)
>>> print(out.size())
torch.Size([3, 3, 8, 4])
>>> t4d = torch.empty(3, 3, 4, 2)
>>> p3d = (0, 1, 2, 1, 3, 3) # pad by (0, 1), (2, 1), and (3, 3)
>>> out = F.pad(t4d, p3d, "constant", 0)
>>> print(out.size())
torch.Size([3, 9, 7, 3])
"""
if has_torch_function_unary(input):
return handle_torch_function(
torch.nn.functional.pad, (input,), input, pad, mode=mode, value=value)
if not torch.jit.is_scripting():
if torch.are_deterministic_algorithms_enabled() and input.is_cuda:
if mode == 'replicate':
# Use slow decomp whose backward will be in terms of index_put.
# importlib is required because the import cannot be top level
# (cycle) and cannot be nested (TS doesn't support)
return importlib.import_module('torch._decomp.decompositions')._replication_pad(
input, pad
)
return torch._C._nn.pad(input, pad, mode, value)
| (input: torch.Tensor, pad: List[int], mode: str = 'constant', value: Optional[float] = None) -> torch.Tensor | [
-0.04758066684007645,
0.011466511525213718,
-0.023459099233150482,
-0.020692329853773117,
0.017068248242139816,
0.02418001927435398,
-0.02823275327682495,
-0.024550219997763634,
0.0058647748082876205,
-0.035558853298425674,
0.003977233078330755,
-0.015061365440487862,
0.05190617963671684,
0.05015259236097336,
0.06850680708885193,
0.001432096236385405,
0.07443003356456757,
0.03253878653049469,
-0.009839572943747044,
-0.023069413378834724,
0.06523344665765762,
-0.016863662749528885,
0.02794048935174942,
-0.0017511516343802214,
-0.05888156220316887,
-0.02642071433365345,
0.029830466955900192,
-0.019971409812569618,
-0.03470154106616974,
0.03392216935753822,
-0.004035686142742634,
-0.003024937817826867,
0.0001936252519953996,
0.029343359172344208,
-0.01582125388085842,
-0.022251073271036148,
-0.009737280197441578,
0.036279771476984024,
-0.08152232319116592,
-0.02873934619128704,
0.039319321513175964,
-0.031798381358385086,
-0.0196304339915514,
-0.03333764150738716,
0.000014099480722506996,
0.04477492719888687,
0.04520358145236969,
0.009235559031367302,
-0.03789696842432022,
0.04033250734210014,
0.019562238827347755,
-0.01797426864504814,
0.06472685188055038,
0.02443331480026245,
-0.018256790935993195,
-0.01616222783923149,
0.012206915766000748,
-0.06207698583602905,
-0.013463652692735195,
-0.02435537800192833,
-0.010687139816582203,
-0.020965108647942543,
0.045008737593889236,
0.030025308951735497,
-0.047502730041742325,
0.01369746495038271,
-0.03043447993695736,
-0.030200667679309845,
0.010414359159767628,
-0.005767353344708681,
0.006176523864269257,
-0.01856853999197483,
0.04095600172877312,
0.010219516232609749,
0.008909197524189949,
-0.006556467618793249,
0.009518081322312355,
0.03207116201519966,
0.028758829459547997,
-0.06605178117752075,
0.02059490792453289,
0.017029279842972755,
0.002805739641189575,
0.033103831112384796,
0.07096182554960251,
0.020789749920368195,
-0.047074075788259506,
0.0448918342590332,
-0.006424948573112488,
-0.06909133493900299,
0.029051095247268677,
-0.03951416537165642,
0.019279716536402702,
-0.04317721351981163,
-0.004342563915997744,
-0.007730396930128336,
0.01666882075369358,
-0.043917618691921234,
-0.05627066642045975,
0.019192038103938103,
0.0027643353678286076,
0.0044545987620949745,
-0.010726108215749264,
-0.021880870684981346,
0.029986340552568436,
-0.037663158029317856,
-0.0673377513885498,
0.06920824199914932,
-0.022017261013388634,
-0.02544649876654148,
0.0015709218569099903,
-0.0427095890045166,
0.019221264868974686,
-0.0452425517141819,
0.0412677526473999,
-0.01861725002527237,
-0.023790333420038223,
0.004603166598826647,
-0.02493990771472454,
0.0023186318576335907,
0.05132165178656578,
0.0026011543814092875,
-0.030239637941122055,
-0.0973435714840889,
0.02684936858713627,
-0.021510669961571693,
0.008003177121281624,
0.015080849640071392,
-0.009152751415967941,
0.002530523808673024,
-0.030629323795437813,
0.02544649876654148,
-0.040410444140434265,
0.013220098800957203,
0.04076116159558296,
-0.04535945504903793,
0.04781447723507881,
-0.007535554002970457,
-0.0618821457028389,
0.043411023914813995,
0.015538730658590794,
0.03575369343161583,
0.06184317544102669,
0.024491768330335617,
0.038559433072805405,
0.0009157622116617858,
0.046996135264635086,
0.02482300065457821,
0.05775147303938866,
0.024667127057909966,
-0.004941706079989672,
0.01422354020178318,
0.033571451902389526,
0.04917838051915169,
0.03902705758810043,
0.016318103298544884,
0.021198920905590057,
-0.012353047728538513,
-0.0020848202984780073,
-0.01983501948416233,
-0.03232445567846298,
-0.012012071907520294,
-0.056699320673942566,
0.009732409380376339,
0.01373643334954977,
0.03727347031235695,
-0.02232901006937027,
0.03187631815671921,
0.022270558401942253,
-0.006522370036691427,
0.0673377513885498,
-0.06090793013572693,
0.07014349102973938,
0.005314343608915806,
-0.02938232757151127,
0.03329867124557495,
-0.0760277509689331,
-0.027959974482655525,
-0.01667856238782406,
-0.07466384768486023,
0.027375444769859314,
0.001041192444972694,
0.04165743663907051,
0.029479749500751495,
-0.02051697112619877,
0.04563223570585251,
-0.014398898929357529,
0.0005994467646814883,
0.033162280917167664,
-0.020536454394459724,
-0.0029591782949864864,
-0.017496904358267784,
0.001602583914063871,
0.01185619831085205,
-0.03491586819291115,
-0.020926140248775482,
0.007559909485280514,
0.010375390760600567,
0.10303299129009247,
0.015032139606773853,
-0.005484831053763628,
0.034000106155872345,
0.040917035192251205,
-0.002126224571838975,
-0.013775401748716831,
-0.015275692567229271,
-0.0018230000277981162,
0.03774109482765198,
-0.05190617963671684,
-0.00678540812805295,
0.052139993757009506,
-0.004120930097997189,
0.06367470324039459,
0.032051678746938705,
0.010550749488174915,
-0.021686028689146042,
-0.01937713846564293,
0.031096946448087692,
-0.00981034617871046,
-0.002664478262886405,
-0.0004192169290035963,
0.026011543348431587,
-0.025894638150930405,
-0.0001866230886662379,
0.027161117643117905,
-0.022601790726184845,
-0.011067084036767483,
-0.02507629618048668,
0.03735140711069107,
-0.02852501906454563,
0.04711304232478142,
0.008431831374764442,
-0.054127391427755356,
0.021198920905590057,
0.09718769788742065,
-0.016493462026119232,
-0.027414413169026375,
-0.07002658396959305,
-0.016396040096879005,
-0.052529677748680115,
0.020653359591960907,
-0.023537037894129753,
0.00029256896232254803,
0.027375444769859314,
0.025037327781319618,
0.06538932025432587,
-0.016532430425286293,
0.022933023050427437,
0.02012728340923786,
0.025465983897447586,
-0.04115084558725357,
-0.007900884374976158,
-0.01232382096350193,
0.0009589929832145572,
-0.019016679376363754,
0.027921006083488464,
-0.0024757240898907185,
0.007501456420868635,
0.02515423484146595,
0.002564621390774846,
0.023751365020871162,
-0.08050913363695145,
-0.043333087116479874,
-0.030337058007717133,
0.010141579434275627,
-0.0002785646356642246,
-0.01604532264173031,
0.00104423682205379,
-0.03569524362683296,
0.0001563310797791928,
0.09508339315652847,
0.01293757651001215,
0.006965638138353825,
-0.03663048893213272,
0.020575422793626785,
0.024257956072688103,
0.05342595651745796,
0.10116250067949295,
0.019425848498940468,
-0.03850097954273224,
0.04224196821451187,
-0.07053317129611969,
-0.0738455057144165,
0.0020263674668967724,
-0.027316991239786148,
0.032304972410202026,
0.004228093661367893,
0.025855669751763344,
0.03912447765469551,
-0.026537619531154633,
0.032304972410202026,
0.02367342635989189,
0.04107290878891945,
0.0550236701965332,
-0.026810400187969208,
0.02583618462085724,
-0.017964527010917664,
-0.01869518868625164,
-0.0008207762148231268,
-0.02591412141919136,
-0.01659088395535946,
-0.0032002965454012156,
0.025855669751763344,
0.02870037779211998,
0.04672335833311081,
0.006868216674774885,
0.001959390239790082,
-0.0006661195657216012,
0.02971356175839901,
-0.002139620017260313,
-0.023186320438981056,
-0.03138921037316322,
-0.005952454172074795,
0.0009583841310814023,
0.05338698998093605,
0.00685847457498312,
-0.008787420578300953,
-0.017331287264823914,
0.050542280077934265,
0.00017688093066681176,
0.006804892793297768,
0.04267062246799469,
-0.061726268380880356,
0.05892052873969078,
-0.021997777745127678,
-0.07544321566820145,
0.04804828763008118,
-0.026771431788802147,
-0.02963562309741974,
0.010930693708360195,
-0.048399005085229874,
0.002306454349309206,
0.011047599837183952,
0.04606088995933533,
-0.06967586278915405,
0.026147933676838875,
0.00848541408777237,
-0.010092868469655514,
-0.029616139829158783,
0.026479166001081467,
0.05498469993472099,
-0.0021578865125775337,
-0.061219677329063416,
-0.0018899773713201284,
0.07174120098352432,
-0.008134696632623672,
0.04808725789189339,
0.0629732683300972,
0.06234976649284363,
0.056699320673942566,
0.057634565979242325,
0.022971993312239647,
0.03583163022994995,
-0.009547308087348938,
0.04832106828689575,
-0.05595891550183296,
-0.020575422793626785,
0.015061365440487862,
-0.014798327349126339,
-0.03721501678228378,
-0.01949404366314411,
-0.024784032255411148,
0.03394165635108948,
0.06254460662603378,
0.037292953580617905,
0.04485286399722099,
-0.02583618462085724,
0.016240166500210762,
-0.039611585438251495,
0.0296745914965868,
0.013151903636753559,
-0.08269137889146805,
0.016941601410508156,
0.020984593778848648,
-0.01696108467876911,
0.04582707956433296,
-0.06351882219314575,
0.0324023962020874,
-0.028856251388788223,
0.02768719382584095,
-0.008241860195994377,
-0.0038603274151682854,
-0.009971091523766518,
0.03978694602847099,
0.024043628945946693,
0.043488964438438416,
0.008212633430957794,
-0.036611005663871765,
-0.003032244509086013,
-0.03676687926054001,
-0.0043766614980995655,
0.046489544212818146,
0.005713771563023329,
0.03452618420124054,
-0.07380653917789459,
0.05432223528623581,
-0.06196008250117302,
0.03694223612546921,
-0.03337660804390907,
-0.02038058079779148,
0.047074075788259506,
-0.06644146889448166,
0.09095272421836853,
0.0329284705221653,
0.007140996865928173,
-0.015762800350785255,
0.03974797576665878,
0.0018595331348478794,
-0.024043628945946693,
0.037039659917354584,
0.00022635278583038598,
0.003061471041291952,
-0.0258751530200243,
0.038052842020988464,
0.07594981044530869,
-0.01869518868625164,
-0.015733573585748672,
0.0054215071722865105,
-0.004447292070835829,
-0.0307657141238451,
0.04122878238558769,
-0.006873087491840124,
0.02464764192700386,
0.07435210049152374,
0.011544449254870415,
-0.030785197392106056,
0.036903269588947296,
0.04516461119055748,
-0.002187113044783473,
0.0027740774676203728,
-0.009196590632200241,
-0.045437391847372055,
0.00852438248693943,
0.03951416537165642,
-0.016600625589489937,
0.010920951142907143,
0.034506700932979584,
-0.0162888765335083,
-0.013385715894401073,
0.021705511957406998,
-0.01789633184671402,
-0.012440727092325687,
0.016824694350361824,
0.02342013083398342,
-0.010726108215749264,
0.008115211501717567,
-0.014135860837996006,
0.011067084036767483,
-0.08767936378717422,
0.026401229202747345,
0.07291025668382645,
-0.03464309126138687,
0.02127685770392418,
0.05272452160716057,
-0.025758247822523117,
-0.03869582340121269,
-0.020497485995292664,
-0.027492349967360497,
-0.027044212445616722,
-0.014437868259847164,
0.01481781154870987,
0.056582413613796234,
-0.015207498334348202,
0.005275374744087458,
-0.03123333677649498,
0.05829703062772751,
-0.0387347936630249,
-0.034467730671167374,
-0.011232700198888779,
0.017039021477103233,
-0.005650447681546211,
-0.02797945775091648,
-0.04871075600385666,
0.0060547469183802605,
0.04871075600385666,
0.005289988126605749,
0.026771431788802147,
-0.012294595129787922,
-0.056036852300167084,
-0.0044716475531458855,
0.0032636206597089767,
-0.05630963295698166,
-0.028096362948417664,
-0.02262127585709095,
-0.03431185707449913,
-0.0018972839461639524,
0.002666913904249668,
0.05892052873969078,
0.009454757906496525,
0.04122878238558769,
-0.044502146542072296,
-0.0028909833636134863,
-0.010316938161849976,
-0.06542828679084778,
-0.05584201216697693,
-0.0200883150100708,
-0.01688314788043499,
-0.0020641181617975235,
-0.049996718764305115,
-0.02844708040356636,
0.009863927960395813,
-0.0008737492025829852,
-0.01420405600219965,
-0.02591412141919136,
-0.01460348442196846,
-0.01835421286523342,
-0.05782940983772278,
0.006415206473320723,
0.01811065897345543,
0.0036727909464389086,
0.0030298091005533934,
0.013999471440911293,
-0.031973738223314285,
-0.001987398834899068,
0.026518136262893677,
0.033785779029130936,
0.03567575663328171,
-0.02396569214761257,
-0.030278606340289116,
-0.10077281296253204,
-0.00831492617726326,
0.06507757306098938,
0.007340711075812578,
0.03896860405802727,
-0.01266479678452015,
0.04925631731748581,
0.030785197392106056,
-0.0405273474752903,
-0.01582125388085842,
0.02316683530807495,
-0.02443331480026245,
0.09601864218711853,
0.010755334980785847,
0.06909133493900299,
-0.004284110851585865,
0.02870037779211998,
-0.0604403056204319,
-0.016279134899377823,
0.025680311024188995,
-0.022504368796944618,
-0.01369746495038271,
0.015071108005940914,
-0.011583417654037476,
-0.05221793055534363,
-0.0148372957482934,
0.061180710792541504,
-0.004425371997058392,
-0.017292318865656853,
0.04512564465403557,
-0.019045906141400337,
-0.12236142158508301,
-0.024784032255411148,
0.05038640648126602,
-0.00385058531537652,
0.03778006136417389,
0.026557104662060738,
0.03705914318561554,
-0.03438979387283325,
-0.0017207073979079723,
0.010891725309193134,
-0.04411245882511139,
0.007452745456248522,
0.046918198466300964,
-0.038676340132951736,
0.03135024383664131,
-0.033240221440792084,
-0.0363771915435791,
-0.06780537217855453,
-0.04407349228858948,
0.0012908349744975567,
-0.03347403183579445,
-0.03594853729009628,
-0.018003495410084724,
-0.04118981584906578,
-0.03970900923013687,
-0.05498469993472099,
-0.06862371414899826,
0.004822365008294582,
0.04044941067695618,
-0.04987981542944908,
-0.0349353551864624,
0.015490020625293255,
0.05821909382939339,
-0.06328501552343369,
0.03154508396983147,
0.045437391847372055,
-0.024277441203594208,
0.04458008334040642,
-0.0006466353079304099,
-0.007350453175604343,
-0.031135914847254753,
0.028817282989621162,
-0.0100441575050354,
-0.02523217163980007,
0.022933023050427437,
0.010180547833442688,
-0.08744554966688156,
0.032266005873680115,
0.04773654043674469,
-0.027161117643117905,
-0.009211204014718533,
0.027278022840619087,
-0.004135543014854193,
0.0195427555590868,
0.0015088156796991825,
-0.0024477154947817326,
-0.03173992782831192,
0.062193892896175385,
-0.01040461752563715,
-0.06254460662603378,
0.021841902285814285,
0.04937322065234184,
-0.03438979387283325,
-0.10116250067949295,
-0.004953884053975344,
-0.06410335749387741,
-0.017828136682510376,
-0.023576006293296814,
0.062193892896175385,
-0.04263165220618248,
-0.025680311024188995,
0.053075239062309265,
-0.027375444769859314,
-0.031155399978160858,
0.036240801215171814,
0.034798964858055115,
-0.06460994482040405,
-0.03090210258960724,
0.01101837307214737,
-0.0040429928340017796,
0.0427095890045166,
0.04165743663907051,
0.014291735365986824,
0.0237123966217041,
-0.024842485785484314,
-0.048476945608854294,
0.004503309261053801,
-0.02051697112619877,
0.04383968189358711,
-0.035480912774801254,
0.04968497157096863,
-0.033201251178979874,
0.007423519156873226,
0.0038578917738050222,
0.009030974470078945,
-0.09305702894926071,
0.005694287363439798,
-0.03098004125058651,
-0.00349743221886456,
-0.001520993304438889,
0.0010472811991348863,
-0.05085402727127075,
-0.00042956796824000776,
-0.03162302076816559,
0.06893546134233475,
-0.021744482219219208,
0.053542863577604294,
0.05447810888290405,
-0.00040369038470089436,
-0.05802425369620323,
-0.015353630296885967,
-0.01819833740592003,
-0.06675321608781815,
0.04013766348361969,
-0.0405273474752903,
-0.004871075507253408,
-0.013463652692735195,
-0.020653359591960907,
-0.002051940653473139,
0.003626515856012702,
-0.010872241109609604,
-0.03616286441683769,
-0.0022199926897883415,
0.019133584573864937,
0.02486196905374527,
-0.06012855842709541,
0.02866140939295292,
0.006931540556252003,
0.01171006541699171,
-0.008558480069041252,
0.015840737149119377,
-0.0405273474752903,
0.022971993312239647,
-0.01797426864504814,
-0.0004511833831202239,
0.03152560070157051,
0.022952508181333542,
0.00711177010089159,
-0.05034743621945381,
-0.04298236966133118,
-0.001265261904336512,
-0.06129761412739754,
0.07279334962368011,
-0.04368380457162857,
-0.03347403183579445,
-0.06741568446159363,
-0.02979149855673313,
0.07657330483198166,
-0.00852438248693943,
-0.030668292194604874,
-0.021471701562404633,
0.05268555507063866,
-0.03444824740290642,
-0.07548218965530396,
-0.013648753985762596,
0.027959974482655525,
-0.013941017910838127,
-0.006556467618793249,
0.00016942209913395345,
0.0031126171816140413,
0.012499179691076279,
0.05743972212076187,
-0.01970837265253067,
-0.03955313190817833,
-0.025816701352596283,
0.0055773817002773285,
0.018013237044215202,
0.011330122128129005,
-0.03335712477564812,
0.03565627336502075,
-0.029810981824994087,
0.03651358187198639,
0.04122878238558769,
-0.05938815325498581,
-0.04317721351981163,
-0.02486196905374527,
-0.017321545630693436,
0.01331752073019743,
-0.027414413169026375,
-0.022933023050427437,
0.037370890378952026,
0.09181003272533417,
0.04625573381781578,
0.004622650798410177,
0.0008755758171901107,
0.0051535977981984615,
0.025037327781319618,
-0.029070578515529633,
-0.04251474887132645,
-0.04025456681847572,
-0.0488666296005249,
0.01793530024588108,
0.03760470449924469,
0.006863345392048359,
0.06273945420980453,
0.0341949500143528,
-0.011028114706277847,
-0.04169640690088272,
-0.030531901866197586,
0.030414996668696404,
0.03452618420124054,
0.02688833698630333,
-0.025465983897447586,
-0.07805411517620087,
0.026284324005246162,
-0.026108965277671814,
0.032733626663684845,
-0.0615314282476902,
-0.05268555507063866,
-0.04574914276599884,
-0.07606671750545502,
-0.018344471231102943,
0.02240694686770439,
0.004627521615475416,
0.02920696884393692,
0.044385239481925964,
0.02435537800192833,
0.016512945294380188
] |
10,338 | torch_pitch_shift.main | pitch_shift |
Shift the pitch of a batch of waveforms by a given amount.
Parameters
----------
input: torch.Tensor [shape=(batch_size, channels, samples)]
Input audio clips of shape (batch_size, channels, samples)
shift: float OR Fraction
`float`: Amount to pitch-shift in # of bins. (1 bin == 1 semitone if `bins_per_octave` == 12)
`Fraction`: A `fractions.Fraction` object indicating the shift ratio. Usually an element in `get_fast_shifts()`.
sample_rate: int
The sample rate of the input audio clips.
bins_per_octave: int [optional]
Number of bins per octave. Default is 12.
n_fft: int [optional]
Size of FFT. Default is `sample_rate // 64`.
hop_length: int [optional]
Size of hop length. Default is `n_fft // 32`.
Returns
-------
output: torch.Tensor [shape=(batch_size, channels, samples)]
The pitch-shifted batch of audio clips
| def pitch_shift(
input: torch.Tensor,
shift: Union[float, Fraction],
sample_rate: int,
bins_per_octave: Optional[int] = 12,
n_fft: Optional[int] = 0,
hop_length: Optional[int] = 0,
) -> torch.Tensor:
"""
Shift the pitch of a batch of waveforms by a given amount.
Parameters
----------
input: torch.Tensor [shape=(batch_size, channels, samples)]
Input audio clips of shape (batch_size, channels, samples)
shift: float OR Fraction
`float`: Amount to pitch-shift in # of bins. (1 bin == 1 semitone if `bins_per_octave` == 12)
`Fraction`: A `fractions.Fraction` object indicating the shift ratio. Usually an element in `get_fast_shifts()`.
sample_rate: int
The sample rate of the input audio clips.
bins_per_octave: int [optional]
Number of bins per octave. Default is 12.
n_fft: int [optional]
Size of FFT. Default is `sample_rate // 64`.
hop_length: int [optional]
Size of hop length. Default is `n_fft // 32`.
Returns
-------
output: torch.Tensor [shape=(batch_size, channels, samples)]
The pitch-shifted batch of audio clips
"""
if not n_fft:
n_fft = sample_rate // 64
if not hop_length:
hop_length = n_fft // 32
batch_size, channels, samples = input.shape
if not isinstance(shift, Fraction):
shift = 2.0 ** (float(shift) / bins_per_octave)
resampler = T.Resample(sample_rate, int(sample_rate / shift)).to(input.device)
output = input
output = output.reshape(batch_size * channels, samples)
v011 = version.parse(torchaudio.__version__) >= version.parse("0.11.0")
output = torch.stft(output, n_fft, hop_length, return_complex=v011)[None, ...]
stretcher = T.TimeStretch(
fixed_rate=float(1 / shift), n_freq=output.shape[2], hop_length=hop_length
).to(input.device)
output = stretcher(output)
output = torch.istft(output[0], n_fft, hop_length)
output = resampler(output)
del resampler, stretcher
if output.shape[1] >= input.shape[2]:
output = output[:, : (input.shape[2])]
else:
output = pad(output, pad=(0, input.shape[2] - output.shape[1], 0, 0))
output = output.reshape(batch_size, channels, samples)
return output
| (input: torch.Tensor, shift: Union[float, fractions.Fraction], sample_rate: int, bins_per_octave: Optional[int] = 12, n_fft: Optional[int] = 0, hop_length: Optional[int] = 0) -> torch.Tensor | [
-0.06911832094192505,
0.011724754236638546,
-0.009832138195633888,
-0.01513146236538887,
-0.000046982706408016384,
0.03168238699436188,
-0.06351618468761444,
0.06026088073849678,
0.018717968836426735,
0.062418464571237564,
0.03081178292632103,
-0.04084264487028122,
0.027253665030002594,
0.03389674797654152,
0.018093405291438103,
0.07112449407577515,
0.04224318265914917,
-0.0022711388301104307,
-0.009638145565986633,
-0.031701311469078064,
0.04148613661527634,
-0.029524805024266243,
0.04038841649889946,
0.08395642787218094,
-0.042583853006362915,
0.005729893688112497,
0.004289139993488789,
-0.029032723978161812,
-0.09622058272361755,
0.019967095926404,
0.029505878686904907,
0.006453819572925568,
0.07797576487064362,
-0.016768574714660645,
-0.04610411822795868,
-0.04061553254723549,
-0.04720183461904526,
0.00020877916540484875,
-0.053523171693086624,
0.03770090267062187,
0.0722600668668747,
0.00441452581435442,
0.08365361392498016,
-0.011033949442207813,
-0.00624090014025569,
0.03698170930147171,
-0.03910144045948982,
0.02074306830763817,
-0.0023527578450739384,
0.030073663219809532,
0.004218167159706354,
-0.04587700217962265,
-0.0470125712454319,
-0.05113847553730011,
-0.0037450131494551897,
0.0028980677016079426,
0.01057025883346796,
-0.06313765794038773,
0.02659125067293644,
-0.018434075638651848,
0.04000989347696304,
-0.014885421842336655,
0.03671674430370331,
0.02110266499221325,
0.014421731233596802,
-0.06722570955753326,
-0.00819975696504116,
-0.06911832094192505,
-0.006879657972604036,
-0.002118546748533845,
-0.01772434636950493,
0.025493532419204712,
0.062002088874578476,
0.027575410902500153,
0.0016311981016770005,
0.00872022658586502,
-0.02155689150094986,
-0.031795941293239594,
0.015916896983981133,
0.00018630435806699097,
0.046482641249895096,
0.057194843888282776,
-0.026969773694872856,
0.05912531167268753,
0.0347294956445694,
0.0078023080714046955,
0.020478101447224617,
-0.01760132610797882,
0.030698226764798164,
-0.04224318265914917,
-0.018680116161704063,
-0.020534880459308624,
0.0665065124630928,
-0.029146280139684677,
0.012850860133767128,
-0.02042132243514061,
-0.041448283940553665,
-0.03707633912563324,
-0.05503726378083229,
0.05041928216814995,
-0.02481219172477722,
0.0332532562315464,
0.028710979968309402,
0.04947297275066376,
0.07790005952119827,
0.052084781229496,
-0.05250115692615509,
-0.005710967816412449,
-0.027253665030002594,
0.0053135184571146965,
0.06631725281476974,
0.0050485520623624325,
-0.034824129194021225,
-0.048526667058467865,
-0.00037231299211271107,
-0.009661803022027016,
0.0025526653043925762,
0.05450733006000519,
0.005346639081835747,
0.0014715086435899138,
0.047353245317935944,
-0.03597862273454666,
0.009103481657803059,
-0.00006221234798431396,
0.011620660312473774,
-0.007688750978559256,
0.05768692493438721,
-0.029278764501214027,
0.012926564551889896,
0.008549891412258148,
-0.05223619192838669,
0.03230695053935051,
-0.04455217346549034,
0.007116234861314297,
0.02454722486436367,
0.024850044399499893,
0.0694589912891388,
-0.0059286183677613735,
-0.02532319724559784,
-0.026988700032234192,
-0.009453615173697472,
0.06272128224372864,
0.079868383705616,
0.04175110161304474,
-0.014260859228670597,
0.02282494492828846,
0.08554622530937195,
0.05174411088228226,
0.06283483654260635,
-0.0024024390149861574,
0.014894885011017323,
0.005909692496061325,
0.0543559230864048,
0.052425455302000046,
0.030243998393416405,
0.04568774253129959,
-0.008355897851288319,
-0.004636908415704966,
-0.03906358778476715,
0.02240856923162937,
-0.011601733975112438,
0.02282494492828846,
-0.06873980164527893,
0.004516254179179668,
-0.05658920854330063,
0.010428312234580517,
0.023108836263418198,
0.0328558087348938,
0.036868151277303696,
0.02100803330540657,
0.08130677044391632,
0.00316539965569973,
0.05295538529753685,
-0.033196479082107544,
-0.008985192514955997,
0.04224318265914917,
-0.03531620651483536,
-0.00029941770480945706,
-0.040085598826408386,
-0.01259535737335682,
0.020478101447224617,
0.0028957019094377756,
-0.04879163205623627,
-0.01760132610797882,
-0.01623864285647869,
0.025720646604895592,
-0.00952931959182024,
0.023714473471045494,
0.02963836118578911,
0.013324013911187649,
-0.018358372151851654,
0.00543180713430047,
0.031114600598812103,
-0.011138043366372585,
-0.02672373317182064,
-0.028521718457341194,
-0.0029359199106693268,
-0.017128171399235725,
0.030433259904384613,
-0.0029098966624587774,
0.01924790069460869,
0.003212715033441782,
0.021802932024002075,
0.00528512941673398,
-0.017412064597010612,
-0.015339650213718414,
0.04625552520155907,
0.07199510186910629,
-0.07430408895015717,
0.003995784558355808,
0.027670040726661682,
-0.04292452335357666,
0.028654200956225395,
-0.00255739688873291,
0.00037379158311523497,
0.011781532317399979,
-0.061055779457092285,
-0.014923274517059326,
0.0038751305546611547,
0.005682578310370445,
0.01027690339833498,
0.018434075638651848,
-0.07449334859848022,
0.04864022135734558,
0.03054681606590748,
0.04523351415991783,
0.039934191852808,
-0.039820633828639984,
-0.02672373317182064,
-0.0001873393775895238,
0.03681137412786484,
0.006415966898202896,
-0.017941996455192566,
-0.0467476062476635,
0.02432011067867279,
-0.014601529575884342,
-0.02110266499221325,
-0.03715204447507858,
0.0074805631302297115,
0.02168937586247921,
-0.000411643908591941,
-0.014289247803390026,
0.032836880534887314,
0.006203047931194305,
0.012604820542037487,
-0.0028412891551852226,
0.0355243943631649,
-0.008195025846362114,
0.018254278227686882,
0.05677846819162369,
0.012273612432181835,
-0.029789770022034645,
0.010286365635693073,
0.05484800040721893,
0.019929243251681328,
0.015869582071900368,
0.0016998053761199117,
-0.052122633904218674,
-0.008436334319412708,
0.014213543385267258,
-0.06109363213181496,
0.0036054328083992004,
-0.006638349499553442,
-0.030338628217577934,
-0.057459812611341476,
-0.04023700952529907,
-0.03817405924201012,
0.01960749737918377,
-0.0059806653298437595,
0.05821685865521431,
0.03217446431517601,
0.02337380312383175,
-0.060185179114341736,
-0.019891390576958656,
0.012860323302447796,
-0.0013437571469694376,
0.11181573569774628,
0.08796877413988113,
0.025379976257681847,
-0.03221231698989868,
0.00908928643912077,
-0.004170851781964302,
0.016730722039937973,
-0.016418440267443657,
0.011384082958102226,
-0.008564085699617863,
0.014715086668729782,
0.007868549786508083,
0.03688707947731018,
-0.015216629952192307,
0.03692493215203285,
-0.012633209116756916,
0.009746970608830452,
-0.011857236735522747,
-0.005692041479051113,
0.026383062824606895,
-0.060374438762664795,
-0.06976181268692017,
0.04424935206770897,
-0.033423591405153275,
-0.012472337111830711,
-0.029013797640800476,
0.04973793774843216,
0.06979966163635254,
-0.004544643219560385,
-0.04345445707440376,
-0.03683030232787132,
-0.02795393392443657,
-0.012529115192592144,
-0.019758908078074455,
-0.0005476756487041712,
-0.03970707580447197,
-0.05318250134587288,
-0.02051595412194729,
0.012131666764616966,
-0.033423591405153275,
0.03016829304397106,
0.06347832828760147,
0.021273000165820122,
0.08304797112941742,
-0.011251600459218025,
-0.010532406158745289,
0.03190949931740761,
0.06287269294261932,
-0.0035983354318886995,
0.004379039630293846,
-0.028881315141916275,
-0.0008682374027557671,
-0.02672373317182064,
-0.005005968268960714,
-0.055377934128046036,
0.007754992693662643,
0.0018109965603798628,
0.008881098590791225,
-0.07362274825572968,
-0.043227341026067734,
0.023430582135915756,
-0.03531620651483536,
-0.021840784698724747,
0.0007493575103580952,
0.031019970774650574,
-0.027026550844311714,
0.028805609792470932,
0.044211503118276596,
-0.022749239578843117,
0.008062542416155338,
-0.018680116161704063,
0.03185272216796875,
-0.03013044036924839,
0.040312714874744415,
0.07309281826019287,
-0.004906605929136276,
-0.005583215970546007,
0.03435097262263298,
-0.0028058027382940054,
-0.018131257966160774,
-0.007428516633808613,
0.018102869391441345,
-0.04481713846325874,
-0.053788136690855026,
-0.034502383321523666,
-0.023335950449109077,
0.023392729461193085,
0.019891390576958656,
-0.0009835687233135104,
0.01623864285647869,
0.0017045369604602456,
0.00882905162870884,
-0.03484305366873741,
0.037871237844228745,
0.00522835087031126,
-0.022181455045938492,
-0.03168238699436188,
0.02477433905005455,
-0.03306399658322334,
0.007002677768468857,
0.014109449461102486,
0.0022297378163784742,
-0.022806018590927124,
-0.04239458963274956,
0.016191326081752777,
-0.013683611527085304,
-0.04398438706994057,
0.04337875172495842,
0.025417828932404518,
0.04265955835580826,
-0.06215349957346916,
-0.0427352599799633,
-0.01313475240021944,
-0.065976582467556,
-0.03054681606590748,
0.017648641020059586,
0.04481713846325874,
-0.08872582018375397,
-0.0679827556014061,
0.016285957768559456,
-0.03603540360927582,
0.04973793774843216,
-0.016550924628973007,
0.0050438204780220985,
0.033101849257946014,
-0.10288258641958237,
-0.010551332496106625,
0.03353714942932129,
0.014620455913245678,
-0.000036429155443329364,
0.028748832643032074,
-0.01896400935947895,
-0.023014206439256668,
-0.019967095926404,
0.0022427495568990707,
0.037814460694789886,
-0.011667975224554539,
-0.023165615275502205,
0.05390169471502304,
-0.004930263850837946,
-0.11090727895498276,
-0.02971406653523445,
-0.03883647173643112,
0.030300777405500412,
0.03688707947731018,
0.0294490996748209,
0.03910144045948982,
0.03230695053935051,
0.06620369851589203,
-0.015869582071900368,
-0.013219919987022877,
0.052084781229496,
-0.05132773518562317,
0.08478917926549911,
0.011175895109772682,
-0.027291517704725266,
-0.053296055644750595,
0.023298097774386406,
0.008743884041905403,
0.01284139696508646,
0.03189057484269142,
0.04591485485434532,
-0.048526667058467865,
-0.007769187446683645,
0.026307357475161552,
0.012084350921213627,
0.011033949442207813,
-0.005072209984064102,
0.012699451297521591,
-0.022484274581074715,
-0.003357026958838105,
-0.008866904303431511,
-0.09811319410800934,
0.011128580197691917,
0.042773112654685974,
0.011649048887193203,
0.02000494673848152,
0.012084350921213627,
0.03997204080224037,
-0.01951286755502224,
-0.02486896887421608,
-0.013324013911187649,
-0.06366758793592453,
-0.05023001879453659,
0.02045917510986328,
0.02808641642332077,
0.023033132776618004,
-0.0015507619827985764,
0.08107965439558029,
-0.026439839974045753,
-0.0035368255339562893,
-0.01841515116393566,
-0.02613702230155468,
0.014223006553947926,
0.019758908078074455,
0.003333369269967079,
-0.004916069097816944,
0.03013044036924839,
0.021613670513033867,
0.004793049301952124,
-0.055794309824705124,
-0.007934791035950184,
-0.03408600762486458,
-0.029051650315523148,
-0.042129624634981155,
-0.04496854916214943,
-0.05038142949342728,
0.03707633912563324,
-0.01152602955698967,
-0.06484100967645645,
0.0006062284228391945,
-0.01597367599606514,
0.019626423716545105,
0.0012857957044616342,
0.01629542000591755,
-0.0005390997393988073,
-0.015793876722455025,
0.010731130838394165,
-0.02967621386051178,
-0.04345445707440376,
0.003219812409952283,
0.008554622530937195,
0.03963137045502663,
0.07309281826019287,
0.023468434810638428,
0.019815685227513313,
-0.02623165212571621,
-0.0353919118642807,
0.01973998174071312,
0.0407290905714035,
-0.011554418131709099,
0.004000516142696142,
-0.0347294956445694,
0.01909649185836315,
-0.016314346343278885,
0.04125902056694031,
-0.011109653860330582,
-0.019475014880299568,
0.0025739572010934353,
-0.005895497743040323,
-0.02259783074259758,
0.061774976551532745,
0.013447034172713757,
0.013901261612772942,
0.026420913636684418,
-0.017260653898119926,
-0.03243943303823471,
-0.02146226167678833,
0.03200412914156914,
-0.025152862071990967,
0.0020463906694203615,
-0.06556020677089691,
0.020572731271386147,
-0.010674351826310158,
-0.020534880459308624,
0.04360586404800415,
0.0010994913754984736,
0.06294839829206467,
0.04523351415991783,
-0.008639790117740631,
-0.0718436911702156,
-0.009150796569883823,
0.06283483654260635,
-0.062418464571237564,
-0.026572324335575104,
0.03243943303823471,
0.008502575568854809,
-0.01082576159387827,
0.02204897254705429,
0.04296237602829933,
-0.058065447956323624,
-0.005039089359343052,
0.0068181478418409824,
0.04720183461904526,
-0.08312367647886276,
-0.06953469663858414,
0.045536331832408905,
0.04318948835134506,
0.02681836299598217,
0.032325875014066696,
0.03395352512598038,
-0.007556268014013767,
-0.019333068281412125,
0.027215812355279922,
-0.021121591329574585,
-0.010286365635693073,
0.037909090518951416,
-0.05643779784440994,
-0.03304506838321686,
-0.024357963353395462,
0.0332532562315464,
-0.01467723399400711,
-0.02759433537721634,
0.03361285477876663,
-0.018386760726571083,
0.06590087711811066,
-0.004627445247024298,
-0.007896938361227512,
-0.046482641249895096,
-0.03067930042743683,
0.03429419547319412,
-0.04909444972872734,
0.018680116161704063,
-0.019039712846279144,
-0.0006600497290492058,
0.001127289142459631,
0.0373980849981308,
-0.031057823449373245,
0.014942200854420662,
-0.005583215970546007,
-0.0376630499958992,
-0.021519040688872337,
-0.027783596888184547,
0.06453819572925568,
-0.0166266281157732,
-0.013219919987022877,
-0.01495166402310133,
-0.0028625812847167253,
0.03760627284646034,
-0.06862623989582062,
-0.06472745537757874,
-0.04977579042315483,
0.03683030232787132,
-0.015377501957118511,
-0.004447646904736757,
-0.01513146236538887,
-0.000520765024702996,
-0.020572731271386147,
0.03404815495014191,
-0.019493941217660904,
-0.01704300381243229,
0.0135889807716012,
-0.03489983081817627,
-0.04523351415991783,
-0.033101849257946014,
0.051933374255895615,
0.03058466874063015,
-0.010475628077983856,
-0.007220328785479069,
-0.0422053299844265,
-0.002007355447858572,
-0.05291753262281418,
0.06820987164974213,
-0.053750284016132355,
0.0075326100923120975,
0.01867065392434597,
-0.012283075600862503,
0.024471519514918327,
0.002689880086109042,
-0.013948577456176281,
-0.01629542000591755,
-0.01100555993616581,
0.007305496372282505,
-0.05564289912581444,
0.023127762600779533,
-0.04932156205177307,
0.05367457866668701,
-0.041183315217494965,
-0.01388233620673418,
-0.0035013388842344284,
-0.07691589742898941,
-0.025626016780734062,
-0.010371534153819084,
0.012538578361272812,
0.035051241517066956,
0.0017281946493312716,
0.001644209842197597,
-0.05428021773695946,
-0.02753755822777748,
-0.026553397998213768,
0.0034776811953634024,
0.01581280305981636,
-0.04035056382417679,
0.03817405924201012,
-0.04633123055100441,
0.00926908478140831,
-0.030792856588959694,
0.025758499279618263,
0.0452713668346405,
-0.0030707689002156258,
0.07403912395238876,
0.0009350703912787139,
-0.01170582789927721,
-0.04973793774843216,
0.030338628217577934,
0.012320928275585175,
-0.0404641218483448,
0.04262170568108559,
-0.05072209984064102,
-0.02714010886847973,
0.004388502333313227,
0.0013295625103637576,
0.009557709097862244,
0.0035936040803790092,
-0.009775360114872456,
-0.015585689805448055,
-0.12052176147699356,
-0.007191939279437065,
0.08282086253166199,
-0.030187219381332397,
-0.01850978098809719,
-0.0352594293653965,
-0.04890519008040428,
-0.05552934482693672,
-0.02418762817978859,
-0.039934191852808,
0.006671470124274492,
0.0470125712454319,
-0.011421935632824898,
0.008038884960114956,
0.04364371672272682,
0.005639994516968727,
-0.08425924926996231,
-0.0470125712454319,
0.07396341860294342,
0.0631755068898201,
-0.004431086592376232,
-0.020156357437372208,
0.048526667058467865,
-0.024698633700609207,
0.015055757947266102,
0.016891594976186752,
0.049208007752895355,
-0.038325466215610504,
0.02159474417567253,
-0.02240856923162937,
0.03107674978673458,
-0.04197821393609047,
-0.046217672526836395,
0.03594077005982399,
-0.03484305366873741,
-0.03058466874063015,
-0.033366814255714417,
0.04443861544132233,
-0.014857033267617226,
0.0665065124630928,
0.039366405457258224,
0.025607090443372726,
-0.03404815495014191,
-0.07472046464681625,
-0.020156357437372208,
0.0404641218483448,
0.0332532562315464,
0.005819793324917555,
-0.015169314108788967,
0.022976353764533997,
-0.03624359145760536,
-0.020307766273617744,
-0.02555031143128872,
-0.04879163205623627,
-0.01785682886838913,
0.06408396363258362,
-0.03571365773677826,
0.03189057484269142,
0.048526667058467865,
-0.009945695288479328,
0.03662211447954178,
-0.015500522218644619,
0.07487187534570694,
0.008332240395247936,
-0.012936027720570564,
-0.02100803330540657,
0.06915617734193802,
-0.031795941293239594,
0.05322035029530525,
0.03531620651483536,
0.03243943303823471,
-0.028881315141916275,
0.027196886017918587,
0.029240911826491356,
0.03253406286239624,
-0.042356736958026886,
0.0173647478222847,
-0.05314464867115021,
0.02895701862871647,
-0.0376630499958992,
-0.05999591574072838,
-0.05390169471502304,
0.03090641275048256,
-0.0075373416766524315,
0.0029666749760508537,
-0.033196479082107544,
-0.04201606661081314,
0.010797372087836266,
-0.057649072259664536,
-0.03529728204011917,
0.07207080721855164,
0.03353714942932129,
0.0027513899840414524,
0.010182272642850876,
-0.03876077011227608,
0.007660361938178539
] |
10,340 | torch_pitch_shift.main | ratio_to_semitones |
Convert rational shifts to semitones.
Parameters
----------
ratio: Fraction
The ratio for a desired shift.
Returns
-------
output: float
The magnitude of a pitch shift in semitones
| def ratio_to_semitones(ratio: Fraction) -> float:
"""
Convert rational shifts to semitones.
Parameters
----------
ratio: Fraction
The ratio for a desired shift.
Returns
-------
output: float
The magnitude of a pitch shift in semitones
"""
return float(12.0 * log2(ratio))
| (ratio: fractions.Fraction) -> float | [
-0.005370390601456165,
0.023824680596590042,
0.06521379947662354,
0.0042569623328745365,
0.014935141429305077,
0.013727809302508831,
0.005513481795787811,
0.017001019790768623,
-0.0513339601457119,
0.12162749469280243,
0.03164103627204895,
0.019192103296518326,
0.053838055580854416,
0.017940055578947067,
0.00754358759149909,
0.02559543401002884,
0.044787537306547165,
-0.025863729417324066,
-0.02074822038412094,
0.03269633278250694,
0.027294641360640526,
-0.030192237347364426,
0.03013857826590538,
0.013754638843238354,
-0.07433586567640305,
-0.01199282892048359,
-0.010955417528748512,
-0.010812326334416866,
-0.041925713419914246,
-0.00819644145667553,
-0.013906673528254032,
0.0034833757672458887,
-0.0012956458376720548,
-0.016920531168580055,
-0.0302816703915596,
0.014013991691172123,
-0.008290344849228859,
0.05036809295415878,
-0.14767009019851685,
0.022823041304945946,
-0.021803516894578934,
0.03559393063187599,
0.06464143842458725,
0.021946609020233154,
-0.0574868805706501,
0.015623767860233784,
0.05612751096487045,
-0.006783416029065847,
0.02647186629474163,
-0.0004479983472265303,
0.012350556440651417,
0.00424578320235014,
-0.04507371783256531,
0.03570124879479408,
-0.0036644754000008106,
0.05258600786328316,
0.04124603047966957,
0.010821269825100899,
0.0196929220110178,
-0.018029488623142242,
-0.011125338263809681,
-0.007127729244530201,
0.008084651082754135,
0.028958076611161232,
0.002799221081659198,
-0.01906689815223217,
0.004713065456598997,
-0.020515697076916695,
0.011545669287443161,
-0.010758667252957821,
-0.0004823737544938922,
-0.02555966004729271,
0.028922302648425102,
0.034484971314668655,
0.01719777099788189,
0.049223363399505615,
0.01616930216550827,
-0.008384248241782188,
0.041675303131341934,
0.022858815267682076,
0.020515697076916695,
0.00795497465878725,
0.038741935044527054,
0.029601985588669777,
0.0065374779514968395,
0.0009004682651720941,
-0.015167664736509323,
-0.02405720390379429,
-0.01829778403043747,
-0.006412273272871971,
-0.0501534566283226,
-0.010794440284371376,
0.011500952765345573,
-0.02423606812953949,
-0.05838119983673096,
0.0725114494562149,
-0.0482574999332428,
-0.008679374121129513,
-0.05898933485150337,
-0.01785062439739704,
-0.04013707488775253,
0.08363679051399231,
-0.03645247593522072,
0.043428171426057816,
-0.02985239587724209,
0.029136940836906433,
0.011769249103963375,
0.03271421790122986,
-0.008692788891494274,
0.043177761137485504,
0.01463107205927372,
0.06839758157730103,
-0.04875831678509712,
-0.009944836609065533,
-0.04646885767579079,
-0.0005251334514468908,
-0.013781468383967876,
0.006376500241458416,
0.04378589987754822,
0.007141144014894962,
0.018101032823324203,
0.028367824852466583,
-0.07090167701244354,
0.06296011805534363,
0.051977869123220444,
-0.034377653151750565,
0.0756952315568924,
-0.007512286771088839,
-0.008057821542024612,
0.06839758157730103,
-0.031068671494722366,
0.03709638491272926,
0.0025711695197969675,
-0.024504363536834717,
-0.021177493035793304,
0.03190933167934418,
-0.009363528341054916,
-0.0513339601457119,
0.046325765550136566,
-0.035361405462026596,
-0.05026077479124069,
0.06660894304513931,
0.026901140809059143,
0.017984772101044655,
-0.006108204368501902,
0.017805907875299454,
0.020980743691325188,
0.06664471328258514,
0.04893718287348747,
0.03550449758768082,
0.02947678230702877,
0.020873425528407097,
0.11096720397472382,
0.02368158847093582,
0.03688174858689308,
-0.03457440435886383,
0.05104777589440346,
0.017475008964538574,
0.010445655323565006,
0.030084919184446335,
0.04428671672940254,
-0.0006114912102930248,
0.022089699283242226,
-0.00011165023897774518,
0.04063789173960686,
-0.012636738829314709,
-0.014881482347846031,
0.03550449758768082,
0.017027849331498146,
0.014908311888575554,
-0.0011218123836442828,
0.007963918149471283,
-0.06478452682495117,
-0.022161245346069336,
0.0308719202876091,
0.013209103606641293,
0.01818152144551277,
0.008657015860080719,
-0.037561431527137756,
-0.010445655323565006,
0.07548059523105621,
-0.012332670390605927,
-0.01865551248192787,
0.05573401227593422,
0.0474347248673439,
0.040208619087934494,
0.047577813267707825,
-0.004514079540967941,
-0.013468456454575062,
-0.04983150213956833,
0.04138912260532379,
0.021875062957406044,
-0.016884759068489075,
-0.01744817942380905,
0.007109842728823423,
-0.012753000482916832,
-0.026740163564682007,
-0.03355488181114197,
-0.04074520990252495,
-0.05605596676468849,
-0.04679081216454506,
0.01634816639125347,
-0.033536992967128754,
-0.02031894586980343,
0.03963625431060791,
0.014121309854090214,
0.023091338574886322,
0.022053927183151245,
0.015301812440156937,
0.0006366439047269523,
0.03307194635272026,
-0.019961219280958176,
-0.003803095081821084,
-0.03139062598347664,
0.0348963588476181,
-0.022232791408896446,
0.017984772101044655,
0.008057821542024612,
0.028027983382344246,
-0.006528534926474094,
-0.008831408806145191,
-0.015892064198851585,
-0.032463811337947845,
0.020265286788344383,
0.017618101090192795,
-0.0007881193305365741,
-0.008607828058302402,
-0.0525144599378109,
0.0028685308061540127,
-0.01990756019949913,
-0.03428822383284569,
0.03992243856191635,
0.017868509516119957,
-0.07243990898132324,
-0.009998495690524578,
0.03094346635043621,
-0.046111129224300385,
-0.06371134519577026,
0.0035303274635225534,
0.02067667432129383,
0.019049013033509254,
-0.02995971404016018,
-0.010821269825100899,
0.06063488498330116,
0.012439988553524017,
0.01700996235013008,
0.011563555337488651,
-0.03167681023478508,
-0.035844337195158005,
0.04081675782799721,
0.01072289515286684,
-0.049080271273851395,
0.019227877259254456,
0.004874043166637421,
0.030049147084355354,
-0.023109223693609238,
-0.004040089901536703,
0.029458895325660706,
0.01770753227174282,
-0.029709305614233017,
-0.018727056682109833,
0.02130269818007946,
0.019299421459436417,
-0.08206278830766678,
-0.05609174072742462,
0.01569531299173832,
-0.05888201668858528,
0.024075089022517204,
-0.009721256792545319,
0.008572055958211422,
0.055125873535871506,
-0.02618568390607834,
-0.06381866335868835,
-0.019603490829467773,
-0.029029622673988342,
-0.01164404395967722,
0.06932767480611801,
-0.0016064220108091831,
0.026060480624437332,
0.02779546007514,
-0.046325765550136566,
-0.06260238587856293,
0.06521379947662354,
0.08120424300432205,
-0.0028305223677307367,
0.05845274403691292,
0.07269031554460526,
-0.03942161798477173,
0.0717959925532341,
-0.04378589987754822,
-0.02995971404016018,
-0.008750919252634048,
-0.018870148807764053,
0.018762830644845963,
-0.022393768653273582,
0.033680085092782974,
-0.004860628396272659,
-0.05534050986170769,
0.02441493235528469,
0.019853901118040085,
-0.023305974900722504,
-0.018977466970682144,
0.004346394445747137,
0.017644930630922318,
0.005960641894489527,
0.005111037753522396,
-0.009274096228182316,
-0.03766874969005585,
0.05276487022638321,
0.00184006302151829,
-0.05551937595009804,
0.022429540753364563,
-0.03266055881977081,
0.01965714991092682,
-0.018905920907855034,
0.04847213625907898,
0.001125725102610886,
0.08163351565599442,
0.026632845401763916,
0.04847213625907898,
0.004780139308422804,
0.02046203799545765,
-0.005576084367930889,
0.044715993106365204,
0.036058977246284485,
-0.03171258047223091,
-0.0644625723361969,
-0.009783859364688396,
0.038956571370363235,
0.013083899393677711,
-0.10696065425872803,
-0.04832904413342476,
-0.00427932059392333,
-0.008433436043560505,
-0.032284945249557495,
-0.01972869597375393,
0.02640032209455967,
-0.032946743071079254,
-0.021875062957406044,
0.0015930072404444218,
0.046325765550136566,
-0.04514526575803757,
-0.0005673341220244765,
0.013423740863800049,
-0.023878339678049088,
0.02500518225133419,
-0.05040386691689491,
-0.0015773565974086523,
-0.01127737294882536,
-0.008768806234002113,
0.0040535046719014645,
0.01056191697716713,
0.015462789684534073,
-0.026811707764863968,
-0.00872856192290783,
0.011134281754493713,
-0.04875831678509712,
-0.028475143015384674,
-0.0528721883893013,
-0.03852729871869087,
-0.05927551910281181,
0.01903112605214119,
-0.003485611639916897,
-0.039135437458753586,
-0.04847213625907898,
0.001319121802225709,
-0.014675788581371307,
-0.0002675972646102309,
0.05566246807575226,
-0.02842148393392563,
-0.02581007033586502,
0.017591271549463272,
-0.02842148393392563,
-0.01858396641910076,
-0.021642539650201797,
0.10603056102991104,
0.03219551220536232,
0.037418343126773834,
-0.03405569866299629,
-0.0424623042345047,
-0.004990304820239544,
-0.01814574934542179,
-0.05970479175448418,
0.048007089644670486,
0.04249807819724083,
0.03461017832159996,
-0.007852127775549889,
-0.031730469316244125,
-0.03339390084147453,
0.00406915508210659,
-0.014487980864942074,
-0.015605880878865719,
0.014157082885503769,
-0.012118034064769745,
0.008424492552876472,
0.05029654875397682,
-0.07691150903701782,
0.0694349929690361,
-0.02343118004500866,
0.10517201572656631,
0.009300926700234413,
-0.06811139732599258,
0.014657901600003242,
-0.024951523169875145,
-0.021803516894578934,
-0.007275291718542576,
0.008540754206478596,
0.038920797407627106,
0.0494379997253418,
-0.0668235793709755,
0.008411077782511711,
-0.05745110660791397,
-0.017805907875299454,
-0.028332052752375603,
-0.0074854567646980286,
-0.003955129534006119,
-0.016303449869155884,
-0.055054329335689545,
-0.03346544876694679,
-0.05709337815642357,
0.028904417529702187,
-0.024683227762579918,
-0.02734830044209957,
0.014854652807116508,
0.09114907681941986,
-0.01244893204420805,
0.003270974848419428,
-0.010579803958535194,
0.025863729417324066,
0.0832790657877922,
-0.023001905530691147,
-0.018065260723233223,
-0.03731102496385574,
-0.07862859964370728,
0.016196131706237793,
0.0011670873500406742,
0.04510949179530144,
0.029619872570037842,
-0.026024706661701202,
0.009971666149795055,
-0.007838713005185127,
0.06478452682495117,
-0.021016515791416168,
-0.007440741173923016,
0.020623015239834785,
-0.06421216577291489,
0.03350122272968292,
-0.0060590170323848724,
-0.03262478858232498,
-0.060849521309137344,
0.023735247552394867,
-0.019156331196427345,
-0.0613861121237278,
-0.03486058861017227,
0.041818395256996155,
0.002300637774169445,
0.025291364639997482,
-0.03208819404244423,
-0.025935275480151176,
-0.024647453799843788,
0.04278426244854927,
-0.01851242035627365,
-0.0301028061658144,
0.038849253207445145,
-0.011921283788979053,
-0.003351463470607996,
0.05154859647154808,
-0.014774163253605366,
0.014953027479350567,
-0.04256962239742279,
0.04417939856648445,
0.019013239070773125,
0.006510648410767317,
0.0028260506223887205,
0.002278279745951295,
0.002015573438256979,
0.0015069289365783334,
-0.06063488498330116,
-0.04582494869828224,
0.026418207213282585,
-0.11218348145484924,
0.009980609640479088,
-0.040315937250852585,
-0.008710674941539764,
-0.017242485657334328,
-0.03262478858232498,
-0.07562368363142014,
-0.11833640187978745,
-0.008634657599031925,
-0.01272617094218731,
0.004574446007609367,
0.030049147084355354,
-0.062316205352544785,
0.009944836609065533,
0.005714703816920519,
0.030514191836118698,
-0.00009313502960139886,
0.004270377103239298,
-0.022858815267682076,
-0.002472794381901622,
-0.002258157590404153,
-0.027223095297813416,
-0.045037947595119476,
-0.031175989657640457,
-0.02427184022963047,
0.0424623042345047,
-0.039743572473526,
-0.03416301682591438,
-0.03731102496385574,
0.06131456792354584,
0.05183477699756622,
0.05741533264517784,
-0.04725585877895355,
0.03992243856191635,
0.012592023238539696,
0.0021631361450999975,
0.0051244525238871574,
-0.006296011619269848,
0.011009077541530132,
0.009855404496192932,
0.006685040891170502,
-0.0617438405752182,
0.012305840849876404,
0.021052289754152298,
-0.0014152611838653684,
-0.03709638491272926,
-0.06567884981632233,
-0.024075089022517204,
0.022018155083060265,
0.0051244525238871574,
-0.03596954420208931,
-0.00402443902567029,
-0.047506269067525864,
0.04224766790866852,
0.016044097021222115,
-0.013110728934407234,
0.010624519549310207,
-0.019424626603722572,
0.06660894304513931,
-0.00030909929773770273,
-0.04722008854150772,
-0.1057443767786026,
-0.03219551220536232,
0.020408378913998604,
0.0348963588476181,
0.011500952765345573,
0.012386329472064972,
-0.022858815267682076,
-0.030710943043231964,
0.00023336158483289182,
-0.002055817749351263,
-0.016160359606146812,
0.04700545221567154,
0.010248905047774315,
0.022644178941845894,
0.02852880209684372,
0.027741800993680954,
-0.01543596014380455,
0.008388720452785492,
-0.00894766952842474,
-0.023627929389476776,
-0.07497977465391159,
0.037525661289691925,
-0.0014856888446956873,
-0.04975995421409607,
-0.006492761895060539,
0.04160375893115997,
0.03167681023478508,
-0.02269783802330494,
0.02881498448550701,
-0.027706028893589973,
0.0736919566988945,
0.024039316922426224,
-0.02786700613796711,
-0.046504631638526917,
-0.019496172666549683,
0.02741984650492668,
-0.03468172252178192,
0.014282288029789925,
0.03031744249165058,
-0.018083147704601288,
0.010839156806468964,
-0.024540135636925697,
0.022018155083060265,
-0.020301060751080513,
0.056735649704933167,
-0.010508257895708084,
0.000910529401153326,
-0.007507815025746822,
0.0856400653719902,
-0.001996569102630019,
-0.04228344187140465,
0.008107009343802929,
-0.03791915997862816,
-0.018816489726305008,
-0.09193608164787292,
-0.005920397117733955,
-0.008482623845338821,
0.043320853263139725,
0.0100253252312541,
-0.005043963901698589,
0.001513636321760714,
-0.003993138205260038,
-0.06889840215444565,
0.04983150213956833,
-0.013772525824606419,
0.023663703352212906,
-0.039099663496017456,
-0.0680040791630745,
-0.0010267909383401275,
-0.024736886844038963,
0.05691451579332352,
0.019710808992385864,
-0.0443582646548748,
0.0166164617985487,
0.046003811061382294,
0.0047980258241295815,
-0.04500217363238335,
-0.06775367259979248,
-0.02119538001716137,
0.006385443732142448,
0.05458928272128105,
0.018011601641774178,
-0.013325365260243416,
0.024540135636925697,
-0.00014106498565524817,
0.01917421631515026,
-0.022089699283242226,
-0.006653739605098963,
-0.07698304951190948,
0.026239342987537384,
-0.003995373845100403,
0.0250767283141613,
-0.07505132257938385,
-0.013915617018938065,
0.03992243856191635,
-0.04160375893115997,
-0.028958076611161232,
0.0050484356470406055,
0.05870315432548523,
0.050761595368385315,
-0.027670254930853844,
0.008902953937649727,
-0.027044231072068214,
-0.035289861261844635,
0.031247535720467567,
-0.011411520652472973,
0.027437731623649597,
-0.07272608578205109,
0.03013857826590538,
0.013835127465426922,
0.04296312481164932,
-0.013468456454575062,
0.016965247690677643,
0.07118786126375198,
-0.024003544822335243,
0.003237437689676881,
0.0011128692422062159,
-0.008938726969063282,
0.009028159081935883,
0.01173347607254982,
0.03350122272968292,
-0.014514811336994171,
0.059597473591566086,
0.07007890194654465,
0.02343118004500866,
-0.04110293835401535,
-0.011026963591575623,
-0.04349971562623978,
-0.02668650448322296,
0.04371435195207596,
-0.017260372638702393,
-0.013996105641126633,
-0.0139871621504426,
0.029423123225569725,
0.002343117957934737,
0.023788906633853912,
0.05373073369264603,
-0.005388277117162943,
-0.020801879465579987,
-0.0695423111319542,
0.012368443422019482,
0.03956471011042595,
-0.0348963588476181,
0.009452960453927517,
-0.03992243856191635,
-0.007257405668497086,
0.06278125196695328,
-0.030460532754659653,
-0.013387967832386494,
0.044537127017974854,
-0.0455387644469738,
-0.04110293835401535,
0.03251747041940689,
0.02811741642653942,
0.014899368397891521,
-0.028314165771007538,
0.05297950655221939,
0.001380606205202639,
0.012296897359192371,
0.044930629432201385,
-0.0060992613434791565,
0.023663703352212906,
-0.01244893204420805,
-0.014398549683392048,
-0.0031144688837230206,
0.01705467887222767,
0.004554323852062225,
0.0320524238049984,
-0.06607235223054886,
-0.020730333402752876,
0.058166563510894775,
0.010159472934901714,
0.024987295269966125,
-0.025827957317233086,
0.008174083195626736,
0.005965113174170256,
0.03346544876694679,
0.010624519549310207,
-0.001963031943887472,
-0.07927250862121582,
-0.052085187286138535,
0.08463843166828156,
-0.004891929682344198,
-0.039135437458753586,
0.003999845590442419,
0.06839758157730103,
0.03716793283820152,
-0.01325382012873888,
-0.03593377023935318,
-0.06922035664319992,
-0.03636304289102554,
-0.0370248407125473,
-0.0010877165477722883,
0.022411655634641647,
0.02808164246380329,
-0.0513339601457119,
-0.023252315819263458,
0.029566213488578796,
-0.03967202827334404,
0.05559092015028,
-0.018619738519191742,
0.016401825472712517,
-0.03988666459918022,
-0.004637048114091158,
0.023377520963549614,
0.015775801613926888,
0.05237136781215668,
-0.021249039098620415,
-0.06542843580245972,
-0.01650020107626915,
-0.007042768876999617,
0.03215974196791649,
-0.018816489726305008,
-0.03809802606701851,
-0.038849253207445145,
0.04718431457877159,
0.01145623717457056,
0.0008596649277023971,
0.006635853089392185,
0.004896400962024927,
0.009524506516754627,
0.010096871294081211,
0.02727675437927246,
-0.01616930216550827,
0.04947377368807793,
-0.02133847028017044,
-0.01641971245408058
] |
10,341 | itertools | repeat | repeat(object [,times]) -> create an iterator which returns the object
for the specified number of times. If not specified, returns the object
endlessly. | from itertools import repeat
| null | [
0.012812972068786621,
-0.0027302252128720284,
-0.059981971979141235,
0.005410659126937389,
-0.019634386524558067,
0.04311930388212204,
-0.03339339420199394,
-0.040762513875961304,
0.026074066758155823,
0.032281387597322464,
-0.01921945810317993,
0.006178275682032108,
0.013443662784993649,
0.08716804534196854,
-0.008161631412804127,
-0.03989946469664574,
0.0459740050137043,
0.049691759049892426,
-0.07933420687913895,
0.01903689093887806,
0.03264652565121651,
0.051882579922676086,
0.005829736590385437,
0.05974961072206497,
-0.04965856671333313,
0.11737479269504547,
0.002238535787910223,
-0.0020258852746337652,
-0.026638368144631386,
-0.011659473180770874,
0.038870442658662796,
-0.033244021236896515,
0.026074066758155823,
0.0314183384180069,
-0.02013229951262474,
0.002199117559939623,
-0.027667390182614326,
0.02577531896531582,
-0.07130120694637299,
0.004323548171669245,
0.09752464294433594,
-0.03575018420815468,
0.016124095767736435,
-0.03198263794183731,
-0.015111672692000866,
-0.026339620351791382,
0.1035659909248352,
0.015559794381260872,
0.019982926547527313,
-0.06575776636600494,
0.05407339707016945,
-0.006306903436779976,
0.021194515749812126,
-0.031185977160930634,
0.026621771976351738,
0.09480271488428116,
-0.04939301311969757,
0.026820937171578407,
0.026754548773169518,
0.0414595901966095,
-0.05218132585287094,
-0.04650511592626572,
0.011742458678781986,
0.013186407275497913,
0.0005803803214803338,
-0.020281674340367317,
-0.06625568121671677,
-0.01799127273261547,
0.030986811965703964,
-0.03857169300317764,
0.015310837887227535,
0.08683609962463379,
-0.04132681339979172,
-0.010439584963023663,
-0.015360629186034203,
0.01541042048484087,
-0.016373053193092346,
0.02706989273428917,
0.04428110271692276,
-0.0795997604727745,
0.0012447836343199015,
-0.026140455156564713,
-0.005472898483276367,
0.02325255796313286,
0.03165069594979286,
-0.01204120647162199,
-0.025559555739164352,
0.022455895319581032,
-0.01774231530725956,
-0.012514224275946617,
-0.030339526012539864,
0.012256968766450882,
-0.015111672692000866,
-0.01301213726401329,
-0.01324449758976698,
0.01155159156769514,
-0.006692786235362291,
-0.018738141283392906,
-0.0073898653499782085,
-0.032264791429042816,
0.008788172155618668,
-0.03186646103858948,
-0.0802636444568634,
-0.01217398326843977,
-0.007286133244633675,
0.0313851423561573,
-0.04245541989803314,
0.0051575531251728535,
0.016953952610492706,
0.02356790192425251,
-0.024099010974168777,
0.06549221277236938,
0.037974197417497635,
-0.028132108971476555,
-0.03165069594979286,
0.017377179116010666,
0.03916918858885765,
0.04916065186262131,
0.05168341472744942,
0.027335448190569878,
0.011178156360983849,
0.01051427237689495,
-0.029609251767396927,
0.04979134351015091,
0.061077382415533066,
0.0226550605148077,
-0.018887516111135483,
0.03843891620635986,
0.044181518256664276,
-0.027302253991365433,
0.019982926547527313,
0.02680433914065361,
0.007136759348213673,
0.06635526567697525,
-0.007535089738667011,
-0.02311978116631508,
-0.005854632239788771,
-0.036347679793834686,
0.016265172511339188,
-0.027202671393752098,
-0.04779968783259392,
-0.00817822851240635,
0.024746296927332878,
0.09672798216342926,
0.012373148463666439,
-0.036480456590652466,
0.01702863909304142,
0.03833933547139168,
-0.02642260678112507,
0.020630212500691414,
0.014771431684494019,
0.06784900277853012,
0.06831372529268265,
0.016389651224017143,
0.006273709237575531,
0.014771431684494019,
-0.012472731061279774,
-0.013700918294489384,
-0.014539072290062904,
-0.03482074663043022,
-0.0015352331101894379,
-0.005331823136657476,
-0.044181518256664276,
0.05155063793063164,
-0.010248717851936817,
-0.014066054485738277,
-0.0259080957621336,
-0.01988334394991398,
0.034156862646341324,
-0.0015217479085549712,
0.026771144941449165,
-0.056330606341362,
0.029692238196730614,
-0.07163314521312714,
0.030090568587183952,
-0.0044189817272126675,
-0.08358306437730789,
0.004767521284520626,
0.0203978531062603,
0.003836008021607995,
-0.03986626863479614,
-0.04258819669485092,
-0.020381256937980652,
-0.04912745952606201,
0.032397568225860596,
0.02829807996749878,
0.0382065586745739,
0.011111767962574959,
0.02202437072992325,
-0.04152597859501839,
-0.0349867157638073,
0.03452199697494507,
0.005435554776340723,
0.024580325931310654,
0.018090855330228806,
-0.07150036841630936,
-0.04557567462325096,
-0.002069452777504921,
-0.0008117026300169528,
0.03121917136013508,
-0.09898518770933151,
0.006755025591701269,
-0.006377441342920065,
-0.002325670560821891,
0.06575776636600494,
-0.0034086324740201235,
-0.027368642389774323,
-0.006311052944511175,
-0.029293907806277275,
-0.021260904148221016,
0.03588296100497246,
-0.02854703739285469,
0.07926781475543976,
-0.013866889290511608,
0.01275488268584013,
-0.007518492639064789,
-0.00390654569491744,
-0.02278783731162548,
0.013269392773509026,
-0.024829283356666565,
0.022306522354483604,
-0.023584499955177307,
-0.03734350576996803,
-0.04909426346421242,
0.018754739314317703,
0.018356408923864365,
-0.014871014282107353,
0.029343698173761368,
-0.0711684301495552,
0.007198998238891363,
0.026040872558951378,
0.01463035587221384,
0.020563824102282524,
0.017111625522375107,
0.024381160736083984,
-0.05526839196681976,
-0.0420902818441391,
-0.014995492994785309,
0.036414068192243576,
0.028215093538165092,
-0.02350151352584362,
0.017377179116010666,
0.04059654101729393,
0.0001754366821842268,
0.012680195271968842,
0.0847780629992485,
-0.000557559309527278,
0.030206747353076935,
-0.008062047883868217,
0.030223345384001732,
-0.03508630022406578,
-0.0022675807122141123,
-0.04175833985209465,
-0.01039809174835682,
0.033443186432123184,
0.00037965900264680386,
0.00008901498949853703,
-0.026173649355769157,
0.0472685806453228,
0.012323357164859772,
0.04461304470896721,
-0.033443186432123184,
-0.04889509826898575,
-0.017659328877925873,
-0.02653878554701805,
0.010547466576099396,
-0.06456277519464493,
0.009601430967450142,
-0.02006591111421585,
-0.0055185407400131226,
0.10535848140716553,
0.005808989983052015,
0.03780822828412056,
0.01877133548259735,
0.027683986350893974,
0.054538119584321976,
0.04497817903757095,
0.08969080448150635,
0.005721854977309704,
-0.06230556592345238,
0.019800357520580292,
0.018290020525455475,
-0.022489089518785477,
-0.010771526955068111,
-0.03412366658449173,
0.018920710310339928,
0.01838960312306881,
0.05546755716204643,
0.04590761661529541,
-0.0294598788022995,
0.053110767155885696,
0.02122770994901657,
0.038936831057071686,
0.011518397368490696,
0.059218503534793854,
-0.006983235944062471,
-0.008066197857260704,
0.004423130769282579,
-0.0025621794629842043,
0.03128556162118912,
-0.011443709954619408,
-0.05546755716204643,
-0.06950871646404266,
-0.00034205615520477295,
-0.00014781804929953068,
-0.023650888353586197,
0.019402027130126953,
0.012481030076742172,
0.006543412338942289,
-0.005273733288049698,
-0.009792297147214413,
0.029941193759441376,
-0.03468796983361244,
-0.0026493144687265158,
0.07827199250459671,
-0.04743455350399017,
-0.02155965194106102,
0.056330606341362,
-0.0024107308126986027,
0.028464050963521004,
-0.018605364486575127,
0.011476904153823853,
-0.030389316380023956,
0.05141786113381386,
-0.022422701120376587,
0.049691759049892426,
0.04829760268330574,
0.020928962156176567,
-0.04268777742981911,
0.001419053296558559,
-0.03827294707298279,
-0.008638798259198666,
-0.018738141283392906,
0.08471167087554932,
-0.054870061576366425,
0.041857924312353134,
0.008788172155618668,
-0.017841897904872894,
0.01609090156853199,
-0.05274562910199165,
0.06014794111251831,
-0.027468224987387657,
-0.05659615993499756,
-0.019368832930922508,
0.03684559464454651,
0.00017323238716926426,
0.02350151352584362,
-0.0129457488656044,
0.08052919805049896,
-0.0023298198357224464,
0.044314295053482056,
0.024845879524946213,
0.07083648443222046,
0.015294240787625313,
0.06589054316282272,
0.09739186614751816,
-0.004908596631139517,
0.019518205896019936,
-0.05938447639346123,
0.030920423567295074,
0.008211422711610794,
0.021128127351403236,
0.036746010184288025,
0.034953523427248,
0.013617932796478271,
-0.007402312941849232,
-0.05911892279982567,
0.05062120035290718,
-0.006941743195056915,
0.04647191986441612,
0.000024198721803259104,
0.007369118742644787,
0.004518564324826002,
-0.008053749799728394,
-0.011742458678781986,
-0.02019868791103363,
-0.05035564675927162,
0.010530869476497173,
-0.008779873140156269,
0.014049457386136055,
0.001185656408779323,
-0.023020198568701744,
0.03218180313706398,
0.016597114503383636,
-0.017377179116010666,
-0.0026493144687265158,
0.024580325931310654,
0.005136806983500719,
0.008688589558005333,
0.03966710343956947,
-0.01928584650158882,
-0.007352521643042564,
0.046571504324674606,
-0.020348062738776207,
-0.013003839179873466,
-0.026970310136675835,
-0.02370067872107029,
0.01910327933728695,
-0.06293626129627228,
0.009535042569041252,
0.06977427005767822,
0.003468796843662858,
0.02849724516272545,
0.036613233387470245,
-0.02693711593747139,
-0.0036181709729135036,
0.04331846907734871,
-0.08039642125368118,
0.023684082552790642,
-0.03850530460476875,
-0.03180007264018059,
-0.00161925598513335,
0.00887115765362978,
-0.07242980599403381,
0.0582558698952198,
-0.05931808799505234,
-0.04152597859501839,
-0.05613144114613533,
0.06243834272027016,
0.05301118269562721,
0.047235388308763504,
-0.0466046966612339,
-0.01570916920900345,
0.08524277806282043,
-0.005514391232281923,
-0.02834787219762802,
-0.01013253815472126,
0.024912267923355103,
-0.03840572386980057,
0.030654869973659515,
-0.06622248888015747,
-0.03244736045598984,
0.03581657260656357,
-0.04474582150578499,
0.08557472378015518,
-0.039202384650707245,
-0.0010419875616207719,
-0.013775604777038097,
0.016389651224017143,
-0.03251374885439873,
0.0453101210296154,
-0.011576487682759762,
0.0459740050137043,
-0.04869593307375908,
0.04882870987057686,
0.00816992949694395,
-0.026173649355769157,
0.030737856402993202,
-0.011875235475599766,
0.012281864881515503,
-0.004377488978207111,
0.027169475331902504,
-0.0028132109437137842,
-0.04843037948012352,
0.04610678553581238,
-0.021476665511727333,
-0.014248622581362724,
0.009551639668643475,
-0.04106125980615616,
0.0053774649277329445,
0.04159236699342728,
0.011443709954619408,
-0.0001281089789699763,
0.02557615377008915,
-0.005323524586856365,
-0.020812781527638435,
-0.02901175618171692,
0.023982830345630646,
-0.0037239775992929935,
0.024430952966213226,
-0.030588481575250626,
0.011153261177241802,
-0.025808513164520264,
-0.06559179723262787,
0.029957791790366173,
-0.0014034934574738145,
-0.006593203637748957,
0.04899468272924423,
0.025692332535982132,
-0.0433848574757576,
-0.05470408871769905,
-0.040563348680734634,
0.02053062990307808,
-0.0009372183121740818,
-0.04617317393422127,
-0.015360629186034203,
0.00034724274883046746,
-0.024049218744039536,
-0.0056264218874275684,
-0.02079618349671364,
-0.03717753663659096,
-0.03711114823818207,
-0.04843037948012352,
0.028895575553178787,
0.009261189959943295,
-0.009684416465461254,
-0.009269488044083118,
0.02155965194106102,
-0.0047841183841228485,
-0.014397996477782726,
-0.00009439609129913151,
0.018140645697712898,
0.038040585815906525,
0.004398235119879246,
0.02421518974006176,
0.05314395949244499,
0.04238903149962425,
-0.05340951308608055,
-0.03731031343340874,
-0.008028853684663773,
0.026140455156564713,
-0.01168436836451292,
-0.031816668808460236,
-0.006501919589936733,
0.02318616956472397,
-0.058421842753887177,
-0.0582558698952198,
-0.030007582157850266,
-0.024314772337675095,
-0.0020341838244348764,
0.03867127746343613,
0.032795898616313934,
-0.0054480028338730335,
0.03264652565121651,
-0.017709121108055115,
0.01132753025740385,
0.01479632779955864,
-0.03970029577612877,
-0.014705043286085129,
0.04119403660297394,
-0.024912267923355103,
0.040496960282325745,
0.043019719421863556,
0.044380683451890945,
0.014613758772611618,
-0.03321082517504692,
-0.015368928201496601,
-0.09287745505571365,
0.03321082517504692,
0.03535185381770134,
0.019567998126149178,
-0.001543531659990549,
0.013734112493693829,
-0.07389035075902939,
-0.06877844035625458,
0.049691759049892426,
-0.002806986914947629,
-0.03475435823202133,
0.02046424150466919,
-0.01709502749145031,
-0.06824733316898346,
-0.023783665150403976,
-0.026074066758155823,
-0.018090855330228806,
-0.03055528737604618,
-0.034090474247932434,
-0.005369166377931833,
-0.01055576466023922,
0.03727711737155914,
0.012149088084697723,
-0.011518397368490696,
-0.003616096219047904,
-0.02388324774801731,
-0.02059701830148697,
-0.0220077745616436,
0.0024356264621019363,
-0.02894536778330803,
0.021327292546629906,
-0.002346416935324669,
0.030273135751485825,
0.013277691788971424,
-0.03184986114501953,
0.00662224879488349,
-0.016132395714521408,
0.002352640964090824,
-0.04743455350399017,
-0.020298270508646965,
-0.09792297333478928,
0.03475435823202133,
-0.0356174074113369,
-0.05058800429105759,
0.017045237123966217,
-0.02796613797545433,
-0.06296945363283157,
-0.0009278824436478317,
0.0203978531062603,
-0.036414068192243576,
-0.0005277363816276193,
0.012389745563268661,
0.0009517407743260264,
-0.019966328516602516,
0.015908334404230118,
-0.012904256582260132,
-0.02965904399752617,
-0.043086107820272446,
0.0097093116492033,
-0.015875140205025673,
-0.015675975009799004,
-0.06691956520080566,
-0.01071343757212162,
0.0014159412821754813,
0.06599012762308121,
-0.03973349183797836,
0.06144251674413681,
-0.001787301735021174,
0.02298700250685215,
-0.004057994578033686,
-0.015924930572509766,
0.027866555377840996,
0.011028782464563847,
-0.037708643823862076,
0.003311124397441745,
-0.005572481080889702,
-0.047301776707172394,
-0.06200681999325752,
-0.0002200414310209453,
-0.037077952176332474,
0.0061865742318332195,
-0.026439202949404716,
-0.023484917357563972,
-0.0906202420592308,
0.06559179723262787,
-0.06506069004535675,
0.0007411648984998465,
-0.037841420620679855,
0.029957791790366173,
-0.007140908390283585,
0.008136735297739506,
0.05347590148448944,
-0.012671897187829018,
0.00935247354209423,
0.02770058438181877,
0.027235865592956543,
-0.04006543383002281,
-0.04756733030080795,
0.003499916521832347,
-0.04620636627078056,
0.051384665071964264,
-0.04753413423895836,
0.031185977160930634,
0.01188353355973959,
-0.007008131593465805,
-0.030472302809357643,
-0.043683603405952454,
-0.02602427452802658,
-0.0343228317797184,
-0.00017154673696495593,
-0.022389506921172142,
-0.03287888318300247,
-0.03128556162118912,
-0.00844793114811182,
0.034156862646341324,
0.02454713173210621,
0.020563824102282524,
-0.013709216378629208,
-0.02421518974006176,
0.06950871646404266,
-0.0362480990588665,
0.04743455350399017,
-0.038870442658662796,
0.07561645656824112,
0.06111057475209236,
0.020364658907055855,
-0.02907814458012581,
0.006236365530639887,
0.04099487140774727,
0.02136048674583435,
-0.03993265703320503,
-0.005763348191976547,
0.0032219148706644773,
-0.004277906380593777,
-0.010763228870928288,
0.0013308811467140913,
-0.008829664438962936,
0.02834787219762802,
0.015592988580465317,
-0.043550826609134674,
0.024762894958257675,
0.021128127351403236,
-0.0031804221216589212,
0.004485370125621557,
-0.06871205568313599,
-0.013219601474702358,
-0.08504361659288406,
-0.03734350576996803,
0.018621962517499924,
-0.00499988067895174,
0.008746678940951824,
-0.022821031510829926,
-0.03767545148730278,
0.0131117207929492,
-0.0016752711962908506,
-0.008920948952436447,
-0.001272791181690991,
-0.03999904543161392,
0.07621394842863083,
-0.026372814550995827,
-0.006642994936555624,
0.06164168193936348,
-0.05407339707016945,
0.003983307629823685,
-0.0024750446900725365,
0.023650888353586197,
0.02823169156908989,
-0.018339810892939568,
0.04497817903757095,
-0.02776697278022766,
0.003412781748920679,
-0.0479324646294117,
0.033310409635305405,
-0.001481292420066893,
0.07289452850818634,
-0.0822552964091301,
0.026339620351791382,
-0.032845690846443176,
-0.04816482588648796,
0.002954286290332675,
0.030090568587183952,
-0.006609800737351179,
0.04524373263120651,
0.007381566800177097,
0.06758344918489456,
-0.03178347274661064,
-0.008248765952885151,
-0.05413978546857834,
0.03224819153547287,
-0.08019725978374481,
0.06399847567081451,
-0.020680004730820656,
-0.009286085143685341,
-0.020630212500691414,
-0.005506092682480812,
0.014738237485289574,
0.010564063675701618,
0.0021348039153963327,
-0.028762798756361008,
-0.0163398589938879,
0.029293907806277275,
-0.027285655960440636,
-0.04584122821688652,
-0.04843037948012352,
-0.08139225095510483,
-0.003159675747156143,
0.06386569887399673,
-0.010049552656710148,
0.0014719566097483039,
0.08796470612287521,
0.006091141141951084,
-0.025343794375658035,
-0.03800739347934723,
-0.008385691791772842,
0.016530726104974747,
-0.012373148463666439,
0.013875187374651432,
0.010364897549152374,
-0.017775509506464005,
-0.007165804039686918,
-0.0226550605148077,
-0.040098629891872406,
-0.017509955912828445,
-0.06964149326086044,
-0.014431190676987171,
0.07548367977142334,
0.02713628113269806,
-0.026372814550995827,
0.006157529540359974,
0.08145863562822342,
0.009966567158699036
] |
10,342 | torch_pitch_shift.main | semitones_to_ratio |
Convert semitonal shifts into ratios.
Parameters
----------
semitones: float
The number of semitones for a desired shift.
Returns
-------
output: Fraction
A Fraction indicating a pitch shift ratio
| def semitones_to_ratio(semitones: float) -> Fraction:
"""
Convert semitonal shifts into ratios.
Parameters
----------
semitones: float
The number of semitones for a desired shift.
Returns
-------
output: Fraction
A Fraction indicating a pitch shift ratio
"""
return Fraction(2.0 ** (semitones / 12.0))
| (semitones: float) -> fractions.Fraction | [
-0.005637841764837503,
0.0201129000633955,
0.035971831530332565,
0.039834219962358475,
-0.008062958717346191,
0.0070083667524158955,
-0.008503484539687634,
0.05471420660614967,
-0.014203622937202454,
0.12195893377065659,
0.017612136900424957,
0.08080758154392242,
0.05887918174266815,
0.05179516598582268,
0.015298263169825077,
0.0018688978161662817,
0.029848966747522354,
-0.001678670640103519,
0.01758543774485588,
0.02265815995633602,
0.0350106842815876,
-0.026306960731744766,
0.059662338346242905,
0.0027143515180796385,
-0.08458097279071808,
0.01310008391737938,
-0.0006669072899967432,
-0.01280639972537756,
-0.02013069950044155,
0.028638632968068123,
-0.001380537054501474,
0.017816824838519096,
-0.052222345024347305,
0.010519225150346756,
0.0028723180294036865,
0.018564384430646896,
-0.019169552251696587,
0.06332893669605255,
-0.16460539400577545,
-0.0010445803636685014,
-0.021786008030176163,
0.01334037072956562,
0.09369407594203949,
0.0014361590147018433,
-0.005166167393326759,
0.013723049312829971,
0.012557213194668293,
-0.001811050926335156,
-0.0019278570543974638,
0.007399945519864559,
0.01326027512550354,
0.0016764458268880844,
-0.020949454978108406,
0.005566645413637161,
0.0238328967243433,
0.035206474363803864,
0.022711558267474174,
0.06286615878343582,
0.034174129366874695,
-0.014835488982498646,
-0.0057490854524075985,
0.012174534611403942,
0.02143002860248089,
0.02084266021847725,
-0.003929134923964739,
-0.010412430390715599,
0.025061029940843582,
-0.03997661545872688,
-0.012459319084882736,
-0.003315068781375885,
0.0069505199790000916,
-0.00014037592336535454,
0.00989625882357359,
-0.01633060723543167,
0.022159788757562637,
0.051759570837020874,
0.004331837873905897,
-0.032412026077508926,
0.02698332443833351,
0.024171078577637672,
0.0595555417239666,
-0.005103870760649443,
0.020522277802228928,
-0.01512917224317789,
0.018350796774029732,
-0.02401088736951351,
-0.002947963774204254,
-0.03986981883645058,
-0.0030080354772508144,
-0.005869228858500719,
-0.04068857431411743,
-0.022711558267474174,
0.04962368682026863,
-0.030738918110728264,
-0.034013938158750534,
0.041044555604457855,
-0.08927991986274719,
-0.02281835302710533,
-0.04004780948162079,
-0.03470810130238533,
-0.03214504197239876,
0.022569166496396065,
-0.05770444497466087,
0.005611143074929714,
-0.012868695892393589,
0.03264341503381729,
0.023921892046928406,
0.025399211794137955,
-0.04887612536549568,
0.008441188372671604,
-0.019543331116437912,
0.02951078675687313,
-0.017994815483689308,
-0.002560834866017103,
-0.03333757817745209,
0.011311281472444534,
-0.0021614693105220795,
-0.01618821546435356,
0.07860050350427628,
0.002081373706459999,
-0.033889345824718475,
0.07881408929824829,
-0.006154013331979513,
0.033426571637392044,
0.06959419697523117,
-0.007876069284975529,
0.04154292866587639,
-0.004240618087351322,
0.00035764920176006854,
0.05784683674573898,
-0.01466639805585146,
0.031237291172146797,
-0.016143716871738434,
-0.007391045801341534,
-0.0009706031414680183,
0.04453316330909729,
0.001615261659026146,
-0.022853950038552284,
0.06788548827171326,
-0.01641070283949375,
-0.030044756829738617,
0.06436128169298172,
0.03591843694448471,
-0.004496478941291571,
-0.021394429728388786,
-0.0009327802108600736,
0.04777258634567261,
0.055176980793476105,
0.04677584022283554,
0.033604562282562256,
0.02484744042158127,
0.013286973349750042,
0.06076587736606598,
-0.01132018119096756,
0.0034819345455616713,
-0.028389448300004005,
0.02248017117381096,
0.045067135244607925,
0.006745831109583378,
0.03410293534398079,
0.020184095948934555,
0.02399308793246746,
0.015796635299921036,
0.010723913088440895,
0.008748221211135387,
-0.00031454217969439924,
-0.002585308626294136,
0.022426772862672806,
0.04108015447854996,
-0.014435010962188244,
0.02472284808754921,
0.05158158019185066,
-0.07931246608495712,
-0.03915785998106003,
0.05389545112848282,
-0.013847642578184605,
0.002858968684449792,
-0.01542285643517971,
-0.06891783326864243,
-0.04286005720496178,
0.08094996958971024,
-0.043144840747117996,
0.03171786665916443,
0.05396664887666702,
0.032109443098306656,
0.05300550162792206,
0.052364736795425415,
0.0039447094313800335,
-0.01518256962299347,
-0.05350387468934059,
0.038517095148563385,
0.025417009368538857,
-0.030276143923401833,
-0.012094439007341862,
-0.004939229693263769,
-0.068561851978302,
0.0018177255988121033,
-0.0654648169875145,
-0.0357404462993145,
-0.05033564567565918,
-0.068561851978302,
0.006238558795303106,
-0.03184245899319649,
0.0012114462442696095,
0.060837071388959885,
-0.013954436406493187,
0.024082083255052567,
0.023476915434002876,
0.014390513300895691,
-0.00863252766430378,
0.027446098625659943,
0.007288701366633177,
0.023904092609882355,
-0.048057373613119125,
0.01296659093350172,
-0.02739270217716694,
0.06133544445037842,
-0.007101811468601227,
0.006567840930074453,
-0.011471472680568695,
-0.009264393709599972,
0.024455862119793892,
-0.023049740120768547,
0.04570790007710457,
0.015298263169825077,
-0.031237291172146797,
-0.039264652878046036,
-0.015921229496598244,
-0.003897986840456724,
-0.017781227827072144,
-0.005664539989084005,
0.03609642758965492,
-0.03933585062623024,
-0.07788854092359543,
-0.0034819345455616713,
-0.014568503014743328,
-0.052827510982751846,
-0.0626525729894638,
0.0015140296891331673,
-0.0041338237933814526,
0.0070083667524158955,
-0.011471472680568695,
-0.016499698162078857,
0.06834825873374939,
0.033426571637392044,
-0.021661415696144104,
-0.03009815327823162,
-0.05435822904109955,
-0.040581781417131424,
0.06393410265445709,
0.029226001352071762,
-0.02858523651957512,
0.017087064683437347,
-0.020931655541062355,
0.005068272817879915,
0.012788600288331509,
-0.05912836641073227,
0.05791803076863289,
0.0055933441035449505,
-0.026146769523620605,
0.006830376572906971,
-0.03415633365511894,
0.01922294870018959,
-0.07504069805145264,
-0.04140053689479828,
0.01132907997816801,
-0.03808991611003876,
0.030774516984820366,
-0.015841133892536163,
-0.005971573293209076,
0.037449151277542114,
-0.018884766846895218,
-0.03666599467396736,
-0.035811640322208405,
-0.018101610243320465,
-0.014782091602683067,
0.07959724962711334,
0.025879785418510437,
0.019329743459820747,
0.009442383423447609,
-0.04958808794617653,
-0.06133544445037842,
0.04097335785627365,
0.06902462244033813,
0.03143307939171791,
0.03705757483839989,
0.08080758154392242,
-0.0010162132093682885,
0.04844895005226135,
0.0077069783583283424,
0.015778837725520134,
-0.04634866490960121,
-0.04350082203745842,
-0.0069638690911233425,
-0.024972034618258476,
0.013838742859661579,
-0.01877797394990921,
-0.06286615878343582,
0.03659479692578316,
0.029848966747522354,
-0.029564183205366135,
-0.03294599801301956,
-0.015574147924780846,
0.041329339146614075,
0.014248120598495007,
0.02235557697713375,
0.034013938158750534,
-0.06539362668991089,
0.04503153637051582,
0.033462170511484146,
-0.02903021313250065,
0.005526597611606121,
-0.03469030186533928,
0.03191365301609039,
0.014915584586560726,
0.017149362713098526,
0.007391045801341534,
0.08999187499284744,
0.011791855096817017,
0.030899109318852425,
0.01332257129251957,
0.026111172512173653,
0.021643616259098053,
0.05225794389843941,
0.04723861813545227,
0.017603237181901932,
-0.05314789339900017,
0.001249269233085215,
0.0019467684905976057,
0.028336049988865852,
-0.0879271924495697,
-0.032536622136831284,
0.006745831109583378,
-0.019169552251696587,
-0.044177185744047165,
-0.004387460183352232,
0.02500763162970543,
-0.035989630967378616,
-0.028816623613238335,
-0.003506408305838704,
0.05880798399448395,
-0.05898597463965416,
0.03830350562930107,
0.011346879415214062,
-0.017763428390026093,
0.03218064084649086,
-0.015449554659426212,
0.010626018978655338,
-0.02264036238193512,
0.008708173409104347,
0.0030325092375278473,
0.07066213339567184,
0.035384465008974075,
-0.007386595942080021,
0.004712292458862066,
0.049374498426914215,
-0.02116304263472557,
-0.014960082247853279,
-0.034013938158750534,
-0.02858523651957512,
-0.03887307271361351,
0.020451081916689873,
0.02276495471596718,
-0.037306759506464005,
-0.048662539571523666,
0.00621630996465683,
-0.02650275081396103,
-0.022996341809630394,
0.04040379077196121,
-0.017469745129346848,
-0.035687047988176346,
0.04157852753996849,
-0.04552990943193436,
-0.007956164889037609,
0.0010646042646840215,
0.10978439450263977,
0.01993490941822529,
0.01772783137857914,
0.009584776125848293,
-0.014693096280097961,
-0.04068857431411743,
-0.05407344177365303,
-0.04884053021669388,
0.046170674264431,
0.04798617586493492,
0.01893816515803337,
0.008472336456179619,
-0.05090521648526192,
-0.013705250807106495,
-0.019472135230898857,
-0.039122261106967926,
-0.04033259302377701,
0.012316926382482052,
-0.024936435744166374,
-0.016935773193836212,
0.04264646768569946,
-0.04542311653494835,
0.04040379077196121,
-0.01726505532860756,
0.10245119780302048,
0.023619309067726135,
-0.08764240890741348,
-0.007742576766759157,
-0.004725641570985317,
-0.056102532893419266,
-0.02862083539366722,
0.04958808794617653,
0.03933585062623024,
0.04439077153801918,
-0.03986981883645058,
-0.014924483373761177,
-0.030151551589369774,
-0.02472284808754921,
-0.02474064752459526,
0.0037222213577479124,
0.01108879316598177,
-0.040296997874975204,
-0.059840328991413116,
-0.030614325776696205,
-0.02189280278980732,
0.028959015384316444,
0.013464963994920254,
0.0007609084132127464,
0.010990899056196213,
0.09889139235019684,
-0.04389239847660065,
0.031486477702856064,
0.01124008558690548,
-0.005722387228161097,
0.07279802113771439,
-0.010189943015575409,
-0.011685061268508434,
-0.012913193553686142,
-0.08102116733789444,
0.028976814821362495,
0.017781227827072144,
0.0402613990008831,
0.037199966609478,
-0.0018766848370432854,
-0.02054007723927498,
0.017612136900424957,
0.05464301258325577,
-0.02217758633196354,
-0.03266121447086334,
0.022319979965686798,
-0.0819467157125473,
0.034797098487615585,
-0.04378560557961464,
-0.042682066559791565,
-0.0790276750922203,
-0.01623271219432354,
-0.020664669573307037,
-0.026912128552794456,
-0.039407044649124146,
0.05912836641073227,
-0.005566645413637161,
0.002976887160912156,
-0.010928601957857609,
-0.034013938158750534,
-0.03812551498413086,
0.045209527015686035,
-0.027980070561170578,
-0.01154266856610775,
0.04111574962735176,
-0.02904801070690155,
-0.004961478523910046,
0.013901039958000183,
0.0016085869865491986,
0.026306960731744766,
-0.024544857442378998,
0.04980167746543884,
-0.01618821546435356,
0.0003070332168135792,
0.021803807467222214,
0.00849013589322567,
0.0042873406782746315,
-0.012272428721189499,
-0.061905015259981155,
-0.038944270461797714,
0.046562254428863525,
-0.09191417694091797,
0.035989630967378616,
-0.0020402134396135807,
0.005281860940158367,
-0.0031014804262667894,
-0.05948434770107269,
-0.08977828919887543,
-0.09170058369636536,
0.011889750137925148,
-0.02486523985862732,
-0.008107456378638744,
0.041329339146614075,
-0.031486477702856064,
0.05574655160307884,
-0.04723861813545227,
0.022124189883470535,
0.013206877745687962,
-0.01318017952144146,
-0.018261801451444626,
0.00024431943893432617,
0.037021975964307785,
-0.02192840166389942,
-0.046562254428863525,
-0.03563364967703819,
-0.0506204329431057,
0.03962063416838646,
-0.04293125122785568,
-0.021483425050973892,
-0.002858968684449792,
0.03488609194755554,
0.03141528367996216,
0.039122261106967926,
-0.02322772890329361,
0.06973658502101898,
0.012032141909003258,
-0.003335092682391405,
0.009611474350094795,
0.010848506353795528,
0.012049941346049309,
0.007141859270632267,
0.006376501172780991,
-0.04823536053299904,
0.009922957047820091,
0.03276800736784935,
-0.037306759506464005,
-0.01647299900650978,
-0.018706776201725006,
-0.021946199238300323,
0.02668074145913124,
-0.019258547574281693,
-0.01934754103422165,
0.023708302527666092,
-0.058309610933065414,
0.030418535694479942,
0.031077099964022636,
-0.012744102627038956,
0.01688237674534321,
-0.013553958386182785,
0.0908462330698967,
0.02563059888780117,
-0.03602522984147072,
-0.04517392814159393,
-0.025399211794137955,
0.0174875445663929,
0.031059300526976585,
0.001468419679440558,
0.014025633223354816,
-0.013091184198856354,
0.008588030003011227,
-0.002140332944691181,
-0.02664514258503914,
-0.00983396265655756,
0.03410293534398079,
0.007698079105466604,
0.059662338346242905,
0.051937561482191086,
0.02967097796499729,
-0.026929927989840508,
0.0012103337794542313,
0.03184245899319649,
-0.021483425050973892,
-0.08714403212070465,
0.07561026513576508,
0.009291091933846474,
-0.05841640383005142,
0.0015985750360414386,
0.05467861145734787,
0.03068552166223526,
-0.04250407591462135,
0.04706062749028206,
-0.024544857442378998,
0.051901962608098984,
0.049089714884757996,
-0.01772783137857914,
-0.038054317235946655,
-0.06749390810728073,
-0.009317790158092976,
-0.036701593548059464,
-0.010706114582717419,
0.018101610243320465,
-0.032251834869384766,
0.002825595438480377,
0.02443806268274784,
0.0037689439486712217,
0.001821062876842916,
0.03242982551455498,
-0.036434605717659,
-0.004427507985383272,
-0.011426975019276142,
0.07069773226976395,
-0.03460130840539932,
-0.059662338346242905,
-0.025701794773340225,
-0.02071806788444519,
-0.009219896048307419,
-0.06450366973876953,
-0.019151752814650536,
-0.02443806268274784,
0.02176821045577526,
0.009789464995265007,
0.009869560599327087,
-0.0007692516664974391,
0.0017409672727808356,
-0.05104760825634003,
0.06001831591129303,
-0.005717937368899584,
0.06051668897271156,
-0.03883747756481171,
-0.04791497811675072,
-0.048342157155275345,
-0.00900630746036768,
0.06660395860671997,
0.009940756484866142,
-0.024669451639056206,
0.00462329713627696,
0.017024768516421318,
-0.029386192560195923,
-0.03563364967703819,
-0.07511189579963684,
-0.015218167565762997,
0.03143307939171791,
0.030614325776696205,
0.013589557260274887,
-0.005268511828035116,
0.01677558198571205,
0.014817689545452595,
0.00318157603032887,
-0.024224475026130676,
-0.0011569367488846183,
-0.10067129135131836,
0.04695383086800575,
0.011676161549985409,
0.030151551589369774,
-0.07276242226362228,
-0.017006969079375267,
0.031201694160699844,
-0.018279600888490677,
-0.0401902012526989,
-0.0015184794319793582,
0.05677889660000801,
0.05008646100759506,
-0.01934754103422165,
-0.01035013422369957,
0.02130543440580368,
-0.029831169173121452,
0.004712292458862066,
-0.004832435864955187,
-0.0002788050624076277,
-0.05350387468934059,
0.03171786665916443,
0.0003790636546909809,
0.053076695650815964,
-0.0024006436578929424,
-0.017763428390026093,
0.0551057867705822,
-0.04293125122785568,
0.02516782283782959,
-0.004031479358673096,
-0.056672099977731705,
-0.03214504197239876,
0.021269837394356728,
0.005624492187052965,
-0.012477117590606213,
0.03458350896835327,
0.037484750151634216,
0.03951383754611015,
-0.03130848705768585,
-0.005028225015848875,
-0.042076900601387024,
-0.01847538910806179,
0.03333757817745209,
-0.004970378242433071,
-0.006990567781031132,
-0.03177126124501228,
0.023921892046928406,
-0.010581521317362785,
0.0011524870060384274,
0.02846064418554306,
-0.02102065086364746,
-0.015298263169825077,
-0.05492779612541199,
-0.010715014301240444,
0.010928601957857609,
-0.0023516963701695204,
0.028816623613238335,
-0.05435822904109955,
0.005486549809575081,
0.02874542772769928,
-0.05585334450006485,
0.027677485719323158,
0.02874542772769928,
-0.049516890197992325,
0.014426111243665218,
0.019863713532686234,
0.009308891370892525,
0.02276495471596718,
-0.03561585396528244,
0.07511189579963684,
-0.005722387228161097,
0.018973762169480324,
0.011960946023464203,
-0.02280055359005928,
-0.006865974515676498,
-0.013384868390858173,
-0.035687047988176346,
-0.005459851585328579,
0.03143307939171791,
0.006452146917581558,
0.028781026601791382,
-0.05022885277867317,
-0.03919345512986183,
0.06236778944730759,
0.04065297544002533,
0.018119409680366516,
-0.0506916269659996,
-0.02071806788444519,
0.014515106566250324,
0.01334037072956562,
0.02249796874821186,
-0.048342157155275345,
-0.08030920475721359,
-0.03663039579987526,
0.04887612536549568,
-0.018706776201725006,
-0.055924542248249054,
-0.03396054357290268,
0.06866864114999771,
0.026306960731744766,
-0.02116304263472557,
-0.027766481041908264,
-0.05585334450006485,
-0.0053931050933897495,
-0.022319979965686798,
-0.007889418862760067,
0.03289259970188141,
0.005766884423792362,
-0.0064343479461967945,
-0.02995576150715351,
0.02173261158168316,
-0.01796811819076538,
0.04157852753996849,
-0.025861985981464386,
0.03951383754611015,
-0.05005086213350296,
-0.053254686295986176,
0.026413755491375923,
0.00570013839751482,
0.04396359622478485,
-0.0009327802108600736,
-0.07044854760169983,
0.012032141909003258,
-0.002316098427399993,
0.020166296511888504,
-0.06073027849197388,
-0.011364678852260113,
-0.03709316998720169,
0.01586783304810524,
-0.019116153940558434,
0.013286973349750042,
0.020789263769984245,
-0.013251375406980515,
0.02668074145913124,
0.014319316484034061,
0.011373577639460564,
-0.0037377956323325634,
0.037484750151634216,
-0.0334799699485302,
0.0065767401829361916
] |
10,347 | tracking_numbers.types | TrackingNumber | TrackingNumber(number: str, courier: tracking_numbers.types.Courier, product: tracking_numbers.types.Product, serial_number: Optional[List[int]], tracking_url: Optional[str], validation_errors: List[Tuple[str, str]]) | class TrackingNumber:
number: str
courier: Courier
product: Product
serial_number: Optional[SerialNumber]
tracking_url: Optional[str]
validation_errors: List[ValidationError]
@property
def valid(self) -> bool:
return not self.validation_errors
| (number: str, courier: tracking_numbers.types.Courier, product: tracking_numbers.types.Product, serial_number: Optional[List[int]], tracking_url: Optional[str], validation_errors: List[Tuple[str, str]]) -> None | [
0.028199343010783195,
0.01639002375304699,
-0.05914324149489403,
0.05647599697113037,
-0.022806871682405472,
-0.04167085886001587,
-0.04623223468661308,
-0.03438425809144974,
0.030731292441487312,
-0.03274139016866684,
-0.0008739815675653517,
-0.019608110189437866,
0.04920872300863266,
-0.029784228652715683,
0.020758118480443954,
-0.02323208376765251,
-0.010427379049360752,
-0.027252279222011566,
0.035176701843738556,
-0.009185563772916794,
0.009200059808790684,
0.05404068902134895,
-0.007735974621027708,
0.08728460222482681,
-0.014660179615020752,
0.096175417304039,
0.0327027328312397,
0.04708265885710716,
-0.020835429430007935,
0.01252445112913847,
0.008354466408491135,
-0.019037939608097076,
0.054272621870040894,
0.028817834332585335,
0.03542796149849892,
-0.0025971808936446905,
-0.04259859770536423,
0.02367662452161312,
-0.15941616892814636,
0.05802222713828087,
0.0045420462265610695,
0.038037221878767014,
-0.014128663577139378,
0.026614459231495857,
0.004744988866150379,
-0.008286818861961365,
-0.020564839243888855,
0.07081726938486099,
-0.03314727544784546,
-0.03262542188167572,
0.035949815064668655,
0.03189096599817276,
-0.037186797708272934,
0.014196311123669147,
-0.022632921114563942,
0.029223719611763954,
0.06239032372832298,
0.08017195016145706,
0.02504890225827694,
0.021937116980552673,
-0.05531632900238037,
0.014205975458025932,
0.03105986677110195,
-0.12454871088266373,
0.06749287992715836,
-0.013249246403574944,
-0.0051508741453289986,
0.014041688293218613,
0.04580702260136604,
0.04074312373995781,
0.03882966563105583,
-0.014766482636332512,
-0.009567289613187313,
0.035485945641994476,
0.02344468981027603,
-0.04681206867098808,
-0.007107819430530071,
0.0311565063893795,
0.03894563391804695,
-0.07591982185840607,
0.03913890942931175,
0.04302380979061127,
0.01640935055911541,
-0.005909492261707783,
-0.010321076028048992,
0.01743372716009617,
0.026904378086328506,
-0.01675725169479847,
-0.029165737330913544,
0.07939884066581726,
-0.061037372797727585,
0.026285884901881218,
-0.0488608218729496,
0.0032833197619765997,
-0.006383024621754885,
0.007407401222735643,
0.015269007533788681,
-0.0500204935669899,
-0.07646100223064423,
0.005952979903668165,
0.002486045705154538,
0.018786676228046417,
-0.07054667919874191,
0.04321708902716637,
0.014785810373723507,
-0.06339537352323532,
-0.012195877730846405,
-0.03853974863886833,
0.05844743922352791,
0.04917006939649582,
0.006687438581138849,
-0.00031407768256030977,
-0.04758518561720848,
-0.0024957095738500357,
0.006634287070482969,
-0.005426296032965183,
-0.013200926594436169,
0.013954713009297848,
-0.04147757962346077,
-0.03158171847462654,
0.051721345633268356,
-0.03515737131237984,
-0.07735008746385574,
0.07128113508224487,
0.045536432415246964,
0.04244397580623627,
0.02404385432600975,
-0.0022915590088814497,
0.08287785202264786,
-0.051991935819387436,
0.0122152054682374,
-0.008982622064650059,
0.04283053055405617,
0.04630954563617706,
0.027735475450754166,
0.001880842144601047,
0.013877401128411293,
0.013742106035351753,
-0.03397837281227112,
0.007436392828822136,
-0.015433293767273426,
0.04279187694191933,
0.037631336599588394,
-0.04201875999569893,
0.01720179244875908,
0.02381191961467266,
-0.06320209056138992,
0.03353383392095566,
-0.08674342185258865,
-0.035891830921173096,
-0.019472816959023476,
-0.018496759235858917,
0.052533116191625595,
0.029455654323101044,
-0.06517353653907776,
0.013065631501376629,
0.0003252516034990549,
-0.013635803014039993,
0.06857524067163467,
0.025744706392288208,
0.01235050056129694,
-0.01252445112913847,
0.030267424881458282,
-0.035988468676805496,
-0.012427812442183495,
0.022439641878008842,
-0.002633420517668128,
-0.0755719244480133,
-0.0032132563646882772,
0.05063898488879204,
-0.018264824524521828,
-0.02417914941906929,
0.019927021116018295,
0.07646100223064423,
-0.026923704892396927,
0.04746921733021736,
0.036722928285598755,
-0.013587483204901218,
0.037457387894392014,
0.04310112074017525,
-0.03256743773818016,
0.0315430611371994,
-0.012234533205628395,
-0.014360598288476467,
0.0498272143304348,
0.0037351083010435104,
-0.00780845433473587,
0.0023869904689490795,
0.036684274673461914,
0.02528083696961403,
0.04878351092338562,
0.02319342829287052,
0.036201074719429016,
-0.035640567541122437,
-0.014109335839748383,
-0.01696985773742199,
0.019830381497740746,
0.003174600424245,
-0.053344886749982834,
-0.00435359962284565,
0.009973173961043358,
0.01259209867566824,
-0.0174143984913826,
-0.007644167635589838,
-0.061230652034282684,
0.03430694714188576,
-0.019192561507225037,
0.01214755792170763,
0.005648566409945488,
-0.008702367544174194,
0.00859123282134533,
-0.006305713206529617,
-0.02520352602005005,
0.05906593054533005,
0.044879283756017685,
-0.0778912678360939,
0.026575803756713867,
0.002809787169098854,
0.01244714017957449,
0.01271773036569357,
0.10491161048412323,
-0.0650189146399498,
-0.0004992022877559066,
-0.028856489807367325,
0.01617741584777832,
0.05539363995194435,
-0.008987453766167164,
-0.030866587534546852,
-0.019627438858151436,
-0.01590682566165924,
-0.029784228652715683,
0.0012780545512214303,
-0.04859023168683052,
0.07599713653326035,
0.005576086696237326,
-0.01629338413476944,
-0.035563256591558456,
-0.0008069380419328809,
-0.03181365132331848,
-0.00789059791713953,
0.004539630375802517,
-0.019985003396868706,
0.018197176977992058,
0.02294216677546501,
0.005179865751415491,
-0.015442958101630211,
-0.02479764074087143,
0.06784077733755112,
-0.019414832815527916,
-0.04074312373995781,
-0.0241404939442873,
-0.00430044811218977,
-0.013336221687495708,
0.029880866408348083,
0.009784727357327938,
0.0027783794794231653,
-0.08032657206058502,
-0.08326441049575806,
0.06354999542236328,
-0.026769082993268967,
-0.013403869234025478,
-0.02475898526608944,
0.025860672816634178,
0.07804588973522186,
-0.029610278084874153,
-0.020738789811730385,
-0.0000323137610394042,
0.030634652823209763,
-0.01165469828993082,
0.011577386409044266,
0.11457553505897522,
-0.03432627394795418,
-0.019946347922086716,
0.0010509522398933768,
0.014244630932807922,
-0.07112651318311691,
-0.019356848672032356,
0.007030508015304804,
-0.0488608218729496,
-0.02452705055475235,
-0.0060786111280322075,
-0.000800898065790534,
0.04708265885710716,
-0.052533116191625595,
0.0492473803460598,
-0.002722811885178089,
0.02477831207215786,
0.01158705074340105,
-0.04182548448443413,
-0.043487679213285446,
-0.022265691310167313,
0.018342137336730957,
0.03223886713385582,
-0.006334705278277397,
0.029590949416160583,
-0.061771832406520844,
-0.03105986677110195,
0.02301947772502899,
-0.014872785657644272,
-0.04855157807469368,
0.03509938716888428,
0.053035639226436615,
-0.011741673573851585,
-0.04275321960449219,
-0.05438859015703201,
-0.008997117169201374,
0.035640567541122437,
-0.012292517349123955,
0.035060733556747437,
0.004051601979881525,
0.03204558789730072,
0.09803089499473572,
-0.022748887538909912,
0.037612009793519974,
0.07835513353347778,
-0.036220405250787735,
-0.06691303849220276,
-0.0020862005185335875,
0.007658663205802441,
0.08991318941116333,
0.019830381497740746,
-0.003541829762980342,
0.007354249712079763,
0.022671576589345932,
-0.04955662414431572,
-0.04027925431728363,
0.01710515283048153,
-0.0002660600293893367,
-0.06420714408159256,
-0.0011844352120533586,
-0.05036839470267296,
-0.03399769961833954,
0.018255161121487617,
-0.005030074622482061,
0.01653498224914074,
-0.028991784900426865,
0.0026914041955024004,
-0.014360598288476467,
0.04859023168683052,
-0.009451322257518768,
0.0012949664378538728,
-0.019414832815527916,
-0.030518686398863792,
0.029127079993486404,
-0.04978856071829796,
-0.02381191961467266,
-0.01728876866400242,
-0.030248096212744713,
0.044415414333343506,
-0.017820283770561218,
-0.07526267319917679,
-0.012157222256064415,
0.00834963470697403,
-0.004392255563288927,
0.08519719541072845,
-0.06942566484212875,
-0.01694086752831936,
-0.011248813010752201,
0.020274922251701355,
0.009804055094718933,
0.007494376506656408,
-0.026092607527971268,
-0.03326324373483658,
-0.02446906641125679,
-0.043603647500276566,
-0.000522758113220334,
0.04255994036793709,
-0.05663062259554863,
-0.006697102449834347,
0.011538730934262276,
-0.04294649884104729,
-0.011229485273361206,
0.011200493201613426,
-0.018303479999303818,
0.052571769803762436,
0.04665744677186012,
0.015442958101630211,
0.04020194336771965,
-0.037225451320409775,
-0.0028122032526880503,
-0.022188380360603333,
0.036916207522153854,
-0.028334638103842735,
0.04286918789148331,
0.02371527999639511,
0.009866870939731598,
-0.005368312355130911,
0.018815668299794197,
-0.037747304886579514,
0.022285019978880882,
0.021009379997849464,
-0.052687738090753555,
-0.0811770036816597,
-0.022690903395414352,
-0.05535498261451721,
-0.06003232300281525,
0.02373460866510868,
0.027503540739417076,
0.035041406750679016,
-0.044956594705581665,
0.018583735451102257,
-0.05690121278166771,
-0.01742406375706196,
0.051991935819387436,
0.007344585843384266,
-0.001894130022265017,
0.02408250980079174,
-0.01748204603791237,
-0.026788409799337387,
-0.029842210933566093,
0.01636103168129921,
-0.03262542188167572,
0.015336655080318451,
-0.04020194336771965,
-0.021608544513583183,
0.019907692447304726,
-0.01772364415228367,
-0.045381806790828705,
-0.0010068605188280344,
0.0006927828653715551,
0.00034971340210177004,
0.04240531846880913,
-0.019695086404681206,
0.03743806108832359,
-0.03301198035478592,
0.0069725243374705315,
0.043564990162849426,
0.010398386977612972,
0.012601763010025024,
0.04603895545005798,
0.04971124976873398,
-0.00878934282809496,
-0.00585150858387351,
-0.04793308675289154,
0.018090873956680298,
-0.04379692301154137,
-0.0163996871560812,
-0.031079193577170372,
-0.038114532828330994,
-0.0037713481578975916,
-0.02468167431652546,
0.00814185943454504,
0.04735324904322624,
0.03935151547193527,
0.04085908830165863,
-0.036239732056856155,
-0.021898461505770683,
-0.021125348284840584,
0.0313497856259346,
-0.036027126014232635,
-0.0352153554558754,
-0.019095923751592636,
0.043139778077602386,
-0.03223886713385582,
0.0319296196103096,
-0.027928752824664116,
-0.08566106110811234,
-0.05133478716015816,
0.014457236975431442,
-0.03156239166855812,
-0.037843942642211914,
0.029861539602279663,
-0.07607444375753403,
-0.013983705081045628,
-0.03954479470849037,
0.031040538102388382,
-0.012804705649614334,
0.027406901121139526,
-0.062158387154340744,
0.05933652073144913,
0.01566522754728794,
-0.029378343373537064,
0.01734675094485283,
0.01771398074924946,
-0.05624406412243843,
0.027310261502861977,
0.01680557243525982,
0.014930769801139832,
-0.019395504146814346,
-0.07159038633108139,
-0.003556325798854232,
0.02300015091896057,
-0.027310261502861977,
0.006851725280284882,
0.01726943999528885,
0.018583735451102257,
0.005721045657992363,
-0.030364064499735832,
-0.0019255377119407058,
0.030054816976189613,
-0.009818551130592823,
-0.01592615433037281,
-0.00860572885721922,
-0.01705683395266533,
-0.009596280753612518,
0.027464885264635086,
0.03324391320347786,
0.020564839243888855,
0.026247229427099228,
0.004602445755153894,
0.010871919803321362,
0.026073278859257698,
0.03285735845565796,
0.008784511126577854,
0.07309795916080475,
-0.03436493128538132,
-0.06602396070957184,
0.019018610939383507,
-0.06389789283275604,
0.012920672073960304,
-0.027542196214199066,
0.0014411333249881864,
0.11828648298978806,
0.036974191665649414,
-0.026614459231495857,
0.0011759792687371373,
-0.045033905655145645,
-0.04101371392607689,
-0.007262442260980606,
0.03969942033290863,
0.004271456506103277,
0.03931286185979843,
0.030711965635418892,
-0.04835829883813858,
0.014544212259352207,
0.03392038866877556,
-0.07282736897468567,
-0.026131263002753258,
-0.009011613205075264,
0.0064844959415495396,
0.04074312373995781,
-0.014573204331099987,
0.013539164327085018,
0.05013646185398102,
-0.01165469828993082,
0.022343002259731293,
0.022207707166671753,
-0.019530799239873886,
-0.02504890225827694,
-0.011277805082499981,
0.03278004750609398,
0.04665744677186012,
-0.018757686018943787,
-0.005537431221455336,
0.025918656960129738,
-0.00616075424477458,
-0.0012816785601899028,
0.026266558095812798,
-0.035118717700242996,
0.00015537785657215863,
-0.010813935659825802,
0.01638035848736763,
0.017530366778373718,
-0.04027925431728363,
0.025918656960129738,
-0.02356065809726715,
0.028257327154278755,
0.03123381733894348,
0.061191994696855545,
-0.007450888864696026,
0.02417914941906929,
-0.019018610939383507,
-0.044067513197660446,
-0.0027977072168141603,
-0.07591982185840607,
-0.012466467916965485,
0.005479447543621063,
-0.04120699316263199,
0.0176559966057539,
0.02439175546169281,
0.031214488670229912,
-0.013703450560569763,
-0.020042987540364265,
0.04302380979061127,
0.02319342829287052,
-0.0239472147077322,
0.00036692729918286204,
0.04762383922934532,
-0.02522285282611847,
-0.04105236753821373,
0.028411950916051865,
0.014959761872887611,
-0.03921622037887573,
-0.06652648746967316,
0.003698868677020073,
-0.045149873942136765,
-0.08975856751203537,
-0.020313577726483345,
0.013519835658371449,
-0.061269305646419525,
0.037708647549152374,
-0.01258243527263403,
-0.02468167431652546,
0.00862988829612732,
0.007272106129676104,
0.028295982629060745,
-0.0504070520401001,
-0.03830781206488609,
0.00014412844029720873,
0.030808603391051292,
0.001208595116622746,
0.053924720734357834,
-0.022265691310167313,
-0.0065714712254703045,
0.051760002970695496,
-0.07286602258682251,
-0.027774130925536156,
-0.0068807173520326614,
-0.031446423381567,
-0.03962210565805435,
0.0038172518834471703,
0.036916207522153854,
-0.010755952447652817,
-0.0004998063086532056,
0.017598014324903488,
-0.026730425655841827,
-0.010659312829375267,
0.0490541011095047,
-0.04221203923225403,
-0.014515221118927002,
0.02404385432600975,
0.012253861874341965,
0.008977789431810379,
0.059375178068876266,
-0.04870619997382164,
-0.026479164138436317,
0.01231184508651495,
-0.04893813282251358,
-0.0353119932115078,
-0.0648256316781044,
0.027600180357694626,
-0.0000984512735158205,
0.01689254678785801,
0.001845810329541564,
-0.01629338413476944,
-0.04283053055405617,
0.004725661128759384,
0.029049769043922424,
0.04163220524787903,
0.012534115463495255,
-0.09099555015563965,
0.014853457920253277,
-0.06335671246051788,
0.021144675090909004,
-0.01743372716009617,
0.004293200094252825,
-0.02487495169043541,
-0.026343869045376778,
0.045420464128255844,
0.0013408700469881296,
-0.060418881475925446,
0.08844427764415741,
-0.013848409987986088,
0.003334055421873927,
0.013577819801867008,
0.01660262979567051,
0.0035853174049407244,
0.020719463005661964,
0.037534698843955994,
-0.01262109074741602,
-0.05036839470267296,
0.010891247540712357,
0.03950614109635353,
-0.044415414333343506,
0.006271889433264732,
0.03935151547193527,
0.019376177340745926,
-0.036819566041231155,
-0.022787543013691902,
0.027058999985456467,
-0.04901544749736786,
0.036761585623025894,
0.008339970372617245,
0.001133095589466393,
-0.002163511933758855,
-0.002940250327810645,
-0.022188380360603333,
0.006634287070482969,
0.005981971975415945,
-0.011287468485534191,
0.014805139042437077,
-0.0321228988468647,
0.0037785961758345366,
0.006344369146972895,
0.017868604511022568,
0.01272739376872778,
0.004418831318616867,
0.006682606413960457,
0.03301198035478592,
0.0006710390443913639,
-0.0056968857534229755,
-0.015587916597723961,
0.009668760932981968,
0.005561591126024723,
-0.0168345645070076,
-0.0004297428240533918,
-0.036587633192539215,
0.027967410162091255,
0.0037230285815894604,
-0.01633203960955143,
0.003867987310513854,
-0.01279504131525755,
-0.005754869431257248,
0.051218822598457336,
-0.0166412852704525,
-0.01551060564815998,
-0.0023302147164940834,
-0.037631336599588394,
0.021299298852682114,
-0.027909426018595695,
0.03917756676673889,
0.05133478716015816,
-0.011818984523415565,
-0.09571155160665512,
-0.0330892913043499,
0.027232950553297997,
0.03898428753018379,
0.04658013582229614,
-0.0013432861305773258,
0.013896728865802288,
0.04255994036793709,
0.03879100829362869,
0.018013563007116318,
-0.011403435841202736,
-0.022130396217107773,
0.05110285431146622,
0.01754969358444214,
-0.044917941093444824,
-0.019492143765091896,
-0.022806871682405472,
0.0488608218729496,
0.035563256591558456,
-0.07939884066581726,
-0.012302180752158165,
0.009045436978340149,
-0.009431994520127773,
-0.02419847808778286,
0.02547411620616913,
0.005242681130766869,
0.045033905655145645,
0.06644917279481888,
-0.0044623189605772495,
0.043333057314157486,
-0.00290642655454576,
-0.05145075544714928,
0.059375178068876266,
0.029011113569140434,
-0.013142942450940609,
-0.02514554187655449,
-0.07638369500637054,
0.007581351790577173,
-0.0035901495721191168,
-0.012775713577866554,
-0.04097505658864975,
0.05898861959576607,
0.01578119583427906,
-0.02502957545220852,
0.03515737131237984,
-0.026691770181059837,
-0.0325094573199749,
-0.044801972806453705,
0.006987020373344421,
0.0008492177003063262,
0.010021493770182133,
-0.03334055468440056,
0.04677341505885124,
-0.019076595082879066,
0.05763566866517067
] |
10,348 | tracking_numbers.types | __eq__ | null | from dataclasses import dataclass
from typing import Any
from typing import Dict
from typing import List
from typing import Optional
from typing import Tuple
Spec = Dict[str, Any]
SerialNumber = List[int]
ValidationError = Tuple[str, str]
@dataclass
class Product:
name: str
| (self, other) | [
0.090623639523983,
-0.0014125265879556537,
-0.023173758760094643,
-0.0499354749917984,
-0.005895160138607025,
-0.07320170849561691,
-0.03203268349170685,
-0.06069934368133545,
0.07893504202365875,
-0.01400967501103878,
-0.0025291393976658583,
0.009515482001006603,
-0.023229243233799934,
-0.022027092054486275,
0.004279192537069321,
-0.0379139706492424,
-0.02546709217131138,
0.04146493971347809,
0.014287094585597515,
0.03403010219335556,
0.030072253197431564,
0.0702795535326004,
-0.040059346705675125,
0.08411353081464767,
0.01951182447373867,
0.04882579669356346,
0.0573333241045475,
0.02324773743748665,
0.009903869591653347,
-0.04316644370555878,
0.0008131853537634015,
-0.018596339970827103,
0.02395053394138813,
0.05803611874580383,
0.007656772620975971,
-0.02247096411883831,
0.018688812851905823,
0.023747092112898827,
-0.06857804954051971,
0.03046063892543316,
0.0024482253938913345,
-0.010098062455654144,
-0.052080851048231125,
-0.02990580163896084,
0.01706128753721714,
0.040059346705675125,
-0.011808815412223339,
0.02330322191119194,
-0.051526013761758804,
0.0150916101410985,
0.034326016902923584,
-0.007360858842730522,
-0.016580427065491676,
0.02071397379040718,
-0.023321716114878654,
0.023414188995957375,
0.013723008334636688,
0.08551912754774094,
0.006861504167318344,
0.04886278510093689,
-0.028685156255960464,
0.01125397626310587,
0.012807524763047695,
-0.07641977071762085,
-0.026761716231703758,
-0.03449246659874916,
-0.03954149782657623,
-0.0006461557932198048,
-0.00597376236692071,
0.02543010376393795,
-0.024209458380937576,
-0.004780859220772982,
-0.01877203956246376,
0.05737031251192093,
0.07009460777044296,
-0.036693327128887177,
-0.024394404143095016,
-0.03412257507443428,
0.06650665402412415,
-0.06458321213722229,
-0.011429674923419952,
-0.038209885358810425,
-0.05703740939497948,
0.008267095312476158,
-0.016118060797452927,
0.060588374733924866,
0.008068278431892395,
0.026743220165371895,
-0.01017204113304615,
0.020584512501955032,
-0.07974880188703537,
0.044128164649009705,
-0.039652466773986816,
0.08788643777370453,
0.012983223423361778,
-0.013094191439449787,
0.042426660656929016,
-0.04039224982261658,
-0.0356021448969841,
0.0369892418384552,
0.038616765290498734,
0.009312041103839874,
0.005710213910788298,
0.028000855818390846,
-0.03676730394363403,
-0.05222880840301514,
-0.0024459136184304953,
0.016820857301354408,
0.024375909939408302,
0.03538020700216293,
-0.0022875533904880285,
0.008558385074138641,
-0.01257634162902832,
0.020547522231936455,
0.0021557791624218225,
-0.04960257187485695,
0.014619997702538967,
0.0006952821277081966,
-0.03023870475590229,
-0.014018922112882137,
0.028130317106842995,
0.004360106773674488,
-0.04039224982261658,
0.10719481855630875,
0.018457630649209023,
0.0268171988427639,
0.04435009881854057,
-0.0031995694153010845,
0.02149074897170067,
0.00009471268276683986,
0.03280945494771004,
0.005192364566028118,
-0.010791610926389694,
0.0287961233407259,
0.051858916878700256,
-0.0022702147252857685,
0.028222789987921715,
0.014601502567529678,
0.00010432121780468151,
0.01439806167036295,
0.031144941225647926,
0.005691719241440296,
0.0042491392232477665,
-0.021213330328464508,
-0.027298059314489365,
-0.04582966864109039,
-0.03351225331425667,
-0.022304512560367584,
-0.05933074280619621,
0.0028759134002029896,
-0.05925676226615906,
-0.0062419343739748,
0.04179784283041954,
0.03439999371767044,
-0.038616765290498734,
-0.03292042389512062,
-0.0189569853246212,
-0.10860040783882141,
0.05777719244360924,
-0.02940644696354866,
-0.007573546841740608,
-0.05067525804042816,
0.01793978177011013,
0.00005161877561477013,
0.001558171701617539,
0.02838924154639244,
-0.03656386584043503,
-0.06850407272577286,
-0.0030654834117740393,
-0.01641397550702095,
-0.015618707053363323,
-0.03648988530039787,
0.019474836066365242,
0.03245805948972702,
-0.026003435254096985,
0.030109241604804993,
0.01567419059574604,
-0.020214619114995003,
0.061698053032159805,
-0.02589246816933155,
-0.004575106780976057,
0.011374191381037235,
-0.030590102076530457,
0.07664170861244202,
0.04102106764912605,
0.012215696275234222,
-0.05056429281830788,
0.04379526153206825,
0.05718536674976349,
-0.0141021478921175,
-0.000880806299392134,
-0.015202578157186508,
-0.02746451087296009,
0.015960857272148132,
0.010458707809448242,
0.009376772679388523,
0.020639996975660324,
0.03504730388522148,
-0.05777719244360924,
0.05119311064481735,
-0.036267951130867004,
-0.020399566739797592,
0.03195870295166969,
0.01844838447868824,
-0.019641287624835968,
-0.005913654807955027,
0.032846447080373764,
0.02796386554837227,
-0.0283337589353323,
-0.07745546847581863,
-0.0053079561330378056,
0.009950106032192707,
-0.010717632248997688,
0.004172848537564278,
0.07752944529056549,
-0.06325159966945648,
0.06602579355239868,
-0.06199396774172783,
0.018004512414336205,
-0.047235261648893356,
0.0973556786775589,
-0.04150192812085152,
0.016478706151247025,
0.04065117612481117,
0.03795095905661583,
-0.015452255494892597,
-0.02065849117934704,
-0.01190128829330206,
-0.008216234855353832,
-0.016996556892991066,
-0.04864085093140602,
-0.021527737379074097,
0.002977633848786354,
0.011956771835684776,
0.025393113493919373,
0.028962574899196625,
-0.0032573649659752846,
-0.0187258031219244,
0.010236772708594799,
0.00822548195719719,
0.023654619231820107,
-0.013639782555401325,
-0.05219181999564171,
-0.021879136562347412,
-0.039652466773986816,
-0.0007698385743424296,
0.03809891641139984,
0.05274665728211403,
0.003920859657227993,
-0.05674149468541145,
-0.026891177520155907,
0.015063867904245853,
0.04483095929026604,
0.02639182284474373,
0.019030964002013206,
0.002702526282519102,
-0.017264727503061295,
-0.06199396774172783,
0.07057546824216843,
-0.05470708757638931,
-0.014536771923303604,
-0.04697633534669876,
-0.0052247303538024426,
0.11984513700008392,
0.0003849192871712148,
-0.03991138935089111,
0.0033613971900194883,
0.03517676889896393,
-0.007541181519627571,
0.007194407284259796,
0.11977116018533707,
0.026706231757998466,
0.037192679941654205,
-0.0003447512863203883,
0.014388814568519592,
-0.004850214347243309,
0.006533224601298571,
-0.014647739008069038,
0.02099139429628849,
0.010606665164232254,
-0.02025160938501358,
-0.04076214134693146,
0.016950318589806557,
-0.02565203793346882,
0.09284299612045288,
-0.015332040376961231,
-0.0039370423182845116,
0.0003574663423933089,
-0.012076986953616142,
-0.010847094468772411,
-0.005492902360856533,
0.018873760476708412,
-0.0006062767934054136,
-0.033031392842531204,
0.014777201227843761,
0.010005589574575424,
-0.033364295959472656,
-0.012511610984802246,
0.033549241721630096,
-0.05174794793128967,
0.03380816429853439,
0.030849026516079903,
0.0764937475323677,
-0.04527483135461807,
-0.055039990693330765,
-0.01313118077814579,
0.053930312395095825,
-0.02269289828836918,
-0.04335138946771622,
0.026706231757998466,
0.019012469798326492,
0.098539337515831,
-0.034658920019865036,
0.06280773133039474,
-0.0012472309172153473,
0.009298169985413551,
-0.03338278830051422,
0.0007178224623203278,
-0.012705803848803043,
0.05304257199168205,
-0.013195911422371864,
-0.02759397402405739,
0.008146880194544792,
-0.011734836734831333,
0.010227524675428867,
-0.03695224970579147,
-0.005553009919822216,
-0.022138061001896858,
0.015507739037275314,
0.002677096286788583,
-0.05515095591545105,
-0.004466450773179531,
0.044091176241636276,
0.05526192486286163,
0.03073805943131447,
0.006413009483367205,
0.01709827594459057,
-0.06872601062059402,
-0.017717845737934113,
-0.025448597967624664,
0.019752254709601402,
-0.05381934344768524,
-0.012613330967724323,
0.015063867904245853,
-0.02315526455640793,
-0.04142794758081436,
-0.005123009905219078,
-0.04235268011689186,
0.0585169792175293,
0.059293754398822784,
-0.03225461766123772,
-0.03410407900810242,
0.05045332387089729,
0.0008888976881280541,
0.09106750786304474,
-0.07405246049165726,
-0.016774620860815048,
-0.018790533766150475,
-0.021305803209543228,
-0.0031718274112790823,
0.09003181010484695,
-0.020917415618896484,
-0.017671609297394753,
0.0034700531978160143,
-0.024190964177250862,
0.023136770352721214,
-0.02912902645766735,
-0.009663439355790615,
0.04139095917344093,
0.017856555059552193,
-0.0036041392013430595,
-0.015396771021187305,
-0.035805583000183105,
-0.03458493947982788,
0.030294187366962433,
0.018938491120934486,
-0.022914834320545197,
0.02099139429628849,
-0.10075869411230087,
-0.0068337623961269855,
-0.03689676895737648,
-0.045570746064186096,
0.027612468227744102,
0.005488278344273567,
-0.014962147921323776,
-0.005442041903734207,
-0.007083439733833075,
0.004410966765135527,
-0.02524515613913536,
0.02533762902021408,
-0.012308170087635517,
-0.01747741550207138,
-0.022618921473622322,
-0.011873546056449413,
-0.015877632424235344,
-0.05407826974987984,
-0.02700214646756649,
-0.012890750542283058,
-0.0268171988427639,
0.005710213910788298,
-0.027168598026037216,
-0.0656559020280838,
0.007726127747446299,
0.03267999365925789,
0.022674404084682465,
-0.02176816761493683,
0.05074923858046532,
-0.05378235504031181,
-0.013288384303450584,
0.05074923858046532,
0.0825599879026413,
0.0010697981342673302,
0.0026979027315974236,
-0.04771612212061882,
0.014120643027126789,
0.026225371286273003,
0.06476815789937973,
0.005793439690023661,
0.013778491877019405,
0.02432042546570301,
0.03390063717961311,
-0.0010252954671159387,
0.02552257664501667,
0.016330748796463013,
-0.0022771500516682863,
0.018855266273021698,
0.01134644914418459,
-0.025485586374998093,
0.021046878769993782,
0.012317417189478874,
-0.020769458264112473,
0.014860427007079124,
-0.055964719504117966,
-0.06602579355239868,
0.055816762149333954,
-0.06291870027780533,
-0.014823438599705696,
-0.05755525827407837,
-0.010671395808458328,
-0.023451179265975952,
-0.0356021448969841,
-0.015868384391069412,
0.046902358531951904,
0.011808815412223339,
-0.023173758760094643,
-0.040429238229990005,
-0.02857418917119503,
0.010597417131066322,
0.05637160316109657,
-0.025393113493919373,
0.016478706151247025,
-0.029813328757882118,
0.06643267720937729,
0.0018355910433456302,
0.047827087342739105,
-0.052672676742076874,
-0.043573323637247086,
-0.07438535988330841,
0.013870964758098125,
-0.013057202100753784,
-0.013991179876029491,
-0.04705031216144562,
0.01803225465118885,
0.002799623180180788,
0.0031232789624482393,
0.03251354396343231,
0.0030562360771000385,
-0.010717632248997688,
-0.006449998822063208,
0.023321716114878654,
0.044276122003793716,
-0.010671395808458328,
0.058369021862745285,
-0.0022193545009940863,
-0.019826233386993408,
0.04483095929026604,
0.05718536674976349,
0.025689028203487396,
-0.05219181999564171,
-0.055003002285957336,
0.06780127435922623,
0.0184946209192276,
0.012613330967724323,
0.0047138165682554245,
-0.009066987782716751,
-0.007874084636569023,
0.03610149770975113,
-0.03715569153428078,
-0.024468382820487022,
0.0437212809920311,
-0.022082576528191566,
0.00850752554833889,
0.024024512618780136,
0.02857418917119503,
0.05381934344768524,
-0.008012793958187103,
0.04479397088289261,
0.05222880840301514,
-0.02787139266729355,
-0.021897630766034126,
0.020676985383033752,
0.0017974459333345294,
0.021287307143211365,
-0.042611606419086456,
0.042093757539987564,
-0.06576687097549438,
-0.00702795572578907,
0.018559351563453674,
-0.009154836647212505,
0.0026724727358669043,
-0.06321461498737335,
-0.0013662900310009718,
0.11318707466125488,
0.013501073233783245,
0.02108386717736721,
0.013907954096794128,
0.008489030413329601,
0.009469245560467243,
-0.04157590493559837,
0.0300537571310997,
-0.02509719878435135,
0.037377625703811646,
0.045237842947244644,
-0.004221396986395121,
0.0028851607348769903,
0.023377200588583946,
-0.0031232789624482393,
-0.05770321562886238,
0.03695224970579147,
0.048936765640974045,
0.004938063677400351,
-0.026502789929509163,
0.013297632336616516,
0.03846881166100502,
-0.026280855759978294,
0.013279137201607227,
0.021324297413229942,
0.01262257806956768,
0.015516986139118671,
-0.016700642183423042,
0.06092127785086632,
0.04619956016540527,
0.006574837490916252,
-0.008045160211622715,
0.023932037875056267,
0.055039990693330765,
-0.0300537571310997,
0.0209359098225832,
-0.051341064274311066,
-0.02875913493335247,
-0.016848599538207054,
-0.00024129699158947915,
0.005053654778748751,
-0.004961181897670031,
-0.039467521011829376,
-0.016663653776049614,
0.022914834320545197,
-0.020547522231936455,
0.0184946209192276,
-0.004993547685444355,
-0.004232956096529961,
-0.003911612089723349,
0.019382361322641373,
0.022267522290349007,
0.026465801522135735,
-0.036915261298418045,
-0.023747092112898827,
-0.002855106955394149,
-0.03576859459280968,
-0.012789029628038406,
0.018198706209659576,
-0.019585803151130676,
0.01111526694148779,
0.06780127435922623,
0.02764945663511753,
-0.0005583063466474414,
-0.0025984940584748983,
-0.009894621558487415,
-0.05145203322172165,
-0.08152428269386292,
0.016848599538207054,
0.04823397099971771,
-0.04164988547563553,
-0.059626657515764236,
-0.006029246374964714,
-0.040984079241752625,
-0.08329977095127106,
-0.02811182290315628,
-0.02570752240717411,
-0.04083612188696861,
0.026613758876919746,
0.03055311180651188,
-0.04309246689081192,
0.009344406425952911,
0.004392472095787525,
0.009709675796329975,
-0.03961547836661339,
0.018744297325611115,
-0.011549890041351318,
-0.02176816761493683,
-0.0508602075278759,
0.05529891327023506,
-0.003497794969007373,
-0.0017199997091665864,
0.09395267069339752,
-0.055631816387176514,
-0.026595264673233032,
0.011355697177350521,
0.0017338705947622657,
-0.018300427123904228,
0.021379781886935234,
0.022212039679288864,
-0.012224944308400154,
0.025818489491939545,
0.0110967718064785,
-0.028648165985941887,
-0.03221762925386429,
-0.03171827271580696,
-0.001939623267389834,
-0.033771175891160965,
-0.02579999528825283,
0.03314235806465149,
0.040244292467832565,
0.04309246689081192,
-0.029295478016138077,
-0.016580427065491676,
-0.05537289381027222,
-0.041132036596536636,
-0.012816771864891052,
-0.11200342327356339,
0.04571869969367981,
-0.017819566652178764,
0.08847825974225998,
-0.036138489842414856,
-0.04823397099971771,
-0.021102361381053925,
0.006343654822558165,
0.013464083895087242,
0.02176816761493683,
0.01257634162902832,
-0.03715569153428078,
0.003823762759566307,
-0.04823397099971771,
0.03297590836882591,
0.0015269620344042778,
0.00776774063706398,
-0.009446127340197563,
-0.07364557683467865,
0.04124300181865692,
-0.0110967718064785,
-0.025596555322408676,
0.029018059372901917,
-0.017643867060542107,
0.010190535336732864,
0.027168598026037216,
0.027760425582528114,
-0.00046005367767065763,
-0.04131698235869408,
0.01844838447868824,
0.01345483586192131,
-0.0360645093023777,
-0.01853160932660103,
0.034658920019865036,
-0.049306657165288925,
0.029887305572628975,
0.006792149506509304,
0.007055697496980429,
-0.06465718895196915,
0.041538916528224945,
0.016469459980726242,
-0.0023441931698471308,
0.054485149681568146,
0.037655048072338104,
-0.028167307376861572,
-0.04194580018520355,
-0.01696881465613842,
-0.02052902802824974,
0.004656020551919937,
0.03778450936079025,
-0.02552257664501667,
0.029646877199411392,
-0.041723862290382385,
-0.0041520423255860806,
-0.013630535453557968,
-0.028370747342705727,
0.005650106351822615,
-0.007425589952617884,
-0.033771175891160965,
0.0006582929054275155,
-0.0652490183711052,
0.04479397088289261,
-0.06351052969694138,
-0.011984514072537422,
-0.023710103705525398,
-0.0520438626408577,
-0.05385633558034897,
0.0005351880681701005,
-0.0024089242797344923,
0.02015913650393486,
0.016016341745853424,
-0.0010085348039865494,
0.022045588120818138,
0.006875375285744667,
0.04849289357662201,
0.005553009919822216,
0.022896340116858482,
-0.06639568507671356,
-0.0030354296322911978,
0.055446870625019073,
-0.04520085081458092,
0.036230962723493576,
0.07945288717746735,
-0.010393976233899593,
-0.08492729812860489,
0.015221072360873222,
0.04335138946771622,
-0.005881289020180702,
0.049491602927446365,
-0.019160427153110504,
-0.010680642910301685,
0.013195911422371864,
0.03403010219335556,
0.009848385117948055,
0.021065372973680496,
-0.021102361381053925,
0.014342578127980232,
-0.014656986109912395,
-0.044867947697639465,
0.028648165985941887,
0.004776235669851303,
0.048566874116659164,
-0.003213440300896764,
-0.07797332108020782,
-0.03809891641139984,
-0.016515696421265602,
-0.05703740939497948,
-0.02472730726003647,
-0.0184946209192276,
0.03602752089500427,
0.06317762285470963,
0.01527655590325594,
0.07235095649957657,
0.04497891664505005,
0.05067525804042816,
-0.053560420870780945,
-0.00619569793343544,
0.029295478016138077,
0.027298059314489365,
0.0020529029425233603,
-0.06199396774172783,
0.018919996917247772,
0.02200859785079956,
-0.048381928354501724,
0.011374191381037235,
0.046532463282346725,
-0.020325588062405586,
0.03843181952834129,
-0.04028128460049629,
-0.023932037875056267,
-0.07871310412883759,
-0.004316181875765324,
0.011216986924409866,
-0.005719461478292942,
-0.017643867060542107,
-0.013057202100753784,
-0.01056042779237032,
0.005381934344768524,
0.014222363010048866
] |
10,351 | tracking_numbers.definition | TrackingNumberDefinition | null | class TrackingNumberDefinition:
courier: Courier
product: Product
number_regex: Pattern
tracking_url_template: Optional[str]
serial_number_parser: SerialNumberParser
checksum_validator: Optional[ChecksumValidator]
additional_validations: List[AdditionalValidation]
def __init__(
self,
courier: Courier,
product: Product,
number_regex: Pattern,
tracking_url_template: Optional[str],
serial_number_parser: SerialNumberParser,
checksum_validator: Optional[ChecksumValidator],
additional_validations: List[AdditionalValidation],
):
self.courier = courier
self.product = product
self.number_regex = number_regex
self.tracking_url_template = tracking_url_template
self.serial_number_parser = serial_number_parser
self.checksum_validator = checksum_validator
self.additional_validations = additional_validations
def __repr__(self):
return repr_with_args(
self,
courier=self.courier,
product=self.product,
number_regex=self.number_regex,
tracking_url_template=self.tracking_url_template,
serial_number_parser=self.serial_number_parser,
checksum_validator=self.checksum_validator,
additional_validations=self.additional_validations,
)
@classmethod
def from_spec(cls, courier: Courier, tn_spec: Spec) -> "TrackingNumberDefinition":
product = Product(name=tn_spec["name"])
tracking_url_template = tn_spec.get("tracking_url")
number_regex = parse_regex(tn_spec["regex"])
validation_spec = tn_spec["validation"]
serial_number_parser = (
UPSSerialNumberParser()
if courier.code == "ups"
else DefaultSerialNumberParser.from_spec(validation_spec)
)
additional_spec = tn_spec.get("additional")
additional_validations: List[AdditionalValidation] = []
if isinstance(additional_spec, list):
# Handles None and 1 that is a dict (seems like old format / mistake)
for spec in additional_spec:
additional_validations.append(AdditionalValidation.from_spec(spec))
return TrackingNumberDefinition(
courier=courier,
product=product,
number_regex=number_regex,
tracking_url_template=tracking_url_template,
serial_number_parser=serial_number_parser,
checksum_validator=ChecksumValidator.from_spec(validation_spec),
additional_validations=additional_validations,
)
def test(self, tracking_number: str) -> Optional[TrackingNumber]:
match = self.number_regex.fullmatch(tracking_number)
if not match:
return None
match_data = match.groupdict() if match else {}
serial_number = self._get_serial_number(match_data)
validation_errors = self._get_validation_errors(serial_number, match_data)
return TrackingNumber(
number=tracking_number,
courier=self.courier,
product=self.product,
serial_number=serial_number,
tracking_url=self.tracking_url(tracking_number),
validation_errors=validation_errors,
)
def _get_serial_number(self, match_data: MatchData) -> Optional[SerialNumber]:
raw_serial_number = match_data.get("SerialNumber")
if raw_serial_number:
return self.serial_number_parser.parse(
_remove_whitespace(raw_serial_number),
)
return None
def _get_validation_errors(
self,
serial_number: Optional[SerialNumber],
match_data: MatchData,
) -> List[ValidationError]:
errors: List[ValidationError] = []
checksum_error = self._get_checksum_errors(serial_number, match_data)
if checksum_error:
errors.append(checksum_error)
for validation in self.additional_validations:
additional_error = self._get_additional_error(validation, match_data)
if additional_error:
errors.append(additional_error)
return errors
def _get_checksum_errors(
self,
serial_number: Optional[SerialNumber],
match_data: MatchData,
) -> Optional[ValidationError]:
if not self.checksum_validator:
return None
if not serial_number:
return "checksum", "SerialNumber not found"
check_digit = match_data.get("CheckDigit")
if not check_digit:
return "checksum", "CheckDigit not found"
passes_checksum = self.checksum_validator.passes(
serial_number=serial_number,
check_digit=int(check_digit),
)
if not passes_checksum:
return "checksum", "Checksum validation failed"
return None
@staticmethod
def _get_additional_error(
validation: AdditionalValidation,
match_data: MatchData,
) -> Optional[ValidationError]:
group_key = validation.regex_group_name
raw_value = match_data.get(group_key)
if not raw_value:
return validation.name, f"{group_key} not found"
value = _remove_whitespace(raw_value)
matches_any_value = any(
value_matcher.matches(value) for value_matcher in validation.value_matchers
)
if not matches_any_value:
return validation.name, f"Match not found for {group_key}: {value}"
return None
def tracking_url(self, tracking_number: str) -> Optional[str]:
if not self.tracking_url_template:
return None
return self.tracking_url_template % tracking_number
| (courier: tracking_numbers.types.Courier, product: tracking_numbers.types.Product, number_regex: Pattern, tracking_url_template: Optional[str], serial_number_parser: tracking_numbers.serial_number.SerialNumberParser, checksum_validator: Optional[tracking_numbers.checksum_validator.ChecksumValidator], additional_validations: List[tracking_numbers.definition.AdditionalValidation]) | [
0.02854527160525322,
-0.009910406544804573,
-0.0604318268597126,
0.05923556536436081,
-0.033949073404073715,
-0.06117433309555054,
-0.0680631473660469,
-0.01756235398352146,
-0.016675470396876335,
-0.0367334745824337,
0.0016164997359737754,
0.021862708032131195,
0.05824555456638336,
0.003609409322962165,
0.016293905675411224,
0.021058324724435806,
0.02088301070034504,
-0.005893649999052286,
0.018872054293751717,
-0.02755526266992092,
0.0024827581364661455,
0.02879277430474758,
-0.03774410858750343,
0.10139346867799759,
0.011240731924772263,
0.04813920706510544,
0.05737929791212082,
0.0033412817865610123,
0.00046986775123514235,
0.01420044805854559,
-0.0003809215850196779,
-0.035186585038900375,
0.030917169526219368,
0.06814564764499664,
0.001977440668269992,
-0.03747598081827164,
-0.03854849189519882,
0.02854527160525322,
-0.14775890111923218,
0.08868834376335144,
0.023636475205421448,
0.02330647222697735,
0.016242342069745064,
0.0006467932835221291,
-0.032567184418439865,
0.01769641786813736,
-0.04131226986646652,
0.057833049446344376,
-0.07033191621303558,
-0.019305184483528137,
0.02726650983095169,
-0.015077018178999424,
-0.025843370705842972,
0.031247172504663467,
-0.0038233958184719086,
0.021903958171606064,
0.056925542652606964,
0.08646082133054733,
0.055069275200366974,
-0.006749595515429974,
-0.03335094079375267,
0.06612437963485718,
-0.008373829536139965,
-0.04846921190619469,
-0.0019349012291058898,
-0.007481790147721767,
-0.007481790147721767,
-0.03576409071683884,
0.02617337368428707,
0.02084176056087017,
0.04492167755961418,
-0.002673541195690632,
0.00724460044875741,
-0.0015223972732201219,
0.06773314625024796,
-0.02026425488293171,
0.012890747748315334,
-0.021718332543969154,
0.06422685831785202,
-0.0762307271361351,
0.049170468002557755,
0.04863421246409416,
-0.004782467614859343,
-0.04096164181828499,
0.021006762981414795,
-0.007352882530540228,
0.06224684417247772,
0.024894611909985542,
0.009106024168431759,
0.03797098621726036,
-0.05523427575826645,
-0.025203989818692207,
-0.03182467818260193,
0.007002254016697407,
0.007373507600277662,
-0.02312084473669529,
0.002820495516061783,
-0.06010182201862335,
-0.04376666620373726,
0.005924587603658438,
0.006110214628279209,
0.037228479981422424,
-0.15072894096374512,
0.022687716409564018,
0.023182719945907593,
-0.03073154203593731,
-0.04686044529080391,
0.0016641955589875579,
0.019769251346588135,
0.02778214029967785,
-0.05156299099326134,
-0.008796646259725094,
-0.05729679390788078,
-0.010817915201187134,
0.01793360896408558,
-0.026771504431962967,
0.011859487742185593,
0.018727678805589676,
-0.04776795580983162,
-0.028194643557071686,
0.03972413018345833,
-0.004962937906384468,
-0.07722073793411255,
0.06447436660528183,
0.040796637535095215,
0.0037950361147522926,
0.01784079521894455,
0.02650337666273117,
0.10700351744890213,
-0.08076827228069305,
0.014066384173929691,
0.01543795969337225,
0.02112020179629326,
0.0397653803229332,
0.003284562611952424,
0.027101507410407066,
0.00587818119674921,
-0.0015249754069373012,
-0.06336060166358948,
0.02254333905875683,
0.019088618457317352,
0.019542373716831207,
0.013086686842143536,
-0.05865805968642235,
-0.0068578775972127914,
-0.00998775102198124,
-0.0446329265832901,
0.016283592209219933,
-0.09553591161966324,
-0.01594327762722969,
0.012354492209851742,
-0.02297646924853325,
0.03619721904397011,
0.04023975878953934,
-0.01818110980093479,
-0.012746371328830719,
0.017582979053258896,
-0.0048366086557507515,
0.02351272478699684,
0.024873986840248108,
0.013179500587284565,
-0.023945853114128113,
0.06513436883687973,
-0.038610368967056274,
-0.00780148059129715,
0.041662897914648056,
-0.02850402146577835,
-0.08827584236860275,
-0.02173895761370659,
0.0019465029472485185,
-0.02858652174472809,
0.016727034002542496,
-0.005924587603658438,
0.0384453646838665,
-0.04306541010737419,
0.04139477014541626,
0.052800502628088,
-0.04615918919444084,
-0.00043151777936145663,
0.026606503874063492,
-0.0247502364218235,
-0.0017196257831528783,
-0.018820492550730705,
0.010513694025576115,
0.026565253734588623,
0.016283592209219933,
-0.02883402444422245,
-0.010869478806853294,
0.06814564764499664,
0.007296163123100996,
0.05300675332546234,
0.025802120566368103,
0.03590846806764603,
0.01505639310926199,
-0.0006638735067099333,
-0.018139859661459923,
0.015458584763109684,
0.02460585907101631,
0.00607927655801177,
-0.027101507410407066,
0.006337091792374849,
0.012901060283184052,
0.009271025657653809,
-0.0015172410057857633,
-0.07066192477941513,
-0.012509182095527649,
0.0055791158229112625,
0.01927424594759941,
-0.017098287120461464,
-0.002349983202293515,
0.003854333655908704,
0.001425716676749289,
-0.028937149792909622,
0.05399676412343979,
0.018335798755288124,
-0.10485849529504776,
0.06484561413526535,
-0.008451174013316631,
0.019851751625537872,
-0.0029597156681120396,
0.05486302077770233,
-0.03924974799156189,
-0.006311309989541769,
-0.03425845131278038,
0.008250078186392784,
0.03429970145225525,
0.007538509089499712,
0.021037699654698372,
0.0057286485098302364,
-0.02213083580136299,
0.012127615511417389,
-0.02650337666273117,
-0.004369963426142931,
0.04772670567035675,
0.006342248059809208,
-0.045127928256988525,
-0.018995806574821472,
0.0008578792912885547,
-0.0038594899233430624,
-0.019624873995780945,
-0.0062803723849356174,
-0.015922652557492256,
0.011684173718094826,
-0.004480823874473572,
-0.00279471417888999,
-0.042322903871536255,
-0.00870898924767971,
0.02887527458369732,
-0.013643567450344563,
-0.06195808947086334,
-0.01698485016822815,
0.003874958725646138,
0.025142114609479904,
0.030855294317007065,
-0.02716338448226452,
-0.027947140857577324,
-0.028607146814465523,
-0.05461551994085312,
0.10576600581407547,
-0.01965581253170967,
0.029844658449292183,
-0.012993874028325081,
0.0024543984327465296,
0.05094423517584801,
-0.0630718544125557,
-0.03477407991886139,
-0.009219462983310223,
0.027328385040163994,
-0.013468253426253796,
0.0066155316308140755,
0.03102029487490654,
-0.008085076697170734,
-0.04826296120882034,
0.022192711010575294,
-0.025327742099761963,
-0.04050788655877113,
-0.00035030607250519097,
0.0033000314142555,
-0.0008984851301647723,
-0.029225902631878853,
0.020491132512688637,
0.0025394773110747337,
0.054780520498752594,
-0.02835964597761631,
0.0707031711935997,
0.014344824478030205,
0.003913631197065115,
0.0071414741687476635,
-0.04034288600087166,
-0.02297646924853325,
-0.044137921184301376,
-0.025657745078206062,
0.046076688915491104,
0.009539153426885605,
0.02213083580136299,
-0.010255878791213036,
-0.052264247089624405,
-0.014777952805161476,
-0.018253298476338387,
-0.06954815983772278,
-0.017613917589187622,
0.058781810104846954,
0.0796545073390007,
-0.01603608950972557,
-0.0762307271361351,
-0.020429257303476334,
0.031247172504663467,
-0.03483595699071884,
0.028710274025797844,
-0.003828552085906267,
0.011354170739650726,
0.07548821717500687,
0.04056975990533829,
0.02526586502790451,
0.09355589002370834,
-0.027328385040163994,
-0.028091518208384514,
0.013891070149838924,
0.058451805263757706,
0.058740559965372086,
0.028937149792909622,
0.02774088829755783,
0.016675470396876335,
0.008203672245144844,
0.019387684762477875,
-0.05779179930686951,
-0.004720591939985752,
0.0013238798128440976,
-0.049459222704172134,
0.006625844165682793,
-0.058451805263757706,
-0.04438542202115059,
0.011137605644762516,
0.042322903871536255,
0.0439729206264019,
-0.016345467418432236,
0.005434739403426647,
-0.055399276316165924,
0.006672251038253307,
-0.030277788639068604,
0.04405542090535164,
-0.004571059253066778,
-0.0380534864962101,
-0.001457943581044674,
-0.008332579396665096,
-0.04434417188167572,
0.022295838221907616,
-0.021326452493667603,
0.006986785214394331,
-0.018438925966620445,
-0.04176602140069008,
-0.023347722366452217,
0.0038001923821866512,
0.01703641191124916,
0.07161068171262741,
-0.05296550318598747,
-0.03493908420205116,
-0.03454720228910446,
0.0388372465968132,
0.007811793126165867,
-0.01460263878107071,
-0.015262645669281483,
-0.01303512416779995,
-0.0006632289732806385,
-0.010890103876590729,
-0.05185174196958542,
-0.020109565928578377,
-0.009033836424350739,
0.024729611352086067,
-0.014747015200555325,
-0.041374143213033676,
-0.0025897512678056955,
0.027658388018608093,
-0.05057298019528389,
0.009451496414840221,
0.0033258129842579365,
0.06034932658076286,
0.05090298503637314,
-0.07342570275068283,
-0.03335094079375267,
0.0008166288607753813,
0.05395551398396492,
-0.05985432118177414,
0.03510408475995064,
0.00958556029945612,
-0.06088557839393616,
0.025967122986912727,
0.01584015041589737,
-0.01756235398352146,
0.011601673439145088,
0.024997737258672714,
-0.023327097296714783,
0.012478243559598923,
0.0070899114944040775,
-0.014303573407232761,
-0.024007728323340416,
-0.011106668040156364,
0.03335094079375267,
-0.03145342320203781,
-0.04768545553088188,
-0.004117304924875498,
-0.07008441537618637,
-0.003284562611952424,
0.03345406800508499,
0.024420233443379402,
-0.015726711601018906,
0.06826940178871155,
-0.004243634175509214,
-0.023574599996209145,
0.0597718209028244,
-0.017294228076934814,
-0.01130260806530714,
-0.015427647158503532,
-0.06711439043283463,
-0.05861680954694748,
0.008822428062558174,
-0.011364483274519444,
0.006950691342353821,
0.005563646554946899,
0.011385108344256878,
0.012220429256558418,
0.03073154203593731,
0.006001932080835104,
0.04797420650720596,
0.013272314332425594,
0.04248790442943573,
-0.004217852838337421,
0.050077978521585464,
-0.022254586219787598,
0.02512148953974247,
0.020996449515223503,
0.011333545669913292,
-0.056595537811517715,
-0.036712851375341415,
0.002727682236582041,
-0.05391426384449005,
-0.021058324724435806,
-0.024585234001278877,
-0.005769898649305105,
0.001827907981351018,
-0.01460263878107071,
0.028524646535515785,
0.047314200550317764,
0.019490810111165047,
-0.014881079085171223,
-0.017613917589187622,
-0.00949274655431509,
-0.03650659695267677,
-0.043560415506362915,
-0.015314208343625069,
-0.033227190375328064,
-0.01539670955389738,
0.021161451935768127,
-0.012509182095527649,
-0.028194643557071686,
-0.02920527756214142,
-0.0022674824576824903,
-0.04102351516485214,
-0.016727034002542496,
-0.04879921302199364,
0.003660972462967038,
0.037187229841947556,
-0.013880757614970207,
0.02883402444422245,
-0.05803930386900902,
0.03850724175572395,
0.025863995775580406,
0.004114726558327675,
-0.0563480369746685,
0.04991297423839569,
0.0061566210351884365,
-0.0029055746272206306,
0.027142759412527084,
0.03188655525445938,
-0.04500417783856392,
0.009982595220208168,
0.028112143278121948,
-0.025183364748954773,
-0.03867224231362343,
-0.04067288711667061,
0.0879458412528038,
0.002691588131710887,
-0.007775699254125357,
0.008244922384619713,
0.010359005071222782,
0.006935222074389458,
0.026565253734588623,
-0.034464702010154724,
-0.03943537548184395,
0.03943537548184395,
-0.062453094869852066,
-0.030525291338562965,
0.0032201088033616543,
0.012601994909346104,
-0.0335778184235096,
0.016448594629764557,
0.030277788639068604,
0.020944887772202492,
0.03797098621726036,
-0.05742054805159569,
0.00792523194104433,
0.020377693697810173,
0.03782660886645317,
0.010472443886101246,
0.06678438931703568,
-0.021182077005505562,
-0.0671556368470192,
0.028380271047353745,
-0.03576409071683884,
0.012591682374477386,
-0.06377311050891876,
0.020666446536779404,
0.08382079750299454,
0.030298413708806038,
-0.03361906856298447,
0.008616175502538681,
-0.019449559971690178,
-0.04005413129925728,
-0.05247050151228905,
0.008177890442311764,
0.007079598493874073,
0.0652993693947792,
0.03477407991886139,
-0.04640669375658035,
0.03349531814455986,
0.05647178739309311,
-0.06113308295607567,
-0.016056714579463005,
0.03960037603974342,
-0.02464710921049118,
0.033144690096378326,
-0.018067672848701477,
0.046695444732904434,
0.025987748056650162,
0.0052671595476567745,
0.006135995965451002,
0.03139154985547066,
-0.04143602028489113,
-0.030896544456481934,
-0.007187881041318178,
0.013530128635466099,
0.04888171702623367,
-0.05238799750804901,
-0.04168352112174034,
-0.008853365667164326,
0.002157911192625761,
0.05544052645564079,
0.02963840775191784,
-0.053831763565540314,
-0.04127101972699165,
0.002254591789096594,
0.005708022974431515,
0.047891706228256226,
-0.005378019995987415,
0.006146308500319719,
-0.0250802394002676,
0.00878117699176073,
0.05123298615217209,
0.05742054805159569,
-0.01832548715174198,
0.015572023577988148,
0.005122783128172159,
-0.06208183988928795,
-0.002719947835430503,
-0.04925296828150749,
-0.01063228864222765,
0.005135674029588699,
-0.04092038795351982,
-0.04149789363145828,
0.024729611352086067,
0.0008765708771534264,
0.009714467450976372,
0.02198646031320095,
0.031948428601026535,
-0.030380913987755775,
-0.035186585038900375,
-0.051975496113300323,
0.018253298476338387,
-0.0018472441006451845,
-0.024296481162309647,
0.04929421842098236,
0.014417012222111225,
-0.014159196987748146,
-0.08514080941677094,
0.023966478183865547,
-0.027514012530446053,
-0.028895899653434753,
0.009178212843835354,
0.003459876636043191,
-0.025760870426893234,
0.0004247501492500305,
0.02184208296239376,
-0.03141217306256294,
-0.005326456855982542,
-0.013963257893919945,
0.07037317007780075,
-0.05923556536436081,
-0.025348367169499397,
0.020666446536779404,
0.01020431611686945,
-0.02802964113652706,
0.04743795096874237,
-0.0015920073492452502,
-0.008286172524094582,
0.06620687991380692,
-0.026585878804326057,
-0.02378085069358349,
-0.027844015508890152,
0.013210438191890717,
-0.04118851572275162,
0.031907178461551666,
0.012684496119618416,
0.012622619979083538,
-0.06331935524940491,
0.023100219666957855,
-0.07342570275068283,
-0.04343666508793831,
0.04764420539140701,
-0.023182719945907593,
-0.026379626244306564,
0.026585878804326057,
0.03196905553340912,
-0.027349010109901428,
0.03924974799156189,
-0.035846590995788574,
0.025987748056650162,
-0.016716722398996353,
-0.05263550207018852,
-0.018727678805589676,
-0.07697322964668274,
0.01481920387595892,
0.019160807132720947,
0.018304862082004547,
-0.018253298476338387,
0.019542373716831207,
-0.02817401848733425,
0.05086173489689827,
0.020140504464507103,
0.015458584763109684,
0.04118851572275162,
-0.03211342915892601,
-0.02974153310060501,
-0.06769189238548279,
0.021450204774737358,
-0.04690169543027878,
0.013354814611375332,
-0.009193681180477142,
-0.09339088946580887,
0.08514080941677094,
0.0431891605257988,
-0.041992899030447006,
0.11005605012178421,
-0.03106154501438141,
-0.01740766502916813,
0.013860131613910198,
0.03650659695267677,
0.010621976107358932,
0.014293260872364044,
0.018676115199923515,
0.013385752215981483,
-0.054368019104003906,
0.03269093483686447,
0.07635447382926941,
-0.045416682958602905,
-0.020666446536779404,
0.014664514921605587,
0.060596827417612076,
-0.020913949236273766,
0.005037704017013311,
0.022110210731625557,
-0.040281008929014206,
-0.0021811146289110184,
0.04714919999241829,
0.026709629222750664,
-0.02545149251818657,
0.000888817070517689,
0.0007070575375109911,
0.04040475934743881,
0.015963902696967125,
0.00542442686855793,
0.04050788655877113,
0.006445373874157667,
-0.016757972538471222,
-0.036094095557928085,
0.0037486294750124216,
-0.0031556549947708845,
-0.0030886230524629354,
0.005215596407651901,
0.0028101829811930656,
-0.005429583135992289,
-0.01510795671492815,
-0.0035114397760480642,
0.015200769528746605,
0.0019142760429531336,
-0.05960681661963463,
0.002208185149356723,
-0.05610053613781929,
-0.0006564613431692123,
0.0026142436545342207,
-0.033000312745571136,
0.004150820896029472,
-0.04347791522741318,
0.014025134034454823,
0.042611654847860336,
-0.003519174177199602,
0.006734126713126898,
-0.04888171702623367,
-0.037372857332229614,
0.016902348026633263,
-0.046984195709228516,
0.06826940178871155,
0.04809795692563057,
-0.00032549138995818794,
-0.0625355988740921,
-0.026132123544812202,
0.0029571375343948603,
0.012467931024730206,
0.050077978521585464,
-0.005434739403426647,
-0.0005891071632504463,
0.011457297019660473,
0.03483595699071884,
0.06897065788507462,
-0.016500156372785568,
0.000942313636187464,
0.04706669971346855,
0.036279719322919846,
-0.06220559403300285,
0.04525168240070343,
0.0026812755968421698,
0.02920527756214142,
0.07445695996284485,
-0.06286559998989105,
-0.011055105365812778,
0.02483273670077324,
-0.03349531814455986,
0.02235771343111992,
0.0049552032724022865,
-0.01803673431277275,
0.029700282961130142,
0.010157909244298935,
0.015283270739018917,
-0.02406960353255272,
0.0215945802628994,
-0.029432155191898346,
0.09553591161966324,
0.02536899223923683,
0.007940700277686119,
-0.01551014743745327,
-0.0733431950211525,
0.015520459972321987,
-0.0388372465968132,
-0.030958419665694237,
-0.01381888147443533,
0.008724458515644073,
-0.009539153426885605,
0.026008373126387596,
0.03526908531785011,
-0.0024028352927416563,
-0.01798517070710659,
-0.004266837611794472,
-0.006460842676460743,
0.03776473551988602,
0.03776473551988602,
0.007780855521559715,
0.04257040470838547,
-0.02246083877980709,
0.05643053725361824
] |
10,352 | tracking_numbers.definition | __init__ | null | def __init__(
self,
courier: Courier,
product: Product,
number_regex: Pattern,
tracking_url_template: Optional[str],
serial_number_parser: SerialNumberParser,
checksum_validator: Optional[ChecksumValidator],
additional_validations: List[AdditionalValidation],
):
self.courier = courier
self.product = product
self.number_regex = number_regex
self.tracking_url_template = tracking_url_template
self.serial_number_parser = serial_number_parser
self.checksum_validator = checksum_validator
self.additional_validations = additional_validations
| (self, courier: tracking_numbers.types.Courier, product: tracking_numbers.types.Product, number_regex: Pattern, tracking_url_template: Optional[str], serial_number_parser: tracking_numbers.serial_number.SerialNumberParser, checksum_validator: Optional[tracking_numbers.checksum_validator.ChecksumValidator], additional_validations: List[tracking_numbers.definition.AdditionalValidation]) | [
0.006894056219607592,
0.028327621519565582,
0.002543005160987377,
0.024345222860574722,
-0.0546264722943306,
-0.05319882184267044,
-0.029567424207925797,
-0.028064632788300514,
0.009509853087365627,
0.006269458681344986,
0.02958620898425579,
0.038339968770742416,
0.0040998030453920364,
0.038884732872247696,
-0.0005902565899305046,
-0.0037217573262751102,
0.011505748145282269,
-0.015168802812695503,
0.008580001071095467,
-0.015150017105042934,
-0.005513366777449846,
0.02226009964942932,
-0.04391908273100853,
0.12180125713348389,
0.00456707738339901,
0.08716191351413727,
0.021602628752589226,
0.022635798901319504,
-0.005377176217734814,
-0.00510009890422225,
0.06244099140167236,
0.004569425713270903,
-0.017310280352830887,
0.05169602856040001,
0.03107021562755108,
0.009749360382556915,
-0.010388046503067017,
0.00623188866302371,
-0.11090601980686188,
0.10106272995471954,
0.037381939589977264,
0.02560381218791008,
0.02945471554994583,
0.011477570980787277,
-0.03379402682185173,
0.04576000198721886,
-0.028477899730205536,
0.04895343631505966,
-0.03163376450538635,
-0.007960098795592785,
0.010547718033194542,
0.007518654223531485,
0.002681543817743659,
-0.01239803060889244,
-0.019930772483348846,
0.03899744153022766,
0.06398135423660278,
0.1413375437259674,
0.0350150428712368,
0.03129563480615616,
-0.05079435557126999,
0.01759205386042595,
0.029567424207925797,
-0.059998951852321625,
0.01650252938270569,
0.010716782882809639,
-0.012266536243259907,
-0.01732906512916088,
0.03967369720339775,
0.04012453556060791,
0.06146417558193207,
0.007762857712805271,
-0.056655243039131165,
-0.008011757396161556,
0.058871861547231674,
-0.012830083258450031,
-0.04681195691227913,
-0.0014393925666809082,
0.0035550412721931934,
-0.028609395027160645,
0.06879028677940369,
0.0321221686899662,
-0.03135199099779129,
0.0005142365116626024,
0.043092548847198486,
-0.018381020054221153,
0.029924336820840836,
-0.03185918182134628,
-0.01849372871220112,
0.11781886219978333,
-0.10775015503168106,
-0.03452663496136665,
-0.03830239921808243,
0.031464699655771255,
0.023781675845384598,
-0.00997477862983942,
0.01809924654662609,
-0.05278555303812027,
-0.004393317271023989,
0.023105420172214508,
0.01704729162156582,
0.016803087666630745,
-0.10865183174610138,
-0.029022661969065666,
-0.0061003947630524635,
-0.024495502933859825,
-0.02451428771018982,
-0.006588801741600037,
0.03071330301463604,
0.011637242510914803,
-0.011280328966677189,
0.025660166516900063,
-0.02564138174057007,
0.03944827988743782,
-0.043806374073028564,
-0.00518932705745101,
-0.02669333480298519,
0.004874680191278458,
0.0016072825528681278,
-0.007358982693403959,
0.021640198305249214,
-0.016436783596873283,
-0.0530109740793705,
0.1246565580368042,
0.0321221686899662,
-0.010453794151544571,
0.003127685049548745,
0.016183186322450638,
0.09039290994405746,
-0.03531560301780701,
0.05631711333990097,
-0.01963021419942379,
0.013280920684337616,
-0.030206110328435898,
-0.015845058485865593,
-0.009984171949326992,
0.02226009964942932,
0.006673333700746298,
-0.07337380200624466,
0.02736959233880043,
0.004750230349600315,
0.02126450091600418,
0.00927034579217434,
-0.029867982491850853,
-0.021020296961069107,
0.01732906512916088,
-0.04350581765174866,
-0.017066076397895813,
-0.09587810188531876,
-0.002726157894358039,
-0.033174123615026474,
0.00924686435610056,
0.0359918586909771,
0.018606437370181084,
0.0112427594140172,
-0.02148992009460926,
0.00619901530444622,
-0.014717965386807919,
0.03681839257478714,
0.046661678701639175,
0.026223713532090187,
0.00880072358995676,
0.03368131443858147,
-0.015957767143845558,
0.002305845730006695,
0.033493466675281525,
-0.02614857256412506,
-0.07746890932321548,
-0.003320230171084404,
0.007537438999861479,
0.00019782842718996108,
-0.027745289728045464,
-0.04917885363101959,
0.03858417272567749,
-0.02197832614183426,
0.03210338577628136,
0.054664041846990585,
-0.01882246509194374,
0.007326108869165182,
0.016840657219290733,
0.007542135193943977,
0.02271093800663948,
0.003618440357968211,
0.04715008661150932,
0.05105734243988991,
-0.017422989010810852,
-0.019461151212453842,
0.027219312265515327,
0.06856486201286316,
-0.017836257815361023,
0.09016749262809753,
0.04012453556060791,
0.0074435146525502205,
-0.01370358094573021,
-0.016230149194598198,
-0.022861216217279434,
0.03929799795150757,
-0.023218130692839622,
-0.07010522484779358,
0.010397438891232014,
0.006532446946948767,
0.006621675565838814,
0.004268867429345846,
-0.02175290882587433,
-0.022917572408914566,
0.01040683127939701,
-0.007429426070302725,
0.03926042839884758,
-0.033587392419576645,
-0.012116257101297379,
0.04989267885684967,
-0.01246377732604742,
0.01781747303903103,
0.01318699587136507,
0.0001078663844964467,
-0.05789504572749138,
0.029642563313245773,
-0.007866174913942814,
0.02800827845931053,
-0.0032967489678412676,
0.09114430844783783,
-0.0289099533110857,
0.0052926442585885525,
-0.028252482414245605,
0.024119805544614792,
0.027576224878430367,
0.0008776067988947034,
-0.006790739484131336,
-0.04718765616416931,
-0.005550936330109835,
-0.056241974234580994,
-0.028891168534755707,
-0.02303028106689453,
0.053311530500650406,
0.0013619048986583948,
-0.06398135423660278,
-0.03439514338970184,
0.028515469282865524,
-0.06871514767408371,
-0.042716849595308304,
0.03785156458616257,
-0.0019911988638341427,
0.0019266257295385003,
-0.005151757504791021,
-0.00036689246189780533,
0.010115665383636951,
-0.009167028591036797,
0.04429478198289871,
-0.04346824809908867,
-0.048239611089229584,
-0.016023514792323112,
-0.0015884976601228118,
-0.012219574302434921,
0.022091036662459373,
-0.037250448018312454,
0.04034995287656784,
-0.04485832899808884,
-0.0581580325961113,
0.05207172781229019,
-0.029961906373500824,
0.012407422997057438,
-0.005851494614034891,
0.018935173749923706,
0.05105734243988991,
-0.0028576520271599293,
-0.03659297525882721,
-0.007960098795592785,
-0.0023246307391673326,
0.000771941791754216,
0.004024663474410772,
0.09647922217845917,
-0.002928095404058695,
0.0037147130351513624,
0.04215330258011818,
-0.04098863899707794,
-0.05496460199356079,
-0.03360617533326149,
-0.014793104492127895,
-0.015121839940547943,
0.026655765250325203,
0.04917885363101959,
0.01420138031244278,
0.04102620854973793,
-0.02396952547132969,
0.060637641698122025,
-0.02596072480082512,
0.021095436066389084,
0.020513104274868965,
-0.06507087498903275,
-0.015009131282567978,
-0.0523722879588604,
0.01940479688346386,
0.03510896861553192,
0.007218095939606428,
0.06510844826698303,
-0.02139599435031414,
-0.01890699565410614,
-0.016042299568653107,
0.021320855244994164,
-0.053536951541900635,
0.012830083258450031,
-0.00400118250399828,
0.049329131841659546,
-0.021114220842719078,
-0.08122588694095612,
0.004442627541720867,
0.019611429423093796,
0.014661610126495361,
0.008810115978121758,
0.04151461645960808,
0.06608525663614273,
0.08017393201589584,
-0.03366253152489662,
0.0321221686899662,
0.015516323037445545,
-0.012454384937882423,
-0.01619257964193821,
-0.008223087526857853,
0.027933137491345406,
0.0501180998980999,
0.037475865334272385,
-0.01759205386042595,
0.016793696209788322,
-0.027200527489185333,
-0.004569425713270903,
-0.019517505541443825,
-0.01921694725751877,
-0.006518358364701271,
-0.04906614497303963,
0.02451428771018982,
-0.05830831453204155,
0.021114220842719078,
-0.01940479688346386,
0.015666602179408073,
0.014708572998642921,
-0.02524689771234989,
-0.015506930649280548,
-0.03401944413781166,
-0.025848014280200005,
-0.028290051966905594,
0.04699980467557907,
-0.01899152807891369,
-0.05346180871129036,
0.009509853087365627,
-0.05349937826395035,
-0.07754404842853546,
-0.008965090848505497,
-0.06371836364269257,
0.015938982367515564,
-0.010115665383636951,
-0.04654897004365921,
-0.034320004284381866,
0.02569773606956005,
0.015516323037445545,
0.06803888827562332,
-0.029604993760585785,
-0.053987786173820496,
-0.028703318908810616,
0.022447949275374413,
-0.02158384397625923,
0.01691579818725586,
0.01659645512700081,
-0.0273132361471653,
-0.008241872303187847,
-0.020118622109293938,
-0.02981162816286087,
0.01110187266021967,
-0.013055501505732536,
0.017075469717383385,
0.027425946667790413,
-0.0038368147797882557,
0.0006451437366195023,
-0.010585288517177105,
-0.03116413950920105,
0.014539508149027824,
-0.013027324341237545,
0.02492755465209484,
0.03199067711830139,
-0.077093206346035,
-0.025848014280200005,
-0.047375503927469254,
0.030055832117795944,
-0.011524532921612263,
0.019573859870433807,
-0.035897932946681976,
-0.023218130692839622,
-0.03199067711830139,
0.061501745134592056,
0.019930772483348846,
0.028553040698170662,
-0.006621675565838814,
-0.04170246794819832,
0.02447671815752983,
-0.02868453413248062,
0.011890837922692299,
-0.017244532704353333,
0.0212081465870142,
0.03659297525882721,
-0.04414450377225876,
-0.035578589886426926,
0.0002936607343144715,
-0.08092532306909561,
-0.00823247991502285,
0.032460298389196396,
0.011252151802182198,
-0.009927816689014435,
0.06890299171209335,
0.020344041287899017,
0.018794286996126175,
0.025378393009305,
0.03133320435881615,
-0.027538655325770378,
-0.006123875733464956,
-0.05522758886218071,
-0.07607882469892502,
-0.0056401644833385944,
-0.004052841104567051,
-0.03760736063122749,
-0.006015862338244915,
0.015845058485865593,
0.006325813475996256,
0.044482629746198654,
-0.02605464868247509,
0.03524046391248703,
0.0472252257168293,
0.034226078540086746,
0.03274207189679146,
-0.009617866016924381,
0.050644077360630035,
-0.016173794865608215,
-0.01092341635376215,
0.03478962555527687,
-0.06653609871864319,
-0.02008105255663395,
0.021001512184739113,
-0.013027324341237545,
-0.014689787290990353,
-0.011120657436549664,
-0.014821281656622887,
-0.02464578114449978,
-0.03170890361070633,
-0.02338719367980957,
0.05736906826496124,
-0.0010413875570520759,
-0.03520289435982704,
-0.008185517974197865,
-0.0164649598300457,
-0.007274450268596411,
-0.020381610840559006,
-0.03225366398692131,
0.0022847128566354513,
-0.024626996368169785,
0.0005882020341232419,
-0.016943974420428276,
0.010209590196609497,
-0.03850903362035751,
-0.0015321429818868637,
-0.030506668612360954,
0.026035863906145096,
-0.02171533741056919,
0.005114187486469746,
0.01135546900331974,
0.017930181697010994,
-0.020776093006134033,
-0.04636111855506897,
0.10752473771572113,
-0.0016847702208906412,
0.015525715425610542,
-0.02945471554994583,
0.018888210877776146,
-0.01304610911756754,
0.01854069158434868,
0.005034351721405983,
0.00009429136844119057,
-0.017075469717383385,
0.03899744153022766,
0.025491101667284966,
-0.041589755564928055,
-0.017535699531435966,
-0.04760092496871948,
0.03215973824262619,
-0.009758752770721912,
0.0069504110142588615,
0.021245716139674187,
0.011562102474272251,
-0.006964499596506357,
-0.01877550221979618,
-0.05117005482316017,
-0.042716849595308304,
0.06078791990876198,
-0.034582991153001785,
0.02949228510260582,
-0.014361051842570305,
0.015769919380545616,
0.034620560705661774,
0.03370010107755661,
0.01949872076511383,
0.039147719740867615,
0.022278884425759315,
0.004992085974663496,
-0.008270049467682838,
-0.013966568745672703,
0.028102202340960503,
-0.03627363219857216,
0.028120987117290497,
-0.048690445721149445,
-0.09106916934251785,
0.011054910719394684,
-0.0488407276570797,
0.006044039968401194,
-0.028646964579820633,
-0.009331396780908108,
0.040650513023138046,
0.014191987924277782,
-0.031690116971731186,
-0.0038274223916232586,
-0.034676916897296906,
-0.0045365518890321255,
-0.040800791233778,
0.02351868897676468,
0.03681839257478714,
0.07912197709083557,
0.05034351721405983,
-0.055978987365961075,
0.03895987197756767,
0.03200946003198624,
-0.020287686958909035,
-0.03636755794286728,
0.06604769080877304,
-0.02194075658917427,
0.01994955725967884,
-0.05319882184267044,
-0.014849458821117878,
0.04418207332491875,
-0.012585879303514957,
0.027444731444120407,
0.015394221059978008,
-0.005348998587578535,
0.02470213733613491,
-0.028196126222610474,
-0.00006985632353462279,
0.0732610896229744,
-0.007265057880431414,
-0.03862174227833748,
0.0020076355431228876,
-0.008960395120084286,
-0.005691823083907366,
0.0401621051132679,
-0.06691179424524307,
-0.00805402360856533,
-0.020700953900814056,
-0.049141284078359604,
-0.01654949225485325,
0.0035644336603581905,
0.02175290882587433,
0.003195780096575618,
0.016295896843075752,
0.02968013286590576,
0.026843614876270294,
0.003984745591878891,
0.029210511595010757,
0.006696815136820078,
-0.05680552124977112,
0.015901412814855576,
-0.004552988801151514,
-0.03030003421008587,
0.021245716139674187,
-0.055077310651540756,
-0.04237872362136841,
0.02053188905119896,
0.012792513705790043,
0.004884072579443455,
0.0035292122047394514,
0.11045517772436142,
-0.0549270324409008,
-0.04128919914364815,
-0.014905814081430435,
0.019479935988783836,
-0.02949228510260582,
-0.06879028677940369,
0.05725635960698128,
0.003632528940215707,
-0.07589097321033478,
-0.10436887294054031,
0.014905814081430435,
-0.05582870543003082,
-0.031596191227436066,
0.005842102225869894,
-0.01628650352358818,
-0.058383453637361526,
0.04294227063655853,
0.008833596482872963,
-0.04880315810441971,
0.021320855244994164,
-0.03659297525882721,
0.03321169316768646,
-0.025754090398550034,
-0.033493466675281525,
0.008448506705462933,
0.02573530562222004,
-0.0674753412604332,
0.055978987365961075,
-0.01506548561155796,
0.002848259638994932,
0.049817539751529694,
-0.032366372644901276,
-0.0239319559186697,
-0.0038814288564026356,
0.002496042987331748,
-0.03640512749552727,
0.04639868810772896,
0.03189675137400627,
-0.01485885214060545,
-0.028477899730205536,
0.010801314376294613,
-0.04726279526948929,
-0.03439514338970184,
-0.0012022332521155477,
-0.018925782293081284,
0.010416223667562008,
0.0015779311070218682,
0.031408343464136124,
0.004156157840043306,
0.0633050948381424,
-0.06529629230499268,
-0.0016812480753287673,
-0.004837110172957182,
-0.053311530500650406,
-0.004963908344507217,
-0.06398135423660278,
0.07145773619413376,
-0.00947697926312685,
0.03546588122844696,
-0.01121458224952221,
-0.01619257964193821,
-0.007701806724071503,
0.00976814515888691,
0.03418850898742676,
0.03135199099779129,
0.00805402360856533,
-0.042040593922138214,
0.026524271816015244,
-0.007725288160145283,
-0.01178752165287733,
-0.025585027411580086,
-0.033455897122621536,
-0.03698745742440224,
-0.08520828187465668,
0.06003652513027191,
0.026524271816015244,
-0.01854069158434868,
0.08896525949239731,
-0.02383803203701973,
-0.009124762378633022,
-0.03813333436846733,
0.0218468327075243,
0.0032591791823506355,
0.012473169714212418,
0.04256657138466835,
0.0038509033620357513,
-0.05316125229001045,
0.027425946667790413,
0.10947836935520172,
-0.022729722782969475,
0.03760736063122749,
-0.0005702976486645639,
0.04929156228899956,
-0.043768804520368576,
-0.056617673486471176,
0.023105420172214508,
-0.04098863899707794,
0.03708138316869736,
0.02175290882587433,
0.01650252938270569,
-0.002251839265227318,
0.011402430944144726,
-0.040011826902627945,
-0.010172020643949509,
0.0652211531996727,
0.0057059116661548615,
0.029961906373500824,
-0.020607030019164085,
0.02425129897892475,
-0.05902213975787163,
-0.01781747303903103,
-0.0004173768684267998,
-0.04572243243455887,
0.0282712671905756,
-0.0018949263030663133,
-0.04219087213277817,
-0.009852677583694458,
-0.0028529558330774307,
-0.023875601589679718,
-0.052409857511520386,
-0.00173877680208534,
0.003395369742065668,
-0.04098863899707794,
-0.02958620898425579,
0.018474943935871124,
0.0027472907677292824,
0.015985945239663124,
-0.007232184521853924,
0.00012503695324994624,
0.051320333033800125,
-0.04827718064188957,
-0.014962168410420418,
-0.01286765281111002,
-0.041815176606178284,
0.03058180771768093,
-0.045572154223918915,
0.07957281172275543,
0.03685596212744713,
0.00289991800673306,
-0.061088476330041885,
-0.020231330767273903,
0.038696881383657455,
0.016089262440800667,
0.059961382299661636,
-0.0028435634449124336,
-0.041815176606178284,
0.04617327079176903,
-0.01792079024016857,
0.01886942610144615,
0.005001478362828493,
0.03497747331857681,
0.020062267780303955,
-0.010754352435469627,
-0.01908545382320881,
0.05793261528015137,
-0.04361852630972862,
0.034939903765916824,
0.04891586676239967,
-0.06706207245588303,
-0.03061937913298607,
-0.0013759934809058905,
-0.051132481545209885,
-0.01696275919675827,
-0.015309689566493034,
0.040951069444417953,
0.03488354757428169,
-0.00030173236154951155,
0.01049136370420456,
0.027839213609695435,
0.024439148604869843,
-0.025491101667284966,
0.09339849650859833,
0.013637833297252655,
-0.02519054338335991,
0.013271528296172619,
-0.03507139906287193,
-0.036292415112257004,
-0.012135041877627373,
-0.025885585695505142,
0.010867062024772167,
0.007326108869165182,
-0.039560988545417786,
0.026655765250325203,
0.03941071033477783,
-0.03153983876109123,
-0.04012453556060791,
-0.03642391040921211,
-0.02139599435031414,
0.037475865334272385,
-0.0018115682760253549,
0.05646739527583122,
0.03330561891198158,
0.03572886809706688,
0.031370773911476135
] |
10,353 | tracking_numbers.definition | __repr__ | null | def __repr__(self):
return repr_with_args(
self,
courier=self.courier,
product=self.product,
number_regex=self.number_regex,
tracking_url_template=self.tracking_url_template,
serial_number_parser=self.serial_number_parser,
checksum_validator=self.checksum_validator,
additional_validations=self.additional_validations,
)
| (self) | [
0.008843584917485714,
-0.031136788427829742,
0.05844135582447052,
-0.00929497554898262,
0.005803602281957865,
-0.07126455008983612,
-0.003979613073170185,
-0.05177181959152222,
0.056267306208610535,
-0.02139042131602764,
-0.009718731045722961,
0.0069551109336316586,
-0.006172085180878639,
0.06931159645318985,
-0.02785729244351387,
0.0009638125775381923,
-0.004808699246495962,
-0.09366830438375473,
-0.0004436186281964183,
0.0033992528915405273,
0.0084152240306139,
0.013956282287836075,
0.01238101813942194,
0.027451960369944572,
0.004274399485439062,
0.05376162379980087,
0.015015670098364353,
-0.004799487069249153,
-0.02352762036025524,
0.009691094979643822,
0.0012113868724554777,
-0.026106998324394226,
0.0026116210501641035,
-0.0018424134468659759,
0.013200892135500908,
0.018129348754882812,
-0.06717439740896225,
0.0016040512127801776,
-0.046170882880687714,
0.02328810654580593,
0.025793788954615593,
0.015098578296601772,
0.019197948276996613,
-0.023656589910387993,
-0.060431163758039474,
-0.0015545364003628492,
0.023785557597875595,
0.031099939718842506,
-0.020892968401312828,
-0.07041704654693604,
0.016858084127306938,
0.038985468447208405,
-0.021758902817964554,
0.008138861507177353,
-0.047313179820775986,
-0.007277533411979675,
0.0627526044845581,
0.0929313376545906,
0.05737275630235672,
0.025093670934438705,
-0.06407914310693741,
0.018230682238936424,
0.03237120434641838,
-0.06820614635944366,
0.008723828010261059,
-0.027451960369944572,
-0.043444108217954636,
0.026512330397963524,
-0.0010334787657484412,
0.013025863096117973,
0.04359150305390358,
-0.017917471006512642,
-0.047902751713991165,
0.006264206022024155,
0.003571979235857725,
-0.04414422810077667,
0.015209123492240906,
-0.002072715200483799,
0.018497832119464874,
-0.03913286328315735,
0.02820735052227974,
0.0028488319367170334,
-0.02772832289338112,
-0.010741270147264004,
0.017806926742196083,
-0.0689062625169754,
0.015881603583693504,
-0.032647568732500076,
-0.04440216347575188,
0.08055032044649124,
-0.034471556544303894,
-0.0026277422439306974,
-0.06312108784914017,
0.014011554419994354,
-0.014269492588937283,
-0.032223813235759735,
0.0009931760141626,
-0.051882363855838776,
0.06507404148578644,
-0.01693177968263626,
0.016793599352240562,
-0.00691826269030571,
-0.07513362169265747,
-0.020119154825806618,
-0.037916868925094604,
-0.005214029923081398,
-0.012003323994576931,
0.032850231975317,
-0.02019285224378109,
0.023730285465717316,
-0.015642089769244194,
0.0910889208316803,
-0.029054861515760422,
-0.012694228440523148,
0.00853498000651598,
-0.014158947393298149,
-0.04919243976473808,
0.006512931548058987,
0.04970831423997879,
-0.01813856139779091,
-0.022237930446863174,
0.006241175811737776,
-0.034766342490911484,
0.029718128964304924,
-0.042854536324739456,
0.052656177431344986,
-0.050813764333724976,
0.007853287272155285,
0.04115951806306839,
-0.10730215907096863,
0.042080722749233246,
-0.02422773651778698,
-0.031228909268975258,
0.026972932741045952,
0.03028927743434906,
0.004891607910394669,
0.042375508695840836,
0.006757051218301058,
0.029202254489064217,
0.1263158619403839,
-0.009166006930172443,
-0.010142486542463303,
0.00035811911220662296,
0.056083064526319504,
-0.031228909268975258,
-0.03983297944068909,
0.018156984820961952,
0.08099249750375748,
-0.04981886222958565,
-0.04115951806306839,
0.00977400317788124,
0.06536883115768433,
0.06371065974235535,
-0.007963832467794418,
0.03754838556051254,
0.042080722749233246,
0.011644053272902966,
-0.003965795040130615,
0.05446174368262291,
0.009092310443520546,
-0.010842603631317616,
-0.008051346987485886,
0.05571458488702774,
-0.004702760372310877,
0.014269492588937283,
0.040238309651613235,
0.05059267580509186,
-0.08710931241512299,
0.014647186733782291,
0.030676184222102165,
0.0009874184615910053,
-0.08416144549846649,
-0.07804463803768158,
0.04793959856033325,
-0.05037158355116844,
0.0787815973162651,
0.03799056634306908,
0.04366520047187805,
-0.021243028342723846,
0.003026164136826992,
0.02030339650809765,
-0.05648839846253395,
-0.06006268039345741,
0.04097527638077736,
0.07863420993089676,
-0.08821475505828857,
0.014951185323297977,
-0.02459621988236904,
0.05464598536491394,
-0.009552913717925549,
0.050740066915750504,
0.03942764922976494,
-0.00048017900553531945,
0.018811041489243507,
-0.0453970693051815,
-0.07760245352983475,
-0.006614264566451311,
-0.05947310850024223,
-0.015798695385456085,
0.002290350152179599,
0.013845737092196941,
-0.003288708161562681,
-0.015596030279994011,
0.008189528249204159,
-0.002899498213082552,
-0.017825350165367126,
-0.01960328035056591,
-0.025462154299020767,
0.04252290353178978,
-0.006734021473675966,
0.046834152191877365,
0.01899528317153454,
0.02019285224378109,
-0.01306271180510521,
0.014951185323297977,
-0.02612542361021042,
-0.00853498000651598,
-0.012574472464621067,
-0.040348853915929794,
0.007434138562530279,
0.04384944215416908,
-0.0443284697830677,
0.005817420780658722,
-0.03776947781443596,
-0.05243508890271187,
-0.009198249317705631,
0.03749311342835426,
0.02702820487320423,
-0.012252049520611763,
-0.011975687928497791,
-0.010234606452286243,
-0.020985089242458344,
-0.04948722571134567,
0.048971351236104965,
-0.02304859273135662,
0.013560162857174873,
-0.06805875152349472,
0.038690682500600815,
-0.033181868493556976,
0.03961189091205597,
0.013145620003342628,
0.039575040340423584,
0.024375129491090775,
-0.006185903213918209,
0.03474791720509529,
-0.0349874310195446,
0.015402576886117458,
0.05836765840649605,
-0.010999208316206932,
-0.027120325714349747,
0.011717749759554863,
-0.03356877341866493,
-0.032168541103601456,
0.03565070033073425,
-0.011395327746868134,
0.000953448994550854,
-0.061684004962444305,
-0.02273538149893284,
0.042670294642448425,
-0.000968994339928031,
0.019990187138319016,
0.007894741371273994,
-0.0031712541822344065,
0.02459621988236904,
0.03876437991857529,
-0.010234606452286243,
-0.06735863536596298,
-0.0061766910366714,
0.030749881640076637,
0.004156945273280144,
0.09366830438375473,
0.008723828010261059,
-0.03664560243487358,
0.051108550280332565,
-0.06533198058605194,
-0.04882395640015602,
-0.00802831631153822,
0.008277042768895626,
-0.054424893110990524,
-0.04222811758518219,
0.02411719225347042,
0.0040717339143157005,
0.025517426431179047,
-0.06094703823328018,
0.048676565289497375,
-0.0419333316385746,
0.02887061983346939,
0.01570657454431057,
-0.008806736208498478,
-0.006342508364468813,
0.0185623150318861,
0.038580138236284256,
0.017235778272151947,
0.01669226586818695,
0.07207521796226501,
-0.027599353343248367,
0.0012436291435733438,
-0.003182769287377596,
-0.012546835467219353,
0.014195796102285385,
0.0044747618958354,
-0.022882776334881783,
0.065184585750103,
0.01330222561955452,
-0.05457228794693947,
0.004919243976473808,
0.02030339650809765,
0.048013295978307724,
-0.0013875676086172462,
0.021869448944926262,
0.032942354679107666,
0.031026242300868034,
0.027746746316552162,
0.04384944215416908,
-0.022956471890211105,
-0.021482540294528008,
-0.02601487748324871,
-0.029294373467564583,
0.028188927099108696,
0.05910462513566017,
0.014859064482152462,
-0.00017833986203186214,
-0.004594518803060055,
0.043923135846853256,
0.03408464789390564,
-0.03356877341866493,
-0.03600075840950012,
0.003710160031914711,
0.015061730518937111,
0.02513051964342594,
-0.016738327220082283,
-0.0252410639077425,
-0.016858084127306938,
0.026088574901223183,
0.05862559750676155,
0.01330222561955452,
0.012961379252374172,
-0.0123533820733428,
-0.053945865482091904,
-0.06787451356649399,
0.05037158355116844,
0.01693177968263626,
-0.030676184222102165,
-0.016434328630566597,
-0.05571458488702774,
-0.011533508077263832,
-0.022845927625894547,
-0.013421982526779175,
0.03130260482430458,
-0.010289879515767097,
-0.0734385997056961,
-0.05328259617090225,
0.034250468015670776,
0.014269492588937283,
-0.015927664935588837,
-0.00020928666344843805,
-0.042375508695840836,
-0.0022880472242832184,
-0.016323784366250038,
0.009635822847485542,
0.041785936802625656,
-0.005131121724843979,
0.002954770578071475,
0.01455506682395935,
-0.02583063766360283,
-0.04174908995628357,
0.008502738550305367,
0.005043606739491224,
0.03670087829232216,
0.030362974852323532,
-0.04768165946006775,
0.013145620003342628,
-0.022938048467040062,
-0.03771420568227768,
-0.04569185525178909,
0.023564469069242477,
0.014527430757880211,
0.01306271180510521,
-0.05114539712667465,
-0.06459501385688782,
0.011957263574004173,
0.0068031116388738155,
-0.00464748777449131,
0.018424134701490402,
-0.010234606452286243,
-0.0020393214654177427,
0.009410127066075802,
0.06927474588155746,
-0.00019993065507151186,
-0.017926683649420738,
-0.04532337188720703,
-0.03320029005408287,
0.022182658314704895,
0.019455885514616966,
-0.037806324660778046,
-0.049671467393636703,
0.0472763292491436,
0.0012344170827418566,
-0.07892899215221405,
-0.028594257310032845,
0.01096236053854227,
-0.03924340754747391,
-0.03576124459505081,
-0.022772230207920074,
0.003710160031914711,
-0.00926733948290348,
0.055382948368787766,
0.020524486899375916,
0.03622185066342354,
-0.018332013860344887,
0.0016950203571468592,
-0.004051006864756346,
-0.05077691376209259,
-0.028852194547653198,
0.027930987998843193,
-0.011957263574004173,
-0.01332986168563366,
-0.019382189959287643,
-0.013182468712329865,
0.019787520170211792,
0.007061049807816744,
0.03939079865813255,
-0.0030722245573997498,
0.05313520506024361,
0.02636493742465973,
0.04547076299786568,
-0.02102193795144558,
0.0025885908398777246,
0.06872202455997467,
0.03611130267381668,
-0.038801226764917374,
-0.022606413811445236,
-0.021058786660432816,
0.03616657480597496,
0.050224192440509796,
-0.04922928661108017,
0.009124552831053734,
-0.016968628391623497,
-0.014251068234443665,
0.03795371949672699,
-0.0007421471527777612,
-0.0331265926361084,
0.031044667586684227,
-0.032997626811265945,
-0.009580549784004688,
0.0034821615554392338,
-0.027599353343248367,
-0.041785936802625656,
0.010713634081184864,
-0.004813305102288723,
0.04989255592226982,
0.010170122608542442,
0.0010265697492286563,
-0.01591845229268074,
-0.05000310018658638,
-0.037382569164037704,
-0.0062872362323105335,
-0.04521282762289047,
0.00433427793905139,
-0.0066695366986095905,
-0.007535471115261316,
0.011211086064577103,
-0.014112886972725391,
0.029681280255317688,
0.00438033789396286,
0.013154832646250725,
0.00039669463876634836,
0.013891797512769699,
-0.08828845620155334,
-0.004813305102288723,
0.0051080915145576,
0.015163063071668148,
-0.030915698036551476,
0.013661496341228485,
-0.0022511989809572697,
0.08858323842287064,
-0.027746746316552162,
-0.020561333745718002,
-0.04174908995628357,
-0.06113127991557121,
-0.04215442016720772,
-0.06057855486869812,
-0.010400423780083656,
0.014914337545633316,
-0.0034107679966837168,
0.016047421842813492,
-0.009230491705238819,
0.030307700857520103,
-0.027230871841311455,
0.0475342683494091,
0.011865142732858658,
0.0448811911046505,
-0.07937116920948029,
0.017714805901050568,
0.0123533820733428,
0.048308081924915314,
0.0034015558194369078,
-0.013375922106206417,
-0.027599353343248367,
0.011828294955193996,
-0.003459131345152855,
-0.018820254132151604,
0.0745071992278099,
0.006070752628147602,
0.0247067641466856,
-0.004668215289711952,
-0.006079964339733124,
0.06621634215116501,
-0.006333296187222004,
0.007005777209997177,
-0.004401065409183502,
-0.07325436174869537,
0.06750603020191193,
0.0032426477409899235,
-0.02411719225347042,
-0.03725359961390495,
-0.0037792506627738476,
0.014029978774487972,
-0.048860806971788406,
0.004725790582597256,
0.07133825123310089,
0.0408647321164608,
-0.042965080589056015,
-0.035374339669942856,
0.005646997131407261,
0.06934844702482224,
-0.002434288850054145,
0.016065845265984535,
-0.014739307574927807,
0.02881534770131111,
0.031689513474702835,
-0.0012632047291845083,
0.03598233684897423,
0.01211386825889349,
-0.05438804626464844,
0.07421241700649261,
-0.06805875152349472,
0.04045940190553665,
0.002402046462520957,
-0.0019218676025047898,
0.005762148182839155,
0.015255183912813663,
-0.052361391484737396,
-0.0526193305850029,
-0.010474120266735554,
-0.050629522651433945,
0.04609718546271324,
0.03023400530219078,
-0.02008230611681938,
-0.03942764922976494,
-0.008857402950525284,
-0.05718851462006569,
0.02275380678474903,
-0.012279685586690903,
0.03130260482430458,
0.06477925926446915,
0.03894862160086632,
0.05346683785319328,
0.004716578405350447,
0.013440405949950218,
0.016286935657262802,
-0.008300072513520718,
0.004592215642333031,
-0.024669917300343513,
-0.008327708579599857,
0.050924308598041534,
0.04079103469848633,
0.0007680561393499374,
-0.09020456671714783,
-0.017908258363604546,
-0.006706384941935539,
-0.011026844382286072,
0.038801226764917374,
0.06724809110164642,
-0.05000310018658638,
-0.03480318933725357,
0.015402576886117458,
0.03609288111329079,
0.006618870422244072,
-0.02245902083814144,
-0.011505872011184692,
0.0047396086156368256,
-0.04038570448756218,
-0.07951856404542923,
-0.017770078033208847,
-0.010308303870260715,
-0.032868657261133194,
0.017558200284838676,
0.025756940245628357,
-0.061315521597862244,
0.026033302769064903,
-0.024577796459197998,
-0.023619741201400757,
-0.027691474184393883,
0.052287694066762924,
-0.0012113868724554777,
-0.06183139607310295,
-0.012390230782330036,
0.030270854011178017,
0.04628142714500427,
-0.015163063071668148,
0.02500155009329319,
0.021114058792591095,
0.018101712688803673,
0.0252410639077425,
-0.04631827399134636,
0.03730887174606323,
0.015992149710655212,
-0.013256165198981762,
-0.009691094979643822,
0.0038091898895800114,
0.042559750378131866,
-0.019492734223604202,
-0.050998006016016006,
-0.01378125324845314,
-0.03784317150712013,
-0.018451770767569542,
0.02428301051259041,
-0.061204977333545685,
0.03255544602870941,
0.0009240854997187853,
0.02986552193760872,
-0.06441077589988708,
0.05427750200033188,
-0.022956471890211105,
0.021114058792591095,
-0.00900018960237503,
-0.023011744022369385,
0.05029788985848427,
-0.032279085367918015,
0.052950963377952576,
0.014177371747791767,
0.02452252432703972,
0.0003883462049998343,
-0.05210345238447189,
-0.03635081648826599,
0.014333976432681084,
0.05409326031804085,
-0.0406067930161953,
0.024393554776906967,
-0.02297489531338215,
0.0019115039613097906,
-0.07951856404542923,
-0.01671990193426609,
-0.0416753925383091,
-0.0036387667059898376,
-0.03799056634306908,
-0.11946208775043488,
0.048308081924915314,
-0.040717337280511856,
-0.019345341250300407,
0.05096115544438362,
-0.0035443429369479418,
-0.0022350777871906757,
-0.06028376892209053,
0.06076279655098915,
0.0018147772643715143,
0.04484434425830841,
-0.018921585753560066,
-0.00013645374565385282,
-0.046060338616371155,
0.004675124306231737,
0.04079103469848633,
-0.07443350553512573,
0.065700463950634,
0.04805014282464981,
0.004403368104249239,
0.000875146419275552,
-0.020745575428009033,
-0.04591294378042221,
-0.03600075840950012,
0.03452682867646217,
-0.028760073706507683,
0.005015970673412085,
-0.04690784588456154,
0.003422283101826906,
-0.04484434425830841,
0.014573490247130394,
0.036387667059898376,
-0.03028927743434906,
0.026272816583514214,
-0.036387667059898376,
-0.025112096220254898,
-0.052066605538129807,
0.004580700304359198,
0.0019575643818825483,
-0.03699566423892975,
0.04793959856033325,
-0.037087783217430115,
-0.042375508695840836,
-0.02695450931787491,
-0.02820735052227974,
-0.00797304417937994,
-0.056930575519800186,
0.06039431318640709,
0.01056624110788107,
0.013200892135500908,
-0.07004856318235397,
0.04462325572967529,
-0.013044287450611591,
0.03207641839981079,
0.02999449148774147,
0.0547565296292305,
0.02665972337126732,
0.014545854181051254,
0.009009402245283127,
0.05320890247821808,
-0.021869448944926262,
-0.006024692207574844,
-0.016913356259465218,
0.05530925095081329,
0.09219437092542648,
0.010888664051890373,
-0.05210345238447189,
-0.021279875189065933,
0.020100731402635574,
0.011432175524532795,
0.03909601271152496,
-0.018451770767569542,
-0.006572810001671314,
0.01187435444444418,
0.01760426163673401,
0.042559750378131866,
-0.017005477100610733,
0.04491804167628288,
0.09713204205036163,
-0.028115229681134224,
-0.04661305993795395,
0.031026242300868034,
-0.039169710129499435,
0.015448637306690216,
0.04119636490941048,
-0.02772832289338112,
-0.027636202052235603,
0.036664027720689774,
-0.025314761325716972,
-0.014702459797263145,
-0.029128557071089745,
0.01187435444444418,
0.008576435036957264,
0.025922758504748344,
0.0408647321164608,
0.03428731486201286,
0.017088385298848152,
0.0026668934151530266,
0.06857462972402573,
0.009055462665855885,
0.03063933551311493,
0.006254993844777346,
-0.03248174861073494,
0.022790655493736267,
0.03813795745372772,
-0.02245902083814144,
-0.011625628918409348,
0.05317205190658569,
-0.02962600812315941,
0.049376681447029114,
0.03218696266412735,
-0.006015480030328035,
-0.040238309651613235,
-0.03701408579945564,
-0.011432175524532795,
0.018147772178053856,
0.048492323607206345,
-0.015688151121139526,
0.05096115544438362,
0.020027033984661102,
0.0039105224423110485
] |
10,354 | tracking_numbers.definition | _get_additional_error | null | @staticmethod
def _get_additional_error(
validation: AdditionalValidation,
match_data: MatchData,
) -> Optional[ValidationError]:
group_key = validation.regex_group_name
raw_value = match_data.get(group_key)
if not raw_value:
return validation.name, f"{group_key} not found"
value = _remove_whitespace(raw_value)
matches_any_value = any(
value_matcher.matches(value) for value_matcher in validation.value_matchers
)
if not matches_any_value:
return validation.name, f"Match not found for {group_key}: {value}"
return None
| (validation: tracking_numbers.definition.AdditionalValidation, match_data: Dict[str, str]) -> Optional[Tuple[str, str]] | [
0.05694416165351868,
-0.05226776376366615,
0.017212748527526855,
0.11626249551773071,
-0.03516292944550514,
-0.069282665848732,
0.04694386199116707,
-0.04881441965699196,
0.06352709233760834,
-0.026943258941173553,
0.04679997265338898,
-0.02710513398051262,
0.05895861238241196,
-0.09230493754148483,
0.022824428975582123,
0.02893972024321556,
0.01444288156926632,
0.012581314891576767,
0.04676400125026703,
0.06874307990074158,
0.031205976381897926,
0.03131389245390892,
-0.04399413242936134,
-0.015558023005723953,
-0.011151415295898914,
0.08302408456802368,
0.02057616040110588,
-0.012994996272027493,
0.019676852971315384,
0.006146768108010292,
-0.02917354181408882,
-0.09100993722677231,
-0.021871162578463554,
0.08309602737426758,
-0.0413321815431118,
-0.0015254506142809987,
-0.04672802612185478,
-0.0034803207963705063,
-0.09856411814689636,
0.0035702513996511698,
0.022338801994919777,
0.027824578806757927,
-0.012608293443918228,
-0.01565694622695446,
0.007495729718357325,
-0.018282925710082054,
-0.004505531396716833,
0.03469529002904892,
-0.06122486665844917,
-0.023705750703811646,
0.04967775568366051,
-0.013912289403378963,
-0.057843469083309174,
-0.009114483371376991,
0.014218054711818695,
0.03259091079235077,
0.022464705631136894,
0.05877875164151192,
0.027267009019851685,
-0.021241648122668266,
-0.02778860740363598,
0.005814024247229099,
-0.035774458199739456,
0.004197518806904554,
-0.0266015212982893,
-0.016232503578066826,
-0.0076890806667506695,
-0.045145247131586075,
-0.04910219833254814,
-0.02944333292543888,
-0.042807046324014664,
0.019820740446448326,
-0.04136815294623375,
-0.011439193971455097,
-0.0044111041352152824,
0.01574687659740448,
-0.026493603363633156,
-0.036547865718603134,
0.07180072367191315,
0.00862885732203722,
0.019407059997320175,
0.04967775568366051,
-0.013669476844370365,
0.009964329190552235,
0.09007465839385986,
-0.04762733355164528,
0.007549687754362822,
0.00607931986451149,
0.013669476844370365,
-0.0574118010699749,
-0.08115352690219879,
-0.02514464221894741,
-0.000468764133984223,
0.04863455891609192,
0.02010851912200451,
0.016862019896507263,
0.017329659312963486,
0.0176983755081892,
0.016115592792630196,
0.05777152627706528,
0.03777092322707176,
0.0017502775881439447,
0.033310357481241226,
0.01983872801065445,
0.04183579236268997,
-0.034317582845687866,
-0.012644265778362751,
-0.023292068392038345,
-0.018867475911974907,
0.05406637862324715,
-0.04118829220533371,
-0.0691387727856636,
-0.029245486482977867,
0.033490218222141266,
0.019964629784226418,
-0.00414356030523777,
0.012599300593137741,
-0.02348991669714451,
-0.026133881881833076,
-0.021061785519123077,
0.023525888100266457,
0.011529124341905117,
-0.03827453404664993,
0.02084595151245594,
0.016628198325634003,
-0.014227047562599182,
-0.016646185889840126,
-0.007545191328972578,
0.0548577681183815,
-0.01906532235443592,
0.0029699637088924646,
0.034173693507909775,
-0.053922489285469055,
-0.0683833584189415,
-0.021745258942246437,
0.07331155985593796,
0.07813185453414917,
0.01799514703452587,
-0.030684377998113632,
0.025126656517386436,
-0.008188196457922459,
0.039209816604852676,
-0.018399834632873535,
-0.04334662854671478,
-0.004282952751964331,
-0.06752002239227295,
-0.0096945371478796,
0.08323992043733597,
-0.0029160052072256804,
-0.02098984085023403,
-0.015423126518726349,
0.014946493320167065,
0.009433737955987453,
0.003376900451257825,
0.046692054718732834,
-0.004613448400050402,
0.0193890742957592,
-0.06039750203490257,
0.0035028033889830112,
-0.02737492509186268,
0.01473965309560299,
-0.02766270376741886,
0.011439193971455097,
-0.06816752254962921,
0.04320273920893669,
-0.0013343477621674538,
0.06010972708463669,
0.0010285831522196531,
0.025360476225614548,
0.013147878460586071,
-0.020180463790893555,
0.009514675475656986,
-0.01760844513773918,
0.017131811007857323,
-0.07021794468164444,
0.08669325709342957,
-0.027590759098529816,
0.00016721502470318228,
0.009928356856107712,
0.008305106312036514,
0.00417278753593564,
0.04960581287741661,
0.011034505441784859,
0.028741873800754547,
0.03154771402478218,
-0.009523668326437473,
-0.04525316134095192,
-0.0141281234100461,
-0.029587222263216972,
0.0141281234100461,
0.041943710297346115,
-0.042807046324014664,
0.010899608954787254,
0.024515127763152122,
-0.00889415293931961,
-0.011232352815568447,
0.032842718064785004,
0.02440720982849598,
0.062340009957551956,
-0.008305106312036514,
-0.030378613620996475,
-0.05266345664858818,
-0.016295455396175385,
0.039425648748874664,
-0.06464223563671112,
-0.02199706621468067,
0.029155554249882698,
0.020504215732216835,
-0.08302408456802368,
-0.028220275416970253,
-0.035450708121061325,
0.02683534100651741,
0.016583234071731567,
0.08122546970844269,
0.04500135779380798,
-0.04172787815332413,
-0.0325009785592556,
-0.011061484925448895,
0.0036961545702069998,
0.05215984582901001,
0.02857999876141548,
-0.0861177071928978,
0.0777001827955246,
0.015602988190948963,
0.027392912656068802,
0.03834648057818413,
0.008102762512862682,
0.017932195216417313,
-0.002425882499665022,
0.0025787646882236004,
0.020054562017321587,
-0.03108007274568081,
0.044138021767139435,
-0.027734648436307907,
-0.03478522226214409,
-0.016718130558729172,
0.03478522226214409,
-0.01636740006506443,
0.11381638050079346,
0.034317582845687866,
-0.03708744794130325,
-0.024784918874502182,
-0.037734951823949814,
0.07460656762123108,
-0.00920891109853983,
-0.03852634131908417,
-0.025540338829159737,
-0.005571211222559214,
0.016178544610738754,
-0.010836657136678696,
-0.028544025495648384,
0.039245788007974625,
0.036098212003707886,
0.0523037351667881,
0.0026619506534188986,
0.008921132422983646,
-0.0396774560213089,
-0.02798645570874214,
0.0928085520863533,
-0.02298630401492119,
0.03460535779595375,
0.08144130557775497,
0.0024933305103331804,
-0.021961092948913574,
-0.06183639541268349,
-0.016205525025725365,
-0.0002794879546854645,
0.032662853598594666,
0.02239276096224785,
0.02001858875155449,
0.07230433821678162,
0.03566654399037361,
-0.007671094499528408,
0.005625169724225998,
-0.001565919490531087,
-0.0052294740453362465,
0.015252258628606796,
0.024569086730480194,
0.04910219833254814,
-0.02710513398051262,
-0.013669476844370365,
-0.0005727465613745153,
-0.032932646572589874,
-0.012338501401245594,
0.01933511532843113,
0.03647591918706894,
-0.00009990746184485033,
-0.035630568861961365,
-0.052915263921022415,
-0.012869092635810375,
-0.03852634131908417,
-0.0809376910328865,
-0.0010010418482124805,
0.040396902710199356,
-0.06205223128199577,
-0.03232111781835556,
0.004982164595276117,
-0.03548667952418327,
0.014559791423380375,
0.019281156361103058,
0.015135347843170166,
0.04190773889422417,
0.07949879765510559,
0.005791541654616594,
-0.09151355177164078,
-0.01574687659740448,
0.027320967987179756,
-0.018255945295095444,
-0.03442549705505371,
-0.004534759093075991,
-0.04438982531428337,
0.029083609580993652,
-0.027644718065857887,
-0.014352950267493725,
0.025522351264953613,
0.00693815853446722,
0.036278072744607925,
0.019892685115337372,
0.008107258938252926,
0.005409335717558861,
0.0202524084597826,
-0.035126958042383194,
-0.02116970345377922,
-0.051404427736997604,
0.03766300529241562,
-0.03867023065686226,
-0.027446869760751724,
0.005193501710891724,
0.04165593162178993,
0.03451542928814888,
-0.00809376873075962,
-0.11036303639411926,
-0.0038490367587655783,
0.027267009019851685,
0.016052642837166786,
0.00002406350540695712,
-0.022914359346032143,
-0.02188914828002453,
-0.011870861053466797,
0.026115894317626953,
-0.02390359900891781,
0.02947930619120598,
-0.023849640041589737,
-0.022410746663808823,
0.02107977122068405,
-0.03154771402478218,
0.030558474361896515,
0.007432777900248766,
-0.033670078963041306,
-0.020720049738883972,
-0.006600918248295784,
0.04046884551644325,
-0.04859858751296997,
-0.043814271688461304,
0.05759166553616524,
-0.015099375508725643,
-0.03363410755991936,
-0.002192062558606267,
0.051764149218797684,
0.05572110414505005,
0.06090111657977104,
-0.027860552072525024,
-0.01630444824695587,
-0.017005907371640205,
0.012473397888243198,
-0.027087146416306496,
-0.05212387442588806,
0.021781232208013535,
0.009150455705821514,
0.005903955083340406,
0.006965138018131256,
-0.012482390739023685,
0.07025391608476639,
-0.031116046011447906,
0.004417848773300648,
0.025252560153603554,
0.02348991669714451,
0.0414041243493557,
-0.039785370230674744,
-0.041799820959568024,
0.0029452326707541943,
0.037411198019981384,
-0.057987358421087265,
0.02048622816801071,
0.02057616040110588,
0.0011128932237625122,
-0.0024056481197476387,
0.02098984085023403,
-0.012446418404579163,
0.029785070568323135,
0.00406262231990695,
-0.014451874420046806,
0.04608052596449852,
-0.011888847686350346,
-0.025288531556725502,
0.004568483214825392,
-0.03259091079235077,
-0.019766783341765404,
-0.039209816604852676,
0.011951799504458904,
-0.027734648436307907,
0.013165864162147045,
-0.06708835065364838,
-0.029461320489645004,
0.03624210134148598,
-0.000026663066819310188,
-0.0029564739670604467,
0.06939058005809784,
-0.04626038670539856,
0.014964479953050613,
-0.029047638177871704,
-0.02250067889690399,
-0.006367098540067673,
-0.0574118010699749,
-0.013057947158813477,
0.003943464253097773,
0.06787974387407303,
0.05755569040775299,
-0.029497291892766953,
-0.0132827740162611,
-0.004181780852377415,
-0.02820228971540928,
-0.003687161486595869,
0.06201625615358353,
0.02298630401492119,
-0.005620672833174467,
-0.02917354181408882,
-0.005769058596342802,
0.011637041345238686,
-0.013012981973588467,
-0.02345394343137741,
0.0004991157911717892,
-0.030504517257213593,
0.005449804477393627,
0.047879140824079514,
-0.030144793912768364,
-0.01378638669848442,
0.017563479021191597,
-0.0030306668486446142,
0.026673465967178345,
0.01446986012160778,
0.020809980109333992,
0.019550949335098267,
0.052915263921022415,
-0.019712824374437332,
-0.02920951321721077,
-0.0001262543664779514,
0.009352799504995346,
-0.012626280076801777,
-0.028777845203876495,
-0.003954705316573381,
0.01639437861740589,
-0.008745767176151276,
0.017770320177078247,
0.040396902710199356,
0.009910370223224163,
-0.054246239364147186,
-0.07255614548921585,
-0.0018626910168677568,
-0.05007345229387283,
-0.002643964486196637,
0.057843469083309174,
0.009226896800100803,
0.025846103206276894,
-0.03543272241950035,
0.005724093411117792,
0.08698103576898575,
-0.04021703824400902,
-0.05856291577219963,
-0.004568483214825392,
-0.026529576629400253,
-0.024299293756484985,
0.013858331367373466,
0.001947001088410616,
0.04233940690755844,
0.02043227106332779,
0.0006396325770765543,
-0.005966906435787678,
-0.018993377685546875,
0.010261100716888905,
0.0734914243221283,
0.004202015232294798,
0.006956144701689482,
-0.0009189800475724041,
-0.02116970345377922,
-0.01088162325322628,
0.008822208270430565,
0.01190683338791132,
-0.07338351011276245,
0.007837466895580292,
-0.007779011502861977,
0.007976858876645565,
-0.028400136157870293,
0.033490218222141266,
-0.011232352815568447,
-0.017095839604735374,
0.04374232515692711,
-0.005827513989061117,
0.045325107872486115,
-0.0004794434062205255,
0.028310205787420273,
-0.025702213868498802,
0.02751881442964077,
-0.02879583276808262,
0.044138021767139435,
-0.07467851042747498,
-0.011286311782896519,
0.03203333914279938,
0.04579274728894234,
0.028562011197209358,
-0.06223209202289581,
0.04795108735561371,
0.01378638669848442,
0.011133428663015366,
0.00033695934689603746,
-0.0076890806667506695,
0.02651159092783928,
-0.0011938309762626886,
0.006915675941854715,
-0.0031745561864227057,
-0.03255493938922882,
0.042627185583114624,
-0.031799521297216415,
-0.058670833706855774,
0.030054863542318344,
0.03534279018640518,
-0.06687252223491669,
0.007297881878912449,
-0.007500226143747568,
-0.009820439852774143,
0.007675590924918652,
0.013453642837703228,
0.04823886230587959,
0.02559429593384266,
-0.024802906438708305,
-0.019173240289092064,
-0.022788455709815025,
0.038202591240406036,
-0.11086665093898773,
-0.014874548651278019,
0.0024663512594997883,
-0.003343176329508424,
0.0004943381645716727,
-0.02295033261179924,
-0.027033189311623573,
0.021097758784890175,
-0.009060525335371494,
0.026943258941173553,
-0.05093678832054138,
-0.028364164754748344,
-0.025288531556725502,
0.03519890084862709,
0.039569538086652756,
0.03012680821120739,
-0.010458948090672493,
-0.002488834084942937,
-0.045325107872486115,
0.04557691141963005,
0.05115262046456337,
-0.033076535910367966,
0.0009178558830171824,
-0.029677152633666992,
0.0006919048610143363,
-0.015351181849837303,
-0.04359843581914902,
-0.08172908425331116,
-0.06482210010290146,
0.019730810075998306,
-0.034317582845687866,
0.06586529314517975,
-0.04377829656004906,
0.04036092758178711,
-0.013606525026261806,
-0.03205132484436035,
-0.04780719801783562,
-0.006101802457123995,
0.013138885609805584,
0.05061303451657295,
0.0018345876596868038,
-0.014856562949717045,
0.02377769537270069,
0.013768400996923447,
0.0718366950750351,
-0.01992865838110447,
-0.0007413667626678944,
-0.038058701902627945,
-0.0135076018050313,
0.006155760958790779,
-0.08424714207649231,
0.021403523162007332,
-0.0030913702212274075,
0.04924608767032623,
-0.0009021180449053645,
-0.007369826547801495,
0.010000301524996758,
0.04122426360845566,
0.002072904258966446,
0.015629967674613,
0.035540640354156494,
0.03849036991596222,
0.006510987412184477,
0.024605058133602142,
0.01847177930176258,
0.008799725212156773,
0.034083761274814606,
-0.006200726609677076,
0.025360476225614548,
-0.02107977122068405,
0.002769867656752467,
-0.03196139633655548,
0.00944273080676794,
0.014110137708485126,
-0.016978928819298744,
-0.024119431152939796,
0.0011623551836237311,
-0.042303431779146194,
-0.015629967674613,
0.03521689027547836,
-0.023166166618466377,
0.002623730106279254,
0.015414133667945862,
0.005980396177619696,
-0.06212417408823967,
0.019550949335098267,
0.027213050052523613,
-0.02217692695558071,
-0.007329357787966728,
0.01998261734843254,
-0.0708654448390007,
-0.08841992914676666,
-0.02989298664033413,
0.02757277339696884,
0.0052519566379487514,
-0.06633293628692627,
-0.020198451355099678,
-0.0011454931227490306,
0.0599658377468586,
0.010602837428450584,
0.0033544176258146763,
-0.0047978064976632595,
-0.019532963633537292,
-0.028040412813425064,
-0.08345575630664825,
0.04248329624533653,
-0.016466323286294937,
0.07892324030399323,
-0.044677603989839554,
-0.058994583785533905,
0.03203333914279938,
0.019011365249753,
-0.04377829656004906,
0.0707935020327568,
-0.03575647249817848,
0.0077115632593631744,
0.02875985950231552,
0.014029200188815594,
0.023885611444711685,
-0.004406607709825039,
-0.06093708798289299,
0.0109715536236763,
-0.11165804415941238,
0.02185317687690258,
0.01699691452085972,
-0.019299142062664032,
0.04510927200317383,
-0.039065927267074585,
0.02600797824561596,
-0.039785370230674744,
0.05201595649123192,
-0.0015411885688081384,
-0.05690819025039673,
-0.012095687910914421,
-0.01448784675449133,
0.039929259568452835,
-0.03528883308172226,
-0.007428281474858522,
0.008152224123477936,
-0.02802242711186409,
0.019173240289092064,
0.03214125707745552,
0.03971342742443085,
0.01755448617041111,
-0.03534279018640518,
-0.001832339446991682,
-0.02609790861606598,
0.049030255526304245,
-0.018543723970651627,
0.017005907371640205,
0.07201655954122543,
0.027446869760751724,
-0.01737462356686592,
-0.034263622015714645,
0.006160257384181023,
-0.026493603363633156,
-0.09266466647386551,
-0.014757638797163963,
-0.030054863542318344,
0.04881441965699196,
0.011115442961454391,
0.0183548703789711,
-0.053742628544569016,
0.007014600094407797,
-0.026403672993183136,
-0.04579274728894234,
0.028777845203876495,
-0.017212748527526855,
-0.014182082377374172,
-0.031241949647665024,
-0.008057796396315098,
-0.03241105005145073,
0.012122667394578457,
-0.01161006186157465,
-0.037411198019981384,
-0.01008123904466629,
-0.03287868946790695,
-0.026943258941173553,
0.0396774560213089,
0.014451874420046806,
-0.030324654653668404,
0.004793310072273016,
0.009649571031332016,
0.05708805099129677,
0.00493719894438982,
-0.008174707181751728,
-0.044821493327617645,
0.0759735107421875,
-0.032518964260816574,
-0.13101114332675934,
0.046871915459632874,
0.0388500913977623,
-0.0025697716046124697,
0.07172878086566925,
0.04018106684088707,
0.029731111600995064,
0.02811235748231411,
0.0004794434062205255,
-0.06604515761137009,
-0.01279714796692133,
0.002488834084942937,
0.03345424681901932,
0.009406758472323418,
0.03473126143217087,
0.012320514768362045,
-0.039605509489774704,
0.033580150455236435,
0.04237537831068039,
0.006591925397515297,
0.035720501095056534,
-0.04611649736762047,
-0.015423126518726349,
0.01734764501452446,
-0.06287959218025208,
0.023507902398705482,
0.007931893691420555,
-0.017041880637407303,
0.022410746663808823,
0.019946644082665443,
0.007810487411916256,
0.01236548088490963,
0.03548667952418327,
0.05280734598636627,
0.03480320796370506,
0.0038490367587655783,
0.0037680992390960455,
0.010737733915448189,
0.009451723657548428,
-0.03338230028748512,
0.03762703388929367
] |
10,355 | tracking_numbers.definition | _get_checksum_errors | null | def _get_checksum_errors(
self,
serial_number: Optional[SerialNumber],
match_data: MatchData,
) -> Optional[ValidationError]:
if not self.checksum_validator:
return None
if not serial_number:
return "checksum", "SerialNumber not found"
check_digit = match_data.get("CheckDigit")
if not check_digit:
return "checksum", "CheckDigit not found"
passes_checksum = self.checksum_validator.passes(
serial_number=serial_number,
check_digit=int(check_digit),
)
if not passes_checksum:
return "checksum", "Checksum validation failed"
return None
| (self, serial_number: Optional[List[int]], match_data: Dict[str, str]) -> Optional[Tuple[str, str]] | [
0.04048958048224449,
-0.04602910950779915,
0.030139409005641937,
0.048033542931079865,
-0.010659947991371155,
-0.05794638395309448,
-0.030886515974998474,
-0.030303407460451126,
0.035314492881298065,
-0.048397984355688095,
0.047924209386110306,
0.029428744688630104,
0.07806362211704254,
-0.07175876200199127,
0.04132779687643051,
-0.011616609990596771,
0.010751058347523212,
0.04821576550602913,
0.022431446239352226,
0.04956420138478279,
0.04300423339009285,
0.08746623992919922,
-0.0702645480632782,
0.047669101506471634,
-0.050475310534238815,
0.106563039124012,
0.06395968794822693,
0.007903850637376308,
0.042457569390535355,
0.014942149631679058,
-0.053281519562006,
-0.015060593374073505,
0.019825680181384087,
0.07154009491205215,
-0.08389469981193542,
0.02793453074991703,
0.037136707454919815,
0.020135456696152687,
-0.09052755683660507,
0.035678938031196594,
-0.006687522865831852,
0.04883531853556633,
-0.004553255625069141,
-0.00894251186400652,
-0.02173900417983532,
-0.007935739122331142,
-0.04898109287023544,
0.03207095339894295,
-0.11035323888063431,
0.0015363536076620221,
0.04504511505365372,
-0.004172868560999632,
-0.057253941893577576,
-0.038339368999004364,
0.05401040241122246,
0.048653095960617065,
0.0339660570025444,
0.0497099794447422,
0.0022618223447352648,
-0.01211771834641695,
-0.015607257373631,
0.04103624448180199,
-0.02563854120671749,
0.004815198946744204,
-0.04675799235701561,
-0.02470921352505684,
0.04325934499502182,
-0.04832509905099869,
-0.00140424317214638,
0.04187446087598801,
0.020572789013385773,
0.03852159157395363,
-0.022212781012058258,
-0.008386736735701561,
0.04315001145005226,
-0.028390083461999893,
0.040161583572626114,
0.014195041730999947,
0.03006651997566223,
-0.016126587986946106,
0.04387889802455902,
0.02684120275080204,
0.0031273735221475363,
-0.03881314396858215,
0.0033893168438225985,
-0.02594831772148609,
0.018158355727791786,
0.03238072991371155,
-0.03130562603473663,
-0.03112340345978737,
-0.058456603437662125,
-0.018158355727791786,
-0.04737754538655281,
-0.027278533205389977,
0.006318524945527315,
0.031086958944797516,
-0.013429712504148483,
-0.00815440434962511,
-0.010751058347523212,
0.036517154425382614,
0.007963072508573532,
0.07784495502710342,
0.020099012181162834,
0.04048958048224449,
0.01736569218337536,
-0.03591582551598549,
-0.06647434085607529,
0.02387099526822567,
-0.005165974609553814,
0.02470921352505684,
-0.017839469015598297,
0.019825680181384087,
-0.008805845864117146,
-0.016144810244441032,
0.009575731121003628,
-0.05586906149983406,
0.04642999544739723,
0.00460108881816268,
-0.09052755683660507,
-0.03454916551709175,
0.07121209800243378,
0.02230389043688774,
-0.021720783784985542,
-0.00339387240819633,
0.025893650949001312,
-0.008482403121888638,
0.008291070349514484,
0.007102076429873705,
0.03469494357705116,
-0.0009156622109003365,
0.007903850637376308,
0.025365209206938744,
0.02429010346531868,
-0.01448659598827362,
-0.03347405791282654,
0.03429405391216278,
0.05291707441210747,
-0.007475630380213261,
-0.05124063789844513,
0.018586575984954834,
0.003197984304279089,
0.014003709889948368,
-0.029902521520853043,
-0.03320072591304779,
0.019260795786976814,
-0.015133481472730637,
-0.0017812135629355907,
0.031032294034957886,
0.0046466439962387085,
0.008728401735424995,
0.027424311265349388,
0.0045236446894705296,
0.034476276487112045,
0.04387889802455902,
-0.009161177091300488,
-0.011106390506029129,
0.04322290048003197,
-0.05586906149983406,
-0.027806974947452545,
-0.014495707117021084,
0.02893674746155739,
-0.04726821556687355,
0.04799709841609001,
-0.04570110887289047,
0.04023446887731552,
-0.004869865253567696,
-0.023542996495962143,
-0.03219851106405258,
0.013949043117463589,
-0.030777182430028915,
-0.043077122420072556,
0.030358074232935905,
0.011981052346527576,
-0.0028426528442651033,
-0.006063414737582207,
0.04227535054087639,
-0.02230389043688774,
-0.04530022293329239,
-0.0181856881827116,
-0.017229026183485985,
-0.019169684499502182,
-0.0014862427487969398,
0.037391819059848785,
0.08783068507909775,
-0.0036694821901619434,
0.009215843863785267,
-0.0302851852029562,
-0.010003951378166676,
0.028645193204283714,
-0.04085402190685272,
0.02944696694612503,
0.014942149631679058,
-0.020864343270659447,
0.020190123468637466,
0.030157631263136864,
-0.015343036502599716,
0.03356517106294632,
0.017119694501161575,
0.07784495502710342,
-0.05707172304391861,
0.0017231304664164782,
-0.02585720643401146,
-0.005398306995630264,
0.08141649514436722,
-0.09460931271314621,
-0.03779270499944687,
0.030922960489988327,
0.07529385387897491,
-0.05043886601924896,
-0.026258094236254692,
-0.01550703588873148,
0.004550977610051632,
-0.0064005241729319096,
0.06982721388339996,
0.007238742429763079,
-0.08309292793273926,
0.03779270499944687,
-0.035514939576387405,
-0.005348196253180504,
0.00846873689442873,
0.02924652397632599,
-0.023798106238245964,
0.04690377041697502,
0.0007602046243846416,
0.010687281377613544,
0.04493578150868416,
-0.0074938521720469,
0.0157439224421978,
0.00048345598042942584,
0.007147631607949734,
-0.0233425535261631,
-0.004637532867491245,
0.014814594760537148,
0.034057166427373886,
0.006573634687811136,
-0.01797613501548767,
-0.0029269300866872072,
-0.014914816245436668,
0.033328283578157425,
-0.03023051843047142,
-0.05145930498838425,
-0.0309047382324934,
0.029847854748368263,
0.08396758884191513,
0.05794638395309448,
-0.043332234025001526,
0.01725636050105095,
0.027606531977653503,
-0.03524160757660866,
-0.04315001145005226,
-0.06804144382476807,
0.007102076429873705,
0.047814879566431046,
-0.015762144699692726,
0.003519149497151375,
-0.04624777287244797,
-0.01248216163367033,
0.013985487632453442,
0.08746623992919922,
0.015370369888842106,
0.03757403790950775,
-0.004687643609941006,
0.0073754084296524525,
-0.030558517202734947,
-0.06541746109724045,
-0.03624382242560387,
-0.017484137788414955,
0.08192671090364456,
-0.03764692693948746,
0.05597839504480362,
0.06202814355492592,
-0.025893650949001312,
-0.04362378641963005,
0.036826930940151215,
0.000024859687982825562,
0.025055432692170143,
0.011370611377060413,
0.0015363536076620221,
0.06946276873350143,
-0.026822980493307114,
-0.003890425432473421,
-0.012974158860743046,
0.021028341725468636,
-0.03347405791282654,
0.02064567618072033,
0.04329578951001167,
0.02678653597831726,
-0.06275703012943268,
-0.029629189521074295,
0.0038995365612208843,
-0.004906309302896261,
-0.029957186430692673,
-0.020190123468637466,
-0.013693933375179768,
-0.009215843863785267,
0.012946825474500656,
0.004653477109968662,
-0.027606531977653503,
0.03445805236697197,
0.0043550897389650345,
-0.07011877000331879,
0.04132779687643051,
0.1174963191151619,
-0.05401040241122246,
-0.08046893775463104,
-0.018431687727570534,
0.018586575984954834,
0.017839469015598297,
-0.016144810244441032,
-0.0018210744019597769,
0.0015295202611014247,
0.07463786005973816,
0.04566466435790062,
-0.005562306381762028,
0.044279783964157104,
0.01323837973177433,
0.03782914951443672,
0.05291707441210747,
0.012810159474611282,
0.05667083337903023,
-0.0009441343136131763,
0.012072163634002209,
0.0035624271258711815,
0.010514170862734318,
0.028226085007190704,
-0.04300423339009285,
-0.021502116695046425,
-0.03560604900121689,
0.00912473350763321,
0.048762429505586624,
-0.021975893527269363,
-0.05976859852671623,
0.01404926460236311,
0.01793057844042778,
0.037191372364759445,
0.005926748737692833,
0.02188478223979473,
-0.05521306395530701,
-0.016281476244330406,
0.028335416689515114,
0.04945487156510353,
-0.01074194721877575,
0.04045313596725464,
-0.030248740687966347,
0.07959427684545517,
-0.016117477789521217,
0.039687804877758026,
0.0018336022039875388,
-0.07092054188251495,
-0.009448176249861717,
-0.018313243985176086,
0.018878130242228508,
-0.037610482424497604,
-0.032654061913490295,
0.09883685410022736,
-0.0029246523045003414,
-0.03496827557682991,
-0.027770530432462692,
0.04048958048224449,
0.08440492302179337,
0.010641725733876228,
-0.024417659267783165,
0.0152974808588624,
-0.022814111784100533,
-0.015570812858641148,
-0.0342029444873333,
-0.08076049387454987,
0.014623261988162994,
0.04748687893152237,
-0.030831849202513695,
-0.031250957399606705,
0.02736964449286461,
0.011215723119676113,
-0.06585478782653809,
0.01414948608726263,
-0.03183406591415405,
0.0406353585422039,
0.015051482245326042,
-0.016554808244109154,
-0.023597663268446922,
-0.0478513203561306,
-0.031615402549505234,
-0.031250957399606705,
0.006856077816337347,
-0.037610482424497604,
0.010377504862844944,
-0.0369909293949604,
-0.012217940762639046,
-0.040890466421842575,
0.05838371440768242,
0.007129409816116095,
0.006414190866053104,
0.04796065390110016,
-0.011871719732880592,
-0.03863092139363289,
0.051568638533353806,
0.02773408778011799,
0.02857230417430401,
-0.07037387788295746,
-0.0581650510430336,
-0.051787301898002625,
-0.042931344360113144,
-0.035514939576387405,
0.013675711117684841,
0.05550461634993553,
0.0309047382324934,
0.0142314862459898,
-0.014677928760647774,
-0.026859425008296967,
-0.006701189558953047,
-0.04508155956864357,
-0.04799709841609001,
0.02142922952771187,
-0.027387866750359535,
-0.013821488246321678,
0.022540779784321785,
0.047304656356573105,
0.034476276487112045,
-0.009448176249861717,
0.03341939300298691,
0.004897198174148798,
-0.015825923532247543,
-0.00108535576146096,
0.03855803236365318,
0.04438911750912666,
0.04194734990596771,
0.00846873689442873,
0.050839751958847046,
-0.0400158055126667,
-0.005329973995685577,
-0.018641242757439613,
0.04650288447737694,
-0.05196952447295189,
-0.03232606500387192,
0.025711430236697197,
-0.04315001145005226,
-0.00020741912885569036,
-0.013648377731442451,
-0.012518605217337608,
0.014759927988052368,
0.0024007661268115044,
0.011479943990707397,
0.03382027894258499,
0.03757403790950775,
0.000148766630445607,
-0.029629189521074295,
0.06275703012943268,
-0.03491360694169998,
-0.04628421738743782,
-0.007712517865002155,
-0.009384398348629475,
-0.0030818183440715075,
-0.04340512305498123,
-0.0369909293949604,
0.0072524091228842735,
0.019953235983848572,
-0.046357106417417526,
-0.039177585393190384,
-0.04752332344651222,
-0.04810643196105957,
-0.001764130312949419,
0.06592767685651779,
-0.02215811423957348,
0.012646160088479519,
-0.062356140464544296,
-0.012473050504922867,
0.025146543979644775,
-0.038958922028541565,
-0.0004714977112598717,
0.009261399507522583,
-0.03771981596946716,
-0.03790203854441643,
0.01389437634497881,
0.023378996178507805,
-0.019953235983848572,
0.008140738122165203,
0.028681637719273567,
-0.026804758235812187,
-0.053864624351263046,
-0.0014258819865062833,
0.02496432326734066,
-0.00208415649831295,
0.019115017727017403,
-0.016172142699360847,
-0.005908526945859194,
-0.018477242439985275,
-0.024308325722813606,
-0.012400161474943161,
-0.062210362404584885,
-0.04384245350956917,
-0.033073171973228455,
0.007407297380268574,
-0.005302640609443188,
-0.0012801048578694463,
0.006564523559063673,
0.023907439783215523,
0.009448176249861717,
0.03961491957306862,
-0.05317218601703644,
-0.022595444694161415,
0.00732074212282896,
-0.004960975609719753,
0.06166369840502739,
-0.02350655198097229,
0.007780850864946842,
-0.05721749737858772,
-0.012217940762639046,
-0.027351422235369682,
0.04956420138478279,
0.015097037889063358,
-0.0466122180223465,
0.04566466435790062,
0.02224922552704811,
0.02064567618072033,
-0.04081757739186287,
-0.005257085431367159,
-0.0014589095953851938,
-0.013949043117463589,
-0.01014061737805605,
0.04322290048003197,
-0.029720298945903778,
0.06035170704126358,
0.005721749737858772,
-0.04664866253733635,
-0.012801048345863819,
0.02308744378387928,
-0.03214384242892265,
-0.02709631249308586,
0.006801411043852568,
-0.05623350292444229,
-0.03505938500165939,
0.018632130697369576,
0.03717315196990967,
0.010195283219218254,
-0.030868293717503548,
-0.01918790675699711,
-0.019953235983848572,
0.021593227982521057,
-0.10955146700143814,
-0.008664624765515327,
-0.03768337145447731,
0.01955234818160534,
-0.028371861204504967,
-0.07146720588207245,
-0.022795889526605606,
0.03418472036719322,
0.004692199174314737,
0.034057166427373886,
-0.07230542600154877,
-0.025711430236697197,
-0.002218544716015458,
0.010833058506250381,
0.04325934499502182,
-0.03143317997455597,
0.012873937375843525,
0.029829632490873337,
-0.010104172863066196,
-0.002710542408749461,
0.054593510925769806,
-0.04471711441874504,
0.02403499372303486,
-0.007603185251355171,
-0.04617488756775856,
-0.03469494357705116,
-0.019534127786755562,
-0.062429029494524,
0.008149849250912666,
-0.05885748937726021,
-0.03456738591194153,
0.029264746233820915,
-0.033018507063388824,
0.07066543400287628,
-0.008300181478261948,
0.020663898438215256,
0.0005264488281682134,
-0.046830881386995316,
-0.005844749044626951,
-0.0016354364342987537,
-0.0004085743858013302,
-0.015133481472730637,
0.06574545800685883,
-0.023014554753899574,
0.007015521172434092,
-0.006195525173097849,
0.005949526559561491,
-0.015625478699803352,
-0.04147357493638992,
-0.023652328178286552,
-0.03465849906206131,
-0.048179320991039276,
0.01126127876341343,
-0.014249708503484726,
-0.022395001724362373,
-0.033747389912605286,
-0.02017190121114254,
0.06013303995132446,
-0.013220157474279404,
0.01616303250193596,
0.011124612763524055,
0.03048563003540039,
0.021866559982299805,
0.0575454980134964,
0.01782124675810337,
0.004878976382315159,
0.061736587435007095,
-0.007594074122607708,
-0.02230389043688774,
0.021247006952762604,
0.021593227982521057,
-0.02131989598274231,
0.01260971650481224,
0.009630397893488407,
0.023652328178286552,
-0.03771981596946716,
-0.002191211562603712,
-0.04530022293329239,
0.012208829633891582,
0.005657972302287817,
-0.03664470836520195,
0.020682120695710182,
0.0069380770437419415,
0.05175085738301277,
0.008764846250414848,
0.012755493633449078,
0.005393751431256533,
0.06115347892045975,
-0.05896682292222977,
0.022431446239352226,
-0.0375375933945179,
-0.08068760484457016,
0.007530296687036753,
0.03456738591194153,
0.049855757504701614,
-0.026914091780781746,
-0.03633493557572365,
-0.028954969719052315,
0.008664624765515327,
0.03074073977768421,
0.015825923532247543,
-0.008445958606898785,
0.010924168862402439,
-0.0066146343015134335,
-0.08265559375286102,
0.007074743043631315,
-0.008332070894539356,
0.016217699274420738,
0.014586817473173141,
-0.057982828468084335,
0.042457569390535355,
-0.0090928440913558,
-0.05105841904878616,
0.0484708733856678,
-0.0381571464240551,
0.01980745978653431,
0.05200596898794174,
0.026549648493528366,
0.023470107465982437,
-0.025875428691506386,
-0.020390566438436508,
-0.01594436727464199,
-0.06993655115365982,
-0.015078815631568432,
0.016071921214461327,
-0.026094095781445503,
0.0160536989569664,
-0.045118000358343124,
0.03892247751355171,
-0.07842805981636047,
0.013912598602473736,
0.010131506249308586,
-0.045737553387880325,
0.03518693894147873,
0.05794638395309448,
0.04059891402721405,
-0.02594831772148609,
0.018203910440206528,
0.006090748123824596,
0.032289620488882065,
0.05550461634993553,
-0.0004948448040522635,
0.028226085007190704,
-0.00048060878179967403,
-0.031670067459344864,
0.01042306050658226,
-0.001203799736686051,
0.04074468836188316,
-0.015989921987056732,
0.02246789075434208,
0.027697643265128136,
-0.0003111998667009175,
0.007133965380489826,
-0.009079177863895893,
0.0028153196908533573,
0.025237655267119408,
-0.07981294393539429,
0.04989220201969147,
-0.04898109287023544,
0.0751480758190155,
0.00666018994525075,
-0.024217214435338974,
-0.01646369695663452,
-0.02073678746819496,
0.014887482859194279,
0.007594074122607708,
-0.03170651197433472,
-0.06818722188472748,
-0.04165579751133919,
-0.028809193521738052,
-0.01782124675810337,
-0.028626970946788788,
0.022595444694161415,
-0.027752308174967766,
-0.03289094939827919,
-0.014340818859636784,
-0.05925837904214859,
-0.042093127965927124,
0.04325934499502182,
0.023488329723477364,
-0.005329973995685577,
-0.004466700367629528,
-0.036772266030311584,
-0.016864584758877754,
0.06556323915719986,
0.017438581213355064,
0.0021718505304306746,
0.043550897389650345,
0.0184954646974802,
-0.059659264981746674,
0.037610482424497604,
0.05353662744164467,
0.031214514747262,
0.0342029444873333,
0.01689191721379757,
0.0035783713683485985,
0.0763871818780899,
-0.005575972609221935,
-0.002553376369178295,
-0.04256690293550491,
-0.010514170862734318,
0.06858810782432556,
0.01573481224477291,
0.017684580758213997,
-0.019297238439321518,
-0.005580528173595667,
0.02855408377945423,
0.05612416937947273,
-0.02860874868929386,
0.07456497102975845,
-0.022139891982078552,
-0.07850094884634018,
-0.0011223695473745465,
-0.07172231376171112,
0.013174602761864662,
-0.020408788695931435,
0.0018689075950533152,
-0.012227051891386509,
0.012627938762307167,
0.003596593625843525,
0.0366811528801918,
0.019825680181384087,
0.024800322949886322,
0.013192824088037014,
-0.013967265374958515,
0.005780971609055996,
0.02532876469194889,
0.0018518243450671434,
-0.0363713763654232,
0.014477484859526157
] |
10,356 | tracking_numbers.definition | _get_serial_number | null | def _get_serial_number(self, match_data: MatchData) -> Optional[SerialNumber]:
raw_serial_number = match_data.get("SerialNumber")
if raw_serial_number:
return self.serial_number_parser.parse(
_remove_whitespace(raw_serial_number),
)
return None
| (self, match_data: Dict[str, str]) -> Optional[List[int]] | [
0.07583926618099213,
0.009348728694021702,
-0.0069175343960523605,
0.05194709822535515,
-0.014665872789919376,
-0.07080196589231491,
0.03872419893741608,
0.0070793223567306995,
0.025133999064564705,
-0.0408230721950531,
-0.004366092383861542,
-0.000606158806476742,
0.002293455647304654,
-0.028334779664874077,
0.052366871386766434,
-0.021321047097444534,
0.026095982640981674,
0.022615352645516396,
0.004582538735121489,
0.01282935868948698,
0.00570630980655551,
0.05527031049132347,
-0.02889448031783104,
0.03882914409041405,
-0.05645967274904251,
0.06286123394966125,
0.04096299782395363,
0.001213410752825439,
-0.03167548403143883,
0.0034456492867320776,
0.05656461790204048,
-0.020936254411935806,
0.017717983573675156,
0.021076180040836334,
-0.013642672449350357,
0.08290547132492065,
-0.016038885340094566,
0.024329431354999542,
-0.06964758783578873,
0.00626600906252861,
0.009235039353370667,
0.012978029437363148,
0.051527321338653564,
-0.03400173783302307,
-0.06174183636903763,
0.007289209868758917,
-0.01742064207792282,
0.008998916484415531,
-0.03125571087002754,
0.030346199870109558,
0.05362619459629059,
-0.0011511004995554686,
-0.08465453237295151,
-0.043971382081508636,
-0.016441168263554573,
0.032550014555454254,
0.019397081807255745,
0.03627551347017288,
0.010118314996361732,
-0.017613040283322334,
0.001056541921570897,
-0.0032947927247732878,
-0.06621943414211273,
-0.003349450882524252,
0.013992483727633953,
-0.0069831241853535175,
0.1009557694196701,
-0.0076521397568285465,
0.012260913848876953,
-0.0004320726147852838,
0.012706924229860306,
0.0027700746431946754,
-0.04631512239575386,
0.013563964515924454,
0.06915785372257233,
-0.011290185153484344,
0.01031945738941431,
-0.01754307746887207,
0.02076134830713272,
0.016642311587929726,
0.054255858063697815,
0.05803382769227028,
-0.016056375578045845,
-0.029156839475035667,
-0.013266623951494694,
0.0017490604659542441,
0.06149696931242943,
0.036345478147268295,
-0.10879156738519669,
-0.0063097355887293816,
-0.016397442668676376,
-0.010275730863213539,
-0.03391428291797638,
0.035173606127500534,
0.05719427764415741,
-0.035033680498600006,
0.010004626587033272,
0.0031767310574650764,
0.019834347069263458,
0.027075456455349922,
0.002848782343789935,
0.06639433652162552,
-0.06163689121603966,
0.012497037649154663,
-0.02877204492688179,
0.006143575068563223,
-0.06593958288431168,
0.0611121729016304,
0.010057098232209682,
0.04785429686307907,
-0.025238942354917526,
-0.012706924229860306,
-0.06537988036870956,
0.009908427484333515,
-0.009943408891558647,
-0.033354584127664566,
-0.0053652431815862656,
0.026113472878932953,
-0.01247954647988081,
-0.018575021997094154,
-0.0006985310465097427,
0.01633622497320175,
-0.052716683596372604,
-0.008124385960400105,
-0.024172015488147736,
-0.03405420854687691,
0.0037036356516182423,
-0.027897514402866364,
0.016764745116233826,
-0.03722000867128372,
0.01827768236398697,
0.023297486826777458,
0.03207777068018913,
-0.02340243011713028,
-0.062336515635252,
0.02219557762145996,
0.014482220634818077,
0.04694478586316109,
-0.06181179732084274,
0.0035790151450783014,
-0.002765701850876212,
-0.021583406254649162,
-0.0393538624048233,
-0.05453570559620857,
-0.0023677905555814505,
-0.018470078706741333,
0.017997832968831062,
0.021216103807091713,
-0.037324950098991394,
-0.005255926866084337,
-0.0023218777496367693,
-0.0065239956602454185,
0.04145273566246033,
0.04617519676685333,
0.0066376845352351665,
0.00011498706589918584,
0.0413128100335598,
-0.07069702446460724,
0.011972319334745407,
-0.02791500650346279,
0.031937845051288605,
-0.032025296241045,
0.055690087378025055,
-0.08465453237295151,
0.040893033146858215,
0.012225933372974396,
-0.0038741689641028643,
0.0005722707137465477,
0.04512576013803482,
-0.022160597145557404,
-0.02469673380255699,
0.056284766644239426,
-0.012287150137126446,
-0.0075559415854513645,
-0.013651417568325996,
0.027862533926963806,
0.0007526425761170685,
-0.019379589706659317,
0.016143828630447388,
0.01765676587820053,
-0.027757590636610985,
0.016860943287611008,
0.05404597148299217,
0.0915108472108841,
0.036345478147268295,
0.03366941586136818,
-0.006423424929380417,
-0.032042790204286575,
0.02209063433110714,
-0.030993351712822914,
0.047469500452280045,
0.013826323673129082,
-0.02555377408862114,
0.03246256336569786,
-0.00534337991848588,
-0.0031483089551329613,
0.054990462958812714,
0.03603064641356468,
-0.04334171861410141,
-0.03298728168010712,
0.06793350726366043,
-0.05887337774038315,
-0.032042790204286575,
0.06569471210241318,
-0.07185140252113342,
-0.08339520543813705,
0.031343165785074234,
0.07506968080997467,
-0.026883060112595558,
0.013013009913265705,
-0.049253545701503754,
-0.02039404585957527,
0.027005493640899658,
0.029191819950938225,
0.027477741241455078,
-0.06296617537736893,
-0.039458803832530975,
-0.060727380216121674,
0.065344899892807,
0.00967230461537838,
-0.011709960177540779,
-0.01170121505856514,
0.04855392128229141,
-0.011307676322758198,
0.0028837635181844234,
0.017744218930602074,
-0.02781006135046482,
0.013240387663245201,
0.011779922991991043,
-0.009952154010534286,
0.009042643010616302,
-0.05971292406320572,
0.02364729903638363,
0.019257156178355217,
0.003946317825466394,
-0.05719427764415741,
-0.03328462317585945,
0.0310458242893219,
-0.005325889214873314,
-0.011771176941692829,
-0.0008947537862695754,
-0.006112966686487198,
0.008404235355556011,
0.06586962193250656,
0.016922160983085632,
-0.007805182598531246,
0.03520858660340309,
0.002420262433588505,
0.004586911294609308,
-0.05383608117699623,
-0.004466663114726543,
-0.00036976233241148293,
0.04197745397686958,
0.039108991622924805,
-0.005212200339883566,
-0.03428158536553383,
-0.020813820883631706,
-0.0032051533926278353,
0.010415655560791492,
0.013214152306318283,
-0.051877133548259735,
-0.020971234887838364,
0.03603064641356468,
-0.03569832444190979,
-0.023559845983982086,
-0.02161838859319687,
-0.04988320544362068,
0.039458803832530975,
-0.002125108614563942,
0.012129734270274639,
0.035890720784664154,
-0.0618467815220356,
-0.016170063987374306,
-0.004009721335023642,
0.04600029066205025,
-0.05502544343471527,
-0.004932350479066372,
-0.01444724015891552,
0.06716392189264297,
0.0032226440962404013,
-0.051282454282045364,
0.03648540377616882,
0.03449147194623947,
-0.08444464206695557,
0.0492185615003109,
-0.005391479004174471,
0.025868605822324753,
-0.05383608117699623,
-0.011858629994094372,
-0.003133004531264305,
-0.05107256770133972,
-0.016379952430725098,
-0.023927148431539536,
-0.0070793223567306995,
0.006121711805462837,
-0.010485617443919182,
-0.042817000299692154,
0.0106955049559474,
0.043866436928510666,
-0.03627551347017288,
-0.014071191661059856,
0.018102776259183884,
0.07136166840791702,
-0.021915728226304054,
-0.06810841709375381,
0.012138480320572853,
0.0067382557317614555,
0.02471422590315342,
-0.044461119920015335,
0.011841139756143093,
-0.022650333121418953,
0.07111679762601852,
0.003939758986234665,
0.018540041521191597,
-0.04358658939599991,
0.003076160093769431,
0.0015675955219194293,
0.07821798324584961,
0.02516898140311241,
0.013572709634900093,
0.014604655094444752,
-0.028964441269636154,
0.019851837307214737,
0.027005493640899658,
0.014595909975469112,
-0.03185039013624191,
-0.06352587789297104,
0.002652012975886464,
-0.03375686705112457,
0.08752299100160599,
-0.02588609606027603,
-0.015933942049741745,
-0.00433329725638032,
0.03756982088088989,
0.06244146078824997,
-0.04001850634813309,
-0.008771538734436035,
-0.04869384318590164,
-0.044111307710409164,
0.009479908272624016,
-0.015129373408854008,
-0.043866436928510666,
0.03865423798561096,
-0.000378507626010105,
0.04607025533914566,
-0.011779922991991043,
0.07611910998821259,
-0.00656334962695837,
-0.04127782955765724,
-0.07513964176177979,
-0.022895202040672302,
-0.015540402382612228,
-0.011386384256184101,
0.004014093894511461,
0.019781874492764473,
-0.03763978183269501,
-0.01349400170147419,
-0.022947674617171288,
0.0154616953805089,
0.04967331886291504,
-0.03186788409948349,
0.013686398044228554,
-0.024679243564605713,
-0.022248050197958946,
-0.05551518127322197,
-0.013948757201433182,
-0.11361896991729736,
0.030013877898454666,
0.06310610473155975,
0.021583406254649162,
-0.04141775146126747,
0.03760480135679245,
-0.011570035479962826,
-0.03949378803372383,
-0.02794998697936535,
-0.0004361719766166061,
0.017114557325839996,
0.010651778429746628,
-0.008924581110477448,
-0.06569471210241318,
-0.06646429747343063,
-0.007975716143846512,
-0.05184215307235718,
-0.0014921672409400344,
-0.050897661596536636,
0.011849884875118732,
-0.040648166090250015,
-0.02182827517390251,
-0.04788927733898163,
0.0015326142311096191,
-0.004805543925613165,
0.027705118060112,
0.01743813417851925,
-0.01033694762736559,
-0.018435098230838776,
0.05457068979740143,
0.02385718561708927,
-0.004814289044588804,
-0.006519623100757599,
-0.018347645178437233,
-0.018697457388043404,
-0.008981425315141678,
-0.017604293301701546,
0.04788927733898163,
0.03704510256648064,
-0.008824010379612446,
0.07381035387516022,
-0.03344203531742096,
-0.05033796280622482,
-0.006598330568522215,
-0.05121249333024025,
-0.05967794358730316,
0.035995665937662125,
-0.04690980166196823,
0.03211275115609169,
0.007402898743748665,
0.09913674741983414,
0.0418025478720665,
0.007827045395970345,
0.004352974239736795,
-0.023559845983982086,
0.014998193830251694,
-0.04337669909000397,
0.062266554683446884,
0.05229691043496132,
0.045405611395835876,
0.025151489302515984,
0.007660884875804186,
0.020254120230674744,
-0.039563748985528946,
-0.029279273003339767,
0.006095475982874632,
-0.01414115447551012,
0.011010335758328438,
0.06569471210241318,
-0.009908427484333515,
0.0304336529225111,
0.0036795861087739468,
-0.03998352214694023,
-0.019834347069263458,
0.000995871378108859,
0.02079632878303528,
0.016423678025603294,
-0.0011915474897250533,
-0.0118149034678936,
-0.035033680498600006,
0.03795461356639862,
-0.002200536662712693,
-0.024766696617007256,
-0.028807027265429497,
0.019904308021068573,
-0.018662475049495697,
-0.015094392001628876,
-0.012986774556338787,
-0.008168112486600876,
-0.01480579748749733,
-0.013441530056297779,
0.00231531891040504,
0.022020671516656876,
-0.06835328787565231,
-0.03749985620379448,
0.09318994730710983,
0.047574445605278015,
-0.007665257900953293,
-0.025256434455513954,
0.06261636316776276,
0.02041153609752655,
-0.03172795847058296,
-0.05058282986283302,
-0.0304336529225111,
0.030398672446608543,
-0.013091717846691608,
0.05250679701566696,
-0.0039725536480546,
-0.0015577570302411914,
0.013896285556256771,
0.025991039350628853,
-0.03749985620379448,
-0.00027916644467040896,
0.01897730678319931,
0.02756519429385662,
-0.013616436161100864,
0.007844536565244198,
0.03464888781309128,
-0.0275826845318079,
0.025466321036219597,
0.01899479702115059,
-0.026113472878932953,
-0.049358487129211426,
-0.022405466064810753,
0.011298931203782558,
0.0761890783905983,
0.016747254878282547,
0.010555580258369446,
0.017822926864027977,
0.04607025533914566,
0.053311362862586975,
-0.007206129375845194,
0.004051261581480503,
0.008867736905813217,
-0.014219862408936024,
-0.004844897426664829,
0.1004660353064537,
-0.05775397643446922,
0.005321516655385494,
-0.05708933621644974,
-0.06709396094083786,
0.03090589866042137,
0.016878433525562286,
0.06296617537736893,
-0.008793401531875134,
0.038269445300102234,
0.014333550818264484,
-0.03917895630002022,
-0.039703674614429474,
0.05215698480606079,
0.02541384845972061,
-0.007153657265007496,
-0.04022839292883873,
0.016292499378323555,
-0.013292860239744186,
0.01717577502131462,
0.026883060112595558,
-0.09249032288789749,
0.022877711802721024,
-0.0057587819173932076,
-0.05303151533007622,
0.027057966217398643,
-0.008990171365439892,
-0.010310711339116096,
-0.0180503036826849,
-0.007494724355638027,
-0.03652038425207138,
0.02508152835071087,
0.014193626120686531,
-0.04012344777584076,
-0.03057357855141163,
0.012252168729901314,
-0.013572709634900093,
-0.04642006754875183,
-0.01922217570245266,
-0.031465597450733185,
-0.001664886949583888,
-0.009208803996443748,
-0.0005443950649350882,
0.012724415399134159,
-0.03739491477608681,
0.07332061976194382,
-0.10137555003166199,
0.04488089308142662,
-0.008762793615460396,
-0.009436181746423244,
0.03422911465167999,
-0.04036831483244896,
0.009768502786755562,
0.005216572899371386,
-0.016379952430725098,
-0.03484128415584564,
0.011010335758328438,
-0.031815409660339355,
0.04582538455724716,
0.009409945458173752,
-0.0312906913459301,
0.002529578749090433,
-0.009777247905731201,
-0.0680384561419487,
-0.02028910256922245,
-0.07332061976194382,
0.005439578089863062,
0.009033897891640663,
0.01348525658249855,
0.009444926865398884,
0.011325166560709476,
0.04914860054850578,
-0.021216103807091713,
-0.007866399362683296,
-0.0064409151673316956,
0.0549204982817173,
-0.02161838859319687,
-0.004565048031508923,
0.08465453237295151,
0.0006220096256583929,
0.057474128901958466,
-0.05960798263549805,
-0.009173822589218616,
-0.0766788125038147,
-0.07856779545545578,
-0.037185028195381165,
-0.005395851563662291,
-0.08472449332475662,
0.03279488533735275,
-0.0074422527104616165,
0.007464115507900715,
0.021163633093237877,
-0.010100824758410454,
0.05527031049132347,
0.008181230165064335,
0.0430268868803978,
0.024906622245907784,
0.004792425781488419,
0.030013877898454666,
0.061916742473840714,
0.02541384845972061,
0.04313183203339577,
0.09088118374347687,
-0.025763660669326782,
-0.055095404386520386,
-0.02996140718460083,
0.01813775673508644,
-0.03482379391789436,
0.03798959404230118,
0.00433329725638032,
-0.021181123331189156,
-0.011666233651340008,
0.01002211682498455,
0.011937337927520275,
0.01039816439151764,
-0.04176756367087364,
-0.011543799191713333,
-0.000038807280361652374,
0.04141775146126747,
0.04991818591952324,
0.005680073983967304,
-0.006235400680452585,
0.028702082112431526,
0.013800087384879589,
-0.04096299782395363,
-0.00027506708283908665,
0.0070312232710421085,
-0.02076134830713272,
0.02590358629822731,
-0.02147846296429634,
0.044111307710409164,
0.027705118060112,
-0.04449610039591789,
-0.009549870155751705,
-0.006104221101850271,
-0.017455624416470528,
0.010223258286714554,
0.029891444370150566,
0.007354799658060074,
-0.013922521844506264,
-0.05799884721636772,
-0.026953022927045822,
0.015951432287693024,
-0.015837742015719414,
-0.012943048030138016,
-0.023839695379137993,
0.012575744651257992,
0.0551653690636158,
-0.06793350726366043,
-0.04449610039591789,
-0.027652647346258163,
0.022615352645516396,
0.033354584127664566,
-0.022982655093073845,
0.02186325564980507,
0.013397803530097008,
-0.03596068546175957,
0.025116508826613426,
-0.10620295256376266,
0.0033188422676175833,
0.0012680689105764031,
-0.014648381620645523,
0.013966248370707035,
-0.07409020513296127,
-0.015015684068202972,
-0.05586499348282814,
0.02663819119334221,
-0.00936621893197298,
-0.06279127299785614,
0.008478570729494095,
0.049253545701503754,
0.040193408727645874,
-0.03522608056664467,
-0.015689073130488396,
-0.019974270835518837,
0.00043726511648856103,
0.04977826401591301,
0.031570542603731155,
0.08451460301876068,
-0.01981685496866703,
0.010564325377345085,
-0.013380313292145729,
-0.020918764173984528,
0.04012344777584076,
0.005443950649350882,
0.0055445218458771706,
0.052821628749370575,
0.008150622248649597,
0.057823941111564636,
-0.026900550350546837,
-0.022895202040672302,
-0.008522297255694866,
-0.05932813137769699,
0.025501301512122154,
-0.037185028195381165,
0.07111679762601852,
0.0015184031799435616,
-0.009952154010534286,
-0.016922160983085632,
-0.0020179785788059235,
0.010450636968016624,
-0.0200442336499691,
-0.033372074365615845,
-0.03893408551812172,
-0.030013877898454666,
0.028946951031684875,
-0.019292136654257774,
-0.031133277341723442,
-0.008981425315141678,
-0.008321155793964863,
0.01456092856824398,
-0.0030127568170428276,
0.01944955252110958,
0.0006460592267103493,
-0.00926127564162016,
0.06268633157014847,
0.002113083843141794,
0.03370439633727074,
-0.03410667926073074,
-0.04026337340474129,
0.0781480222940445,
0.025991039350628853,
0.010459382086992264,
0.06296617537736893,
0.024276960641145706,
-0.05439578369259834,
0.03784966841340065,
0.09759757667779922,
0.003443462774157524,
0.01936209946870804,
0.006633311975747347,
-0.02588609606027603,
0.04991818591952324,
-0.0006427797488868237,
-0.01791037991642952,
-0.05918820947408676,
0.010634288191795349,
-0.004046888556331396,
-0.04393640160560608,
0.058103788644075394,
-0.006091103423386812,
0.0561448410153389,
0.026200925931334496,
0.03435155004262924,
-0.017481859773397446,
0.01103657204657793,
0.012951793149113655,
-0.06905291229486465,
-0.01103657204657793,
-0.06020266190171242,
0.037779707461595535,
0.009453671984374523,
-0.020603932440280914,
-0.01390503067523241,
0.006384070962667465,
0.0756993368268013,
0.013082972727715969,
0.015435459092259407,
0.030171293765306473,
0.028579648584127426,
-0.03984360024333,
0.03167548403143883,
-0.04337669909000397,
-0.026813097298145294,
-0.013686398044228554,
0.027390288189053535
] |
10,357 | tracking_numbers.definition | _get_validation_errors | null | def _get_validation_errors(
self,
serial_number: Optional[SerialNumber],
match_data: MatchData,
) -> List[ValidationError]:
errors: List[ValidationError] = []
checksum_error = self._get_checksum_errors(serial_number, match_data)
if checksum_error:
errors.append(checksum_error)
for validation in self.additional_validations:
additional_error = self._get_additional_error(validation, match_data)
if additional_error:
errors.append(additional_error)
return errors
| (self, serial_number: Optional[List[int]], match_data: Dict[str, str]) -> List[Tuple[str, str]] | [
0.04397929459810257,
-0.02058078721165657,
-0.011013862676918507,
0.06819646805524826,
-0.03289879858493805,
-0.04238004982471466,
-0.01878163404762745,
-0.08864398300647736,
0.07585000991821289,
0.0012268034042790532,
0.03310822322964668,
-0.018324706703424454,
0.06895801424980164,
-0.08514086902141571,
0.025873534381389618,
-0.010176162235438824,
-0.03499304875731468,
0.017344215884804726,
0.04005733132362366,
0.0412377305328846,
0.02454082854092121,
0.06545490026473999,
-0.08041928708553314,
0.018277110531926155,
-0.04055233672261238,
0.09618329256772995,
0.049614738672971725,
0.00507856160402298,
0.06183755770325661,
0.010633089579641819,
-0.023722166195511818,
-0.000034191492886748165,
-0.005521210376173258,
0.012232337146997452,
-0.07699232548475266,
0.025626031681895256,
0.03571651875972748,
0.003293687477707863,
-0.05064282566308975,
0.07874388247728348,
0.03573555871844292,
0.04066656902432442,
0.023151006549596786,
-0.010699724778532982,
-0.017011038959026337,
-0.009443173184990883,
-0.01808672398328781,
0.014926306903362274,
-0.08080005645751953,
-0.025873534381389618,
0.035830751061439514,
0.0047311061061918736,
-0.024369480088353157,
-0.023170044645667076,
0.05509787052869797,
0.04055233672261238,
0.0034364773891866207,
0.029662227258086205,
0.053346313536167145,
-0.07257536053657532,
-0.02117098681628704,
0.005568807013332844,
0.0011524336878210306,
0.007734454236924648,
0.011261365376412868,
-0.030956855043768883,
0.025702185928821564,
-0.06343680620193481,
-0.025664109736680984,
0.010661647655069828,
-0.003324625315144658,
0.01811528205871582,
-0.02248465269804001,
-0.04801549017429352,
0.02459794469177723,
0.004662090912461281,
0.03982887044548988,
0.02709200792014599,
0.018886346369981766,
-0.039790790528059006,
0.03339380398392677,
0.07097610831260681,
-0.04698740318417549,
0.03503112867474556,
0.055821340531110764,
-0.024959677830338478,
-0.0032246725168079138,
0.0355832502245903,
-0.02275119535624981,
0.013841102831065655,
-0.06492181867361069,
-0.00583058875054121,
-0.03529766947031021,
-0.028062978759407997,
-0.007672578562051058,
0.02735854871571064,
-0.05410785973072052,
0.0038934051990509033,
-0.03512632101774216,
0.03293687477707863,
0.03834385424852371,
0.05479325354099274,
0.0005223731277510524,
0.06297987699508667,
0.02153271995484829,
-0.05768712982535362,
-0.05985753610730171,
-0.03036665730178356,
0.0193623136729002,
0.09130939841270447,
-0.039219632744789124,
0.02648277021944523,
-0.0017753547290340066,
0.0075726257637143135,
-0.00630179513245821,
-0.03503112867474556,
0.0184199009090662,
0.004250380210578442,
-0.07714463770389557,
-0.04953858256340027,
0.06732068955898285,
0.0016051967395469546,
-0.02244657650589943,
0.02027616836130619,
-0.009804908186197281,
-0.00012486681225709617,
-0.005897223949432373,
0.02238946035504341,
0.050909366458654404,
-0.05620211362838745,
-0.002248941222205758,
0.02705392986536026,
0.004728726111352444,
-0.04020964354276657,
-0.02117098681628704,
-0.006425546482205391,
0.0634748786687851,
-0.015430831350386143,
-0.033089183270931244,
-0.012118104845285416,
-0.008148545399308205,
0.021323295310139656,
-0.013469849713146687,
-0.008772061206400394,
-0.01628757081925869,
-0.031109165400266647,
-0.02214195765554905,
0.05357477813959122,
-0.000770470651332289,
0.00874826218932867,
-0.047482408583164215,
0.02676835097372532,
0.024750253185629845,
-0.020428478717803955,
-0.022865425795316696,
-0.004109969828277826,
0.017153829336166382,
-0.057953670620918274,
0.021456565707921982,
-0.010775879956781864,
-0.030899738892912865,
0.00009281344682676718,
0.008819657377898693,
-0.03786788880825043,
0.048396263271570206,
0.018943462520837784,
-0.015107173472642899,
-0.030480889603495598,
-0.011413674801588058,
-0.0007210891344584525,
0.0008549546473659575,
0.01999058946967125,
0.04146619513630867,
-0.004635912831872702,
-0.04515969380736351,
0.028386637568473816,
0.004219442140311003,
-0.007491711527109146,
0.021113870665431023,
0.012327530421316624,
-0.03651614487171173,
0.013450810685753822,
0.03832481428980827,
0.041923120617866516,
0.0009204000234603882,
0.022218111902475357,
-0.0745934545993805,
0.00020436807244550437,
-0.014564571902155876,
-0.03754423186182976,
0.041580427438020706,
-0.005107119679450989,
-0.0030747430864721537,
0.03358418866991997,
-0.01683969236910343,
0.03069031424820423,
0.024521788582205772,
0.050185900181531906,
0.015002461150288582,
-0.04519776999950409,
-0.03720153495669365,
-0.02396966889500618,
-0.01780114322900772,
0.01243224274367094,
-0.11979122459888458,
0.0021858757827430964,
-0.03129955008625984,
0.02208484150469303,
-0.025302374735474586,
-0.02059982717037201,
-0.005069042090326548,
0.04173273593187332,
-0.004233721178025007,
0.05551672354340553,
0.027415664866566658,
-0.0528893880546093,
0.04108542203903198,
-0.04093310981988907,
0.008986245840787888,
-0.012099065817892551,
0.033641304820775986,
-0.10060025751590729,
-0.010033371858298779,
-0.017705950886011124,
0.01458361092954874,
0.060999855399131775,
0.004126628860831261,
0.0025844976771622896,
-0.016125742346048355,
0.012041950598359108,
-0.03569748252630234,
-0.00776777183637023,
0.015735449269413948,
0.007710655685514212,
0.010328470729291439,
0.02614007517695427,
0.010395106859505177,
-0.02979549765586853,
0.06678760796785355,
0.009747792035341263,
-0.05833444371819496,
-0.0267112348228693,
0.005307025276124477,
0.03634479641914368,
0.06530258804559708,
-0.029357608407735825,
-0.015868719667196274,
0.03668748959898949,
-0.023151006549596786,
-0.0460735484957695,
-0.056963659822940826,
0.05311785265803337,
0.051480527967214584,
0.016715940088033676,
0.0026796909514814615,
-0.05075705796480179,
-0.012936767190694809,
-0.013917258009314537,
0.07722079008817673,
-0.000311460520606488,
0.0785154178738594,
0.048053570091724396,
-0.028691254556179047,
-0.013174749910831451,
-0.06332257390022278,
-0.015611697919666767,
-0.02615911327302456,
0.06541682034730911,
-0.03986694663763046,
0.08239930868148804,
0.14012451469898224,
0.0032341917976737022,
-0.03708730265498161,
0.03348899632692337,
-0.015116693452000618,
0.022046763449907303,
-0.027758361771702766,
0.02396966889500618,
0.013745909556746483,
-0.011109055951237679,
-0.021323295310139656,
-0.0021418489050120115,
0.018305668607354164,
-0.00874826218932867,
0.01901961863040924,
-0.013117634691298008,
-0.0020145277958363295,
-0.03480266407132149,
-0.0650741308927536,
-0.010052410885691643,
-0.016687382012605667,
-0.03407919406890869,
0.025759302079677582,
-0.016963442787528038,
-0.0011310151312500238,
-0.03015723265707493,
-0.018315186724066734,
-0.014983423054218292,
0.03206109628081322,
0.013717352412641048,
-0.016420841217041016,
0.0597052276134491,
0.08826321363449097,
-0.03131859004497528,
-0.07653539627790451,
-0.022522730752825737,
0.020675981417298317,
-0.0019681211560964584,
-0.0015076235868036747,
-0.02269407920539379,
-0.014164760708808899,
0.05601172894239426,
0.02853894606232643,
-0.0027582254260778427,
0.047215867787599564,
-0.038610395044088364,
-0.007196612190455198,
0.037049226462841034,
0.007044302765280008,
0.028748370707035065,
0.027130085974931717,
-0.007234689313918352,
0.028024902567267418,
-0.0012589311227202415,
0.0392577089369297,
-0.03963848203420639,
0.022865425795316696,
-0.020047705620527267,
-0.011575503274798393,
0.024045823141932487,
-0.002248941222205758,
-0.08620703965425491,
-0.008595953695476055,
0.03497401252388954,
0.0498432032763958,
0.010052410885691643,
0.025073910132050514,
-0.02823432721197605,
-0.018305668607354164,
-0.000515233667101711,
-0.005706837400794029,
-0.0002037731173913926,
0.010109526105225086,
-0.04234197363257408,
0.0033151060342788696,
-0.020390400663018227,
0.02792970836162567,
0.03404111787676811,
-0.09298479557037354,
0.015002461150288582,
-0.03476458787918091,
0.04972897097468376,
-0.03126147389411926,
-0.03902924433350563,
0.06766338646411896,
-0.047520484775304794,
-0.05525018274784088,
-0.017696430906653404,
0.05570710822939873,
0.08742550760507584,
0.004512161482125521,
0.027206240221858025,
-0.038876935839653015,
-0.018239032477140427,
0.010652128607034683,
-0.03465035557746887,
-0.044664688408374786,
-0.0571921244263649,
0.026825467124581337,
-0.013641197234392166,
-0.029643187299370766,
0.01230849139392376,
0.03013819269835949,
-0.03569748252630234,
0.027130085974931717,
-0.04436006769537926,
0.04455045610666275,
0.03139474615454674,
-0.020980600267648697,
0.023303315043449402,
-0.06183755770325661,
-0.012384645640850067,
0.002836759900674224,
-0.020999638363718987,
-0.013365136459469795,
0.007586904801428318,
-0.03562132641673088,
-0.00759166432544589,
-0.002207294339314103,
0.04298928752541542,
0.021646952256560326,
-0.03929578512907028,
0.002886736299842596,
0.017658354714512825,
-0.013488887809216976,
0.02524525858461857,
0.019476545974612236,
0.031128203496336937,
-0.03571651875972748,
-0.06880570203065872,
-0.0620279423892498,
-0.017077675089240074,
-0.04694932699203491,
0.03206109628081322,
0.04512161388993263,
-0.010623570531606674,
-0.01197531446814537,
0.04085695743560791,
-0.03821058198809624,
0.0245598666369915,
-0.004340813495218754,
-0.01030943263322115,
0.046263936907052994,
-0.027434704825282097,
-0.02770124562084675,
0.03864847123622894,
0.02553083747625351,
0.05688750371336937,
0.013698313385248184,
0.02058078721165657,
0.027301432564854622,
-0.033051107078790665,
-0.012213298119604588,
0.05106167495250702,
0.009071920067071915,
0.03604017570614815,
-0.01198483444750309,
0.02181830070912838,
-0.04340813681483269,
-0.03350803628563881,
0.02248465269804001,
0.048129722476005554,
-0.03929578512907028,
-0.045312002301216125,
0.014745439402759075,
-0.06499797105789185,
-0.002486924408003688,
0.015868719667196274,
-0.01258455216884613,
0.0245598666369915,
0.011689734645187855,
0.015088135376572609,
0.09169016778469086,
0.03910540044307709,
0.021704068407416344,
0.010042890906333923,
0.026901621371507645,
-0.010328470729291439,
-0.040704648941755295,
-0.005511690862476826,
-0.001054265652783215,
-0.015164289623498917,
-0.0035292909014970064,
-0.016458919271826744,
0.027796437963843346,
0.06930071115493774,
-0.029281454160809517,
-0.09641175717115402,
-0.03834385424852371,
-0.0319087877869606,
0.036763645708560944,
0.05563095584511757,
-0.018210474401712418,
0.018895866349339485,
-0.07897234708070755,
-0.01940039172768593,
0.041009265929460526,
-0.01473592035472393,
-0.007686857599765062,
0.022237149998545647,
0.0008186622289940715,
-0.004916733130812645,
-0.002176356501877308,
-0.030290503054857254,
0.0009876303374767303,
0.033660344779491425,
0.056659042835235596,
-0.03899116814136505,
-0.02891971915960312,
-0.031528014689683914,
0.03830577805638313,
-0.028691254556179047,
0.00707762036472559,
-0.0004042739747092128,
-0.022960620000958443,
-0.00815806444734335,
-0.024160055443644524,
-0.03415535017848015,
-0.10714955627918243,
-0.012965325266122818,
-0.047215867787599564,
-0.013650716282427311,
-0.017724988982081413,
0.02273215539753437,
-0.016792094334959984,
0.012822534888982773,
0.023741204291582108,
0.04066656902432442,
0.02238946035504341,
-0.0338888093829155,
0.03404111787676811,
-0.018648363649845123,
0.05532633513212204,
0.0008531697676517069,
0.007372719701379538,
-0.0037529950495809317,
0.005435536615550518,
-0.008914850652217865,
0.014364666305482388,
-0.008538837544620037,
-0.047520484775304794,
0.02368408814072609,
0.02585449628531933,
0.03661133721470833,
-0.04207542911171913,
-0.02764412946999073,
-0.013726871460676193,
-0.0096811568364501,
0.01569737307727337,
0.08719704300165176,
-0.00828181579709053,
0.04059041664004326,
0.026044882833957672,
-0.04885319247841835,
0.016715940088033676,
0.038248661905527115,
-0.06385565549135208,
-0.01352696493268013,
0.0005955529632046819,
-0.02490256167948246,
-0.012813015840947628,
-0.00982394628226757,
0.057344432920217514,
-0.027491819113492966,
-0.049310121685266495,
-0.026920659467577934,
0.03472650796175003,
0.018372302874922752,
-0.054602865129709244,
0.014688323251903057,
0.0007508370326831937,
0.04923396557569504,
-0.004278937820345163,
-0.03779173269867897,
-0.039790790528059006,
0.008029553107917309,
-0.01569737307727337,
-0.002470265608280897,
-0.07699232548475266,
-0.03594498336315155,
0.014678804203867912,
0.020504632964730263,
0.02183733880519867,
0.0016837312141433358,
-0.0051642353646457195,
-0.022256189957261086,
0.008914850652217865,
-0.005906742997467518,
0.05323208495974541,
-0.05707789212465286,
0.03474554792046547,
-0.026311423629522324,
-0.05220399424433708,
-0.04394121840596199,
-0.029452800750732422,
-0.04611162468791008,
0.01719190739095211,
-0.009276585653424263,
-0.08575011044740677,
0.045997392386198044,
-0.022960620000958443,
0.08270392566919327,
-0.040361952036619186,
-0.0021513681858778,
0.0029033950995653868,
-0.05624018982052803,
-0.03156609088182449,
0.00234651449136436,
-0.03404111787676811,
-0.03503112867474556,
0.08986245840787888,
-0.029586073011159897,
0.0006348202005028725,
-0.011585022322833538,
0.029662227258086205,
-0.015326118096709251,
-0.04451237991452217,
-0.01197531446814537,
-0.048358187079429626,
-0.030804546549916267,
0.03215629234910011,
0.02484544739127159,
-0.025683147832751274,
-0.015050058253109455,
-0.00891009159386158,
0.06290371716022491,
-0.02950991690158844,
0.01873403787612915,
-0.042227741330862045,
0.03821058198809624,
0.045654699206352234,
0.02737758867442608,
0.04150427132844925,
-0.01152790617197752,
0.03466939181089401,
-0.04584508389234543,
-0.013793506659567356,
0.00008054244244704023,
-0.0038220102433115244,
0.006720645818859339,
0.0023619832936674356,
0.021399449557065964,
0.024350441992282867,
-0.06747300177812576,
-0.015307080000638962,
-0.02423620969057083,
-0.013907738961279392,
0.056697119027376175,
0.010366548784077168,
0.01553554367274046,
0.0224084984511137,
0.006830118130892515,
-0.004643052350729704,
0.032727450132369995,
0.022675039246678352,
0.007339402101933956,
-0.04142811521887779,
0.02551179938018322,
-0.022275228053331375,
-0.0380963496863842,
-0.0017289479728788137,
0.0258164182305336,
0.06880570203065872,
-0.018219994381070137,
-0.01490726787596941,
-0.00800575502216816,
0.024483712390065193,
-0.03070935234427452,
0.030480889603495598,
-0.02275119535624981,
-0.02524525858461857,
-0.006535018794238567,
-0.07478383928537369,
0.0019264740403741598,
0.00015825883019715548,
0.02210387960076332,
-0.02273215539753437,
-0.03902924433350563,
0.08635934442281723,
0.04367467761039734,
-0.02155175991356373,
0.05296554043889046,
-0.032137252390384674,
0.004797741305083036,
0.017744027078151703,
0.03784884884953499,
-0.01090915035456419,
-0.031128203496336937,
0.015430831350386143,
-0.002810581587255001,
-0.06176140159368515,
-0.018562689423561096,
0.0337936133146286,
-0.02979549765586853,
0.026254307478666306,
-0.037639424204826355,
0.031223395839333534,
-0.04089503362774849,
-0.002472645603120327,
0.054831329733133316,
-0.03781077265739441,
0.011461270973086357,
0.037620384246110916,
0.07722079008817673,
-0.023569855839014053,
0.04771087318658829,
-0.021361373364925385,
0.026254307478666306,
0.02699681557714939,
-0.0022584605030715466,
0.0020145277958363295,
0.023588895797729492,
-0.044664688408374786,
-0.019724048674106598,
-0.011718292720615864,
-0.0031223397236317396,
0.00460259523242712,
0.05753482133150101,
0.05060474947094917,
0.05410785973072052,
-0.034821704030036926,
0.004090931266546249,
0.01840086095035076,
0.0073917582631111145,
-0.09024322777986526,
0.032365716993808746,
-0.01723950356245041,
0.0312805138528347,
0.010195200331509113,
0.009862024337053299,
-0.03067127615213394,
0.011489829048514366,
-0.034859780222177505,
0.03876270353794098,
0.001371973194181919,
-0.05315592885017395,
-0.013707832433283329,
-0.03470747172832489,
-0.054602865129709244,
-0.03748711571097374,
0.03895309194922447,
-0.046606630086898804,
0.011604061350226402,
-0.020675981417298317,
-0.0683107003569603,
-0.05559287592768669,
0.09420327097177505,
0.008662588894367218,
0.00003398697663214989,
-0.006244679447263479,
0.017905855551362038,
0.03723961114883423,
0.0695672482252121,
0.01724902354180813,
-0.00406475318595767,
0.0941271185874939,
0.012441761791706085,
-0.0645410418510437,
0.042875055223703384,
0.003574507776647806,
0.025568915531039238,
0.03135666623711586,
-0.029700303450226784,
-0.017582198604941368,
0.029319530352950096,
-0.01901961863040924,
-0.02216099575161934,
-0.023131968453526497,
-0.03206109628081322,
0.04611162468791008,
0.03573555871844292,
-0.010661647655069828,
-0.02246561460196972,
0.0016992001328617334,
-0.02827240526676178,
0.050262052565813065,
0.002394111128523946,
0.01879115402698517,
-0.030861662700772285,
-0.08179006725549698,
-0.010509338229894638,
-0.06252294778823853,
0.02119002491235733,
-0.04729202389717102,
0.003495973302051425,
0.03902924433350563,
0.024788331240415573,
-0.04017156362533569,
0.007810608949512243,
-0.018952982500195503,
0.027853554114699364,
0.02242753654718399,
-0.02454082854092121,
0.029033951461315155,
0.04298928752541542,
0.0092099504545331,
-0.013365136459469795,
0.004671610426157713
] |
10,358 | tracking_numbers.definition | test | null | def test(self, tracking_number: str) -> Optional[TrackingNumber]:
match = self.number_regex.fullmatch(tracking_number)
if not match:
return None
match_data = match.groupdict() if match else {}
serial_number = self._get_serial_number(match_data)
validation_errors = self._get_validation_errors(serial_number, match_data)
return TrackingNumber(
number=tracking_number,
courier=self.courier,
product=self.product,
serial_number=serial_number,
tracking_url=self.tracking_url(tracking_number),
validation_errors=validation_errors,
)
| (self, tracking_number: str) -> Optional[tracking_numbers.types.TrackingNumber] | [
-0.005528704263269901,
-0.02962818369269371,
-0.05479087680578232,
0.09030216932296753,
-0.04848248139023781,
-0.031931810081005096,
-0.023107148706912994,
0.06329657137393951,
-0.015389998443424702,
-0.06063854321837425,
-0.04040206968784332,
0.03987046331167221,
0.019970672205090523,
-0.03232165426015854,
0.06684061884880066,
-0.009276527911424637,
0.031010359525680542,
-0.010259998962283134,
0.018429012969136238,
-0.02645626664161682,
-0.002099844394251704,
0.0669114962220192,
-0.007154533173888922,
0.08300144225358963,
-0.02048455737531185,
0.07190859317779541,
0.016107667237520218,
0.021211085841059685,
-0.04362714663147926,
0.020395956933498383,
-0.006871009711176157,
-0.06155999377369881,
0.012634506449103355,
0.10065076500177383,
0.018783418461680412,
0.013449636287987232,
-0.08824662119150162,
0.004472136963158846,
-0.1257425844669342,
0.034341759979724884,
0.00466927420347929,
0.032445695251226425,
0.006175491493195295,
0.048517923802137375,
-0.06482051312923431,
-0.0012946825008839369,
-0.022717302665114403,
0.01782652735710144,
-0.024542484432458878,
0.010197978466749191,
0.02558797597885132,
0.015965905040502548,
-0.053727664053440094,
0.020076991990208626,
-0.026225904002785683,
0.019545387476682663,
0.05617305263876915,
0.03522776812314987,
0.015593781135976315,
0.003672512713819742,
-0.04982921853661537,
0.05227460712194443,
-0.041217196732759476,
-0.07428310066461563,
0.04734838753938675,
0.003050090279430151,
0.0597170926630497,
0.017144298180937767,
0.026722069829702377,
0.004062357358634472,
0.03347346931695938,
-0.004379105754196644,
0.010596683248877525,
-0.01280284859240055,
0.055251602083444595,
-0.023107148706912994,
-0.0001837086892919615,
0.013573677279055119,
0.045151084661483765,
-0.00020115202642045915,
0.026987873017787933,
0.050077300518751144,
0.0027444169390946627,
-0.04904953017830849,
-0.05886652320623398,
-0.015558340586721897,
0.036326419562101364,
-0.013024350628256798,
-0.032357096672058105,
0.018694816157221794,
-0.024613365530967712,
-0.0407564714550972,
-0.04001222550868988,
-0.0069330302067101,
0.012058599852025509,
-0.04281201586127281,
0.016843056306242943,
-0.006653937045484781,
-0.01853533461689949,
0.002833017846569419,
-0.013998962007462978,
0.02521585300564766,
-0.13439004123210907,
0.027430878952145576,
0.004274999722838402,
0.003245012601837516,
-0.006862149573862553,
0.009444869123399258,
0.006303963251411915,
0.029893986880779266,
-0.031931810081005096,
-0.03551129251718521,
-0.06524579972028732,
0.015088754706084728,
-0.003727888222783804,
-0.0034377197735011578,
0.02422352135181427,
0.004115517716854811,
-0.05574776604771614,
-0.03554673120379448,
0.002036716090515256,
0.007788030430674553,
-0.07811066508293152,
0.02920289896428585,
0.04784455522894859,
0.007132382597774267,
0.02252238057553768,
-0.042634814977645874,
0.07052642107009888,
-0.047667354345321655,
0.06769118458032608,
0.0029371241107583046,
0.04146528244018555,
0.0407564714550972,
-0.049226731061935425,
0.04883688688278198,
-0.013520516455173492,
0.02422352135181427,
-0.01782652735710144,
-0.0029061136301606894,
-0.013812900520861149,
-0.005338212009519339,
0.018030310049653053,
-0.060177817940711975,
0.03668082505464554,
0.006902019958943129,
-0.05727170407772064,
0.0012470594374462962,
-0.09179066121578217,
-0.04111087694764137,
0.028689011931419373,
-0.03588341549038887,
0.0554642416536808,
0.01933274418115616,
-0.05298341438174248,
0.018747977912425995,
0.0640762597322464,
0.025428494438529015,
0.047383829951286316,
0.025995541363954544,
0.07548807561397552,
0.0025007640942931175,
0.0659191682934761,
-0.023496992886066437,
0.009941034950315952,
-0.0240817591547966,
-0.038984451442956924,
-0.01654181256890297,
0.024383002892136574,
-0.008798082359135151,
-0.018570775166153908,
0.04550548642873764,
0.023071708157658577,
0.05549968406558037,
-0.04940393194556236,
0.0012437369441613555,
0.02379823662340641,
-0.044867560267448425,
0.04054383188486099,
0.08413553237915039,
-0.03636186197400093,
0.01687849499285221,
-0.018411293625831604,
0.0037145980168133974,
0.04819896072149277,
-0.010534661822021008,
0.015257096849381924,
-0.01140295248478651,
0.018659375607967377,
0.004033561795949936,
0.09519294649362564,
0.05277077108621597,
0.03226849436759949,
0.01345849595963955,
0.009170206263661385,
-0.04561180993914604,
0.023532433435320854,
0.005736916325986385,
-0.04901408776640892,
0.0028684581629931927,
0.055818647146224976,
-0.004040206782519817,
-0.010871346108615398,
0.0037389632780104876,
-0.08817574381828308,
-0.020785801112651825,
0.017330361530184746,
0.00353075098246336,
0.03457212075591087,
0.02906113676726818,
-0.003933885600417852,
-0.003406709525734186,
-0.025304453447461128,
0.09264123439788818,
-0.02815740741789341,
-0.0314888060092926,
0.006472304929047823,
0.016993677243590355,
0.05925636738538742,
0.01431792601943016,
0.022646423429250717,
-0.03253429755568504,
0.008598729968070984,
-0.0020112432539463043,
0.01839357428252697,
0.03735419362783432,
0.007088082376867533,
0.019651707261800766,
-0.003916165325790644,
-0.04759647324681282,
-0.006662797182798386,
-0.01768476516008377,
0.00020765865338034928,
0.03384559229016304,
0.004926217254251242,
-0.061311911791563034,
-0.027289116755127907,
0.006224222015589476,
-0.04954569414258003,
-0.034961964935064316,
0.015948185697197914,
-0.02583605982363224,
0.02066176012158394,
0.023496992886066437,
-0.011340931989252567,
-0.06219791993498802,
-0.05507439747452736,
0.020963003858923912,
0.026155022904276848,
-0.04029574617743492,
-0.0013611332979053259,
-0.011766216717660427,
0.01365341804921627,
0.0342177152633667,
-0.032587457448244095,
0.0022615413181483746,
-0.05493263900279999,
-0.0744248628616333,
0.04692310467362404,
0.00036935554817318916,
-0.02441844344139099,
0.02355015277862549,
0.02753719873726368,
0.00662292679771781,
-0.07010113447904587,
-0.02223885804414749,
-0.0466395802795887,
0.03987046331167221,
0.05613761022686958,
-0.022929945960640907,
0.010065076872706413,
-0.06999481469392776,
0.0002772935258690268,
0.01249274518340826,
-0.0019990606233477592,
-0.07119978964328766,
-0.010534661822021008,
0.020165594294667244,
-0.010171397589147091,
-0.013520516455173492,
-0.05355045944452286,
0.028848495334386826,
0.04830528050661087,
-0.037283312529325485,
0.02767896093428135,
0.054011184722185135,
0.014441967941820621,
-0.00888668280094862,
-0.014069843105971813,
-0.041217196732759476,
-0.06730134040117264,
-0.007198833394795656,
0.010880205780267715,
0.025446215644478798,
-0.033012744039297104,
-0.012226941995322704,
-0.05549968406558037,
0.0021064893808215857,
0.011181449517607689,
-0.011270050890743732,
0.012421864084899426,
-0.0013234778307378292,
0.0005545870517380536,
-0.01355595700442791,
-0.03636186197400093,
0.025906940922141075,
0.008173445239663124,
-0.01654181256890297,
-0.007903211750090122,
-0.02184901386499405,
0.015762122347950935,
0.0845608189702034,
0.05291253328323364,
0.0010504759848117828,
0.051601238548755646,
-0.0030655956361442804,
-0.02246922068297863,
0.022717302665114403,
0.036149218678474426,
0.020821241661906242,
0.05606672912836075,
-0.007189973257482052,
0.0142204649746418,
0.05298341438174248,
-0.024099480360746384,
-0.018322693184018135,
-0.0203782357275486,
-0.0197757501155138,
-0.08491522818803787,
0.005621735006570816,
-0.05603129044175148,
-0.045434605330228806,
0.0019636203069239855,
0.01398124173283577,
0.006131191272288561,
-0.03724787384271622,
-0.024241240695118904,
0.008492408320307732,
0.02906113676726818,
0.021406007930636406,
0.02114020474255085,
-0.011438393034040928,
-0.015257096849381924,
0.02331979013979435,
0.01692279614508152,
-0.004281644709408283,
-0.007345025427639484,
-0.04862424358725548,
0.030407872051000595,
-0.0949094220995903,
-0.07988268882036209,
-0.06811647117137909,
-0.028033364564180374,
-0.006060310173779726,
0.0482698418200016,
-0.008031683042645454,
-0.009409429505467415,
0.001966942800208926,
0.01246616430580616,
0.01260792650282383,
-0.07343253493309021,
-0.03710611164569855,
0.025623416528105736,
-0.01896061934530735,
-0.03155968710780144,
-0.0422804094851017,
0.027696682140231133,
0.027466319501399994,
-0.016107667237520218,
0.01391036156564951,
-0.036574505269527435,
0.008518989197909832,
0.028830774128437042,
0.028830774128437042,
0.011659895069897175,
0.022433780133724213,
0.0639699399471283,
0.019421344622969627,
-0.017932847142219543,
-0.024542484432458878,
-0.03262289986014366,
0.05390486493706703,
-0.07818154990673065,
0.0160190649330616,
-0.0007093619788065553,
-0.0016513016307726502,
0.011624454520642757,
-0.004567382857203484,
-0.060992948710918427,
-0.01052580215036869,
0.028653573244810104,
-0.002405517967417836,
0.012891449965536594,
0.0357416532933712,
-0.020130153745412827,
-0.00220395065844059,
0.011890257708728313,
0.011978859081864357,
0.04040206968784332,
-0.021583210676908493,
0.009311968460679054,
-0.05730714648962021,
-0.06379274278879166,
0.037708599120378494,
0.023284349590539932,
0.02450704388320446,
0.043875228613615036,
-0.03170144930481911,
-0.0407564714550972,
-0.0569881796836853,
-0.015478599816560745,
-0.016391189768910408,
-0.027005592361092567,
-0.044300515204668045,
-0.03180776908993721,
0.08222175389528275,
0.014397666789591312,
-0.002644740743562579,
-0.009409429505467415,
0.0002608192735351622,
-0.00037516996962949634,
-0.024188080802559853,
-0.06109926849603653,
0.025942381471395493,
0.03134704381227493,
0.036096058785915375,
0.03753139451146126,
0.03365067020058632,
0.011411812156438828,
0.0029061136301606894,
-0.030886318534612656,
-0.04649781808257103,
-0.006078030448406935,
0.005391372367739677,
0.03143564611673355,
-0.003637072164565325,
-0.04469035938382149,
-0.0028751033823937178,
-0.03132932260632515,
-0.00912590604275465,
-0.017799947410821915,
-0.01291802991181612,
0.025995541363954544,
0.029025696218013763,
-0.0013788534561172128,
-0.04267025366425514,
-0.00483318604528904,
-0.05333781987428665,
-0.0010504759848117828,
-0.027182795107364655,
-0.0299117062240839,
-0.02711191400885582,
-0.02128196693956852,
-0.05028994381427765,
0.02181357331573963,
-0.016178548336029053,
-0.09242859482765198,
0.019687147811055183,
0.04040206968784332,
-0.06971129029989243,
-0.06340289860963821,
0.07648040354251862,
-0.03735419362783432,
-0.015186215750873089,
-0.034961964935064316,
0.04660414159297943,
-0.011589014902710915,
0.007982952520251274,
-0.04295377805829048,
-0.00155827053822577,
-0.00021527281205635518,
-0.01649751141667366,
0.04791543632745743,
0.05220372602343559,
-0.013174972496926785,
-0.022256577387452126,
-0.03161284700036049,
0.016276009380817413,
0.0582994781434536,
-0.0019492226419970393,
0.05475543439388275,
0.04912041127681732,
-0.011013107374310493,
0.008377227000892162,
0.002016780897974968,
0.029380101710557938,
-0.00462054368108511,
-0.01881885901093483,
-0.039090774953365326,
0.030319271609187126,
-0.02417035959661007,
0.015230516903102398,
-0.006578626111149788,
-0.01225352194160223,
0.001866159145720303,
0.057378023862838745,
0.06443066895008087,
0.018092330545186996,
0.006777978502213955,
-0.0014475192874670029,
0.028759893029928207,
0.021742692217230797,
0.0175430029630661,
-0.0022272083442658186,
0.04015398398041725,
-0.024436162784695625,
-0.04196144640445709,
0.011252330616116524,
-0.03767315670847893,
0.050183624029159546,
-0.0019392550457268953,
0.048376161605119705,
0.048943206667900085,
-0.0010964376851916313,
0.0026934712659567595,
0.04288289695978165,
-0.01933274418115616,
-0.09086921066045761,
-0.09526382386684418,
0.03308362513780594,
0.00444334140047431,
0.03731875121593475,
0.029752224683761597,
-0.06917968392372131,
0.051034193485975266,
0.0016612692270427942,
-0.08363936841487885,
0.03653906285762787,
-0.00824875570833683,
0.0018296112539246678,
0.024258961901068687,
0.013405335135757923,
0.006521035451442003,
0.07669305056333542,
0.029256058856844902,
-0.011704196222126484,
-0.0178708266466856,
-0.01126119028776884,
-0.033916473388671875,
-0.02355015277862549,
-0.039090774953365326,
-0.018517615273594856,
-0.04547004774212837,
-0.014424247667193413,
-0.0032870981376618147,
-0.016249429434537888,
0.025517096742987633,
0.06081574410200119,
-0.05248725041747093,
0.014690050855278969,
0.025658857077360153,
-0.017037978395819664,
0.0356353335082531,
-0.019846629351377487,
0.04589533060789108,
-0.047561030834913254,
0.012625646777451038,
0.019315024837851524,
0.010065076872706413,
-0.01369771920144558,
0.010454921051859856,
0.0005908581078983843,
-0.03763771802186966,
0.04224497079849243,
-0.0963270366191864,
-0.03866548836231232,
0.004199688788503408,
-0.03591885790228844,
0.044300515204668045,
0.018375853076577187,
0.04812807962298393,
-0.01521279662847519,
-0.004948367364704609,
0.02441844344139099,
-0.049084968864917755,
-0.02673979103565216,
-0.014539428986608982,
0.04082735255360603,
0.023248909041285515,
0.03682258725166321,
-0.028848495334386826,
0.013352175243198872,
0.009586631320416927,
-0.0024143781047314405,
-0.023869117721915245,
-0.0640762597322464,
-0.024808287620544434,
-0.014946993440389633,
0.025534816086292267,
-0.05645657330751419,
0.06028413772583008,
-0.02331979013979435,
0.032445695251226425,
-0.015460879541933537,
-0.032729219645261765,
0.015088754706084728,
-0.0727946013212204,
-0.028742173686623573,
0.06251688301563263,
-0.004239559173583984,
0.031028080731630325,
0.06839999556541443,
-0.021211085841059685,
0.03554673120379448,
0.060177817940711975,
-0.02156548947095871,
-0.05248725041747093,
-0.005382512230426073,
0.01834041252732277,
-0.05379854515194893,
0.025853779166936874,
0.01654181256890297,
0.0014862822135910392,
-0.014521708711981773,
0.04196144640445709,
-0.017525283619761467,
-0.007216553669422865,
0.032924141734838486,
-0.05663377791643143,
0.0008527848985977471,
0.042067766189575195,
0.03402279317378998,
0.009967615827918053,
0.04398154839873314,
0.009958755224943161,
-0.025517096742987633,
0.02957502380013466,
-0.06907336413860321,
-0.017055697739124298,
-0.029681343585252762,
-0.03028383105993271,
-0.027803001925349236,
-0.021866733208298683,
0.01924414373934269,
-0.002396657830104232,
-0.043485384434461594,
0.018145490437746048,
0.044442277401685715,
0.06659252941608429,
0.0451156422495842,
-0.05943356826901436,
0.05592496693134308,
-0.02252238057553768,
-0.0037101679481565952,
0.022345179691910744,
-0.041642483323812485,
0.005227460525929928,
-0.02516269125044346,
0.04288289695978165,
0.02498549036681652,
-0.025712018832564354,
0.026722069829702377,
-0.017844246700406075,
0.0160190649330616,
-0.007814610376954079,
0.0160190649330616,
0.013812900520861149,
0.06765574216842651,
-0.008239896036684513,
0.009799273684620857,
-0.06556475907564163,
0.04525740444660187,
0.03499740734696388,
0.003357979003340006,
0.016577253118157387,
0.01258134562522173,
0.021778132766485214,
-0.055003516376018524,
-0.03602517768740654,
-0.006414714269340038,
-0.047950875014066696,
0.014149583876132965,
0.026580307632684708,
0.033916473388671875,
0.0157444030046463,
-0.022646423429250717,
-0.03731875121593475,
0.05323149636387825,
0.0016092162113636732,
-0.011606734246015549,
0.04454859718680382,
-0.011952278204262257,
0.005497693549841642,
-0.05362134054303169,
0.000816236948594451,
0.0027134064584970474,
-0.011411812156438828,
0.009506890550255775,
0.010809325613081455,
0.03788580000400543,
-0.006339403335005045,
-0.00789435114711523,
0.005479973740875721,
0.01686963625252247,
-0.04146528244018555,
0.037141550332307816,
-0.039090774953365326,
0.05223916471004486,
0.005608445033431053,
-0.039409738034009933,
-0.0247905682772398,
-0.02939782105386257,
-0.006959610618650913,
0.015460879541933537,
-0.008018393069505692,
-0.038275644183158875,
-0.02891937457025051,
-0.024347562342882156,
-0.008421528153121471,
-0.04986465722322464,
-0.011792796663939953,
-0.007681709248572588,
-0.038133881986141205,
-0.015558340586721897,
-0.023160308599472046,
0.032073572278022766,
-0.014716630801558495,
0.04454859718680382,
-0.01433564629405737,
0.0156912412494421,
0.012359843589365482,
-0.027484038844704628,
0.05950444936752319,
0.01795942895114422,
0.010720724239945412,
0.058901961892843246,
0.07119978964328766,
-0.05631481483578682,
0.003882940160110593,
0.021317407488822937,
-0.003796553937718272,
0.026420826092362404,
-0.030514193698763847,
-0.04001222550868988,
0.029663624241948128,
0.03877180814743042,
-0.006339403335005045,
-0.014441967941820621,
0.023709634318947792,
0.000884902779944241,
0.01682533510029316,
0.01344077568501234,
-0.001898276968859136,
-0.002256003674119711,
-0.03568849340081215,
0.07931564003229141,
0.007774739991873503,
-0.006210932042449713,
-0.01073844451457262,
-0.06205616146326065,
0.0008090381161309779,
-0.04784455522894859,
0.05195564404129982,
-0.02170725166797638,
-0.006498885340988636,
0.01678103394806385,
-0.012634506449103355,
0.1048327386379242,
0.017596164718270302,
0.015292537398636341,
-0.017711345106363297,
0.0350860059261322,
0.026190463453531265,
0.038559168577194214,
-0.10213926434516907,
0.019846629351377487,
0.012519325129687786,
0.06350921839475632
] |
10,359 | tracking_numbers.definition | tracking_url | null | def tracking_url(self, tracking_number: str) -> Optional[str]:
if not self.tracking_url_template:
return None
return self.tracking_url_template % tracking_number
| (self, tracking_number: str) -> Optional[str] | [
-0.02302866242825985,
-0.04280991479754448,
-0.040819570422172546,
0.06299272924661636,
-0.029698070138692856,
-0.003489654278382659,
-0.00977714266628027,
0.05887236446142197,
0.005154823884367943,
-0.03781659156084061,
-0.031758252531290054,
-0.0016138831852003932,
0.0027498214039951563,
-0.0678463876247406,
0.059780243784189224,
0.025891968980431557,
0.06431963294744492,
-0.017345698550343513,
0.04340352863073349,
-0.0604436919093132,
0.01979871280491352,
0.015076003968715668,
0.0002951693022623658,
0.0020830987486988306,
-0.0462668351829052,
0.06997640430927277,
0.003913039341568947,
-0.004024341702461243,
-0.07207150757312775,
-0.00960255041718483,
0.015302973799407482,
-0.07116363197565079,
0.050387199968099594,
0.03924824297428131,
0.05429805815219879,
0.015468835830688477,
-0.05506626144051552,
0.03275342658162117,
-0.10587248206138611,
-0.034551721066236496,
0.044835180044174194,
0.02995995804667473,
0.031094804406166077,
-0.03624526411294937,
0.00854190532118082,
0.0314614474773407,
-0.010414402931928635,
0.014656984247267246,
-0.045882731676101685,
-0.05209820345044136,
0.02755059115588665,
0.02997741661965847,
-0.048327017575502396,
0.01690048910677433,
-0.037083305418491364,
0.030501192435622215,
0.03055357001721859,
0.033050231635570526,
0.023290550336241722,
0.010082677938044071,
-0.0133650042116642,
0.021003397181630135,
-0.04818734526634216,
-0.009986652992665768,
0.07186199724674225,
0.014691902324557304,
0.04413681477308273,
0.03057102859020233,
0.04225122183561325,
-0.002442103112116456,
0.07563318312168121,
0.009235907346010208,
-0.04396222159266472,
-0.031758252531290054,
0.03360892832279205,
-0.06819556653499603,
0.04061006009578705,
0.020916100591421127,
0.024844417348504066,
0.007817349396646023,
0.023098498582839966,
-0.004591764882206917,
0.024565070867538452,
-0.06941770762205124,
-0.009157340973615646,
-0.06529734283685684,
0.00662575988098979,
-0.03711822256445885,
-0.020758967846632004,
0.0201478973031044,
-0.0044018966145813465,
-0.04455583542585373,
-0.032002683728933334,
-0.034097783267498016,
0.019379692152142525,
-0.038026101887226105,
0.013015820644795895,
-0.016525115817785263,
0.009262096136808395,
-0.045987486839294434,
0.037222977727651596,
-0.0462668351829052,
-0.06424979120492935,
0.01850673370063305,
0.0018473997479304671,
-0.03635001927614212,
0.029785366728901863,
0.0320725180208683,
-0.007241195999085903,
0.012457126751542091,
-0.033277202397584915,
-0.04644142463803291,
-0.054577406495809555,
-0.0351627953350544,
0.0458478145301342,
0.028441008180379868,
-0.010711208917200565,
0.039422836154699326,
0.017852013930678368,
-0.02130020223557949,
-0.01597515307366848,
-0.01817500963807106,
-0.12640447914600372,
-0.018541652709245682,
0.02175414189696312,
0.03359146788716316,
-0.015634698793292046,
-0.03875938430428505,
0.009654927998781204,
-0.09721273183822632,
0.041936956346035004,
0.04109891504049301,
-0.017153646796941757,
0.007363410200923681,
-0.018454356119036674,
0.012186509557068348,
-0.018419437110424042,
0.038026101887226105,
-0.01029218826442957,
0.05649791657924652,
-0.04860636591911316,
-0.01435144804418087,
-0.005386157892644405,
-0.026014182716608047,
0.07008115947246552,
0.03273596614599228,
-0.0016106095863506198,
0.008563729003071785,
-0.03160111978650093,
-0.04385746642947197,
0.052936241030693054,
-0.00045093795051798224,
0.033504173159599304,
0.0096112797036767,
-0.04926981404423714,
0.05035228282213211,
0.06781146675348282,
0.03854987397789955,
0.0384451188147068,
-0.015250596217811108,
0.09853962808847427,
-0.005028244573622942,
0.0355643555521965,
-0.010807233862578869,
0.010580264963209629,
-0.01544264703989029,
0.04528912156820297,
0.014910141937434673,
0.0631324052810669,
0.001691358396783471,
-0.011313550174236298,
0.026764927431941032,
0.02130020223557949,
0.04109891504049301,
0.015468835830688477,
0.04776832461357117,
0.025088846683502197,
-0.01794804073870182,
0.010335836559534073,
0.06529734283685684,
-0.01580929011106491,
-0.010981826111674309,
-0.011942081153392792,
0.006132537964731455,
0.027061734348535538,
0.00971603486686945,
0.01899559050798416,
-0.02489679493010044,
0.0159315038472414,
0.040330711752176285,
0.014700631611049175,
0.008598648011684418,
0.0014327442040666938,
-0.007891550660133362,
0.04546371102333069,
-0.06362126022577286,
0.04340352863073349,
-0.03332957997918129,
-0.03353909030556679,
-0.0016302511794492602,
0.05733595788478851,
-0.008594282902777195,
-0.03994661197066307,
-0.012107943184673786,
0.0038366555236279964,
0.012020647525787354,
0.05625348538160324,
-0.012710285373032093,
0.023552438244223595,
0.07563318312168121,
-0.0017099087126553059,
-0.02023519203066826,
-0.034446969628334045,
0.05464724078774452,
-0.0439971424639225,
-0.023814326152205467,
-0.05031736567616463,
0.06767179071903229,
-0.03313753008842468,
0.035930998623371124,
0.021666845306754112,
-0.10335836559534073,
0.0304313562810421,
-0.02767280489206314,
0.02339530549943447,
0.018262304365634918,
0.01829722337424755,
-0.004412808455526829,
-0.014979979023337364,
-0.01515457034111023,
-0.007118981797248125,
0.023185795173048973,
0.026555417105555534,
0.07633154839277267,
0.06428471207618713,
-0.0699065700173378,
-0.0684749186038971,
-0.02556024305522442,
0.0064293439500033855,
0.003945775330066681,
-0.0218938160687685,
0.010580264963209629,
0.02872035652399063,
0.03645477443933487,
0.013399923220276833,
-0.036873795092105865,
-0.09658420085906982,
0.03861971199512482,
-0.0017513743368908763,
-0.0400862842798233,
-0.00014021906827110797,
-0.0017295503057539463,
-0.047523897141218185,
-0.03163604065775871,
-0.03715313971042633,
-0.012169050052762032,
-0.021666845306754112,
-0.012937254272401333,
0.006734879687428474,
0.006747974082827568,
-0.006298399996012449,
-0.007904645055532455,
0.013583243824541569,
-0.01636798307299614,
-0.04689536616206169,
-0.04493993520736694,
-0.0877847746014595,
0.009768412448465824,
-0.008712132461369038,
0.02164938673377037,
0.0115667087957263,
-0.02058437652885914,
-0.00006144813960418105,
-0.0020830987486988306,
0.008607377298176289,
-0.05070146545767784,
0.014220504090189934,
0.03456918150186539,
-0.026799846440553665,
-0.04274008050560951,
-0.025036469101905823,
-0.019711418077349663,
0.04640650749206543,
-0.010719938203692436,
0.0229239072650671,
0.05084114149212837,
0.01203810703009367,
0.0051286350935697556,
0.0304313562810421,
-0.03739757090806961,
-0.007293573580682278,
0.021474795415997505,
-0.004033071454614401,
0.03900381550192833,
-0.04668585583567619,
-0.03320736438035965,
0.0382356122136116,
0.05262197554111481,
0.0095589030534029,
-0.004436814691871405,
-0.006966214161366224,
0.02453015185892582,
-0.022504886612296104,
-0.011261172592639923,
-0.020112978294491768,
0.015486295334994793,
0.016132285818457603,
-0.03711822256445885,
0.03491836413741112,
-0.025647539645433426,
-0.0015778735978528857,
0.030972590669989586,
0.02695697918534279,
0.039283160120248795,
0.0805915892124176,
0.0030378978699445724,
-0.0105889942497015,
0.005050068721175194,
0.024233344942331314,
0.024215886369347572,
0.04158777371048927,
-0.006787257269024849,
0.01088580023497343,
-0.007044780068099499,
-0.03411524370312691,
-0.032002683728933334,
0.0006241658120416105,
-0.034883446991443634,
-0.05611381307244301,
0.035826243460178375,
-0.032351866364479065,
-0.022854071110486984,
-0.014779197983443737,
-0.019501907750964165,
-0.010938177816569805,
-0.044730424880981445,
-0.018716244027018547,
0.008144708350300789,
0.012116672471165657,
-0.03809593617916107,
0.0008151255897246301,
-0.007481259759515524,
-0.005735341459512711,
0.052482303231954575,
-0.009436688385903835,
-0.014988708309829235,
-0.02582213096320629,
-0.03669920191168785,
0.015014897100627422,
-0.09616518020629883,
-0.042774997651576996,
-0.009244637563824654,
-0.024599988013505936,
0.011505601927638054,
0.06075795739889145,
0.0024704744573682547,
-0.012134131975471973,
-0.006176185794174671,
0.011016744188964367,
0.054682161659002304,
-0.04459075257182121,
-0.03760708123445511,
0.02163192816078663,
0.00908750481903553,
0.028441008180379868,
0.02800452895462513,
0.05101573094725609,
0.03931808099150658,
-0.013810213655233383,
0.018594030290842056,
-0.05164426192641258,
0.01029218826442957,
0.0639355257153511,
0.031531285494565964,
0.0026821668725460768,
-0.008035589009523392,
0.03690871223807335,
0.009253366850316525,
-0.033731140196323395,
-0.05115540698170662,
-0.03357400745153427,
0.058977119624614716,
-0.008162167854607105,
0.05241246521472931,
-0.0010142694227397442,
-0.01216032076627016,
0.03774675354361534,
-0.01587039791047573,
-0.0355643555521965,
-0.02255726419389248,
0.04158777371048927,
-0.03287564218044281,
0.01875116303563118,
0.048536527901887894,
-0.02058437652885914,
-0.06274830549955368,
-0.014403825625777245,
0.02753313072025776,
0.06543701887130737,
0.0057746246457099915,
0.06100238487124443,
-0.052726730704307556,
-0.05115540698170662,
0.02397145889699459,
0.0036947994958609343,
-0.011732570827007294,
0.000893691903911531,
0.012884876690804958,
-0.024826958775520325,
-0.07325872778892517,
-0.06686867028474808,
-0.02058437652885914,
-0.06791622191667557,
-0.02892986685037613,
0.03561673313379288,
0.047035038471221924,
-0.0292965080589056,
0.008738321252167225,
-0.02556024305522442,
0.014831575565040112,
-0.006232928484678268,
-0.04364795610308647,
-0.0063071297481656075,
0.038933977484703064,
-0.00048285553930327296,
0.03135669231414795,
0.043124180287122726,
0.006010323762893677,
0.018576569855213165,
0.029139375314116478,
-0.03607067093253136,
-0.06627506017684937,
0.010012841783463955,
0.023238172754645348,
0.049025386571884155,
0.017214754596352577,
0.03320736438035965,
0.012247616425156593,
-0.015818020328879356,
-0.027149029076099396,
-0.004661601968109608,
-0.023115959018468857,
-0.017319509759545326,
0.023220712319016457,
0.012430937960743904,
-0.02453015185892582,
-0.0736079141497612,
-0.09511762857437134,
-0.0010246357414871454,
-0.014560958370566368,
-0.032910559326410294,
0.018314681947231293,
-0.02475712075829506,
-0.04123859107494354,
0.023412764072418213,
-0.043124180287122726,
-0.05559003725647926,
0.005652410443872213,
-0.005189741961658001,
-0.03376606106758118,
-0.038026101887226105,
0.07451578974723816,
-0.006254752166569233,
-0.04459075257182121,
0.009043856523931026,
-0.05991991609334946,
0.03511041775345802,
-0.011418305337429047,
-0.07353807985782623,
-0.014089560136198997,
-0.017651233822107315,
-0.015119652263820171,
-0.0007316488772630692,
0.0738174244761467,
-0.041483018547296524,
-0.021020855754613876,
-0.044835180044174194,
0.029820283874869347,
0.04651126265525818,
-0.00642497930675745,
-0.010850882157683372,
0.022504886612296104,
0.009480336681008339,
0.01029218826442957,
0.030413895845413208,
0.060478609055280685,
0.006521004717797041,
-0.011636544950306416,
-0.02185889706015587,
0.06484340876340866,
-0.030291682109236717,
0.029226671904325485,
-0.01332135684788227,
-0.041832201182842255,
-0.012509504333138466,
0.07235085219144821,
0.06344667077064514,
0.03163604065775871,
-0.02510630525648594,
0.007603473961353302,
0.054123468697071075,
-0.030029794201254845,
0.06885901838541031,
0.0022500522900372744,
0.03404540568590164,
-0.037676915526390076,
0.0015691440785303712,
0.058278750628232956,
-0.06295781582593918,
0.04986342787742615,
0.052726730704307556,
0.0013487219111993909,
0.06931295245885849,
0.003690434852614999,
0.030850376933813095,
0.029925039038062096,
-0.04221630468964577,
-0.09714289009571075,
0.0010006293887272477,
0.03008217178285122,
0.0016651696059852839,
0.026101477444171906,
0.033975571393966675,
-0.03161858022212982,
0.054123468697071075,
-0.04019103944301605,
-0.00960255041718483,
0.03750232607126236,
-0.049723751842975616,
0.06983672827482224,
0.025315815582871437,
0.01615847460925579,
-0.006446803454309702,
0.06445930153131485,
0.038480039685964584,
0.07675056904554367,
-0.0773092582821846,
-0.029104458168148994,
-0.024111131206154823,
0.009838249534368515,
-0.045777976512908936,
-0.052936241030693054,
-0.036978550255298615,
-0.06889393925666809,
-0.009471606463193893,
-0.025385651737451553,
0.0001714546378934756,
0.06917328387498856,
-0.0018801357364282012,
-0.004445544444024563,
0.0044739157892763615,
-0.005988499615341425,
0.052028365433216095,
-0.02348260022699833,
0.003633692394942045,
-0.044206652790308,
-0.004530658014118671,
0.07549350708723068,
0.019240019842982292,
0.03055357001721859,
-0.004024341702461243,
-0.01215159147977829,
-0.058732692152261734,
0.015259325504302979,
-0.06976689398288727,
-0.00398287596181035,
-0.008712132461369038,
-0.04099415987730026,
0.004148738458752632,
-0.0014491121983155608,
0.0138276731595397,
-0.030815457925200462,
-0.00633768318220973,
-0.022871529683470726,
-0.06358634680509567,
-0.020758967846632004,
0.020060600712895393,
0.0023722664918750525,
0.06191026419401169,
0.05478691682219505,
-0.04413681477308273,
0.01780836656689644,
0.06222452595829964,
0.027952151373028755,
-0.014665713533759117,
-0.033958110958337784,
0.015093463473021984,
-0.03030914068222046,
0.015250596217811108,
-0.02695697918534279,
-0.0019434252753853798,
-0.044381242245435715,
0.04926981404423714,
0.00741142313927412,
-0.004065806977450848,
0.014194315299391747,
-0.03416762128472328,
-0.04986342787742615,
0.043368611484766006,
-0.009471606463193893,
0.03809593617916107,
0.04190203920006752,
-0.00931447371840477,
0.06204993650317192,
0.04385746642947197,
-0.02695697918534279,
-0.025019008666276932,
-0.0029877026099711657,
-0.061281733214855194,
-0.0462668351829052,
0.015774371102452278,
0.006311494391411543,
0.03252645581960678,
0.009620009921491146,
-0.016114825382828712,
-0.005543290637433529,
0.002391908084973693,
0.0460573248565197,
-0.0680558979511261,
-0.010545346885919571,
0.004262222908437252,
0.02833625301718712,
-0.0388641394674778,
0.04026087746024132,
-0.00292004831135273,
-0.026433203369379044,
0.05730103701353073,
-0.05164426192641258,
-0.04151793569326401,
0.02061929553747177,
-0.041378263384103775,
-0.016752086579799652,
0.010274728760123253,
0.033399417996406555,
-0.029121916741132736,
-0.015765642747282982,
0.0175813976675272,
0.06718293577432632,
0.04308926314115524,
-0.0010229989420622587,
-0.017712341621518135,
0.0161410141736269,
-0.028860028833150864,
-0.006673772819340229,
0.025839591398835182,
0.022365212440490723,
-0.037222977727651596,
-0.004866747185587883,
-0.03202014043927193,
0.010754856280982494,
0.00011764488590415567,
-0.01708381064236164,
0.035372305661439896,
0.014307800680398941,
-0.034778691828250885,
0.045777976512908936,
-0.009035127237439156,
0.002856758888810873,
0.0024159143213182688,
-0.01332135684788227,
-0.021108152344822884,
-0.021177988499403,
0.004148738458752632,
0.009768412448465824,
-0.042355976998806,
-0.00370571156963706,
0.011051663197577,
-0.10182195156812668,
-0.04710487648844719,
-0.043473366647958755,
-0.06285306066274643,
-0.008079237304627895,
-0.011322280392050743,
-0.021614467725157738,
0.0534600168466568,
-0.03078053891658783,
-0.02524597756564617,
0.06309748440980911,
-0.05220295488834381,
-0.025019008666276932,
0.060234181582927704,
-0.02594434656202793,
-0.008271288126707077,
-0.013923698104918003,
-0.02105577476322651,
0.03530246764421463,
0.001193771604448557,
0.022854071110486984,
0.02741091698408127,
0.06809081137180328,
-0.0019521549111232162,
-0.023168334737420082,
-0.02582213096320629,
0.01992092840373516,
-0.011296091601252556,
0.00949779525399208,
-0.011601626873016357,
-0.016376713290810585,
0.06885901838541031,
-0.03900381550192833,
-0.010231081396341324,
-0.002479203976690769,
0.012291264720261097,
0.004705249797552824,
-0.011601626873016357,
-0.04829210042953491,
0.056532833725214005,
-0.04549863189458847,
-0.03739757090806961,
0.0008631383534520864,
-0.013417381793260574,
-0.034883446991443634,
-0.001276702736504376,
0.033504173159599304,
-0.03648969158530235,
-0.018960673362016678,
-0.05586938560009003,
0.047279465943574905,
-0.00989062711596489,
0.02568245865404606,
0.022888988256454468,
-0.034429509192705154,
0.048780955374240875,
-0.028667978942394257,
0.06061828136444092,
0.05991991609334946,
0.07912501692771912,
-0.050177693367004395,
0.03254391625523567,
0.002684349426999688,
-0.002701808465644717,
0.00901766773313284,
0.01990346796810627,
-0.027498213574290276,
0.043927304446697235,
0.05939614027738571,
-0.01568707637488842,
-0.013216601684689522,
-0.04434632509946823,
0.0111040398478508,
0.019257478415966034,
-0.024582529440522194,
-0.03914348781108856,
-0.00897402036935091,
0.03764199838042259,
0.03252645581960678,
0.02837117202579975,
0.0009324295097030699,
-0.024460315704345703,
-0.02025265246629715,
0.012457126751542091,
0.01405464205890894,
0.004735803231596947,
-0.04270515963435173,
0.009768412448465824,
-0.038480039685964584,
0.014438744634389877,
0.06253879517316818,
-0.025053927674889565,
0.03497074171900749,
-0.03428983688354492,
0.04274008050560951,
0.02130020223557949,
0.01967649906873703,
-0.0585930161178112,
0.05586938560009003,
0.00046457795542664826,
0.038270529359579086
] |
10,364 | tracking_numbers | get_definition | null | def get_definition(product_name: str) -> Optional[TrackingNumberDefinition]:
for tn_definition in DEFINITIONS:
if tn_definition.product.name.lower() == product_name.lower():
return tn_definition
return None
| (product_name: str) -> Optional[tracking_numbers.definition.TrackingNumberDefinition] | [
0.06234284117817879,
-0.05484885349869728,
-0.02283881977200508,
0.005214566830545664,
-0.020519252866506577,
-0.028584212064743042,
0.020519252866506577,
-0.03402627259492874,
0.03975382074713707,
-0.01807478442788124,
-0.009474541991949081,
-0.04585606977343559,
-0.06705334782600403,
-0.058488793671131134,
0.04392904415726662,
-0.012177730910480022,
-0.016174523159861565,
0.03620309755206108,
-0.03675622493028641,
0.002357483608648181,
0.031135736033320427,
0.04578469693660736,
-0.03045770898461342,
-0.013132321648299694,
0.009394248947501183,
0.04928189143538475,
0.043750613927841187,
0.033990588039159775,
-0.053100258111953735,
-0.008109565824270248,
-0.0033187661319971085,
-0.020679838955402374,
0.013230456970632076,
0.060772672295570374,
0.035703498870134354,
0.0348648875951767,
-0.0028035545255988836,
0.044036101549863815,
-0.061058159917593,
0.002854852471500635,
-0.009122146293520927,
-0.003740302985534072,
0.045927438884973526,
0.001189893577247858,
-0.07922215759754181,
0.030083008110523224,
-0.0186992846429348,
-0.007788394577801228,
0.03488272801041603,
0.06416281312704086,
0.06480515003204346,
0.0009819131810218096,
-0.09535207599401474,
-0.04050322249531746,
-0.055740997195243835,
0.005700783804059029,
-0.019091825932264328,
0.026871299371123314,
-0.02082258090376854,
0.043179646134376526,
-0.031064365059137344,
0.018788497895002365,
0.030546922236680984,
-0.03793385252356529,
-0.03641721233725548,
0.013926327228546143,
0.07608181983232498,
0.0015467501943930984,
-0.0040369401685893536,
0.03811228275299072,
-0.03349098935723305,
-0.011401567608118057,
-0.03693465515971184,
-0.004938002675771713,
0.05559825524687767,
-0.01126774586737156,
0.025854257866740227,
-0.04849680885672569,
0.06769569218158722,
-0.029101653024554253,
-0.08279072493314743,
0.06080836057662964,
0.00688287103548646,
-0.021411394700407982,
0.011865480802953243,
0.03911148011684418,
0.07112151384353638,
0.08678751438856125,
0.030029481276869774,
-0.06405575573444366,
-0.05766802281141281,
0.013346435502171516,
0.005062902811914682,
0.0822911262512207,
0.04218044504523277,
-0.05317162722349167,
0.012088516727089882,
-0.02323136292397976,
-0.003905349178239703,
0.013141242787241936,
-0.02685345709323883,
0.04642704129219055,
-0.05591942369937897,
-0.001112388796173036,
0.01362299919128418,
0.033651575446128845,
0.010339919477701187,
0.019930439069867134,
0.034971944987773895,
0.017280779778957367,
-0.029868895187973976,
-0.03556075692176819,
-0.0067178248427808285,
0.030261436477303505,
-0.005732008721679449,
-0.006963163614273071,
-0.021696878597140312,
0.04128830507397652,
0.006137933116406202,
0.01420289184898138,
-0.02144707925617695,
0.00033260148484259844,
-0.03498978540301323,
0.029815366491675377,
0.050852060317993164,
-0.02289234846830368,
-0.014461612328886986,
-0.02431977540254593,
0.032563161104917526,
-0.042537301778793335,
0.10620051622390747,
0.0423588752746582,
0.00791329424828291,
0.0029217631090432405,
-0.03672054037451744,
0.08664477616548538,
0.017985571175813675,
0.03292001783847809,
-0.02260686457157135,
-0.02364174835383892,
-0.03366941586136818,
-0.0092961136251688,
-0.0019515593303367496,
-0.030368493869900703,
-0.06844508647918701,
0.0024132425896823406,
-0.05042383447289467,
-0.022589020431041718,
-0.06873057782649994,
0.0279953982681036,
-0.03700602799654007,
-0.03636368364095688,
0.01665627956390381,
-0.012802229262888432,
-0.05031677708029747,
-0.010830597020685673,
0.02214295044541359,
0.006749049760401249,
0.002317337319254875,
-0.025372501462697983,
0.054706111550331116,
-0.016870394349098206,
0.0070256139151751995,
-0.028584212064743042,
0.0007304407772608101,
-0.016103152185678482,
-0.01905614137649536,
-0.040645964443683624,
0.04549921303987503,
-0.01262380089610815,
-0.01818184182047844,
0.064341239631176,
0.02053709514439106,
0.010928732343018055,
-0.08978511393070221,
0.059630732983350754,
0.013703292235732079,
-0.04888935014605522,
0.02706757001578808,
0.04028910771012306,
-0.03208140656352043,
0.007458302192389965,
-0.037898167967796326,
0.026532286778092384,
0.015550024807453156,
0.03911148011684418,
-0.008742986246943474,
-0.024694474413990974,
0.03493625670671463,
0.011285589076578617,
0.0031336466781795025,
-0.0186457559466362,
0.026550129055976868,
0.01253458671271801,
0.02385586127638817,
0.0018991460092365742,
0.06355615705251694,
0.05856016278266907,
-0.03320550546050072,
-0.031349848955869675,
0.03581055626273155,
-0.025943472981452942,
-0.0019069523550570011,
0.09949161112308502,
-0.02237490750849247,
0.03035065159201622,
0.09863515943288803,
0.031171420589089394,
-0.06626826524734497,
0.020465724170207977,
-0.038290709257125854,
-0.006744589190930128,
-0.04078870639204979,
0.024016447365283966,
0.03725582733750343,
-0.013052028603851795,
-0.04107419028878212,
-0.006851646117866039,
0.01750381477177143,
-0.01175842434167862,
-0.05545550957322121,
-0.05078069120645523,
0.07729513198137283,
0.0397181361913681,
0.010893046855926514,
-0.009197978302836418,
-0.015862274914979935,
0.0003420804860070348,
0.016174523159861565,
-0.017780378460884094,
-0.02592563070356846,
-0.013283985666930676,
0.021732565015554428,
0.004498623311519623,
0.05788213387131691,
-0.03001163713634014,
-0.06901606172323227,
0.01729862205684185,
0.03943265229463577,
-0.005366230849176645,
0.00915337074548006,
-0.03288433328270912,
-0.0031470288522541523,
0.0453207828104496,
-0.057453908026218414,
-0.018503013998270035,
0.02960125170648098,
-0.004115002229809761,
-0.01563923992216587,
-0.0531359426677227,
0.00018707090930547565,
-0.0020418886560946703,
0.036345843225717545,
-0.003216169774532318,
0.03814796730875969,
-0.05795350670814514,
-0.011464017443358898,
-0.031117893755435944,
0.04075302183628082,
-0.040074992924928665,
-0.012391844764351845,
0.022071579471230507,
0.04642704129219055,
0.011713816784322262,
-0.03550722822546959,
-0.039789509028196335,
-0.03725582733750343,
0.003394598141312599,
-0.02967262454330921,
0.0016950686695054173,
-0.003883045632392168,
-0.011401567608118057,
0.011856559664011002,
-0.02672855742275715,
0.032670218497514725,
-0.04549921303987503,
0.015255618840456009,
0.05024540424346924,
-0.017155880108475685,
0.02460526116192341,
-0.03557860106229782,
-0.003561874618753791,
0.03850482404232025,
0.0688733160495758,
-0.006526014301925898,
0.03208140656352043,
0.004204216413199902,
-0.095708929002285,
0.04503529891371727,
0.0074895271100103855,
-0.042430244386196136,
0.06994388997554779,
-0.056204911321401596,
-0.017646556720137596,
-0.037434253841638565,
0.04760466516017914,
0.018538698554039,
-0.010901967994868755,
0.0476403534412384,
0.025657987222075462,
0.025550929829478264,
0.012748700566589832,
0.03263453394174576,
-0.010937653481960297,
-0.07772336155176163,
-0.005450983997434378,
0.09292545169591904,
-0.04492824152112007,
-0.0006495904526673257,
-0.04021773487329483,
-0.061593443155288696,
0.05342143028974533,
-0.018966926261782646,
0.013087715022265911,
-0.031010836362838745,
-0.02203589305281639,
-0.03270590305328369,
0.042323190718889236,
0.040182050317525864,
0.044785499572753906,
-0.0013716674875468016,
0.05117323249578476,
0.010170412249863148,
-0.01887771300971508,
0.010518347844481468,
-0.05484885349869728,
-0.0745830237865448,
-0.05285045877099037,
0.0028080150950700045,
0.03513253107666969,
-0.08528871834278107,
-0.054991599172353745,
0.016477853059768677,
0.03711308166384697,
-0.00001581285869178828,
-0.0345972441136837,
0.03309844806790352,
0.04096713289618492,
-0.005254712887108326,
-0.018556540831923485,
0.04160947725176811,
-0.013007421977818012,
-0.023552533239126205,
0.020840423181653023,
0.021072380244731903,
0.005508973263204098,
0.040467534214258194,
-0.03661348298192024,
0.0614863857626915,
-0.06758863478899002,
-0.052065372467041016,
-0.08172015100717545,
0.005036138463765383,
-0.028013240545988083,
0.06048718839883804,
-0.007302177604287863,
-0.013489178381860256,
0.02610405720770359,
-0.03911148011684418,
0.045641954988241196,
-0.02071552351117134,
-0.015701688826084137,
-0.04892503470182419,
0.04160947725176811,
-0.0587385930120945,
0.02392723225057125,
-0.054527685046195984,
0.05798919126391411,
0.006035336758941412,
-0.005245791748166084,
-0.050566576421260834,
0.009599441662430763,
0.011062554083764553,
-0.023106463253498077,
-0.015041504055261612,
-0.0035128069575875998,
0.023374104872345924,
-0.0022928034886717796,
-0.011892245151102543,
-0.0805068388581276,
-0.016620595008134842,
0.0201267097145319,
-0.06262832880020142,
0.006851646117866039,
-0.03293786197900772,
-0.026782086119055748,
-0.03732719644904137,
-0.04175221920013428,
0.0026385083328932524,
0.016040703281760216,
0.02706757001578808,
-0.02283881977200508,
-0.028530683368444443,
0.027870498597621918,
0.014042305760085583,
-0.0024400067050009966,
-0.06559024006128311,
-0.02967262454330921,
-0.05756096541881561,
0.030992992222309113,
-0.00915337074548006,
-0.0279953982681036,
-0.04507098346948624,
0.020037496462464333,
-0.02299940586090088,
-0.0227139201015234,
0.054706111550331116,
0.036060355603694916,
-0.02312430553138256,
-0.00828799419105053,
-0.015469732694327831,
-0.02467663213610649,
-0.05053089186549187,
-0.04360787197947502,
-0.0425729900598526,
0.03602467104792595,
0.08685889095067978,
0.01488984003663063,
0.007815158925950527,
-0.019752010703086853,
-0.01126774586737156,
0.03664917126297951,
0.01368544902652502,
0.03609604388475418,
0.008908032439649105,
0.06616120785474777,
-0.0061245509423315525,
0.0534571148455143,
0.005384073592722416,
0.013792506419122219,
-0.06851646304130554,
0.012320472858846188,
0.007034535054117441,
-0.014764940366148949,
0.061129529029130936,
-0.07044348865747452,
0.010072276927530766,
0.004119463264942169,
-0.057632334530353546,
-0.07515399158000946,
0.02426624670624733,
0.012570273131132126,
-0.03811228275299072,
0.03429391607642174,
-0.02954772487282753,
-0.007824080064892769,
-0.02444467507302761,
-0.04086007550358772,
-0.015790903940796852,
-0.049603063613176346,
-0.0800786167383194,
0.001238961354829371,
0.05777508020401001,
-0.037434253841638565,
0.06473378092050552,
-0.04692663997411728,
-0.08628791570663452,
-0.0344366580247879,
0.03391921520233154,
-0.05110185965895653,
0.007569820154458284,
0.041966333985328674,
0.05795350670814514,
0.002600592328235507,
0.017254015430808067,
-0.012944972142577171,
0.0016058546025305986,
-0.013846035115420818,
0.013515942730009556,
-0.01514856144785881,
0.09785006940364838,
-0.023570377379655838,
0.03540017083287239,
-0.008756368421018124,
-0.029244396835565567,
-0.04075302183628082,
0.013355357572436333,
0.046890951693058014,
0.08600243180990219,
-0.013408885337412357,
0.029155181720852852,
-0.01724509336054325,
-0.041502419859170914,
0.007596584036946297,
0.04831837862730026,
-0.009331799112260342,
-0.01494336873292923,
-0.05681156739592552,
-0.04043184965848923,
0.014550826512277126,
0.004264436196535826,
0.032152775675058365,
0.025283288210630417,
-0.004128384403884411,
0.07001525908708572,
-0.027460113167762756,
0.07515399158000946,
0.02467663213610649,
0.006360968574881554,
0.024426832795143127,
0.012891443446278572,
-0.0028035545255988836,
0.05463474243879318,
-0.011972538195550442,
0.021786093711853027,
-0.07055054605007172,
-0.039789509028196335,
0.032563161104917526,
0.0004000696644652635,
0.0425729900598526,
-0.023677432909607887,
0.01522885449230671,
0.05709705129265785,
0.022749606519937515,
0.0014274262357503176,
0.04824700951576233,
0.014604355208575726,
0.0009936224669218063,
-0.004585606977343559,
0.025033488869667053,
-0.009822476655244827,
0.02203589305281639,
0.020733367651700974,
-0.044036101549863815,
0.019198883324861526,
-0.00015710052684880793,
0.002160097472369671,
-0.033080603927373886,
-0.023249205201864243,
-0.000357692944817245,
0.03943265229463577,
-0.06048718839883804,
-0.05163714662194252,
0.03331255912780762,
0.009786791168153286,
-0.01714695803821087,
-0.07543947547674179,
-0.006213765125721693,
-0.03573918715119362,
-0.011803030967712402,
0.004710506647825241,
-0.0611652173101902,
0.0026028226129710674,
-0.000708137231413275,
-0.015889039263129234,
0.05652607977390289,
-0.01688823662698269,
0.03395490348339081,
-0.005526816006749868,
0.0013727826299145818,
0.052814774215221405,
-0.018449485301971436,
0.03299139067530632,
-0.08221975713968277,
0.005504512693732977,
0.009679734706878662,
-0.0010666665621101856,
0.021322179585695267,
0.003646627999842167,
-0.02885185368359089,
0.01732538640499115,
-0.012418609112501144,
0.015398360788822174,
0.05078069120645523,
0.02094748057425022,
-0.05741822347044945,
-0.044892556965351105,
-0.038005225360393524,
0.050566576421260834,
0.017700085416436195,
0.020983166992664337,
0.01664735935628414,
0.059702105820178986,
0.03299139067530632,
0.007467223796993494,
0.01073246169835329,
0.04596312716603279,
-0.028941066935658455,
-0.005611569620668888,
-0.026371700689196587,
0.005143195390701294,
-0.04778309538960457,
-0.001707335701212287,
-0.011303432285785675,
0.0013047568500041962,
-0.008381668478250504,
-0.022856663912534714,
0.0022861124016344547,
0.02253549173474312,
-0.036452896893024445,
0.021589823067188263,
0.004755113739520311,
0.01836027018725872,
0.008800975047051907,
-0.013301828876137733,
0.06559024006128311,
-0.03900442272424698,
-0.006829342804849148,
0.031296320259571075,
0.01540728285908699,
-0.028066769242286682,
0.043179646134376526,
0.011401567608118057,
0.013194771483540535,
0.0665537491440773,
-0.010482661426067352,
-0.0006244989926926792,
-0.045463528484106064,
0.033134132623672485,
-0.037077397108078,
0.028298726305365562,
-0.03943265229463577,
-0.00471942825242877,
0.006285136565566063,
-0.021661194041371346,
-0.005196723621338606,
0.052921827882528305,
-0.02960125170648098,
-0.0632706731557846,
-0.005700783804059029,
-0.005919358227401972,
0.06748157739639282,
0.004737270995974541,
-0.018172921612858772,
-0.01167813129723072,
0.01508611161261797,
-0.017539501190185547,
-0.0691944882273674,
-0.01267732959240675,
0.0043893358670175076,
0.02037651091814041,
-0.011294510215520859,
0.014122598804533482,
-0.014461612328886986,
-0.0015668233390897512,
0.03406196087598801,
0.027638541534543037,
-0.00572308711707592,
-0.026585813611745834,
0.057632334530353546,
-0.03383000195026398,
0.051708515733480453,
0.0030198986642062664,
-0.004679281730204821,
0.02278529293835163,
0.048568177968263626,
0.01691500097513199,
-0.025426030158996582,
0.006668757181614637,
0.037434253841638565,
-0.04482118412852287,
-0.05299320071935654,
0.030939465388655663,
0.036167412996292114,
0.05663313716650009,
0.0072575705125927925,
-0.022250007838010788,
-0.02260686457157135,
0.005339466501027346,
-0.005803380161523819,
-0.035703498870134354,
-0.021661194041371346,
-0.01144617423415184,
0.007672416046261787,
0.004072625655680895,
-0.018520856276154518,
0.0037090780679136515,
-0.06062993034720421,
-0.05202968791127205,
0.007895451970398426,
-0.007672416046261787,
-0.004491932224482298,
0.04228750243782997,
-0.028816167265176773,
-0.051030490547418594,
-0.0006992158596403897,
-0.0030154380947351456,
0.06669649481773376,
0.06509064137935638,
-0.010848439298570156,
0.0531359426677227,
0.005830144044011831,
0.01634403131902218,
0.020233767107129097,
0.004429482389241457,
0.06248558685183525,
-0.026121901348233223,
-0.02460526116192341,
0.016477853059768677,
-0.006517093162983656,
0.0035172675270587206,
-0.02421271800994873,
-0.03249179199337959,
0.03700602799654007,
-0.0011201950255781412,
-0.02742442674934864,
-0.0043224249966442585,
0.02597915753722191,
0.0036243244539946318,
0.020929638296365738,
0.03907579556107521,
0.007034535054117441,
0.009893848560750484,
-0.0017229481600224972,
-0.018172921612858772,
0.02742442674934864,
-0.04193064570426941,
-0.008069419302046299,
-0.07779473066329956,
-0.00036828714655712247,
-0.0006646453402936459,
-0.01903829723596573,
0.025515245273709297,
-0.0011235405690968037,
0.03595329821109772,
0.040645964443683624,
-0.06969408690929413,
0.03472214564681053,
-0.013150164857506752,
0.010375604964792728,
-0.020804738625884056,
-0.019252412021160126,
0.013292906805872917,
0.009394248947501183,
0.021928835660219193,
0.07087171822786331,
0.023142147809267044,
-0.030261436477303505,
0.008479803800582886,
0.07372656464576721,
-0.03975382074713707,
0.005285937804728746,
-0.022160792723298073,
-0.017798220738768578,
0.03946833685040474,
0.006820421200245619,
0.06430555135011673,
0.012213416397571564,
-0.014961211942136288,
-0.06548318266868591,
0.008698378689587116,
0.0400393083691597,
0.007409234531223774,
0.055740997195243835,
0.03074319288134575,
0.010580797679722309,
-0.039147164672613144,
0.0030488932970911264,
-0.026978356763720512,
-0.029922423884272575,
0.006075483281165361,
-0.019359469413757324,
0.04985286295413971,
0.01075922604650259,
-0.024230560287833214,
-0.06598278135061264,
0.007922216318547726,
0.01789635792374611,
0.010009827092289925,
0.010714618489146233,
-0.0093496423214674,
-0.0161120742559433,
-0.018717126920819283,
0.09128390997648239,
-0.08264797925949097,
-0.034115489572286606,
0.012115280143916607,
-0.007360166870057583
] |
10,365 | tracking_numbers | get_tracking_number | null | def get_tracking_number(number: str) -> Optional[TrackingNumber]:
for tn_definition in DEFINITIONS:
tracking_number = tn_definition.test(number)
if tracking_number and tracking_number.valid:
return tracking_number
return None
| (number: str) -> Optional[tracking_numbers.types.TrackingNumber] | [
0.02461201697587967,
-0.027165928855538368,
-0.04950391501188278,
0.08025581389665604,
-0.037818893790245056,
-0.0061748698353767395,
-0.010792902670800686,
0.014352637343108654,
-0.002260911976918578,
-0.06843085587024689,
-0.03332330659031868,
0.016994012519717216,
-0.03138163313269615,
-0.07143957167863846,
0.0794161781668663,
0.002599830273538828,
0.036139607429504395,
0.03264109790325165,
0.012017381377518177,
-0.02707846648991108,
0.019154341891407967,
0.06769616901874542,
-0.00855822954326868,
0.03524748608469963,
-0.012445949018001556,
0.06573700159788132,
0.02513679303228855,
-0.013093173503875732,
-0.051183201372623444,
0.006760870572179556,
-0.02081613428890705,
-0.0755678117275238,
-0.0039489432238042355,
0.06192362681031227,
0.01966162584722042,
0.00686582550406456,
-0.053632158786058426,
0.03802880272269249,
-0.08221498131752014,
0.012209800072014332,
0.027393333613872528,
0.027043482288718224,
0.0344078466296196,
0.026343779638409615,
-0.08340447396039963,
0.0002910869661718607,
-0.02506682276725769,
-0.007237542420625687,
-0.039288267493247986,
0.0170464888215065,
0.033130887895822525,
-0.015008607879281044,
-0.0780867412686348,
-0.0428917333483696,
-0.0435214638710022,
0.01820974424481392,
0.036139607429504395,
0.02074616402387619,
0.010495529510080814,
-0.013119412586092949,
-0.015375951305031776,
0.07395850121974945,
-0.04541065916419029,
-0.047999557107686996,
0.055101532489061356,
0.003675621934235096,
0.07976602762937546,
0.027725690975785255,
0.00840079691261053,
-0.015524637885391712,
0.0028163003735244274,
-0.026816079393029213,
-0.013696666806936264,
-0.035282474011182785,
0.0560111440718174,
-0.03932325169444084,
0.0008718942408449948,
-0.0033891815692186356,
0.0350375771522522,
0.024507062509655952,
0.0010298738488927484,
0.04625030234456062,
0.05293245613574982,
-0.053422246128320694,
-0.01597069762647152,
-0.016985265538096428,
0.06311311572790146,
0.03963811695575714,
-0.02529422752559185,
-0.025626584887504578,
-0.03131166473031044,
-0.04597042128443718,
-0.0027813154738396406,
-0.013941561803221703,
0.01117773912847042,
-0.0232126135379076,
0.035212501883506775,
-0.028792737051844597,
-0.02637876570224762,
-0.015498398803174496,
-0.008094677701592445,
0.04796456918120384,
-0.07147455960512161,
0.009550931863486767,
-0.008182140067219734,
0.02006395347416401,
-0.029719842597842216,
0.02036132849752903,
0.018682042136788368,
0.02330007590353489,
-0.05947466939687729,
-0.06202857941389084,
-0.04110749065876007,
-0.010959082283079624,
0.038133759051561356,
-0.0062317210249602795,
-0.010714186355471611,
0.03495011478662491,
-0.026396257802844048,
-0.03241369500756264,
-0.00882936455309391,
0.01798234134912491,
-0.08690298348665237,
0.03162652999162674,
0.028670288622379303,
0.012472188100218773,
0.025241749361157417,
-0.019066879525780678,
0.0755678117275238,
-0.08809247612953186,
0.07899635285139084,
0.02923005074262619,
0.03757399693131447,
0.06297317892313004,
-0.03764396533370018,
0.06416267156600952,
-0.043171610683202744,
0.029737334698438644,
-0.02816300466656685,
0.0034307262394577265,
-0.013451770879328251,
-0.007574274204671383,
-0.007565527688711882,
-0.06570201367139816,
0.030052199959754944,
0.029212558642029762,
-0.05429687350988388,
0.008413916453719139,
-0.054961591958999634,
-0.04876922816038132,
0.007106348406523466,
-0.04635525494813919,
0.030979305505752563,
0.025976436212658882,
-0.0659818947315216,
0.05517150089144707,
0.056046128273010254,
0.00983081292361021,
0.0410025380551815,
-0.02375488169491291,
0.07801677286624908,
0.021393388509750366,
0.02606389857828617,
-0.037748921662569046,
0.004631152376532555,
-0.029265034943819046,
-0.04173722490668297,
0.001439855434000492,
0.055101532489061356,
0.0021308111026883125,
-0.04541065916419029,
0.0698302611708641,
0.020028969272971153,
0.054576754570007324,
-0.035667307674884796,
0.027515780180692673,
0.019189326092600822,
-0.033428262919187546,
0.026711123064160347,
0.093480184674263,
-0.04681006446480751,
0.03230873867869377,
-0.028862707316875458,
0.00810342375189066,
0.01341678574681282,
0.030489513650536537,
0.019731596112251282,
-0.028565334156155586,
0.004744854290038347,
-0.008015960454940796,
0.059509653598070145,
0.0021942215971648693,
0.042541880160570145,
-0.00019651786715257913,
0.026868555694818497,
-0.023195121437311172,
0.04093256592750549,
0.013565472327172756,
-0.042227014899253845,
-0.05181293189525604,
0.07500804960727692,
-0.014615025371313095,
0.0030283976811915636,
0.055801231414079666,
-0.08081557601690292,
-0.014011532068252563,
0.026588674634695053,
-0.01690654829144478,
-0.014754965901374817,
0.04698498919606209,
0.0004662857681978494,
-0.009271051734685898,
-0.0104867834597826,
0.0755678117275238,
-0.0007800583844073117,
-0.04271680489182472,
-0.003612211439758539,
0.03155655786395073,
0.006787109188735485,
0.004421242047101259,
0.0023177629336714745,
-0.04761471971869469,
0.07563778758049011,
0.021533329039812088,
0.034197933971881866,
0.03232623264193535,
0.02267034351825714,
0.043766360729932785,
0.03545739874243736,
-0.019101863726973534,
0.02337004616856575,
0.0008347225957550108,
0.02538168989121914,
0.020536253228783607,
0.051253169775009155,
-0.0787164717912674,
-0.041387371718883514,
-0.009393499232828617,
0.024647003039717674,
-0.014151472598314285,
0.012620874680578709,
-0.0020236694253981113,
0.027585750445723534,
0.05608111247420311,
-0.011256455443799496,
-0.056186068803071976,
-0.025031838566064835,
-0.016792846843600273,
-0.020781148225069046,
-0.04583048075437546,
0.0022007813677191734,
-0.02569655515253544,
0.01098532136529684,
0.027165928855538368,
-0.008378931321203709,
-0.04229698330163956,
-0.059894490987062454,
-0.0345652773976326,
0.053807083517313004,
-0.0004949845024384558,
-0.011230217292904854,
0.03407548740506172,
0.012043620459735394,
-0.03132915496826172,
-0.07112471014261246,
-0.02814551256597042,
-0.07199933379888535,
0.004508704878389835,
-0.002260911976918578,
-0.0187345203012228,
-0.02560909278690815,
-0.03816874325275421,
0.0008423755643889308,
-0.0032951589673757553,
0.03178396448493004,
-0.061503805220127106,
0.020571237429976463,
0.051707975566387177,
-0.012393471784889698,
-0.001444228575564921,
-0.05006367713212967,
-0.008991170674562454,
0.030349573120474815,
-0.02083362638950348,
0.025276733562350273,
0.06706643849611282,
-0.024192195385694504,
-0.019084371626377106,
0.04047776013612747,
-0.01705523580312729,
-0.021883180364966393,
0.0034307262394577265,
0.0005969332414679229,
-0.011029052548110485,
-0.03638450428843498,
0.0024358376394957304,
-0.01098532136529684,
0.01403777115046978,
0.047929584980010986,
0.002534233033657074,
0.024944376200437546,
0.013591711409389973,
0.014352637343108654,
-0.015061085112392902,
-0.05520648509263992,
0.02459452487528324,
0.0280055720359087,
-0.0390433706343174,
0.014842428267002106,
-0.04096755012869835,
-0.007298766169697046,
0.04247191175818443,
0.026413749903440475,
-0.014448845759034157,
0.05167299136519432,
-0.02174323983490467,
-0.021568313241004944,
0.03262360394001007,
-0.002827233402058482,
0.01338180061429739,
0.02970234863460064,
0.02337004616856575,
0.06069914624094963,
0.01088036596775055,
-0.03391805291175842,
-0.07094977796077728,
-0.03129417076706886,
-0.04719489812850952,
-0.06493234634399414,
0.03592969849705696,
-0.056430965662002563,
-0.056815799325704575,
0.033130887895822525,
0.015437174588441849,
0.005562630947679281,
-0.018769506365060806,
-0.00894743949174881,
0.035754770040512085,
0.026326287537813187,
-0.012340993620455265,
0.020378820598125458,
0.00011103669385192916,
-0.004235383588820696,
0.030069692060351372,
0.027883123606443405,
0.018874460831284523,
-0.008396423421800137,
-0.0055844965390861034,
0.037608981132507324,
-0.082005076110363,
-0.03687429428100586,
-0.03606963902711868,
-0.0515330508351326,
0.019451715052127838,
0.043241582810878754,
0.007386229000985622,
0.02637876570224762,
-0.01636428013443947,
0.027743183076381683,
0.04691501706838608,
-0.04541065916419029,
-0.023247597739100456,
0.00875939428806305,
-0.0051865410059690475,
-0.04502582177519798,
-0.0019274603109806776,
0.004845436196774244,
0.03493262082338333,
0.03830868378281593,
0.018384668976068497,
-0.028652796521782875,
0.011308933608233929,
0.03285100683569908,
0.03155655786395073,
0.033113397657871246,
-0.005370212718844414,
0.05629102513194084,
0.02305518090724945,
-0.014597532339394093,
-0.03785387799143791,
-0.027043482288718224,
0.026343779638409615,
-0.06251837313175201,
0.022163059562444687,
-0.01667040027678013,
-0.02190067246556282,
-0.012577143497765064,
-0.005129690282046795,
-0.03820372745394707,
0.012323501519858837,
0.06468744575977325,
-0.017335116863250732,
0.005601989105343819,
0.025888973847031593,
0.0057419296354055405,
0.0232126135379076,
-0.023020194843411446,
0.019066879525780678,
0.035754770040512085,
-0.01827971450984478,
-0.0060130637139081955,
-0.055101532489061356,
-0.05755048990249634,
0.05307239666581154,
0.03069942444562912,
0.04240193963050842,
0.030437035486102104,
0.011929919011890888,
-0.0464252270758152,
-0.07192936539649963,
-0.052477650344371796,
-0.02606389857828617,
-0.005978079047054052,
-0.07073987275362015,
-0.028407899662852287,
0.060279324650764465,
-0.009708365425467491,
0.031136738136410713,
-0.007967856712639332,
-0.0209735669195652,
0.0025757779367268085,
-0.03858856484293938,
-0.028320437297225,
0.04565555602312088,
0.023894822224974632,
0.04464098811149597,
0.023422524333000183,
0.04911907762289047,
0.0004963511019013822,
0.04771967604756355,
-0.05884493514895439,
-0.04208707436919212,
0.01843714714050293,
-0.026203839108347893,
0.023247597739100456,
-0.029649872332811356,
-0.03148658946156502,
0.0030808753799647093,
-0.01373165100812912,
-0.0249793604016304,
0.028705274686217308,
0.03239620104432106,
-0.0074693188071250916,
0.0169677734375,
0.025871481746435165,
-0.04380134493112564,
-0.009244812652468681,
-0.02900264784693718,
-0.020238880068063736,
-0.03967310115695,
-0.08571349084377289,
-0.036594413220882416,
0.013329322449862957,
-0.03061196208000183,
0.0768272802233696,
-0.01889195293188095,
-0.14259926974773407,
0.023509986698627472,
0.022652851417660713,
-0.05971956253051758,
-0.045480627566576004,
0.07409843802452087,
0.004954764619469643,
-0.011134007945656776,
-0.04719489812850952,
-0.0291425883769989,
0.004416868556290865,
-0.00926230475306511,
-0.03208133578300476,
-0.013792875222861767,
0.01068794820457697,
-0.010845380835235119,
0.01836717687547207,
0.04922403395175934,
-0.03132915496826172,
-0.026728615164756775,
-0.005558257456868887,
0.0006603437359444797,
0.05020361766219139,
0.001550277229398489,
0.06577198952436447,
0.005873123649507761,
-0.017877385020256042,
0.0019230871694162488,
0.009996992535889149,
0.03967310115695,
-0.027638228610157967,
-0.03468772768974304,
-0.04362642019987106,
-0.011615052819252014,
-0.04597042128443718,
0.01766747422516346,
0.03318336606025696,
-0.05545138195157051,
0.022040612995624542,
0.03083936497569084,
0.05366714298725128,
0.028582826256752014,
0.01002323068678379,
0.0035247488413006067,
0.03262360394001007,
0.02114849165081978,
0.0064897360280156136,
0.00018695162725634873,
0.053177349269390106,
-0.027865631505846977,
-0.01819225214421749,
0.02629130147397518,
-0.02760324254631996,
0.04646021127700806,
0.013163143768906593,
0.049713827669620514,
0.06941043585538864,
0.009935768321156502,
-0.010049469769001007,
0.03911334276199341,
-0.00005934484215686098,
-0.09508950263261795,
-0.042227014899253845,
0.05992947518825531,
-0.027638228610157967,
0.013478009030222893,
0.030279602855443954,
-0.035055071115493774,
0.046320270746946335,
-0.011737501248717308,
-0.05821520462632179,
0.011789978481829166,
-0.04201710596680641,
0.025731541216373444,
0.06468744575977325,
0.0029234422836452723,
-0.00443217484280467,
0.06794106215238571,
0.03402300924062729,
-0.0169677734375,
-0.013443024829030037,
-0.038833461701869965,
-0.06241341680288315,
-0.01782490871846676,
-0.05678081512451172,
-0.0793462023139,
-0.006218601483851671,
-0.0017733072163537145,
0.030874349176883698,
-0.008269602432847023,
-0.028058050200343132,
0.029807304963469505,
-0.031661514192819595,
0.01820974424481392,
0.03848360851407051,
-0.0006991553236730397,
0.06458248943090439,
-0.05177794769406319,
0.007596139796078205,
-0.03306091949343681,
0.013932815752923489,
0.036279547959566116,
0.040617700666189194,
-0.034985098987817764,
-0.01681908592581749,
-0.027655720710754395,
-0.04929400607943535,
0.029404975473880768,
-0.05692075565457344,
-0.06349795311689377,
-0.039987970143556595,
-0.052722543478012085,
0.036524444818496704,
0.014046517200767994,
0.048244450241327286,
0.019993985071778297,
0.03083936497569084,
-0.008033453486859798,
-0.03446032106876373,
-0.0071544526144862175,
-0.009524693712592125,
0.0012791426852345467,
0.03423291817307472,
0.033935546875,
-0.02583649568259716,
-0.013399292714893818,
0.020868612453341484,
0.03932325169444084,
0.0061748698353767395,
-0.024734465405344963,
-0.028670288622379303,
-0.012087351642549038,
-0.030664440244436264,
-0.03638450428843498,
0.05321233719587326,
-0.01852460950613022,
0.033970531076192856,
0.0260813906788826,
-0.00901740975677967,
0.07018011063337326,
-0.062203507870435715,
-0.028652796521782875,
0.044081225991249084,
0.003223002189770341,
0.012323501519858837,
0.04481591284275055,
-0.022023119032382965,
0.02036132849752903,
0.05807526409626007,
-0.023247597739100456,
-0.016093146055936813,
-0.002007269999012351,
0.02574903331696987,
-0.05555633828043938,
0.024262165650725365,
-0.014991114847362041,
-0.011982396245002747,
-0.026728615164756775,
-0.003421979956328869,
-0.026116376742720604,
0.05373711138963699,
0.050938304513692856,
-0.06608685106039047,
-0.017317624762654305,
0.016101891174912453,
0.04471095651388168,
0.0026195093523710966,
-0.009970753453671932,
0.027568258345127106,
0.0025932705029845238,
0.014702487736940384,
-0.0768272802233696,
-0.036524444818496704,
-0.014798697084188461,
-0.02197064273059368,
0.002459889743477106,
-0.004946018569171429,
-0.007451826240867376,
-0.007093228865414858,
-0.008116543292999268,
0.01967911794781685,
0.020781148225069046,
0.015201025642454624,
0.03750402480363846,
-0.0701451227068901,
0.05769043043255806,
-0.006349795497953892,
-0.012682098895311356,
0.05100827291607857,
0.005169048439711332,
0.0016377399442717433,
0.008763767778873444,
0.018682042136788368,
0.03596468269824982,
-0.048104509711265564,
0.013889084570109844,
-0.013889084570109844,
0.028880199417471886,
0.014518816024065018,
0.02490939013659954,
-0.017378848046064377,
0.032203782349824905,
-0.004722988232970238,
-0.010924097150564194,
-0.0502735860645771,
0.011020306497812271,
-0.001988684292882681,
0.018786998465657234,
-0.019871536642313004,
-0.0009899690048769116,
0.02198813483119011,
-0.06906058639287949,
-0.009682126343250275,
-0.007010139059275389,
-0.04908409342169762,
-0.02900264784693718,
0.03262360394001007,
0.0015163853531703353,
0.003946756478399038,
-0.019766580313444138,
-0.007167572155594826,
0.11041297018527985,
-0.012830785475671291,
-0.03834366798400879,
0.059544637799263,
0.002770382445305586,
0.038133759051561356,
-0.022075597196817398,
-0.005230272188782692,
0.011886187829077244,
0.003155218670144677,
0.014789951033890247,
0.03750402480363846,
0.05790033936500549,
-0.04936397448182106,
0.013775383122265339,
0.0028163003735244274,
0.04166725277900696,
-0.03300844132900238,
0.013171889819204807,
-0.02060622349381447,
0.046705108135938644,
0.009778335690498352,
-0.06356792896986008,
0.0032754798885434866,
-0.06675156950950623,
-0.003826495260000229,
0.012236038222908974,
-0.03348074108362198,
-0.020186401903629303,
-0.020378820598125458,
-0.014789951033890247,
-0.06790607422590256,
-0.013495502062141895,
-0.028407899662852287,
-0.05377209931612015,
0.0007352337124757469,
0.015183532610535622,
-0.03061196208000183,
0.02476944960653782,
-0.025958944112062454,
0.07850655913352966,
-0.01836717687547207,
0.014956129714846611,
0.006704019848257303,
-0.013749144040048122,
0.04513077810406685,
0.025731541216373444,
0.021638283506035805,
0.06160876154899597,
0.05608111247420311,
-0.06811598688364029,
-0.022110583260655403,
0.03381309658288956,
-0.016390519216656685,
0.0015240383800119162,
-0.0217607319355011,
-0.035282474011182785,
0.04834940657019615,
0.06647168844938278,
0.028792737051844597,
-0.011151500046253204,
-0.04345149174332619,
-0.04534068703651428,
0.013679173775017262,
0.010276872664690018,
-0.029177572578191757,
0.008466393686830997,
-0.019609147682785988,
0.04859430342912674,
-0.01820974424481392,
-0.006909557152539492,
-0.014387622475624084,
-0.03341076895594597,
0.015944458544254303,
-0.048559319227933884,
0.044081225991249084,
-0.0013972173910588026,
-0.0004698389384429902,
0.00010536528134252876,
0.017177684232592583,
0.0547516793012619,
-0.0031508454121649265,
0.0509033203125,
-0.014746218919754028,
-0.004556809086352587,
0.03307840973138809,
0.05671084672212601,
-0.07098476588726044,
-0.025784017518162727,
-0.03851859271526337,
0.028250467032194138
] |
10,371 | fastack.app | Fastack | null | class Fastack(FastAPI):
cli = Typer()
def set_settings(self, settings: ModuleType):
self.state.settings = settings
def get_setting(self, name: str, default: Any = None):
assert self.state.settings is not None
return getattr(self.state.settings, name, default)
def load_plugins(self):
for plugin in self.get_setting("PLUGINS", []):
plugin += ".setup"
plugin = import_attr(plugin)
plugin(self)
def load_commands(self):
for command in self.get_setting("COMMANDS", []):
command: Union[Callable, Typer] = import_attr(command)
if isinstance(command, Typer):
self.cli.add_typer(command)
else:
self.cli.command(command.__name__)(command)
def include_controller(
self,
controller: Controller,
*,
prefix: str = "",
tags: Optional[List[str]] = None,
dependencies: Optional[Sequence[params.Depends]] = None,
default_response_class: Type[Response] = Default(JSONResponse),
responses: Optional[Dict[Union[int, str], Dict[str, Any]]] = None,
callbacks: Optional[List[BaseRoute]] = None,
routes: Optional[List[routing.BaseRoute]] = None,
redirect_slashes: bool = True,
default: Optional[ASGIApp] = None,
dependency_overrides_provider: Optional[Any] = None,
route_class: Type[APIRoute] = APIRoute,
on_startup: Optional[Sequence[Callable[[], Any]]] = None,
on_shutdown: Optional[Sequence[Callable[[], Any]]] = None,
deprecated: Optional[bool] = None,
include_in_schema: bool = True,
):
assert isinstance(
controller, Controller
), f"Controller must be an instance of {controller!r}"
router = controller.build(
prefix=prefix,
tags=tags,
dependencies=dependencies,
default_response_class=default_response_class,
responses=responses,
callbacks=callbacks,
routes=routes,
redirect_slashes=redirect_slashes,
default=default,
dependency_overrides_provider=dependency_overrides_provider,
route_class=route_class,
on_startup=on_startup,
on_shutdown=on_shutdown,
deprecated=deprecated,
include_in_schema=include_in_schema,
)
self.include_router(router)
async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
try:
_app_ctx_stack.push(self)
scope_type = scope["type"]
if scope_type == "http":
request = Request(scope, receive, send)
_request_ctx_stack.push(request)
elif scope_type == "websocket":
websocket = WebSocket(scope, receive, send)
_websocket_ctx_stack.push(websocket)
await super().__call__(scope, receive, send)
finally:
_websocket_ctx_stack.pop()
_request_ctx_stack.pop()
_app_ctx_stack.pop()
| (*, debug: bool = False, routes: Optional[List[starlette.routing.BaseRoute]] = None, title: str = 'FastAPI', description: str = '', version: str = '0.1.0', openapi_url: Optional[str] = '/openapi.json', openapi_tags: Optional[List[Dict[str, Any]]] = None, servers: Optional[List[Dict[str, Union[Any, str]]]] = None, dependencies: Optional[Sequence[fastapi.params.Depends]] = None, default_response_class: Type[starlette.responses.Response] = <fastapi.datastructures.DefaultPlaceholder object at 0x7f52c41fb3a0>, docs_url: Optional[str] = '/docs', redoc_url: Optional[str] = '/redoc', swagger_ui_oauth2_redirect_url: Optional[str] = '/docs/oauth2-redirect', swagger_ui_init_oauth: Optional[Dict[str, Any]] = None, middleware: Optional[Sequence[starlette.middleware.Middleware]] = None, exception_handlers: Optional[Dict[Union[int, Type[Exception]], Callable[[starlette.requests.Request, Any], Coroutine[Any, Any, starlette.responses.Response]]]] = None, on_startup: Optional[Sequence[Callable[[], Any]]] = None, on_shutdown: Optional[Sequence[Callable[[], Any]]] = None, terms_of_service: Optional[str] = None, contact: Optional[Dict[str, Union[Any, str]]] = None, license_info: Optional[Dict[str, Union[Any, str]]] = None, openapi_prefix: str = '', root_path: str = '', root_path_in_servers: bool = True, responses: Optional[Dict[Union[int, str], Dict[str, Any]]] = None, callbacks: Optional[List[starlette.routing.BaseRoute]] = None, deprecated: Optional[bool] = None, include_in_schema: bool = True, **extra: Any) -> None | [
-0.029946332797408104,
-0.0385451540350914,
-0.07054772973060608,
-0.05215372517704964,
0.07279089838266373,
0.061425499618053436,
-0.02826395444571972,
0.03736748918890953,
-0.053948260843753815,
-0.05753733590245247,
0.022581255063414574,
-0.014646037481725216,
-0.05207895115017891,
0.0019195468630641699,
-0.0018389328615739942,
0.00536024384200573,
0.043592289090156555,
0.014300215058028698,
0.06561274826526642,
-0.0541725791990757,
0.027946172282099724,
0.005813551601022482,
0.017749089747667313,
-0.005579887889325619,
0.0009948229417204857,
0.004096123855561018,
0.013402946293354034,
-0.04983578249812126,
0.04310626909136772,
-0.041760366410017014,
-0.02426363341510296,
-0.02301119640469551,
0.030002411454916,
0.029479004442691803,
0.028394805267453194,
-0.026787200942635536,
-0.0008528723265044391,
0.009309159591794014,
-0.03690016269683838,
-0.030151955783367157,
0.009435337968170643,
-0.025310445576906204,
0.023160740733146667,
-0.03925549238920212,
0.04157343506813049,
0.0468822717666626,
-0.014515185728669167,
0.06692126393318176,
-0.010701795108616352,
0.03007718361914158,
0.02446925640106201,
-0.029796788468956947,
-0.019515587016940117,
0.0454242117702961,
0.015505919232964516,
0.015842394903302193,
-0.013617916963994503,
0.03925549238920212,
-0.025964703410863876,
-0.026581576094031334,
0.00032245583133772016,
0.061425499618053436,
0.025684308260679245,
0.033610180020332336,
0.03329239413142204,
0.0026030130684375763,
-0.04310626909136772,
0.005392957013100386,
0.02035677619278431,
-0.00545838288962841,
-0.005350897554308176,
-0.01582370139658451,
0.025441298261284828,
0.009098862297832966,
0.07828667014837265,
-0.029796788468956947,
0.003458221908658743,
-0.017683664336800575,
0.008883891627192497,
0.0017361209029331803,
0.021048421040177345,
-0.009299812838435173,
-0.048415105789899826,
-0.00026403990341350436,
0.03835822269320488,
0.02499266341328621,
-0.0064818295650184155,
-0.021665293723344803,
-0.01799209974706173,
-0.04161082208156586,
-0.05548109486699104,
0.007939890958368778,
0.018141645938158035,
0.04161082208156586,
0.05727563053369522,
-0.00872967392206192,
-0.01735653541982174,
-0.04033968970179558,
-0.026955438777804375,
0.0035960834939032793,
-0.06097686290740967,
0.07910916209220886,
-0.004584480542689562,
-0.005266778636723757,
0.017608892172574997,
-0.00658931490033865,
0.014842314645648003,
0.048041246831417084,
0.0019884775392711163,
0.009425991214811802,
-0.003586736973375082,
-0.07062249630689621,
-0.0004372430848889053,
-0.022207392379641533,
-0.02762839011847973,
-0.010094269178807735,
-0.011514944024384022,
0.0007424662471748888,
0.03518039733171463,
-0.03482522815465927,
-0.02917991578578949,
0.0075146229937672615,
-0.0038507769349962473,
-0.07686599344015121,
0.0672951266169548,
0.04138650372624397,
0.004589153919368982,
0.009472724050283432,
0.020132459700107574,
-0.03351671248674393,
-0.05035918951034546,
0.05899539589881897,
-0.05263974517583847,
0.007874464616179466,
0.003818063996732235,
0.047592610120773315,
-0.03716186434030533,
-0.0030002412386238575,
-0.02235693670809269,
0.05746256187558174,
0.0038741431199014187,
0.03028280846774578,
0.028955599293112755,
-0.027777934446930885,
-0.004238658584654331,
-0.033591486513614655,
0.012253321707248688,
-0.05484553053975105,
-0.005921036936342716,
0.023385057225823402,
0.04706920310854912,
-0.012430906295776367,
-0.04142389073967934,
0.05297622084617615,
-0.013029084540903568,
0.03536732867360115,
-0.04819079115986824,
0.019253883510828018,
0.03497477248311043,
-0.0438539944589138,
-0.07851098477840424,
-0.020319391041994095,
-0.005752799101173878,
-0.05230326950550079,
-0.0010701795108616352,
0.02089887671172619,
-0.022319551557302475,
0.008430584333837032,
-0.005397630389779806,
0.08860525488853455,
-0.04800385981798172,
-0.012430906295776367,
-0.01955297403037548,
-0.006743532605469227,
0.0025656267534941435,
0.02510482259094715,
-0.036788005381822586,
-0.013216015882790089,
0.003378776367753744,
-0.019926834851503372,
-0.00018006704340223223,
-0.04172297939658165,
-0.07495930045843124,
-0.054060421884059906,
0.020749332383275032,
0.017393922433257103,
0.031142691150307655,
0.0260955560952425,
0.026114249601960182,
0.031404394656419754,
-0.009248406626284122,
0.030712749809026718,
0.10535426437854767,
0.0017104179132729769,
-0.010655062273144722,
-0.008019336499273777,
0.025441298261284828,
0.006173393689095974,
0.03974151238799095,
-0.032507285475730896,
-0.03398403897881508,
0.02299250289797783,
0.06598661094903946,
-0.00005713806240237318,
0.0052994913421571255,
0.04691965878009796,
0.033404555171728134,
-0.008566109463572502,
-0.028133103623986244,
-0.045237280428409576,
-0.05484553053975105,
-0.018880022689700127,
0.011225201189517975,
-0.004677946213632822,
0.017029406502842903,
-0.037778738886117935,
0.026600269600749016,
0.009061476215720177,
0.06172458827495575,
-0.025160901248455048,
0.08494140952825546,
0.07925871014595032,
-0.04209684208035469,
0.007687533739954233,
-0.045760687440633774,
0.009935378096997738,
-0.0037596479523926973,
0.01309451088309288,
-0.018487468361854553,
-0.02944161929190159,
0.0056593334302306175,
0.0003166142269037664,
0.016505999490618706,
0.01962774619460106,
0.023852385580539703,
-0.013842234387993813,
0.051331229507923126,
0.05596711486577988,
0.02226347289979458,
-0.014580611139535904,
0.0770903080701828,
0.03110530413687229,
0.017347188666462898,
-0.06766898930072784,
-0.057948581874370575,
0.016758356243371964,
-0.001994319260120392,
-0.032413821667432785,
-0.0005543669685721397,
-0.012421559542417526,
0.005785511806607246,
-0.0405266210436821,
-0.011225201189517975,
-0.020076381042599678,
-0.042321160435676575,
-0.0761556550860405,
-0.011019577272236347,
-0.03981628641486168,
-0.0178145170211792,
0.0009667833219282329,
-0.0644911676645279,
0.03452613949775696,
-0.042956724762916565,
0.08120279014110565,
-0.018328575417399406,
-0.010991537943482399,
0.026058169081807137,
-0.015861088410019875,
-0.04725613445043564,
-0.00346756842918694,
0.06680911034345627,
0.02618902176618576,
-0.007355731446295977,
0.02917991578578949,
-0.0492749884724617,
-0.020768024027347565,
-0.012720649130642414,
-0.00781371258199215,
-0.035498179495334625,
-0.005243412218987942,
-0.024525336921215057,
-0.09690498560667038,
0.06508934497833252,
0.01810425892472267,
0.012243974953889847,
-0.031198769807815552,
0.00863153487443924,
0.04434001445770264,
-0.0008388524875044823,
-0.02607686258852482,
0.04254547506570816,
0.03546079620718956,
-0.01163644902408123,
-0.012075737118721008,
-0.014122630469501019,
0.008874544873833656,
-0.10228859633207321,
0.05155554786324501,
0.049873169511556625,
-0.07574440538883209,
0.0049630156718194485,
-0.014356294646859169,
-0.014627343975007534,
0.014066551811993122,
0.050882596522569656,
-0.01662750542163849,
0.03488130867481232,
-0.01517879031598568,
-0.02190830372273922,
0.01418805681169033,
-0.01882394403219223,
0.012262668460607529,
0.014487145468592644,
-0.00845862366259098,
-0.0634443536400795,
0.019197804853320122,
0.01816968433558941,
0.022842958569526672,
0.02553476206958294,
0.046508412808179855,
-0.03334847465157509,
0.046396251767873764,
0.01581435464322567,
0.04007798805832863,
0.017216337844729424,
0.03183433413505554,
0.0263572596013546,
-0.0400032140314579,
-0.027591003105044365,
-0.01673966273665428,
-0.059144940227270126,
0.010084922425448895,
-0.0260955560952425,
-0.017524773254990578,
-0.04228377342224121,
0.032768990844488144,
-0.004168559331446886,
-0.05039657652378082,
-0.033666256815195084,
0.010000803507864475,
0.03918071836233139,
0.017964061349630356,
-0.024861812591552734,
-0.0064724828116595745,
-0.04355490207672119,
-0.028301339596509933,
0.02174006588757038,
0.03110530413687229,
0.05574280023574829,
-0.018337922170758247,
0.03273160383105278,
-0.04579807445406914,
0.06299571692943573,
0.06890273839235306,
0.06393036991357803,
-0.08838094025850296,
-0.015767622739076614,
0.002257190877571702,
0.005766818765550852,
-0.0409378707408905,
-0.005878977477550507,
-0.029572470113635063,
-0.059855278581380844,
0.05009748414158821,
-0.0723048746585846,
-0.00024476266116835177,
0.018683744594454765,
-0.02217000722885132,
-0.0064724828116595745,
-0.007047295570373535,
0.029310766607522964,
-0.03843299672007561,
-0.028114410117268562,
-0.0007938722264952958,
-0.012029004283249378,
0.027946172282099724,
-0.017590198665857315,
-0.02289903722703457,
-0.058696307241916656,
0.019422121345996857,
0.0527145192027092,
0.050321802496910095,
-0.022338245064020157,
0.0064491163939237595,
0.026151634752750397,
-0.05110691115260124,
-0.019328655675053596,
-0.0190108735114336,
-0.025665614753961563,
0.00005929214967181906,
0.07881007343530655,
-0.014290868304669857,
-0.07589395344257355,
0.020487628877162933,
-0.017842555418610573,
-0.03547948598861694,
-0.01077656727284193,
0.0502096451818943,
0.036675844341516495,
0.003009587759152055,
0.061051636934280396,
-0.06905227899551392,
0.11567284911870956,
0.04392876476049423,
0.05847198888659477,
0.04097525775432587,
0.08210005611181259,
0.020038994029164314,
0.00658931490033865,
0.0707346573472023,
-0.02671242691576481,
-0.0027478844858705997,
-0.07200578600168228,
0.030394967645406723,
-0.037049707025289536,
-0.03716186434030533,
0.03719925135374069,
0.038582541048526764,
-0.0023529930040240288,
0.01422544289380312,
0.029049064964056015,
0.025235673412680626,
0.030151955783367157,
0.007986623793840408,
0.019609052687883377,
0.05637836456298828,
-0.05454644188284874,
0.02254386804997921,
-0.031591325998306274,
0.012374826706945896,
0.00995407160371542,
0.0015012889634817839,
-0.040040601044893265,
-0.057948581874370575,
-0.022842958569526672,
-0.0280770231038332,
0.02889951877295971,
-0.03884424269199371,
0.03738618269562721,
0.02701151743531227,
-0.002347151283174753,
0.014608651399612427,
0.005383610259741545,
0.007117394357919693,
0.0011496251681819558,
0.012477638199925423,
-0.024581415578722954,
0.053237926214933395,
0.04665795713663101,
-0.03144178166985512,
-0.03228297084569931,
-0.025478683412075043,
-0.020487628877162933,
0.031049225479364395,
-0.017842555418610573,
-0.06381821632385254,
0.03589073568582535,
0.010327933356165886,
-0.05727563053369522,
0.001621625735424459,
0.043330587446689606,
-0.015029245987534523,
-0.04463910311460495,
0.0059724426828324795,
0.0095054367557168,
0.057425178587436676,
0.053948260843753815,
0.009094188921153545,
-0.06265924125909805,
0.008159534074366093,
-0.0014475462958216667,
-0.024843119084835052,
-0.022151313722133636,
-0.008383851498365402,
0.003348400117829442,
0.014655383303761482,
0.04325581341981888,
-0.025572149083018303,
-0.07406202703714371,
-0.011711222119629383,
0.006897750776261091,
-0.021403590217232704,
-0.026488110423088074,
0.041685592383146286,
-0.026132941246032715,
-0.05260235816240311,
0.062397539615631104,
-0.01653403975069523,
0.01509467139840126,
-0.038956403732299805,
-0.03319893032312393,
-0.0027922806330025196,
0.013702035881578922,
0.0400032140314579,
0.0260955560952425,
0.0319838784635067,
-0.0024838445242494345,
0.010440091602504253,
-0.020132459700107574,
-0.016795743256807327,
0.022151313722133636,
-0.017524773254990578,
-0.06692126393318176,
0.03600289300084114,
-0.012673916295170784,
-0.014449759386479855,
-0.04587284475564957,
-0.006874384358525276,
-0.007374424487352371,
0.01303843129426241,
-0.037778738886117935,
0.03581596165895462,
-0.009841912426054478,
0.01208508387207985,
0.016234949231147766,
-0.00011858429934363812,
0.009360565803945065,
-0.0068089584819972515,
-0.005514462012797594,
-0.028469577431678772,
0.022973809391260147,
-0.02254386804997921,
0.06983739137649536,
-0.008897911757230759,
0.03602158650755882,
0.043330587446689606,
0.052191112190485,
-0.009570863097906113,
0.02026331052184105,
0.07301521301269531,
-0.0050190952606499195,
0.0241701677441597,
0.0046499064192175865,
0.02308596856892109,
0.027684468775987625,
-0.01644057407975197,
-0.007108048070222139,
-0.003355409950017929,
-0.0008487831801176071,
-0.06351912766695023,
-0.005911690182983875,
0.018786557018756866,
-0.031853027641773224,
-0.02226347289979458,
0.0017489723395556211,
-0.07256658375263214,
0.003925549332052469,
-0.00032858949271030724,
-0.00636499747633934,
-0.04893851280212402,
-0.12973006069660187,
-0.006299572065472603,
0.04265763610601425,
0.02736668661236763,
-0.03654499351978302,
0.0073089986108243465,
0.008168880827724934,
0.023198125883936882,
0.03654499351978302,
0.03465699031949043,
-0.015692850574851036,
0.03546079620718956,
-0.04587284475564957,
-0.004804124590009451,
0.0058228978887200356,
0.03418966382741928,
0.029572470113635063,
0.014674076810479164,
-0.029834173619747162,
-0.03235774114727974,
-0.02489919774234295,
-0.004311094060540199,
-0.003114736406132579,
0.006963176652789116,
-0.020132459700107574,
0.04598500579595566,
0.02663765475153923,
0.02046893537044525,
0.04587284475564957,
-0.028525657951831818,
0.011804686859250069,
0.01644057407975197,
-0.016599465161561966,
-0.030581897124648094,
-0.02299250289797783,
0.0015375068178400397,
0.05237804353237152,
0.04691965878009796,
0.013356213457882404,
-0.06262185424566269,
-0.020394163206219673,
-0.013767462223768234,
0.0307314433157444,
-0.025702999904751778,
0.03235774114727974,
0.045050349086523056,
-0.06460332125425339,
0.009972764179110527,
0.06011698395013809,
0.0004498025227803737,
-0.02572169341146946,
0.015496572479605675,
0.020954955369234085,
-0.09226910024881363,
0.06471548229455948,
0.03491869568824768,
-0.038956403732299805,
0.02400192990899086,
0.003607766702771187,
0.014963819645345211,
-0.004607846960425377,
-0.04684488847851753,
-0.03383449465036392,
-0.014786235056817532,
-0.04901328682899475,
-0.05764949321746826,
-0.019870756193995476,
-0.0008499515242874622,
0.06456594169139862,
-0.07353862375020981,
0.043143656104803085,
0.00990733876824379,
0.009309159591794014,
-0.014356294646859169,
-0.026488110423088074,
0.06864102929830551,
-0.014917086809873581,
-0.0810532420873642,
-0.03400273248553276,
0.019216498360037804,
0.0536491721868515,
-0.022955115884542465,
0.02746015228331089,
0.026319872587919235,
0.028207875788211823,
-0.07488452643156052,
0.01399177871644497,
0.021515747532248497,
0.004916282836347818,
-0.0005683868075720966,
0.004953669384121895,
-0.02762839011847973,
-0.010169041343033314,
-0.02719844877719879,
-0.014019818976521492,
-0.026319872587919235,
-0.006509868893772364,
-0.05428473651409149,
0.014384333975613117,
-0.04564853012561798,
-0.007075334899127483,
0.06366866827011108,
-0.04665795713663101,
0.037946976721286774,
0.020618479698896408,
0.018982835114002228,
0.015393760986626148,
-0.008706307038664818,
0.030937066301703453,
-0.0015725563280284405,
-0.0037409549113363028,
0.0005368422134779394,
0.062920942902565,
0.008556762710213661,
-0.018851982429623604,
0.011028924025595188,
0.062135837972164154,
-0.08464232087135315,
-0.0033063406590372324,
0.015571345575153828,
0.040863096714019775,
-0.00545370951294899,
-0.014346947893500328,
-0.03443267568945885,
0.021590521559119225,
0.021123193204402924,
-0.013832887634634972,
0.04026491940021515,
0.0036030933260917664,
-0.018982835114002228,
-0.019253883510828018,
0.043779220432043076,
0.00007871544221416116,
0.0483403354883194,
-0.0003659756912384182,
-0.004028361290693283,
0.03589073568582535,
-0.02271210588514805,
-0.0012874866370111704,
-0.0619862899184227,
0.02217000722885132,
-0.0024768346920609474,
0.023029888048768044,
-0.0034932715352624655,
-0.02762839011847973,
-0.07252919673919678,
-0.023104660212993622,
-0.10281199961900711,
-0.023684147745370865,
-0.017964061349630356,
0.07421157509088516,
-0.03374103084206581,
0.01096349861472845,
-0.047405678778886795,
-0.009869952686131,
0.08628731220960617,
-0.027030210942029953,
-0.036862775683403015,
-0.028245260939002037,
-0.0003043469041585922,
0.031591325998306274,
0.018683744594454765,
0.058060742914676666,
0.0015573682030662894,
0.012477638199925423,
-0.006196759641170502,
0.029516391456127167,
0.0339653454720974,
-0.0037760045379400253,
0.055593255907297134,
-0.04605977609753609,
0.05002271384000778,
0.016674237325787544,
-0.0073417117819190025,
0.08725935220718384,
-0.042508091777563095,
-0.0012968332739546895,
0.020973648875951767,
0.027946172282099724,
-0.011879459954798222,
0.023328978568315506,
-0.03332978114485741,
-0.0702112540602684,
0.02345982939004898,
0.04725613445043564,
-0.0712580680847168,
0.05727563053369522,
-0.03209603950381279,
-0.004897589795291424,
-0.05230326950550079,
-0.007402464281767607,
-0.016963981091976166,
-0.05439689755439758,
0.009159615263342857,
0.03508693352341652,
0.02181483805179596,
0.06176197528839111,
-0.021758759394288063,
-0.023983236402273178,
0.010570943355560303,
0.021796144545078278,
0.00593505660071969,
-0.026955438777804375,
0.019197804853320122,
0.008467970415949821,
-0.027329299598932266,
-0.031049225479364395,
0.02736668661236763,
-0.05664006620645523,
-0.06265924125909805,
-0.03690016269683838,
-0.09720407426357269,
-0.011486904695630074,
-0.018160337582230568,
0.0839693695306778,
0.03933026269078255,
0.01598259247839451,
0.03275029733777046
] |
10,372 | fastack.app | __call__ | null | def include_controller(
self,
controller: Controller,
*,
prefix: str = "",
tags: Optional[List[str]] = None,
dependencies: Optional[Sequence[params.Depends]] = None,
default_response_class: Type[Response] = Default(JSONResponse),
responses: Optional[Dict[Union[int, str], Dict[str, Any]]] = None,
callbacks: Optional[List[BaseRoute]] = None,
routes: Optional[List[routing.BaseRoute]] = None,
redirect_slashes: bool = True,
default: Optional[ASGIApp] = None,
dependency_overrides_provider: Optional[Any] = None,
route_class: Type[APIRoute] = APIRoute,
on_startup: Optional[Sequence[Callable[[], Any]]] = None,
on_shutdown: Optional[Sequence[Callable[[], Any]]] = None,
deprecated: Optional[bool] = None,
include_in_schema: bool = True,
):
assert isinstance(
controller, Controller
), f"Controller must be an instance of {controller!r}"
router = controller.build(
prefix=prefix,
tags=tags,
dependencies=dependencies,
default_response_class=default_response_class,
responses=responses,
callbacks=callbacks,
routes=routes,
redirect_slashes=redirect_slashes,
default=default,
dependency_overrides_provider=dependency_overrides_provider,
route_class=route_class,
on_startup=on_startup,
on_shutdown=on_shutdown,
deprecated=deprecated,
include_in_schema=include_in_schema,
)
self.include_router(router)
| (self, scope: MutableMapping[str, Any], receive: Callable[[], Awaitable[MutableMapping[str, Any]]], send: Callable[[MutableMapping[str, Any]], Awaitable[NoneType]]) -> NoneType | [
-0.07744409143924713,
-0.0047568827867507935,
-0.10271532088518143,
-0.049208492040634155,
0.06458614766597748,
0.06102890893816948,
-0.030940581113100052,
0.07862983644008636,
-0.04435434192419052,
-0.011338704265654087,
0.04276099428534508,
-0.04691110923886299,
-0.03340471163392067,
0.0002051029441645369,
0.005224696826189756,
-0.034331075847148895,
-0.03425696864724159,
0.009161747060716152,
0.013015423901379108,
-0.0725158303976059,
0.0118204141035676,
0.005271015223115683,
-0.0021202173084020615,
0.024974793195724487,
-0.024585720151662827,
-0.0016107166884467006,
-0.02508595585823059,
-0.026771940290927887,
0.017072901129722595,
-0.028884051367640495,
0.028457924723625183,
0.0117926225066185,
0.02471541054546833,
-0.030292125418782234,
0.043465033173561096,
-0.037647463381290436,
0.016637509688735008,
-0.03898142650723457,
-0.019879786297678947,
0.010542030446231365,
-0.03774010017514229,
0.0022174855694174767,
0.0016894576838240027,
-0.07803696393966675,
0.07233055680990219,
0.07003317028284073,
0.026271702721714973,
0.047392819076776505,
0.02112111635506153,
-0.014905208721756935,
0.05191347748041153,
-0.04079710319638252,
-0.04164935648441315,
-0.01620211824774742,
-0.00616032537072897,
-0.0034576563630253077,
-0.040463611483573914,
0.002989842090755701,
-0.027735359966754913,
0.014052952639758587,
0.020194750279188156,
0.023122062906622887,
0.024085482582449913,
0.0010392654221504927,
0.01967598684132099,
0.03158903867006302,
-0.01676720194518566,
-0.013321124948561192,
0.001549344975501299,
-0.008508659899234772,
-0.02030591480433941,
0.003707774681970477,
0.07225644588470459,
-0.027735359966754913,
0.034331075847148895,
-0.03861088305711746,
-0.024919210001826286,
-0.030218016356229782,
-0.0007636719383299351,
0.01108858548104763,
-0.005567451938986778,
-0.05369209870696068,
-0.005409969948232174,
0.0290693249553442,
0.031440816819667816,
-0.003026896622031927,
-0.09241414070129395,
-0.029569562524557114,
0.00900889653712511,
-0.014025161974132061,
-0.04939376562833786,
-0.011264595203101635,
0.007392390631139278,
0.0057203019969165325,
-0.015146062709391117,
0.07110775262117386,
0.01956482231616974,
-0.028958160430192947,
0.030996164306998253,
0.023362917825579643,
-0.012487396597862244,
0.03453487530350685,
0.014191907830536366,
0.03625791519880295,
0.019805677235126495,
-0.0007960946531966329,
-0.01383988931775093,
0.04457667097449303,
0.006114006973803043,
0.040834154933691025,
0.028532033786177635,
-0.09300702065229416,
-0.011385022662580013,
-0.025234173983335495,
-0.04531776160001755,
-0.024233700707554817,
0.023474082350730896,
0.00012303281982894987,
0.00929143838584423,
-0.034738678485155106,
-0.07025550305843353,
-0.06825455278158188,
-0.02215864323079586,
-0.04839329421520233,
0.0508759506046772,
-0.05702701210975647,
0.004177904687821865,
0.033275019377470016,
-0.006845835130661726,
-0.02503037452697754,
0.01322848815470934,
0.030384762212634087,
-0.03229307383298874,
-0.045910634100437164,
0.037943899631500244,
0.01962040551006794,
-0.0691438615322113,
-0.0033557561691850424,
0.0012100639287382364,
0.04064888507127762,
0.012404023669660091,
0.006530871149152517,
0.021361971274018288,
0.043724413961172104,
-0.0436873584985733,
-0.04980136826634407,
0.022269807755947113,
-0.015266490168869495,
0.0008059372776187956,
0.05921323224902153,
0.03968546539545059,
0.010217802599072456,
0.029958635568618774,
0.019490713253617287,
-0.02547502890229225,
-0.02065793238580227,
0.0005433707847259939,
-0.06432676315307617,
0.04617001861333847,
-0.04750398173928261,
0.02112111635506153,
-0.026401394978165627,
0.025993794202804565,
-0.03935197368264198,
-0.026679303497076035,
0.02327028103172779,
-0.043427977710962296,
0.036128222942352295,
-0.04691110923886299,
-0.013302597217261791,
-0.013988107442855835,
-0.03425696864724159,
0.05269162356853485,
0.018536558374762535,
-0.016294755041599274,
-0.014580980874598026,
-0.03890731930732727,
-0.07796285301446915,
-0.01471993513405323,
0.020176224410533905,
0.025715883821249008,
0.022677408531308174,
-0.015998318791389465,
-0.013154379092156887,
0.012950578704476357,
-0.0061371661722660065,
0.026419920846819878,
0.02647550404071808,
0.05061656981706619,
0.010467921383678913,
0.03738807886838913,
0.00525711989030242,
0.02719806879758835,
0.03490542247891426,
-0.046355292201042175,
-0.017952948808670044,
0.02901374362409115,
-0.034664567559957504,
0.027401868253946304,
0.0026308756787329912,
-0.013154379092156887,
0.032496873289346695,
0.022714462131261826,
0.02440044656395912,
0.10256709903478622,
0.07403507083654404,
-0.00661887601017952,
-0.026401394978165627,
-0.004157061688601971,
-0.05191347748041153,
-0.036480244249105453,
-0.03887026384472847,
-0.07900038361549377,
-0.017017319798469543,
-0.022380972281098366,
0.03342323750257492,
0.0047429874539375305,
0.0037239862140268087,
0.008670773357152939,
-0.0835951492190361,
0.01884225755929947,
0.12450341880321503,
-0.04383557662367821,
-0.0616958886384964,
-0.03968546539545059,
-0.015331336297094822,
0.02323322743177414,
-0.030218016356229782,
-0.03186694532632828,
-0.022770045325160027,
0.03946313634514809,
-0.023770518600940704,
-0.04068593680858612,
0.016387391835451126,
-0.00308247865177691,
0.021621352061629295,
0.017869574949145317,
0.05561893805861473,
0.024196647107601166,
-0.023863155394792557,
0.04820802062749863,
0.039018481969833374,
0.06099185347557068,
-0.04554009065032005,
-0.0400560088455677,
-0.008499396033585072,
-0.0688474252820015,
0.0081705367192626,
0.014043688774108887,
0.007837045937776566,
0.0006357177626341581,
-0.01960187777876854,
0.024622773751616478,
-0.012274332344532013,
-0.023789046332240105,
0.0545073002576828,
0.024437502026557922,
-0.04605885222554207,
-0.02365935407578945,
0.02252919040620327,
-0.043798524886369705,
0.02945839799940586,
0.06340040266513824,
0.01685057394206524,
-0.02286268211901188,
-0.020120641216635704,
0.02104700542986393,
0.027105432003736496,
0.021880734711885452,
0.006234434433281422,
0.035813260823488235,
0.043724413961172104,
0.01324701588600874,
-0.0009402601863257587,
0.0272721778601408,
-0.032218966633081436,
0.029217543080449104,
0.006943103391677141,
-0.00011080190597567707,
0.016739411279559135,
-0.051061224192380905,
-0.07040371745824814,
0.0031658513471484184,
-0.011514713056385517,
0.012283596210181713,
-0.03805506229400635,
0.02469688281416893,
0.04516954347491264,
0.0030384762212634087,
-0.027031322941184044,
0.056804683059453964,
0.002820780500769615,
-0.020898787304759026,
-0.01956482231616974,
-0.06940324604511261,
-0.03594294935464859,
-0.09256236255168915,
0.005567451938986778,
0.03368262201547623,
-0.004905101377516985,
-0.002306648064404726,
-0.013589770533144474,
-0.011051530949771404,
0.007137639913707972,
0.0154239721596241,
-0.017758412286639214,
0.026253176853060722,
-0.019527768716216087,
-0.0508018396794796,
0.026419920846819878,
-0.05376620963215828,
0.053284499794244766,
0.014404971152544022,
-0.01653560996055603,
-0.050357185304164886,
-0.03746218979358673,
0.022251280024647713,
0.002686457708477974,
0.03879615291953087,
0.026734884828329086,
0.019898314028978348,
0.0764806717634201,
-0.04768925532698631,
0.061621781438589096,
-0.006637403275817633,
0.008925523608922958,
0.022714462131261826,
0.018240122124552727,
-0.011209012940526009,
-0.06403032690286636,
-0.026975739747285843,
-0.03809211775660515,
-0.09263647347688675,
0.0035294494591653347,
-0.027420395985245705,
-0.024548664689064026,
0.011477658525109291,
-0.08781937509775162,
-0.033608511090278625,
0.06966262310743332,
0.02501184679567814,
-0.015896419063210487,
-0.026808995753526688,
0.02065793238580227,
-0.01711921952664852,
-0.020157696679234505,
0.06936618685722351,
0.009309965185821056,
-0.006378021091222763,
-0.04972725734114647,
-0.05532250180840492,
0.006442866753786802,
0.065512515604496,
0.005437761079519987,
-0.0006721934187225997,
-0.05858330428600311,
-0.0035502926912158728,
-0.009411865845322609,
-0.0019071534043177962,
-0.0006467183702625334,
-0.027531558647751808,
0.027235122397542,
-0.020583823323249817,
0.06706880778074265,
-0.031792838126420975,
0.05862035974860191,
-0.037221334874629974,
-0.06810633093118668,
-0.051357660442590714,
-0.013543452136218548,
0.03053298033773899,
-0.03968546539545059,
0.006688353139907122,
0.020046532154083252,
0.03629497066140175,
0.036128222942352295,
-0.007545240689069033,
-0.014868153259158134,
-0.026734884828329086,
0.006669825874269009,
-0.007179326377809048,
0.03603558614850044,
0.020787624642252922,
-0.043613251298666,
-0.0074989222921431065,
-0.043390922248363495,
0.016998792067170143,
-0.0012285911943763494,
-0.1274677813053131,
-0.00793431419879198,
0.024808047339320183,
-0.025864101946353912,
-0.04176052287220955,
-0.04138997569680214,
-0.028439396992325783,
-0.06599422544240952,
-0.01833275705575943,
-0.012765306048095226,
0.05750872194766998,
0.0011290069669485092,
0.101900115609169,
-0.051802314817905426,
0.06254814565181732,
0.04835623875260353,
0.03414580225944519,
0.017424920573830605,
0.02758714184165001,
-0.01801779307425022,
0.016813520342111588,
0.001269119675271213,
-0.032923001796007156,
0.03525744006037712,
-0.06002843379974365,
0.08470679074525833,
-0.015071953646838665,
0.006831939797848463,
0.042649831622838974,
-0.003823570441454649,
-0.048170965164899826,
0.02797621488571167,
0.023900208994746208,
-0.008531819097697735,
0.05550777539610863,
0.05409969761967659,
0.03277478367090225,
0.037221334874629974,
-0.0017473554471507668,
-0.06673531234264374,
0.0041153752245008945,
-0.031144382432103157,
0.03460898622870445,
-0.005548924673348665,
-0.008351177908480167,
0.005873152520507574,
-0.009360915049910545,
-0.032070744782686234,
0.028809942305088043,
-0.028606142848730087,
0.06821750104427338,
0.002480341587215662,
0.0015377653762698174,
-0.028235595673322678,
-0.006438234820961952,
0.005576715804636478,
-0.10390106588602066,
-0.005150587763637304,
-0.005975052248686552,
-0.022807098925113678,
0.004335386678576469,
-0.013728724792599678,
0.017165537923574448,
-0.0618441067636013,
-0.018619930371642113,
0.05702701210975647,
0.0009946840582415462,
-0.03240423649549484,
0.03673962503671646,
-0.009689775295555592,
-0.02149166166782379,
-0.05054245889186859,
0.055693045258522034,
-0.03016243502497673,
0.026623722165822983,
0.002804569201543927,
0.0154424998909235,
0.07555430382490158,
0.02215864323079586,
0.0016327177872881293,
-0.03912964463233948,
-0.00272814417257905,
0.055026065558195114,
-0.03857382759451866,
-0.0025011848192662,
-0.0018492555245757103,
0.04038950055837631,
0.06258519738912582,
0.037258390337228775,
0.014358652755618095,
-0.03164462000131607,
0.012691196985542774,
-0.010078848339617252,
0.018823731690645218,
-0.017915893346071243,
-0.0007549872389063239,
0.00440718000754714,
0.006711512338370085,
-0.009865784086287022,
0.02797621488571167,
0.046355292201042175,
0.014960790053009987,
0.020176224410533905,
0.04498426988720894,
-0.045243654400110245,
-0.021880734711885452,
0.008082532323896885,
0.0108847850933671,
0.043465033173561096,
0.0057573565281927586,
-0.009763884358108044,
0.01474772673100233,
0.03340471163392067,
-0.05220991373062134,
-0.010921839624643326,
0.023140590637922287,
-0.021639879792928696,
-0.04542892426252365,
-0.048541512340307236,
0.013728724792599678,
-0.030884999781847,
0.015007108449935913,
-0.01128312200307846,
0.06328924000263214,
0.020046532154083252,
0.009949157014489174,
-0.006642035208642483,
-0.02291826345026493,
-0.051431767642498016,
0.07329397648572922,
0.014997844584286213,
-0.025604721158742905,
-0.004483605269342661,
-0.03586884215474129,
0.0765547826886177,
0.010440130718052387,
-0.012802360579371452,
0.06314101815223694,
0.016637509688735008,
-0.05224696919322014,
-0.030736781656742096,
0.05280278995633125,
-0.05220991373062134,
0.057212285697460175,
-0.006901416927576065,
0.025901157408952713,
-0.035405658185482025,
-0.008017686195671558,
0.02755008637905121,
0.005437761079519987,
0.01866624876856804,
-0.020843205973505974,
0.06414148956537247,
0.04931965842843056,
0.003578083822503686,
0.019842732697725296,
0.04101942852139473,
-0.04420612379908562,
-0.0163596011698246,
-0.016137273982167244,
-0.011644404381513596,
-0.04190874099731445,
-0.07007022947072983,
-0.005785147659480572,
-0.011672195047140121,
0.053543880581855774,
0.033645566552877426,
0.07062604278326035,
-0.0024317074567079544,
-0.022770045325160027,
0.023122062906622887,
0.04546597972512245,
0.04824507609009743,
-0.010115902870893478,
-0.04976431280374527,
0.003837465774267912,
0.029569562524557114,
0.05639708414673805,
0.0308664720505476,
-0.043724413961172104,
-0.024622773751616478,
-0.014367916621267796,
0.02138049714267254,
-0.013367442414164543,
-0.02141755260527134,
-0.016100218519568443,
-0.030273599550127983,
0.06417854875326157,
0.009532293304800987,
0.018768148496747017,
0.021676935255527496,
-0.06062130630016327,
-0.03418285772204399,
-0.022362444549798965,
0.056804683059453964,
-0.03861088305711746,
0.05917617678642273,
0.00023448606953024864,
-0.019138695672154427,
0.026605194434523582,
0.028161486610770226,
-0.053284499794244766,
-0.02291826345026493,
0.0038860999047756195,
-0.027179541066288948,
-0.040908265858888626,
0.047429874539375305,
0.030644144862890244,
-0.043724413961172104,
0.007137639913707972,
0.07388684898614883,
0.01161661371588707,
0.014201170764863491,
-0.02256624400615692,
0.051394715905189514,
0.01653560996055603,
0.024585720151662827,
0.014840362593531609,
-0.0008655720157548785,
-0.005067214835435152,
-0.021713988855481148,
-0.02614201232790947,
-0.013756516389548779,
-0.03812917321920395,
-0.013673143461346626,
-0.0031102695502340794,
0.019064586609601974,
-0.042353395372629166,
-0.02075056917965412,
-0.042649831622838974,
0.08018612861633301,
-0.016257701441645622,
0.08026023954153061,
-0.02767977863550186,
0.016461500898003578,
0.029958635568618774,
-0.014664353802800179,
0.06314101815223694,
0.026308758184313774,
-0.009828729555010796,
-0.007137639913707972,
0.036813732236623764,
0.061769999563694,
-0.003520185826346278,
0.01109784934669733,
0.0069755264557898045,
0.005937997717410326,
-0.037258390337228775,
0.05535955727100372,
0.01963893137872219,
-0.004629507660865784,
-0.023159118369221687,
-0.020935842767357826,
-0.049949586391448975,
-0.029921580106019974,
0.005752725061029196,
0.039833683520555496,
0.004946787375956774,
-0.02575293928384781,
-0.029569562524557114,
-0.007508186157792807,
-0.013969579711556435,
0.01471993513405323,
0.02141755260527134,
-0.101900115609169,
0.006146430037915707,
0.020176224410533905,
0.022269807755947113,
0.08070489764213562,
0.0033974426332861185,
0.028402341529726982,
0.03453487530350685,
-0.004511395934969187,
-0.013200697489082813,
0.08626308292150497,
-0.02391873672604561,
0.024900684133172035,
0.01889784075319767,
0.020991424098610878,
-0.05495195463299751,
0.006586452946066856,
-0.035127751529216766,
0.018656985834240913,
-0.006586452946066856,
-0.03546123951673508,
0.004566978197544813,
0.01993536949157715,
-0.008869942277669907,
-0.03598000481724739,
-0.003707774681970477,
0.04613296315073967,
-0.05547071993350983,
0.016526347026228905,
0.015386917628347874,
0.009902838617563248,
-0.003971788566559553,
0.028439396992325783,
-0.04554009065032005,
0.021899262443184853,
-0.03240423649549484,
0.02475246600806713,
-0.031792838126420975,
0.04024128243327141,
0.017702829092741013,
0.01614653691649437,
-0.0036475611850619316,
-0.05057951435446739,
0.009356283582746983,
0.0034344971645623446,
-0.06069541722536087,
0.00037228281144052744,
0.02110258862376213,
0.03340471163392067,
0.010060320608317852,
0.0033719674684107304,
0.0163225457072258,
-0.04298332333564758,
0.026327285915613174,
0.037610407918691635,
-0.06299280375242233,
0.02397431805729866,
-0.040500666946172714,
0.06480847299098969,
0.053210388869047165,
0.01696173846721649,
-0.002783725969493389,
0.006479921285063028,
-0.002119059208780527,
0.019157221540808678,
-0.027031322941184044,
0.065512515604496,
-0.016989529132843018,
-0.03407169505953789,
0.03916670009493828,
-0.02184367924928665,
0.0034507084637880325,
0.04787452891469002,
-0.040093064308166504,
0.005169115029275417,
-0.004247382283210754,
-0.022714462131261826,
0.0000835175669635646,
0.057212285697460175,
-0.002556766616180539,
-0.04109353944659233,
0.006790253333747387,
0.05665646493434906,
-0.04424317926168442,
-0.036517295986413956,
-0.005854624789208174,
0.013209960423409939,
-0.03785126283764839,
-0.014664353802800179,
-0.016915420070290565,
0.01833275705575943,
-0.03644318878650665,
0.06621655076742172,
-0.016035372391343117,
0.06580895185470581,
-0.020435605198144913,
0.030310653150081635,
0.04465077817440033,
-0.024548664689064026,
0.0056137703359127045,
-0.0047059329226613045,
-0.011301649734377861,
0.03310827538371086,
-0.027327759191393852,
-0.039796628057956696,
0.0290693249553442,
-0.006674457807093859,
-0.053284499794244766,
-0.044132016599178314,
-0.10301175713539124,
0.018925631418824196,
0.0033742834348231554,
0.06454909592866898,
0.057175230234861374,
0.03199663758277893,
0.004219591151922941
] |
10,373 | fastapi.applications | __init__ | null | def __init__(
self,
*,
debug: bool = False,
routes: Optional[List[BaseRoute]] = None,
title: str = "FastAPI",
description: str = "",
version: str = "0.1.0",
openapi_url: Optional[str] = "/openapi.json",
openapi_tags: Optional[List[Dict[str, Any]]] = None,
servers: Optional[List[Dict[str, Union[str, Any]]]] = None,
dependencies: Optional[Sequence[Depends]] = None,
default_response_class: Type[Response] = Default(JSONResponse),
docs_url: Optional[str] = "/docs",
redoc_url: Optional[str] = "/redoc",
swagger_ui_oauth2_redirect_url: Optional[str] = "/docs/oauth2-redirect",
swagger_ui_init_oauth: Optional[Dict[str, Any]] = None,
middleware: Optional[Sequence[Middleware]] = None,
exception_handlers: Optional[
Dict[
Union[int, Type[Exception]],
Callable[[Request, Any], Coroutine[Any, Any, Response]],
]
] = None,
on_startup: Optional[Sequence[Callable[[], Any]]] = None,
on_shutdown: Optional[Sequence[Callable[[], Any]]] = None,
terms_of_service: Optional[str] = None,
contact: Optional[Dict[str, Union[str, Any]]] = None,
license_info: Optional[Dict[str, Union[str, Any]]] = None,
openapi_prefix: str = "",
root_path: str = "",
root_path_in_servers: bool = True,
responses: Optional[Dict[Union[int, str], Dict[str, Any]]] = None,
callbacks: Optional[List[BaseRoute]] = None,
deprecated: Optional[bool] = None,
include_in_schema: bool = True,
**extra: Any,
) -> None:
self._debug: bool = debug
self.state: State = State()
self.router: routing.APIRouter = routing.APIRouter(
routes=routes,
dependency_overrides_provider=self,
on_startup=on_startup,
on_shutdown=on_shutdown,
default_response_class=default_response_class,
dependencies=dependencies,
callbacks=callbacks,
deprecated=deprecated,
include_in_schema=include_in_schema,
responses=responses,
)
self.exception_handlers: Dict[
Union[int, Type[Exception]],
Callable[[Request, Any], Coroutine[Any, Any, Response]],
] = (
{} if exception_handlers is None else dict(exception_handlers)
)
self.exception_handlers.setdefault(HTTPException, http_exception_handler)
self.exception_handlers.setdefault(
RequestValidationError, request_validation_exception_handler
)
self.user_middleware: List[Middleware] = (
[] if middleware is None else list(middleware)
)
self.middleware_stack: ASGIApp = self.build_middleware_stack()
self.title = title
self.description = description
self.version = version
self.terms_of_service = terms_of_service
self.contact = contact
self.license_info = license_info
self.servers = servers or []
self.openapi_url = openapi_url
self.openapi_tags = openapi_tags
# TODO: remove when discarding the openapi_prefix parameter
if openapi_prefix:
logger.warning(
'"openapi_prefix" has been deprecated in favor of "root_path", which '
"follows more closely the ASGI standard, is simpler, and more "
"automatic. Check the docs at "
"https://fastapi.tiangolo.com/advanced/sub-applications/"
)
self.root_path = root_path or openapi_prefix
self.root_path_in_servers = root_path_in_servers
self.docs_url = docs_url
self.redoc_url = redoc_url
self.swagger_ui_oauth2_redirect_url = swagger_ui_oauth2_redirect_url
self.swagger_ui_init_oauth = swagger_ui_init_oauth
self.extra = extra
self.dependency_overrides: Dict[Callable[..., Any], Callable[..., Any]] = {}
self.openapi_version = "3.0.2"
if self.openapi_url:
assert self.title, "A title must be provided for OpenAPI, e.g.: 'My API'"
assert self.version, "A version must be provided for OpenAPI, e.g.: '2.1.0'"
self.openapi_schema: Optional[Dict[str, Any]] = None
self.setup()
| (self, *, debug: bool = False, routes: Optional[List[starlette.routing.BaseRoute]] = None, title: str = 'FastAPI', description: str = '', version: str = '0.1.0', openapi_url: Optional[str] = '/openapi.json', openapi_tags: Optional[List[Dict[str, Any]]] = None, servers: Optional[List[Dict[str, Union[Any, str]]]] = None, dependencies: Optional[Sequence[fastapi.params.Depends]] = None, default_response_class: Type[starlette.responses.Response] = <fastapi.datastructures.DefaultPlaceholder object at 0x7f52c41fb3a0>, docs_url: Optional[str] = '/docs', redoc_url: Optional[str] = '/redoc', swagger_ui_oauth2_redirect_url: Optional[str] = '/docs/oauth2-redirect', swagger_ui_init_oauth: Optional[Dict[str, Any]] = None, middleware: Optional[Sequence[starlette.middleware.Middleware]] = None, exception_handlers: Optional[Dict[Union[int, Type[Exception]], Callable[[starlette.requests.Request, Any], Coroutine[Any, Any, starlette.responses.Response]]]] = None, on_startup: Optional[Sequence[Callable[[], Any]]] = None, on_shutdown: Optional[Sequence[Callable[[], Any]]] = None, terms_of_service: Optional[str] = None, contact: Optional[Dict[str, Union[Any, str]]] = None, license_info: Optional[Dict[str, Union[Any, str]]] = None, openapi_prefix: str = '', root_path: str = '', root_path_in_servers: bool = True, responses: Optional[Dict[Union[int, str], Dict[str, Any]]] = None, callbacks: Optional[List[starlette.routing.BaseRoute]] = None, deprecated: Optional[bool] = None, include_in_schema: bool = True, **extra: Any) -> NoneType | [
-0.027285022661089897,
-0.05380091071128845,
-0.04403291270136833,
-0.013392542488873005,
0.03201519697904587,
-0.0034514879807829857,
-0.007191400974988937,
0.04037952423095703,
-0.09675703197717667,
-0.006556865759193897,
0.019295644015073776,
0.0016199881210923195,
0.009296905249357224,
0.021574202924966812,
0.024343084543943405,
0.046801794320344925,
0.02461228147149086,
-0.0004167142906226218,
0.04257155582308769,
-0.044994328171014786,
0.014978880994021893,
0.014978880994021893,
-0.004956106189638376,
0.011383180506527424,
0.0025621771346777678,
0.037764471024274826,
-0.01375788077712059,
-0.007835551165044308,
0.06456878036260605,
-0.04107174649834633,
-0.004369641654193401,
0.002735232235863805,
0.046417225152254105,
0.04364834353327751,
0.035380154848098755,
-0.024112345650792122,
0.00688374787569046,
0.016901716589927673,
-0.09083470702171326,
0.010556361638009548,
-0.00537912966683507,
-0.017334353178739548,
-0.03957193344831467,
-0.04549426585435867,
0.047878582030534744,
0.041340943425893784,
-0.004881596192717552,
0.06545329093933105,
-0.01139279454946518,
-0.012527267448604107,
0.008340294472873211,
-0.03420722484588623,
0.009892983362078667,
0.03618774563074112,
0.027400393038988113,
0.05380091071128845,
-0.005407972261309624,
0.03455333784222603,
0.029092486947774887,
-0.02063201554119587,
-0.024035431444644928,
0.04837851598858833,
0.01739203929901123,
0.006143456324934959,
0.03434182330965996,
0.022035684436559677,
-0.05391627922654152,
-0.0003289849846623838,
0.008994058705866337,
0.02118963748216629,
0.021055039018392563,
-0.010344849899411201,
-0.008902723900973797,
-0.0023194190580397844,
0.05199344456195831,
-0.010181409306824207,
-0.00852296408265829,
-0.04618648439645767,
-0.0029227084014564753,
-0.0481477752327919,
0.03334195166826248,
-0.005018597934395075,
-0.06418421864509583,
-0.007667302619665861,
0.03912968188524246,
-0.007503862027078867,
0.014257818460464478,
-0.03443796560168266,
-0.023823920637369156,
0.015267306007444859,
-0.06964506953954697,
0.013632897287607193,
-0.030707668513059616,
0.04272538423538208,
0.01546920370310545,
-0.02009362168610096,
-0.030842266976833344,
-0.04995524138212204,
0.0049320706166327,
-0.005311830434948206,
-0.03401494398713112,
0.0069895037449896336,
-0.0575312077999115,
0.052762579172849655,
0.014978880994021893,
-0.06137687712907791,
-0.013517526909708977,
0.004460975993424654,
0.03074612468481064,
-0.03209210932254791,
-0.06503026187419891,
-0.029592422768473625,
-0.0037855806294828653,
0.004746997728943825,
-0.05737738311290741,
0.029573194682598114,
0.032649729400873184,
0.010594818741083145,
0.041033290326595306,
-0.02459305338561535,
-0.025054534897208214,
-0.011960030533373356,
-0.02368932217359543,
-0.023054786026477814,
0.059492502361536026,
0.025996722280979156,
-0.0019144221441820264,
0.012681093998253345,
0.011565850116312504,
-0.04741710051894188,
-0.005460849963128567,
0.034284140914678574,
-0.0314575731754303,
0.03578395023941994,
0.01609412580728531,
-0.017488179728388786,
-0.0011500953696668148,
0.03909122571349144,
-0.07110641896724701,
0.04718635976314545,
-0.04022569954395294,
0.00601366488263011,
-0.006777992006391287,
-0.05776194855570793,
-0.01420013327151537,
-0.01511347945779562,
-0.0054656569845974445,
-0.051493510603904724,
-0.009609365835785866,
0.048224691301584244,
0.06776069104671478,
-0.029400140047073364,
0.004415309056639671,
0.03238053247332573,
-0.055146895349025726,
-0.008965215645730495,
-0.01519039273262024,
-0.03597623482346535,
0.043148405849933624,
0.00498494878411293,
-0.030669210478663445,
-0.022862503305077553,
0.0314575731754303,
-0.07945152372121811,
-0.026688942685723305,
0.01304643228650093,
-0.01241189707070589,
-0.017161298543214798,
0.01770930550992489,
0.056377507746219635,
-0.028477178886532784,
0.014748141169548035,
-0.05960787087678909,
0.0043888697400689125,
-0.013930936343967915,
0.06006935238838196,
0.018055416643619537,
-0.00511954678222537,
-0.015459589660167694,
-0.01420013327151537,
0.027458077296614647,
-0.03401494398713112,
-0.07156790047883987,
-0.03524555638432503,
-0.0040259347297251225,
0.06368427723646164,
-0.004936877638101578,
0.04864771291613579,
0.018334226682782173,
0.06318434327840805,
-0.0010179005330428481,
-0.004710944835096598,
0.07998991757631302,
-0.018055416643619537,
-0.018334226682782173,
0.022420251742005348,
0.0018471229122951627,
-0.01131588127464056,
0.07795171439647675,
-0.03182291239500046,
-0.0032447832636535168,
0.029457826167345047,
0.02659280225634575,
0.0012047759955748916,
-0.001136875944212079,
0.027400393038988113,
0.015228849835693836,
-0.020362818613648415,
-0.017882362008094788,
-0.009378625079989433,
-0.03170754015445709,
-0.011162054724991322,
-0.03588009253144264,
-0.018497668206691742,
0.021439604461193085,
-0.0046244170516729355,
0.034668706357479095,
-0.013642511330544949,
0.012517652474343777,
0.0026919683441519737,
0.07049111276865005,
0.06372273713350296,
-0.021285777911543846,
-0.053647082298994064,
-0.019997479394078255,
0.03595700487494469,
0.021324235945940018,
0.00380480894818902,
-0.010988999158143997,
-0.00841240119189024,
-0.012796463444828987,
-0.03653385490179062,
0.022189510986208916,
0.02809261344373226,
-0.005364708602428436,
-0.014988495036959648,
0.03984113037586212,
0.04764784127473831,
-0.0009662243537604809,
-0.04937839135527611,
0.0716063603758812,
0.0106044327840209,
0.04376371577382088,
-0.05630059540271759,
-0.052608754485845566,
-0.007705759257078171,
-0.045186612755060196,
-0.04195624962449074,
0.010287164710462093,
-0.04022569954395294,
0.005893487948924303,
-0.015507660806179047,
-0.013036818243563175,
-0.009546873159706593,
-0.020401274785399437,
-0.06710692495107651,
0.009825684130191803,
-0.0478016659617424,
-0.004256675019860268,
-0.010710188187658787,
-0.029553966596722603,
0.02549678646028042,
-0.0364953987300396,
0.09744925796985626,
-0.028284896165132523,
-0.011488936841487885,
0.05122431367635727,
-0.03934119641780853,
-0.017978502437472343,
-0.001800253870896995,
0.05826188623905182,
0.04307149350643158,
-0.01366173941642046,
0.02224719524383545,
-0.020766614004969597,
-0.0424177311360836,
-0.03153448551893234,
-0.059261761605739594,
-0.011200510896742344,
0.007523090112954378,
0.00683086970821023,
-0.04699407517910004,
0.05195498839020729,
0.03543784096837044,
0.04580191895365715,
-0.030899951234459877,
-0.008282610215246677,
0.09383432567119598,
-0.01825731433928013,
-0.04634031280875206,
0.05230110138654709,
0.04684025049209595,
-0.002386718289926648,
0.009143078699707985,
-0.007090452592819929,
0.025266045704483986,
-0.08637373149394989,
0.0742214098572731,
0.03438028320670128,
-0.08598916232585907,
-0.007244279142469168,
0.026919683441519737,
0.024843022227287292,
-0.0016416199505329132,
0.04430210962891579,
-0.01591145619750023,
0.032303620129823685,
-0.009359396994113922,
0.025996722280979156,
0.042994581162929535,
0.0029803935904055834,
0.0026775470469146967,
0.0220741406083107,
0.018045801669359207,
-0.059838611632585526,
-0.013594440184533596,
-0.0026318798772990704,
0.02224719524383545,
0.010440991260111332,
0.059492502361536026,
-0.03530324250459671,
0.05714664235711098,
0.005460849963128567,
-0.01628640852868557,
0.0358031801879406,
0.00040409568464383483,
0.04857080057263374,
-0.02097812481224537,
-0.015315377153456211,
-0.008811389096081257,
-0.02461228147149086,
-0.027285022661089897,
-0.0020790649577975273,
0.013671353459358215,
-0.01993979513645172,
-0.01809387281537056,
-0.0038336513098329306,
-0.06026163324713707,
-0.018190015107393265,
-0.00885946024209261,
0.005254145245999098,
0.024573825299739838,
-0.023766234517097473,
0.004348009824752808,
-0.06372273713350296,
-0.06772223114967346,
0.05591602995991707,
-0.03563012555241585,
0.020535873249173164,
-0.06749149411916733,
0.0007204620633274317,
-0.0036581926979124546,
0.03366883471608162,
0.06499180942773819,
0.06206909939646721,
-0.08783508092164993,
-0.030707668513059616,
-0.01917066052556038,
0.02840026654303074,
-0.018786093220114708,
-0.03887971490621567,
-0.02732347883284092,
-0.0762980729341507,
0.04199470579624176,
-0.012334983795881271,
-0.006965468171983957,
-0.010796716436743736,
-0.027804188430309296,
-0.013296401128172874,
-0.051108941435813904,
0.0024588247761130333,
-0.019862880930304527,
-0.03389957174658775,
-0.04630185663700104,
0.020555101335048676,
0.015680715441703796,
-0.028900202363729477,
0.00008299735054606572,
-0.09791073203086853,
0.03439950942993164,
0.021977998316287994,
0.0695296972990036,
0.002893866039812565,
-0.0025165097322314978,
0.014680841937661171,
-0.06956815719604492,
-0.011287039145827293,
0.002622265601530671,
0.018190015107393265,
0.009811263531446457,
0.03216902166604996,
-0.01394055038690567,
-0.051685791462659836,
0.03309198096394539,
0.026823541149497032,
-0.03020773082971573,
0.012729165144264698,
0.04199470579624176,
0.045532722026109695,
-0.03895662724971771,
0.05410856381058693,
-0.032322850078344345,
0.0975261703133583,
0.023285526782274246,
0.048801541328430176,
0.02932322770357132,
0.09583407640457153,
0.047494012862443924,
0.01167160551995039,
0.08122052997350693,
-0.038091354072093964,
-0.02153574675321579,
-0.07545202970504761,
0.0016163827385753393,
-0.02626591920852661,
-0.015055794268846512,
0.04184088110923767,
0.10306393355131149,
0.02588135376572609,
0.01993979513645172,
0.03532247245311737,
0.03909122571349144,
0.046801794320344925,
0.024535369127988815,
-0.007672109641134739,
0.02734270691871643,
-0.027611903846263885,
-0.0006753956549800932,
-0.020670471712946892,
-0.013219487853348255,
0.022497164085507393,
0.031592171639204025,
-0.04022569954395294,
-0.04287920892238617,
-0.0010419359896332026,
-0.024170029908418655,
0.015171164646744728,
-0.04360988736152649,
0.026208234950900078,
0.04037952423095703,
0.052224185317754745,
-0.03551475331187248,
0.038668204098939896,
0.00804225541651249,
0.022227967157959938,
0.03186136856675148,
-0.028169525787234306,
0.03493790328502655,
0.10721725225448608,
-0.017286282032728195,
-0.012200385332107544,
-0.018516896292567253,
-0.013729038648307323,
0.006008857861161232,
-0.08637373149394989,
-0.06499180942773819,
0.025746755301952362,
0.01918988861143589,
-0.04564809054136276,
-0.013007976114749908,
0.03172677010297775,
-0.03003467619419098,
-0.0041461121290922165,
-0.013623282313346863,
-0.022670218721032143,
0.045340437442064285,
0.06672235578298569,
-0.0029972183983772993,
-0.049339935183525085,
-0.020555101335048676,
0.02641974575817585,
-0.034649480134248734,
-0.0030116396956145763,
-0.015488432720303535,
0.02138192020356655,
-0.004052373580634594,
0.035053275525569916,
-0.043725255876779556,
-0.03416876867413521,
-0.05245492607355118,
0.03578395023941994,
-0.018766865134239197,
0.0016308040358126163,
0.018593810498714447,
-0.0027472497895359993,
-0.05714664235711098,
0.00344187393784523,
-0.029784707352519035,
-0.015709558501839638,
-0.03605314716696739,
-0.016699818894267082,
0.012536881491541862,
-0.013796337880194187,
-0.006936625577509403,
0.013613668270409107,
0.03868743032217026,
0.006518409121781588,
-0.016421006992459297,
-0.006008857861161232,
-0.0215549748390913,
0.017651621252298355,
-0.0212088655680418,
0.000857464037835598,
0.012690708041191101,
0.006479952484369278,
0.005480078514665365,
-0.10321775823831558,
-0.05460850149393082,
-0.026727400720119476,
-0.025823667645454407,
-0.051339682191610336,
0.004311956465244293,
0.005100318696349859,
0.0041989898309111595,
-0.0033457321114838123,
0.03461102023720741,
-0.013796337880194187,
0.036995336413383484,
0.006653007585555315,
-0.015123093500733376,
0.02695813961327076,
0.0018951938254758716,
0.05933867394924164,
-0.013902094215154648,
0.019334102049469948,
-0.005100318696349859,
0.03132297471165657,
-0.0017690077656880021,
0.0528394915163517,
0.05157042294740677,
-0.02840026654303074,
0.00035001596552319825,
-0.0014301082119345665,
0.025554470717906952,
0.014671227894723415,
-0.006282861810177565,
0.0013964585959911346,
-0.01338292844593525,
0.00796534214168787,
-0.020401274785399437,
0.041725508868694305,
0.0662224218249321,
-0.04564809054136276,
-0.03061152622103691,
-0.03926428034901619,
-0.0862198993563652,
0.004405694548040628,
0.026573574170470238,
0.016574833542108536,
-0.03714916482567787,
-0.05210881680250168,
-0.0005341874784789979,
0.08114361763000488,
0.03643771633505821,
-0.05430084839463234,
0.008643141016364098,
0.02661203034222126,
0.019670598208904266,
0.04591728746891022,
0.01940140128135681,
-0.03409185633063316,
0.0369376502931118,
-0.06752994656562805,
-0.02932322770357132,
-0.010988999158143997,
0.0491861067712307,
0.018536124378442764,
0.017863132059574127,
0.002188425976783037,
-0.002925112145021558,
-0.011710062623023987,
-0.03095763549208641,
0.004783051088452339,
-0.003667806973680854,
-0.04303303733468056,
0.042456187307834625,
-0.00003192205622326583,
0.058761823922395706,
0.024323856458067894,
-0.051147397607564926,
0.06887593120336533,
0.004028338473290205,
-0.018593810498714447,
-0.08229731768369675,
-0.014190519228577614,
-0.0481477752327919,
0.04995524138212204,
0.04599420353770256,
0.03353423625230789,
-0.0651840940117836,
-0.05160887911915779,
-0.02768881805241108,
0.0010004749055951834,
-0.021420376375317574,
-0.042648471891880035,
0.07445215433835983,
-0.06322280317544937,
-0.03528401255607605,
0.06068465858697891,
0.020055163651704788,
-0.03313044086098671,
0.07399067282676697,
0.03234207630157471,
-0.08668138086795807,
0.020881982520222664,
0.029630880802869797,
-0.016430621966719627,
0.017238210886716843,
-0.002105503808706999,
0.003352942643687129,
0.01366173941642046,
-0.009710314683616161,
-0.00996028259396553,
-0.03368806093931198,
-0.06687618792057037,
-0.020382046699523926,
-0.008431629277765751,
0.06172299012541771,
0.06833753734827042,
-0.08514311164617538,
0.02151651866734028,
-0.0186418816447258,
0.010306392796337605,
0.003083745948970318,
-0.09106544405221939,
0.0347648486495018,
0.04599420353770256,
-0.07899004220962524,
-0.029611652716994286,
-0.004254271276295185,
0.07529819756746292,
-0.023823920637369156,
-0.018911078572273254,
0.0008340294589288533,
0.053300973027944565,
-0.018757250159978867,
0.04230235889554024,
0.00833548791706562,
0.009753578342497349,
0.0427638404071331,
0.014113605953752995,
-0.03805289417505264,
-0.015411518514156342,
0.016911329701542854,
-0.010344849899411201,
0.03203442320227623,
-0.025804439559578896,
-0.04630185663700104,
0.0636073648929596,
-0.016911329701542854,
-0.04376371577382088,
0.04983987286686897,
-0.059492502361536026,
-0.008729669265449047,
-0.02026667632162571,
0.0035019624046981335,
-0.027419621124863625,
-0.03113069199025631,
0.006878940388560295,
0.017238210886716843,
-0.013007976114749908,
-0.025554470717906952,
0.09706468880176544,
-0.036995336413383484,
-0.04022569954395294,
0.005326251499354839,
0.048801541328430176,
-0.08122052997350693,
0.005600255448371172,
0.04453284665942192,
0.020555101335048676,
-0.01611335389316082,
0.04995524138212204,
0.03957193344831467,
0.023131700232625008,
0.026515888050198555,
-0.012421511113643646,
0.02332398295402527,
0.0024564210325479507,
0.0038000016938894987,
0.008311452344059944,
0.059454042464494705,
-0.023208612576127052,
-0.0029419369529932737,
-0.00723947212100029,
-0.03636080026626587,
0.0021643906366080046,
0.022343337535858154,
0.03022695891559124,
-0.024150801822543144,
-0.03561089560389519,
0.011296653188765049,
0.009609365835785866,
0.007282735779881477,
-0.04653259739279747,
-0.05460850149393082,
-0.039918046444654465,
-0.06133842095732689,
0.022862503305077553,
0.015026952140033245,
0.04999369755387306,
-0.007739408873021603,
0.011873503215610981,
0.02463151142001152,
0.006811641156673431,
0.04637876898050308,
-0.014392416924238205,
-0.03534169867634773,
-0.008671984076499939,
-0.019651368260383606,
0.03855283185839653,
0.01647869125008583,
0.08375867456197739,
-0.02716965228319168,
0.035572439432144165,
-0.008662370033562183,
0.019074518233537674,
0.03164985775947571,
-0.004727769643068314,
0.021497290581464767,
-0.029727021232247353,
0.015286535024642944,
0.022324109449982643,
-0.03020773082971573,
0.06191527098417282,
-0.03568780794739723,
-0.010344849899411201,
0.00456913560628891,
0.03040001355111599,
-0.003336117835715413,
0.020151305943727493,
-0.02247793599963188,
-0.06514563411474228,
-0.01591145619750023,
0.024477683007717133,
-0.0712602511048317,
0.05849262699484825,
-0.03488021716475487,
0.0009608163964003325,
0.006359775085002184,
0.013575212098658085,
-0.004018724430352449,
-0.06537637114524841,
0.029246313497424126,
-0.0257275253534317,
0.032668959349393845,
0.04176396504044533,
-0.027015825733542442,
0.009441117756068707,
-0.003607718273997307,
-0.004093233961611986,
-0.0010281156282871962,
0.008739283308386803,
0.0037351062055677176,
-0.046263400465250015,
-0.023593179881572723,
-0.01882454939186573,
0.03582240641117096,
-0.007580775301903486,
-0.030534612014889717,
0.0004954303149133921,
-0.05464695766568184,
0.001227008760906756,
0.003052499843761325,
0.07552894204854965,
0.07487517595291138,
-0.01609412580728531,
0.01608451083302498
] |
10,374 | fastapi.applications | add_api_route | null | def add_api_route(
self,
path: str,
endpoint: Callable[..., Coroutine[Any, Any, Response]],
*,
response_model: Optional[Type[Any]] = None,
status_code: Optional[int] = None,
tags: Optional[List[str]] = None,
dependencies: Optional[Sequence[Depends]] = None,
summary: Optional[str] = None,
description: Optional[str] = None,
response_description: str = "Successful Response",
responses: Optional[Dict[Union[int, str], Dict[str, Any]]] = None,
deprecated: Optional[bool] = None,
methods: Optional[List[str]] = None,
operation_id: Optional[str] = None,
response_model_include: Optional[Union[SetIntStr, DictIntStrAny]] = None,
response_model_exclude: Optional[Union[SetIntStr, DictIntStrAny]] = None,
response_model_by_alias: bool = True,
response_model_exclude_unset: bool = False,
response_model_exclude_defaults: bool = False,
response_model_exclude_none: bool = False,
include_in_schema: bool = True,
response_class: Union[Type[Response], DefaultPlaceholder] = Default(
JSONResponse
),
name: Optional[str] = None,
openapi_extra: Optional[Dict[str, Any]] = None,
) -> None:
self.router.add_api_route(
path,
endpoint=endpoint,
response_model=response_model,
status_code=status_code,
tags=tags,
dependencies=dependencies,
summary=summary,
description=description,
response_description=response_description,
responses=responses,
deprecated=deprecated,
methods=methods,
operation_id=operation_id,
response_model_include=response_model_include,
response_model_exclude=response_model_exclude,
response_model_by_alias=response_model_by_alias,
response_model_exclude_unset=response_model_exclude_unset,
response_model_exclude_defaults=response_model_exclude_defaults,
response_model_exclude_none=response_model_exclude_none,
include_in_schema=include_in_schema,
response_class=response_class,
name=name,
openapi_extra=openapi_extra,
)
| (self, path: str, endpoint: Callable[..., Coroutine[Any, Any, starlette.responses.Response]], *, response_model: Optional[Type[Any]] = None, status_code: Optional[int] = None, tags: Optional[List[str]] = None, dependencies: Optional[Sequence[fastapi.params.Depends]] = None, summary: Optional[str] = None, description: Optional[str] = None, response_description: str = 'Successful Response', responses: Optional[Dict[Union[int, str], Dict[str, Any]]] = None, deprecated: Optional[bool] = None, methods: Optional[List[str]] = None, operation_id: Optional[str] = None, response_model_include: Union[Set[Union[int, str]], Dict[Union[int, str], Any], NoneType] = None, response_model_exclude: Union[Set[Union[int, str]], Dict[Union[int, str], Any], NoneType] = None, response_model_by_alias: bool = True, response_model_exclude_unset: bool = False, response_model_exclude_defaults: bool = False, response_model_exclude_none: bool = False, include_in_schema: bool = True, response_class: Union[Type[starlette.responses.Response], fastapi.datastructures.DefaultPlaceholder] = <fastapi.datastructures.DefaultPlaceholder object at 0x7f52c37b9cc0>, name: Optional[str] = None, openapi_extra: Optional[Dict[str, Any]] = None) -> NoneType | [
-0.011725032702088356,
-0.04003669694066048,
-0.022601362317800522,
-0.027269234880805016,
0.01554420217871666,
-0.0026914069894701242,
-0.021992508322000504,
0.04974144697189331,
-0.1059035211801529,
-0.014760073274374008,
0.05439087003469467,
-0.0070110345259308815,
0.0354057252407074,
-0.020295100286602974,
0.010433526709675789,
0.05254586040973663,
0.07778558880090714,
-0.02033200114965439,
-0.006637420505285263,
-0.04708463326096535,
0.04856064170598984,
0.02112535387277603,
0.02822864055633545,
-0.002405430655926466,
0.032213859260082245,
0.028652992099523544,
-0.033228613436222076,
0.009308070875704288,
0.04372671619057655,
-0.0408485010266304,
0.009303458966314793,
-0.05313626304268837,
-0.0052905636839568615,
0.026106879115104675,
0.03031350113451481,
0.03162345662713051,
-0.0005532144568860531,
-0.0076798503287136555,
-0.07324686646461487,
0.0006480594747699797,
0.034778423607349396,
0.011439057067036629,
-0.021383656188845634,
-0.005811778828501701,
0.06616202741861343,
0.0038883567322045565,
-0.056494180113077164,
0.030848553404211998,
0.0031065342482179403,
-0.027490636333823204,
0.0007172473124228418,
-0.05051635205745697,
0.05992589518427849,
0.03922489285469055,
0.042582809925079346,
0.03815478831529617,
-0.02730613574385643,
0.04332081601023674,
0.04623593017458916,
-0.014391071163117886,
-0.025811677798628807,
0.04225070774555206,
-0.022416861727833748,
0.027859637513756752,
0.04701083153486252,
0.03621752932667732,
-0.05291486158967018,
0.013320965692400932,
-0.013108789920806885,
0.012730563059449196,
0.013505467213690281,
0.011439057067036629,
0.013874468393623829,
-0.044058818370103836,
0.07298856228590012,
0.010885554365813732,
0.0016812646063044667,
-0.047601234167814255,
0.021992508322000504,
-0.00332562904804945,
0.0009403781150467694,
-0.020756352692842484,
-0.03381901606917381,
-0.004702467005699873,
-0.011522081680595875,
-0.0051475754007697105,
0.014178895391523838,
-0.07549777626991272,
-0.049003444612026215,
0.030295049771666527,
-0.051401954144239426,
-0.04542412608861923,
-0.04450162127614021,
0.0010234034853056073,
-0.0113375810906291,
-0.058818891644477844,
0.03658653050661087,
-0.0434684157371521,
0.06154950335621834,
-0.023837517946958542,
-0.04269351065158844,
0.008376341313123703,
-0.03127290681004524,
0.025811677798628807,
0.03970459848642349,
-0.07435386627912521,
0.022158559411764145,
-0.0010666459565982223,
-0.04306251183152199,
-0.0044211032800376415,
-0.007767488714307547,
0.03605147823691368,
-0.034999825060367584,
-0.005110675469040871,
-0.05690008029341698,
0.06985204666852951,
0.015332026407122612,
-0.02064565196633339,
-0.018210239708423615,
-0.017463011667132378,
-0.023616116493940353,
-0.04523962363600731,
-0.024077368900179863,
-0.02737993560731411,
0.020239749923348427,
0.004105145111680031,
-0.028062589466571808,
0.028339341282844543,
-0.04918794333934784,
-0.07475977391004562,
-0.03381901606917381,
0.044132620096206665,
0.015996228903532028,
0.06789633631706238,
-0.004142045509070158,
0.02274896204471588,
-0.04424332082271576,
0.02149435691535473,
-0.023247115314006805,
0.08066380023956299,
-0.02071945182979107,
0.024723121896386147,
0.004282727371901274,
-0.057342883199453354,
0.0408485010266304,
0.0077859386801719666,
-0.011475956998765469,
-0.007366199046373367,
0.014990699477493763,
0.029575496912002563,
0.01342244166880846,
0.0016120767686516047,
0.02512902393937111,
0.026402080431580544,
0.003934482112526894,
-0.02273051254451275,
0.018754517659544945,
0.04741673544049263,
0.026475880295038223,
-0.049077242612838745,
0.0038145564030855894,
-0.01354236714541912,
0.0499628484249115,
-0.09948289394378662,
0.010046075098216534,
-0.029298745095729828,
0.0017781275091692805,
0.04461232200264931,
-0.021844908595085144,
0.04416951909661293,
-0.03094080276787281,
-0.0019995286129415035,
-0.01647593080997467,
-0.009999949485063553,
0.0121770603582263,
-0.0002255811996292323,
0.03086700290441513,
0.017287734895944595,
-0.00012086251081200317,
-0.011392931453883648,
0.054501570761203766,
-0.028726791962981224,
-0.041328202933073044,
-0.0006970675312913954,
-0.005576540250331163,
0.017841238528490067,
0.01407741941511631,
-0.014603246934711933,
-0.020793253555893898,
0.0266050323843956,
-0.03256441280245781,
0.00008634066034574062,
0.11468576639890671,
-0.024391021579504013,
-0.0538373664021492,
-0.02025820128619671,
-0.0034547795075923204,
0.013846793211996555,
0.08103280514478683,
-0.03714003413915634,
0.03094080276787281,
-0.02359766699373722,
0.008459366858005524,
0.04092230275273323,
0.027712037786841393,
-0.012592187151312828,
0.01764751225709915,
-0.04944624379277229,
-0.030221249908208847,
-0.024243419989943504,
-0.015977779403328896,
0.0008262181654572487,
-0.00947412196546793,
-0.014806197956204414,
-0.02822864055633545,
0.07372656464576721,
0.02405891939997673,
0.027896538376808167,
0.038708291947841644,
-0.00562727777287364,
0.039187993854284286,
0.05368976667523384,
-0.012951964512467384,
-0.01857001706957817,
0.008224127814173698,
-0.0064667570404708385,
0.044280219823122025,
-0.018911343067884445,
-0.043431516736745834,
0.007758263498544693,
-0.0004108028078917414,
-0.006618970073759556,
0.013173365034162998,
-0.04844994097948074,
-0.07830218970775604,
0.023837517946958542,
-0.004430328030139208,
0.030110549181699753,
0.00931729655712843,
-0.0512174554169178,
0.08095899969339371,
0.03380056843161583,
0.006185393314808607,
0.0032310723327100277,
-0.03357916697859764,
0.016641981899738312,
-0.061697106808423996,
-0.01740766130387783,
-0.006868046708405018,
-0.05306246131658554,
-0.012776688672602177,
0.008210290223360062,
-0.008634642697870731,
0.015599552541971207,
0.011042379774153233,
-0.043431516736745834,
-0.02708473429083824,
-0.08177080750465393,
-0.007001809775829315,
0.012075584381818771,
-0.035774726420640945,
0.03977839648723602,
-0.008519330061972141,
0.022472212091088295,
-0.02413271926343441,
-0.02311796508729458,
-0.013468566350638866,
-0.02328401617705822,
-0.010036849416792393,
0.009492572396993637,
0.02536887489259243,
0.00568724051117897,
-0.008602354675531387,
0.013394766487181187,
0.04306251183152199,
0.013450116850435734,
-0.019224995747208595,
-0.025387326255440712,
-0.0408485010266304,
-0.01400361955165863,
-0.0049077244475483894,
-0.04649423062801361,
0.05878199264407158,
0.0031572720035910606,
-0.0035585614386945963,
0.028560740873217583,
-0.001428728923201561,
0.13579267263412476,
-0.03025815077126026,
-0.054095666855573654,
0.06844983994960785,
0.009146632626652718,
-0.00411667674779892,
0.04782263562083244,
0.03405886888504028,
0.041586507111787796,
-0.10058990120887756,
0.03431716933846474,
0.062324408441782,
-0.0889294371008873,
-0.008823756128549576,
0.025276625528931618,
0.05505507439374924,
-0.004467228427529335,
0.013948269188404083,
-0.033136364072561264,
0.013671517372131348,
-0.022638261318206787,
-0.026974033564329147,
0.020313549786806107,
-0.0056318906135857105,
0.05180785804986954,
-0.05630967766046524,
-0.061291202902793884,
-0.02188180759549141,
0.025867028161883354,
-0.021789558231830597,
0.03350536525249481,
-0.01607925444841385,
0.010313601233065128,
-0.02297036349773407,
0.014068194665014744,
-0.0422138087451458,
-0.033376216888427734,
0.07273025810718536,
-0.0007212832570075989,
0.025165924802422523,
-0.0123338857665658,
0.006983359809964895,
-0.03463082015514374,
-0.01592242904007435,
-0.00674812076613307,
-0.02025820128619671,
0.012038684450089931,
-0.02677108347415924,
-0.08487042039632797,
-0.020848603919148445,
-0.05601447820663452,
-0.019686248153448105,
0.09166005253791809,
-0.010341276414692402,
0.007684463169425726,
0.00781822670251131,
0.042435210198163986,
-0.005936317145824432,
0.008749956265091896,
0.0642063170671463,
-0.014234245754778385,
0.040331900119781494,
-0.05191855877637863,
-0.01894824393093586,
-0.003161884378641844,
-0.025239724665880203,
0.0518447570502758,
0.03282271325588226,
-0.028948193415999413,
-0.03808099031448364,
-0.027970338240265846,
0.01279513817280531,
-0.013440891169011593,
-0.05118055269122124,
-0.03605147823691368,
-0.0753132700920105,
0.030350400134921074,
0.0043473029509186745,
0.0015797890955582261,
0.01512907538563013,
-0.012324661016464233,
-0.016208404675126076,
0.003152659395709634,
-0.009308070875704288,
-0.015276676043868065,
-0.00021087877394165844,
0.019206544384360313,
0.006494432222098112,
0.013081114739179611,
0.01887444406747818,
-0.01764751225709915,
-0.06365281343460083,
0.03001829795539379,
0.004197395872324705,
0.00041800987673923373,
0.03878209367394447,
-0.03612527996301651,
0.07136495411396027,
-0.04269351065158844,
0.06715833395719528,
-0.020534951239824295,
-0.03937249630689621,
0.007564537692815065,
0.012011009268462658,
-0.01848699152469635,
0.0012280842056497931,
-0.0032956476788967848,
0.056420378386974335,
-0.07121735066175461,
-0.006563620176166296,
-0.0015820952830836177,
0.012675212696194649,
-0.018007289618253708,
0.07210295647382736,
0.01756448671221733,
0.05103295296430588,
0.013016539625823498,
0.02677108347415924,
0.01400361955165863,
0.036863282322883606,
0.028431590646505356,
0.007398486603051424,
0.012407686561346054,
-0.007924314588308334,
-0.040959201753139496,
-0.06110670417547226,
-0.011429831385612488,
-0.017739763483405113,
0.049077242612838745,
0.02845004014670849,
0.049852147698402405,
-0.026180678978562355,
0.01786891371011734,
0.06125430390238762,
0.027988789603114128,
0.023320915177464485,
0.06306241452693939,
-0.00804885197430849,
0.026568131521344185,
0.00846859160810709,
-0.007822838611900806,
0.0279149878770113,
-0.022140109911561012,
0.04464922100305557,
-0.05767498537898064,
-0.02876369282603264,
-0.018616141751408577,
0.010765627957880497,
-0.024261869490146637,
0.023413166403770447,
-0.04756433516740799,
0.011586657725274563,
0.018062639981508255,
0.04228761047124863,
-0.006605132948607206,
-0.040885403752326965,
-0.013007314875721931,
0.00797043927013874,
-0.0011877246433869004,
-0.011356031522154808,
-0.009944599121809006,
0.14177049696445465,
-0.028745243325829506,
0.051328156143426895,
0.009215820580720901,
0.018588466569781303,
0.07095905393362045,
-0.061291202902793884,
-0.06844983994960785,
0.03750903531908989,
-0.008749956265091896,
-0.05265656113624573,
-0.027195435017347336,
0.05808088928461075,
-0.011365256272256374,
-0.0018207933753728867,
0.012675212696194649,
-0.003270278684794903,
0.06509192287921906,
0.0402211993932724,
-0.0352950245141983,
-0.03239836171269417,
-0.05586687847971916,
0.031291354447603226,
-0.06302551180124283,
-0.034686170518398285,
-0.006706608459353447,
0.03966769576072693,
0.013237940147519112,
0.03162345662713051,
-0.001049925573170185,
-0.036771032959222794,
-0.024114269763231277,
0.0643170177936554,
-0.018468542024493217,
-0.02127295546233654,
0.0013341722078621387,
0.04291491210460663,
0.05376356467604637,
0.003044265089556575,
0.03062715195119381,
0.0013041908387094736,
-0.027638236060738564,
-0.0021805702708661556,
0.025774776935577393,
-0.029114244505763054,
0.0069372341968119144,
-0.023173315450549126,
0.027564436197280884,
0.003556255018338561,
-0.0354057252407074,
-0.008902168832719326,
-0.009035931900143623,
0.0369739830493927,
-0.06162330508232117,
0.039335593581199646,
-0.024077368900179863,
0.007107897661626339,
0.0454610250890255,
-0.052176859229803085,
-0.03356071561574936,
-0.06332071125507355,
-0.005604215431958437,
-0.04114370420575142,
0.03038730099797249,
-0.01292428933084011,
0.013791443780064583,
0.013274841010570526,
0.06560852378606796,
-0.0012442279839888215,
0.01865304261445999,
-0.004677098244428635,
-0.003108840435743332,
0.01988919824361801,
0.012481486424803734,
0.09284085780382156,
0.01972314715385437,
-0.009234271012246609,
0.02839468978345394,
0.010627252981066704,
-0.0538373664021492,
0.03900349512696266,
0.03974149748682976,
-0.0074953497387468815,
0.047675035893917084,
-0.021678857505321503,
0.03892969340085983,
0.040885403752326965,
0.015968553721904755,
-0.04269351065158844,
-0.009538697078824043,
-0.00011877246288349852,
-0.047601234167814255,
0.00672967080026865,
0.09520246833562851,
-0.08073759824037552,
-0.034243371337652206,
-0.05690008029341698,
-0.05671558156609535,
0.008145715110003948,
-0.0043127089738845825,
0.04184480756521225,
-0.04966764524579048,
-0.03250906243920326,
0.005678015761077404,
0.0279149878770113,
0.005318238865584135,
-0.06575612723827362,
0.0026706508360803127,
0.014741622842848301,
-0.014815423637628555,
0.0083532789722085,
-0.018514666706323624,
-0.05483367294073105,
0.06848674267530441,
-0.03413267061114311,
-0.014391071163117886,
0.014317271299660206,
0.06686313450336456,
0.04394811764359474,
-0.016835708171129227,
0.02514747530221939,
-0.02776738815009594,
-0.03007364831864834,
-0.03649428114295006,
-0.03394816815853119,
-0.11564517021179199,
-0.016761908307671547,
0.041734106838703156,
0.04099610447883606,
-0.022287709638476372,
0.04453852027654648,
-0.007204760797321796,
-0.006900334265083075,
-0.015987005084753036,
-0.034686170518398285,
-0.08391101658344269,
-0.03130980581045151,
-0.03433562070131302,
0.020479600876569748,
0.043505314737558365,
0.02195560932159424,
-0.00548890233039856,
-0.02398511953651905,
-0.01279513817280531,
0.010959354229271412,
-0.029114244505763054,
-0.0354057252407074,
0.08213980495929718,
-0.051623355597257614,
0.015064499340951443,
0.015654902905225754,
0.04177100583910942,
-0.004308096133172512,
0.057121481746435165,
0.0201105996966362,
-0.05420636758208275,
-0.025239724665880203,
0.034999825060367584,
0.005023037549108267,
-0.028726791962981224,
-0.048302337527275085,
-0.004107451532036066,
-0.004243521019816399,
0.0003687135467771441,
0.022785862907767296,
-0.01809031516313553,
-0.036014579236507416,
-0.04487062245607376,
-0.012739787809550762,
0.04416951909661293,
0.07025794684886932,
-0.04634663090109825,
0.0006509422673843801,
-0.06771183758974075,
0.004407265689224005,
0.010368951596319675,
-0.049852147698402405,
0.08634642511606216,
0.027951888740062714,
-0.014972249045968056,
0.006586682517081499,
-0.005295176059007645,
0.003265666076913476,
0.0005488902097567916,
-0.010341276414692402,
-0.018966693431138992,
0.04361601546406746,
-0.08265640586614609,
0.013081114739179611,
0.024778472259640694,
0.019354145973920822,
-0.0279149878770113,
-0.028523841872811317,
-0.02057185210287571,
-0.035848528146743774,
0.025405775755643845,
0.01701098494231701,
0.07535017281770706,
-0.01407741941511631,
-0.0564572811126709,
0.04062709957361221,
-0.04723223298788071,
-0.024704672396183014,
0.014151220209896564,
-0.0447230227291584,
-0.008320990949869156,
0.012509161606431007,
0.00041800987673923373,
-0.033062562346458435,
-0.020534951239824295,
0.03258286044001579,
0.02468622289597988,
-0.01578405313193798,
-0.04630972817540169,
0.059298593550920486,
-0.046678733080625534,
-0.04719533398747444,
0.01195565890520811,
0.02522127516567707,
-0.06166020408272743,
0.022951913997530937,
-0.01802573911845684,
0.01933569647371769,
-0.026199130341410637,
0.04704773426055908,
0.04184480756521225,
-0.032785814255476,
0.01739843562245369,
-0.04479682072997093,
-0.023320915177464485,
-0.006895721890032291,
0.01786891371011734,
-0.06435392051935196,
0.031217554584145546,
-0.030036749318242073,
0.024926073849201202,
-0.007905864156782627,
0.028671441599726677,
0.02359766699373722,
0.035479526966810226,
0.032379910349845886,
-0.031125303357839584,
0.03319171443581581,
-0.027988789603114128,
-0.03094080276787281,
-0.026734182611107826,
-0.03420646861195564,
0.02265671268105507,
-0.05007354915142059,
-0.08922464400529861,
0.041807908564805984,
0.017841238528490067,
0.05988899618387222,
0.040811602026224136,
0.0027905763126909733,
0.04516582563519478,
-0.0027629011310636997,
0.0031595781911164522,
0.018145665526390076,
-0.02514747530221939,
-0.020867053419351578,
-0.014566347002983093,
-0.01940949633717537,
0.022767413407564163,
0.07025794684886932,
-0.024999873712658882,
0.04424332082271576,
0.0191142950206995,
-0.0020133662037551403,
0.02274896204471588,
0.00558576500043273,
0.014603246934711933,
-0.027582887560129166,
0.0028851330280303955,
0.018145665526390076,
-0.046604931354522705,
-0.004425715655088425,
-0.042435210198163986,
0.009082057513296604,
0.04833924025297165,
0.037103135138750076,
-0.017887363210320473,
-0.0003070210514124483,
0.03297031298279762,
-0.031291354447603226,
0.049224842339754105,
0.048782043159008026,
-0.03243526071310043,
-0.024926073849201202,
0.022213909775018692,
0.017075559124350548,
-0.015996228903532028,
-0.009566372260451317,
0.009022094309329987,
0.0009697829373180866,
-0.03966769576072693,
0.009963049553334713,
0.00254380633123219,
0.04619902744889259,
0.04269351065158844,
0.0042066206224262714,
0.015027599409222603,
-0.008911394514143467,
0.01569180190563202,
0.01357926707714796,
0.04475992172956467,
-0.05468606948852539,
-0.04361601546406746,
0.017195485532283783,
0.03649428114295006,
0.04368981719017029,
-0.004921562038362026,
-0.06690002977848053,
-0.02095930464565754,
0.03158655762672424,
-0.0165497325360775,
0.030571801587939262,
0.08605122566223145,
-0.005410489160567522,
0.028597641736268997
] |
10,375 | fastapi.applications | add_api_websocket_route | null | def add_api_websocket_route(
self, path: str, endpoint: Callable[..., Any], name: Optional[str] = None
) -> None:
self.router.add_api_websocket_route(path, endpoint, name=name)
| (self, path: str, endpoint: Callable[..., Any], name: Optional[str] = None) -> NoneType | [
-0.033511899411678314,
-0.028203587979078293,
-0.051251500844955444,
-0.016136929392814636,
-0.01207513827830553,
0.009175069630146027,
0.026405883952975273,
0.04918244481086731,
-0.08479731529951096,
-0.009938245639204979,
0.027881357818841934,
-0.037650007754564285,
0.01892676204442978,
0.00005230271926848218,
-0.0037247221916913986,
0.018434936180710793,
0.09368407726287842,
-0.015670543536543846,
-0.011752908118069172,
-0.03218906372785568,
0.010497908107936382,
-0.01838405802845955,
0.05854406952857971,
-0.013364057056605816,
0.005634781904518604,
0.04368757829070091,
-0.03995649516582489,
0.05576271563768387,
0.010769259184598923,
-0.08228731900453568,
0.0020075764041393995,
-0.07170461118221283,
0.02705034427344799,
0.021284127607941628,
0.029136357828974724,
0.02462514117360115,
-0.028559736907482147,
-0.030153926461935043,
-0.042568255215883255,
-0.000153960136231035,
0.1016889438033104,
0.02416723594069481,
-0.005049680359661579,
0.0031904990319162607,
0.06939812749624252,
0.026558520272374153,
-0.03761608898639679,
0.03500433266162872,
-0.005694139748811722,
0.005257433746010065,
-0.03371541202068329,
-0.01164267212152481,
0.04487474262714386,
0.06902501732110977,
0.02143676206469536,
0.008734123781323433,
-0.0034427710343152285,
0.03313879296183586,
0.041075821965932846,
-0.0072289714589715,
-0.012829834595322609,
0.006029089447110891,
0.0023298063315451145,
0.04110974073410034,
0.027491290122270584,
-0.030204804614186287,
-0.014610578306019306,
0.012134496122598648,
-0.012600881047546864,
0.026846831664443016,
0.040770549327135086,
0.03924419730901718,
0.008246539160609245,
-0.04158460348844528,
0.02455730363726616,
0.07468947768211365,
0.0359540618956089,
-0.004740170203149319,
-0.026134533807635307,
0.04005825147032738,
0.012829834595322609,
0.007551201153546572,
-0.015382233075797558,
0.05515217408537865,
0.00957361701875925,
0.042093388736248016,
0.009141150861978531,
-0.07536785304546356,
-0.06132541969418526,
-0.0011839825892820954,
-0.027728723362088203,
-0.03391892835497856,
-0.02635500580072403,
-0.025218723341822624,
0.06705772131681442,
-0.08452596515417099,
0.01333013828843832,
-0.011574833653867245,
0.06637933850288391,
-0.022861357778310776,
-0.05260825529694557,
0.04446771368384361,
-0.03948163241147995,
-0.0063555589877069,
0.05888325721025467,
-0.06732907146215439,
0.06705772131681442,
-0.023013992235064507,
-0.08710380643606186,
0.031137574464082718,
0.04416244477033615,
0.013567570596933365,
0.0051641566678881645,
0.009938245639204979,
-0.02900068275630474,
0.08791785687208176,
0.008038785308599472,
0.00610116682946682,
0.03001825138926506,
-0.04287352412939072,
-0.014483381994068623,
-0.005384629592299461,
0.027966154739260674,
-0.015763821080327034,
0.029746899381279945,
0.020453114062547684,
-0.016679633408784866,
0.012795914895832539,
-0.014135712757706642,
-0.03636109083890915,
-0.02689770981669426,
0.06871974468231201,
-0.02330230362713337,
0.0191472340375185,
-0.018044868484139442,
-0.0009756991639733315,
0.005189595744013786,
-0.018723247572779655,
0.006482754833996296,
0.05067487806081772,
-0.023743249475955963,
-0.006461555603891611,
0.009132671169936657,
-0.020351355895400047,
0.024726897478103638,
0.02174203284084797,
-0.040702711790800095,
0.060172177851200104,
0.03619149699807167,
0.011150847189128399,
-0.02689770981669426,
0.05277784913778305,
-0.012066658586263657,
-0.027576087042689323,
0.056949879974126816,
-0.019605139270424843,
-0.005503345746546984,
0.045553117990493774,
0.022946154698729515,
-0.028288384899497032,
0.015984294936060905,
-0.004025752656161785,
-0.031086696311831474,
-0.09666894376277924,
-0.009395542554557323,
-0.038735415786504745,
0.051726363599300385,
0.04877541586756706,
-0.025744466111063957,
0.08221948146820068,
-0.010277435183525085,
0.0234549380838871,
-0.00283435033634305,
0.018434936180710793,
0.05545744672417641,
-0.04121149703860283,
-0.00042478155228309333,
0.016213247552514076,
0.03863365948200226,
-0.02479473501443863,
0.03152764216065407,
-0.018791085109114647,
0.004015152808278799,
-0.003455490805208683,
-0.0025545191019773483,
0.014296827837824821,
-0.011184765957295895,
0.016459159553050995,
-0.010065441951155663,
0.03152764216065407,
-0.04283960536122322,
-0.00946338102221489,
0.07638542354106903,
-0.00666506914421916,
-0.01220233365893364,
-0.0019386786734685302,
0.028814129531383514,
0.05589839071035385,
0.02016480267047882,
-0.010642063803970814,
0.04714730754494667,
-0.0023064869455993176,
-0.010421589948236942,
0.015170239843428135,
0.059086769819259644,
-0.06583663821220398,
0.024879533797502518,
-0.03900676593184471,
0.0012041219742968678,
-0.04009217023849487,
0.017417369410395622,
-0.0032265379559248686,
0.02016480267047882,
0.00666506914421916,
-0.03724298253655434,
0.029051560908555984,
-0.018112707883119583,
-0.023047911003232002,
0.055559203028678894,
0.03168027848005295,
0.032562170177698135,
0.05827271565794945,
-0.00006561855116160586,
-0.005096318665891886,
0.01977473497390747,
-0.018282301723957062,
0.022149059921503067,
-0.0813375860452652,
-0.06376758217811584,
0.04165244102478027,
0.03849798068404198,
-0.021453721448779106,
0.02250520884990692,
-0.0328674390912056,
-0.09293786436319351,
0.029984332621097565,
-0.032850481569767,
0.0068177045322954655,
0.017926152795553207,
-0.030391359701752663,
0.04657068848609924,
-0.0097771305590868,
-0.01012479979544878,
0.03161244094371796,
0.011905543506145477,
0.013381016440689564,
-0.014084834605455399,
-0.03268088772892952,
-0.006402197293937206,
-0.027711763978004456,
-0.0445694699883461,
0.02618541195988655,
-0.021928586065769196,
-0.016289565712213516,
-0.016950983554124832,
-0.05671244487166405,
-0.07238299399614334,
-0.01223625335842371,
-0.028169669210910797,
0.0034427710343152285,
-0.03880325332283974,
0.04680811986327171,
0.0015009124763309956,
0.033732373267412186,
0.007267130073159933,
-0.05888325721025467,
-0.04857190325856209,
0.0030230244155973196,
-0.01968993805348873,
-0.01106605026870966,
-0.032341696321964264,
-0.03120541386306286,
0.0367341972887516,
0.019350748509168625,
0.038972847163677216,
-0.07136542350053787,
-0.009658414870500565,
0.03415635973215103,
-0.019910410046577454,
-0.07726731896400452,
-0.021216288208961487,
-0.022878317162394524,
0.011099969036877155,
0.02635500580072403,
-0.058137040585279465,
0.03410547971725464,
0.009412501938641071,
0.019605139270424843,
-0.010268955491483212,
-0.07869191467761993,
0.018587572500109673,
-0.029458587989211082,
-0.052099473774433136,
0.06871974468231201,
-0.009056353941559792,
0.06675244867801666,
-0.033664535731077194,
0.04545136168599129,
0.062275148928165436,
-0.07699596136808395,
0.02367541193962097,
0.047723930329084396,
0.00969233363866806,
-0.010930374264717102,
-0.0041826278902590275,
-0.0461297407746315,
-0.04195771366357803,
0.006096926983445883,
-0.05464339256286621,
-0.02415027655661106,
-0.02510000579059124,
-0.009056353941559792,
-0.08025218546390533,
-0.025761425495147705,
0.04341622814536095,
0.05298136547207832,
-0.015153280459344387,
0.008407654240727425,
-0.015204159542918205,
0.039447713643312454,
-0.0001964912808034569,
-0.014839530922472477,
-0.048605822026729584,
-0.02086014114320278,
0.017400410026311874,
-0.019198112189769745,
0.050030417740345,
-0.05355798453092575,
0.026405883952975273,
-0.028661493211984634,
-0.05216731131076813,
0.014390104450285435,
0.02713514119386673,
-0.019893450662493706,
-0.037887442857027054,
-0.0812697485089302,
-0.0500643365085125,
-0.0293229129165411,
-0.04039744287729263,
0.07217947393655777,
0.01814662665128708,
0.03368149325251579,
0.0226748026907444,
0.02172507345676422,
0.04165244102478027,
0.017943112179636955,
-0.00383071880787611,
-0.0037247221916913986,
0.03802311792969704,
-0.07387542724609375,
0.03849798068404198,
-0.023912843316793442,
-0.0750286653637886,
0.004947923589497805,
0.03391892835497856,
-0.002925507491454482,
-0.014288348145782948,
0.011006691493093967,
-0.006800745148211718,
-0.011540914885699749,
-0.023861965164542198,
0.008615407161414623,
-0.02791527658700943,
-0.0030399837996810675,
-0.04409460723400116,
0.00891219824552536,
0.07082272320985794,
0.026880750432610512,
0.005134477745741606,
0.03575054928660393,
0.00471473066136241,
0.016213247552514076,
0.0696016401052475,
0.021555477753281593,
-0.04331447184085846,
-0.0024167236406356096,
0.053049203008413315,
-0.019672978669404984,
-0.02353973500430584,
-0.008530610240995884,
0.009056353941559792,
0.04182203859090805,
0.0719759613275528,
0.019333789125084877,
0.05067487806081772,
-0.049623388797044754,
0.0020361957140266895,
-0.014610578306019306,
-0.017875274643301964,
0.03293527662754059,
0.0049818423576653,
-0.0021072132512927055,
0.006338599603623152,
-0.008382215164601803,
0.008700205013155937,
-0.031069736927747726,
-0.001680046902038157,
-0.0019778974819928408,
-0.0308831837028265,
0.011413718573749065,
0.08506867289543152,
0.020656626671552658,
-0.01690010540187359,
0.014033956453204155,
0.01821446418762207,
0.03308791294693947,
0.004417940508574247,
0.05956163629889488,
-0.0005755617748945951,
-0.003463970497250557,
-0.02031743712723255,
0.00039987234049476683,
-0.05674636363983154,
0.0187741257250309,
0.008356776088476181,
-0.012109057046473026,
0.04809704050421715,
0.004451859276741743,
-0.04908068850636482,
0.024913452565670013,
-0.007089055608958006,
0.01207513827830553,
0.03883717209100723,
0.06383541971445084,
-0.03456338867545128,
-0.0019100595964118838,
-0.007640238385647535,
0.010090881027281284,
0.006253802217543125,
0.02291223593056202,
0.01719689555466175,
-0.0710940733551979,
0.012634800747036934,
-0.014050915837287903,
0.02221689745783806,
-0.013550611212849617,
0.02338710054755211,
-0.011159326881170273,
0.00825501885265112,
-0.006024849601089954,
0.021487640216946602,
-0.006253802217543125,
-0.052811767905950546,
-0.014364665374159813,
0.01419507060199976,
-0.01399155706167221,
-0.04073663055896759,
-0.009005474857985973,
0.10365623980760574,
-0.04697771370410919,
0.04619757831096649,
-0.03778568655252457,
0.025269601494073868,
0.027321696281433105,
-0.011735948733985424,
-0.06217339262366295,
0.027304736897349358,
-0.019520342350006104,
0.02596493810415268,
-0.030917102470993996,
0.025540951639413834,
0.00946338102221489,
-0.005244714207947254,
-0.028186628594994545,
-0.017417369410395622,
0.034665144979953766,
0.02627020888030529,
-0.05895109474658966,
0.023166626691818237,
-0.0359540618956089,
0.06295353174209595,
-0.0017001862870529294,
-0.03447858989238739,
-0.01829926110804081,
0.04172028228640556,
0.01285527367144823,
-0.01012479979544878,
0.01977473497390747,
-0.03290135785937309,
-0.016170848160982132,
-0.01712905801832676,
-0.00027453131042420864,
-0.024099398404359818,
0.014737773686647415,
0.0027325935661792755,
0.030086088925600052,
0.010777738876640797,
0.01536527369171381,
0.024370748549699783,
-0.007127214688807726,
-0.02852581813931465,
0.023912843316793442,
-0.007797113619744778,
0.004540896508842707,
0.02141980268061161,
0.0030866223387420177,
-0.027542168274521828,
-0.005558464210480452,
0.012821354903280735,
0.03503825142979622,
-0.011752908118069172,
-0.0515906885266304,
0.014033956453204155,
0.02493041194975376,
0.011210205033421516,
0.027966154739260674,
-0.04701163247227669,
-0.000882952066604048,
-0.030510075390338898,
0.03571663051843643,
-0.0025735986419022083,
0.03079838678240776,
-0.024726897478103638,
0.04270393028855324,
0.03707338869571686,
0.011897063814103603,
0.018095748499035835,
-0.000737736641895026,
-0.04643500968813896,
-0.03775176778435707,
0.015271997079253197,
0.010735340416431427,
0.057831771671772,
0.022301694378256798,
0.018808044493198395,
0.0017849835567176342,
-0.012219293974339962,
-0.0648869052529335,
0.009811049327254295,
0.04745258018374443,
0.032409533858299255,
0.1031813770532608,
-0.018417976796627045,
-0.008509410545229912,
0.014237469993531704,
0.001271959743462503,
-0.013559090904891491,
-0.025303520262241364,
-0.016213247552514076,
-0.006737146992236376,
-0.026948587968945503,
0.016535477712750435,
-0.027186019346117973,
-0.08167677372694016,
-0.09789002686738968,
-0.0312732495367527,
-0.031934671103954315,
-0.012439766898751259,
0.007657197769731283,
-0.07468947768211365,
-0.005270153284072876,
0.03541136160492897,
-0.027338655665516853,
0.04192379489541054,
-0.05806920304894447,
-0.06471731513738632,
0.01466145645827055,
-0.01604365184903145,
-0.028186628594994545,
0.019113315269351006,
-0.06888934224843979,
0.013440375216305256,
-0.006682028528302908,
0.04138109087944031,
0.02197946421802044,
0.04283960536122322,
0.009124191477894783,
-0.04680811986327171,
-0.0025566392578184605,
-0.0043585821986198425,
-0.03917635977268219,
-0.052031636238098145,
0.006643869914114475,
-0.1383213847875595,
-0.020588789135217667,
-0.0012666599359363317,
0.05199771374464035,
-0.032850481569767,
0.03200250864028931,
-0.02275959961116314,
-0.01411027368158102,
0.015255037695169449,
-0.03446162864565849,
-0.06105406954884529,
-0.006885542068630457,
-0.009404022246599197,
0.05450771749019623,
0.030543994158506393,
-0.017468247562646866,
-0.010235036723315716,
-0.023828046396374702,
-0.05542352795600891,
0.02299703285098076,
-0.036802034825086594,
-0.01160875242203474,
0.027084263041615486,
-0.013194462284445763,
0.025439195334911346,
0.013593009673058987,
0.059086769819259644,
-0.041313253343105316,
0.044840820133686066,
0.03244345262646675,
-0.05620366334915161,
-0.02291223593056202,
0.02353973500430584,
0.003311335342004895,
-0.04470514506101608,
-0.03578446805477142,
-0.011744428426027298,
0.006957619916647673,
0.02798311412334442,
-0.012728077359497547,
0.052574336528778076,
-0.009743211790919304,
-0.0017489446327090263,
-0.021284127607941628,
0.0001290509244427085,
0.039142441004514694,
0.004275904968380928,
0.0011786826653406024,
-0.029679061844944954,
0.0030633031856268644,
-0.0005972911021672189,
-0.016934024170041084,
0.034444671124219894,
0.042568255215883255,
0.0060121300630271435,
-0.009794089943170547,
0.00014561289572156966,
-0.028203587979078293,
-0.05074271559715271,
0.001235920935869217,
-0.05104798451066017,
0.012694158591330051,
-0.05064095929265022,
-0.0277626421302557,
-0.018485816195607185,
-0.021623315289616585,
-0.027084263041615486,
-0.01789223402738571,
0.003826478961855173,
0.019486423581838608,
-0.027101222425699234,
0.040295686572790146,
0.1305200308561325,
0.033037036657333374,
-0.06285177171230316,
-0.0012073018588125706,
-0.04877541586756706,
0.0015231717843562365,
-0.028491899371147156,
0.0039600348100066185,
0.07563921064138412,
0.04097406566143036,
0.06074879691004753,
-0.025897100567817688,
-0.016052132472395897,
0.028017034754157066,
0.004324663430452347,
0.014118753373622894,
-0.06163069233298302,
0.03893892839550972,
0.01931682974100113,
-0.07279001921415329,
0.0066184308379888535,
0.02806791290640831,
-0.022081222385168076,
-0.002770752413198352,
-0.007508802693337202,
0.0207075048238039,
0.02806791290640831,
0.05186203867197037,
0.028881967067718506,
-0.012338009662926197,
0.028746290132403374,
-0.04423028230667114,
-0.04158460348844528,
-0.029763858765363693,
-0.007907349616289139,
-0.08818921446800232,
0.016535477712750435,
-0.0015295316698029637,
0.018892843276262283,
-0.012448246590793133,
0.06559920310974121,
0.006393717601895332,
0.038192711770534515,
0.06994082778692245,
-0.018655410036444664,
0.028508858755230904,
-0.031544603407382965,
-0.05298136547207832,
-0.019045477733016014,
-0.02571054734289646,
0.011464597657322884,
-0.0034618505742400885,
-0.054541636258363724,
0.06061312183737755,
-0.007729275617748499,
0.006707468070089817,
0.06888934224843979,
0.03558095544576645,
0.03771784529089928,
0.008365255780518055,
-0.014254429377615452,
0.019333789125084877,
-0.030611831694841385,
0.002128412714228034,
-0.017451288178563118,
-0.09409110248088837,
-0.02314966730773449,
0.062037717550992966,
0.007072096224874258,
0.02274264022707939,
0.029034601524472237,
-0.011286523193120956,
0.013771084137260914,
-0.009310745634138584,
0.01431378722190857,
-0.01892676204442978,
0.015848618000745773,
0.029611224308609962,
-0.06051136553287506,
0.027966154739260674,
-0.055016499012708664,
-0.017146017402410507,
0.008568769320845604,
-0.006029089447110891,
-0.04626541584730148,
-0.02362453192472458,
0.0020181762520223856,
0.0025460394099354744,
0.14164544641971588,
0.0852043479681015,
0.018265342339873314,
-0.011820746585726738,
0.011116928420960903,
-0.042262982577085495,
-0.009514259174466133,
0.0006577091990038753,
-0.009361623786389828,
-0.01406787522137165,
-0.02243737131357193,
0.03458034619688988,
-0.036395009607076645,
0.03503825142979622,
0.046095822006464005,
-0.02158939652144909,
0.08649326115846634,
0.009743211790919304,
-0.010175677947700024,
-0.03683595359325409,
0.021996423602104187,
-0.08818921446800232,
-0.04728298634290695,
-0.013321658596396446,
0.021063653752207756,
-0.007534241769462824,
-0.030357439070940018,
-0.04941987618803978,
0.05301528424024582,
0.036802034825086594,
-0.00022219547827262431,
0.0469098761677742,
0.056576769798994064,
-0.007368886843323708,
0.022844398394227028
] |
10,376 | starlette.applications | add_event_handler | null | def add_event_handler(self, event_type: str, func: typing.Callable) -> None:
self.router.add_event_handler(event_type, func)
| (self, event_type: str, func: Callable) -> NoneType | [
-0.06450346112251282,
0.05516495555639267,
-0.010439921170473099,
-0.013085203245282173,
0.02809082344174385,
0.02167060226202011,
0.021595291793346405,
0.02658461406826973,
-0.09421346336603165,
-0.04029112681746483,
0.009940988384187222,
-0.03533945977687836,
0.031140899285674095,
-0.03379559516906738,
0.013631204143166542,
0.04104423150420189,
-0.004798692185431719,
0.015758726745843887,
0.00235345377586782,
-0.0730888620018959,
-0.034492217004299164,
-0.005798909813165665,
0.08276626467704773,
-0.02453240193426609,
-0.019863149151206017,
0.06401394307613373,
-0.005968358833342791,
0.02259315550327301,
0.016304727643728256,
-0.0312538668513298,
0.0032336453441530466,
-0.06356208026409149,
-0.06469173729419708,
-0.012520373798906803,
-0.03803181275725365,
0.029088689014315605,
-0.004375070333480835,
0.029728827998042107,
0.0018404008587822318,
0.033626146614551544,
0.014657310210168362,
0.03754229471087456,
-0.03031248413026333,
0.021444670855998993,
0.035508908331394196,
0.014638482592999935,
-0.04334120452404022,
-0.03904850408434868,
-0.001969840843230486,
-0.0193548034876585,
-0.043115273118019104,
0.014610241167247295,
0.041872650384902954,
0.055729784071445465,
-0.00137794716283679,
0.03656325861811638,
0.009084331803023815,
-0.022367224097251892,
0.07192154973745346,
0.010741163045167923,
-0.0044315531849861145,
-0.02033383958041668,
-0.04006519541144371,
0.041270166635513306,
0.04989321902394295,
0.0016886030789464712,
0.020352667197585106,
0.024400608614087105,
0.02394874580204487,
-0.013009891845285892,
0.012699236162006855,
0.028938068076968193,
0.0271306149661541,
-0.041270166635513306,
0.04981790855526924,
0.006123686674982309,
-0.022837914526462555,
-0.03272242099046707,
0.02803434059023857,
0.034755803644657135,
0.001856875023804605,
-0.04405665397644043,
-0.024137021973729134,
0.03289186954498291,
-0.015975244343280792,
-0.05591806024312973,
-0.040630023926496506,
-0.06480470299720764,
0.008853692561388016,
0.009799781255424023,
-0.02118108421564102,
-0.10573597252368927,
-0.04819873347878456,
-0.03816360607743263,
0.012953408993780613,
-0.013960687443614006,
0.043378859758377075,
-0.03774939849972725,
0.061604004353284836,
-0.017349660396575928,
0.025530265644192696,
-0.006839136593043804,
0.015570449642837048,
0.03797532990574837,
0.046767834573984146,
-0.09662339836359024,
-0.002066332381218672,
0.027413029223680496,
-0.0762142464518547,
0.052378468215465546,
0.043868377804756165,
-0.033400215208530426,
0.006481411401182413,
0.031894005835056305,
-0.04179733991622925,
0.09044793248176575,
0.019750183448195457,
-0.009140814654529095,
-0.0343039408326149,
-0.03031248413026333,
0.030651381239295006,
0.012445063330233097,
-0.016323555260896683,
-0.026867028325796127,
-0.025473782792687416,
0.033381387591362,
-0.03942505642771721,
-0.006189583335071802,
-0.0023887555580586195,
-0.02890041284263134,
0.013791238889098167,
0.07290058583021164,
-0.003918500617146492,
0.01283102948218584,
-0.015513966791331768,
0.028994550928473473,
-0.03584780916571617,
0.005295271053910255,
-0.00882074423134327,
0.03716574236750603,
-0.056972406804561615,
0.03390856087207794,
0.004951666574925184,
-0.07937728613615036,
0.022404879331588745,
0.018987664952874184,
-0.03859664127230644,
0.011249508708715439,
0.026942338794469833,
0.01822514645755291,
0.05166301503777504,
-0.013056961819529533,
-0.013706514611840248,
0.011390715837478638,
-0.03746698424220085,
0.0330989733338356,
0.01105181872844696,
0.06028607115149498,
0.04115720093250275,
-0.004036173224449158,
-0.016587141901254654,
0.001808629254810512,
0.0024876005481928587,
-0.030707864090800285,
-0.033513180911540985,
0.00552590936422348,
0.037071604281663895,
0.02884392999112606,
-0.01199320051819086,
0.05215253680944443,
-0.053621090948581696,
0.025153713300824165,
-0.01431841216981411,
0.06815601885318756,
0.09300848841667175,
0.027996685355901718,
-0.011400129646062851,
0.0026029199361801147,
0.0012214424787089229,
-0.03051958791911602,
0.0549013689160347,
-0.006693222559988499,
0.015457483939826488,
0.05358343571424484,
0.006533187814056873,
0.02745068445801735,
-0.005389409139752388,
0.011418957263231277,
-0.03953802213072777,
-0.020427977666258812,
-0.03272242099046707,
-0.008552450686693192,
0.007860535755753517,
-0.022724948823451996,
0.011258922517299652,
0.03051958791911602,
-0.008086467161774635,
0.05603102594614029,
-0.03803181275725365,
-0.04059236869215965,
0.012445063330233097,
0.035508908331394196,
-0.0028312047943472862,
0.04507334530353546,
0.023478055372834206,
-0.018498146906495094,
0.033456698060035706,
0.022837914526462555,
-0.04081830009818077,
-0.048499975353479385,
-0.00872189924120903,
-0.01808393932878971,
0.013555893674492836,
0.03228938579559326,
-0.004007931798696518,
0.000023074879209161736,
-0.10159388929605484,
-0.008561864495277405,
0.03769291564822197,
-0.01744379848241806,
0.028241444379091263,
0.06107683107256889,
-0.01348058320581913,
-0.04582644999027252,
0.044244930148124695,
-0.005318805575370789,
-0.012633339501917362,
-0.03601725772023201,
-0.01297223661094904,
0.026565786451101303,
0.012689822353422642,
0.048725906759500504,
0.007403965573757887,
0.0449603796005249,
0.012087338604032993,
0.0017780342604964972,
0.010571714490652084,
0.03321193903684616,
-0.04526162147521973,
-0.051851291209459305,
0.055993370711803436,
0.02366633154451847,
-0.0156081048771739,
-0.006326083559542894,
0.00326894735917449,
0.02528550662100315,
-0.012172062881290913,
0.04593941569328308,
-0.051361773163080215,
0.00981860887259245,
0.026339855045080185,
0.005210546776652336,
-0.0037678794469684362,
0.028542686253786087,
-0.011786096729338169,
0.013791238889098167,
-0.030764346942305565,
0.030707864090800285,
0.0065520154312253,
0.0058930483646690845,
0.010496404021978378,
0.03724105283617973,
0.012059097178280354,
0.005878927651792765,
-0.0025629110168665648,
-0.040742989629507065,
0.004591588396579027,
0.01882763020694256,
0.007931139320135117,
-0.02394874580204487,
0.1635744422674179,
0.015401001088321209,
0.04322823882102966,
0.030764346942305565,
0.026603441685438156,
-0.05855393037199974,
-0.06552015244960785,
-0.006570843048393726,
0.005064632277935743,
-0.04296465218067169,
-0.03115972690284252,
0.025982128456234932,
-0.025059575214982033,
0.024287642911076546,
-0.04605238139629364,
0.011710786260664463,
0.04906480386853218,
0.05075928941369057,
0.01537275966256857,
-0.04706907644867897,
0.011324819177389145,
-0.005714185535907745,
0.002694704569876194,
0.06446580588817596,
-0.018733492121100426,
0.026509303599596024,
-0.030877312645316124,
0.019279493018984795,
0.06951160728931427,
0.008105294778943062,
-0.015382173471152782,
-0.024457091465592384,
0.05975889787077904,
-0.05851627513766289,
-0.029484068974852562,
-0.013433514162898064,
0.0005236434517428279,
0.00641551474109292,
-0.011983786709606647,
-0.02016439102590084,
-0.03693981096148491,
0.009940988384187222,
-0.08171191066503525,
-0.017650902271270752,
0.013988928869366646,
0.1173337921500206,
-0.014666724018752575,
0.041759684681892395,
0.06928567588329315,
0.011748441495001316,
-0.07369134575128555,
0.02814730629324913,
-0.03797532990574837,
-0.049742598086595535,
0.06024841591715813,
-0.028166133910417557,
0.027789581567049026,
-0.04778452590107918,
-0.03317428380250931,
-0.02276260405778885,
-0.009997471235692501,
-0.04503569006919861,
0.03477463126182556,
-0.008072346448898315,
-0.025473782792687416,
-0.055353231728076935,
-0.031404487788677216,
0.007032119669020176,
-0.022611983120441437,
0.0065943775698542595,
-0.016154106706380844,
0.06013545021414757,
0.028166133910417557,
0.002266376046463847,
0.05576743930578232,
-0.05919406935572624,
-0.02345922775566578,
-0.0023816952016204596,
-0.007305120583623648,
-0.018526388332247734,
0.012736891396343708,
-0.09466532617807388,
-0.03867195174098015,
-0.04172202944755554,
0.006810895167291164,
-0.010119850747287273,
0.018677009269595146,
-0.03748581185936928,
0.0028029633685946465,
-0.0131040308624506,
0.008590105921030045,
-0.00411619059741497,
-0.024005228653550148,
-0.03803181275725365,
0.025963300839066505,
0.06326083838939667,
0.03272242099046707,
-0.020842187106609344,
0.06687574088573456,
0.05079694464802742,
0.004502157215029001,
-0.003057136433199048,
0.048725906759500504,
0.01523155253380537,
0.012689822353422642,
-0.0399145744740963,
0.02733771875500679,
-0.0205974280834198,
-0.08705896139144897,
0.03505704551935196,
-0.014497275464236736,
0.013744169846177101,
0.01485500019043684,
-0.026979994028806686,
0.05407295376062393,
-0.019213596358895302,
0.013461755588650703,
0.07945259660482407,
-0.024400608614087105,
0.004871649201959372,
-0.01038343831896782,
0.04981790855526924,
0.014629068784415722,
0.018554629758000374,
0.026377510279417038,
-0.051248807460069656,
-0.07839825004339218,
0.02916399948298931,
0.02313915640115738,
0.06954926252365112,
0.012228545732796192,
0.0032124642748385668,
0.04518631100654602,
0.00644375616684556,
0.05264205485582352,
0.0027205925434827805,
-0.023760469630360603,
-0.005219960585236549,
0.008877227082848549,
-0.0212375670671463,
0.024890126660466194,
0.0330989733338356,
-0.028561513870954514,
-0.030707864090800285,
-0.002649988979101181,
0.002511135069653392,
0.03791884705424309,
0.014949138276278973,
-0.0271306149661541,
-0.0392744354903698,
0.021501153707504272,
-0.005624754354357719,
0.01159781962633133,
0.013009891845285892,
0.03541477024555206,
-0.01784859411418438,
0.03211993724107742,
0.05143708363175392,
-0.0349440798163414,
0.010101023130118847,
0.0017156677786260843,
0.04627831280231476,
-0.0299359317868948,
-0.024249987676739693,
-0.017104901373386383,
0.007460448425263166,
0.0193548034876585,
-0.013659445568919182,
-0.052980951964855194,
0.01477027591317892,
-0.014892655424773693,
-0.020126735791563988,
-0.07907604426145554,
-0.01680365949869156,
0.06653684377670288,
0.0004124427796341479,
-0.02858034148812294,
0.0256055761128664,
0.033569663763046265,
-0.055729784071445465,
0.008688950911164284,
-0.020296184346079826,
0.017462626099586487,
0.03643146529793739,
0.05143708363175392,
-0.0449603796005249,
0.015692830085754395,
-0.0673276036977768,
0.01172961387783289,
-0.021858878433704376,
-0.04944135621190071,
-0.025172540917992592,
-0.007328655105084181,
0.0016015252331271768,
-0.03247766196727753,
0.04816107824444771,
-0.005314098671078682,
0.003986750729382038,
0.02345922775566578,
0.03688332810997963,
0.0020545651204884052,
-0.018422836437821388,
-0.02987944893538952,
-0.02750716730952263,
0.051474738866090775,
0.00036007841117680073,
0.013847721740603447,
-0.04782218113541603,
-0.0005630638333968818,
0.027638960629701614,
0.038427192717790604,
0.02852385863661766,
0.02950289659202099,
0.03528297692537308,
-0.026283372193574905,
0.06070027872920036,
0.053508125245571136,
0.02296970784664154,
0.015815209597349167,
0.012680408544838428,
-0.044508516788482666,
-0.012416821904480457,
0.04853763058781624,
0.00781346671283245,
0.05678413063287735,
0.01032695546746254,
-0.0030077139381319284,
0.030707864090800285,
0.0028029633685946465,
0.038709606975317,
0.028279099613428116,
0.039613332599401474,
-0.02005142532289028,
0.008580692112445831,
-0.001645064214244485,
-0.005991893354803324,
-0.0661979466676712,
0.004994028713554144,
-0.08404654264450073,
-0.0221601203083992,
0.02248018980026245,
0.06028607115149498,
-0.011268336325883865,
-0.01256744284182787,
0.015466897748410702,
0.0321764200925827,
0.03019951842725277,
-0.026678752154111862,
-0.029559379443526268,
-0.002045151311904192,
0.030048897489905357,
-0.0014720853650942445,
0.024005228653550148,
-0.0173308327794075,
0.021068118512630463,
0.00556827150285244,
-0.023120328783988953,
0.010091609321534634,
0.012143821455538273,
0.006495532114058733,
0.002202832605689764,
0.08314281702041626,
-0.04066767916083336,
0.025549093261361122,
0.007606362458318472,
0.03942505642771721,
-0.010204575024545193,
-0.035621874034404755,
0.014892655424773693,
-0.039613332599401474,
-0.05990951880812645,
-0.013631204143166542,
-0.03833305463194847,
-0.025549093261361122,
-0.020616255700588226,
-0.04657955467700958,
0.0035796030424535275,
-0.03780588135123253,
-0.0011884941486641765,
-0.06262069940567017,
-0.027695443481206894,
0.022950880229473114,
0.05953296646475792,
0.002062802202999592,
0.05414826422929764,
0.03161159157752991,
0.0006342557608149946,
-0.03040662221610546,
0.009950402192771435,
0.003367792349308729,
-0.044621482491493225,
-0.004852821584790945,
-0.049253080040216446,
0.04944135621190071,
-0.04816107824444771,
-0.015128000639379025,
-0.01941128633916378,
-0.020503288134932518,
-0.02722475305199623,
-0.022574327886104584,
0.010411679744720459,
-0.03419097512960434,
-0.03168690204620361,
-0.13661327958106995,
-0.03407800942659378,
-0.013781825080513954,
0.021256394684314728,
-0.04352948069572449,
0.007403965573757887,
-0.032816559076309204,
-0.04639127850532532,
0.0004786336503457278,
-0.03068903647363186,
0.007531051989644766,
-0.07583769410848618,
-0.05215253680944443,
0.05844096466898918,
0.012774546630680561,
-0.045600518584251404,
-0.012313270010054111,
-0.005860100034624338,
-0.030538415536284447,
-0.0176132470369339,
0.009291435591876507,
0.0271306149661541,
-0.01397010125219822,
-0.07003878057003021,
0.06194290146231651,
-0.01758500561118126,
-0.000329189351759851,
-0.050006184726953506,
0.021425843238830566,
-0.015805795788764954,
-0.013678273186087608,
0.06186759099364281,
0.007747569587081671,
-0.035132355988025665,
0.007771104108542204,
-0.03379559516906738,
0.007328655105084181,
0.0025252557825297117,
0.06905974447727203,
-0.0128027880564332,
0.0007178033702075481,
0.014064239338040352,
-0.02281908690929413,
-0.02600095607340336,
-0.014497275464236736,
0.05283033102750778,
-0.011767269112169743,
-0.035301804542541504,
0.044508516788482666,
0.01946776919066906,
-0.022630810737609863,
-0.009296142496168613,
0.011654303409159184,
0.018008628860116005,
-0.046880800276994705,
0.024005228653550148,
0.02421233244240284,
-0.04609003663063049,
-0.0022193067707121372,
-0.006434342358261347,
-0.06819367408752441,
0.04255044460296631,
-0.03144214302301407,
-0.00883486494421959,
0.024626540020108223,
0.002466419478878379,
-0.07617659121751785,
-0.010957680642604828,
-0.0036784482654184103,
-0.03590429201722145,
-0.06239476427435875,
0.06710167229175568,
0.11823751777410507,
0.026810545474290848,
-0.023685159161686897,
-0.00035890168510377407,
-0.07572472840547562,
0.04940370097756386,
-0.014337239786982536,
-0.04914011433720589,
0.06751587986946106,
0.04944135621190071,
0.023572193458676338,
-0.0014308998361229897,
-0.03769291564822197,
0.007305120583623648,
-0.00865129567682743,
-0.02874979004263878,
-0.0058930483646690845,
0.062093522399663925,
-0.002574678510427475,
0.01608821004629135,
-0.01709548756480217,
0.013602962717413902,
-0.030048897489905357,
-0.053734056651592255,
-0.011155370622873306,
0.04770921543240547,
-0.031084416434168816,
0.03292952477931976,
-0.0037019827868789434,
0.03972629830241203,
-0.01924183778464794,
-0.02831675484776497,
0.013875963166356087,
-0.03722222521901131,
0.015749312937259674,
-0.06382566690444946,
0.023365089669823647,
0.009442056529223919,
-0.047370318323373795,
-0.0012120286701247096,
-0.0056482888758182526,
0.007879363372921944,
0.008138243108987808,
0.05900579318404198,
-0.01011043693870306,
0.01946776919066906,
-0.023214466869831085,
-0.02809082344174385,
-0.05192660167813301,
-0.02118108421564102,
-0.009988057427108288,
-0.014544344507157803,
-0.09150227904319763,
-0.030048897489905357,
0.010308127850294113,
0.005888341460376978,
0.006321376655250788,
-0.012463890947401524,
0.0015273914905264974,
0.013555893674492836,
-0.039236780256032944,
-0.01611645147204399,
-0.018272215500473976,
0.030481932684779167,
0.02140701562166214,
-0.04518631100654602,
-0.08216377347707748,
0.047257352620363235,
0.011070646345615387,
-0.017509695142507553,
0.007959380745887756,
0.020955152809619904,
0.0499308742582798,
0.008919590152800083,
0.0002928579051513225,
-0.0586668960750103,
-0.059984829276800156,
0.04443320631980896,
-0.05603102594614029,
0.07346541434526443,
-0.027582477778196335,
-0.03878491744399071,
0.007432206999510527,
-0.009484418667852879,
-0.005422357469797134,
-0.021501153707504272,
-0.005323512479662895,
-0.015410414896905422,
0.05520261079072952,
0.011927303858101368,
-0.018469905480742455,
-0.021218739449977875,
0.028617996722459793,
-0.04955432191491127,
-0.04609003663063049,
-0.010458748787641525,
0.0068862056359648705,
0.07192154973745346,
-0.05855393037199974,
0.077419213950634,
-0.00042332749580964446,
0.03174338489770889,
0.04657955467700958,
-0.003782000159844756,
0.046617213636636734,
-0.015146828256547451,
0.04081830009818077,
0.03242117911577225,
-0.00645787687972188,
-0.07553645223379135,
-0.027582477778196335,
0.015918761491775513,
0.007389844860881567,
-0.04142078757286072,
0.0023981693666428328,
-0.046240657567977905,
-0.02938993088901043,
-0.0367891900241375,
-0.046504244208335876,
0.0997864380478859,
0.011588405817747116,
0.04191030561923981,
0.018422836437821388
] |
10,377 | starlette.applications | add_exception_handler | null | def add_exception_handler(
self,
exc_class_or_status_code: typing.Union[int, typing.Type[Exception]],
handler: typing.Callable,
) -> None:
self.exception_handlers[exc_class_or_status_code] = handler
self.middleware_stack = self.build_middleware_stack()
| (self, exc_class_or_status_code: Union[int, Type[Exception]], handler: Callable) -> NoneType | [
-0.03933171182870865,
-0.016041770577430725,
-0.01442403718829155,
0.04403126984834671,
0.05042990297079086,
-0.006864070426672697,
-0.006199805531650782,
0.03969321399927139,
0.02248559147119522,
-0.003416219260543585,
0.05762384831905365,
-0.05147826671600342,
0.055744022130966187,
-0.055816326290369034,
-0.006466415245085955,
0.056430883705616,
0.003601490519940853,
0.0261729396879673,
0.03130630776286125,
-0.037198834121227264,
-0.016222523525357246,
-0.008197118528187275,
-0.00857669860124588,
0.043669767677783966,
-0.02808891423046589,
0.03647582232952118,
-0.015653153881430626,
0.021184174343943596,
0.04612799733877182,
-0.06308256834745407,
0.06998731195926666,
-0.029968738555908203,
-0.05737079307436943,
-0.03991011902689934,
-0.018834395334124565,
0.028613096103072166,
0.013954081572592258,
0.0006501436000689864,
0.01754201576113701,
0.021202249452471733,
-0.06250416487455368,
0.02718515321612358,
-0.045332688838243484,
-0.020750369876623154,
0.0433444119989872,
0.06239571049809456,
-0.004213789012283087,
-0.006547753699123859,
0.05277968570590019,
-0.06243186071515083,
-0.027402056381106377,
-0.0003002183511853218,
0.0589614138007164,
-0.002220994560047984,
0.025937961414456367,
0.03868100047111511,
0.0020989866461604834,
0.005594285205006599,
-0.0007184905698522925,
-0.026606746017932892,
-0.017623353749513626,
0.021581830456852913,
-0.0254680048674345,
0.02165413089096546,
0.027727410197257996,
0.04847778007388115,
-0.030962876975536346,
0.02324475161731243,
0.004044333938509226,
0.00908280536532402,
0.0029688572976738214,
-0.05357499420642853,
-0.010537861846387386,
-0.017569128423929214,
0.0431998111307621,
-0.024726921692490578,
-0.0788080245256424,
0.000512884755153209,
0.010095018893480301,
0.04403126984834671,
0.0640224814414978,
-0.027655109763145447,
-0.009950417093932629,
0.020497316494584084,
0.06644456088542938,
-0.07186713069677353,
-0.07931412756443024,
-0.018255986273288727,
-0.04815242439508438,
0.03727113455533981,
-0.050863709300756454,
-0.06094969063997269,
-0.024943822994828224,
-0.028323892503976822,
0.004299646243453026,
0.03450562432408333,
0.032155841588974,
-0.03839179873466492,
0.029083052650094032,
-0.00759159866720438,
-0.0037912805564701557,
0.011260870844125748,
0.08813484758138657,
0.006150098517537117,
0.03584318980574608,
-0.052382029592990875,
-0.012643626891076565,
-0.015119933523237705,
0.01937665231525898,
0.0008241177420131862,
0.044573526829481125,
-0.0281431395560503,
0.014342698268592358,
-0.005761480890214443,
-0.01709917187690735,
0.012607475742697716,
0.026389842852950096,
0.02902882732450962,
-0.028938449919223785,
0.032246217131614685,
0.05552712082862854,
-0.05267123505473137,
-0.0026502811815589666,
0.06536004692316055,
0.023660482838749886,
-0.03705422952771187,
0.0039991457015275955,
0.002975635463371873,
-0.012029068544507027,
-0.02159990556538105,
-0.016294823959469795,
0.035427458584308624,
-0.03698192909359932,
-0.03972936421632767,
0.0012528396910056472,
0.039295561611652374,
-0.06311871856451035,
0.0471402108669281,
-0.010375184938311577,
-0.019647780805826187,
-0.03210161626338959,
0.05169517174363136,
0.003669272642582655,
-0.03528285771608353,
0.0003524670610204339,
-0.02508842572569847,
-0.024763071909546852,
0.05953982472419739,
0.0228651724755764,
-0.0074334400705993176,
0.023624330759048462,
0.029010752215981483,
0.051116764545440674,
0.027365906164050102,
-0.06525159627199173,
0.012842454016208649,
0.020786520093679428,
0.025522232055664062,
0.048260875046253204,
0.04251295328140259,
0.00683243852108717,
-0.022901322692632675,
0.05252663046121597,
-0.06467319279909134,
-0.02635369263589382,
-0.012896680273115635,
-0.0055807288736104965,
0.007108085788786411,
-0.04146458953619003,
0.013972156681120396,
0.010393260046839714,
-0.039620913565158844,
0.002154342131689191,
0.03788569197058678,
0.046344902366399765,
0.05722619220614433,
-0.0024356378708034754,
-0.01559892762452364,
0.04327211156487465,
-0.023082073777914047,
0.08177236467599869,
-0.0013172327307984233,
-0.026389842852950096,
0.06770982593297958,
0.0021193213760852814,
0.022829022258520126,
-0.010745726525783539,
0.022214462980628014,
-0.01226404681801796,
0.01343893725425005,
0.017767956480383873,
-0.014378849416971207,
-0.035156331956386566,
-0.02203371189534664,
0.0036534566897898912,
0.052888136357069016,
-0.04808012396097183,
-0.020858820527791977,
0.0019476065644994378,
0.0010133428731933236,
0.0124176861718297,
0.014695165678858757,
0.05935906991362572,
0.03864485025405884,
0.03304152935743332,
0.026715196669101715,
0.02364240773022175,
0.04023547098040581,
-0.01784929446876049,
-0.029571084305644035,
0.004699560813605785,
-0.08068785071372986,
-0.04656180366873741,
0.020153885707259178,
0.023226676508784294,
0.06774597615003586,
-0.03367416188120842,
-0.0197020061314106,
0.04312751069664955,
-0.002260534092783928,
0.009489498101174831,
0.038789454847574234,
-0.055490970611572266,
-0.014866880141198635,
0.07519297301769257,
0.00424090214073658,
-0.03613239526748657,
-0.032824624329805374,
0.02998681366443634,
0.03367416188120842,
-0.016990721225738525,
0.0762774869799614,
-0.06279336661100388,
-0.011956768110394478,
0.03296922892332077,
-0.028486570343375206,
0.08480899780988693,
0.01483976747840643,
-0.024419641122221947,
-0.008933684788644314,
0.07226479053497314,
-0.004010442644357681,
0.019159749150276184,
-0.041573040187358856,
0.0013285297900438309,
0.01925012469291687,
-0.0004061279178131372,
0.04551343992352486,
-0.05021300166845322,
0.00683243852108717,
-0.03244504705071449,
0.054044950753450394,
-0.016276748850941658,
-0.04732096567749977,
-0.035680513828992844,
0.01042037270963192,
-0.006963483989238739,
0.023678557947278023,
-0.0030773086473345757,
0.02324475161731243,
0.04674255847930908,
0.0039132884703576565,
0.0665530115365982,
-0.03685540333390236,
-0.014713240787386894,
-0.01746971346437931,
0.019105523824691772,
0.001222337712533772,
0.08285687863826752,
0.03521055728197098,
-0.03099902719259262,
0.01057401206344366,
-0.0035517835058271885,
0.03578896448016167,
0.004536883905529976,
0.032824624329805374,
-0.09955839067697525,
0.005707255564630032,
-0.05520176514983177,
0.030474845319986343,
0.010619200766086578,
-0.03273424878716469,
-0.0043199812062084675,
0.022594043985009193,
-0.01754201576113701,
0.02071421965956688,
0.010402297601103783,
0.031667809933423996,
0.03667465224862099,
-0.038608700037002563,
0.00888849701732397,
0.028739623725414276,
-0.009033098816871643,
-0.0022978142369538546,
0.011161457747220993,
0.0052734497003257275,
-0.032499272376298904,
-0.043742068111896515,
0.03127015754580498,
0.025974111631512642,
0.015038595534861088,
-0.01299609337002039,
0.0723370909690857,
-0.0056394729763269424,
0.004979727324098349,
-0.03023986704647541,
0.07085491716861725,
0.03347533568739891,
-0.012110407464206219,
0.017234737053513527,
-0.007198462262749672,
0.052888136357069016,
-0.06933660060167313,
0.0024582319892942905,
0.021997559815645218,
0.038789454847574234,
0.025558382272720337,
0.03139668330550194,
-0.0049074264243245125,
0.003194797784090042,
-0.04254910349845886,
-0.012806303799152374,
-0.04891158640384674,
-0.0008354147430509329,
0.05202052369713783,
-0.007410846184939146,
0.006249512545764446,
-0.03490327671170235,
-0.010284808464348316,
0.013628726825118065,
-0.025721058249473572,
-0.06340792030096054,
-0.009543723426759243,
0.031342457979917526,
0.07591598480939865,
-0.07060186564922333,
0.02877577394247055,
-0.017993895336985588,
-0.02275671996176243,
0.004188935738056898,
-0.04218759760260582,
0.024546168744564056,
0.019358577206730843,
0.056503184139728546,
0.025124575942754745,
-0.07446996867656708,
0.02978798747062683,
-0.0028445899952203035,
-0.06145579740405083,
0.03918710723519325,
-0.05762384831905365,
-0.06911969929933548,
-0.03692770376801491,
-0.004579812753945589,
-0.013990231789648533,
-0.03685540333390236,
-0.0032716174609959126,
-0.03164973482489586,
0.03450562432408333,
-0.024763071909546852,
0.011586225591599941,
0.03181241452693939,
-0.03410796821117401,
-0.020876895636320114,
-0.05834685638546944,
0.0810493528842926,
-0.028613096103072166,
-0.02210601232945919,
0.006538716144859791,
0.008206156082451344,
0.0405246764421463,
-0.011730827391147614,
-0.019918909296393394,
0.014713240787386894,
0.03504788130521774,
0.02928188070654869,
-0.027546657249331474,
0.011857354082167149,
-0.07606058567762375,
0.03107132762670517,
0.05679238587617874,
0.0010167319560423493,
-0.013059357181191444,
-0.049345389008522034,
-0.001025769510306418,
-0.020443091168999672,
0.03311382979154587,
-0.012508062645792961,
-0.07649439573287964,
0.038211047649383545,
-0.003994626924395561,
-0.026914024725556374,
-0.0073475828394293785,
-0.004658891819417477,
-0.0020007025450468063,
-0.029245730489492416,
-0.06803518533706665,
0.05010455101728439,
-0.002446934813633561,
0.05451490730047226,
0.0014776504831388593,
0.0014697425067424774,
0.03499365597963333,
-0.0033732906449586153,
0.037704940885305405,
0.03475867584347725,
-0.05357499420642853,
0.021364927291870117,
0.03817489370703697,
0.0013985713012516499,
-0.032246217131614685,
0.0381387434899807,
-0.005485833622515202,
-0.005648510996252298,
-0.05982902646064758,
0.010492674075067043,
0.04092233255505562,
-0.02394968643784523,
-0.01651172712445259,
0.03918710723519325,
0.026317542418837547,
0.05798535421490669,
0.018183685839176178,
-0.024130437523126602,
0.004301905632019043,
-0.008789082989096642,
0.019358577206730843,
-0.0052327802404761314,
-0.03994626924395561,
-0.008075110614299774,
-0.002675134688615799,
0.04663410410284996,
-0.011821203865110874,
-0.012887642718851566,
0.004588850308209658,
-0.013746215961873531,
-0.005296043585985899,
-0.006543234921991825,
-0.009195775724947453,
0.018120422959327698,
0.0002699988253880292,
-0.02319052629172802,
-0.03994626924395561,
0.004975208546966314,
0.0026706159114837646,
-0.03336688131093979,
-0.002015388570725918,
0.02084074541926384,
0.04262140393257141,
-0.037777241319417953,
0.03150513395667076,
-0.021238401532173157,
-0.00886138342320919,
0.03936786204576492,
0.056141678243875504,
-0.0012483209138736129,
-0.05089985951781273,
-0.045079633593559265,
0.020352713763713837,
0.005503908731043339,
-0.021816808730363846,
-0.00646189646795392,
0.025124575942754745,
-0.05310503765940666,
-0.05006840080022812,
0.05711774155497551,
0.0446096807718277,
-0.00258927745744586,
0.023100150749087334,
-0.0003753435448743403,
0.017813144251704216,
-0.017966782674193382,
-0.004839644301682711,
-0.026462143287062645,
-0.007184905931353569,
0.007202981039881706,
0.030131416395306587,
-0.013222034089267254,
0.01175794005393982,
0.03748803585767746,
0.08444749563932419,
0.06380558013916016,
0.06792673468589783,
-0.015382024459540844,
-0.009796776808798313,
0.010519786737859249,
0.050791408866643906,
-0.03972936421632767,
-0.015210309997200966,
0.03155935928225517,
0.01708109676837921,
-0.0013093247544020414,
-0.019087446853518486,
0.016041770577430725,
0.018563266843557358,
-0.02872154861688614,
0.01594235748052597,
0.01518319733440876,
0.030926726758480072,
0.005743405781686306,
0.02942648157477379,
-0.06539619714021683,
-0.04739326611161232,
-0.05484026297926903,
0.048369329422712326,
-0.02375085838139057,
-0.031107479706406593,
0.016294823959469795,
-0.057009290903806686,
-0.017993895336985588,
-0.0069815595634281635,
0.03296922892332077,
-0.04377821832895279,
-0.012390573509037495,
0.007446996867656708,
-0.000763678690418601,
0.0228651724755764,
-0.016484614461660385,
0.010718613862991333,
0.05719004198908806,
0.05476796254515648,
-0.0034071817062795162,
0.08827944844961166,
0.03734343498945236,
-0.021708356216549873,
0.013628726825118065,
0.03933171182870865,
0.011278945952653885,
0.020623842254281044,
0.05494871363043785,
-0.06062433868646622,
0.023226676508784294,
-0.0005597674171440303,
0.006195286754518747,
0.016114071011543274,
0.03584318980574608,
0.006489009130746126,
0.03410796821117401,
0.04493503272533417,
-0.019232049584388733,
-0.021581830456852913,
0.06633611023426056,
-0.04648950323462486,
-0.002498901216313243,
-0.057153891772031784,
-0.09044847637414932,
-0.046670254319906235,
0.004455545451492071,
-0.035355158150196075,
-0.04638105258345604,
-0.0080389603972435,
-0.028613096103072166,
0.06268491595983505,
0.05520176514983177,
0.03723498433828354,
0.019738156348466873,
0.015562777407467365,
0.035300932824611664,
0.020876895636320114,
0.014912068843841553,
0.0016900344053283334,
-0.021997559815645218,
-0.04554959014058113,
-0.01715339720249176,
-0.0345417745411396,
0.0033981441520154476,
-0.030131416395306587,
0.04341671243309975,
-0.04847778007388115,
-0.060262832790613174,
-0.04048852622509003,
0.04808012396097183,
-0.049020037055015564,
-0.06637226045131683,
-0.02897460199892521,
-0.0037799833808094263,
-0.029625309631228447,
-0.020425016060471535,
0.032625798135995865,
-0.016755742952227592,
-0.07960333675146103,
-0.045260388404130936,
-0.00819259975105524,
-0.03589741513133049,
-0.06062433868646622,
-0.047357115894556046,
-0.019304350018501282,
0.012941868044435978,
-0.028432343155145645,
0.04648950323462486,
-0.029083052650094032,
-0.012390573509037495,
-0.004798974841833115,
-0.04009087011218071,
0.05527406930923462,
0.004577553365379572,
-0.05914216861128807,
0.009118955582380295,
0.005458720959722996,
0.023479729890823364,
-0.03850024938583374,
0.006122985854744911,
-0.03248119726777077,
-0.04153688997030258,
0.07165022939443588,
-0.039548613131046295,
0.014794579707086086,
-0.014243285171687603,
-0.04027162119746208,
-0.02758280746638775,
-0.04847778007388115,
0.04077772796154022,
0.043163660913705826,
0.059178318828344345,
-0.03965706378221512,
0.000376755662728101,
-0.0108361029997468,
-0.011233758181333542,
0.03430679440498352,
0.037704940885305405,
-0.028106989338994026,
0.004620481748133898,
0.0033416589722037315,
-0.00991426594555378,
0.016276748850941658,
0.0069002206437289715,
0.04403126984834671,
-0.012363460846245289,
-0.01318588387221098,
0.03284270316362381,
-0.009932341054081917,
0.07273474335670471,
0.01798485778272152,
-0.10353494435548782,
0.020858820527791977,
0.015038595534861088,
0.002584758447483182,
0.04923693835735321,
0.02707670070230961,
-0.06113044172525406,
0.033583786338567734,
-0.06254031509160995,
-0.05935906991362572,
-0.024690769612789154,
0.059684425592422485,
0.027492431923747063,
0.006936371326446533,
-0.03490327671170235,
0.01708109676837921,
-0.014044457115232944,
0.010492674075067043,
-0.055744022130966187,
-0.08929166197776794,
-0.04345286265015602,
-0.06369712948799133,
0.029046902433037758,
-0.03969321399927139,
-0.02942648157477379,
0.0027271010912954807,
0.047682467848062515,
-0.042404498904943466,
0.0018210798734799027,
0.0644562840461731,
-0.04103078320622444,
0.07822961360216141,
-0.009561799466609955,
-0.016755742952227592,
-0.007460553199052811,
0.03193894028663635,
0.022142162546515465,
0.0008026533760130405,
-0.033583786338567734,
-0.030456770211458206,
0.006181730423122644,
0.009390084072947502,
-0.009760626591742039,
-0.031107479706406593,
-0.027528582140803337,
-0.029046902433037758,
-0.006073278840631247,
-0.02172643132507801,
0.0323004424571991,
-0.035102106630802155,
0.010637275874614716,
-0.01682804338634014,
-0.0056801424361765385,
-0.007632267661392689,
0.001418905914761126,
0.05870836228132248,
-0.01207425631582737,
-0.006059722509235144,
-0.0005332194268703461,
-0.03528285771608353,
0.012752078473567963,
-0.10794530063867569,
0.01615022122859955,
-0.04103078320622444,
-0.10331804305315018,
-0.014821692369878292,
0.06919199973344803,
-0.007334026508033276,
0.03099902719259262,
-0.03671080246567726,
-0.06998731195926666,
0.011206645518541336,
-0.08871325105428696,
0.03289692848920822,
0.00025460662436671555,
0.0068550328724086285,
-0.006430264562368393,
-0.021057648584246635,
-0.023714708164334297,
0.02928188070654869,
0.026642896234989166,
-0.030529070645570755,
-0.008924647234380245,
0.03023986704647541,
-0.0027587327640503645,
-0.002211956772953272,
0.010899366810917854,
-0.06987885385751724,
0.04782707244157791,
0.023588180541992188,
-0.03490327671170235,
-0.010384222492575645,
-0.07692819833755493,
0.0069815595634281635,
-0.04077772796154022,
0.01823791116476059,
0.0013612911570817232,
0.016791893169283867,
0.004789937287569046,
-0.04403126984834671,
0.015553739853203297,
-0.00975158903747797,
-0.023280901834368706,
-0.02178065851330757,
0.010140206664800644,
0.0076277488842606544,
0.042729854583740234,
-0.008147411979734898,
-0.020479241386055946,
-0.001442629611119628,
-0.050357602536678314,
0.10064290463924408,
-0.028179291635751724,
0.01101685594767332,
0.07656669616699219,
-0.0147403534501791,
0.06062433868646622,
-0.0054542021825909615,
0.04536883905529976,
0.07327700406312943,
0.03432486951351166,
0.00933585874736309,
-0.04565804451704025,
0.009263557381927967,
-0.006145579740405083,
0.02013581059873104,
-0.005142404232174158,
-0.0334211103618145,
-0.0069408901035785675,
-0.04594724625349045,
-0.05711774155497551,
0.09370201826095581,
0.04721251130104065,
0.003206094726920128,
0.028866149485111237
] |
10,378 | starlette.applications | add_middleware | null | def add_middleware(self, middleware_class: type, **options: typing.Any) -> None:
self.user_middleware.insert(0, Middleware(middleware_class, **options))
self.middleware_stack = self.build_middleware_stack()
| (self, middleware_class: type, **options: Any) -> NoneType | [
-0.06764820963144302,
0.008812161162495613,
0.05489685386419296,
0.016929425299167633,
0.04506406560540199,
0.005845820065587759,
-0.034901197999715805,
0.01129207480698824,
-0.031391967087984085,
-0.00927687343209982,
0.040234532207250595,
-0.03290336951613426,
0.034380022436380386,
-0.007717698812484741,
-0.0002068403991870582,
0.01675570197403431,
0.028004344552755356,
-0.047009773552417755,
0.010110749863088131,
-0.042840395122766495,
0.035300761461257935,
0.039991315454244614,
0.018970685079693794,
0.04117264226078987,
-0.04704451933503151,
0.048052120953798294,
-0.045307278633117676,
0.017997829243540764,
0.06618893146514893,
-0.01040608063340187,
0.006175896152853966,
-0.021124865859746933,
-0.025033660233020782,
-0.08776547759771347,
0.035040177404880524,
-0.024495115503668785,
0.03474484384059906,
0.03358089178800583,
0.010831705294549465,
0.02433876320719719,
-0.03894897177815437,
0.06167209893465042,
-0.037837136536836624,
0.003680781926959753,
0.0004625407455023378,
0.04555049166083336,
0.021785017102956772,
0.05805863440036774,
0.04610640928149223,
-0.01796308532357216,
0.04607166349887848,
-0.04502931982278824,
0.03031487762928009,
0.0005928339087404311,
0.028838220983743668,
0.013263844884932041,
-0.0018262759549543262,
-0.022201955318450928,
0.06010858342051506,
-0.030280131846666336,
-0.003324647434055805,
-0.007895765826106071,
0.012890337035059929,
-0.01219544094055891,
0.018188925459980965,
0.045515745878219604,
-0.036204129457473755,
0.0383930541574955,
0.025554833933711052,
-0.009650380350649357,
-0.038809992372989655,
-0.060073837637901306,
-0.03257329389452934,
-0.008538546040654182,
0.007500543259084225,
0.014158524572849274,
-0.07014983892440796,
-0.02668404020369053,
-0.03130510449409485,
0.045897938311100006,
0.021055376157164574,
0.003174810204654932,
-0.053437571972608566,
0.043813250958919525,
-0.0027035833336412907,
-0.027396310120821,
-0.003022801596671343,
-0.06459067016839981,
-0.06379153579473495,
-0.021420197561383247,
-0.06309663504362106,
0.023070577532052994,
0.023018458858132362,
0.04766992852091789,
0.020395223051309586,
0.015035831369459629,
-0.03696851432323456,
0.012985886074602604,
-0.008551575243473053,
0.053889255970716476,
-0.01758957840502262,
0.022358307614922523,
0.032364822924137115,
0.040442999452352524,
0.04523778706789017,
-0.04468186944723129,
-0.007969599217176437,
-0.023852335289120674,
-0.01597394235432148,
0.06056026369333267,
0.002351791597902775,
-0.05979587882757187,
-0.0225667767226696,
0.04072095826268196,
-0.015939198434352875,
0.023782845586538315,
0.04426493123173714,
0.002469055587425828,
0.031252987682819366,
0.031270358711481094,
-0.03630836308002472,
-0.04124213010072708,
0.013142237439751625,
0.03609989210963249,
-0.0006579805049113929,
-0.0322258435189724,
0.030019545927643776,
-0.011813247576355934,
0.035109665244817734,
-0.03988708183169365,
-0.018466884270310402,
-0.0037307278253138065,
-0.03453637659549713,
-0.037698157131671906,
-0.023800218477845192,
0.025850163772702217,
-0.023261673748493195,
-0.012082519941031933,
0.014323562383651733,
0.04297937452793121,
-0.05659935250878334,
0.03543974086642265,
-0.022983714938163757,
-0.036273617297410965,
0.004204126074910164,
-0.006510315462946892,
-0.015530945733189583,
0.07039305567741394,
0.02432139217853546,
-0.0066666672937572,
0.003791531315073371,
-0.03710749372839928,
0.028872966766357422,
-0.0008718784665688872,
-0.027674268931150436,
0.01879696175456047,
-0.014514658600091934,
0.028403909876942635,
0.016747014597058296,
0.006788274273276329,
0.007978284731507301,
-0.009971770457923412,
-0.02289685234427452,
-0.024773074313998222,
-0.04423018917441368,
-0.042770903557538986,
0.03365038335323334,
0.03309446573257446,
-0.03351140394806862,
0.08866884559392929,
0.04370901361107826,
-0.024356136098504066,
0.040755704045295715,
0.07984365522861481,
-0.006323562003672123,
0.05354180559515953,
0.02706623449921608,
-0.009250815026462078,
0.008473399095237255,
-0.00930293183773756,
0.06156786531209946,
0.022149838507175446,
0.0034028233494609594,
0.014992401003837585,
0.014262759126722813,
-0.003094462677836418,
0.004089034162461758,
0.007600435055792332,
0.024477742612361908,
0.037698157131671906,
0.0014136808458715677,
-0.005515743978321552,
0.000038986159779597074,
-0.06368730217218399,
0.0009657980990596116,
0.04926818981766701,
-0.026961999014019966,
-0.030262760818004608,
-0.02967209741473198,
-0.06146363168954849,
-0.04120738431811333,
0.012577634304761887,
0.05131813511252403,
-0.018953312188386917,
0.055001091212034225,
0.025224758312106133,
0.018136808648705482,
0.036725301295518875,
-0.025068406015634537,
-0.022879479452967644,
0.017450598999857903,
-0.023661239072680473,
-0.04072095826268196,
-0.00290336599573493,
0.007144408766180277,
0.0019587406422942877,
0.05830185115337372,
-0.015218242071568966,
0.0161129217594862,
0.014940283261239529,
0.0551748126745224,
0.03860152140259743,
-0.04363952577114105,
0.030436484143137932,
-0.03748968616127968,
-0.002340934006497264,
-0.013142237439751625,
-0.08387405425310135,
0.011179153807461262,
-0.008195440284907818,
0.013072747737169266,
0.052534203976392746,
-0.08005212247371674,
0.01040608063340187,
-0.04579370468854904,
0.020047776401042938,
0.023730728775262833,
0.020047776401042938,
0.04013029485940933,
-0.04353529214859009,
0.02869924157857895,
0.01796308532357216,
0.012638437561690807,
0.011795874685049057,
-0.0439869724214077,
0.03135722130537033,
-0.022879479452967644,
-0.05607818067073822,
0.018623236566781998,
0.03543974086642265,
-0.030818676576018333,
-0.006584147922694683,
0.03368512541055679,
-0.022149838507175446,
-0.04158958047628403,
0.02230619080364704,
-0.004104234743863344,
0.011735071428120136,
-0.030228015035390854,
-0.04200651869177818,
0.04839956760406494,
-0.03415418416261673,
0.05652986094355583,
-0.012447340413928032,
-0.03637785091996193,
-0.002092291135340929,
-0.006362649612128735,
-0.02746579982340336,
0.01573941484093666,
0.012681868858635426,
0.027153097093105316,
0.03894897177815437,
-0.02432139217853546,
0.0292725320905447,
0.019856678321957588,
-0.020586321130394936,
-0.03651683032512665,
0.02374810166656971,
-0.046488601714372635,
-0.00447339890524745,
0.004036916885524988,
-0.04565472528338432,
-0.007339848671108484,
0.017598263919353485,
0.0027274703606963158,
0.031183497980237007,
0.0182757880538702,
0.056112922728061676,
0.04072095826268196,
-0.07859283685684204,
-0.020655810832977295,
0.0018251901492476463,
-0.0018631923012435436,
0.018901195377111435,
-0.002078176010400057,
-0.01772855781018734,
-0.10868187248706818,
0.044786106795072556,
0.007478828076273203,
-0.02941151149570942,
0.006197611801326275,
-0.017502715811133385,
0.0018751358147710562,
0.025659067556262016,
0.031530946493148804,
-0.02003040350973606,
0.013307275250554085,
0.0028425627388060093,
-0.022201955318450928,
0.011752443388104439,
-0.03794137015938759,
0.023921824991703033,
-0.07063627243041992,
-0.015122693963348866,
0.004306189250200987,
0.017007602378726006,
-0.0024885996244847775,
0.05176981911063194,
-0.036204129457473755,
0.01656460389494896,
0.000552660203538835,
-0.05944842845201492,
-0.036204129457473755,
-0.008920738473534584,
0.03398045897483826,
0.025276875123381615,
0.011144408956170082,
-0.06417372822761536,
-0.01054506003856659,
-0.037176985293626785,
-0.055730730295181274,
-0.015140065923333168,
-0.016790445894002914,
0.014783931896090508,
-0.02360912226140499,
-0.01950922980904579,
0.012742672115564346,
-0.051491860300302505,
-0.013046689331531525,
0.02419978380203247,
-0.05354180559515953,
0.007609121035784483,
0.006697068922221661,
0.037315964698791504,
0.006892508827149868,
-0.07393702864646912,
-0.03019327111542225,
-0.017355050891637802,
-0.03849728778004646,
-0.006110749673098326,
-0.017190011218190193,
-0.04384799301624298,
0.000009984053576772567,
-0.034188926219940186,
0.01004994660615921,
-0.033789362758398056,
-0.020412595942616463,
0.027570035308599472,
0.004833876620978117,
-0.03648208826780319,
-0.01467101089656353,
0.04600217565894127,
-0.04871227219700813,
0.034779589623212814,
-0.013446254655718803,
0.011135722510516644,
0.00783496256917715,
-0.038740500807762146,
0.03330293297767639,
0.004499457310885191,
0.06049077585339546,
-0.03787188231945038,
0.019995657727122307,
0.07324213534593582,
0.022497287020087242,
0.06882953643798828,
0.010571119375526905,
0.03531813621520996,
-0.08387405425310135,
0.025554833933711052,
0.014584148302674294,
0.028733987361192703,
0.02206297591328621,
-0.0043800221756100655,
0.028855593875050545,
-0.004516829736530781,
0.011248643510043621,
0.0027709014248102903,
-0.016390880569815636,
0.018171554431319237,
0.01583496294915676,
-0.07894028723239899,
-0.01701628789305687,
-0.026701413094997406,
-0.022862108424305916,
-0.013150923885405064,
-0.07021933048963547,
0.03109663538634777,
0.0005662323674187064,
0.02543322555720806,
0.041728559881448746,
-0.047913141548633575,
0.04495982825756073,
-0.009155266918241978,
0.01604343205690384,
0.016981542110443115,
-0.03297285735607147,
0.06757872551679611,
0.04145060107111931,
0.022549403831362724,
-0.004388708155602217,
0.015418024733662605,
-0.0017752443673089147,
-0.018466884270310402,
0.0002676438889466226,
-0.03564821183681488,
0.0674397423863411,
0.048121608793735504,
-0.009780674241483212,
0.04801737517118454,
0.05239522457122803,
0.04951140284538269,
-0.016017373651266098,
-0.002638436621055007,
0.0021389795001596212,
-0.00681433267891407,
0.0027404995635151863,
-0.02796960063278675,
-0.0063365912064909935,
-0.000036746743717230856,
-0.011535288766026497,
0.08116395771503448,
-0.008668839000165462,
0.05652986094355583,
-0.013958741910755634,
-0.022097721695899963,
0.015774158760905266,
-0.0011986971367150545,
-0.03936590999364853,
0.031148754060268402,
0.053507059812545776,
-0.05190879851579666,
-0.03512703999876976,
0.007174810394644737,
0.01613898016512394,
-0.02029098942875862,
-0.03644734248518944,
0.02289685234427452,
0.06535505503416061,
-0.00440825242549181,
0.0697329044342041,
-0.03908795118331909,
-0.01666015386581421,
0.08178936690092087,
0.036725301295518875,
0.01886645145714283,
0.045376766473054886,
-0.05885776877403259,
0.01796308532357216,
-0.01971769891679287,
-0.01131813321262598,
-0.028212813660502434,
0.0024104237090796232,
-0.01486210711300373,
-0.03453637659549713,
0.09103149175643921,
-0.005815418437123299,
0.02562432363629341,
-0.02485993690788746,
-0.019926168024539948,
0.014332248829305172,
-0.025589577853679657,
-0.027813248336315155,
-0.04770467057824135,
0.057467974722385406,
0.032503802329301834,
0.013984800316393375,
0.0038957656361162663,
-0.0028968513943254948,
-0.004017372615635395,
0.012942454777657986,
0.055140070617198944,
0.033216070383787155,
-0.012099891901016235,
0.01978718861937523,
0.010857763700187206,
0.04423018917441368,
-0.07796743512153625,
0.045828450471162796,
-0.0001503800303908065,
0.03175678849220276,
0.06101194769144058,
-0.028473399579524994,
0.02100325934588909,
0.008134637027978897,
0.04054723307490349,
-0.010562432929873466,
-0.028403909876942635,
0.06167209893465042,
0.04725299030542374,
0.013263844884932041,
-0.03849728778004646,
-0.059552665799856186,
-0.04145060107111931,
0.07748100161552429,
0.004091205541044474,
-0.0641389861702919,
0.0033376766368746758,
-0.09777199476957321,
0.02232356369495392,
-0.03533550724387169,
0.0473572239279747,
-0.05288165435194969,
-0.0075135729275643826,
0.011761129833757877,
0.009693811647593975,
-0.030349621549248695,
0.05472313240170479,
0.02536373771727085,
0.0015092291869223118,
0.017615636810660362,
0.05600868910551071,
0.04318784177303314,
0.05090119689702988,
0.02446037158370018,
-0.013150923885405064,
-0.030627580359578133,
-0.004317047074437141,
0.06448642909526825,
0.02374810166656971,
0.014757872559130192,
0.03780239075422287,
-0.039122696965932846,
0.01600000075995922,
0.03212160989642143,
0.03130510449409485,
0.030697070062160492,
0.02407817728817463,
0.11875788122415543,
-0.08178936690092087,
0.012204126454889774,
-0.00021810534235555679,
-0.019422369077801704,
0.005984799470752478,
-0.06695331633090973,
-0.04989359900355339,
-0.037315964698791504,
0.010388708673417568,
-0.07657764106988907,
-0.02817806974053383,
-0.07136590778827667,
-0.00006497692811535671,
0.03102714568376541,
0.08359609544277191,
0.04676656052470207,
-0.04673181474208832,
0.03811509534716606,
0.05993485823273659,
-0.01386319287121296,
0.03696851432323456,
-0.014288817532360554,
-0.014384365640580654,
-0.03179153427481651,
0.016269274055957794,
-0.03078393265604973,
-0.0391574390232563,
-0.018849078565835953,
0.050136812031269073,
-0.028473399579524994,
-0.01848425716161728,
0.008521173149347305,
-0.002901194617152214,
-0.05277742072939873,
-0.023852335289120674,
-0.058649297803640366,
0.021246472373604774,
-0.007982628419995308,
0.11535288393497467,
0.001908794860355556,
-0.031270358711481094,
-0.022549403831362724,
0.03728121891617775,
-0.027882738038897514,
-0.05107492208480835,
-0.057815421372652054,
-0.07490988820791245,
0.0033333336468786,
0.003326818812638521,
-0.05368078500032425,
0.03064495325088501,
-0.020794790238142014,
-0.007947883568704128,
-0.027483172714710236,
-0.012794788926839828,
0.04047774523496628,
-0.012412595562636852,
-0.07789794355630875,
-0.021368078887462616,
0.03389359638094902,
0.06667535752058029,
-0.019352879375219345,
0.01978718861937523,
0.012733985669910908,
-0.03147882968187332,
0.039122696965932846,
0.015626493841409683,
-0.02941151149570942,
0.00897285621613264,
-0.0775504931807518,
-0.0670575499534607,
-0.04162432253360748,
0.026440827175974846,
0.026979371905326843,
0.0872095599770546,
-0.03121824376285076,
0.006145494524389505,
-0.04019978642463684,
-0.034258417785167694,
0.05242997035384178,
-0.014097720384597778,
0.0014234528644010425,
0.013150923885405064,
0.03264278173446655,
0.007326819002628326,
0.030297504737973213,
-0.003494028467684984,
0.060143325477838516,
0.017806733027100563,
0.006397394463419914,
-0.051630839705467224,
-0.01021498441696167,
0.010692725889384747,
0.02336590737104416,
-0.09290771186351776,
-0.0006520087481476367,
-0.01900543086230755,
-0.032503802329301834,
0.030540717765688896,
0.01041476707905531,
-0.1177850216627121,
-0.04124213010072708,
-0.057016290724277496,
0.0001440010964870453,
-0.06879479438066483,
0.05725950375199318,
0.03745494410395622,
-0.0387752465903759,
-0.02902931720018387,
0.0032725301571190357,
-0.001419109757989645,
-0.024998916313052177,
-0.0065711187198758125,
-0.0462106429040432,
-0.0031617810018360615,
0.03297285735607147,
-0.018397394567728043,
-0.010327905416488647,
-0.015887079760432243,
0.029046690091490746,
0.010232356376945972,
-0.014618893153965473,
-0.01654723286628723,
0.1155613511800766,
-0.02388708107173443,
0.047009773552417755,
0.00813029333949089,
-0.013750272803008556,
0.03797611594200134,
0.010770902037620544,
-0.012030402198433876,
-0.03163518011569977,
-0.04377850517630577,
0.013029316440224648,
0.019352879375219345,
0.013315961696207523,
-0.012733985669910908,
-0.02100325934588909,
-0.08901629596948624,
-0.00797394197434187,
-0.03648208826780319,
-0.04926818981766701,
-0.011535288766026497,
0.037698157131671906,
-0.03253854811191559,
-0.06876004487276077,
-0.003989142365753651,
-0.01853637397289276,
0.007895765826106071,
-0.00392833910882473,
-0.0008990228525362909,
0.011300761252641678,
0.016677524894475937,
0.01997828669846058,
-0.004877307452261448,
0.02270575612783432,
0.00796525552868843,
-0.03286862373352051,
-0.047600436955690384,
0.049476660788059235,
0.03166992589831352,
0.012647124007344246,
0.008868621662259102,
-0.035613466054201126,
-0.031148754060268402,
-0.019161781296133995,
-0.0447513610124588,
0.02836916595697403,
-0.01568729802966118,
0.028681868687272072,
-0.019943540915846825,
-0.0004239956906531006,
-0.01767643913626671,
0.08707058429718018,
0.0715743824839592,
0.025589577853679657,
-0.06514658778905869,
0.004694897215813398,
0.004768730141222477,
0.004542888607829809,
-0.00930293183773756,
-0.023018458858132362,
0.04103366285562515,
0.0038371337577700615,
-0.022914225235581398,
0.014167210087180138,
-0.02244517020881176,
0.006588491145521402,
-0.04839956760406494,
-0.03305971994996071,
-0.03361563757061958,
-0.03439739719033241,
-0.011656895279884338,
-0.01725081540644169,
0.04944191500544548,
0.006410423666238785,
0.01161346398293972,
-0.07105320692062378,
-0.003255157731473446,
0.011431054212152958,
0.024165039882063866,
-0.005133550614118576,
-0.02173290029168129,
0.049546148627996445,
-0.06611943989992142,
0.01727687381207943,
-0.07810641080141068,
0.03616938367486,
0.044925086200237274,
-0.006323562003672123,
0.06226276233792305,
-0.009311618283390999,
0.005007600877434015,
0.04575895890593529,
0.0376286655664444,
0.013098806142807007,
-0.011535288766026497,
0.016938112676143646,
-0.04457763582468033,
0.04242345690727234,
-0.03947014361619949,
-0.007370250299572945,
-0.037698157131671906,
0.0051813251338899136,
-0.06657112389802933,
0.0865146666765213,
0.023001087829470634,
-0.0041737244464457035,
0.03193051367998123
] |
10,379 | starlette.applications | add_route | null | def add_route(
self,
path: str,
route: typing.Callable,
methods: typing.List[str] = None,
name: str = None,
include_in_schema: bool = True,
) -> None:
self.router.add_route(
path, route, methods=methods, name=name, include_in_schema=include_in_schema
)
| (self, path: str, route: Callable, methods: Optional[List[str]] = None, name: Optional[str] = None, include_in_schema: bool = True) -> NoneType | [
-0.017493464052677155,
0.0004599147359840572,
0.013061901554465294,
-0.05090261995792389,
-0.02091628685593605,
-0.01163931842893362,
0.000371542148059234,
0.04659176245331764,
-0.06855989992618561,
0.006647344212979078,
0.006927549839019775,
-0.015329414047300816,
0.014010290615260601,
-0.0019150989828631282,
0.0029335394501686096,
0.03150375559926033,
0.06711144745349884,
-0.006772358901798725,
-0.04269474372267723,
-0.03291771560907364,
0.011975565925240517,
0.023985618725419044,
0.03824593871831894,
-0.04000476747751236,
0.015338035300374031,
0.03993579372763634,
-0.009078668430447578,
-0.002560649998486042,
0.029244866222143173,
0.0005286190425977111,
0.01648472435772419,
-0.045764077454805374,
-0.038694266229867935,
-0.014467242173850536,
0.016562318429350853,
-0.004470360465347767,
-0.022209543734788895,
-0.018933290615677834,
-0.003780623199418187,
0.016941674053668976,
0.054592713713645935,
0.05886908620595932,
-0.026382455602288246,
-0.05066120997071266,
0.041073862463235855,
-0.006789602339267731,
-0.0382804237306118,
0.04921276494860649,
0.009345941245555878,
-0.022606143727898598,
0.011423775926232338,
-0.03565942496061325,
0.049074817448854446,
0.033400531858205795,
0.012596328742802143,
0.004892824683338404,
0.004672970622777939,
0.05590321496129036,
0.060800351202487946,
-0.039625413715839386,
0.020657634362578392,
-0.018985021859407425,
0.0016704577719792724,
0.03200381621718407,
0.05297183245420456,
0.03529731184244156,
-0.02674456685781479,
-0.03617672622203827,
0.0359698049724102,
0.020071357488632202,
-0.006470598746091127,
-0.00626367749646306,
0.019209185615181923,
-0.00772505858913064,
0.04297063872218132,
0.04735047370195389,
0.02262338623404503,
-0.05141992121934891,
0.05300631746649742,
0.02588239498436451,
-0.006091243587434292,
-0.04276371747255325,
-0.06069689244031906,
-0.006509396713227034,
-0.05655846744775772,
0.0699048861861229,
0.013682665303349495,
-0.10808184742927551,
-0.00217375042848289,
-0.002258890075609088,
-0.07393985241651535,
-0.054316818714141846,
-0.051350947469472885,
-0.0009834145894274116,
-0.0007112916791811585,
-0.061076246201992035,
0.06704247742891312,
-0.041039373725652695,
-0.003890549996867776,
0.003127527888864279,
-0.013510230928659439,
0.006668898276984692,
-0.018933290615677834,
0.021295642480254173,
0.0170968659222126,
-0.03555596247315407,
0.014432755298912525,
-0.0036275875754654408,
-0.06411109119653702,
0.041660137474536896,
0.010044300928711891,
0.034883469343185425,
-0.010785768739879131,
0.007522448431700468,
-0.055213477462530136,
0.03707338497042656,
0.03572839871048927,
-0.01764865592122078,
-0.02383042685687542,
-0.004315169528126717,
0.024278756231069565,
-0.0037935557775199413,
0.027761930599808693,
-0.05066120997071266,
0.0028624101541936398,
0.010044300928711891,
-0.03212451934814453,
-0.002924917731434107,
-0.02153705060482025,
-0.05379951745271683,
0.008595852181315422,
0.018933290615677834,
0.015726013109087944,
0.03797004371881485,
-0.017829712480306625,
0.030727801844477654,
-0.005483412183821201,
0.025485796853899956,
0.010699551552534103,
0.06449044495820999,
-0.01563117280602455,
-0.012742898426949978,
0.006470598746091127,
-0.051971711218357086,
0.04093591496348381,
0.006121419370174408,
-0.021002503111958504,
0.02998633310198784,
-0.016372641548514366,
-0.005168719682842493,
-0.012260082177817822,
-0.010233978740870953,
-0.0004512930172495544,
0.013958560302853584,
0.05652397871017456,
0.00926834624260664,
0.020674878731369972,
0.0253133624792099,
0.0061386628076434135,
-0.053454648703336716,
0.03177965059876442,
0.028693076223134995,
-0.019829949364066124,
-0.040522072464227676,
-0.006974969524890184,
-0.02295101247727871,
0.03910810872912407,
0.038107991218566895,
-0.029055187478661537,
0.041694626212120056,
-0.011147880926728249,
-0.006742183119058609,
0.018381502479314804,
0.03714235872030258,
0.035211093723773956,
-0.06073137745261192,
-0.018036633729934692,
0.024020105600357056,
0.023675236850976944,
-0.030469149351119995,
0.05348913371562958,
-0.021416345611214638,
0.011751401238143444,
0.0125014903023839,
0.013036036863923073,
0.03507314622402191,
-0.002536940388381481,
0.0026274684350937605,
-0.00625074515119195,
0.025796178728342056,
-0.022847551852464676,
0.011828996241092682,
0.03797004371881485,
-0.036935437470674515,
-0.05679987370967865,
-0.028451668098568916,
-0.02295101247727871,
0.05173030495643616,
-0.0261582899838686,
-0.006410246714949608,
0.04466049745678902,
0.01587258093059063,
-0.028193015605211258,
0.007492272648960352,
0.061352141201496124,
-0.010216735303401947,
0.02914140559732914,
-0.030227741226553917,
-0.0006310019525699317,
-0.027399817481637,
0.02886551059782505,
-0.01618296280503273,
0.02588239498436451,
0.006151595618575811,
-0.030969208106398582,
0.03502141684293747,
-0.009811514057219028,
0.003259009215980768,
0.06090381368994713,
0.014674163423478603,
0.03824593871831894,
0.09780476242303848,
-0.031952083110809326,
0.014743137173354626,
0.019536811858415604,
-0.03150375559926033,
0.02208884060382843,
-0.08035440742969513,
-0.05407541245222092,
0.006793913431465626,
0.018329771235585213,
0.019657514989376068,
0.002265356248244643,
-0.05148889496922493,
-0.07669879496097565,
0.03883221372961998,
-0.009975327178835869,
0.026727324351668358,
-0.01398442592471838,
-0.03614224120974541,
0.034331679344177246,
0.06855989992618561,
-0.056075651198625565,
-0.0022976878099143505,
-0.006625789683312178,
0.012329055927693844,
-0.06462839245796204,
-0.032538361847400665,
0.016303667798638344,
-0.0025843598414212465,
-0.019450593739748,
-0.002102621365338564,
-0.016062259674072266,
0.009785649366676807,
-0.055454887449741364,
-0.013027414679527283,
-0.05200619995594025,
-0.0038797727320343256,
-0.021692240610718727,
0.022226788103580475,
0.0043862988241016865,
-0.021088721230626106,
0.04441908746957779,
-0.02414080873131752,
0.024571895599365234,
-0.0158553384244442,
-0.06269712746143341,
-0.04797123745083809,
-0.013449879363179207,
-0.026347968727350235,
0.0034573087468743324,
0.002381749451160431,
0.0066818310879170895,
-0.0075052049942314625,
0.07649187743663788,
-0.04621240496635437,
-0.0370388962328434,
0.03391783684492111,
-0.03288323059678078,
-0.007966467179358006,
-0.016312289983034134,
-0.04435011371970177,
0.0007048253901302814,
0.014674163423478603,
-0.03146926686167717,
0.07607803493738174,
0.017760738730430603,
0.07152576744556427,
-0.041936032474040985,
-0.0365905687212944,
0.0376596599817276,
0.025830665603280067,
-0.0046945251524448395,
0.05052326247096062,
0.05014390870928764,
0.04266025871038437,
-0.09021764993667603,
0.02502022311091423,
0.03738376498222351,
-0.037832096219062805,
0.008854503743350506,
0.01413099467754364,
0.06155906245112419,
-0.024244269356131554,
-0.0019474304281175137,
-0.027589496225118637,
-0.02826198935508728,
0.016545075923204422,
-0.050764672458171844,
0.006617167964577675,
-0.035452503710985184,
0.025744447484612465,
-0.10621955990791321,
-0.04917827621102333,
0.027899878099560738,
0.07621598243713379,
-0.009035560302436352,
0.013311931863427162,
-0.012682545930147171,
-0.010966824367642403,
-0.039625413715839386,
0.028986213728785515,
-0.029917359352111816,
-0.0524890162050724,
0.04148770496249199,
0.009466645307838917,
-0.0011714758584275842,
-0.0690082237124443,
-0.007250864524394274,
-0.01354471780359745,
0.014536215923726559,
0.05010941997170448,
0.008048373274505138,
0.03238316997885704,
-0.05762755870819092,
-0.038728754967451096,
-0.02502022311091423,
-0.03776312246918678,
-0.05655846744775772,
0.05704128369688988,
0.020726608112454414,
0.034314434975385666,
0.016545075923204422,
0.005414438433945179,
0.028451668098568916,
0.002610224997624755,
-0.020985260605812073,
0.015717390924692154,
-0.014527593739330769,
0.008475148119032383,
-0.015105249360203743,
-0.07242242991924286,
-0.01311363186687231,
-0.0348144955933094,
-0.0063412729650735855,
0.0004782358882948756,
0.017139974981546402,
-0.002504608826711774,
0.013027414679527283,
-0.0669734999537468,
-0.013217092491686344,
-0.002058434998616576,
-0.0370388962328434,
-0.004888513591140509,
-0.003726737340912223,
0.008143211714923382,
0.00807423796504736,
0.034314434975385666,
0.00882432796061039,
0.0182952843606472,
0.002424858044832945,
-0.004931622184813023,
0.04886789619922638,
0.04741944745182991,
-0.012260082177817822,
0.00008904617425287142,
0.12849807739257812,
0.005849835462868214,
-0.05393746495246887,
0.008509634993970394,
-0.038901187479496,
0.01234629936516285,
0.04969557747244835,
-0.034573085606098175,
0.04686765745282173,
-0.04086694121360779,
0.08380309492349625,
0.009587349370121956,
-0.016915809363126755,
-0.02765846997499466,
-0.012242838740348816,
-0.0055222101509571075,
-0.003037000074982643,
-0.01998514123260975,
-0.0073888120241463184,
-0.04966109246015549,
-0.010415034368634224,
0.008634650148451328,
-0.0007188356830738485,
0.03029671497642994,
0.06797362118959427,
0.0018267263658344746,
-0.005754996556788683,
0.011751401238143444,
0.04083245247602463,
0.03114164248108864,
-0.02910691872239113,
0.016001908108592033,
0.01622607186436653,
-0.029348326846957207,
0.010035678744316101,
0.016941674053668976,
-0.054316818714141846,
0.015381144359707832,
-0.029072431847453117,
0.00838461983948946,
0.10856466740369797,
0.018691882491111755,
-0.05821383744478226,
0.025520283728837967,
0.037245817482471466,
0.0012102735927328467,
0.002996046794578433,
0.08228567242622375,
0.046350352466106415,
-0.005944674368947744,
0.011656561866402626,
-0.0020347253885120153,
0.011872105300426483,
0.007988020777702332,
-0.023416584357619286,
-0.017760738730430603,
0.0009963471675291657,
-0.021071476861834526,
-0.008677758276462555,
-0.025503039360046387,
0.016053637489676476,
-0.08573435992002487,
-0.03169343248009682,
0.03321085497736931,
0.04748842120170593,
-0.01762279123067856,
-0.0441431924700737,
-0.039625413715839386,
-0.02005411498248577,
-0.035521477460861206,
0.00596191780641675,
0.010121895931661129,
0.10173626244068146,
-0.06397314369678497,
0.040797967463731766,
-0.007483650930225849,
0.01614847593009472,
0.059938181191682816,
-0.040797967463731766,
-0.020726608112454414,
0.03529731184244156,
-0.04979903995990753,
-0.01027708686888218,
0.0031577039044350386,
0.019640272483229637,
0.016312289983034134,
0.0034637749195098877,
0.005711887963116169,
-0.01179450936615467,
0.031348563730716705,
-0.012579085305333138,
-0.022761333733797073,
0.009906353428959846,
-0.07304318994283676,
0.07180166244506836,
-0.022916525602340698,
-0.03265906497836113,
-0.038970161229372025,
0.08049235492944717,
0.02203710936009884,
0.014312051236629486,
-0.010087409056723118,
-0.0648353174328804,
0.004362589213997126,
0.04848853871226311,
-0.0524890162050724,
-0.016364019364118576,
0.019036751240491867,
0.03914259746670723,
0.06887027621269226,
0.011225475929677486,
0.0025972924195230007,
0.013906829990446568,
0.006078310776501894,
0.017760738730430603,
0.021347371861338615,
-0.01222559530287981,
0.04203949496150017,
-0.009647701866924763,
0.04093591496348381,
0.004457428120076656,
-0.01484659779816866,
0.00161657202988863,
0.01456208061426878,
-0.019174698740243912,
-0.018467718735337257,
-0.006500774994492531,
0.0250029806047678,
-0.006108487024903297,
0.059317417442798615,
-0.00969080999493599,
-0.010139139369130135,
-0.035193849354982376,
0.014493106864392757,
-0.03257284685969353,
0.000915518612600863,
0.04238436371088028,
0.03353847935795784,
0.04128078371286392,
0.03793555498123169,
-0.022226788103580475,
-0.013036036863923073,
-0.03333155810832977,
-0.02734808810055256,
-0.015355278737843037,
-0.012363542802631855,
0.06093829870223999,
-0.01560530811548233,
0.006436111871153116,
0.017545195296406746,
0.002511075232177973,
-0.03700441122055054,
0.061352141201496124,
0.02796885184943676,
0.03450411185622215,
0.09925320744514465,
-0.006677519995719194,
0.002394682029262185,
0.0418325737118721,
0.06869784742593765,
-0.01826079748570919,
-0.021847432479262352,
-0.03091747872531414,
-0.018484963104128838,
-0.029072431847453117,
-0.01650196686387062,
-0.04921276494860649,
-0.018950534984469414,
-0.03478000685572624,
-0.022554412484169006,
0.0022782888263463974,
-0.05121299996972084,
0.03883221372961998,
-0.10615058243274689,
0.0165192112326622,
0.03745273873209953,
-0.033090151846408844,
0.03914259746670723,
0.030710557475686073,
0.02527887560427189,
0.02827923372387886,
-0.03600429370999336,
-0.02791712060570717,
0.00356292468495667,
-0.04276371747255325,
0.024227026849985123,
0.00043674386688508093,
0.02445119060575962,
-0.005207517184317112,
0.005798105150461197,
0.008496702648699284,
-0.0523165799677372,
0.024640869349241257,
-0.014398268423974514,
0.0024658110924065113,
-0.06024856120347977,
0.0019959276542067528,
-0.09490786492824554,
-0.0261582899838686,
0.03257284685969353,
0.005349775776267052,
-0.0070913624949753284,
-0.007337081711739302,
-0.022726846858859062,
-0.04679868370294571,
0.0014419822255149484,
-0.057834479957818985,
-0.019364377483725548,
-0.04555715620517731,
0.021899161860346794,
-0.0015335880452767015,
0.03415924310684204,
0.008914856240153313,
0.011854861862957478,
-0.0018536692950874567,
-0.04128078371286392,
0.015760499984025955,
-0.019536811858415604,
-0.01118236780166626,
0.03452135622501373,
-0.020519686862826347,
0.03346950560808182,
0.021105963736772537,
0.023847671225667,
-0.030520880594849586,
-0.010173626244068146,
0.021364616230130196,
-0.04835059121251106,
-0.0032094342168420553,
0.03617672622203827,
-0.04331550747156143,
0.007173269055783749,
-0.052213121205568314,
0.012441137805581093,
0.021278398111462593,
0.003073642263188958,
0.019260916858911514,
0.051661331206560135,
0.00010123781976290047,
-0.024830546230077744,
-0.05262696370482445,
-0.021588779985904694,
0.05859319120645523,
-0.004138424526900053,
-0.027468791231513023,
-0.046695221215486526,
0.03243489935994148,
-0.015363900922238827,
0.014631054364144802,
0.05938639119267464,
-0.011285828426480293,
-0.007612976711243391,
-0.0031426160130649805,
0.047798801213502884,
-0.040763478726148605,
-0.06538710743188858,
-0.005759307183325291,
-0.008578608743846416,
0.0232269074767828,
-0.038901187479496,
0.011303071863949299,
-0.01974373310804367,
0.003907793201506138,
-0.020088601857423782,
-0.08587230741977692,
-0.003226677654311061,
-0.04086694121360779,
-0.019053995609283447,
0.03907362371683121,
0.0935283899307251,
0.007867316715419292,
-0.08235464245080948,
0.06597337871789932,
-0.05245452746748924,
-0.005586872808635235,
-0.01850220561027527,
-0.037211332470178604,
0.04979903995990753,
0.11532409489154816,
0.02679629810154438,
-0.0487644337117672,
-0.03384886309504509,
0.0006638722261413932,
0.030848504975438118,
-0.034314434975385666,
-0.06893925368785858,
0.053109779953956604,
-0.06317994743585587,
-0.07614700496196747,
-0.009785649366676807,
0.02293376810848713,
-0.009785649366676807,
0.0021769837476313114,
0.010027057491242886,
0.005841213744133711,
-0.010121895931661129,
0.03876323997974396,
0.029055187478661537,
0.02358901873230934,
0.02270960435271263,
-0.0554203987121582,
-0.06376621872186661,
-0.04362589120864868,
-0.04555715620517731,
-0.08897612243890762,
0.0018245709361508489,
0.023330368101596832,
0.013630934990942478,
-0.005254936870187521,
0.05738615244626999,
0.03360745310783386,
0.04390178620815277,
0.033728159964084625,
0.016958918422460556,
0.0669734999537468,
-0.022295761853456497,
-0.00954424124211073,
0.029969090595841408,
-0.0019840726163238287,
0.06624927371740341,
0.012717032805085182,
-0.0987703949213028,
0.007858695462346077,
0.018105607479810715,
0.00984600093215704,
0.05445476621389389,
0.029555248096585274,
0.04966109246015549,
-0.04790226370096207,
-0.03131407871842384,
0.029675951227545738,
-0.03652159497141838,
-0.001651058904826641,
-0.005336842965334654,
-0.025434065610170364,
-0.02681354060769081,
0.08511359244585037,
0.016648536548018456,
-0.009923596866428852,
0.019640272483229637,
0.04324653372168541,
0.024313243106007576,
-0.010768525302410126,
-0.01795041561126709,
0.003224522341042757,
-0.05097159370779991,
0.03676300495862961,
-0.07725058495998383,
-0.0011542324209585786,
-0.04145321622490883,
-0.053696054965257645,
-0.0133895268663764,
0.054282333701848984,
-0.05410989746451378,
-0.020709365606307983,
0.019864436239004135,
0.025951368734240532,
0.1296706348657608,
0.03152099996805191,
0.002590826014056802,
-0.04003925621509552,
0.034331679344177246,
-0.009345941245555878,
-0.01769176498055458,
-0.02093352936208248,
0.036383647471666336,
0.04976455122232437,
-0.04424665495753288,
0.05286836996674538,
-0.032538361847400665,
0.00782851967960596,
0.0771816149353981,
-0.011570344679057598,
0.0487644337117672,
0.00841479655355215,
0.0262445081025362,
0.04679868370294571,
-0.01707962155342102,
-0.047247011214494705,
-0.026261750608682632,
0.005323910620063543,
-0.00837168749421835,
0.012725654989480972,
-0.05679987370967865,
-0.04466049745678902,
0.019019508734345436,
-0.00434534577652812,
-0.015010409988462925,
0.09180404990911484,
0.01946783810853958,
-0.013768882490694523,
0.05121299996972084
] |
10,380 | starlette.applications | add_websocket_route | null | def add_websocket_route(
self, path: str, route: typing.Callable, name: str = None
) -> None:
self.router.add_websocket_route(path, route, name=name)
| (self, path: str, route: Callable, name: Optional[str] = None) -> NoneType | [
-0.026011649519205093,
0.013618357479572296,
-0.045142799615859985,
-0.022604962810873985,
-0.0118227144703269,
0.0026724874041974545,
0.018040338531136513,
0.06823442876338959,
-0.05507757142186165,
-0.0011705242795869708,
0.0306434016674757,
-0.012309384532272816,
0.031230762600898743,
-0.016068486496806145,
-0.0056596314534544945,
0.03079443797469139,
0.08095496892929077,
-0.02087644673883915,
-0.033076751977205276,
-0.038799311965703964,
0.0018271086737513542,
-0.015934232622385025,
0.05457412078976631,
-0.03829586133360863,
-0.00969143770635128,
0.024266352877020836,
-0.0381951704621315,
0.062193017452955246,
-0.006616189144551754,
-0.042793359607458115,
-0.0021428146865218878,
-0.07095307111740112,
-0.0034486413933336735,
0.009817300364375114,
0.0155985988676548,
0.018728388473391533,
-0.03418434411287308,
-0.040611736476421356,
-0.021782658994197845,
-0.0081349341198802,
0.08605660498142242,
0.07102019339799881,
-0.03722183406352997,
-0.0236454289406538,
0.04826419800519943,
-0.0054876189678907394,
-0.03849724307656288,
0.05826609581708908,
-0.010664776898920536,
-0.0006922455504536629,
-0.025189345702528954,
0.006926650647073984,
0.02527325600385666,
0.040175411850214005,
0.015330092050135136,
0.015120320953428745,
0.001345683354884386,
0.029905006289482117,
0.049539607018232346,
-0.03295927867293358,
0.0020400267094373703,
0.003614360699430108,
-0.008021657355129719,
0.06027990207076073,
0.04030966758728027,
-0.02884775958955288,
0.016219522804021835,
-0.016966309398412704,
0.042122092097997665,
0.005219111684709787,
0.023964282125234604,
0.047055914998054504,
0.01745297759771347,
-0.031381797045469284,
0.006439981050789356,
0.07927680015563965,
0.008453786373138428,
-0.021228862926363945,
-0.003047978039830923,
0.06481096148490906,
0.009196377359330654,
0.00047408329555764794,
-0.023192323744297028,
0.023813245818018913,
-0.0337648019194603,
0.04161864146590233,
0.004522670991718769,
-0.07981381565332413,
-0.03779241070151329,
-0.02225254662334919,
-0.038530804216861725,
-0.028898105025291443,
-0.04312899336218834,
-0.04598188400268555,
0.042927615344524384,
-0.07511493563652039,
0.022554617375135422,
-0.011394781060516834,
0.046787407249212265,
-0.02059115841984749,
-0.026464756578207016,
0.0472908578813076,
-0.03336203843355179,
0.0043758307583630085,
0.03547653555870056,
-0.07780000567436218,
0.034150779247283936,
-0.02349439449608326,
-0.07102019339799881,
0.025508198887109756,
0.03339560329914093,
0.009674656204879284,
0.0024291526060551405,
0.027035335078835487,
-0.04051104933023453,
0.07598758488893509,
0.019282184541225433,
-0.004413589835166931,
0.01909758523106575,
-0.023981062695384026,
0.0075182062573730946,
0.011512253433465958,
0.045109234750270844,
-0.01938287541270256,
-0.014163763262331486,
0.04084668308496475,
-0.0025592108722776175,
-0.002901138039305806,
0.005214916542172432,
-0.007350388914346695,
0.03294249624013901,
0.04289405047893524,
0.010689949616789818,
0.011529034934937954,
-0.022907033562660217,
0.012267430312931538,
-0.018342409282922745,
-0.018929768353700638,
0.027857638895511627,
0.0417528934776783,
-0.01938287541270256,
-0.013047778978943825,
-0.007992289029061794,
-0.030727310106158257,
0.05252675339579582,
0.022051166743040085,
-0.06309922784566879,
0.042826924473047256,
0.003064759774133563,
0.002120788674801588,
-0.017755048349499702,
0.03368089348077774,
-0.016739755868911743,
-0.002909529022872448,
0.0415179505944252,
0.007367170415818691,
0.015145492739975452,
0.03327812999486923,
0.020154833793640137,
-0.020389776676893234,
0.038698624819517136,
-0.010731903836131096,
-0.04460578411817551,
-0.043766699731349945,
-0.011470298282802105,
-0.025390727445483208,
0.05746057629585266,
0.03311031311750412,
-0.02116173692047596,
0.06565004587173462,
0.0034989865962415934,
0.02926730178296566,
0.02651510201394558,
0.03037489578127861,
0.05601734668016434,
-0.02800867334008217,
-0.024937620386481285,
0.016261477023363113,
0.013089734129607677,
-0.04383382573723793,
0.030458804219961166,
-0.026867518201470375,
0.015606990084052086,
0.01619434915482998,
-0.0011998922564089298,
0.045008547604084015,
-0.017822176218032837,
0.0022823126055300236,
0.006914064288139343,
0.006821765098720789,
-0.04739154875278473,
-0.01938287541270256,
0.05135203152894974,
-0.006037220358848572,
-0.0032976060174405575,
0.000481163093354553,
0.02475302293896675,
0.059306561946868896,
-0.03260686248540878,
-0.008650971576571465,
0.04547843337059021,
0.023729337379336357,
-0.029737189412117004,
-0.007925162091851234,
0.061756692826747894,
-0.0692748948931694,
0.02322588674724102,
-0.02967006340622902,
-0.0006838546833023429,
-0.042659107595682144,
0.02611234039068222,
-0.00007158447988331318,
0.05568171292543411,
0.020725412294268608,
-0.0283107440918684,
0.008877524174749851,
-0.059977829456329346,
-0.028612814843654633,
0.07397377490997314,
0.023880373686552048,
0.045277051627635956,
0.06279715895652771,
-0.022990942001342773,
0.008516717702150345,
0.018644480034708977,
-0.024283133447170258,
0.003450739197432995,
-0.10055600851774216,
-0.04819707199931145,
0.06383762508630753,
0.02282312512397766,
0.00820206105709076,
0.04124944284558296,
-0.03970552608370781,
-0.08760052919387817,
0.03655056282877922,
-0.05209042876958847,
0.042122092097997665,
-0.020641503855586052,
-0.012376511469483376,
0.012418465688824654,
0.008701317012310028,
-0.017025044187903404,
0.05356721952557564,
0.04232347384095192,
0.011084319092333317,
-0.041450824588537216,
-0.03480526804924011,
0.007572746369987726,
0.010018681176006794,
-0.054339177906513214,
0.029720408841967583,
-0.029065921902656555,
-0.027924764901399612,
-0.03655056282877922,
-0.03987334296107292,
-0.07437653839588165,
0.006439981050789356,
-0.023309795185923576,
0.018308846279978752,
-0.011285699903964996,
0.02200082130730152,
0.02045690454542637,
0.016236305236816406,
0.011730414815247059,
-0.06195807456970215,
-0.09941484779119492,
-0.013131688348948956,
-0.02901557646691799,
-0.013920428231358528,
-0.01374422013759613,
-0.012754099443554878,
0.02349439449608326,
0.015615381300449371,
0.04591475799679756,
-0.10411372780799866,
-0.01582515239715576,
0.028663160279393196,
-0.0037381257861852646,
-0.05568171292543411,
-0.033462729305028915,
-0.015002848580479622,
-0.015892278403043747,
0.02968684397637844,
-0.07988093793392181,
0.07410803437232971,
0.03255651891231537,
0.023964282125234604,
-0.008512522093951702,
-0.07840415090322495,
-0.0021029580384492874,
-0.03435216099023819,
-0.019030459225177765,
0.06199163571000099,
0.032623644918203354,
0.05618516355752945,
-0.0437331348657608,
0.05829966068267822,
0.054741937667131424,
-0.02612912282347679,
0.0346374474465847,
0.04658602550625801,
0.05198973789811134,
-0.019466783851385117,
-0.008109761402010918,
-0.033311694860458374,
-0.04423658549785614,
0.03587929531931877,
-0.06330060958862305,
0.0017337603494524956,
-0.025776706635951996,
-0.01991988904774189,
-0.07894116640090942,
-0.034570321440696716,
0.058165404945611954,
0.08283451944589615,
-0.0027857639361172915,
0.0032346746884286404,
0.005143593996763229,
0.0054540554992854595,
-0.001976046245545149,
-0.02599486894905567,
-0.02649831958115101,
-0.028982013463974,
0.020507249981164932,
-0.026867518201470375,
0.017939647659659386,
-0.07001329213380814,
0.02200082130730152,
-0.017771830782294273,
-0.039101384580135345,
0.034268252551555634,
0.018040338531136513,
-0.008193669840693474,
-0.036617692559957504,
-0.043095432221889496,
-0.03504021093249321,
-0.0009146031807176769,
-0.05000949651002884,
0.026414411142468452,
0.01911436766386032,
0.0557488389313221,
0.0300896055996418,
0.024367041885852814,
0.025206128135323524,
0.006234405096620321,
-0.05383572354912758,
0.017620794475078583,
-0.00020806698012165725,
-0.03500664606690407,
0.02502152882516384,
-0.0675296038389206,
-0.054070670157670975,
-0.018325626850128174,
0.008092979900538921,
0.03175099566578865,
0.025088656693696976,
-0.016446076333522797,
0.004837328102439642,
-0.03394939750432968,
-0.013912037946283817,
0.04990880563855171,
-0.022705653682351112,
-0.0029053334146738052,
-0.027689822018146515,
0.027018552646040916,
0.053365837782621384,
0.049103282392024994,
-0.0030081213917583227,
0.035812169313430786,
0.0020620524883270264,
0.02429991587996483,
0.0701475441455841,
0.031012600287795067,
-0.02869672328233719,
-0.009288676083087921,
0.07202710211277008,
-0.0041702548041939735,
-0.04658602550625801,
-0.026766827329993248,
-0.028361089527606964,
0.006419003941118717,
0.07128870487213135,
0.004736637696623802,
0.044471532106399536,
-0.04135013371706009,
0.02225254662334919,
0.0003088883531745523,
-0.006645557004958391,
0.004205916076898575,
0.00518974382430315,
-0.006997973192483187,
0.03213697299361229,
-0.000215408974327147,
0.013912037946283817,
-0.010119371116161346,
0.0003639533242676407,
0.02471945807337761,
0.007732172962278128,
0.035375844687223434,
0.06330060958862305,
-0.0021365215070545673,
-0.050110187381505966,
0.016941135749220848,
0.014574915170669556,
0.049103282392024994,
-0.022974161431193352,
0.06132036820054054,
-0.00023258400324266404,
-0.04131656885147095,
-0.008969823829829693,
0.014306407421827316,
-0.0714900866150856,
0.011386389844119549,
-0.014591696672141552,
0.006054001860320568,
0.07276549190282822,
-0.009506838396191597,
-0.05386928841471672,
0.02265530824661255,
-0.0038807704113423824,
-0.007707000244408846,
0.05548033118247986,
0.07397377490997314,
0.012821226380765438,
-0.007614701054990292,
0.012519155628979206,
0.014474225230515003,
-0.02448451519012451,
0.01250237412750721,
-0.007992289029061794,
-0.05964219570159912,
0.028260398656129837,
-0.011982141062617302,
0.008357291109859943,
0.004212209023535252,
0.006964409723877907,
0.004598188679665327,
-0.01745297759771347,
0.018577352166175842,
0.03092869184911251,
-0.0052610659040510654,
-0.035241588950157166,
-0.02362864837050438,
0.013509276323020458,
-0.013383413664996624,
-0.03698688745498657,
-0.0010257819667458534,
0.08162623643875122,
-0.049103282392024994,
0.026179468259215355,
-0.02240358293056488,
0.010320751927793026,
0.03681907057762146,
-0.006301532033830881,
-0.02377968281507492,
0.01222547609359026,
-0.04984167963266373,
0.010362706147134304,
-0.038530804216861725,
0.046250391751527786,
0.012879962101578712,
0.00683435145765543,
-0.024635549634695053,
-0.019617818295955658,
0.02404819056391716,
0.02310841530561447,
-0.052828822284936905,
0.02732062339782715,
-0.0497409887611866,
0.0697447881102562,
0.011210181750357151,
-0.012611455284059048,
-0.05128490552306175,
0.07498067617416382,
0.01203248556703329,
-0.023192323744297028,
0.006939237006008625,
-0.03926920145750046,
0.002909529022872448,
-0.012594672851264477,
-0.007560160476714373,
-0.009867645800113678,
0.016185959801077843,
0.011579379439353943,
0.05373503640294075,
0.03287537023425102,
-0.015900669619441032,
0.047458674758672714,
0.022873470559716225,
-0.0395377092063427,
0.0357450433075428,
-0.0004365866770967841,
-0.007174180820584297,
0.0428604856133461,
0.03641631081700325,
-0.01938287541270256,
-0.01579158939421177,
0.002615849021822214,
0.02762269414961338,
-0.0272031519562006,
-0.019265402108430862,
-0.0036835852079093456,
0.03890000283718109,
0.0038723796606063843,
0.01031236071139574,
-0.021799441426992416,
-0.00040616982732899487,
-0.024920839816331863,
0.018308846279978752,
-0.004992558620870113,
0.0186612606048584,
0.005319802090525627,
0.03190203011035919,
0.027656257152557373,
0.00009334825881524011,
-0.012284211814403534,
-0.03175099566578865,
-0.05809827893972397,
-0.03356342017650604,
0.0023997845128178596,
0.017536886036396027,
0.061756692826747894,
0.005475033074617386,
0.014759513549506664,
-0.011185009963810444,
0.009943163022398949,
-0.05430561304092407,
0.05272813141345978,
0.03829586133360863,
0.02873028814792633,
0.10317394882440567,
-0.030257422477006912,
-0.0030794437043368816,
0.04564625024795532,
0.025055093690752983,
-0.008420223370194435,
-0.022974161431193352,
-0.028914885595440865,
-0.015028021298348904,
-0.041450824588537216,
-0.026078777387738228,
-0.013131688348948956,
-0.06440820544958115,
-0.08182761818170547,
-0.00158062728587538,
-0.02035621367394924,
-0.029317647218704224,
-0.010069025680422783,
-0.09162813425064087,
0.0010137201752513647,
0.04836488887667656,
-0.04071242734789848,
0.02638084813952446,
-0.02856246940791607,
-0.03149927034974098,
0.015909060835838318,
-0.03769171983003616,
-0.027790511026978493,
-0.003635337809100747,
-0.043095432221889496,
0.006511303596198559,
-0.0028780633583664894,
0.03749033808708191,
-0.006758833769708872,
-0.00023887715360615402,
0.0014914744533598423,
-0.05004305765032768,
-0.007639873307198286,
0.0012250648578628898,
-0.007237112615257502,
-0.06843581050634384,
0.004447153303772211,
-0.11787472665309906,
-0.026750044897198677,
-0.015036412514746189,
0.044303715229034424,
-0.013836519792675972,
0.015464345924556255,
-0.006872110068798065,
-0.027018552646040916,
0.021128172054886818,
-0.04923753812909126,
-0.024635549634695053,
-0.029317647218704224,
0.01524618361145258,
0.04054461047053337,
0.04735798388719559,
-0.02638084813952446,
-0.0029409946873784065,
0.004652729257941246,
-0.04111519083380699,
0.00765665527433157,
-0.036886196583509445,
-0.005005144979804754,
0.00504290359094739,
-0.0013949796557426453,
0.04383382573723793,
-0.0012712145689874887,
0.062427960336208344,
-0.03196915611624718,
0.01422249898314476,
0.03062662109732628,
-0.028780631721019745,
-0.011965359561145306,
0.03520802780985832,
-0.03396617993712425,
0.002842402085661888,
-0.04215565696358681,
0.005747735500335693,
0.012351338751614094,
0.024518078193068504,
-0.012552718631923199,
0.0675296038389206,
-0.016177568584680557,
0.01601814292371273,
-0.051754795014858246,
-0.027119243517518044,
0.025088656693696976,
0.017503323033452034,
-0.005965897813439369,
-0.043464627116918564,
0.008139129728078842,
-0.015296528115868568,
-0.0005789690185338259,
0.023981062695384026,
0.028277181088924408,
0.00043789774645119905,
-0.023141978308558464,
0.005093249026685953,
-0.03836298733949661,
-0.048029255121946335,
0.015271356329321861,
-0.04188714921474457,
-0.011663288809359074,
-0.03903425857424736,
-0.03406687080860138,
-0.028226835653185844,
-0.011638116091489792,
-0.040745992213487625,
-0.03769171983003616,
0.01814102753996849,
-0.0030332941096276045,
-0.049271099269390106,
0.041853584349155426,
0.10639604181051254,
0.050781454890966415,
-0.051184214651584625,
0.014281234703958035,
-0.05782977119088173,
0.010463396087288857,
-0.02225254662334919,
-0.009615919552743435,
0.09585712850093842,
0.07095307111740112,
0.08901018649339676,
-0.0236454289406538,
-0.024937620386481285,
0.016597110778093338,
0.025508198887109756,
0.008172692731022835,
-0.05289594829082489,
0.028780631721019745,
-0.0035661133006215096,
-0.08713063597679138,
-0.013207205571234226,
0.028277181088924408,
-0.01491054892539978,
-0.016185959801077843,
-0.021128172054886818,
0.006905673537403345,
0.009582356549799442,
0.04490785673260689,
0.008835569955408573,
-0.006935041397809982,
0.027236714959144592,
-0.05276169627904892,
-0.054876189678907394,
-0.027236714959144592,
-0.02282312512397766,
-0.09585712850093842,
0.03196915611624718,
-0.005298824980854988,
-0.00008122085273498669,
-0.012342947535216808,
0.07437653839588165,
0.021245645359158516,
0.04557912424206734,
0.06803305447101593,
-0.013886865228414536,
0.04759293049573898,
-0.004703074228018522,
-0.043766699731349945,
0.01636216789484024,
-0.013635138981044292,
0.02814292721450329,
0.00121142971329391,
-0.06279715895652771,
0.025340382009744644,
0.013307895511388779,
-0.015296528115868568,
0.056118037551641464,
0.03418434411287308,
0.03091190941631794,
-0.009204767644405365,
-0.060816917568445206,
0.027270277962088585,
-0.05272813141345978,
0.006402222439646721,
-0.00673366105183959,
-0.08310303092002869,
-0.058165404945611954,
0.08679500222206116,
0.025390727445483208,
-0.04067886620759964,
0.015279746614396572,
0.016639064997434616,
0.005219111684709787,
-0.008013266138732433,
-0.002240358153358102,
-0.023981062695384026,
-0.03947058320045471,
0.04823063313961029,
-0.0437331348657608,
0.027857638895511627,
-0.04880121350288391,
-0.03378158062696457,
0.003584992839023471,
0.019332529976963997,
-0.05259387940168381,
-0.025608889758586884,
-0.001492523355409503,
0.013517667539417744,
0.1585536003112793,
0.06454245746135712,
0.022034384310245514,
-0.019450001418590546,
0.02349439449608326,
-0.05813184380531311,
0.00360596994869411,
-0.014583305455744267,
0.011210181750357151,
0.011428344063460827,
-0.037993792444467545,
0.0254242904484272,
-0.03967196121811867,
0.011520643718540668,
0.05595022067427635,
-0.013551230542361736,
0.07746437191963196,
0.025256473571062088,
-0.007165790069848299,
-0.011352826841175556,
-0.005294629372656345,
-0.07383952289819717,
-0.027102461084723473,
-0.01710895262658596,
-0.006163083016872406,
-0.02817649021744728,
-0.023444049060344696,
-0.041417259722948074,
0.07578620314598083,
0.009380975738167763,
-0.00974178221076727,
0.07068455964326859,
0.02336014062166214,
-0.006276359315961599,
0.01963460072875023
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.