index
int64
0
731k
package
stringlengths
2
98
name
stringlengths
1
76
docstring
stringlengths
0
281k
code
stringlengths
4
8.19k
signature
stringlengths
2
42.8k
embed_func_code
listlengths
768
768
41,955
unittest.case
id
null
def id(self): return "%s.%s" % (strclass(self.__class__), self._testMethodName)
(self)
[ 0.004320670384913683, -0.001246388885192573, 0.0682990774512291, 0.01801903545856476, 0.041928909718990326, -0.05956677719950676, 0.045636676251888275, 0.07034354656934738, -0.003517177188768983, -0.016139166429638863, -0.04958700016140938, 0.021345628425478935, 0.015931254252791405, 0.02591969072818756, 0.006752807181328535, -0.03735484927892685, 0.020739218220114708, -0.018816031515598297, -0.007740389090031385, -0.03912210091948509, -0.00755846593528986, 0.06892281025648117, 0.042725905776023865, -0.044839680194854736, 0.028726501390337944, 0.09681766480207443, 0.0009805430890992284, -0.005193467251956463, 0.042136821895837784, -0.03576085716485977, -0.07637298852205276, -0.07692742347717285, -0.01895464025437832, 0.052116598933935165, -0.01860811933875084, -0.001330853090621531, -0.06538830697536469, 0.041582390666007996, -0.05620553344488144, -0.01464046724140644, 0.039503272622823715, 0.04605249688029289, 0.01362689584493637, -0.03735484927892685, -0.014614477753639221, -0.008948877453804016, 0.002650877460837364, -0.008598025888204575, -0.026647383347153664, -0.027912180870771408, -0.0034175526816397905, -0.03373371437191963, -0.0176811795681715, 0.014753085561096668, -0.0321570485830307, 0.03721623867750168, 0.05079982057213783, -0.03047642856836319, 0.008974866010248661, 0.056621357798576355, -0.03096155636012554, 0.029696756973862648, 0.03842905908823013, -0.01014437060803175, -0.023043574765324593, -0.026491448283195496, -0.05228985846042633, 0.05034934729337692, -0.005405711010098457, 0.0306670144200325, 0.06303197145462036, -0.027738919481635094, 0.02562514878809452, 0.032139722257852554, 0.032884739339351654, -0.030459102243185043, -0.05021073669195175, -0.008654335513710976, 0.039849791675806046, 0.0314120315015316, -0.000014229651242203545, 0.00609875051304698, -0.040092356503009796, -0.025347933173179626, -0.012128197588026524, -0.05038399621844292, 0.015246876515448093, -0.06237358599901199, -0.07013563066720963, -0.03498118743300438, 0.008753960020840168, -0.009174115024507046, -0.041478436440229416, -0.010603509843349457, -0.026439471170306206, -0.06587343662977219, 0.011183930560946465, -0.004543742630630732, 0.04220612719655037, -0.0073938691057264805, 0.021345628425478935, 0.014224642887711525, -0.015099605545401573, 0.0032074751798063517, -0.013860797509551048, -0.011287886649370193, -0.06126472353935242, 0.011435157619416714, -0.0386023186147213, 0.016537664458155632, 0.03092690370976925, 0.05069586634635925, -0.04691879823803902, -0.01503896526992321, 0.09051100164651871, -0.07228405773639679, 0.018868010491132736, -0.008814600296318531, 0.025590496137738228, -0.018469512462615967, 0.012500706128776073, 0.022783685475587845, -0.07540273666381836, 0.003725089132785797, 0.01914522610604763, 0.01924918219447136, -0.030355146154761314, 0.002772159408777952, 0.0415477380156517, -0.11698512732982635, 0.05183938145637512, 0.008914224803447723, -0.03357778117060661, 0.05017608404159546, 0.03721623867750168, 0.019768962636590004, 0.04383477196097374, 0.08912492543458939, 0.005154483951628208, 0.09044170379638672, -0.0025815735571086407, 0.022870315238833427, -0.01874672807753086, 0.027738919481635094, -0.009018180891871452, 0.005137158092111349, -0.03572620451450348, 0.04879000410437584, 0.011296549811959267, 0.008186533115804195, 0.01840020902454853, -0.02756565995514393, 0.0018040693830698729, 0.02087782509624958, -0.012448728084564209, -0.04258729889988899, -0.037770673632621765, 0.03524107486009598, 0.017022792249917984, -0.10582718253135681, 0.02879580669105053, -0.039572574198246, 0.01999419927597046, -0.016814880073070526, 0.026352841407060623, 0.007562797516584396, -0.013029149733483791, 0.014155339449644089, -0.007749051786959171, -0.020895151421427727, -0.04078539460897446, -0.015532756224274635, -0.04719601571559906, 0.03818649426102638, -0.048166271299123764, 0.007454509846866131, -0.0022328877821564674, 0.05537388473749161, 0.03839440643787384, 0.03226100653409958, 0.012448728084564209, 0.015576071105897427, -0.038117192685604095, 0.030753644183278084, 0.028830457478761673, 0.020098155364394188, 0.0321570485830307, 0.014467206783592701, 0.01274327002465725, -0.029124999418854713, -0.05149286240339279, 0.008814600296318531, 0.009200104512274265, 0.07304640114307404, 0.003657951019704342, -0.005522661376744509, -0.027548333629965782, -0.023511376231908798, 0.010352282784879208, 0.05079982057213783, -0.009910469874739647, 0.0984809622168541, -0.015376822091639042, -0.00701269693672657, 0.039607226848602295, -0.00732023362070322, 0.0430377759039402, 0.0020163129083812237, -0.004039122723042965, -0.014475869946181774, 0.043418947607278824, 0.0026898609939962626, -0.028969066217541695, 0.05131960287690163, 0.011565102264285088, -0.06767534464597702, 0.009927796199917793, -0.027340421453118324, 0.0061030820943415165, 0.02375394105911255, 0.053849197924137115, 0.004517753608524799, 0.02117236703634262, -0.03766671568155289, -0.03529305383563042, -0.03357778117060661, 0.025070717558264732, -0.012873215600848198, -0.028917087242007256, -0.04879000410437584, 0.03224368020892143, -0.009191441349685192, 0.03780532255768776, 0.004303344525396824, -0.056482747197151184, 0.010256989859044552, -0.05277498438954353, -0.002772159408777952, -0.03898349031805992, -0.00724659813567996, -0.05125029757618904, 0.045498065650463104, 0.06414084136486053, 0.043211035430431366, 0.023320790380239487, -0.035552944988012314, -0.07006633281707764, 0.02013280801475048, 0.005999126471579075, -0.0299393218010664, 0.07235336303710938, -0.0489979162812233, -0.008762622252106667, -0.003226966829970479, -0.007402531802654266, 0.011643069796264172, -0.0371122844517231, 0.013852134346961975, 0.014406565576791763, -0.006432276219129562, -0.016892846673727036, -0.018937313929200172, -0.005999126471579075, 0.004221045877784491, -0.05703717842698097, -0.021345628425478935, -0.04764648899435997, 0.05967073142528534, -0.033421847969293594, -0.003216138109564781, 0.1167772188782692, -0.021345628425478935, -0.060190510004758835, 0.041824955493211746, -0.055339232087135315, -0.04757718741893768, -0.04113191366195679, 0.01251803245395422, -0.07429387420415878, -0.06597739458084106, 0.01358358096331358, 0.010785432532429695, 0.04844348505139351, -0.006696497555822134, 0.00308619299903512, -0.012829900719225407, 0.006211369764059782, 0.027877528220415115, 0.004496096167713404, 0.006800453644245863, -0.02330346591770649, -0.009641917422413826, -0.05471549555659294, 0.0032789448741823435, -0.017048779875040054, 0.0003143044013995677, -0.0361073762178421, 0.004816627129912376, 0.012414076365530491, -0.020912477746605873, -0.04740392789244652, 0.00405861483886838, -0.0643140971660614, -0.016009220853447914, -0.07464039325714111, 0.05007212981581688, -0.026699360460042953, -0.032434266060590744, 0.01054286863654852, -0.019370464608073235, -0.021449582651257515, 0.05423036962747574, -0.028535915538668633, 0.011270560324192047, 0.0361073762178421, 0.04639901965856552, -0.030545732006430626, -0.0007823770283721387, 0.03518909960985184, 0.101946160197258, -0.01800171099603176, 0.04577528312802315, 0.000613990006968379, 0.06074494495987892, 0.05922025442123413, 0.029402215033769608, -0.052116598933935165, 0.023234160616993904, -0.08302617818117142, 0.0012366429436951876, -0.032728806138038635, -0.0519433356821537, 0.030112581327557564, -0.03794393315911293, -0.0003646580735221505, 0.014189991168677807, 0.034703969955444336, 0.012136860750615597, 0.002237219363451004, -0.023182183504104614, 0.055824361741542816, -0.032971370965242386, -0.01046490203589201, 0.005903833080083132, -0.026335515081882477, 0.03988444432616234, -0.0254865400493145, 0.02999129891395569, 0.06687834858894348, -0.07069006562232971, 0.043557554483413696, -0.0915505662560463, 0.0035150116309523582, -0.05769556760787964, 0.03815184533596039, 0.015714678913354874, -0.006267679389566183, 0.01914522610604763, -0.01762053743004799, 0.05468084290623665, 0.014406565576791763, -0.08912492543458939, 0.034600015729665756, -0.04220612719655037, -0.014328598976135254, 0.002685529412701726, 0.009780525229871273, -0.0020260587334632874, 0.039260707795619965, -0.05079982057213783, -0.05876978114247322, -0.0018874506931751966, -0.004108427092432976, -0.03933001309633255, -0.006315325852483511, 0.034010931849479675, 0.04951769858598709, 0.006900078151375055, -0.04605249688029289, -0.048859309405088425, 0.0038940177764743567, -0.020358046516776085, 0.026630057021975517, 0.03912210091948509, -0.032676830887794495, 0.005176141392439604, 0.002107274252921343, 0.040577482432127, -0.010534205473959446, 0.020652588456869125, 0.044839680194854736, -0.026040973141789436, -0.024204416200518608, 0.019578376784920692, 0.015939917415380478, -0.05994794890284538, -0.02676866389811039, -0.03967653214931488, -0.053953152149915695, 0.007965627126395702, 0.006861094385385513, -0.03175855055451393, 0.03676576539874077, 0.013635559007525444, 0.026976576074957848, 0.0018971966346725821, 0.012985833920538425, 0.007766378112137318, -0.03929536044597626, -0.05599762126803398, -0.03378569334745407, 0.02810276672244072, -0.05700252950191498, -0.059393513947725296, 0.05842325836420059, 0.0020866997074335814, -0.030892251059412956, 0.044008031487464905, 0.03546631336212158, -0.020739218220114708, -0.011721036396920681, 0.04660693183541298, 0.0030472096987068653, 0.02735774777829647, -0.02760031260550022, 0.01594858057796955, -0.013670210726559162, 0.05100773274898529, 0.02364998497068882, 0.046572279185056686, -0.042725905776023865, 0.028934413567185402, 0.008099903352558613, 0.051631469279527664, 0.021293649449944496, -0.04328034073114395, -0.009468656964600086, -0.034010931849479675, 0.007350553758442402, 0.05287894234061241, -0.02448163367807865, -0.03002595156431198, 0.0013405989157035947, 0.011773014441132545, -0.025590496137738228, -0.047958359122276306, -0.05228985846042633, 0.0001881494972622022, 0.02112038992345333, 0.0190412700176239, 0.034409429877996445, 0.03738950192928314, 0.01820962131023407, -0.035691551864147186, -0.020808521658182144, -0.05911630019545555, -0.048755355179309845, -0.023268813267350197, 0.024360351264476776, -0.019751636311411858, -0.05218590050935745, 0.04626040905714035, -0.013748178258538246, 0.0035453320015221834, -0.03142935782670975, -0.009754535742104053, 0.020150134339928627, 0.007064674980938435, -0.004071609117090702, 0.017135409638285637, 0.004859942011535168, 0.029506171122193336, -0.0190412700176239, 0.03558759763836861, -0.046537626534700394, 0.06996237486600876, -0.04438920319080353, 0.011764351278543472, -0.028276026248931885, 0.0021603351924568415, 0.024412328377366066, -0.025313280522823334, 0.03790928050875664, 0.02687261998653412, -0.01474442332983017, 0.008156212978065014, -0.020271414890885353, 0.028917087242007256, -0.024862805381417274, -0.04241403937339783, 0.01586194895207882, 0.03356045484542847, -0.03815184533596039, 0.01810566708445549, -0.002131097484380007, -0.004301178734749556, 0.039572574198246, -0.001124024041928351, -0.0984809622168541, -0.007909317500889301, 0.023927200585603714, -0.004894594196230173, 0.056482747197151184, -0.02117236703634262, 0.05204729363322258, -0.033872321248054504, 0.015064953826367855, 0.01605253480374813, -0.02583306096494198, -0.02815474383533001, 0.03414953872561455, -0.009130800142884254, -0.033768367022275925, -0.012284131720662117, 0.025053391233086586, -0.023442072793841362, 0.010620836168527603, -0.03274613246321678, 0.000382796220947057, 0.05651739984750748, 0.00019302242435514927, -0.01006640400737524, -0.0366271547973156, 0.015636712312698364, 0.003876691684126854, 0.026456795632839203, -0.03172389790415764, 0.08371921628713608, -0.018226947635412216, 0.11012403666973114, -0.02181342989206314, 0.00181164953391999, 0.008316478691995144, 0.05346802622079849, -0.017126748338341713, 0.07450178265571594, -0.08981796354055405, -0.05471549555659294, 0.03825579956173897, 0.015298854559659958, 0.008675992488861084, -0.013444973155856133, -0.03919140249490738, -0.036245983093976974, 0.011357191018760204, -0.03196646273136139, 0.0055139982141554356, 0.07429387420415878, -0.018244273960590363, -0.0220213420689106, 0.0786600261926651, -0.02572910487651825, -0.04092400521039963, -0.06871490180492401, -0.0009929961524903774, -0.02013280801475048, 0.0274617038667202, 0.011105963960289955, -0.021588191390037537, 0.04314173012971878, -0.038914188742637634, 0.016650281846523285, 0.06864559650421143, 0.009113473817706108, 0.03271147981286049, 0.021432258188724518, 0.006484254263341427, -0.013115779496729374, -0.0333871953189373, -0.03283276408910751, -0.01258733682334423, -0.02567712590098381, 0.06840303540229797, 0.011391842737793922, -0.05111169070005417, 0.02215994894504547, -0.03127342462539673, 0.030996207147836685, 0.02855324186384678, 0.0064409393817186356, -0.0084767434746027, 0.03546631336212158, 0.02429104782640934, -0.010560194961726665, -0.0747096985578537, -0.030060604214668274, -0.006696497555822134, 0.007497824728488922, 0.026162253692746162, -0.04373081400990486, -0.05481945350766182, -0.012561347335577011, -0.025763757526874542, 0.01281257439404726, 0.03797858580946922, -0.02306090109050274, 0.029055695980787277, -0.02448163367807865, -0.013678873889148235, -0.022177275270223618, 0.07526412606239319, 0.037770673632621765, 0.034253496676683426, 0.05578970909118652, 0.05866582319140434, -0.005990463308990002, -0.030112581327557564, 0.011339864693582058, -0.03988444432616234, 0.04636436700820923, 0.009243419393897057, -0.007402531802654266, 0.04220612719655037, -0.03680041804909706, 0.017256692051887512, -0.04383477196097374, 0.0059168278239667416, 0.015108268707990646, 0.010378272272646427, -0.04092400521039963, -0.041824955493211746, 0.06563087552785873, 0.01588793843984604, 0.00527143431827426, -0.010421587154269218, 0.030441775918006897, -0.013782829977571964, -0.03863697126507759, 0.0450129397213459, -0.06802186369895935, -0.032728806138038635, 0.0028609551955014467, -0.02181342989206314, -0.10818351805210114, 0.038914188742637634, -0.05759161338210106, 0.027496356517076492, 0.0001966771378647536, -0.01607852429151535, 0.008723638951778412, -0.00633265171200037, 0.002891275566071272, -0.05481945350766182, 0.0027201813645660877, -0.04788905382156372, 0.00022713298676535487, -0.011183930560946465, -0.06220032647252083, -0.008199527859687805, -0.04231008142232895, -0.02914232574403286, 0.015428800135850906, -0.016442369669675827, 0.03132539987564087, 0.04567132517695427, -0.008502732962369919, -0.04241403937339783, 0.0329020656645298, -0.017629200592637062, -0.028778480365872383, 0.006090087816119194, 0.006072761956602335, -0.029662106186151505, -0.02730577066540718, 0.03414953872561455, 0.014995649456977844, 0.061576589941978455, -0.041582390666007996, -0.011721036396920681, -0.028033461421728134, 0.011201256886124611, 0.030615035444498062, 0.007428520824760199, -0.05873512849211693, -0.043557554483413696, -0.04639901965856552, 0.008948877453804016, 0.04397337883710861, 0.02572910487651825, -0.043211035430431366, 0.0007239017868414521, -0.02844928577542305, -0.015402810648083687, -0.07311570644378662, 0.030805621296167374, 0.043522901833057404, 0.037770673632621765, -0.017689842730760574, 0.009139463305473328, -0.08967936038970947, -0.0712445005774498, -0.020600609481334686, 0.0021170200780034065, 0.02285298891365528, 0.02572910487651825, 0.013384331949055195, 0.05332941561937332, -0.026803316548466682, -0.00543170003220439, -0.032538220286369324, -0.027392400428652763, -0.0026183912996202707, 0.035154446959495544, -0.017828449606895447, 0.030164560303092003, 0.041824955493211746, 0.054542236030101776, 0.020843174308538437, 0.02898639254271984, -0.03988444432616234, 0.03260752558708191, 0.005895170383155346, -0.002789485501125455, -0.029402215033769608, 0.05665600672364235, -0.017317334190011024, -0.033265914767980576, 0.03971118479967117, -0.03281543776392937, 0.041339825838804245, 0.014120686799287796, 0.019353138282895088, 0.03790928050875664, -0.025261303409934044, 0.020895151421427727, 0.04927513375878334, 0.02132830210030079, 0.015437462367117405, 0.01343630999326706, 0.016563652083277702, 0.009399352595210075, 0.02468954399228096, -0.040092356503009796, 0.005046196281909943, 0.05748765543103218, 0.0016827874351292849, 0.026803316548466682, -0.05381454527378082, 0.04456246271729469, 0.008177869953215122, -0.029904669150710106, 0.044354550540447235, -0.00427952129393816, 0.01924918219447136, -0.02157086506485939, 0.06292802095413208, 0.03343917429447174, 0.04293381795287132, 0.027201814576983452, -0.04660693183541298, 0.01199825294315815, 0.03350847586989403, -0.04109726473689079, -0.0164510328322649, 0.01548077818006277, -0.041478436440229416, 0.04879000410437584, 0.013384331949055195, 0.0346173420548439, 0.005747899413108826, 0.007389537524431944, -0.03666180744767189, 0.025347933173179626, 0.0025599158834666014, 0.0034673649352043867, 0.0410626120865345, 0.0055659762583673, 0.017005465924739838 ]
41,956
unittest.case
run
null
def run(self, result=None): if result is None: result = self.defaultTestResult() startTestRun = getattr(result, 'startTestRun', None) stopTestRun = getattr(result, 'stopTestRun', None) if startTestRun is not None: startTestRun() else: stopTestRun = None result.startTest(self) try: testMethod = getattr(self, self._testMethodName) if (getattr(self.__class__, "__unittest_skip__", False) or getattr(testMethod, "__unittest_skip__", False)): # If the class or method was skipped. skip_why = (getattr(self.__class__, '__unittest_skip_why__', '') or getattr(testMethod, '__unittest_skip_why__', '')) self._addSkip(result, self, skip_why) return result expecting_failure = ( getattr(self, "__unittest_expecting_failure__", False) or getattr(testMethod, "__unittest_expecting_failure__", False) ) outcome = _Outcome(result) try: self._outcome = outcome with outcome.testPartExecutor(self): self._callSetUp() if outcome.success: outcome.expecting_failure = expecting_failure with outcome.testPartExecutor(self, isTest=True): self._callTestMethod(testMethod) outcome.expecting_failure = False with outcome.testPartExecutor(self): self._callTearDown() self.doCleanups() for test, reason in outcome.skipped: self._addSkip(result, test, reason) self._feedErrorsToResult(result, outcome.errors) if outcome.success: if expecting_failure: if outcome.expectedFailure: self._addExpectedFailure(result, outcome.expectedFailure) else: self._addUnexpectedSuccess(result) else: result.addSuccess(self) return result finally: # explicitly break reference cycles: # outcome.errors -> frame -> outcome -> outcome.errors # outcome.expectedFailure -> frame -> outcome -> outcome.expectedFailure outcome.errors.clear() outcome.expectedFailure = None # clear the outcome, no more needed self._outcome = None finally: result.stopTest(self) if stopTestRun is not None: stopTestRun()
(self, result=None)
[ 0.03201209753751755, -0.012890178710222244, -0.013138257898390293, 0.009134264662861824, -0.014309190213680267, -0.022783564403653145, -0.029233615845441818, -0.014219881035387516, 0.010429236106574535, 0.055609360337257385, 0.020441699773073196, 0.03326241672039032, 0.04445573687553406, 0.014974040910601616, 0.0083850659430027, 0.04421757906675339, 0.07033532112836838, -0.03836291655898094, -0.022009558975696564, 0.011629938147962093, -0.003190294373780489, 0.029114536941051483, 0.04921884834766388, 0.02411326766014099, 0.019558539614081383, -0.010181156918406487, -0.009947963058948517, -0.049337927252054214, 0.03244871646165848, 0.005065770819783211, -0.02869776450097561, -0.01329702790826559, -0.060372475534677505, 0.05870538577437401, 0.03161517158150673, 0.007740061264485121, -0.08136986941099167, 0.0016273974906653166, 0.016353359445929527, 0.08287819474935532, -0.05068747699260712, -0.03526689484715462, 0.030384700745344162, 0.008439643308520317, -0.023180490359663963, -0.0526324138045311, -0.0024200095795094967, -0.005710775963962078, 0.010191080160439014, -0.04909977316856384, 0.01867537759244442, -0.0033565072808414698, 0.02022339031100273, 0.04076432064175606, 0.02343849278986454, 0.01242379005998373, 0.034532580524683, -0.01974707841873169, 0.014259574003517628, 0.0029099653474986553, 0.023378953337669373, 0.02810237556695938, 0.012294789776206017, 0.07454273849725723, -0.0022289888001978397, 0.01539081335067749, -0.03375857323408127, 0.02615743689239025, 0.027844373136758804, 0.05529182031750679, 0.04909977316856384, 0.06041216850280762, 0.0036070668138563633, -0.006251587998121977, -0.0012317115906625986, 0.05354534462094307, -0.05425981432199478, -0.06156325340270996, 0.045487742871046066, -0.012364251539111137, -0.010905547998845577, 0.10264512151479721, -0.05914200469851494, -0.019657770171761513, 0.011848247610032558, 0.025661280378699303, -0.0027313483878970146, -0.05926108360290527, 0.0031406786292791367, -0.0232995692640543, -0.0019499000627547503, 0.013138257898390293, 0.0019523807568475604, -0.014646576717495918, 0.02246602438390255, -0.015142735093832016, -0.012116172350943089, -0.040149085223674774, -0.10986917465925217, -0.014924425631761551, -0.021533247083425522, 0.08470405638217926, 0.04366188123822212, -0.014825194142758846, 0.06886669993400574, 0.014795424416661263, -0.0600152425467968, -0.015599200502038002, -0.008017909713089466, 0.09026101976633072, -0.004931807983666658, 0.015083195641636848, -0.08756192028522491, -0.005120348185300827, 0.011907786130905151, -0.09827893227338791, -0.04030785709619522, -0.01183832436800003, -0.047194525599479675, 0.045051123946905136, 0.05556967109441757, 0.0037087793461978436, 0.008077448233962059, -0.01911199651658535, -0.05318811163306236, 0.010171233676373959, 0.04036739468574524, 0.06656452268362045, 0.04790899530053139, -0.04552743583917618, 0.026296362280845642, -0.04255048930644989, -0.05418042838573456, 0.010588007047772408, 0.021215705201029778, 0.037906453013420105, 0.013594722375273705, 0.02109662815928459, 0.0284993015229702, 0.0015554545680060983, 0.04854407534003258, 0.027784835547208786, 0.0328654907643795, 0.043741267174482346, 0.017107520252466202, 0.008261026814579964, -0.023795725777745247, -0.018784532323479652, 0.036199670284986496, 0.01448780670762062, 0.04906008020043373, -0.06934300810098648, -0.007214133627712727, -0.02976946532726288, -0.019707385450601578, -0.010270466096699238, -0.002612270647659898, 0.0016013492131605744, 0.05306903272867203, -0.02859853394329548, 0.002421249868348241, -0.06890638917684555, 0.025423124432563782, 0.030563317239284515, 0.053029339760541916, 0.01369395386427641, -0.04219325631856918, 0.04532897472381592, -0.03677521273493767, -0.033143337815999985, 0.0006933804834261537, 0.040149085223674774, -0.00782936904579401, 0.04195509850978851, -0.0640241950750351, -0.026852058246731758, -0.014289343729615211, -0.03443334996700287, -0.01646251417696476, -0.01897307299077511, 0.004849941935390234, -0.018724994733929634, -0.0372118316590786, -0.017494522035121918, -0.004403400234878063, 0.013287104666233063, 0.013495490886271, 0.04030785709619522, -0.000011144168638566043, -0.026296362280845642, 0.006162279285490513, -0.021037088707089424, 0.04775022342801094, 0.045884668827056885, 0.03344103321433067, 0.027487140148878098, -0.01699836552143097, 0.03879953548312187, 0.05048901215195656, 0.0214538611471653, -0.02772529609501362, 0.07402674108743668, 0.08089356124401093, -0.016651054844260216, -0.00839995127171278, 0.0201142355799675, -0.034989044070243835, 0.02333926036953926, 0.002599866595119238, 0.02018369734287262, 0.020937858149409294, -0.01369395386427641, -0.03891861438751221, 0.04366188123822212, 0.030940398573875427, -0.08907023817300797, 0.05620475113391876, -0.01021092664450407, 0.024907119572162628, 0.0385613813996315, -0.04247110337018967, -0.0004170826287008822, -0.006326011382043362, -0.004892115481197834, -0.02665359526872635, 0.01867537759244442, 0.02353772334754467, -0.08891147375106812, 0.009317842312157154, -0.02454988658428192, -0.003939492627978325, 0.0016162339597940445, -0.02957100234925747, -0.07271688431501389, -0.04814714938402176, 0.047829609364271164, -0.016512129455804825, 0.01817922107875347, -0.054736122488975525, -0.01267186924815178, 0.012532944791018963, 0.021434014663100243, 0.012761177495121956, -0.011481090448796749, -0.03258763998746872, -0.03862091898918152, -0.01609535701572895, -0.0338578075170517, 0.02149355411529541, 0.023021720349788666, 0.025403277948498726, 0.024867426604032516, 0.015450352802872658, -0.008603375405073166, -0.016839593648910522, -0.045686207711696625, 0.023081259801983833, -0.018804378807544708, 0.060372475534677505, 0.03473104164004326, 0.07180394977331161, -0.06831099838018417, 0.05267210677266121, 0.03147624805569649, -0.03437380865216255, -0.002278604544699192, -0.015112965367734432, 0.0075019053183496, 0.057673379778862, 0.016313666477799416, 0.07212149351835251, -0.050211165100336075, -0.004998789634555578, 0.02615743689239025, -0.06787437945604324, 0.04604344069957733, -0.02266448736190796, -0.021235551685094833, -0.06787437945604324, -0.016740363091230392, 0.019826464354991913, 0.04270926117897034, -0.01905245892703533, -0.03901784494519234, 0.008657952770590782, 0.005080655682832003, 0.009124341420829296, -0.0020094390492886305, 0.02038216032087803, 0.008791915141046047, 0.007134748622775078, -0.015976279973983765, -0.002453500172123313, -0.027407754212617874, 0.04259018227458, -0.020560776814818382, -0.11709323525428772, -0.018655531108379364, -0.015331274829804897, -0.016750285401940346, -0.05747491493821144, -0.002974465722218156, -0.007769830524921417, 0.0750984400510788, -0.013793185353279114, 0.0664057582616806, 0.01242379005998373, -0.006167240906506777, 0.0033192953560501337, -0.031158708035945892, 0.008062563836574554, 0.031396862119436264, 0.01595643348991871, -0.05255303159356117, 0.0673980712890625, -0.055410899221897125, 0.022009558975696564, -0.03987123817205429, -0.017891447991132736, -0.029193922877311707, -0.04231233522295952, 0.012046710588037968, 0.014160342514514923, 0.04723421856760979, 0.07347103953361511, 0.009675076231360435, -0.022942334413528442, 0.05640321597456932, -0.058030612766742706, -0.035227201879024506, 0.00921861082315445, -0.018655531108379364, -0.01921122893691063, 0.027348216623067856, -0.05592690408229828, -0.02967023476958275, 0.012721485458314419, -0.005571851506829262, 0.05953893065452576, 0.011213165707886219, 0.08827638626098633, -0.015162581577897072, -0.015936587005853653, -0.06299219280481339, 0.02183094061911106, 0.014864886179566383, -0.03631874918937683, 0.022208021953701973, 0.06382573395967484, -0.07132764160633087, 0.04132001847028732, -0.035524897277355194, -0.05160040780901909, -0.005033520516008139, -0.0310197826474905, -0.008017909713089466, 0.019608154892921448, -0.05481550842523575, 0.051322560757398605, -0.06843008100986481, -0.004018878098577261, 0.03526689484715462, -0.04604344069957733, 0.01660143956542015, -0.020173775032162666, -0.061245713382959366, -0.020640162751078606, -0.03641797974705696, 0.0010543352691456676, 0.00036963753518648446, -0.004088339861482382, -0.024331577122211456, 0.03429442271590233, -0.034016575664281845, 0.03945446386933327, -0.022882796823978424, 0.03782706707715988, 0.001536848722025752, 0.003743510227650404, -0.015767892822623253, 0.008251103572547436, -0.007908754982054234, -0.08621237426996231, -0.029213769361376762, 0.04449542984366417, -0.028896227478981018, 0.016889210790395737, -0.006827130913734436, -0.001327221980318427, -0.03078162670135498, 0.010786470025777817, 0.02075924165546894, 0.008558721281588078, -0.018496761098504066, 0.010875778272747993, 0.04183602333068848, -0.05791153386235237, 0.01009184867143631, -0.03544551134109497, 0.01021092664450407, 0.012800870463252068, 0.029451925307512283, -0.0038824344519525766, 0.03701337054371834, 0.015499968081712723, -0.01398172602057457, 0.005368426907807589, -0.03798583894968033, 0.003964300733059645, -0.05005239322781563, -0.05576813220977783, -0.012999333441257477, -0.06616760045289993, 0.013584799133241177, -0.051957640796899796, 0.05640321597456932, -0.05199733376502991, 0.050012703984975815, 0.06084878742694855, 0.03256779536604881, 0.004358746111392975, 0.018149450421333313, 0.03379826620221138, 0.002833060920238495, 0.024371270090341568, 0.029253462329506874, 0.01612512767314911, 0.02508573606610298, -0.023061413317918777, 0.01524196658283472, 0.005909238941967487, -0.001533127506263554, -0.006192049011588097, 0.0646989718079567, -0.004688690882176161, -0.03786676004528999, -0.05314841866493225, 0.006425242871046066, 0.06958116590976715, 0.02071954868733883, -0.07192303240299225, -0.03363949805498123, -0.019876079633831978, 0.0526324138045311, 0.012632176280021667, 0.00883657019585371, -0.002313335658982396, -0.004921885207295418, -0.06275403499603271, 0.017484599724411964, -0.0006797361420467496, 0.03905753791332245, 0.02826114557683468, -0.04584497585892677, -0.03078162670135498, -0.016055665910243988, -0.0704147070646286, 0.041161246597766876, 0.036398135125637054, 0.0556490533053875, 0.05294995754957199, -0.008662914857268333, -0.04723421856760979, -0.019995158538222313, -0.0315159410238266, -0.01354510709643364, 0.046321287751197815, -0.006241664756089449, -0.00566612184047699, -0.01753421500325203, -0.003019120078533888, -0.027447447180747986, 0.024926966056227684, 0.005626428872346878, 0.022962180897593498, 0.00819652620702982, -0.03524704650044441, -0.05374380946159363, 0.014606884680688381, -0.022644640877842903, 0.029749618843197823, -0.005507351364940405, 0.04215356335043907, 0.025562047958374023, -0.07200241088867188, -0.008980455808341503, 0.024291884154081345, -0.015410659834742546, 0.045487742871046066, -0.043741267174482346, -0.016710594296455383, -0.0653737485408783, -0.024351423606276512, 0.025958973914384842, -0.05707798898220062, -0.019290613010525703, -0.023617109283804893, -0.027348216623067856, -0.0546567402780056, -0.03371888026595116, 0.06084878742694855, -0.0010692200157791376, 0.000023005439288681373, -0.0002001686516450718, 0.03181363642215729, 0.07220087945461273, -0.010230773128569126, 0.001507079228758812, -0.013872571289539337, -0.007134748622775078, -0.04854407534003258, 0.06323034316301346, -0.03205179050564766, -0.03544551134109497, 0.0027511948719620705, -0.04925854131579399, -0.020203543826937675, -0.01473588589578867, 0.01867537759244442, 0.019657770171761513, 0.008310642093420029, 0.005561928730458021, 0.013306951150298119, 0.0516401007771492, -0.010816238820552826, 0.03953384980559349, 0.017127366736531258, 0.053227804601192474, 0.024133114144206047, -0.014924425631761551, 0.0025167602580040693, -0.0348699688911438, 0.012453559786081314, 0.0258200503885746, 0.06513559073209763, -0.007616021670401096, -0.018734917044639587, 0.01702813431620598, 0.023458339273929596, -0.042868029326200485, 0.07875016331672668, 0.0181097574532032, -0.029829004779458046, 0.005219579674303532, 0.008439643308520317, -0.014071034267544746, -0.0008006746065802872, 0.015817509964108467, -0.026415439322590828, -0.03004731424152851, 0.00782936904579401, 0.011223088949918747, 0.024033881723880768, 0.04747237637639046, 0.026336053386330605, -0.020441699773073196, 0.047432683408260345, 0.06755684316158295, 0.06862854212522507, 0.012066557072103024, -0.004683729261159897, 0.004242148716002703, -0.031099168583750725, -0.0516401007771492, 0.009719730354845524, 0.014924425631761551, 0.046757906675338745, 0.008896108716726303, -0.01539081335067749, -0.032944876700639725, -0.017127366736531258, -0.002699098316952586, -0.012900101952254772, 0.01763344742357731, -0.017474675551056862, 0.03232964128255844, 0.001891601481474936, 0.024966659024357796, 0.04620221257209778, -0.02266448736190796, -0.019221151247620583, -0.05680014193058014, 0.041994791477918625, -0.03300441429018974, -0.07335196435451508, -0.0352073535323143, -0.046559445559978485, -0.03437380865216255, 0.0031109091360121965, -0.06565159559249878, 0.0008186603081412613, 0.0033391418401151896, -0.013396259397268295, -0.007154595106840134, 0.04151848331093788, 0.012919948436319828, -0.02703067474067211, 0.0010078204795718193, 0.0300076212733984, -0.0021595265716314316, 0.028896227478981018, -0.013872571289539337, 0.05291026458144188, 0.009521267376840115, 0.009967809543013573, 0.022962180897593498, -0.06715991348028183, 0.043741267174482346, -0.03598136082291603, 0.03068239614367485, 0.04540835693478584, -0.028955766931176186, 0.03481042757630348, -0.03306395187973976, -0.059935856610536575, -0.04026816412806511, -0.06267464905977249, 0.02101724222302437, 0.017077749595046043, 0.014219881035387516, 0.02125539816915989, 0.035425662994384766, -0.007993101142346859, 0.02976946532726288, -0.07172456383705139, -0.01833799108862877, 0.018328066915273666, -0.028479455038905144, 0.04814714938402176, -0.04941731318831444, -0.06223803013563156, -0.005805045831948519, 0.017752524465322495, -0.05874507874250412, 0.003391238395124674, -0.0673980712890625, 0.03627905622124672, 0.017057903110980988, 0.020937858149409294, -0.048504382371902466, 0.03744998946785927, -0.015311428345739841, 0.04322526603937149, 0.014319113455712795, -0.0563238300383091, -0.04175663739442825, 0.008320565335452557, -0.035385970026254654, 0.03798583894968033, 0.022485869005322456, -0.031178554520010948, 0.042669568210840225, -0.004177648574113846, -0.011758939363062382, 0.00576039170846343, -0.02125539816915989, 0.005527197383344173, 0.0006629907875321805, 0.0022017001174390316, 0.058665692806243896, -0.03612028434872627, 0.034989044070243835, -0.05211641266942024, -0.008439643308520317, 0.028241299092769623, 0.022188175469636917, 0.049377620220184326, 0.020134082064032555, -0.028717610985040665, -0.04231233522295952, 0.031039629131555557, 0.04445573687553406, -0.023557569831609726, 0.0310197826474905, -0.028419917449355125, 0.04517020285129547, -0.0449320487678051, -0.034750889986753464, -0.03258763998746872, -0.060809094458818436, -0.048504382371902466, 0.028995459899306297, -0.03477073460817337, -0.018159374594688416, -0.004849941935390234, 0.037469834089279175, -0.03415549919009209, -0.05870538577437401, -0.03705306351184845, -0.09796138852834702, -0.07656706869602203, 0.017107520252466202, 0.008906031958758831, -0.029094690456986427, -0.06112663447856903, 0.03199225291609764, 0.011798631399869919, -0.10510606318712234, -0.025859743356704712, -0.028618380427360535, 0.012532944791018963, -0.04536866396665573, -0.021850787103176117, -0.003974223509430885, 0.017147211357951164, 0.04433665797114372, 0.014845040626823902, -0.009039994329214096, 0.05938016250729561, -0.04767083749175072, 0.06719961017370224, -0.010945240035653114, -0.04691667854785919, -0.029233615845441818, -0.010776546783745289, 0.0040387241169810295, 0.006846976932138205, -0.04608313366770744, -0.020798932760953903, 0.009025109931826591, 0.007571367546916008, 0.009149149060249329, 0.020798932760953903, -0.036100439727306366, -0.011153626255691051, -0.011629938147962093, -0.0243117306381464, 0.011639861389994621, 0.025859743356704712, 0.02840007096529007, -0.0546567402780056, -0.014120649546384811, -0.009168995544314384, 0.046559445559978485, -0.02800314500927925, -0.02066000923514366, 0.024688810110092163, 0.004227264318615198, 0.030999936163425446, -0.006842015311121941, -0.029789311811327934, 0.008846492506563663, -0.02018369734287262, -0.035385970026254654, 0.01801052689552307, 0.016988441348075867, 0.021811095997691154, 0.05156071484088898, 0.07486028224229813, -0.0405658595263958, 0.03346087783575058, -0.05175917595624924, 0.03534628078341484, 0.06815222650766373, 0.03852168843150139, -0.0002657544973772019, 0.02377587929368019, 0.02236679196357727, 0.0429077222943306, -0.05763368681073189, 0.014954195357859135, -0.0560062900185585, 0.0214538611471653, 0.03238917887210846, -0.002421249868348241, 0.04965546727180481, 0.0114017054438591, 0.060769401490688324 ]
41,957
rfc3339
setUp
null
def setUp(self): local_utcoffset = _utc_offset(datetime.now(), use_system_timezone=True) self.local_utcoffset = timedelta(seconds=local_utcoffset) self.local_timezone = _timezone(local_utcoffset)
(self)
[ -0.019273677840828896, 0.02734091319143772, 0.008159306831657887, 0.02630620263516903, -0.02951555885374546, -0.016116933897137642, -0.035881660878658295, 0.04721086472272873, -0.0273935254663229, 0.03037489578127861, -0.025341641157865524, -0.014906847849488258, 0.023430056869983673, 0.005467305891215801, 0.0004998178337700665, 0.10894275456666946, -0.04072200134396553, -0.01768653653562069, -0.0068089221604168415, -0.06846627593040466, 0.007440270856022835, -0.07583200931549072, 0.013565232045948505, 0.0500168576836586, 0.016976268962025642, 0.019308753311634064, -0.09056348353624344, -0.023868493735790253, 0.0918261855840683, -0.03988020122051239, -0.049631036818027496, 0.036337632685899734, -0.05510272458195686, 0.04440486803650856, 0.03830182924866676, -0.07316631823778152, 0.007725254632532597, -0.038687653839588165, -0.0034285751171410084, 0.03577643632888794, 0.01701134443283081, -0.0023500206880271435, -0.010697855614125729, 0.03623240813612938, -0.001616735360585153, 0.0025867766235023737, 0.004318601451814175, -0.019326290115714073, 0.0354081466794014, 0.04002050310373306, -0.009154558181762695, 0.0306379571557045, 0.010504943318665028, 0.05050790682435036, -0.014871773310005665, -0.0021066884510219097, 0.08130370080471039, 0.02737598866224289, -0.05145493149757385, -0.012179771438241005, -0.0672035813331604, 0.025113655254244804, -0.028515923768281937, 0.0007623318233527243, 0.003084402298554778, -0.03654808551073074, -0.03640778362751007, 0.0049455659464001656, 0.06555505841970444, 0.05773334577679634, 0.029866307973861694, 0.01507345400750637, -0.008720505982637405, 0.021904297173023224, 0.04594816640019417, -0.0055067650973796844, -0.05433107540011406, -0.0490698367357254, -0.0058312080800533295, -0.03440851345658302, -0.04921013489365578, 0.014494717121124268, -0.011601035483181477, 0.06450280547142029, 0.055698998272418976, -0.0010177212534472346, -0.0018797973170876503, -0.027761811390519142, 0.07828725874423981, 0.027288300916552544, -0.00764633622020483, 0.015897715464234352, -0.010610167868435383, -0.007725254632532597, 0.021220335736870766, 0.050122082233428955, -0.024815518409013748, -0.01617831364274025, -0.07218421995639801, 0.017774224281311035, 0.038056306540966034, 0.0026108906604349613, 0.0009760697139427066, -0.011364279314875603, 0.02586776576936245, 0.01153965387493372, -0.0025056658778339624, -0.03756525740027428, -0.04608846455812454, -0.0007837056182324886, -0.022237509489059448, 0.010583861730992794, -0.04468546807765961, 0.024868130683898926, 0.005541840102523565, -0.03886302933096886, 0.01682720147073269, -0.014047511853277683, 0.02955063432455063, 0.008067235350608826, 0.003007675753906369, 0.011276592500507832, 0.02976108342409134, -0.01809866726398468, 0.032444316893815994, -0.025394253432750702, 0.026113290339708328, 0.046860113739967346, 0.013512618839740753, -0.007378889713436365, 0.06373115628957748, 0.013100489042699337, -0.04328247159719467, 0.010531249456107616, 0.0006839612615294755, 0.022097209468483925, 0.03861750662326813, 0.048578787595033646, -0.013188175857067108, 0.04465039446949959, 0.00989990122616291, 0.05106910690665245, 0.028708836063742638, 0.03535553440451622, -0.04489591717720032, 0.03551337122917175, -0.064713254570961, 0.007672642357647419, -0.03040996938943863, 0.023622969165444374, 0.07513051480054855, -0.05941694229841232, -0.08249624818563461, 0.012214846909046173, -0.04265112429857254, -0.07863800972700119, -0.006931684445589781, -0.009970050305128098, 0.02912973426282406, 0.024429693818092346, -0.06846627593040466, -0.009137021377682686, 0.00798831693828106, 0.00958422664552927, -0.004388751462101936, 0.03467157483100891, -0.052928078919649124, -0.03062042035162449, 0.012127159163355827, -0.005528687033802271, -0.0068746875040233135, -0.051805682480335236, 0.049876559525728226, 0.0354081466794014, 0.0555587001144886, -0.050753433257341385, -0.0018118396401405334, -0.04598324000835419, -0.008571437560021877, -0.018694940954446793, 0.01829157955944538, 0.005270009394735098, -0.029918920248746872, 0.0011410315055400133, 0.010110350325703621, 0.013188175857067108, -0.003483379725366831, 0.010969686321914196, -0.021220335736870766, 0.02262333407998085, 0.019466590136289597, 0.011399353854358196, -0.032882753759622574, 0.030865944921970367, 0.022763634100556374, 0.036513008177280426, 0.06450280547142029, -0.03100624307990074, 0.022675946354866028, 0.018572179600596428, -0.08109325170516968, 0.05622512474656105, 0.044930994510650635, -0.06846627593040466, 0.05682139843702316, 0.02328975684940815, -0.04629891738295555, 0.020150551572442055, -0.005217396654188633, -0.011715028434991837, 0.05426092818379402, -0.03386485204100609, -0.03040996938943863, 0.0007721966248936951, -0.04268619790673256, -0.03423313796520233, -0.05734752118587494, -0.0033913080114871264, 0.011276592500507832, 0.041037674993276596, 0.060925163328647614, 0.017537469044327736, -0.04633399099111557, -0.09014258533716202, 0.06772970408201218, -0.02288639545440674, 0.0012122774496674538, -0.03205849230289459, -0.04054662585258484, -0.06457296013832092, -0.011031067930161953, -0.01918599009513855, -0.04398396983742714, -0.03174281865358353, 0.03463650122284889, -0.022570721805095673, 0.0336017906665802, 0.0037574025336652994, -0.0849514976143837, -0.04801758751273155, -0.025376716628670692, 0.021606160327792168, 0.03258461505174637, -0.013565232045948505, -0.024043869227170944, -0.00989990122616291, -0.0738678127527237, 0.019554277881979942, 0.03172527998685837, 0.010969686321914196, 0.015248828567564487, 0.00517793744802475, 0.00807600375264883, 0.021606160327792168, 0.005094634369015694, -0.04633399099111557, 0.08137385547161102, 0.0003121121262665838, 0.03710928186774254, 0.03249692916870117, -0.025762541219592094, -0.029655858874320984, -0.026569264009594917, 0.06257368624210358, -0.03802122920751572, -0.0142228864133358, 0.004721963312476873, -0.01185532845556736, -0.03162005543708801, -0.013232019729912281, 0.09540382772684097, 0.0010111446026712656, -0.02912973426282406, 0.002551701618358493, -0.05005193501710892, -0.03763540834188461, -0.04984148591756821, -0.03774063289165497, -0.07842756062746048, -0.029603246599435806, 0.03423313796520233, -0.014950691722333431, 0.04475561901926994, 0.04587801545858383, -0.041949622333049774, -0.03861750662326813, -0.019940100610256195, 0.0421951487660408, -0.0030931709334254265, -0.03212864324450493, -0.07014987617731094, -0.005747905001044273, 0.019238602370023727, -0.03389992564916611, 0.010820617899298668, -0.007466576993465424, -0.033338725566864014, 0.015669727697968483, 0.031567443162202835, -0.01400366798043251, -0.049455661326646805, -0.047281015664339066, -0.002595545258373022, 0.048999685794115067, 0.04798251390457153, 0.07758575677871704, 0.002025577472522855, 0.026218514889478683, -0.0010095004690811038, -0.024429693818092346, -0.013232019729912281, -0.004011695738881826, 0.004669351037591696, 0.023973718285560608, 0.038442131131887436, 0.009435158222913742, 0.010741699486970901, -0.01792329177260399, -0.0003132082347292453, 0.006019736174494028, -0.002404825296252966, -0.0006143594509921968, 0.06053933873772621, 0.008860806003212929, 0.02718307636678219, -0.004108151886612177, 0.02869129739701748, 0.04703548923134804, -0.014573636464774609, 0.010390949435532093, -0.06537967920303345, -0.02200952172279358, -0.018361728638410568, 0.018887853249907494, 0.01702011376619339, 0.039564527571201324, -0.010005125775933266, -0.020361000671982765, 0.03193572908639908, -0.0009059198200702667, 0.0379861555993557, 0.0176602303981781, -0.056575872004032135, -0.002288639545440674, 0.021869223564863205, 0.03595180809497833, -0.01594155840575695, 0.0140299741178751, 0.03491709753870964, 0.006186341866850853, -0.01937890239059925, -0.027498750016093254, 0.0500168576836586, 0.013942287303507328, 0.00517793744802475, 0.008720505982637405, -0.009154558181762695, -0.02521887980401516, 0.03584658354520798, 0.01023311261087656, -0.05113925784826279, -0.01811620406806469, 0.08642464131116867, -0.0469653382897377, -0.03535553440451622, -0.03232155367732048, 0.05408555269241333, 0.005616374313831329, -0.0119780907407403, -0.04072200134396553, -0.020764362066984177, -0.03325103968381882, 0.03893318027257919, -0.025341641157865524, 0.010855692438781261, -0.028621148318052292, 0.035916734486818314, 0.05538332462310791, -0.11371294409036636, 0.05387510359287262, 0.033286113291978836, 0.026446502655744553, -0.05369972810149193, 0.019449051469564438, 0.017739148810505867, -0.036337632685899734, 0.05931171774864197, -0.025359179824590683, -0.03125176951289177, -0.032198790460824966, 0.013328475877642632, -0.04117797687649727, 0.03896825388073921, -0.007909398525953293, 0.018256504088640213, 0.02023823745548725, -0.0421951487660408, 0.0021264180541038513, 0.02346513234078884, 0.03367193788290024, 0.07337676733732224, -0.025131192058324814, -0.003702597925439477, 0.019536739215254784, 0.10122626274824142, 0.0033211580011993647, -0.005480458959937096, -0.009137021377682686, 0.012460371479392052, 0.06155651435256004, -0.0418093241751194, -0.043633222579956055, -0.019887488335371017, -0.020974811166524887, -0.06916777789592743, -0.03802122920751572, -0.062152788043022156, 0.00007590435416204855, 0.061731889843940735, -0.007449039723724127, -0.0038757803849875927, -0.03400515019893646, -0.008803809061646461, -0.014143968001008034, 0.06474833190441132, -0.01899307779967785, 0.028130099177360535, 0.019045690074563026, 0.007181593216955662, 0.020781898871064186, -0.017081493511795998, 0.013661687262356281, -0.005182321649044752, 0.02627112716436386, 0.06573043018579483, 0.03907347843050957, 0.012065778486430645, -0.04107275232672691, -0.015432972460985184, 0.02802487462759018, -0.0017208640929311514, -0.02690247632563114, 0.0353204607963562, -0.03689883276820183, -0.045106370002031326, 0.028726372867822647, -0.03495217487215996, 0.013091719709336758, 0.0005548964254558086, 0.05412062630057335, -0.014161505736410618, 0.04030110314488411, -0.06660730391740799, -0.06264383345842361, 0.00711582787334919, -0.026165902614593506, -0.023184532299637794, 0.02458753064274788, -0.052682556211948395, 0.013188175857067108, 0.006383638363331556, -0.009785907343029976, -0.009636838920414448, -0.030497657135128975, 0.06422220915555954, 0.0066817752085626125, -0.027077849954366684, 0.01086446177214384, -0.06748417764902115, 0.0006318968953564763, 0.004379982594400644, 0.00511655630543828, -0.03375962749123573, 0.02821778692305088, 0.007791020441800356, -0.025972990319132805, -0.06183711439371109, 0.03644285723567009, -0.011399353854358196, 0.02304423227906227, 0.014582404866814613, 0.028147635981440544, 0.0336894765496254, -0.0003713010810315609, -0.015424203127622604, -0.05818931758403778, 0.011241517029702663, -0.0439138188958168, -0.014985766261816025, 0.02048376202583313, -0.0044610933400690556, -0.009496538899838924, -0.021290486678481102, -0.02330729551613331, -0.041669026017189026, -0.03561859950423241, 0.01813374273478985, 0.001127878436818719, -0.002169165527448058, -0.015161140821874142, 0.006673006806522608, 0.0681506022810936, 0.02672710083425045, 0.025394253432750702, 0.04289664700627327, -0.007396426983177662, 0.005975892301648855, -0.05538332462310791, -0.018484491854906082, -0.05447137728333473, 0.05647064745426178, 0.014626248739659786, -0.012460371479392052, -0.019536739215254784, 0.04152872413396835, 0.004520282614976168, -0.020097939297556877, -0.025481941178441048, 0.0032115487847477198, 0.016897350549697876, -0.029427871108055115, 0.004914875607937574, 0.04700041562318802, 0.01786191202700138, 0.007712101563811302, 0.0273935254663229, -0.01272343285381794, 0.08109325170516968, 0.02525395341217518, 0.035250309854745865, -0.01809866726398468, -0.08053205162286758, 0.004318601451814175, 0.011609803885221481, 0.06660730391740799, 0.0719737708568573, -0.079409658908844, -0.08312759548425674, -0.003704790258780122, -0.010522481054067612, 0.002096823649480939, -0.007777866907417774, 0.014827929437160492, -0.00020469514129217714, 0.019957639276981354, -0.030655493959784508, -0.018484491854906082, 0.0006236762274056673, -0.024043869227170944, 0.01453856099396944, 0.04138842597603798, -0.04805266112089157, 0.055313173681497574, 0.04808773845434189, -0.02286885865032673, -0.023394983261823654, 0.031356994062662125, 0.05713707208633423, 0.008987952023744583, 0.055313173681497574, -0.040581703186035156, 0.03872273117303848, -0.018905390053987503, 0.10185761749744415, -0.027867037802934647, -0.00938254501670599, -0.04784221202135086, 0.03966975212097168, -0.030234595760703087, 0.013284632004797459, -0.01851956732571125, -0.00023278249136637896, 0.025552090257406235, 0.016108164563775063, -0.08789779245853424, -0.021886760368943214, -0.05415569990873337, 0.029042046517133713, 0.06302966177463531, 0.0011152733350172639, -0.027323374524712563, 0.03239170461893082, 0.021623698994517326, -0.023763269186019897, -0.007348199374973774, -0.01962442696094513, 0.07088644802570343, 0.01749362424015999, 0.014310574159026146, -0.03151483088731766, -0.028989434242248535, -0.037424955517053604, 0.006177572999149561, 0.027867037802934647, -0.031549904495477676, -0.08754704147577286, -0.028287936002016068, -0.05889081954956055, 0.02674463950097561, -0.0387578047811985, 0.010776774026453495, 0.03654808551073074, -0.012249921448528767, -0.007107059005647898, 0.02221997268497944, -0.01388967502862215, -0.080952949821949, 0.036513008177280426, -0.032865215092897415, 0.012320071458816528, 0.018887853249907494, -0.005164784379303455, 0.05064820870757103, -0.05338405445218086, 0.042580973356962204, -0.08298730105161667, -0.036723457276821136, 0.02115018665790558, -0.00883011519908905, -0.03325103968381882, -0.036302559077739716, -0.00388235691934824, 0.003991966135799885, 0.02716553770005703, -0.020396076142787933, 0.023763269186019897, 0.0473511628806591, -0.08579329401254654, -0.004138842690736055, -0.00872927438467741, 0.035250309854745865, -0.004717579111456871, -0.03402268886566162, -0.04251082241535187, -0.003680676221847534, -0.0025363564491271973, -0.01874755322933197, 0.00991743803024292, 0.04875416308641434, -0.01272343285381794, 0.003158936509862542, 0.02606067806482315, 0.08424999564886093, 0.03724958375096321, -0.0547870509326458, -0.0010632090270519257, -0.03554844856262207, -0.06274905800819397, 0.032444316893815994, 0.016757050529122353, -0.003917431924492121, 0.020518837496638298, 0.06997449696063995, 0.04216007515788078, -0.08368879556655884, 0.0003485571942292154, -0.040195878595113754, 0.0037595946341753006, 0.06860657781362534, -0.019992712885141373, -0.04075707495212555, 0.026148365810513496, -0.032900288701057434, -0.0035425685346126556, 0.07954995334148407, 0.01876509003341198, 0.0154154347255826, 0.011188904754817486, -0.032181255519390106, 0.029603246599435806, 0.017353324219584465, 0.002628427930176258, 0.037354808300733566, 0.009233476594090462, 0.01958935149013996, 0.003073441330343485, 0.0020146167371422052, 0.0007711005746386945, 0.014187811873853207, -0.0241490937769413, -0.00958422664552927, 0.02672710083425045, -0.00315016764216125, -0.035916734486818314, 0.029813695698976517, 0.07337676733732224, -0.04198469966650009, 0.0030668647959828377, 0.032619692385196686, 0.03942422941327095, 0.02220243401825428, -0.028586072847247124, -0.02716553770005703, 0.04787728935480118, 0.007799788843840361, -0.06457296013832092, -0.024008793756365776, -0.07190361618995667, -0.0030865943990647793, 0.005151631310582161, -0.0001046767647494562, 0.026604339480400085, -0.017590081319212914, -0.011390585452318192, 0.003297043964266777, 0.031812965869903564, -0.027498750016093254, 0.019571814686059952, 0.016283540055155754, -0.02884913608431816, 0.047105640172958374, -0.006760694086551666, -0.007747176568955183, -0.09435158222913742, 0.01725686900317669, 0.024043869227170944, 0.006418713368475437, 0.0286386851221323, 0.02628866396844387, 0.01086446177214384, -0.0012484485050663352, -0.0028761448338627815, -0.03249692916870117, -0.003623679280281067, 0.05341912806034088, -0.011820253916084766, -0.037389881908893585, -0.048157889395952225, -0.0725349709391594, 0.012951420620083809, -0.04910491034388542, 0.05773334577679634, 0.02328975684940815, 0.014082587324082851, -0.005427846219390631, -0.048684012144804, -0.06103038787841797, 0.004180493764579296, 0.004270373377948999, -0.029638322070240974, -0.0063661010935902596, -0.020431149750947952, 0.010005125775933266, 0.03254954144358635, -0.040862299501895905, 0.010250650346279144, -0.0011958361137658358, -0.023359907791018486, 0.00315016764216125, 0.062363237142562866, -0.027867037802934647, 0.008058466948568821, -0.018712477758526802, -0.04812281206250191, 0.024622606113553047, -0.030059220269322395, 0.00570844579488039, 0.027902111411094666, -0.004393135663121939, 0.003402268746867776, -0.048157889395952225, -0.05005193501710892, 0.038231682032346725, 0.05489227548241615, 0.0725349709391594, 0.04359814524650574, 0.01809866726398468, 0.04633399099111557 ]
41,958
unittest.case
shortDescription
Returns a one-line description of the test, or None if no description has been provided. The default implementation of this method returns the first line of the specified test method's docstring.
def shortDescription(self): """Returns a one-line description of the test, or None if no description has been provided. The default implementation of this method returns the first line of the specified test method's docstring. """ doc = self._testMethodDoc return doc.strip().split("\n")[0].strip() if doc else None
(self)
[ 0.0037459549494087696, -0.016338545829057693, 0.07382804155349731, -0.012528946623206139, 0.056989431381225586, -0.06477229297161102, 0.07768310606479645, 0.013829120434820652, 0.05549832433462143, -0.03238614648580551, -0.053243476897478104, 0.028512900695204735, 0.002309399424120784, -0.005037036724388599, 0.003952800761908293, 0.0169022586196661, 0.031386010348796844, -0.06128091365098953, -0.02100280672311783, 0.03313170000910759, 0.0051643261685967445, 0.016620401293039322, 0.007823772728443146, -0.012865355238318443, -0.03627757355570793, 0.07393714785575867, 0.06859098374843597, -0.09397619217634201, 0.030058560892939568, -0.04447866976261139, -0.04964299499988556, -0.02880384773015976, -0.0365867055952549, 0.07855594903230667, -0.007832864299416542, 0.05568016692996025, 0.00046710786409676075, -0.0071009485982358456, -0.09223050624132156, -0.011374247260391712, -0.026239868253469467, 0.019548065960407257, 0.04866104573011398, -0.011701563373208046, -0.016474928706884384, -0.024512365460395813, 0.03225885331630707, -0.014220081269741058, -0.027840083464980125, -0.021148279309272766, 0.04993394389748573, 0.0037845964543521404, -0.03313170000910759, -0.010619600303471088, -0.05611658841371536, -0.012083432637155056, 0.04873378202319145, 0.018947985023260117, -0.0031117794569581747, 0.0694638267159462, -0.018838880583643913, 0.03785960376262665, 0.00921486783772707, -0.009455808438360691, -0.015729373320937157, 0.022221149876713753, 0.004950661212205887, -0.0027299101930111647, 0.08226553350687027, 0.005641662981361151, 0.02845834754407406, 0.035895705223083496, -0.02805829420685768, 0.051388684660196304, 0.022239334881305695, -0.034768279641866684, -0.09157586842775345, -0.03482283279299736, 0.05411631986498833, -0.05178873613476753, -0.030294956639409065, 0.04298756271600723, 0.011828852817416191, -0.03993260860443115, 0.01533841248601675, -0.07950153201818466, 0.03705949708819389, -0.015274767763912678, 0.013283592648804188, 0.048770152032375336, -0.003195881610736251, 0.015565715730190277, -0.03220430389046669, -0.001385412411764264, 0.001949124038219452, -0.024585101753473282, -0.040041711181402206, -0.02422141842544079, -0.003091322025284171, 0.005509826820343733, -0.013747290708124638, 0.07233693450689316, 0.031476933509111404, 0.025730710476636887, 0.01126514095813036, 0.016156703233718872, -0.04615161940455437, 0.022057492285966873, -0.0014456476783379912, 0.030094929039478302, -0.006155367940664291, -0.07011845707893372, -0.02162107080221176, -0.0456060916185379, 0.05346168577671051, -0.03620483726263046, 0.0070327576249837875, -0.018875248730182648, -0.023093994706869125, 0.014901991002261639, 0.027058159932494164, -0.03042224608361721, -0.06564513593912125, -0.09484903514385223, 0.007901055738329887, -0.03174969553947449, -0.012519854120910168, 0.02642171084880829, -0.019693540409207344, -0.09084849804639816, 0.04302392899990082, -0.002834469545632601, 0.018657037988305092, 0.06415402144193649, -0.01627490110695362, -0.0072782449424266815, 0.056225694715976715, 0.07462815195322037, 0.002707179868593812, 0.02331220544874668, -0.009928598999977112, 0.0030799568630754948, -0.0006983887287788093, 0.021584702655673027, -0.0338045172393322, -0.04695172607898712, -0.02609439566731453, -0.02984035015106201, 0.03789597004652023, 0.07240967452526093, 0.009146676398813725, -0.06175370514392853, -0.009937691502273083, -0.08073806017637253, 0.036823101341724396, -0.046733517199754715, -0.0026162585709244013, -0.0014115521917119622, 0.00601443974301219, -0.03445914760231972, 0.03416820243000984, -0.06629976630210876, 0.02845834754407406, -0.005623478442430496, 0.020439093932509422, 0.02363952249288559, -0.054952796548604965, -0.018875248730182648, -0.008842090144753456, -0.022330256178975105, -0.025548867881298065, 0.0048506478779017925, -0.04804278165102005, 0.031386010348796844, 0.04855193942785263, 0.0525524765253067, -0.011783392168581486, 0.06990024447441101, -0.01110148336738348, -0.038077812641859055, -0.026876317337155342, 0.012356196530163288, -0.05938975140452385, 0.005950795020908117, 0.025148814544081688, 0.023366758599877357, 0.05346168577671051, -0.021148279309272766, -0.027476398274302483, -0.008460220880806446, -0.014901991002261639, 0.004614252597093582, 0.0002477603848092258, 0.03676854819059372, -0.012819894589483738, -0.0530252642929554, 0.0031504209619015455, -0.0020480009261518717, 0.08830270916223526, -0.010092257522046566, -0.021730175241827965, 0.0835748016834259, 0.0338045172393322, 0.02280304580926895, 0.04549698904156685, 0.0729188323020935, 0.009546729736030102, 0.02864019013941288, -0.10786895453929901, 0.00995587557554245, 0.016202164813876152, -0.01147426012903452, -0.009910414926707745, -0.030294956639409065, 0.0067736320197582245, -0.050879523158073425, -0.0009518316946923733, 0.012610775418579578, -0.09150313585996628, 0.03595025837421417, 0.05211605504155159, -0.04509693384170532, 0.0576440654695034, -0.018156971782445908, 0.015011096373200417, -0.0057916827499866486, 0.06542692333459854, -0.02109372615814209, -0.0017945579020306468, -0.05160689353942871, -0.011401522904634476, -0.05127957835793495, 0.0065963356755673885, 0.016156703233718872, -0.030804114416241646, -0.0031686050351709127, -0.050806786864995956, -0.0073873503133654594, -0.0057098534889519215, -0.07371894270181656, -0.06237196922302246, -0.001886615646071732, 0.011465167626738548, 0.05677122250199318, -0.04804278165102005, -0.05684395879507065, -0.042332928627729416, -0.021893834695219994, 0.004546062089502811, -0.005359807051718235, 0.032167933881282806, -0.03211338073015213, 0.016502205282449722, -0.008392030373215675, 0.005559833720326424, 0.01741141639649868, -0.006619065999984741, -0.015274767763912678, -0.014192805625498295, -0.000961492070928216, 0.026730842888355255, -0.034368228167295456, 0.00003469923831289634, 0.0768829956650734, 0.02440326102077961, 0.014347371645271778, 0.01602032221853733, 0.0030640456825494766, -0.026912685483694077, -0.035186517983675, 0.1667131781578064, 0.0014274633722379804, -0.037750497460365295, -0.00548709649592638, -0.006369032897055149, -0.005300708115100861, -0.011701563373208046, -0.007419173140078783, 0.0005040445830672979, -0.010010427795350552, 0.01296536810696125, -0.003423184622079134, 0.035186517983675, 0.023021256551146507, 0.01712956093251705, -0.007610107772052288, -0.010865087620913982, 0.014683780260384083, -0.004664259497076273, 0.010083165019750595, 0.009755848906934261, 0.013683645986020565, -0.014774700626730919, -0.005237063392996788, 0.04346035048365593, 0.01669313944876194, -0.031222352758049965, 0.021548332646489143, -0.024439629167318344, -0.05211605504155159, -0.06386307626962662, -0.032077010720968246, -0.04280572012066841, -0.00883299857378006, -0.07150045782327652, 0.012356196530163288, -0.03745954856276512, -0.0036936751566827297, 0.008005615323781967, -0.03989623859524727, -0.051134105771780014, 0.0043574003502726555, 0.03314988315105438, 0.034877385944128036, -0.04531514644622803, -0.01495654322206974, -0.03898702561855316, 0.02931300736963749, 0.026167131960392, 0.025148814544081688, -0.04898836091160774, 0.007187323644757271, 0.057753171771764755, -0.013519988395273685, 0.041823770850896835, 0.006150821689516306, -0.05026125907897949, -0.02794918790459633, -0.01803877390921116, 0.023930469527840614, 0.026839949190616608, -0.04320577159523964, 0.011037838645279408, -0.00017758054309524596, -0.07150045782327652, 0.005318892188370228, 0.02067548967897892, -0.01051049493253231, -0.022748494520783424, -0.0014592858497053385, 0.07833773642778397, -0.03691402077674866, -0.004193742293864489, -0.00004364929554867558, 0.06357213109731674, 0.04669714719057083, 0.0163203626871109, -0.03815055266022682, 0.10154084116220474, -0.08190184831619263, 0.06193554773926735, -0.07226420193910599, -0.018657037988305092, -0.046915359795093536, 0.03262253850698471, 0.030822299420833588, -0.005746222101151943, 0.031222352758049965, 0.021330121904611588, 0.0006370168994180858, -0.03109506331384182, -0.002566251903772354, -0.0255852360278368, 0.01682952046394348, -0.042914822697639465, 0.01402914710342884, 0.0015718009090051055, 0.03967802971601486, 0.011792484670877457, 0.009701295755803585, -0.03314988315105438, -0.01733868010342121, 0.005705307703465223, -0.041823770850896835, -0.021893834695219994, -0.058007750660181046, 0.018657037988305092, 0.00762374559417367, -0.0581168532371521, 0.00015087242354638875, -0.005264339502900839, 0.02780371531844139, -0.02294852025806904, 0.00506431283429265, -0.06648160517215729, 0.005996255669742823, -0.06339028477668762, 0.026039842516183853, -0.04618798941373825, -0.003109506331384182, 0.005005213897675276, -0.02473057620227337, -0.08110174536705017, -0.001144471112638712, -0.01448375266045332, -0.030367692932486534, 0.01826607622206211, -0.010283191688358784, -0.07390078157186508, -0.0010558228241279721, 0.04276935011148453, -0.01983901485800743, -0.05273431912064552, -0.0020775501616299152, -0.013692738488316536, 0.010565048083662987, 0.05691669508814812, 0.006296295672655106, -0.0023616792168468237, 0.021311938762664795, 0.014947451651096344, 0.010392297059297562, -0.031567852944135666, 0.002659446094185114, -0.006082630716264248, 0.007855595089495182, -0.0255852360278368, 0.0694638267159462, 0.045715197920799255, -0.02713089808821678, 0.016474928706884384, 0.009992243722081184, -0.017311403527855873, 0.05051583796739578, 0.004882470238953829, 0.0001794273848645389, 0.004380130674690008, 0.005296161863952875, 0.0710640400648117, -0.022075677290558815, -0.014210989698767662, 0.03369541093707085, -0.02229388803243637, 0.014301910996437073, -0.0061462754383683205, -0.03347719833254814, -0.0011831126175820827, -0.0199117511510849, 0.020129961892962456, 0.028512900695204735, -0.0175932589918375, 0.0002407992142252624, 0.021493781358003616, 0.025057893246412277, 0.007246422581374645, 0.0005782022490166128, -0.026148946955800056, -0.01801149733364582, 0.023584969341754913, -0.050806786864995956, -0.021966570988297462, 0.04949752241373062, 0.024275969713926315, -0.031895171850919724, -0.049279309809207916, -0.07666479051113129, -0.03687765449285507, 0.02991308644413948, -0.02947666496038437, 0.02702179178595543, 0.0181751549243927, 0.06259018182754517, -0.017438692972064018, -0.02964032255113125, 0.03151329979300499, 0.03435004502534866, 0.05735311657190323, 0.01703863963484764, -0.041387345641851425, 0.01699317991733551, 0.034368228167295456, -0.0317133292555809, -0.012283459305763245, -0.0020491373725235462, 0.0467698834836483, 0.011992511339485645, -0.05768043175339699, 0.0344955176115036, 0.0365867055952549, 0.019693540409207344, -0.003998261410742998, -0.014083699323236942, 0.020911885425448418, -0.004464232828468084, -0.00435285409912467, 0.005232517141848803, -0.02711271308362484, 0.004532423801720142, 0.013192671351134777, -0.06626340001821518, 0.02565797232091427, 0.021984755992889404, -0.0007961291121318936, -0.05084315687417984, -0.024712393060326576, 0.018693406134843826, 0.023494048044085503, 0.005191602744162083, -0.015756649896502495, 0.04644256830215454, -0.0028958413749933243, -0.030294956639409065, 0.04364219307899475, -0.022148413583636284, 0.059098802506923676, -0.0361139141023159, -0.01643856056034565, 0.03244069591164589, -0.022730309516191483, -0.0052870698273181915, 0.01393822580575943, 0.023748626932501793, 0.007705574855208397, 0.00824201013892889, 0.04913383722305298, 0.0052734315395355225, 0.008387484587728977, 0.03338627889752388, 0.09361250698566437, 0.005473458673804998, -0.02102098986506462, 0.010201362892985344, -0.011674286797642708, -0.021802913397550583, 0.007491909898817539, -0.0012626686366274953, -0.0405145026743412, 0.051970578730106354, -0.02042091079056263, 0.04764273017644882, 0.03133145719766617, -0.03267709165811539, -0.003020858159288764, 0.02736729197204113, -0.038696080446243286, 0.0729188323020935, -0.07255514711141586, -0.01965717226266861, 0.03735044598579407, 0.036968573927879333, 0.052661579102277756, -0.05066131427884102, 0.005650755017995834, -0.01657494157552719, 0.01402005460113287, 0.029022058472037315, 0.01775691844522953, 0.05218879133462906, -0.008528412319719791, -0.018529748544096947, 0.010828719474375248, -0.012083432637155056, -0.01771145686507225, -0.04458777606487274, 0.029258454218506813, 0.05531648173928261, -0.006178098265081644, 0.00803289096802473, 0.013747290708124638, 0.008587511256337166, -0.03616846725344658, -0.022130228579044342, 0.018557025119662285, 0.030040377750992775, 0.06840913742780685, 0.04364219307899475, 0.02625805325806141, 0.0031981545034796, -0.02713089808821678, -0.06211739033460617, -0.003095868043601513, -0.02422141842544079, 0.026148946955800056, 0.0462970957159996, -0.06331755220890045, 0.03151329979300499, -0.006141729652881622, 0.03374996408820152, -0.007737397216260433, 0.03042224608361721, -0.045206040143966675, 0.0015058829449117184, 0.06928198039531708, -0.012728973291814327, -0.06600882112979889, -0.02847653068602085, 0.0032345231156796217, -0.011792484670877457, -0.023784995079040527, -0.0409872941672802, -0.009278512559831142, -0.0460788831114769, 0.007405534852296114, -0.029112979769706726, 0.04436956346035004, 0.0038141459226608276, 0.012783526442945004, -0.04229655861854553, 0.025912553071975708, 0.04811551794409752, -0.007173685822635889, -0.02051183208823204, 0.03271346166729927, 0.01732049509882927, 0.0005782022490166128, 0.05531648173928261, -0.001194477779790759, -0.01508383359760046, -0.022566651925444603, 0.03305896371603012, -0.005909880623221397, 0.016638586297631264, -0.007891963236033916, -0.04415135458111763, -0.040878187865018845, -0.018066050484776497, 0.04346035048365593, -0.03440459445118904, 0.04684261977672577, -0.024530550464987755, 0.009492177516222, 0.07928331941366196, 0.012847171165049076, 0.0018434281228110194, -0.06589971482753754, 0.02964032255113125, -0.04789730906486511, -0.07724668085575104, -0.002686722669750452, -0.04713356867432594, 0.005155234131962061, -0.026749027892947197, 0.020984621718525887, -0.02754913456737995, -0.01812969520688057, -0.0636812373995781, 0.009069393388926983, -0.0032095196656882763, 0.00901938695460558, 0.03369541093707085, 0.008287470787763596, -0.00659178989008069, -0.03034950979053974, 0.0002246038638986647, -0.038077812641859055, 0.06415402144193649, -0.05848053842782974, -0.04378766939043999, 0.05560743063688278, -0.038841553032398224, -0.04727904498577118, 0.07950153201818466, 0.0032777106389403343, 0.04211471602320671, 0.04695172607898712, -0.0121561698615551, -0.014774700626730919, 0.02905842661857605, -0.06546328961849213, -0.01733868010342121, 0.017356865108013153, -0.04287845641374588, 0.007255514618009329, -0.03178606554865837, 0.029331190511584282, 0.013210855424404144, -0.0005060335388407111, -0.0009506951901130378, 0.0011359471827745438, -0.030822299420833588, 0.029294822365045547, 0.07335525751113892, 0.05662574619054794, -0.007205508183687925, 0.011365154758095741, 0.011701563373208046, -0.011283325962722301, 0.012928999960422516, -0.050370365381240845, -0.044515036046504974, 0.05175236985087395, 0.017856931313872337, -0.019129827618598938, -0.07993794977664948, 0.007573739159852266, 0.08488406985998154, -0.05709853768348694, -0.012765341438353062, -0.028840215876698494, -0.03271346166729927, -0.046806253492832184, -0.0782650038599968, 0.03145874664187431, 0.007350982166826725, 0.07019119709730148, 0.013065381906926632, 0.018138786777853966, -0.02822195179760456, 0.019875383004546165, -0.047315411269664764, 0.01627490110695362, 0.00987404678016901, -0.004673351533710957, 0.0063508483581244946, 0.022493913769721985, 0.061826441437006, -0.008564780466258526, -0.01771145686507225, -0.05389811098575592, -0.030876852571964264, 0.05662574619054794, 0.057134903967380524, 0.004741542506963015, -0.06255380809307098, 0.0430602990090847, -0.032586172223091125, -0.0034140923526138067, -0.012865355238318443, 0.0052188788540661335, 0.035659309476614, -0.030458614230155945, -0.02847653068602085, 0.005809867288917303, -0.010092257522046566, 0.019038906320929527, 0.0537162683904171, -0.08001068979501724, -0.021239200606942177, 0.007119132671505213, 0.0048506478779017925, -0.028185583651065826, -0.01317448727786541, 0.014547398313879967, -0.007914694026112556, 0.009983152151107788, 0.021330121904611588, 0.039350710809230804, -0.0007142999675124884, 0.0773194208741188, -0.049861207604408264, 0.00002880356441892218, 0.052479736506938934, 0.015638452023267746, 0.013365421444177628, -0.00024875483359210193, 0.012892631813883781, 0.003791415598243475, 0.02947666496038437, 0.0038573334459215403, -0.03398635983467102, 0.020620936527848244, -0.015483886934816837, -0.03229522332549095, 0.028094662353396416, 0.007428265176713467, -0.0386597104370594, -0.000577349856030196, 0.034877385944128036, 0.024530550464987755, -0.006805454846471548, 0.013401790522038937, -0.05462547764182091, 0.061826441437006, 0.05142505094408989, -0.002075277268886566, 0.06375396996736526, -0.02956758625805378, 0.04171466454863548 ]
41,959
unittest.case
skipTest
Skip this test.
def skipTest(self, reason): """Skip this test.""" raise SkipTest(reason)
(self, reason)
[ 0.005264685954898596, 0.022681303322315216, 0.013437895104289055, 0.013040886260569096, -0.01306677795946598, -0.018176112323999405, 0.011634092777967453, 0.046605415642261505, 0.07470675557851791, 0.018711211159825325, -0.013955732807517052, 0.01721811294555664, 0.033435072749853134, -0.010261822491884232, -0.038734279572963715, -0.0037003837060183287, 0.07905659824609756, 0.03517846018075943, -0.0008841004455462098, -0.03576534241437912, -0.036697451025247574, 0.03189881891012192, 0.015466094017028809, 0.02590915933251381, -0.03336602449417114, 0.04025327041745186, -0.011150777339935303, -0.01821063458919525, 0.018020762130618095, -0.01943618431687355, -0.04429240897297859, -0.011452849954366684, -0.04101276770234108, 0.06766416132450104, 0.026202600449323654, 0.025891898199915886, -0.07712333649396896, 0.05278494954109192, -0.10626035183668137, -0.018331464380025864, -0.02682400681078434, 0.004595811944454908, 0.010572524741292, 0.0021662889048457146, -0.013403372839093208, -0.04191035404801369, -0.012436741963028908, -0.028291214257478714, -0.0008420260855928063, 0.047951795160770416, 0.020489122718572617, 0.030759574845433235, 0.005609911400824785, 0.05585745722055435, -0.0010906961979344487, 0.043498389422893524, 0.025978203862905502, -0.05361349135637283, -0.00299051427282393, 0.017666906118392944, -0.039321161806583405, 0.05323374271392822, 0.01640683226287365, 0.026944834738969803, -0.010149624198675156, 0.006140695419162512, -0.04588044434785843, -0.02628890797495842, 0.03179525211453438, -0.009044903330504894, 0.0018404824659228325, 0.0013377481373026967, -0.01046895794570446, 0.03566177561879158, 0.023975897580385208, -0.025339538231492043, -0.03783669322729111, -0.011780813336372375, 0.028843574225902557, -0.02318187989294529, -0.00550202839076519, 0.018279680982232094, -0.06649039685726166, 0.02392411418259144, 0.018279680982232094, -0.020230203866958618, 0.04739943519234657, -0.03467788174748421, 0.014749751426279545, -0.00009284672705689445, -0.00995974987745285, 0.009735354222357273, 0.000305308640236035, -0.0347469262778759, 0.05240520089864731, 0.05254329368472099, 0.027013881132006645, 0.018245156854391098, -0.06293457746505737, -0.020437339320778847, 0.04146156087517738, 0.04622567072510719, 0.03535107150673866, -0.02687579020857811, 0.047364912927150726, -0.0442233607172966, -0.05216354504227638, -0.029275106266140938, -0.014361373148858547, 0.021766455844044685, -0.01341200340539217, -0.01788267120718956, -0.03400469198822975, -0.034125521779060364, 0.02590915933251381, -0.04871129244565964, 0.02392411418259144, -0.012652507983148098, -0.007008073851466179, -0.0023842123337090015, 0.04691611975431442, 0.049125563353300095, -0.056996699422597885, -0.02458004280924797, 0.06172628700733185, -0.02682400681078434, 0.007689893711358309, 0.08243980258703232, 0.025891898199915886, -0.012428111396729946, 0.02002306841313839, -0.012669769115746021, -0.0529920868575573, -0.03245117887854576, -0.017010977491736412, 0.03973543271422386, 0.08133508265018463, 0.023147357627749443, 0.07884946465492249, -0.049125563353300095, 0.017252635210752487, -0.012894165702164173, 0.008514119312167168, 0.07739951461553574, 0.0189528688788414, 0.01059841737151146, -0.08858481794595718, -0.00933834444731474, 0.0685272216796875, 0.0427388921380043, 0.07066762447357178, 0.0006068413495086133, -0.07995418459177017, -0.01953975297510624, -0.02842930518090725, 0.01981593295931816, -0.04881485924124718, 0.03257200866937637, -0.022957483306527138, -0.027134709060192108, 0.06435000151395798, -0.03312436863780022, 0.07249731570482254, 0.04263532534241676, 0.009752615354955196, -0.008250884711742401, -0.0612429715692997, 0.016519030556082726, 0.01389531884342432, -0.03752599284052849, 0.010779660195112228, 0.00430452823638916, -0.012540309689939022, 0.002487779827788472, -0.012574831955134869, -0.015103607438504696, 0.003972248639911413, -0.008880920708179474, -0.05509795993566513, -0.01306677795946598, 0.012160561978816986, -0.002912838477641344, -0.07180686295032501, 0.020540906116366386, 0.05765262618660927, -0.03271009773015976, -0.009968380443751812, -0.0022612258326262236, -0.004479298368096352, 0.0002683587372303009, -0.006593803409487009, 0.006900190841406584, 0.020092112943530083, 0.10384377092123032, 0.03894141688942909, -0.018935607746243477, 0.017364833503961563, 0.0179862380027771, 0.046985164284706116, 0.025943681597709656, -0.025356799364089966, 0.0573074035346508, 0.03652483969926834, -0.05571936443448067, 0.005691902246326208, -0.007931551896035671, -0.05423489585518837, -0.02024746499955654, -0.015966670587658882, 0.015155390836298466, 0.018400508910417557, 0.02249142900109291, 0.034988585859537125, 0.03987352177500725, 0.03918307274580002, -0.024269338697195053, 0.033763036131858826, -0.015310742892324924, -0.012738813646137714, 0.04052945226430893, -0.04846963286399841, 0.00646434398368001, -0.028032295405864716, -0.0674915462732315, 0.0738091692328453, -0.025512151420116425, 0.060310862958431244, -0.0505409874022007, -0.013990256004035473, -0.02045460045337677, 0.00799628160893917, 0.02060995064675808, -0.022560473531484604, -0.041737738996744156, 0.07519007474184036, -0.002906365552917123, -0.07173781841993332, -0.061381060630083084, -0.043705523014068604, -0.015612814575433731, -0.017520183697342873, 0.003926937934011221, 0.013800381682813168, 0.04577687755227089, 0.044568587094545364, -0.016070237383246422, -0.0301381703466177, 0.027928728610277176, 0.03807835280895233, 0.04332577809691429, 0.04895294830203056, -0.027911465615034103, -0.012419480830430984, 0.005532235838472843, -0.026685915887355804, -0.028187647461891174, 0.039493776857852936, -0.010831444524228573, 0.02221524901688099, 0.02827395312488079, -0.011211192235350609, -0.05520152673125267, -0.06455713510513306, 0.005955136846750975, 0.03302080184221268, -0.0006785835139453411, 0.019884977489709854, 0.03617961332201958, 0.012082885950803757, 0.0027186493389308453, 0.1254548728466034, -0.02292296104133129, 0.008984488435089588, 0.01867668889462948, 0.005812731105834246, 0.015983931720256805, -0.011073102243244648, 0.04187583178281784, -0.033383287489414215, 0.03419456630945206, 0.06545472145080566, 0.04722682386636734, 0.011452849954366684, -0.0011586624896153808, -0.04691611975431442, -0.01587173342704773, -0.02264678105711937, 0.0006408244953490794, -0.008924074470996857, 0.023647934198379517, 0.017968976870179176, 0.011340651661157608, 0.028895359486341476, -0.017433878034353256, 0.01105584017932415, 0.015561031177639961, -0.0189528688788414, -0.02913701720535755, -0.003238644916564226, 0.009795768186450005, 0.02848108857870102, -0.007750308141112328, -0.06700823456048965, 0.013006363995373249, -0.07401631027460098, 0.01777910441160202, 0.0094764344394207, 0.04722682386636734, -0.047088731080293655, -0.045638784766197205, -0.02960306964814663, -0.018279680982232094, 0.040460407733917236, 0.01660533808171749, -0.012635246850550175, -0.057203833013772964, 0.03797478601336479, -0.014706598594784737, -0.003545032348483801, -0.02259499579668045, -0.04487929120659828, 0.04784822836518288, 0.00388810015283525, 0.01367955282330513, 0.004992821253836155, 0.03845810145139694, -0.014085193164646626, 0.005532235838472843, -0.052025455981492996, 0.00976987648755312, 0.0322958268225193, -0.029223322868347168, -0.007167740724980831, -0.019470708444714546, -0.10432709008455276, 0.01381764281541109, 0.029844727367162704, -0.047779183834791183, 0.05889543890953064, 0.028291214257478714, 0.05216354504227638, -0.0738091692328453, -0.005066181533038616, 0.0160529762506485, 0.01258346252143383, -0.0051050190813839436, -0.027238277718424797, 0.020678997039794922, 0.06838913261890411, 0.02982746623456478, 0.12593819200992584, 0.029568547382950783, -0.0369391068816185, -0.01681247353553772, 0.029223322868347168, 0.009277930483222008, -0.013584615662693977, 0.00659811869263649, -0.01512949913740158, -0.03628318011760712, 0.009260669350624084, 0.016691643744707108, 0.026996619999408722, 0.040287792682647705, -0.025840114802122116, -0.02972389943897724, 0.011193931102752686, -0.002020646817982197, -0.03265831619501114, -0.009778507053852081, -0.039010461419820786, -0.03894141688942909, -0.008250884711742401, -0.03371125087141991, -0.010978165082633495, -0.056996699422597885, 0.016139283776283264, -0.0041815415024757385, -0.031225629150867462, 0.04898747056722641, -0.006395298987627029, -0.03490227833390236, -0.0342290885746479, -0.0013906107051298022, -0.028722746297717094, -0.00756043428555131, 0.02088613063097, -0.0044836136512458324, 0.016959194093942642, -0.03780217096209526, 0.02810133993625641, -0.05461464449763298, 0.0031847034115344286, 0.016881518065929413, -0.0023108518216758966, -0.042807940393686295, -0.045914966613054276, -0.02516692504286766, -0.04298055171966553, -0.004712325520813465, 0.008591795340180397, 0.006567911710590124, -0.05696217715740204, 0.01678658090531826, 0.05047193914651871, -0.0005024646525271237, 0.012825120240449905, -0.0057134791277348995, 0.04204844310879707, 0.018124328926205635, -0.05868830159306526, -0.001810275251045823, -0.04097824543714523, -0.017761841416358948, 0.02376876212656498, 0.027445413172245026, -0.038837846368551254, 0.049229130148887634, 0.007888398133218288, -0.0004420502227731049, 0.05979302525520325, -0.05723835527896881, 0.035299286246299744, -0.006084596272557974, 0.044085271656513214, 0.01204836368560791, -0.01533663459122181, 0.013049516826868057, -0.005014397669583559, 0.03467788174748421, -0.05302660912275314, -0.011504633352160454, 0.017744580283761024, 0.01852133870124817, 0.001843718928284943, 0.006537704262882471, -0.06300362199544907, -0.03869975730776787, 0.008587479591369629, 0.015431571751832962, -0.013092669658362865, -0.032054170966148376, 0.009303822182118893, -0.00299051427282393, 0.059413276612758636, 0.01589762605726719, -0.005269001238048077, 0.011763552203774452, 0.020540906116366386, 0.02483896166086197, -0.044568587094545364, 0.032951757311820984, 0.03141550347208977, -0.049816012382507324, -0.03126015141606331, -0.052129022777080536, -0.06383215636014938, 0.02254321239888668, 0.020851608365774155, 0.020955177024006844, 0.06307266652584076, 0.022905699908733368, -0.058343078941106796, -0.0636250227689743, 0.06017277017235756, 0.03994257003068924, 0.010615678504109383, -0.015276219695806503, 0.018970130011439323, 0.026944834738969803, -0.014611661434173584, -0.010995426215231419, 0.037664081901311874, -0.031035754829645157, 0.00888955220580101, 0.0011802390217781067, -0.0413234680891037, 0.03673197329044342, 0.09217515587806702, 0.05792880803346634, 0.017968976870179176, 0.0004280254361219704, 0.05347540229558945, 0.0013636399526149035, -0.03914855048060417, -0.03807835280895233, -0.025356799364089966, -0.036110568791627884, 0.018780257552862167, -0.03388386592268944, 0.013420633971691132, -0.08471829444169998, -0.0006510733510367572, 0.016872886568307877, 0.018400508910417557, -0.05551223084330559, -0.016018453985452652, 0.021283140406012535, -0.012013840489089489, -0.011823967099189758, 0.004889253526926041, -0.009718092158436775, -0.003715487429872155, -0.04097824543714523, 0.029413197189569473, -0.0505409874022007, 0.0010437672026455402, 0.025512151420116425, 0.005942190531641245, -0.0018987392541021109, 0.01678658090531826, 0.08989667147397995, 0.011470111086964607, 0.003814739640802145, 0.06024181842803955, -0.035092152655124664, 0.004582866095006466, 0.0077287317253649235, 0.053786102682352066, 0.028394781053066254, 0.046191148459911346, -0.021714672446250916, 0.02238786220550537, 0.01091775018721819, 0.006494550965726376, -0.002139318035915494, -0.00107613205909729, 0.02066173404455185, 0.032157737761735916, 0.0719449520111084, 0.002660392550751567, -0.0189528688788414, 0.04380909353494644, 0.02420029416680336, -0.008634948171675205, -0.00859611015766859, -0.003199807135388255, 0.010313605889678001, 0.06997717171907425, 0.012764706276357174, 0.05789428576827049, -0.027756115421652794, 0.03956282138824463, -0.014335481449961662, -0.009182993322610855, 0.06379763782024384, -0.08209457993507385, 0.05830855667591095, -0.07808996737003326, -0.020489122718572617, 0.016208328306674957, -0.02949950285255909, -0.0044836136512458324, -0.054476555436849594, 0.07008073478937149, -0.040771108120679855, 0.043601956218481064, 0.064211905002594, 0.04225557669997215, 0.0159235168248415, -0.049816012382507324, -0.046605415642261505, 0.05023028329014778, -0.0874800905585289, 0.004347681067883968, -0.027445413172245026, 0.024856222793459892, -0.04097824543714523, -0.006908821407705545, -0.01008920930325985, -0.012126038782298565, -0.060310862958431244, 0.005730740260332823, 0.044948335736989975, -0.07960895448923111, -0.001821063575334847, -0.003143707988783717, 0.01916000433266163, 0.005842938553541899, -0.05547770857810974, -0.04374004527926445, -0.01803802326321602, 0.0466744638979435, -0.04895294830203056, -0.0777447372674942, -0.02387233078479767, 0.03165715932846069, -0.005023028235882521, 0.030914926901459694, -0.01587173342704773, -0.026323430240154266, 0.0002869685413315892, -0.002906365552917123, -0.08464924991130829, -0.0016775792464613914, 0.01767553575336933, 0.002144712256267667, -0.03628318011760712, 0.017546076327562332, 0.053786102682352066, 0.010555263608694077, 0.05237067863345146, 0.060414429754018784, 0.03490227833390236, 0.04536260664463043, 0.045638784766197205, -0.06655944138765335, -0.029706638306379318, -0.04836606606841087, -0.02521870844066143, -0.00556675810366869, 0.02773885428905487, 0.007953127846121788, -0.044844768941402435, -0.041047289967536926, -0.027065664529800415, -0.023095574229955673, -0.018400508910417557, 0.010002903640270233, -0.0027035456150770187, -0.010900489054620266, 0.015371156856417656, -0.0373879000544548, 0.0051136501133441925, -0.06210603192448616, 0.013739967718720436, -0.007055542431771755, -0.04415431618690491, -0.032641053199768066, -0.01645861752331257, -0.06783677637577057, -0.01202247105538845, 0.0042397985234856606, -0.043291255831718445, -0.07008073478937149, -0.04084015265107155, 0.030759574845433235, -0.02817038632929325, 0.029844727367162704, -0.02275034785270691, 0.04784822836518288, -0.0008803245727904141, -0.009847551584243774, 0.016665751114487648, -0.08865386247634888, -0.016752058640122414, 0.002364793326705694, -0.06766416132450104, 0.035299286246299744, -0.030742313712835312, -0.02093791589140892, 0.03617961332201958, 0.021990852430462837, -0.011375173926353455, -0.0408056303858757, 0.019453445449471474, -0.01997128501534462, 0.06973551213741302, 0.03443622589111328, -0.03987352177500725, 0.012091516517102718, 0.0045612892135977745, -0.033279720693826675, 0.01384353544563055, 0.05375158041715622, 0.02590915933251381, 0.04187583178281784, -0.05016123875975609, 0.006239947397261858, -0.009830290451645851, 0.0013701129937544465, 0.04871129244565964, 0.0004892490105703473, -0.010192777030169964, 0.05509795993566513, -0.024597303941845894, -0.043118640780448914, -0.029534025117754936, -0.00598102854564786, -0.03735337778925896, -0.0787804126739502, 0.0020638001151382923, -0.039804477244615555, -0.08409688621759415, -0.034557051956653595, 0.09024189412593842, -0.08243980258703232, -0.028239430859684944, -0.04108181223273277, -0.035092152655124664, -0.046294715255498886, -0.02590915933251381, 0.033814817667007446, 0.04995410144329071, -0.03773312643170357, -0.05889543890953064, 0.005096388515084982, -0.032364871352910995, 0.013368850573897362, -0.013446525670588017, 0.010140993632376194, -0.005316469818353653, 0.008285407908260822, -0.010374020785093307, 0.03918307274580002, -0.004958298522979021, 0.0013938471674919128, -0.0398389995098114, 0.028722746297717094, -0.0671117976307869, -0.002537406049668789, 0.032036907970905304, -0.019988546147942543, -0.04121990129351616, 0.009614525362849236, -0.02842930518090725, -0.003076820634305477, -0.06835461407899857, -0.02799777314066887, 0.020523644983768463, -0.036214135587215424, 0.02323366329073906, -0.049608878791332245, 0.028360258787870407, -0.04052945226430893, -0.015854472294449806, -0.0646606981754303, -0.05047193914651871, 0.036973629146814346, 0.03614509105682373, 0.033918388187885284, -0.006209740415215492, -0.018486814573407173, 0.022560473531484604, 0.028463827446103096, -0.0043714153580367565, 0.0031135007739067078, 0.03956282138824463, 0.057100266218185425, 0.016415463760495186, -0.027186492457985878, 0.015466094017028809, -0.02751445770263672, -0.023803284391760826, -0.0006456791888922453, 0.008332875557243824, 0.025305015966296196, 0.08658251166343689, 0.056720517575740814, -0.014016147702932358, 0.01872847229242325, -0.021386707201600075, -0.01464618369936943, 0.030069123953580856, -0.007305830717086792, 0.008052380755543709, 0.04384361580014229, 0.010857336223125458, -0.00659811869263649, -0.0379057377576828, -0.00886365957558155, 0.019988546147942543, 0.03555820882320404, 0.004259217064827681, 0.028774529695510864, -0.004582866095006466, 0.035799864679574966, 0.03383208066225052 ]
41,960
unittest.case
subTest
Return a context manager that will return the enclosed block of code in a subtest identified by the optional message and keyword parameters. A failure in the subtest marks the test case as failed but resumes execution at the end of the enclosed block, allowing further test code to be executed.
def __exit__(self, exc_type, exc_value, tb): self.warnings_manager.__exit__(exc_type, exc_value, tb) if exc_type is not None: # let unexpected exceptions pass through return try: exc_name = self.expected.__name__ except AttributeError: exc_name = str(self.expected) first_matching = None for m in self.warnings: w = m.message if not isinstance(w, self.expected): continue if first_matching is None: first_matching = w if (self.expected_regex is not None and not self.expected_regex.search(str(w))): continue # store warning for later retrieval self.warning = w self.filename = m.filename self.lineno = m.lineno return # Now we simply try to choose a helpful failure message if first_matching is not None: self._raiseFailure('"{}" does not match "{}"'.format( self.expected_regex.pattern, str(first_matching))) if self.obj_name: self._raiseFailure("{} not triggered by {}".format(exc_name, self.obj_name)) else: self._raiseFailure("{} not triggered".format(exc_name))
(self, msg=<object object at 0x7f49041999f0>, **params)
[ 0.0345245823264122, 0.011611112393438816, 0.043487872928380966, 0.036489397287368774, -0.056549206376075745, -0.08607754856348038, 0.019236460328102112, 0.042327698320150375, -0.02002238668501377, -0.01517584640532732, 0.015419108793139458, 0.03678879514336586, 0.016551215201616287, -0.020490199327468872, -0.03575960919260979, 0.0643710345029831, -0.04345044866204262, 0.0075458199717104435, 0.03038911707699299, -0.004902677610516548, -0.03383221849799156, 0.0022665527649223804, 0.01876864768564701, 0.016794478520751, -0.01927388645708561, -0.003662973875179887, -0.004306216724216938, -0.03497368097305298, 0.06863749027252197, -0.0025191716849803925, -0.07623476535081863, -0.05194592848420143, -0.011901156976819038, 0.018094997853040695, 0.03493625670671463, -0.03091306798160076, -0.033532820641994476, 0.04146692156791687, 0.028948253020644188, 0.0019121846416965127, 0.025093477219343185, -0.005403237417340279, 0.013080044649541378, 0.014539620839059353, 0.021949775516986847, -0.001810435438528657, -0.007330625783652067, 0.0016712611541152, -0.044273801147937775, -0.03970794752240181, -0.016120828688144684, -0.013182963244616985, 0.03488012030720711, 0.025449015200138092, 0.05916895717382431, 0.06553120911121368, 0.04139207303524017, 0.007906035520136356, 0.050149526447057724, -0.03549763187766075, 0.0026478201616555452, 0.05920638516545296, -0.04491002485156059, -0.021070286631584167, 0.006493241060525179, -0.047754328697919846, 0.027002152055501938, -0.033701229840517044, -0.014446058310568333, 0.05778423324227333, 0.005169331096112728, -0.023035099729895592, -0.03785540908575058, 0.018001435324549675, 0.053630053997039795, -0.05602525547146797, -0.06332313269376755, 0.001431507058441639, 0.03461814299225807, -0.015830783173441887, -0.003819691250100732, 0.06556863337755203, -0.0428142249584198, -0.02849915437400341, 0.031343456357717514, -0.029434779658913612, 0.01355721428990364, -0.04015704616904259, 0.026758890599012375, 0.037836696952581406, -0.034580718725919724, -0.04322589933872223, -0.0009081415482796729, 0.016139540821313858, -0.019760411232709885, 0.01007668673992157, 0.00791071355342865, -0.03100663051009178, -0.014043739065527916, 0.005763453431427479, 0.049924977123737335, -0.016897397115826607, 0.052469879388809204, 0.032035816460847855, 0.05445340648293495, 0.006395000498741865, 0.02256728708744049, -0.011489481665194035, -0.03559119626879692, 0.012846138328313828, -0.03811738267540932, -0.08487994968891144, -0.053031254559755325, -0.030332978814840317, 0.0015005094464868307, -0.0321480929851532, -0.08892185240983963, -0.035142093896865845, 0.016616709530353546, 0.010366730391979218, 0.06336056441068649, -0.012958413921296597, -0.04689355194568634, 0.032466206699609756, 0.008032345212996006, 0.009005395695567131, -0.011629825457930565, -0.0023109950125217438, 0.0042126537300646305, 0.02108899876475334, -0.05857015773653984, -0.007157535292208195, -0.07949074357748032, 0.014820308424532413, -0.008762133307754993, 0.06650426238775253, -0.02771322801709175, 0.04071842133998871, 0.013772407546639442, -0.08113744854927063, 0.00998312421143055, 0.03793025761842728, 0.0015461212024092674, -0.05797135829925537, 0.0036746691912412643, -0.0065447003580629826, 0.00998312421143055, 0.03179255500435829, -0.01040415558964014, -0.012584163807332516, -0.023109950125217438, -0.04184117540717125, -0.0457708016037941, -0.01327652670443058, 0.010245099663734436, 0.015334902331233025, -0.023428063839673996, 0.0029308469966053963, 0.006652297452092171, 0.0038477599155157804, 0.02711442857980728, -0.06489498913288116, 0.021800074726343155, -0.028293315321207047, 0.02683374099433422, 0.053442928940057755, -0.0015741899842396379, 0.034449733793735504, -0.015643658116459846, -0.0690491646528244, -0.10029905289411545, 0.015568808652460575, -0.033383119851350784, 0.03123117983341217, -0.05871985852718353, 0.03779927268624306, -0.0038290475495159626, 0.01032930612564087, -0.021425824612379074, -0.014240220189094543, 0.045433975756168365, -0.03691978380084038, -0.05175880342721939, 0.042140573263168335, -0.0059646125882864, -0.008645179681479931, -0.007845220156013966, 0.03517951816320419, -0.02501862682402134, 0.022024624049663544, -0.0004274639068171382, -0.002332046627998352, 0.017599117010831833, 0.0456959493458271, 0.011339781805872917, 0.0075224293395876884, -0.024981200695037842, 0.01484837755560875, 0.07687099277973175, -0.0315680056810379, -0.03796768561005592, 0.03615257143974304, -0.012668369337916374, 0.014343139715492725, 0.04910162836313248, 0.019161609932780266, 0.052282754331827164, -0.0005587438936345279, -0.0671030655503273, 0.025636140257120132, 0.013182963244616985, -0.009674368426203728, -0.022866688668727875, 0.017664609476923943, 0.03785540908575058, -0.060254283249378204, 0.04060614854097366, -0.01227540709078312, -0.017655253410339355, 0.07342789322137833, 0.009426427073776722, -0.001115733408369124, 0.0035764286294579506, 0.018001435324549675, 0.005660534370690584, 0.02834945358335972, 0.011704674921929836, 0.008149297907948494, 0.054191429167985916, -0.002788164187222719, -0.022586001083254814, -0.020359210669994354, 0.01012346800416708, -0.05774680897593498, -0.060628533363342285, 0.05134712904691696, 0.021350974217057228, 0.0009578466415405273, -0.049176476895809174, 0.009538702666759491, -0.03386964276432991, -0.0006648788694292307, -0.03293401747941971, 0.0024443217553198338, 0.05329323187470436, -0.048764802515506744, 0.008556295186281204, 0.016813190653920174, 0.0024864247534424067, 0.018731223419308662, 0.06661653518676758, 0.026291077956557274, 0.0042500789277255535, -0.051272280514240265, -0.014520907774567604, -0.052806705236434937, -0.010993599891662598, -0.08435599505901337, 0.07934104651212692, -0.027600953355431557, 0.0418037474155426, 0.06826324015855789, 0.006469850428402424, 0.034449733793735504, -0.041766323149204254, -0.03211066871881485, -0.014483483508229256, -0.008799558505415916, 0.044835176318883896, 0.02780679054558277, -0.002357776276767254, 0.007218351121991873, -0.04169147461652756, 0.04184117540717125, -0.07368986308574677, 0.08630210161209106, 0.00001733282806526404, -0.01742134802043438, -0.01202278770506382, 0.016532503068447113, 0.033102430403232574, 0.044835176318883896, 0.037275321781635284, -0.0074148322455585, -0.003913253545761108, -0.0020314769353717566, -0.022548574954271317, -0.013940820470452309, -0.007934104651212692, 0.00867792684584856, 0.005492121912539005, -0.047604627907276154, 0.010684843175113201, -0.0150822838768363, 0.02441982552409172, -0.004593921359628439, -0.03770570829510689, -0.04850282892584801, 0.015437820926308632, 0.0024630341213196516, 0.008327066898345947, 0.0006426578038372099, 0.041766323149204254, 0.036395832896232605, -0.005707315634936094, -0.0025519186165183783, 0.03854777291417122, -0.03474913164973259, 0.016710272058844566, 0.011760813184082508, 0.06826324015855789, 0.032784316688776016, 0.02108899876475334, -0.019853973761200905, 0.06029170751571655, 0.013332664035260677, 0.05523933097720146, -0.01896512880921364, -0.05890698358416557, 0.06190098449587822, 0.00012872160004917532, -0.04296392574906349, 0.04127979651093483, -0.07859254628419876, 0.06691593676805496, 0.002120361430570483, -0.0467064268887043, 0.022230463102459908, -0.0014010992599651217, -0.05875728279352188, -0.025467727333307266, -0.10261940956115723, -0.020508911460638046, -0.03123117983341217, 0.05819590762257576, 0.02881726622581482, -0.012106994166970253, -0.026141377165913582, 0.0369759202003479, -0.039782796055078506, 0.0062686908058822155, -0.007920070551335812, -0.020639898255467415, -0.02928507886826992, 0.04124237224459648, 0.008808914572000504, -0.0023952012415975332, -0.013005195185542107, 0.029041815549135208, 0.04940102621912956, -0.009164451621472836, 0.020546335726976395, -0.03996992111206055, 0.013229744508862495, -0.0046594152227044106, 0.004100379068404436, -0.03428132086992264, -0.06751473993062973, 0.008200758136808872, 0.0068113538436591625, 0.00993634294718504, 0.058869559317827225, 0.003335505025461316, -0.0011122248833999038, -0.019947536289691925, -0.04767947643995285, -0.017571046948432922, 0.014305714517831802, -0.022922825068235397, -0.029341217130422592, -0.003319131676107645, 0.023877164348959923, 0.006189162842929363, -0.03276560455560684, 0.03141830489039421, -0.03854777291417122, 0.02552386373281479, 0.028929540887475014, -0.02649691514670849, 0.022773126140236855, 0.06908658891916275, 0.017879804596304893, -0.05726028233766556, -0.0017847056733444333, -0.03710690885782242, -0.03147444128990173, 0.008794879540801048, 0.027694515883922577, -0.02075217477977276, 0.04610762745141983, 0.04045644775032997, -0.026384640485048294, 0.052282754331827164, 0.007396119646728039, 0.021800074726343155, 0.01600855216383934, -0.036021582782268524, -0.032728180289268494, -0.048577677458524704, 0.011873087845742702, -0.030501391738653183, 0.07664643973112106, -0.09206555038690567, -0.0010309424251317978, 0.0354602076113224, 0.0023566067684441805, -0.00786393228918314, 0.01591498963534832, -0.008827626705169678, 0.01896512880921364, -0.09296375513076782, -0.03386964276432991, 0.04629475250840187, -0.07552368938922882, -0.012687082402408123, -0.0051412624306976795, 0.006221909541636705, 0.013229744508862495, 0.03925884887576103, -0.023933300748467445, -0.017290359362959862, -0.004013833589851856, 0.07638446986675262, -0.02150067500770092, 0.0053704907186329365, -0.049326177686452866, -0.09790385514497757, -0.02761966548860073, -0.028761127963662148, -0.02761966548860073, -0.036582957953214645, -0.011798237450420856, -0.005244181025773287, -0.0044793072156608105, 0.02752610296010971, -0.06358511000871658, -0.07065843790769577, -0.014764171093702316, 0.03858519718050957, 0.02015337347984314, -0.005726028233766556, 0.04378727450966835, 0.011115231551229954, 0.06792641431093216, -0.004703857470303774, -0.01974169909954071, 0.04910162836313248, -0.0060301064513623714, -0.04419894888997078, 0.03345796838402748, -0.030370404943823814, 0.03302758187055588, -0.013744339346885681, -0.04101782292127609, 0.008481445722281933, -0.013164251111447811, -0.04532169923186302, -0.012106994166970253, 0.014202795922756195, -0.0018759291851893067, -0.006310794036835432, 0.010235743597149849, 0.02784421481192112, -0.04693097621202469, 0.004907356109470129, 0.007976207882165909, 0.033065006136894226, -0.008579686284065247, 0.03038911707699299, 0.025074763223528862, -0.011901156976819038, -0.020546335726976395, 0.000870131712872535, 0.03312114253640175, -0.015840141102671623, -0.031025342643260956, 0.009608874097466469, 0.014885801821947098, 0.034917544573545456, -0.003517952049151063, 0.11788881570100784, 0.04618247598409653, 0.06987251341342926, -0.006642941385507584, -0.04026932269334793, -0.019011911004781723, 0.02181878685951233, -0.07571081817150116, -0.017159372568130493, 0.05415400490164757, -0.05677375569939613, -0.029079241678118706, 0.0002878510276786983, 0.03154929354786873, -0.010881325230002403, -0.00809783861041069, 0.01040415558964014, -0.021837498992681503, 0.0025261889677494764, -0.05759710818529129, 0.03418775647878647, -0.032971445471048355, -0.013454294763505459, -0.053068678826093674, 0.012013431638479233, -0.026609189808368683, 0.001850199536420405, -0.005473409313708544, 0.01711259037256241, -0.019498435780405998, 0.011414631269872189, 0.059243809431791306, 0.0032980800606310368, -0.028162328526377678, -0.03517951816320419, -0.024681800976395607, -0.005988003220409155, -0.026440776884555817, 0.02168780006468296, 0.04139207303524017, 0.013398157432675362, 0.018160492181777954, 0.007428866811096668, -0.025785839185118675, 0.041130099445581436, -0.043113622814416885, 0.03330826759338379, 0.04592050239443779, 0.050486352294683456, 0.012135063298046589, -0.020321786403656006, -0.018469247967004776, 0.029902592301368713, -0.04509714990854263, 0.037836696952581406, -0.016831902787089348, -0.0204340610653162, 0.012125707231462002, -0.02733897790312767, -0.02533673867583275, -0.006554056890308857, 0.02552386373281479, -0.012752575799822807, -0.018403753638267517, -0.0016665830044075847, 0.010769049637019634, -0.041167523711919785, 0.01387532614171505, -0.05688603222370148, 0.009767930954694748, 0.0631360113620758, -0.021425824612379074, 0.03836064785718918, 0.0033495393581688404, -0.06291145831346512, 0.027600953355431557, 0.05422885715961456, 0.07657159119844437, 0.09820325672626495, 0.03605900704860687, -0.0056465002708137035, 0.0505986288189888, 0.06467043608427048, -0.027881640940904617, 0.011386563070118427, 0.025093477219343185, 0.021294837817549706, 0.015465890057384968, -0.0019086761167272925, 0.002535545267164707, -0.03527308255434036, -0.031212467700242996, -0.0027647733222693205, -0.04139207303524017, -0.0389220230281353, 0.02075217477977276, -0.002325029345229268, 0.038023822009563446, -0.0075692106038331985, 0.008074448443949223, 0.008925867266952991, 0.02492506429553032, 0.01220991276204586, -0.033158570528030396, -0.005950578488409519, -0.024083001539111137, -0.009187842719256878, -0.012677726335823536, -0.023559050634503365, 0.055351607501506805, -0.0399324968457222, 0.035142093896865845, -0.02900439128279686, -0.0632108598947525, 0.06504468619823456, 0.03632098436355591, 0.0035553770139813423, -0.011845019645988941, 0.003036104841157794, 0.026066526770591736, 0.024026863276958466, -0.03007100522518158, 0.0032372642308473587, -0.009229945950210094, 0.030520103871822357, -0.011573688127100468, 0.024943776428699493, -0.022136900573968887, -0.01017024926841259, 0.09483500570058823, 0.017093878239393234, -0.006745859980583191, 0.043487872928380966, -0.01742134802043438, -0.057297706604003906, -0.04404924809932709, -0.014146657660603523, 0.02196848765015602, 0.0018244697712361813, 0.03759343549609184, -0.016055334359407425, 0.03566604480147362, 0.018197916448116302, 0.0379863977432251, 0.020359210669994354, 0.009880205616354942, 0.003810334950685501, -0.015157133340835571, -0.011255575343966484, -0.030987918376922607, -0.04827827587723732, 0.0010765541810542345, -0.01545653399080038, -0.11983491480350494, -0.037368882447481155, 0.06111506000161171, 0.04479775205254555, 0.007971529848873615, 0.007573888637125492, 0.007732945028692484, 0.036620382219552994, -0.023615188896656036, -0.009187842719256878, 0.04206572473049164, -0.07638446986675262, 0.03527308255434036, 0.004729587119072676, -0.06107763573527336, 0.03276560455560684, -0.031118905171751976, 0.03053881786763668, 0.07316591590642929, -0.07342789322137833, -0.018721867352724075, -0.021481962874531746, 0.03076336719095707, 0.005389202851802111, 0.037050772458314896, -0.04636960104107857, 0.07305364310741425, -0.017964011058211327, -0.005894440691918135, 0.014324426651000977, -0.035366643220186234, 0.05486508086323738, 0.022080762311816216, 0.03226036950945854, 0.009646299295127392, 0.011274287477135658, -0.030014866963028908, 0.017458772286772728, -0.04004477337002754, -0.017458772286772728, 0.013744339346885681, -0.031343456357717514, -0.03793025761842728, -0.02950963005423546, -0.0012104655615985394, -0.07836799323558807, -0.04629475250840187, 0.029434779658913612, 0.03910914808511734, -0.0796404480934143, -0.028050053864717484, 0.0354602076113224, 0.085778146982193, -0.024213988333940506, 0.04326332360506058, 0.018946416676044464, -0.04704325273633003, -0.02863014116883278, -0.002378827892243862, -0.02834945358335972, 0.025411589071154594, -0.08637695014476776, 0.0544159822165966, -0.029940016567707062, -0.09625715762376785, 0.01112458761781454, -0.02410171367228031, 0.024270126596093178, -0.012340900488197803, 0.018029503524303436, 0.034262605011463165, 0.028574002906680107, -0.034917544573545456, -0.027077002450823784, -0.02297896333038807, 0.025654852390289307, -0.05044892802834511, -0.009767930954694748, 0.01426828932017088, -0.00034091854467988014, -0.05250730365514755, 0.006970410235226154, -0.05703573301434517, -0.0058242687955498695, 0.00424540089443326, 0.0015227305702865124, -0.04296392574906349, 0.009496599435806274, 0.03188611939549446, -0.01274321973323822, -0.0306323803961277, 0.0012666030088439584, 0.022118186578154564, -0.009627586230635643, -0.03422518074512482, 0.05310610681772232, 0.016803834587335587, -0.020097237080335617, -0.038472920656204224, -0.006932985037565231, 0.06272433698177338, 0.0005280436598695815, 0.00637160986661911, -0.037462446838617325, 0.013192320242524147, 0.05493992939591408, 0.055389031767845154, 0.007325947750359774, 0.04674385115504265, -0.011676606722176075, 0.017131302505731583, -0.04509714990854263, 0.05104772746562958, -0.04588307440280914, 0.10179606080055237, 0.033476680517196655, -0.024719227105379105, 0.029079241678118706, -0.06384708732366562, 0.033383119851350784, 0.03811738267540932, 0.011433344334363937, -0.06242493540048599, 0.09775415807962418, -0.023802313953638077, 0.02002238668501377, 0.028480440378189087, 0.04449835047125816, 0.018066929653286934, 0.011554975062608719, 0.03471170738339424, 0.01835697330534458, 0.036582957953214645, -0.05662405863404274, 0.059842608869075775 ]
41,961
unittest.case
tearDown
Hook method for deconstructing the test fixture after testing it.
def tearDown(self): "Hook method for deconstructing the test fixture after testing it." pass
(self)
[ 0.0033642759080976248, 0.043235406279563904, -0.020139995962381363, -0.04984358325600624, -0.02895643189549446, 0.017217786982655525, -0.04087771475315094, 0.05628572404384613, 0.036693643778562546, 0.04685496166348457, -0.00032610230846330523, 0.011232240125536919, -0.03692609444260597, -0.0014662930043414235, 0.0024137278087437153, 0.013241258449852467, 0.01271824911236763, 0.008667005226016045, 0.014785380102694035, -0.04526102915406227, -0.045925166457891464, 0.03152996674180031, 0.002409576904028654, -0.007716457359492779, 0.004362558946013451, -0.03463481366634369, -0.0410105437040329, -0.042272407561540604, 0.0839470848441124, 0.04546026885509491, -0.09211599081754684, -0.02316182479262352, -0.017931735143065453, 0.0964328870177269, 0.038686059415340424, -0.06335879862308502, -0.006819870788604021, 0.0416414737701416, -0.017084959894418716, 0.06339200586080551, -0.01622988097369671, -0.018828323110938072, 0.023327859118580818, 0.02688100002706051, 0.04014716297388077, 0.0019758115522563457, 0.008882850408554077, -0.04413199424743652, -0.01944264955818653, 0.014104638248682022, 0.025486309081315994, -0.027844000607728958, 0.0355646088719368, 0.07557894289493561, -0.003617478534579277, 0.026515724137425423, 0.05170316994190216, 0.03539857268333435, 0.01944264955818653, 0.009879058226943016, -0.014104638248682022, 0.04565951228141785, -0.01249410305172205, 0.003015603171661496, -0.028840208426117897, -0.026050826534628868, -0.03430274501442909, 0.04559309780597687, 0.0544593445956707, 0.03443557396531105, -0.04346785694360733, 0.02223203144967556, 0.016005733981728554, 0.05259975790977478, 0.062163349241018295, 0.002059866674244404, -0.024523308500647545, -0.056617796421051025, 0.006263654679059982, -0.0018761908868327737, -0.011331860907375813, 0.027428913861513138, -0.050374895334243774, 0.08600591868162155, 0.025486309081315994, -0.03984830155968666, 0.06548403948545456, 0.02492179162800312, 0.06744325160980225, 0.029670381918549538, 0.023892376571893692, -0.022630514577031136, 0.004321050364524126, -0.02684779278934002, -0.005815361626446247, -0.004478782881051302, -0.016561949625611305, 0.03915095701813698, -0.053031448274850845, -0.048614926636219025, 0.030135277658700943, 0.017981545999646187, -0.0030280558858066797, 0.03885209560394287, 0.016561949625611305, 0.012909188866615295, -0.014420104213058949, -0.07604384422302246, -0.03050055354833603, 0.001347993267700076, -0.02508782595396042, -0.017549855634570122, -0.03974867984652519, 0.04512820020318031, -0.0010501687647774816, -0.08706853538751602, -0.012328068725764751, -0.014071431010961533, 0.01816418394446373, -0.03199486434459686, 0.01647063158452511, 0.046456478536129, -0.06335879862308502, -0.014453311450779438, 0.048448894172906876, 0.005010093562304974, 0.055754415690898895, 0.07936453074216843, -0.03689288720488548, -0.009787739254534245, 0.04914623871445656, 0.006620629224926233, -0.09165109694004059, -0.02981981262564659, 0.022530892863869667, 0.0062387497164309025, 0.08813115954399109, -0.02947114035487175, 0.008239466696977615, -0.013415594585239887, -0.02133544534444809, 0.0528654120862484, -0.010559800080955029, 0.02415803261101246, -0.010302445851266384, 0.04247164726257324, -0.022016186267137527, 0.017118165269494057, -0.05608648434281349, -0.0024116523563861847, 0.021252427250146866, 0.0011902605183422565, -0.054957449436187744, -0.03649440407752991, -0.01667817495763302, -0.024290859699249268, -0.04662251099944115, 0.039449818432331085, 0.02271353267133236, -0.03974867984652519, 0.03513291850686073, 0.025121033191680908, -0.02591799944639206, 0.024174636229872704, 0.007044017314910889, 0.03881888836622238, -0.010883566923439503, -0.01867889054119587, -0.017250994220376015, -0.050308480858802795, -0.06412255764007568, 0.03609592095017433, -0.04104375094175339, 0.006226297002285719, -0.009331143461167812, 0.015175561420619488, 0.02236485853791237, -0.053131069988012314, -0.027943622320890427, 0.013324275612831116, -0.039649058133363724, -0.01871209777891636, -0.01422086264938116, 0.009646609425544739, 0.028408518061041832, -0.019176995381712914, -0.013714456930756569, 0.0374906100332737, -0.007251560688018799, -0.0132910693064332, -0.0000236891155509511, 0.004989339504390955, -0.02072111703455448, 0.019210202619433403, 0.04054564610123634, 0.007517216261476278, 0.0304341409355402, -0.006844775751233101, 0.021036582067608833, 0.006570818834006786, -0.06458745896816254, 0.012444292195141315, 0.013589930720627308, -0.09703061729669571, 0.02508782595396042, 0.024290859699249268, -0.0072432588785886765, -0.0027976827695965767, -0.07969660311937332, 0.012095619924366474, 0.06070224568247795, 0.008575686253607273, -0.005126317963004112, 0.011954490095376968, 0.058410968631505966, -0.12452594190835953, 0.009190014563500881, -0.010750739835202694, 0.0028640967793762684, 0.0515703447163105, 0.0012556365691125393, 0.015109147876501083, -0.003021829528734088, -0.030483949929475784, -0.025386689230799675, 0.0021356199868023396, -0.0011207334464415908, -0.02537008561193943, -0.004702929873019457, -0.07006659358739853, -0.009588497690856457, 0.02751193195581436, 0.02623346447944641, -0.043002959340810776, 0.05973924696445465, 0.009181712754070759, -0.01568196713924408, -0.06966811418533325, -0.039416611194610596, -0.007857587188482285, -0.017217786982655525, -0.027213068678975105, 0.03602950647473335, -0.00863379891961813, 0.006047809962183237, 0.06073545292019844, -0.008496819995343685, -0.020837340503931046, 0.05552196502685547, -0.004424821585416794, 0.015075940638780594, -0.010509989224374294, 0.030566968023777008, 0.04878096282482147, 0.0008400312508456409, -0.05963962525129318, 0.10048413276672363, -0.00193015206605196, 0.04512820020318031, -0.0004687882901635021, 0.026216860860586166, -0.062262970954179764, 0.00567838316783309, 0.08481046557426453, -0.0182638056576252, -0.020870547741651535, 0.02729608677327633, 0.021733928471803665, 0.011398274451494217, -0.03413671255111694, 0.07471556216478348, -0.04459689185023308, -0.007654194720089436, -0.025901395827531815, -0.05070696398615837, 0.028292294591665268, 0.014237466268241405, 0.004889718722552061, -0.009339445270597935, -0.0007964471587911248, 0.0573483482003212, -0.01857927069067955, 0.026499120518565178, 0.019874339923262596, -0.024589722976088524, -0.027345897629857063, -0.043102581053972244, 0.026482516899704933, 0.017500046640634537, -0.007591931615024805, -0.040479231625795364, -0.03387105464935303, 0.009713023900985718, 0.05193562060594559, -0.015075940638780594, -0.024257654324173927, -0.10360558331012726, 0.01023603230714798, 0.0315631739795208, 0.029105862602591515, -0.03254278004169464, -0.03709212690591812, -0.029222087934613228, 0.09397558122873306, 0.00004971308953827247, 0.05781324580311775, 0.007604384329169989, 0.00002093268085445743, 0.0005001791869290173, -0.0149763198569417, 0.007787022273987532, 0.008322483859956264, 0.005894227884709835, 0.049378685653209686, 0.01864568516612053, -0.04373351112008095, -0.0068074180744588375, -0.052998241037130356, -0.01967509835958481, 0.029205484315752983, -0.03705891966819763, -0.014436707831919193, 0.030035657808184624, 0.012112223543226719, 0.05250013619661331, 0.05203523859381676, -0.007691552396863699, 0.03312389925122261, -0.010335653088986874, 0.028690777719020844, -0.048448894172906876, -0.03991471603512764, 0.010485084727406502, -0.024755757302045822, -0.02005697786808014, -0.014370293356478214, 0.007068922743201256, -0.05870983004570007, 0.02588479220867157, -0.057647209614515305, 0.0005536215612664819, -0.0015897811390459538, -0.026349689811468124, -0.019940754398703575, 0.01175524853169918, 0.035797055810689926, -0.022829756140708923, -0.004964434076100588, 0.09649930149316788, 0.05236731097102165, 0.07444991171360016, -0.013506913557648659, 0.03626195341348648, 0.02319503203034401, 0.00914850551635027, -0.038520023226737976, -0.015706872567534447, 0.031098278239369392, 0.015532535500824451, -0.022896170616149902, -0.025220654904842377, -0.0005697062006220222, 0.015283484011888504, 0.0011902605183422565, 0.07697363197803497, -0.0765751525759697, -0.04001433774828911, -0.008675307035446167, -0.01616346649825573, -0.03146355599164963, 0.016296295449137688, -0.0091319028288126, 0.008314182050526142, 0.03050055354833603, 0.031131485477089882, -0.07219184190034866, 0.011315257288515568, 0.04808361828327179, -0.03685967996716499, 0.043202199041843414, -0.002546555595472455, 0.0041155824437737465, -0.029222087934613228, -0.030284708365797997, -0.012012602761387825, -0.054957449436187744, -0.03247636556625366, 0.03742419555783272, 0.0034929527901113033, -0.0374906100332737, 0.0346016101539135, -0.02575196512043476, -0.015167259611189365, -0.0010019149631261826, 0.033655211329460144, 0.006521008443087339, -0.05724872648715973, -0.04519461467862129, -0.0070108105428516865, 0.039549440145492554, 0.033555589616298676, 0.01526688039302826, -0.013506913557648659, 0.015731777995824814, 0.030600175261497498, 0.0028163616079837084, 0.004611610900610685, 0.004262938164174557, 0.031148089095950127, 0.013922000303864479, 0.0028039091266691685, 0.012377878651022911, -0.017250994220376015, -0.04426482319831848, 0.012112223543226719, 0.014876699075102806, -0.011564308777451515, 0.06272786855697632, 0.0720590129494667, 0.03023489937186241, 0.010211126878857613, 0.027213068678975105, -0.002805984579026699, 0.002475990913808346, 0.012792965397238731, -0.005308955907821655, -0.07989584654569626, 0.023842567577958107, -0.03232693299651146, 0.006840625312179327, -0.046655718237161636, -0.06186448782682419, -0.020289426669478416, 0.03546498715877533, -0.006031206343322992, 0.04087771475315094, -0.05648496747016907, -0.00927303172647953, -0.01819739118218422, 0.05791286379098892, -0.02219882421195507, 0.008833040483295918, 0.05376200005412102, -0.023493895307183266, 0.01967509835958481, -0.012610327452421188, 0.003434840589761734, 0.019243407994508743, -0.010260937735438347, 0.036760058254003525, -0.013905396685004234, 0.024622930213809013, -0.0034805000759661198, -0.07352011650800705, -0.007006659638136625, -0.05180279165506363, 0.01768268458545208, 0.006907038856297731, 0.0009209731360897422, 0.014652552083134651, 0.044995374977588654, 0.012552214786410332, -0.011514498852193356, -0.026283275336027145, 0.035099711269140244, 0.010277541354298592, -0.019210202619433403, 0.0077040051110088825, 0.011107713915407658, 0.017865322530269623, -0.02171732485294342, 0.017051752656698227, -0.014420104213058949, -0.017417028546333313, -0.010626213625073433, 0.010543196462094784, -0.03742419555783272, -0.007434198632836342, 0.02271353267133236, -0.0006760720862075686, 0.03322352096438408, -0.032625798135995865, 0.05435972288250923, 0.008330785669386387, -0.051371101289987564, -0.04081130027770996, -0.002689760411158204, -0.04512820020318031, -0.023045601323246956, 0.01581479422748089, -0.029686983674764633, -0.04287013038992882, -0.029703587293624878, -0.0334891751408577, 0.014146147295832634, -0.05967283248901367, 0.015773285180330276, 0.02578517235815525, -0.024224447086453438, -0.07132846117019653, 0.04144223406910896, -0.002559008076786995, 0.035929884761571884, -0.03712533414363861, -0.004736136645078659, -0.05834455415606499, 0.06820701062679291, -0.005346313584595919, -0.03709212690591812, -0.039084542542696, -0.03416991978883743, 0.013108430430293083, -0.011331860907375813, -0.012651835568249226, 0.07405142486095428, 0.010368860326707363, -0.05083979293704033, -0.02764475904405117, 0.05176958441734314, 0.08600591868162155, 0.002961641876026988, 0.014677457511425018, 0.034900471568107605, -0.009571894071996212, 0.029072657227516174, -0.01061791181564331, 0.004296144936233759, 0.10048413276672363, 0.05738155543804169, 0.05628572404384613, 0.015914415940642357, -0.05778003856539726, 0.04071168228983879, 0.020322633907198906, 0.032625798135995865, 0.012419387698173523, -0.06611497700214386, -0.07923170924186707, 0.06056941673159599, -0.007770418655127287, 0.025552723556756973, -0.022829756140708923, -0.005342163145542145, -0.05429331213235855, -0.027146656066179276, 0.025702154263854027, -0.02033923752605915, 0.03981509432196617, -0.009190014563500881, 0.01950906403362751, -0.014353690668940544, -0.05897548794746399, 0.01874530501663685, -0.012626930139958858, -0.02495499886572361, -0.07863397896289825, -0.027013827115297318, 0.028176069259643555, 0.055754415690898895, -0.021086392924189568, -0.04718703031539917, 0.04376671835780144, 0.003202392254024744, 0.04233882203698158, 0.05289861932396889, 0.03702571243047714, 0.02478896453976631, 0.016570251435041428, -0.06239579990506172, -0.009389256127178669, 0.004864813294261694, -0.08886171132326126, 0.005890076979994774, 0.009879058226943016, -0.04745268449187279, 0.019774720072746277, -0.024456895887851715, -0.010875266045331955, 0.04064526781439781, -0.013249560259282589, -0.005524801090359688, 0.030168484896421432, 0.03878568112850189, -0.023361066356301308, -0.04147544130682945, -0.034037090837955475, 0.058444175869226456, 0.03245976194739342, 0.011182429268956184, -0.03549819439649582, -0.035066504031419754, 0.04725344479084015, -0.04542706534266472, -0.0813569501042366, 0.009140203706920147, -0.017217786982655525, -0.0025112731382250786, -0.005856870207935572, -0.012344671413302422, -0.049312274903059006, 0.05442613735795021, 0.043202199041843414, 0.013573328033089638, 0.03470122814178467, 0.022763341665267944, -0.019774720072746277, -0.031015262007713318, 0.03456840291619301, 0.000013076845789328218, 0.025519516319036484, -0.003584271762520075, -0.02937151864171028, 0.05645176023244858, -0.04200674965977669, 0.0015638383338227868, -0.04250485450029373, -0.027213068678975105, -0.07630949467420578, -0.015466121956706047, 0.02226523868739605, -0.029803209006786346, 0.01451142318546772, 0.01425406988710165, 0.0264327060431242, -0.025768568739295006, -0.012826171703636646, -0.0024635381996631622, -0.029172277078032494, -0.02344408445060253, -0.029969243332743645, -0.0019810001831501722, -0.013946905732154846, 0.03629516065120697, -0.07378577440977097, 0.017317406833171844, -0.03599629923701286, -0.019807927310466766, -0.03123110719025135, 0.035896677523851395, -0.03609592095017433, 0.08115770667791367, -0.003204467473551631, 0.05243372172117233, 0.030666587874293327, -0.09185033291578293, -0.03088243305683136, 0.04094412922859192, -0.044995374977588654, 0.014187655411660671, -0.018695494160056114, -0.006425538565963507, 0.055787622928619385, -0.0031857886351644993, 0.0054957447573542595, -0.046589307487010956, 0.008181354030966759, 0.07617667317390442, 0.050242066383361816, 0.03050055354833603, 0.006508555728942156, -0.03294126316905022, 0.030218295753002167, -0.05615289881825447, 0.05538913980126381, 0.08999074995517731, 0.009953773580491543, 0.02223203144967556, 0.05442613735795021, -0.05555517226457596, -0.013174844905734062, 0.0017360991332679987, 0.034834057092666626, -0.012759758159518242, -0.05100582540035248, 0.00193015206605196, -0.015250276774168015, -0.025187447667121887, -0.017500046640634537, 0.013556724414229393, 0.014420104213058949, -0.02168411761522293, 0.05243372172117233, -0.05827813968062401, -0.05183599889278412, 0.014777078293263912, 0.11310276389122009, -0.05064054951071739, 0.0019052468705922365, -0.0051844301633536816, -0.041276197880506516, -0.014088034629821777, -0.010119807906448841, 0.03216090053319931, -0.02616705186665058, -0.07604384422302246, -0.013025413267314434, 0.010402066633105278, -0.04519461467862129, -0.006973452866077423, -0.031015262007713318, 0.01388879306614399, -0.026482516899704933, -0.0106511190533638, -0.015466121956706047, 0.03149676322937012, 0.03543177992105484, -0.010302445851266384, -0.03249296918511391, -0.02233165316283703, -0.02171732485294342, 0.06986735761165619, 0.01564875990152359, -0.001494311261922121, -0.08627156913280487, 0.016703080385923386, -0.0032791830599308014, -0.0775049477815628, -0.03526574745774269, 0.006824021693319082, 0.02309541217982769, -0.027893811464309692, -0.008974169380962849, 0.009123601019382477, -0.03636157512664795, 0.018911339342594147, -0.014876699075102806, -0.030284708365797997, 0.0018066639313474298, 0.017848718911409378, 0.010518291033804417, -0.011431481689214706, -0.03739098832011223, 0.002575611462816596, 0.06707797199487686, -0.05110544711351395, -0.03322352096438408, 0.0059315855614840984, 0.03398727998137474, 0.0365276113152504, -0.004395765718072653, -0.01090847235172987, 0.008007017895579338, 0.0026171202771365643, 0.03470122814178467, 0.032343536615371704, 0.011265446431934834, 0.01661176048219204, 0.05631893128156662, -0.011124317534267902, -0.031015262007713318, 0.020139995962381363, 0.021484876051545143, -0.009007376618683338, 0.012560516595840454, -0.009862454608082771, -0.012676740996539593, 0.08029432594776154, -0.04207316413521767, -0.045925166457891464, -0.010451877489686012, 0.009455669671297073, -0.018911339342594147, 0.019226806238293648, -0.027362501248717308, 0.03935019671916962, 0.04423161596059799, 0.062063731253147125, 0.010659420862793922 ]
41,962
rfc3339
test_1920
null
def test_1920(self): d = date(1920, 2, 29) x = rfc3339(d, utc=False, use_system_timezone=True) self.assertTrue(x.startswith('1920-02-29T00:00:00'))
(self)
[ -0.03627828136086464, 0.04853588715195656, -0.029654933139681816, 0.05743766576051712, -0.03127986192703247, -0.037903208285570145, 0.008239444345235825, 0.04270734265446663, 0.03581906110048294, -0.044473569840192795, 0.03327569738030434, 0.013767731375992298, 0.008486715145409107, 0.0024771317839622498, 0.029231039807200432, 0.0305380467325449, -0.007462304551154375, 0.013131889514625072, -0.028383251279592514, -0.027111567556858063, -0.02622845582664013, -0.039704758673906326, -0.020276274532079697, 0.032763492316007614, 0.04260136932134628, 0.03995203226804733, -0.017476806417107582, -0.013811886310577393, -0.049313027411699295, -0.026246117427945137, 0.00611997302621603, 0.021406657993793488, -0.0036472566425800323, 0.034812312573194504, 0.024921447038650513, -0.02470950037240982, -0.04503875970840454, -0.03214531019330025, -0.12342386692762375, 0.057472992688417435, 0.004570109769701958, 0.0026184299495071173, -0.039174892008304596, -0.008230612613260746, -0.020452896133065224, -0.021812889724969864, 0.04147098585963249, 0.07545316964387894, -0.04616914689540863, 0.0298492182046175, 0.009864372201263905, -0.04094111546874046, -0.015118894167244434, 0.010676835663616657, -0.08103444427251816, -0.002726611215621233, 0.050302114337682724, 0.08499079197645187, 0.024426905438303947, 0.03747931495308876, -0.05076133459806442, 0.009440477937459946, -0.017874205484986305, 0.004079981707036495, -0.030873628333210945, -0.026034170761704445, -0.010279434733092785, -0.04157695919275284, 0.036154646426439285, 0.028542211279273033, 0.046204470098018646, 0.04899510741233826, 0.009334503673017025, 0.01881030574440956, 0.007404902018606663, 0.04019930213689804, -0.09763696789741516, 0.02969025820493698, -0.004777641035616398, 0.015339672565460205, 0.0028855716809630394, 0.01806849054992199, -0.019287187606096268, 0.003470633877441287, -0.039422161877155304, 0.019481472671031952, 0.005832961294800043, 0.0033271280117332935, -0.002644923282787204, 0.016982262954115868, 0.02721754088997841, 0.021954188123345375, -0.011418650858104229, -0.016946937888860703, -0.013617602176964283, 0.0329577773809433, 0.022625353187322617, -0.015427983365952969, -0.06506776064634323, -0.03878632187843323, -0.008208534680306911, -0.018916279077529907, -0.1569821536540985, 0.009352166205644608, 0.004583356436342001, 0.05817948281764984, -0.021494969725608826, -0.022272108122706413, -0.022943275049328804, -0.0065262047573924065, -0.02009965106844902, -0.05772026255726814, -0.006164128426462412, 0.0355011411011219, 0.039634108543395996, -0.019004590809345245, 0.06552698463201523, -0.018863292410969734, 0.015021751634776592, -0.02993752993643284, 0.0534813217818737, 0.00530750909820199, -0.025486640632152557, -0.008265937678515911, 0.06340751051902771, 0.029425323009490967, 0.017061742022633553, 0.03105025179684162, 0.047264207154512405, -0.008773727342486382, 0.04185955598950386, 0.07615966349840164, -0.01905757747590542, -0.020046664401888847, -0.016425902023911476, -0.01462435070425272, -0.02803000621497631, -0.007223864085972309, -0.049772247672080994, -0.00194616022054106, -0.009140219539403915, -0.05651922896504402, 0.04224812239408493, 0.030926616862416267, -0.034865301102399826, 0.020523544400930405, -0.09028946608304977, 0.011197872459888458, 0.01905757747590542, 0.08548533171415329, 0.05651922896504402, 0.013370330445468426, 0.006693996023386717, 0.014447728171944618, -0.02606949396431446, -0.13395057618618011, 0.00000821881531010149, -0.037832558155059814, 0.03530685603618622, 0.03680814802646637, 0.009157881140708923, -0.018059659749269485, 0.01416513230651617, -0.014721493236720562, 0.015065907500684261, 0.05560079216957092, -0.06941267848014832, -0.02532768063247204, 0.007939185947179794, -0.007082566153258085, 0.034741662442684174, 0.012787475250661373, 0.012707995250821114, 0.03225128352642059, 0.046663690358400345, -0.04429694637656212, 0.004773225635290146, 0.00029611881473101676, -0.035483479499816895, 0.005832961294800043, 0.01560460589826107, 0.06089947000145912, -0.024974433705210686, -0.01597551256418228, -0.014995258301496506, 0.052633531391620636, -0.024956772103905678, -0.01508356910198927, 0.03142115846276283, -0.0073430840857326984, 0.02772974781692028, 0.04842991381883621, -0.011604104191064835, 0.039704758673906326, 0.004415564704686403, -0.001992523670196533, 0.04238942265510559, -0.01121553499251604, -0.01636408269405365, 0.008446975611150265, -0.029725581407546997, 0.0373380146920681, -0.0014593441737815738, -0.05620130896568298, 0.0592392161488533, -0.0199406910687685, -0.025521963834762573, -0.02947831153869629, -0.009899696335196495, -0.03339933231472969, 0.01223994605243206, -0.06372543424367905, -0.006764645222574472, 0.030555708333849907, -0.017459142953157425, -0.058850646018981934, -0.08831129968166351, -0.00598750589415431, 0.006512958090752363, -0.012813969515264034, 0.010023332200944424, 0.02599884569644928, 0.025733912363648415, -0.09855540841817856, 0.0705430656671524, -0.009396322071552277, 0.004110890906304121, -0.050584711134433746, -0.08386040478944778, -0.05983973294496536, 0.011303845793008804, -0.03649022802710533, 0.015065907500684261, -0.03592503443360329, -0.016885120421648026, 0.010473719798028469, 0.03384088724851608, -0.007713991682976484, 0.0005513936630450189, -0.0532340481877327, 0.010800471529364586, -0.013891367241740227, -0.003501542843878269, -0.045462656766176224, 0.020346922799944878, -0.02691728249192238, -0.04676966369152069, 0.037832558155059814, -0.008513209410011768, -0.0019009006209671497, -0.05630728229880333, 0.024656513705849648, 0.018792644143104553, 0.02645806409418583, -0.018863292410969734, -0.02781805768609047, -0.02538066729903221, -0.0031262198463082314, 0.03613698109984398, 0.0029672596137970686, -0.01072982233017683, 0.02380872517824173, -0.020523544400930405, 0.044402919709682465, -0.04486213997006416, -0.044932786375284195, 0.00910489447414875, 0.06531503796577454, 0.02780039608478546, -0.03567776456475258, 0.009078401140868664, -0.048253294080495834, -0.020965101197361946, -0.011648260056972504, 0.0024329761508852243, -0.022872624918818474, -0.010941769927740097, -0.07411084324121475, 0.04814731702208519, 0.030855966731905937, -0.03726736828684807, 0.03444140404462814, 0.04019930213689804, 0.055141571909189224, -0.0018236283212900162, -0.03136817365884781, 0.03860969841480255, -0.0028370004147291183, -0.03899826854467392, -0.04097644239664078, -0.061040766537189484, -0.05987505987286568, 0.07637161016464233, -0.05136185139417648, -0.03829177841544151, 0.04687563702464104, 0.021865876391530037, -0.012884617783129215, 0.0008704182109795511, -0.048394590616226196, -0.01583421602845192, 0.058002859354019165, -0.012451892718672752, -0.0012606437085196376, 0.021177049726247787, 0.0054797157645225525, -0.05259820818901062, 0.02373807691037655, -0.04369642958045006, -0.011851375922560692, -0.06563295423984528, -0.01965809427201748, 0.0026029753498733044, -0.024444567039608955, 0.03652555122971535, 0.039881382137537, 0.0069147744216024876, 0.019852379336953163, 0.035554129630327225, 0.03754996135830879, 0.04270734265446663, 0.014218118973076344, 0.05775558948516846, 0.05334002152085304, -0.01103008072823286, -0.04390837624669075, 0.04101176559925079, 0.03599568456411362, -0.03497127443552017, -0.008151132613420486, -0.03666685149073601, -0.041294362396001816, 0.006389322225004435, -0.003371283644810319, 0.010606186464428902, -0.045462656766176224, 0.01972874440252781, -0.0447208397090435, 0.059062596410512924, 0.039033591747283936, 0.039033591747283936, -0.012107478454709053, -0.008279183879494667, -0.027623772621154785, 0.04246007278561592, 0.01912822760641575, -0.05432910844683647, 0.029001429677009583, 0.041223712265491486, -0.013803055509924889, -0.053163401782512665, -0.005435560364276171, 0.014951102435588837, 0.013017085380852222, -0.00395855400711298, 0.042283449321985245, 0.0281183160841465, 0.010712159797549248, 0.012584359385073185, 0.05146782472729683, -0.013149552047252655, -0.018457060679793358, 0.010411901399493217, -0.07849107682704926, -0.00808048341423273, -0.017944855615496635, 0.04525070637464523, 0.00243739178404212, 0.007369577884674072, -0.06022830307483673, -0.05676650255918503, -0.010871120728552341, -0.006106726359575987, -0.08880583941936493, 0.029725581407546997, -0.036384254693984985, 0.0104295639321208, 0.03945748880505562, -0.07750198990106583, 0.017203040421009064, 0.023826388642191887, 0.026352090761065483, 0.006349582225084305, 0.007497629150748253, -0.022113148123025894, -0.025486640632152557, 0.032904788851737976, 0.004883614834398031, -0.07919757068157196, -0.009846709668636322, 0.004455304704606533, -0.011233196593821049, 0.05146782472729683, 0.04740550369024277, -0.04313123598694801, 0.0030202462803572416, 0.009299179539084435, -0.020081989467144012, 0.0636194571852684, 0.003967384807765484, 0.07110825926065445, -0.016584862023591995, -0.007934769615530968, 0.04694628342986107, 0.06510308384895325, 0.043095912784338, 0.01866900734603405, -0.020664842799305916, -0.05076133459806442, 0.00197927700355649, -0.012549035251140594, -0.07110825926065445, -0.026952607557177544, -0.04959562420845032, -0.033134397119283676, 0.049913544207811356, -0.03233959525823593, -0.030396748334169388, 0.01465967483818531, 0.02024094946682453, -0.037055421620607376, -0.05358729511499405, 0.0016823301557451487, 0.060192979872226715, 0.06220647692680359, -0.02410898357629776, 0.03921021521091461, -0.012213452719151974, 0.025892872363328934, 0.028524547815322876, -0.00301362294703722, 0.014447728171944618, -0.08393105864524841, -0.010544368997216225, 0.018916279077529907, -0.02342015504837036, -0.027553124353289604, 0.03324037045240402, -0.014677337370812893, 0.027623772621154785, 0.022342758253216743, 0.03924553841352463, 0.058603376150131226, -0.03186271712183952, 0.004654005169868469, 0.03384088724851608, -0.018704332411289215, 0.01793602481484413, -0.023914698511362076, 0.03369959071278572, 0.017626935616135597, 0.0070958128198981285, -0.04486213997006416, -0.06421997398138046, -0.00888411607593298, -0.03544815257191658, 0.030043503269553185, 0.04549797996878624, -0.014491884037852287, -0.04454421624541283, 0.004676083102822304, 0.053622618317604065, -0.014138638973236084, -0.021795228123664856, 0.022960936650633812, -0.002810507081449032, -0.05870934948325157, 0.008433728478848934, -0.054682355374097824, 0.017282521352171898, -0.007780225016176701, 0.019304849207401276, 0.03309907391667366, -0.012707995250821114, 0.031032590195536613, 0.024903785437345505, -0.053763918578624725, 0.03709074482321739, 0.04850056394934654, -0.00065184774575755, -0.03815047815442085, 0.02486846037209034, -0.008186456747353077, 0.01012930553406477, 0.02924870140850544, -0.025875208899378777, -0.034123484045267105, 0.008062820881605148, -0.04397902637720108, -0.005488547030836344, 0.002168042352423072, 0.012407736852765083, -0.0447208397090435, 0.0030025839805603027, 0.05722571909427643, -0.040623195469379425, 0.007506459951400757, 0.0031173888128250837, 0.0014085652073845267, 0.009087231941521168, -0.021742241457104683, 0.07015449553728104, 0.033222708851099014, 0.029637271538376808, 0.02728819102048874, 0.005656338296830654, -0.02940766140818596, -0.037832558155059814, 0.047794073820114136, -0.04461486637592316, 0.008760480210185051, 0.006376075558364391, -0.014474221505224705, 0.0002617602003738284, 0.002234275685623288, 0.012213452719151974, 0.024232620373368263, -0.00941398460417986, -0.012602021917700768, -0.008707493543624878, -0.0058152987621724606, -0.012036829255521297, 0.07262720912694931, 0.01334383711218834, 0.012831631116569042, 0.011904362589120865, -0.06810567528009415, 0.011144885793328285, -0.030184801667928696, 0.02780039608478546, 0.061641283333301544, 0.01496876496821642, 0.020594194531440735, -0.007740485016256571, 0.03945748880505562, 0.034353096038103104, -0.031103238463401794, -0.040693845599889755, -0.02674066089093685, 0.007555031217634678, -0.006243608426302671, -0.0763009563088417, 0.05782623589038849, 0.043095912784338, -0.02124769799411297, 0.05164444446563721, 0.032922450453042984, 0.023402493447065353, -0.03150947019457817, 0.00021332697360776365, 0.036154646426439285, -0.022466393187642097, 0.061040766537189484, 0.032834138721227646, 0.026016507297754288, -0.010968263261020184, 0.006380490958690643, 0.0029694673139601946, -0.02100042626261711, -0.01912822760641575, -0.005091146100312471, 0.0659155547618866, 0.06054622307419777, 0.0993325486779213, -0.09452841430902481, -0.0028988183476030827, -0.021812889724969864, -0.010032163001596928, -0.0051882886327803135, 0.025875208899378777, 0.011118392460048199, -0.0034750495105981827, 0.002574274316430092, 0.017874205484986305, -0.048394590616226196, 0.04178890585899353, -0.03666685149073601, 0.011233196593821049, 0.0022420031018555164, -0.005797636695206165, -0.0007412629202008247, -0.057543639093637466, 0.04694628342986107, -0.09431646764278412, 0.0016116811893880367, -0.0029495973140001297, 0.02772974781692028, -0.006636593956500292, -0.024356255307793617, -0.08145833760499954, 0.027623772621154785, -0.02130068466067314, 0.0808931440114975, -0.0069721769541502, 0.006274517625570297, -0.056943122297525406, 0.020594194531440735, -0.03966943547129631, 0.01458019483834505, -0.029354674741625786, 0.04694628342986107, 0.045992523431777954, 0.03023778833448887, 0.04775875061750412, 0.01492460910230875, 0.0011767480755224824, 0.015957850962877274, 0.05637793242931366, -0.0008941518608480692, -0.030025839805603027, 0.040623195469379425, 0.001169020775705576, 0.02124769799411297, -0.05545949563384056, 0.07693680375814438, -0.01375889964401722, -0.04157695919275284, 0.027871044352650642, -0.021265359595417976, -0.029036754742264748, 0.015260191634297371, 0.0008168795029632747, 0.01643473282456398, 0.04196552932262421, -0.02622845582664013, 0.009352166205644608, 0.03984605520963669, -0.028135979548096657, -0.014067989774048328, -0.11106028407812119, 0.052704181522130966, -0.020364584401249886, -0.03878632187843323, -0.045003436505794525, -0.03998735547065735, -0.02206016145646572, -0.019587446004152298, -0.013811886310577393, -0.008906194008886814, 0.04631044343113899, -0.07361629605293274, 0.005016081500798464, 0.003673749975860119, 0.01753862388432026, -0.041294362396001816, 0.03606633469462395, -0.037232041358947754, -0.05821480602025986, 0.007656589150428772, 0.024232620373368263, 0.015233698301017284, 0.0060537392273545265, 0.04023462533950806, 0.01888095587491989, -0.011471637524664402, 0.04157695919275284, 0.06503243744373322, -0.0003457939310465008, 0.02493911050260067, 0.0028524547815322876, 0.021424319595098495, -0.01745031215250492, 0.005594520829617977, -0.0027398578822612762, 0.021954188123345375, -0.018721994012594223, 0.01508356910198927, 0.01009398140013218, -0.02774740941822529, 0.026634687557816505, -0.04542732983827591, -0.02818896621465683, 0.052704181522130966, 0.004179331939667463, 0.0442616231739521, 0.0324985571205616, -0.02774740941822529, -0.0030092073138803244, 0.056483905762434006, 0.03445906937122345, 0.05870934948325157, -0.003536867443472147, 0.002151483902707696, -0.040022678673267365, 0.023155221715569496, 0.01277864445000887, -0.03271050378680229, 0.03576607629656792, 0.029125064611434937, -0.024903785437345505, 0.02266067825257778, -0.05821480602025986, -0.04556863009929657, 0.030626356601715088, 0.02712923102080822, -0.05358729511499405, 0.00974956713616848, 0.07209733873605728, 0.011136054061353207, -0.027924031019210815, -0.012584359385073185, 0.04051722213625908, 0.02100042626261711, 0.028277277946472168, 0.015684086829423904, -0.005462053697556257, -0.008230612613260746, 0.019446147605776787, 0.03188037872314453, -0.02373807691037655, 0.0037289445754140615, 0.007321006618440151, -0.028135979548096657, -0.0615353100001812, 0.04691096022725105, -0.01296409871429205, -0.04366110637784004, -0.017626935616135597, 0.07432278990745544, -0.0033624526113271713, 0.001090092584490776, 0.01912822760641575, -0.020806141197681427, 0.052562884986400604, -0.02184821479022503, -0.010888783261179924, -0.032675180584192276, -0.03099726513028145, -0.060122329741716385, -0.029231039807200432, 0.02758844941854477, 0.054541055113077164, -0.0017551870550960302, -0.006177375093102455, 0.03793853148818016, 0.03498893603682518, -0.05100860446691513, 0.03807983174920082, 0.04044657200574875, -0.010235278867185116, -0.022325094789266586, 0.029036754742264748, -0.0179801806807518, -0.04051722213625908, -0.0649971142411232, 0.0495603010058403, 0.02131834626197815, -0.009281517006456852, -0.046275120228528976, 0.006062570493668318, 0.010164630599319935, -0.039422161877155304, -0.06421997398138046, -0.009917358867824078, 0.02969025820493698, -0.02855987288057804, -0.06764645129442215, 0.028153641149401665, 0.0033911538776010275, -0.005130886100232601, -0.009926189668476582, 0.008380741812288761, 0.00564750749617815, 0.0684589147567749, -0.07425213605165482, -0.008795805275440216, -0.013025916181504726, 0.04090579226613045 ]
41,963
rfc3339
test_before_1970
null
def test_before_1970(self): d = date(1885, 1, 4) self.assertTrue(rfc3339(d).startswith('1885-01-04T00:00:00')) self.assertEqual(rfc3339(d, utc=True, use_system_timezone=False), '1885-01-04T00:00:00Z')
(self)
[ -0.028812546283006668, 0.07995481789112091, -0.015288657508790493, 0.08348435163497925, -0.02303203009068966, -0.0029262742027640343, -0.026417503133416176, 0.07808200269937515, 0.039977408945560455, -0.0629914328455925, 0.03698810562491417, 0.030073095113039017, -0.02528301067650318, -0.012236328795552254, 0.021969566121697426, 0.032918334007263184, 0.0037726429291069508, 0.02766004577279091, -0.02205960638821125, -0.04365100711584091, -0.03225204348564148, -0.02159140259027481, -0.008796830661594868, 0.05477985367178917, 0.03767240419983864, -0.0038221643771976233, -0.031117551028728485, -0.02364429645240307, -0.010804705321788788, -0.004492956679314375, -0.040481626987457275, 0.024130508303642273, 0.021609410643577576, 0.014433285221457481, 0.05135836452245712, -0.02816426381468773, -0.039041001349687576, -0.005046697799116373, -0.08117935061454773, 0.06846581399440765, 0.01194820273667574, -0.0034124860540032387, -0.02863246761262417, 0.002345521468669176, -0.03767240419983864, -0.008778822608292103, 0.009724234230816364, 0.03756435960531235, -0.05254688113927841, 0.03886092081665993, -0.003939215559512377, -0.04332686588168144, 0.010669645853340626, 0.03749232739210129, -0.10250063240528107, -0.02665160596370697, 0.03799654543399811, 0.06529643386602402, -0.02378835901618004, 0.02773207612335682, -0.03561951220035553, 0.024112500250339508, -0.03767240419983864, -0.0207990575581789, -0.005060203373432159, -0.004301622975617647, -0.0042611053213477135, -0.02747996710240841, 0.01883620209991932, 0.012506445869803429, -0.020745033398270607, 0.041273973882198334, 0.00931005459278822, 0.02223968505859375, 0.020060734823346138, 0.04685640335083008, -0.09176795929670334, 0.03199993446469307, -0.029136687517166138, 0.03063133917748928, 0.04732460901141167, -0.01527965348213911, 0.00592007813975215, 0.014712406322360039, -0.07491262257099152, 0.03832068666815758, 0.04516366869211197, 0.05229477211833, 0.005280799698084593, 0.035223338752985, 0.03261220082640648, 0.03731224685907364, 0.005118729081004858, -0.03363864868879318, -0.00820707343518734, 0.018854210153222084, 0.005375340580940247, 0.02141132391989231, -0.022833943367004395, -0.01948448456823826, 0.03518732264637947, 0.0327562652528286, -0.11438581347465515, -0.01822393573820591, -0.009787262417376041, 0.09702625125646591, -0.001489023445174098, -0.07156316190958023, -0.011434979736804962, -0.008148548193275928, -0.024850821122527122, -0.06050634756684303, -0.016441158950328827, 0.06969034671783447, 0.002392791910097003, -0.021717457100749016, 0.0615508034825325, -0.019358430057764053, 0.007351701147854328, -0.02292398177087307, 0.04491155594587326, 0.008139544166624546, -0.020636986941099167, -0.020618978887796402, 0.0283083263784647, -0.007666838821023703, 0.020222805440425873, 0.04606406018137932, 0.04426327347755432, -0.026561565697193146, 0.06248721107840538, 0.05254688113927841, 0.00765783479437232, -0.012902618385851383, -0.031405676156282425, 0.007329191546887159, -0.0064693172462284565, 0.019034288823604584, -0.0473606251180172, -0.034503024071455, 0.013523888774216175, -0.049953751266002655, 0.03412485867738724, 0.03533138707280159, -0.05117828771471977, 0.04210233315825462, -0.07059074193239212, 0.04721656069159508, 0.011380955576896667, 0.07156316190958023, 0.04692843556404114, 0.02281593531370163, 0.005483387969434261, 0.028704499825835228, -0.058057282119989395, -0.12036441266536713, -0.012101269327104092, -0.059281814843416214, 0.00192796450573951, 0.027389926835894585, 0.005929081700742245, -0.009215513244271278, 0.022401755675673485, -0.07033862918615341, 0.01278556790202856, 0.05074609816074371, -0.08953499048948288, -0.04336288198828697, -0.005771513096988201, 0.02701176330447197, 0.035025253891944885, 0.04393913224339485, 0.01883620209991932, 0.01829596795141697, 0.047396641224622726, -0.05326719582080841, 0.01354189682751894, 0.023338163271546364, -0.04541577771306038, 0.016026979312300682, 0.009017426520586014, 0.06990644335746765, -0.01363193616271019, -0.01334381103515625, 0.0057535055093467236, 0.035385407507419586, -0.020528938621282578, -0.028938600793480873, 0.024616720154881477, -0.003275176277384162, -0.029532860964536667, 0.06234314665198326, -0.0015137841692194343, 0.02625543251633644, -0.010219450108706951, 0.035385407507419586, 0.03358462452888489, 0.014082131907343864, -0.011669081635773182, -0.00875181145966053, -0.0370241217315197, 0.02794817090034485, 0.0003897009592037648, -0.09774656593799591, 0.026957739144563675, -0.0235002338886261, -0.06583666801452637, -0.017953818663954735, -0.014433285221457481, -0.04383108764886856, 0.019880658015608788, -0.04318280518054962, -0.027029769495129585, 0.021681440994143486, -0.0044952076859772205, -0.04185022413730621, -0.024346601217985153, -0.030901456251740456, 0.007806399371474981, 0.006838477682322264, 0.0028677487280219793, 0.0680336281657219, -0.01638713665306568, -0.11236893385648727, 0.04786484315991402, -0.011146853677928448, 0.03282829374074936, -0.047684766352176666, -0.024976875633001328, -0.04667632654309273, -0.021573394536972046, -0.05395149439573288, -0.019610539078712463, -0.07177925854921341, 0.010174430906772614, 0.01151601504534483, 0.03767240419983864, -0.015936939045786858, 0.003882940858602524, -0.023734334856271744, 0.012101269327104092, -0.008072014898061752, 0.01641414687037468, -0.025120940059423447, 0.03286430984735489, -0.014271214604377747, -0.016648249700665474, 0.05243883654475212, -0.049557581543922424, 0.026417503133416176, -0.015828892588615417, 0.028992624953389168, 0.018746163696050644, 0.0172515120357275, 0.028326334431767464, 0.013370822183787823, -0.011903183534741402, -0.038824908435344696, 0.012614493258297443, 0.02184351161122322, 0.0002186264464398846, 0.012272343970835209, -0.01630610041320324, 0.0036083213053643703, -0.05542813614010811, -0.04509163647890091, 0.02249179407954216, 0.03106352686882019, 0.04476749524474144, -0.017350556328892708, 0.06878995895385742, -0.08665373176336288, -0.05153844133019447, 0.00465502729639411, 0.006694415118545294, -0.015396704897284508, -0.007590305060148239, -0.05053000524640083, 0.040373582392930984, 0.06245119497179985, -0.018214931711554527, 0.029136687517166138, 0.03832068666815758, 0.039293110370635986, -0.009823277592658997, -0.023824375122785568, 0.013496877625584602, 0.00709508964791894, -0.048225000500679016, -0.04530772939324379, -0.039041001349687576, -0.05463579297065735, 0.06490026414394379, -0.06345963478088379, -0.02618340216577053, -0.0008469313033856452, -0.020024720579385757, -0.015063559636473656, -0.0007400097674690187, -0.02292398177087307, -0.012677520513534546, 0.04275061562657356, 0.036609943956136703, -0.0005745626986026764, 0.027606021612882614, -0.028038209304213524, -0.048765234649181366, 0.01124589703977108, -0.07159917801618576, -0.02983899414539337, -0.03543943166732788, -0.0019617292564362288, -0.011849160306155682, -0.07743372023105621, -0.003250415436923504, 0.04718054458498955, 0.01203824207186699, 0.011443983763456345, 0.035781580954790115, 0.017800752073526382, 0.024220546707510948, 0.003520532976835966, 0.06637690216302872, 0.03480915725231171, 0.00270792911760509, -0.03731224685907364, 0.021933551877737045, 0.05495993420481682, -0.06562057882547379, 0.0030140625312924385, -0.01517160702496767, -0.01612602174282074, 0.004555983934551477, -0.016873348504304886, 0.026345472782850266, -0.035223338752985, 0.0430387407541275, -0.008846351876854897, 0.04815296828746796, 0.035277362912893295, 0.015126586891710758, -0.031405676156282425, 0.0391850620508194, -0.03376470506191254, 0.013938069343566895, 0.05287102237343788, -0.057769156992435455, 0.040661707520484924, 0.049701642245054245, 0.0050827134400606155, -0.06101056933403015, -0.005717489868402481, -0.028740515932440758, -0.031405676156282425, -0.027497975155711174, 0.006842979695647955, 0.029082665219902992, -0.015855904668569565, 0.021825503557920456, 0.057769156992435455, -0.020582962781190872, -0.05297907069325447, 0.0047225565649569035, -0.0751287192106247, -0.040157485753297806, -0.020907104015350342, 0.035853613168001175, -0.050421956926584244, 0.004231842700392008, -0.038752876222133636, -0.053375244140625, -0.034340955317020416, -0.00950814038515091, -0.09652203321456909, 0.039653267711400986, -0.04552382230758667, 0.005451873876154423, 0.039761316031217575, -0.0640719011425972, 0.0016679763793945312, 0.03124360553920269, -0.011651073582470417, -0.028218287974596024, -0.040589675307273865, -0.029965048655867577, -0.031441692262887955, 0.004024752415716648, 0.035025253891944885, -0.05993009731173515, -0.027606021612882614, 0.005703983828425407, -0.018926242366433144, 0.08370044827461243, 0.017566649243235588, -0.03012711927294731, 0.02571519836783409, -0.004423175938427448, -0.015864908695220947, 0.057625092566013336, -0.03145970031619072, 0.041237957775592804, 0.03763638809323311, -0.012767559848725796, 0.04260655492544174, 0.058165330439805984, 0.06158681958913803, 0.024544687941670418, 0.005294305272400379, -0.03309841454029083, 0.01905229687690735, -0.010336501523852348, -0.049233440309762955, 0.0022295957896858454, -0.049197424203157425, -0.010156422853469849, 0.0647922158241272, -0.03623177856206894, -0.04293069615960121, 0.03124360553920269, -0.006460313219577074, -0.03583560511469841, -0.018386006355285645, 0.0005737185711041093, 0.04811695218086243, 0.0444793701171875, 0.01743159070611, 0.00562294851988554, -0.012218320742249489, 0.003254917450249195, 0.039653267711400986, 0.008963403292000294, 0.00679796002805233, -0.06169486418366432, -0.00876981858164072, -0.009490132331848145, -0.013091701082885265, -0.04390311986207962, 0.0014743920182809234, -0.04264257103204727, 0.0327022410929203, 0.05532009154558182, 0.04390311986207962, 0.06518838554620743, -0.03243212401866913, 0.058417439460754395, 0.04836906120181084, 0.003507027169689536, 0.03778045251965523, 0.0033111919183284044, 0.03012711927294731, -0.0037546351086348295, -0.02187952771782875, -0.057625092566013336, -0.02820027992129326, -0.03785248473286629, -0.007630822714418173, -0.02625543251633644, 0.034557048231363297, -0.020474916324019432, -0.025066915899515152, -0.0022262195125222206, 0.009373081848025322, -0.010912751778960228, -0.017377566546201706, 0.0058525484055280685, 0.04347093030810356, -0.0740482434630394, 0.0033044388983398676, -0.0839165449142456, 0.017485614866018295, 0.020636986941099167, 0.0022149644792079926, 0.01605399139225483, -0.024148516356945038, -0.010075387544929981, 0.03896896913647652, -0.018890226259827614, 0.004974666051566601, 0.05168250575661659, 0.028542429208755493, -0.0444793701171875, 0.03149571642279625, -0.02364429645240307, -0.021969566121697426, 0.025066915899515152, -0.03814060986042023, -0.06785354763269424, -0.0023477724753320217, -0.012425410561263561, -0.027533989399671555, 0.032666224986314774, 0.02575121447443962, -0.03336853161454201, 0.039905376732349396, 0.0751287192106247, -0.03407083824276924, 0.028758523985743523, 0.009138979949057102, 0.018431026488542557, 0.0018581841140985489, -0.039761316031217575, 0.05704884231090546, -0.001585815567523241, 0.05143039673566818, 0.017638681456446648, 0.00029909898876212537, -0.013172736391425133, -0.022653864696621895, 0.052654929459095, -0.04509163647890091, 0.008585238829255104, 0.001682607689872384, 0.027065785601735115, 0.013505881652235985, -0.020258821547031403, 0.027497975155711174, 0.04271459951996803, 0.0016015723813325167, -0.02292398177087307, 0.019646555185317993, 0.011777128092944622, -0.06158681958913803, 0.025102932006120682, -0.006613379810005426, -0.004429928958415985, 0.014973520301282406, -0.07556090503931046, 0.021141206845641136, 0.015855904668569565, 0.01153402216732502, 0.06450408697128296, -0.036609943956136703, 0.027533989399671555, -0.02708379365503788, 0.01580188050866127, 0.07649730890989304, -0.009098461829125881, -0.05676071718335152, 0.011849160306155682, 0.007090587634593248, 0.00410353671759367, -0.0665929988026619, 0.06716924905776978, 0.0747685581445694, -0.004740564152598381, 0.024292578920722008, -0.004425426945090294, 0.024652734398841858, -0.02542707324028015, -0.002154187997803092, 0.040193501859903336, -0.040337566286325455, 0.059497907757759094, 0.01368595939129591, 0.03423290699720383, -0.00671692518517375, 0.041201941668987274, 0.016801316291093826, -0.03374669700860977, -0.034701112657785416, 0.012479434721171856, 0.04638820141553879, 0.0740482434630394, 0.05643657594919205, -0.06165885180234909, -0.0021125448402017355, -0.005177254322916269, -0.025913285091519356, 0.007792893331497908, 0.022185660898685455, 0.015009536407887936, 0.019070304930210114, 0.02252781018614769, 0.019358430057764053, 0.0010877861641347408, 0.0426785834133625, -0.04293069615960121, -0.018386006355285645, -0.002883505541831255, -0.03691607713699341, 0.032342083752155304, -0.0751287192106247, 0.014271214604377747, -0.08146747946739197, -0.022653864696621895, -0.029154695570468903, 0.015882916748523712, 0.015468736179172993, -0.018746163696050644, -0.0846368595957756, 0.00931005459278822, -0.019934680312871933, 0.040913816541433334, -0.002721435157582164, 0.02133929170668125, -0.04365100711584091, 0.015990963205695152, -0.04541577771306038, -0.016026979312300682, -0.0034417486749589443, 0.02238374762237072, 0.05056602135300636, -0.01527965348213911, 0.05287102237343788, -0.009679215028882027, -0.009120971895754337, 0.017926806584000587, 0.03030719794332981, -0.015126586891710758, 0.011777128092944622, 0.04379507154226303, 0.013938069343566895, 0.023266131058335304, -0.04541577771306038, 0.07055472582578659, -0.02205960638821125, -0.03853677958250046, 0.010696657933294773, -0.03308040648698807, 0.011903183534741402, 0.02672363631427288, -0.050313908606767654, 0.039004985243082047, 0.021177221089601517, -0.027029769495129585, -0.02715582586824894, 0.029784969985485077, -0.0004929646383970976, -0.024796798825263977, -0.08240388333797455, 0.04746866971254349, -0.007792893331497908, -0.005996611434966326, -0.039797328412532806, -0.0477207787334919, -0.014325237832963467, -0.029208719730377197, -0.03088344819843769, -0.010759685188531876, 0.0377444364130497, -0.042066317051649094, -0.015891920775175095, -0.007243654225021601, 0.008441176265478134, -0.03315243497490883, 0.030289189890027046, -0.008139544166624546, -0.019880658015608788, 0.025913285091519356, 0.058705564588308334, 0.022293707355856895, 0.013523888774216175, 0.04383108764886856, 0.022869959473609924, -0.02155538648366928, 0.029965048655867577, 0.03799654543399811, 0.03354860842227936, 0.039797328412532806, 0.004560485947877169, 0.010012360289692879, -0.03293634206056595, -0.0041620624251663685, -0.0015182861825451255, 0.03633982315659523, -0.02715582586824894, 0.022761911153793335, 0.04408319666981697, -0.009967340156435966, 0.0116600776091218, -0.057481031864881516, -0.014460297301411629, 0.05081813037395477, -0.015018540434539318, 0.05251086503267288, -0.023554256185889244, -0.028974616900086403, 0.009256030432879925, 0.07628121972084045, 0.008342132903635502, -0.0008322999347001314, 0.03401681408286095, -0.029532860964536667, -0.017278524115681648, 0.039329126477241516, 0.0006589744589291513, -0.005717489868402481, 0.028434382751584053, 0.03441298380494118, 0.006545850541442633, 0.03601568192243576, -0.04541577771306038, -0.02715582586824894, 0.029244735836982727, -0.021501362323760986, -0.06104658171534538, -0.013658948242664337, 0.08939092606306076, -0.0077838897705078125, -0.0077838897705078125, 0.02737191878259182, 0.049521565437316895, 0.03540341556072235, 0.029460828751325607, -0.00319639197550714, -0.004013497848063707, -0.03414286673069, 0.018358994275331497, 0.025913285091519356, -0.031981926411390305, -0.008175560273230076, 0.020691009238362312, -0.009391089901328087, -0.05423961952328682, 0.03135165199637413, 0.016044987365603447, -0.02809223346412182, 0.00800898764282465, 0.05373540148139, -0.05153844133019447, -0.0179718267172575, 0.0426785834133625, 0.00851770956069231, 0.0455598384141922, -0.02281593531370163, -0.008670776151120663, -0.02209562249481678, -0.07592105865478516, -0.04754070192575455, -0.022545818239450455, 0.04455139860510826, 0.050061799585819244, 0.0003148558607790619, -0.039905376732349396, 0.024634728208184242, 0.011362948454916477, -0.03709615394473076, 0.001831172383390367, 0.015783872455358505, -0.020925112068653107, -0.02690371498465538, 0.011552030220627785, 0.008931889198720455, -0.026597581803798676, -0.041165925562381744, 0.036826036870479584, 0.0053213173523545265, 0.0013618430821225047, -0.01912432722747326, 0.02629144862294197, 0.024256562814116478, -0.050457973033189774, -0.09817875176668167, -0.019430460408329964, -0.002288121497258544, 0.016936374828219414, -0.05283500626683235, 0.04638820141553879, 0.03922107815742493, 0.007945960387587547, -0.026813676580786705, 0.006244218908250332, -0.025769220665097237, 0.05024188011884689, -0.039437174797058105, -0.02191554382443428, -0.03691607713699341, 0.01392006129026413 ]
41,964
rfc3339
test_date
null
def test_date(self): d = date.today() self.assertEqual(rfc3339(d), d.strftime('%Y-%m-%dT%H:%M:%S') + self.local_timezone)
(self)
[ 0.007874777540564537, 0.02637050300836563, 0.009511567652225494, 0.041028864681720734, -0.023569773882627487, -0.05077685788273811, -0.02800729312002659, 0.05997925251722336, 0.00998441781848669, 0.0017550024203956127, 0.035427406430244446, 0.012712400406599045, -0.011793979443609715, 0.016431551426649094, 0.028571074828505516, 0.06612630933523178, -0.015267611481249332, 0.011521182022988796, -0.00731554115191102, -0.01050273422151804, -0.02878931351006031, -0.07871140539646149, -0.007251888047903776, 0.03746429830789566, 0.06318008899688721, 0.026588741689920425, -0.009948045015335083, -0.02802547812461853, 0.012585095129907131, 0.017004426568746567, -0.040119536221027374, 0.001432191114872694, -0.00871590618044138, 0.08169399946928024, 0.020296193659305573, -0.030571596696972847, -0.04673944041132927, -0.02786180004477501, -0.10002604126930237, 0.05848795548081398, 0.011484808288514614, 0.012039498426020145, -0.03120812587440014, 0.01111198402941227, -0.026006771251559258, -0.024006251245737076, -0.003980581648647785, 0.056705672293901443, -0.0615432970225811, 0.03971943259239197, 0.025934025645256042, -0.043647728860378265, 0.02909848466515541, 0.02969864197075367, -0.03688232973217964, -0.014049112796783447, 0.07354642450809479, 0.050340380519628525, -0.012712400406599045, 0.026879725977778435, -0.029116671532392502, 0.01600416749715805, -0.02511562965810299, -0.01774098351597786, -0.03286310285329819, 0.0048285298980772495, -0.03182647004723549, -0.04783063381910324, 0.07230973988771439, 0.033426884561777115, 0.03580932319164276, 0.04692130908370018, -0.002864382229745388, 0.023878945037722588, 0.011466622352600098, 0.016968054696917534, -0.08620426058769226, 0.015558596700429916, -0.0029962346889078617, -0.009015983901917934, -0.027298016473650932, -0.03157185763120651, -0.03353600576519966, 0.013730848208069801, -0.027170710265636444, 0.019277745857834816, 0.006165241822600365, 0.03409978747367859, 0.02544298768043518, 0.05194079503417015, 0.04401145875453949, -0.011402969248592854, -0.010129909962415695, -0.006201614625751972, -0.030426103621721268, 0.016822561621665955, 0.02726164273917675, -0.0178682878613472, -0.06157967075705528, 0.03199014812707901, -0.00958431325852871, 0.0346999429166317, -0.12548722326755524, -0.007656538859009743, 0.0072973547503352165, 0.04430244490504265, -0.016658883541822433, -0.05270463228225708, -0.014876600354909897, -0.018641216680407524, -0.038773730397224426, -0.032517556101083755, -0.027789054438471794, 0.035281915217638016, 0.03873736038804054, -0.028352836146950722, 0.0450299046933651, -0.021551065146923065, 0.004385232459753752, -0.012848800048232079, 0.044084206223487854, 0.023224228993058205, 0.026243196800351143, -0.010548201389610767, 0.068163201212883, 0.000684837403241545, -0.021569252014160156, 0.014640175737440586, 0.05325022712349892, 0.036027561873197556, 0.038773730397224426, 0.0683450698852539, -0.026170451194047928, -0.003775983117520809, -0.025170190259814262, 0.01815018057823181, -0.020805416628718376, 0.02709796465933323, -0.03993767127394676, 0.02236946113407612, 0.04299301281571388, -0.021078215911984444, 0.035409219563007355, 0.025042884051799774, -0.04844897985458374, 0.02984413504600525, -0.07725647836923599, -0.009593406692147255, -0.03630036115646362, 0.0691816508769989, 0.09675246477127075, -0.003219019854441285, -0.05630556866526604, 0.004028321709483862, -0.01355807576328516, -0.11501176655292511, -0.006278907414525747, -0.050049394369125366, 0.016758909448981285, 0.009557033888995647, -0.007956617511808872, -0.026261383667588234, 0.019568732008337975, 0.011048330925405025, 0.027516255155205727, 0.07347367703914642, -0.05066773667931557, -0.030098745599389076, 0.00868407916277647, -0.01873214915394783, -0.004787610378116369, -0.004869449883699417, -0.020932722836732864, 0.030862580984830856, 0.011239290237426758, -0.05299561843276024, -0.005278646945953369, -0.008270335383713245, -0.00998441781848669, -0.043029386550188065, 0.0003589002590160817, 0.006151601672172546, -0.006478959694504738, 0.00677903788164258, 0.009061450138688087, 0.027025219053030014, -0.03993767127394676, -0.01730450615286827, 0.0021085035987198353, 0.0227150060236454, -0.00868407916277647, 0.02877112664282322, -0.028680194169282913, 0.031590044498443604, -0.011830353178083897, -0.00014947073941584677, 0.022478580474853516, -0.02649780921638012, 0.02726164273917675, 0.013512609526515007, -0.048048872500658035, 0.00833398848772049, 0.010484548285603523, -0.08009357750415802, 0.06954538077116013, -0.02969864197075367, -0.04524814337491989, -0.06328920274972916, -0.0346999429166317, -0.04219280555844307, 0.01592232659459114, -0.04175632819533348, -0.03804627060890198, 0.009152382612228394, -0.008311254903674126, -0.04950379952788353, -0.050194885581731796, -0.02038712613284588, -0.042265549302101135, 0.015385824255645275, 0.018659403547644615, 0.037537045776844025, -0.022878684103488922, -0.08460384607315063, 0.10199019312858582, -0.02025981992483139, 0.034354399889707565, -0.03502730280160904, -0.058706194162368774, -0.10169920325279236, -0.012666934169828892, -0.03406341373920441, 0.022187594324350357, -0.02804366499185562, -0.025515735149383545, -0.01798650063574314, 0.032990407198667526, -0.01341258268803358, -0.037391554564237595, -0.04954017326235771, 0.006760851014405489, 0.0071518621407449245, 0.009884391911327839, -0.041065238416194916, 0.02300599031150341, -0.030589783564209938, -0.028680194169282913, 0.0390283428132534, -0.011484808288514614, -0.004176087211817503, 0.00251429108902812, -0.00917966291308403, 0.01691349409520626, -0.002807549200952053, 0.004755783826112747, -0.028098225593566895, 0.026770606637001038, 0.012057685293257236, 0.06499873846769333, -0.012094058096408844, 0.004303393419831991, 0.007965710014104843, -0.019605103880167007, 0.046375710517168045, -0.05852432921528816, -0.055978212505578995, 0.022878684103488922, 0.02253313921391964, 0.0168316550552845, -0.05037675425410271, 0.11370233446359634, -0.04615747183561325, -0.03888285160064697, -0.012621467933058739, -0.0569966584444046, -0.05797873064875603, -0.01715901307761669, -0.048339858651161194, 0.002193752909079194, 0.005419592838734388, -0.03415434807538986, 0.025333868339657784, 0.032681237906217575, 0.05848795548081398, -0.03910109028220177, 0.016095099970698357, -0.014758388511836529, 0.018623029813170433, -0.025770345702767372, -0.0003068980877287686, -0.05543261393904686, -0.041792698204517365, 0.06965450197458267, -0.0629982203245163, -0.051067840307950974, 0.015085745602846146, -0.0029325818177312613, -0.02256951294839382, 0.03382698819041252, -0.04022865742444992, -0.017468184232711792, 0.051540691405534744, 0.015504037030041218, 0.006347107235342264, -0.0014083212008699775, 0.02284231036901474, -0.04168358072638512, 0.030353358015418053, -0.08394913375377655, -0.019277745857834816, -0.01539491768926382, -0.007024556398391724, 0.01728631928563118, 0.0019698310643434525, 0.05739676207304001, 0.008370361290872097, -0.02164199762046337, -0.005083141848444939, 0.0359366312623024, -0.00044045559479855, 0.0011633711401373148, 0.03186284005641937, 0.07194600254297256, 0.03002599999308586, 0.0056742047891020775, -0.03140817955136299, 0.01447649672627449, 0.04586648941040039, -0.023424280807375908, 0.046521205455064774, -0.01539491768926382, -0.029444029554724693, 0.01995064876973629, 0.018004687502980232, 0.025042884051799774, -0.002564304042607546, 0.01402183249592781, -0.02526112273335457, 0.06514423340559006, 0.05714214965701103, 0.02116914838552475, 0.00022036988229956478, 0.0024915577378124, -0.03684595599770546, 0.031917400658130646, 0.029189419001340866, -0.05408680811524391, 0.047757890075445175, 0.04066513478755951, -0.014431030489504337, -0.045939233154058456, -0.028534702956676483, 0.02420630306005478, 0.0010576617205515504, -0.05317748337984085, 0.027334390208125114, 0.03308134153485298, 0.019386865198612213, 0.017568210139870644, 0.0355183370411396, -0.049431052058935165, -0.015085745602846146, 0.06019749119877815, -0.03193558752536774, -0.0174499973654747, -0.029771387577056885, 0.06318008899688721, 0.003532737959176302, 0.03491818159818649, -0.0648532509803772, -0.02193298377096653, -0.01736815832555294, 0.021823864430189133, -0.08373089134693146, 0.018459351733326912, -0.04539363831281662, 0.014431030489504337, 0.06863605231046677, -0.05226815491914749, 0.024770086631178856, 0.027534442022442818, 0.014512869529426098, 0.0022539959754794836, -0.011212009936571121, 0.006133415270596743, -0.02637050300836563, 0.05605095624923706, 0.024788271635770798, -0.08351265639066696, -0.024133555591106415, -0.02455184794962406, -0.02316966839134693, 0.032663051038980484, 0.044702548533678055, -0.03217201307415962, -0.009247862733900547, -0.01645883172750473, -0.02025981992483139, 0.004278386477380991, 0.02238764800131321, 0.08918685466051102, 0.01402183249592781, -0.01645883172750473, -0.00967524666339159, 0.061143193393945694, 0.04906732216477394, -0.023824384436011314, -0.022442206740379333, -0.037537045776844025, 0.023224228993058205, 0.007361007388681173, -0.0807482972741127, -0.039537567645311356, -0.03184465318918228, -0.03440896049141884, 0.05972464010119438, -0.038300883024930954, -0.013894527219235897, 0.06267086416482925, 0.012048591859638691, -0.012194084003567696, -0.03855549171566963, -0.015413103625178337, 0.06779947131872177, 0.03804627060890198, -0.035081859678030014, 0.024861019104719162, 0.045175399631261826, -0.003998768515884876, -0.014958440326154232, 0.021241893991827965, -0.005101328250020742, -0.056596554815769196, 0.02193298377096653, 0.03315408527851105, -0.004271566867828369, -0.04128347709774971, 0.010930118151009083, -0.025697600096464157, 0.033663310110569, 0.009929858148097992, 0.023042364045977592, 0.06845418363809586, -0.05270463228225708, -0.013130691833794117, 0.03626398742198944, 0.020605364814400673, 0.018532097339630127, -0.01691349409520626, 0.043793220072984695, 0.0001327760546701029, 0.01848663203418255, -0.04910369589924812, -0.050340380519628525, -0.02451547421514988, -0.03457263857126236, 0.04204731062054634, 0.028443768620491028, -0.0033463258296251297, -0.007979350164532661, 0.0099662309512496, 0.018641216680407524, -0.0278799869120121, -0.023715265095233917, 0.028261903673410416, -0.03568201884627342, -0.06241625174880028, 0.013339837081730366, -0.0520499162375927, 0.032808542251586914, 0.007065475918352604, 0.041174355894327164, -0.021714745089411736, -0.0021346467547118664, 0.0062288944609463215, 0.00441933237016201, -0.03610030934214592, 0.019877903163433075, 0.008584053255617619, 0.020314380526542664, -0.03682776913046837, 0.009084183722734451, -0.018532097339630127, -0.008384001441299915, 0.010811906307935715, -0.04539363831281662, 0.0007524686516262591, 0.002652963390573859, 0.009366074576973915, -0.0010417485609650612, 0.009929858148097992, -0.010302682407200336, -0.022787751629948616, -0.01248506922274828, 0.03406341373920441, -0.03393610939383507, -0.009266048669815063, -0.0004063558008056134, -0.015249424614012241, 0.0019686943851411343, -0.006460773292928934, 0.08605877310037613, 0.020896349102258682, 0.055650852620601654, 0.040301401168107986, -0.019550545141100883, 0.02558848075568676, -0.03253574296832085, 0.06852693110704422, -0.059797387570142746, 0.016713442280888557, 0.015122119337320328, -0.032990407198667526, -0.0021130500826984644, 0.006447133142501116, 0.0015288071008399129, 0.02378801256418228, -0.013139785267412663, -0.006365293636918068, 0.0007655402296222746, -0.00910691637545824, 0.01149390172213316, 0.02591583877801895, -0.02862563543021679, -0.013185251504182816, 0.02924397774040699, -0.06638091802597046, 0.05092234909534454, 0.017404532060027122, 0.04157445952296257, 0.05608732998371124, -0.01233048364520073, 0.026879725977778435, -0.0371733158826828, 0.029444029554724693, 0.08824115991592407, -0.048339858651161194, -0.04193819314241409, -0.04539363831281662, -0.03873736038804054, 0.006569892633706331, -0.06470775604248047, 0.03468175604939461, 0.024879205971956253, -0.023533400148153305, 0.05008576810359955, 0.04477529600262642, -0.006106135435402393, -0.023387907072901726, 0.010866465978324413, 0.0384100005030632, -0.026243196800351143, 0.05448691546916962, 0.04070150479674339, 0.03993767127394676, 0.009775272570550442, 0.017540929839015007, 0.021132774651050568, -0.012048591859638691, -0.020041581243276596, -0.02480645850300789, 0.053832199424505234, 0.04161083325743675, 0.13334381580352783, -0.04550275579094887, -0.014040019363164902, -0.008484027348458767, 0.013503516092896461, 0.022351274266839027, 0.023224228993058205, -0.015367637388408184, -0.011630301363766193, 0.03837362676858902, 0.008252148516476154, -0.0004989935550838709, 0.017468184232711792, -0.06518060714006424, 0.01891401596367359, 0.056887537240982056, -0.00925240945070982, -0.03120812587440014, -0.032826729118824005, 0.011839446611702442, -0.08802291750907898, -0.03286310285329819, -0.024442728608846664, 0.023424280807375908, -0.0006274360930547118, -0.005942456424236298, -0.03642766550183296, 0.001107674790546298, -0.006669918540865183, 0.057178523391485214, 0.003973762039095163, 0.012230456806719303, -0.08933234959840775, -0.008393093943595886, -0.05132245272397995, -0.006347107235342264, -0.05455965921282768, 0.02422448992729187, 0.049431052058935165, 0.014376470819115639, 0.01333074364811182, -0.001648156438022852, 0.004221553914248943, -0.024915577843785286, 0.06729024648666382, -0.00883866474032402, -0.003785076318308711, 0.03499092906713486, 0.017550023272633553, 0.022296713665127754, -0.04095611721277237, 0.08191223442554474, -0.02877112664282322, -0.05714214965701103, 0.060852207243442535, -0.040265027433633804, -0.006042482331395149, -0.0006615358870476484, -0.003914655651897192, 0.024260861799120903, 0.057505883276462555, -0.02526112273335457, 0.001127566327340901, 0.018768522888422012, -0.04488441348075867, -0.049431052058935165, -0.10308138281106949, 0.010611853562295437, -0.025206562131643295, -0.018577564507722855, -0.039828553795814514, -0.041792698204517365, -0.044375188648700714, -0.010666413232684135, -0.02191479690372944, 0.025515735149383545, 0.016122380271553993, -0.025788532570004463, 0.034190721809864044, 0.0199324619024992, 0.019295932725071907, -0.040446896106004715, 0.05405043810606003, -0.048667218536138535, -0.10075350850820541, 0.04306576028466225, 0.01780463568866253, 0.004710317123681307, 0.003921475727111101, 0.02998962625861168, 0.007624712307006121, -0.040592387318611145, 0.012039498426020145, 0.03182647004723549, 0.03851912170648575, 0.015976887196302414, 0.006210708059370518, 0.021078215911984444, 0.00023202064039651304, -0.018641216680407524, 0.0013514882884919643, 0.022278528660535812, -0.004562551621347666, -0.017622770741581917, 0.03639129176735878, -0.02176930382847786, 0.027207084000110626, 0.0034486250951886177, 0.015513130463659763, 0.07296445220708847, 0.0029121218249201775, 0.03837362676858902, 0.014512869529426098, -0.0055741784162819386, 0.04961291700601578, 0.05816059932112694, 0.0059106298722326756, 0.07842041552066803, 0.012012218125164509, -0.011439342051744461, -0.0017675056587904692, 0.02815278433263302, 0.046521205455064774, -0.03548196703195572, 0.03822813555598259, 0.006178881507366896, -0.01978697068989277, -0.006028842646628618, -0.06568983197212219, -0.04903094843029976, 0.004201093688607216, 0.03942844644188881, -0.06197977438569069, -0.014912974089384079, 0.04717591777443886, -0.004046508111059666, -0.033408697694540024, -0.02924397774040699, 0.03382698819041252, 0.04175632819533348, 0.04386596754193306, 0.04761239513754845, -0.019896090030670166, -0.03431802615523338, 0.02940765768289566, 0.021078215911984444, -0.05772412195801735, 0.00917966291308403, 0.0010320869041606784, -0.045320890843868256, -0.06681739538908005, 0.03335413709282875, 0.00913874339312315, -0.009702526032924652, -0.01819564588367939, 0.03559108451008797, -0.026006771251559258, -0.00019607377180363983, 0.0013662647688761353, -0.008734092116355896, 0.005287740379571915, -0.0020164342131465673, -0.02226034179329872, -0.07842041552066803, -0.05194079503417015, -0.0355183370411396, -0.0011088114697486162, -0.0013662647688761353, 0.06467138230800629, 0.04921281337738037, 0.03075346164405346, 0.007029103115200996, 0.012603281065821648, -0.029516777023673058, 0.006424400024116039, 0.012421416118741035, -0.007020009681582451, -0.034936368465423584, 0.045466382056474686, -0.0011957659153267741, -0.03499092906713486, -0.04350223392248154, 0.03575476258993149, -0.01933230645954609, -0.013830874115228653, -0.05837883800268173, 0.022624071687459946, 0.02526112273335457, -0.035409219563007355, -0.046848561614751816, -0.01728631928563118, 0.051395200192928314, 0.006378933787345886, -0.012630561366677284, -0.01720448024570942, 0.022787751629948616, 0.009747992269694805, -0.02362433262169361, 0.002555210841819644, 0.018241113051772118, 0.0722733661532402, -0.045757368206977844, -0.031590044498443604, -0.04386596754193306, 0.0615432970225811 ]
41,965
rfc3339
test_date_utc
null
def test_date_utc(self): d = date.today() # Convert `date` to `datetime`, since `date` ignores seconds and hours # in timedeltas: # >>> date(2008, 9, 7) + timedelta(hours=23) # date(2008, 9, 7) d_utc = datetime(*d.timetuple()[:3]) - self.local_utcoffset self.assertEqual(rfc3339(d, utc=True), d_utc.strftime('%Y-%m-%dT%H:%M:%SZ'))
(self)
[ -0.02621365711092949, 0.02123880386352539, 0.015498585999011993, 0.04714631661772728, -0.038076773285865784, -0.054723404347896576, -0.05066698417067528, 0.07435494661331177, 0.04856223613023758, -0.013623448088765144, 0.02060737833380699, 0.035340603440999985, 0.009059975855052471, 0.004075554199516773, 0.007974117994308472, 0.14419424533843994, -0.018091250211000443, 0.006381208077073097, -0.00657733203843236, -0.01301115844398737, -0.01080117467790842, -0.057555243372917175, 0.028567146509885788, 0.05101139470934868, 0.04335777461528778, -0.003226480446755886, -0.0019791789818555117, -0.02250165119767189, 0.04121475666761398, 0.002292499179020524, -0.04037285968661308, 0.06298931688070297, -0.0023845818359404802, 0.05219770595431328, 0.034039486199617386, -0.02481687255203724, 0.03836378455162048, 0.029351642355322838, -0.033369794487953186, 0.06827031821012497, -0.02127707190811634, -0.02112399786710739, -0.00042961936560459435, 0.013479943387210369, -0.00520924711599946, -0.005218814127147198, -0.0069265286438167095, 0.029619520530104637, -0.06268317252397537, 0.015402915887534618, 0.013728685677051544, 0.030442284420132637, 0.04737592488527298, 0.037885431200265884, -0.032260019332170486, -0.034326497465372086, 0.07649795711040497, 0.06620384007692337, -0.056215859949588776, 0.036316439509391785, -0.054953012615442276, -0.002621365711092949, -0.037598419934511185, -0.04997815564274788, -0.015460317954421043, 0.0004379905294626951, -0.04209492355585098, -0.032011277973651886, 0.04722285270690918, 0.013853057287633419, -0.01984201744198799, 0.06478791683912277, 0.003264748491346836, 0.01959327422082424, 0.035895489156246185, 0.02068391628563404, -0.012685880064964294, 0.02089438959956169, 0.009050409309566021, -0.02761044353246689, -0.014848028309643269, -0.018703540787100792, -0.005347969010472298, 0.027916589751839638, -0.030480552464723587, 0.04029632359743118, 0.009815771132707596, 0.035838089883327484, -0.0005740217166021466, 0.07496723532676697, 0.05200636759400368, 0.03166686370968819, -0.015326379798352718, -0.030576223507523537, -0.033905547112226486, 0.055680107325315475, -0.010925546288490295, 0.006606033071875572, -0.08135800808668137, -0.003977491986006498, 0.016560526564717293, 0.01119342353194952, -0.06685439497232437, 0.006237702444195747, -0.014943698421120644, 0.02527608908712864, 0.012245796620845795, -0.02701728790998459, -0.012800684198737144, -0.02451072633266449, -0.007931066676974297, -0.012255363166332245, -0.01111688744276762, 0.011509135365486145, 0.034403033554553986, -0.04699324443936348, 0.009997544810175896, -0.058014459908008575, -0.008275480009615421, 0.004793081432580948, 0.005190113093703985, 0.008839934132993221, 0.036546047776937485, 0.003673739032819867, 0.034575242549180984, -0.05005469173192978, -0.016503123566508293, 0.030059603974223137, 0.02596491575241089, 0.031188512220978737, 0.036048561334609985, 0.02271212637424469, -0.029849128797650337, 0.014723656699061394, -0.004178399685770273, 0.015489019453525543, -0.0038100690580904484, 0.02301827073097229, -0.031131111085414886, 0.034230828285217285, 0.059085968881845474, 0.003908131271600723, 0.00046728955931030214, 0.09903787821531296, -0.035933759063482285, -0.015326379798352718, -0.059239041060209274, 0.0028701084665954113, -0.02562050148844719, 0.032661836594343185, 0.00471893697977066, -0.006864342838525772, -0.04760553315281868, 0.016149144619703293, -0.034135159105062485, -0.10944680869579315, -0.0019325397443026304, -0.04990161955356598, -0.007567519322037697, -0.001852415851317346, -0.05089659243822098, -0.009040841832756996, 0.0060559287667274475, 0.010332390666007996, -0.005601495038717985, 0.028662817552685738, 0.006457744166254997, -0.061994343996047974, -0.01130822766572237, 0.02607971988618374, 0.004955720622092485, -0.00990187469869852, 0.014838460832834244, 0.007648839149624109, 0.004341039340943098, -0.08311834186315536, 0.009256100282073021, -0.01257107499986887, -0.02255905233323574, -0.04672536626458168, 0.027859186753630638, 0.004367348272353411, -0.009050409309566021, -0.005730649922043085, 0.00159291026648134, 0.033599402755498886, -0.03132244944572449, -0.013279035687446594, -0.01104991789907217, 0.006730404682457447, -0.004152090288698673, 0.011298660188913345, -0.016015205532312393, 0.004144914913922548, 0.02137274108827114, 0.0069456626661121845, 0.01260934304445982, 0.016034340485930443, 0.018847046419978142, -0.02320961095392704, -0.08212336897850037, -0.027782650664448738, 0.02397497370839119, -0.07186751812696457, 0.04427620768547058, -0.010628968477249146, -0.05181502550840378, -0.04025805741548538, -0.0026715926360338926, -0.036986131221055984, 0.04775860533118248, -0.01883747987449169, 0.003735924605280161, -0.007433581165969372, -0.016751866787672043, -0.029064632952213287, -0.06696920096874237, -0.04132956266403198, -0.04251587390899658, 0.02667287550866604, 0.003735924605280161, 0.012322332710027695, 0.008442902937531471, -0.06291277706623077, 0.07175271213054657, -0.04243933781981468, -0.02194676361978054, 0.02144927717745304, -0.014197470620274544, -0.10715071856975555, 0.017268486320972443, -0.037005264312028885, 0.00515662832185626, -0.038172442466020584, -0.003322150558233261, -0.013403407298028469, 0.018024280667304993, -0.02171715535223484, -0.009232182055711746, -0.0008765789680182934, -0.04932759702205658, 0.012140559032559395, 0.03723487630486488, 0.015450750477612019, -0.0058885058388113976, 0.011805713176727295, -0.036239903420209885, 0.054072845727205276, -0.0005079494439996779, -0.009500059299170971, 0.009074326604604721, 0.01227449718862772, 0.001573776127770543, 0.01943063549697399, 0.04871530830860138, -0.036966998130083084, 0.06467311084270477, 0.007184838410466909, 0.038746464997529984, 0.029791725799441338, -0.004592173732817173, 0.004042069427669048, 0.02188936062157154, 0.06620384007692337, -0.06379294395446777, -0.06099937483668327, 0.029275106266140938, 0.018808778375387192, -0.02646240033209324, -0.003535016905516386, 0.10745686292648315, -0.02131533995270729, -0.013795655220746994, -0.01966981031000614, -0.030786696821451187, 0.004417575430124998, 0.0014625594485551119, -0.07293902337551117, -0.01089684572070837, 0.0005109391058795154, 0.009227398782968521, 0.016512691974639893, 0.013766953721642494, 0.056139323860406876, -0.04033459350466728, -0.019574139267206192, 0.006223352160304785, 0.016598794609308243, -0.015154172666370869, 0.02261645533144474, -0.015508153475821018, -0.059698257595300674, 0.04370218515396118, -0.057823121547698975, -0.057516973465681076, 0.02537176012992859, -0.037808895111083984, -0.005328834988176823, 0.011183856055140495, -0.030767563730478287, -0.05334575101733208, 0.037215739488601685, 0.02623279206454754, 0.014168769121170044, -0.00133460049983114, 0.004979638382792473, -0.014149635098874569, 0.02252078428864479, -0.07412533462047577, -0.02137274108827114, -0.007108302321285009, -0.04412313550710678, 0.012982457876205444, 0.002187261823564768, 0.0067399716936051846, 0.008696428500115871, -0.01111688744276762, -0.0033699858468025923, 0.06406082212924957, 0.018416529521346092, -0.014771492220461369, -0.008782532066106796, 0.08931777626276016, 0.00589328957721591, 0.009882740676403046, -0.027878321707248688, -0.009844472631812096, 0.06830858439207077, -0.033943817019462585, 0.06559154391288757, -0.05020776391029358, -0.03976057097315788, 0.00491266930475831, 0.04469715803861618, 0.033656805753707886, -0.002688335021957755, 0.004984421655535698, -0.03893780708312988, 0.07504376769065857, 0.02368796244263649, 0.01267631258815527, 0.037483617663383484, -0.011480433866381645, -0.03798110410571098, 0.031781669706106186, 0.06417562812566757, -0.04959547519683838, 0.01895228400826454, 0.034881386905908585, 0.01016975101083517, -0.0047500296495854855, -0.018942715600132942, 0.02408977784216404, -0.02190849557518959, -0.06241529434919357, 0.04335777461528778, 0.053766701370477676, 0.007194405421614647, 0.05242731422185898, 0.029447313398122787, -0.037464484572410583, -0.030939770862460136, 0.06287451088428497, -0.061343785375356674, -0.014264439232647419, -0.031284183263778687, 0.033886414021253586, 0.008648593910038471, -0.012064022943377495, -0.07722505182027817, -0.03945442661643028, -0.01984201744198799, 0.03926308453083038, -0.07684237509965897, 0.01311639603227377, -0.038076773285865784, 0.008529005572199821, 0.08640939742326736, -0.07783734053373337, 0.018014714121818542, 0.02594578079879284, -0.010628968477249146, -0.028777621686458588, -0.011987486854195595, 0.008667727932333946, -0.017325889319181442, 0.018043415620923042, 0.028739353641867638, -0.09589989483356476, -0.034862250089645386, -0.01231276523321867, -0.04519464075565338, 0.055412229150533676, 0.030059603974223137, -0.031188512220978737, -0.02099006064236164, -0.001638353569433093, -0.008289829827845097, -0.0004391864058561623, 0.017526796087622643, 0.04335777461528778, 0.02556310035288334, -0.014934130944311619, -0.0010003524366766214, 0.05013122782111168, 0.057899657636880875, -0.027954857796430588, -0.00540058733895421, -0.012398868799209595, -0.014694956131279469, 0.005352752283215523, -0.08985353261232376, -0.058090995997190475, -0.034957922995090485, -0.02102832868695259, 0.033408064395189285, -0.04247760772705078, -0.061190713196992874, 0.08334795385599136, -0.008610325865447521, 0.017660735175013542, -0.029007229954004288, -0.036163367331027985, 0.014723656699061394, 0.04190358519554138, -0.04098514840006828, 0.034843116998672485, 0.02678767964243889, -0.018741808831691742, 0.013365138322114944, 0.034479569643735886, -0.014245305210351944, -0.02506561391055584, 0.00987317319959402, 0.034383900463581085, 0.027323434129357338, -0.02144927717745304, -0.00019373232498764992, -0.007227890193462372, 0.08648593723773956, -0.003154727630317211, 0.01914362423121929, 0.014733224175870419, -0.06356333941221237, -0.018923582509160042, 0.05070525035262108, 0.015804730355739594, -0.008414201438426971, 0.005515391938388348, 0.056866418570280075, 0.016063040122389793, 0.03991364315152168, -0.06356333941221237, -0.07787561416625977, -0.01222666259855032, -0.038115039467811584, 0.004259719513356686, 0.04431447386741638, -0.029198570176959038, 0.010590700432658195, -0.011843981221318245, -0.007089168298989534, -0.007548385299742222, -0.018827911466360092, 0.017498094588518143, -0.012915488332509995, -0.07167617976665497, 0.01080117467790842, -0.07600047439336777, 0.013843489810824394, 0.012618910521268845, 0.0006090011447668076, -0.01913405768573284, 0.014848028309643269, -0.016656195744872093, -0.00279835588298738, -0.033408064395189285, 0.035378869622945786, -0.004221451468765736, 0.019899418577551842, -0.02257818728685379, 0.008801666088402271, -0.03176253288984299, -0.04928933084011078, 0.02546742931008339, -0.014608852565288544, -0.0007444344228133559, -0.007026982493698597, 0.02313307486474514, -0.0024061077274382114, 0.018330426886677742, -0.031418122351169586, -0.038306381553411484, -0.02615625597536564, 0.032183483242988586, -0.05326921492815018, 0.011002082377672195, -0.014981966465711594, 0.017832940444350243, -0.032451361417770386, -0.013939160853624344, 0.10546692460775375, 0.06605076789855957, 0.017010176554322243, 0.02629019506275654, 0.0011749506229534745, 0.05250385031104088, -0.011556969955563545, 0.04936586692929268, -0.07959767431020737, 0.012245796620845795, 0.009504842571914196, -0.02508474886417389, -0.005214030388742685, 0.017498094588518143, 0.004042069427669048, 0.009208264760673046, -0.03991364315152168, -0.02611798793077469, -0.02154494822025299, 0.008988223038613796, 0.02020556479692459, 0.014675821177661419, 0.008031520061194897, -0.033006247133016586, 0.04140609875321388, -0.062223952263593674, 0.05043737217783928, 0.028586281463503838, 0.014369676820933819, 0.04427620768547058, -0.031150244176387787, -0.00475720502436161, -0.07362785190343857, 0.02276952750980854, 0.08105186372995377, -0.04370218515396118, -0.06459657847881317, -0.028911560773849487, 0.008586407639086246, -0.013585180044174194, -0.02133447304368019, 0.05231251195073128, 0.034823983907699585, -0.04473542422056198, 0.03168599680066109, 0.04729938879609108, -0.007012631744146347, -0.02030123397707939, 0.032470494508743286, 0.009538327343761921, -0.0057737017050385475, 0.08595018088817596, 0.05024603381752968, 0.05192983150482178, 0.02711295895278454, -0.00584067078307271, 0.005094442516565323, -0.028012258931994438, -0.017938178032636642, -0.005663680844008923, 0.059047698974609375, 0.060234010219573975, 0.10125742852687836, -0.03227915242314339, -0.005639763083308935, -0.016761433333158493, 0.034230828285217285, 0.017804240807890892, -0.02244424819946289, -0.037043534219264984, 0.016130009666085243, -0.034116022288799286, 0.02669200859963894, 0.00617551663890481, 0.013479943387210369, -0.016139576211571693, -0.007610571105033159, 0.07542645186185837, 0.007251807488501072, -0.02102832868695259, -0.03916741535067558, 0.01918189227581024, -0.06903567910194397, -0.034173425287008286, -0.02734256722033024, 0.031934741884469986, 0.0055871447548270226, -0.01275284867733717, -0.06360160559415817, 0.02694075182080269, 0.0017256527207791805, 0.033829011023044586, -0.001125919632613659, 0.015096770599484444, -0.09253229945898056, -0.01297289039939642, -0.028261002153158188, -0.019009685143828392, -0.02558223344385624, 0.01209272351115942, 0.01215969305485487, -0.016512691974639893, 0.016043907031416893, -0.028624549508094788, -0.017574630677700043, -0.04014325141906738, 0.04060246795415878, -0.02496994473040104, -0.006051145493984222, 0.02386016957461834, 0.02475946955382824, 0.030518820509314537, -0.02431938610970974, 0.061267249286174774, -0.07756946980953217, -0.07355131208896637, 0.07358958572149277, -0.04546251893043518, 0.04389352723956108, -0.040104981511831284, -0.036220770329236984, 0.00983490515500307, 0.057708315551280975, -0.04928933084011078, -0.0002249746466986835, 0.0009931771783158183, -0.02012902870774269, -0.028528878465294838, -0.032374825328588486, 0.01023672055453062, -0.005936341360211372, -0.015431616455316544, -0.01038979273289442, -0.032393958419561386, -0.02606058493256569, -0.035130128264427185, 0.0003805883461609483, 0.012580642476677895, 0.0016754259122535586, 0.019488036632537842, 0.016321349889039993, 0.03926308453083038, 0.04412313550710678, -0.029370777308940887, 0.09107811003923416, -0.028433209285140038, -0.06218568608164787, 0.031628597527742386, 0.01278155017644167, 0.028681950643658638, 0.038765598088502884, 0.05296307057142258, -0.01240843627601862, -0.05449379235506058, 0.005410154350101948, 0.0022159628570079803, -0.0006750734173692763, 0.006094197276979685, 0.03271923586726189, 0.019382799044251442, -0.032030411064624786, -0.03130331635475159, -0.01019845250993967, 0.08005689084529877, 0.010581133887171745, -0.010102782398462296, 0.030442284420132637, -0.032413091510534286, 0.015862133353948593, 0.0010404143249616027, 0.010820308700203896, 0.06685439497232437, -0.01917232573032379, 0.06517060101032257, -0.0003509903617668897, 0.015249843709170818, 0.04997815564274788, 0.04485023021697998, 0.0016790134832262993, 0.06310412287712097, 0.004577822983264923, -0.01947847008705139, 0.02452986128628254, 0.04178877919912338, 0.06417562812566757, -0.04902145266532898, 0.009217832237482071, 0.01089684572070837, 0.005070525221526623, 0.05231251195073128, -0.04993988946080208, -0.05326921492815018, 0.029485581442713737, 0.04488849639892578, -0.054646868258714676, -0.036852192133665085, 0.034651778638362885, -0.001936127431690693, 0.019124489277601242, 0.0037789761554449797, 0.028184466063976288, 0.029504716396331787, 0.03191560506820679, 0.02428111806511879, -0.0034943572245538235, -0.036546047776937485, 0.05162368714809418, 0.05235077813267708, -0.02529522404074669, 0.037713225930929184, 0.010361092165112495, -0.034154292196035385, -0.07718678563833237, 0.035685017704963684, 0.0013322087470442057, -0.02638586424291134, -0.0006655064062215388, -0.0028055310249328613, 0.012771982699632645, 0.0023212002124637365, 0.005419721826910973, -0.016455288976430893, -0.018627004697918892, -0.033790744841098785, -0.02154494822025299, -0.06819377839565277, -0.059239041060209274, -0.06275970488786697, 0.004867225885391235, -0.02525695413351059, 0.05013122782111168, 0.04515637457370758, 0.030155273154377937, -0.02143014408648014, -0.014618419110774994, -0.032623566687107086, -0.04052593186497688, -0.0008628263603895903, -0.01175787765532732, -0.04932759702205658, -0.007404880132526159, 0.029485581442713737, -0.02483600564301014, -0.06991584599018097, -0.010475896298885345, -0.04377872124314308, -0.004293203819543123, -0.02320961095392704, 0.04090861231088638, 0.04155917093157768, -0.007687107194215059, -0.07041332870721817, -0.02606058493256569, 0.09436916559934616, 0.0046328334137797356, -0.0036043778527528048, -0.008246778510510921, 0.02173628844320774, 0.01282938476651907, -0.038019370287656784, 0.008275480009615421, -0.009055192582309246, 0.03782803192734718, -0.013795655220746994, -0.01009321492165327, -0.05388150364160538, 0.04504156857728958 ]
41,966
rfc3339
test_datetime
null
def test_datetime(self): d = datetime.now() self.assertEqual(rfc3339(d), d.strftime('%Y-%m-%dT%H:%M:%S') + self.local_timezone)
(self)
[ 0.008352084085345268, 0.03022404946386814, -0.007520433980971575, 0.0471772700548172, -0.017904948443174362, -0.050201453268527985, -0.01683758944272995, 0.08190201967954636, 0.023410741239786148, -0.005994999781250954, 0.010540170595049858, -0.00040526289376430213, -0.01962161622941494, 0.012327997013926506, 0.037997983396053314, 0.07105053216218948, -0.027573442086577415, 0.011038271710276604, -0.02929900586605072, -0.02885427325963974, -0.007057911716401577, -0.06379248946905136, -0.00855221413075924, 0.042480889707803726, 0.0659983679652214, 0.03312370926141739, -0.007564907427877188, -0.04571854695677757, 0.02881869487464428, 0.024015577509999275, -0.028231646865606308, 0.0045340522192418575, -0.016899852082133293, 0.05532477796077728, 0.010433434508740902, -0.04280109703540802, -0.041484687477350235, -0.023268427699804306, -0.08496177941560745, 0.03477811440825462, 0.010887062177062035, 0.016659695655107498, -0.05393721163272858, 0.00764940632507205, -0.013937930576503277, -0.021044762805104256, 0.013510986231267452, 0.06037694215774536, -0.05429299548268318, 0.04454445093870163, 0.03363959863781929, -0.030473100021481514, 0.01691764034330845, 0.052087120711803436, -0.043405935168266296, -0.02136497013270855, 0.07336314767599106, 0.03481369465589523, -0.01631280407309532, 0.012265734374523163, -0.030384153127670288, 0.024460311979055405, -0.02051108330488205, -0.0026439372450113297, -0.03445790708065033, -0.0008916895603761077, -0.04073753580451012, -0.05237175151705742, 0.0577797032892704, 0.041449110954999924, 0.02488725446164608, 0.024335786700248718, -0.0012263510143384337, 0.0023170586209744215, 0.0247805193066597, 0.028231646865606308, -0.07663638144731522, 0.01765589788556099, 0.012657099403440952, 0.013021780177950859, -0.03534737229347229, -0.021702967584133148, -0.025954613462090492, 0.019941825419664383, -0.030722150579094887, 0.005728160031139851, -0.0007899568881839514, 0.015085341408848763, 0.01635727658867836, 0.033995386213064194, 0.032910238951444626, -0.010949324816465378, 0.0025661089457571507, 0.011091639287769794, -0.04369056224822998, 0.012897254899144173, 0.005599187687039375, -0.03661041334271431, -0.06884466111660004, 0.03650368005037308, -0.0065108900889754295, 0.019372567534446716, -0.11997115612030029, -0.004296120256185532, 0.017851579934358597, 0.018749941140413284, -0.006871123798191547, -0.05443531274795532, -0.023979999125003815, -0.02399778924882412, -0.014978605322539806, -0.026132507249712944, -0.03637915477156639, 0.04792442172765732, 0.05045050382614136, -0.02458483725786209, 0.042409732937812805, -0.02454925887286663, 0.026861868798732758, -0.012986201792955399, 0.0410221666097641, 0.025545459240674973, 0.027751335874199867, -0.008827948942780495, 0.06959181278944016, 0.011225059628486633, -0.01891004480421543, 0.01448050420731306, 0.05169575661420822, 0.033177077770233154, 0.04297899082303047, 0.059700947254896164, -0.027235444635152817, 0.019710563123226166, -0.013217463158071041, 0.023979999125003815, -0.011598634533584118, 0.025794509798288345, -0.019995192065835, 0.035703159868717194, 0.020190875977277756, -0.021578442305326462, 0.04916967451572418, 0.023232849314808846, -0.044153086841106415, 0.029921632260084152, -0.08175970613956451, -0.03442233055830002, -0.02885427325963974, 0.06197798252105713, 0.1011856347322464, -0.012416943907737732, -0.07443050295114517, 0.02140054851770401, -0.032287612557411194, -0.09962017834186554, 0.000696007045917213, -0.058064330369234085, 0.026417136192321777, -0.001340869814157486, -0.03178951144218445, -0.029387952759861946, 0.027680177241563797, 0.0002593348908703774, 0.04038175195455551, 0.08353863656520844, -0.03835376724600792, -0.02970816008746624, -0.005937184672802687, -0.0312914103269577, 0.0038802947383373976, 0.0004577969666570425, 0.0009811919881030917, 0.03178951144218445, 0.03100677952170372, -0.058989375829696655, -0.007075700908899307, -0.007213568314909935, 0.010762536898255348, -0.04194721207022667, 0.020777922123670578, 0.005581398494541645, -0.0032954709604382515, 0.020493293181061745, 0.02132939174771309, 0.031398143619298935, -0.023570844903588295, 0.002750673098489642, 0.00023376275203190744, 0.02218327857553959, 0.008027429692447186, 0.019230252131819725, -0.03266118839383125, 0.05052166059613228, -0.00022750868811272085, 0.017816001549363136, 0.032429926097393036, -0.04013270139694214, 0.05657003074884415, 0.024976201355457306, -0.043156884610652924, -0.013537670485675335, -0.003671270329505205, -0.07193999737501144, 0.07592480629682541, -0.031326986849308014, -0.010620222426950932, -0.0533323734998703, -0.0353829525411129, -0.04084427282214165, -0.0013530999422073364, -0.05052166059613228, -0.029832685366272926, 0.011438530869781971, -0.012594836764037609, -0.041591424494981766, -0.05756622925400734, -0.011314005590975285, -0.03226982057094574, 0.016179384663701057, 0.032590027898550034, 0.05774412304162979, -0.03214529529213905, -0.0789845660328865, 0.09784124791622162, -0.019159095361828804, 0.025919035077095032, -0.04208952561020851, -0.0711216926574707, -0.08368095010519028, 0.008432136848568916, -0.015699071809649467, 0.010673590004444122, -0.017086640000343323, -0.023499688133597374, -0.011714265681803226, 0.034867063164711, -0.021756334230303764, -0.01924804225564003, -0.06453964114189148, 0.0012663770467042923, 0.01142074167728424, 0.0188033077865839, -0.044117506593465805, 0.010709169320762157, -0.03856724128127098, -0.03867397457361221, 0.02365979179739952, 0.002012416487559676, -0.00020763468637596816, -0.010380066931247711, 0.015218760818243027, 0.01483629085123539, -0.008543320000171661, -0.011883264407515526, -0.021311601623892784, 0.02584787830710411, 0.009704072959721088, 0.05187365040183067, 0.003444456495344639, -0.01921246200799942, 0.019194673746824265, -0.022539064288139343, 0.04198278859257698, -0.04892062395811081, -0.07012549042701721, 0.015538969077169895, 0.024655994027853012, 0.024567047134041786, -0.04280109703540802, 0.09314486384391785, -0.02848069742321968, -0.05041492357850075, -0.02440694347023964, -0.07642290741205215, -0.053688161075115204, -0.016072647646069527, -0.031878456473350525, 0.006106183398514986, -0.0007026780513115227, -0.03746430203318596, 0.01883888617157936, 0.030437521636486053, 0.048422522842884064, -0.04305014759302139, 0.008116375654935837, -0.019016779959201813, 0.0312914103269577, -0.025047358125448227, -0.00295747397467494, -0.05874032527208328, -0.037250831723213196, 0.06848887354135513, -0.07236694544553757, -0.04657243192195892, 0.020297611132264137, -0.027164287865161896, -0.03262560814619064, 0.034404538571834564, -0.02300158701837063, -0.024317996576428413, 0.03664599359035492, 0.010949324816465378, 0.018127314746379852, 0.01795831508934498, 0.023819895461201668, -0.041555844247341156, 0.014827395789325237, -0.07080148160457611, -0.013920140452682972, -0.025278620421886444, -0.021969806402921677, 0.020262032747268677, 0.026897447183728218, 0.07891341298818588, 0.05133996903896332, -0.024122314527630806, 0.004418421536684036, 0.020119717344641685, 0.01203447300940752, 0.0011885487474501133, 0.025972403585910797, 0.07813068479299545, 0.03682388737797737, -0.0017133336514234543, -0.04981008917093277, 0.008667845278978348, 0.041449110954999924, -0.01972835324704647, 0.044010769575834274, -0.029868263751268387, -0.04490023851394653, 0.012150104157626629, -0.0005008804728277028, 0.026844080537557602, 0.0015854729572311044, 0.014098034240305424, -0.03209192678332329, 0.07336314767599106, 0.045825280249118805, 0.0444377139210701, 0.017309006303548813, 0.007582696620374918, -0.015788018703460693, 0.027911439538002014, 0.04365498572587967, -0.04038175195455551, 0.045754123479127884, 0.04009712114930153, 0.00691559724509716, -0.04098658636212349, -0.05486225336790085, 0.008485504426062107, 0.007600485812872648, -0.07105053216218948, 0.038958605378866196, 0.04016827791929245, 0.00567479245364666, 0.021863071247935295, 0.04564739018678665, -0.04116448014974594, -0.01142074167728424, 0.08517525345087051, -0.03260781988501549, -0.009357181377708912, -0.01609933190047741, 0.0642550140619278, 0.0021714086178690195, 0.03138035535812378, -0.06585605442523956, -0.031166883185505867, 0.0010173266055062413, 0.03609452396631241, -0.06909371167421341, 0.009103682823479176, -0.04393961280584335, 0.007782826200127602, 0.0782729983329773, -0.0666743591427803, 0.016339488327503204, 0.028800904750823975, -0.0035378504544496536, -0.001213009119965136, -0.0016266107559204102, -0.005145560018718243, -0.02036876790225506, 0.06948507577180862, 0.002588345669209957, -0.0888754278421402, -0.016971008852124214, -0.02236117236316204, -0.04087985306978226, 0.031131304800510406, 0.01958603784441948, -0.03831819072365761, 0.00916149839758873, -0.034137699753046036, -0.010789221152663231, 0.03415548801422119, 0.03148709237575531, 0.06663878262042999, -0.0013508762931451201, -0.032696764916181564, 0.002543872455134988, 0.0577797032892704, 0.05144670605659485, -0.030811097472906113, 0.014925236813724041, -0.036325786262750626, 0.024460311979055405, -0.01263041514903307, -0.06624741852283478, -0.023677581921219826, -0.03415548801422119, -0.01935477741062641, 0.04486465826630592, -0.04781768471002579, -0.0014264809433370829, 0.05144670605659485, 0.025136305019259453, -0.01485408004373312, -0.03518727049231529, 0.0005503569846041501, 0.04013270139694214, 0.04532717913389206, -0.033657386898994446, 0.028462907299399376, 0.04657243192195892, -0.010415645316243172, -0.011064955033361912, -0.017113322392106056, -0.00764940632507205, -0.04084427282214165, 0.01056685484945774, 0.043192461133003235, -0.0005578618729487062, -0.020493293181061745, 0.0013631064211949706, -0.01155416201800108, 0.03226982057094574, 0.012772729620337486, 0.028142699971795082, 0.03210971876978874, -0.06539352983236313, -0.008014087565243244, 0.025154095143079758, -0.006715467199683189, 0.012897254899144173, 0.019746141508221626, 0.07105053216218948, -0.010646906681358814, 0.03467138111591339, -0.03572094812989235, -0.046038754284381866, 0.007813957519829273, -0.03728640824556351, 0.030988991260528564, 0.0264882929623127, -0.009188182651996613, -0.022610222920775414, -0.011598634533584118, 0.018145103007555008, -0.026452714577317238, -0.03782008960843086, 0.03152266889810562, -0.026345979422330856, -0.05838454142212868, 0.019425934180617332, -0.06283187121152878, 0.04454445093870163, 0.01218568254262209, 0.03449348732829094, -0.026577239856123924, 0.0029285664204508066, 0.023410741239786148, -0.004527381155639887, -0.024122314527630806, 0.04212510213255882, 0.01891004480421543, 0.017602529376745224, -0.03130919858813286, 0.011331794783473015, -0.020386558026075363, 0.005074402783066034, 0.026612818241119385, -0.03846050426363945, 0.007142411079257727, 0.0015209866687655449, 0.016926536336541176, -0.011358479037880898, 0.009659599512815475, -0.007284725550562143, -0.00712017435580492, -0.03301697224378586, 0.029032165184617043, -0.05155344307422638, -0.020262032747268677, -0.00981080811470747, -0.001187436981126666, 0.012496995739638805, -0.007089043036103249, 0.09257560968399048, 0.01223905012011528, 0.04038175195455551, 0.042338576167821884, -0.0107714319601655, 0.007729458622634411, -0.04532717913389206, 0.050379347056150436, -0.055431511253118515, -0.0007982956012710929, 0.010904851369559765, -0.033657386898994446, -0.005029929336160421, 0.0014720660401508212, 0.007062358781695366, 0.028729747980833054, -0.025189673528075218, -0.009152603335678577, -0.005274532828480005, -0.015361075289547443, 0.016143806278705597, 0.016455119475722313, -0.0062974183820188046, -0.020795712247490883, 0.026986394077539444, -0.06592720746994019, 0.054684363305568695, 0.014774028211832047, 0.04657243192195892, 0.0704101175069809, -0.011909947730600834, 0.02522525191307068, -0.038816291838884354, 0.04393961280584335, 0.09784124791622162, -0.05834896117448807, -0.04212510213255882, -0.03991922736167908, -0.03753545880317688, -0.0008077461970970035, -0.07635174691677094, 0.02782249264419079, 0.023748738691210747, -0.030170682817697525, 0.045896437019109726, 0.028640801087021828, -0.001538775977678597, -0.034511275589466095, 0.008022981695830822, 0.05258522182703018, -0.032767921686172485, 0.04305014759302139, 0.03066878393292427, 0.018856676295399666, 0.0059816581197083, 0.0128172030672431, 0.01569017767906189, -0.012861676514148712, -0.00851218868046999, -0.011483004316687584, 0.038851868361234665, 0.04123563691973686, 0.1292216032743454, -0.0601634718477726, -0.03493821993470192, -0.006501995492726564, 0.02885427325963974, 0.012959517538547516, 0.035845473408699036, -0.02502956986427307, 0.002601687563583255, 0.03518727049231529, 0.004269436001777649, -0.021560652181506157, 0.01572575606405735, -0.04607433080673218, 0.013982403092086315, 0.05706813186407089, 0.0027106471825391054, -0.04265878349542618, 0.00036106756306253374, 0.03637915477156639, -0.06646089255809784, -0.017042165622115135, -0.04109332337975502, 0.04201836884021759, -0.009686283767223358, -0.012434733100235462, -0.026007981970906258, -0.00901028886437416, 0.011545266956090927, 0.05560940504074097, 0.002448254730552435, 0.02830280363559723, -0.0991220772266388, -0.015494495630264282, -0.04696379601955414, 0.0012875018874183297, -0.04799557849764824, 0.01488965842872858, 0.03600557893514633, 0.014880764298141003, 0.02796480618417263, 0.002570556243881583, -0.00020944142306689173, -0.03278571367263794, 0.03234097734093666, -0.016677485778927803, -0.0061862352304160595, 0.020831290632486343, 0.014934131875634193, 0.033692967146635056, -0.04305014759302139, 0.0991220772266388, -0.049489881843328476, -0.061515457928180695, 0.06126640737056732, -0.03449348732829094, -0.024798307567834854, 0.0030708808917552233, -0.007689432241022587, 0.015601231716573238, 0.05564498528838158, -0.016597433015704155, 0.004651906434446573, 0.0037313092034310102, -0.05966537073254585, -0.03742872551083565, -0.09791240096092224, 0.012363575398921967, -0.03097120113670826, -0.04607433080673218, -0.051838070154190063, -0.04916967451572418, -0.05251406505703926, -0.02762681059539318, -0.011171691119670868, 0.009517285041511059, 0.017033271491527557, -0.02458483725786209, 0.03125583007931709, 0.014996394515037537, 0.007155752740800381, -0.031362567096948624, 0.046714749187231064, -0.04657243192195892, -0.1059531718492508, 0.050201453268527985, 0.022788114845752716, -0.0058171069249510765, 0.021667389199137688, 0.04216068238019943, 0.005523582920432091, -0.04539833962917328, 0.009103682823479176, 0.01780710741877556, 0.041449110954999924, 0.038069140166044235, 0.0031842878088355064, 0.016561854630708694, -0.011945527046918869, -0.017522478476166725, 0.006817755755037069, 0.01642843522131443, -0.004411750473082066, -0.023161690682172775, 0.020386558026075363, -0.01969277486205101, 0.01164310798048973, -0.0018111749086529016, 0.009085893630981445, 0.05351026728749275, 0.02173854596912861, 0.02102697268128395, 0.005105534102767706, -0.00799185037612915, 0.03637915477156639, 0.04916967451572418, 0.0004917078767903149, 0.08567335456609726, -0.0023259532172232866, -0.01687316782772541, -0.02232559397816658, 0.019194673746824265, 0.032839078456163406, -0.016419539228081703, 0.026986394077539444, 0.00960623100399971, -0.014382663182914257, 0.003393312217667699, -0.06788403540849686, -0.047604214400053024, 0.027982596307992935, 0.027235444635152817, -0.05745949596166611, 0.00283739622682333, 0.043228041380643845, 0.01565459929406643, -0.01507644634693861, -0.03613010421395302, 0.0403461717069149, 0.016152700409293175, 0.026648396626114845, 0.04714168980717659, -0.029049955308437347, -0.03171835467219353, 0.032216452062129974, 0.03226982057094574, -0.05404394492506981, 0.013510986231267452, 0.015939228236675262, -0.030401943251490593, -0.06397038698196411, 0.04522044584155083, -0.006461969576776028, -0.011207269504666328, -0.013128516264259815, 0.03735756501555443, -0.011233953759074211, -0.012230155989527702, 0.017673686146736145, -0.01119837537407875, -0.0007721675792708993, -0.019390355795621872, -0.01680201105773449, -0.07379008829593658, -0.034618012607097626, -0.0574239157140255, -0.006546468939632177, -0.006755493115633726, 0.06436175107955933, 0.02385547384619713, 0.02721765637397766, 0.006844440009444952, 0.014302611351013184, -0.029939420521259308, -0.012737151235342026, 0.01924804225564003, 0.018892254680395126, -0.026612818241119385, 0.03789124637842178, 0.015396654605865479, -0.018856676295399666, -0.06087504327297211, 0.01668637990951538, -0.020244242623448372, 0.003230984788388014, -0.051233235746622086, 0.028356172144412994, 0.03130919858813286, -0.036254629492759705, -0.055360354483127594, -0.03205635026097298, 0.055467091500759125, 0.00028087664395570755, -0.014774028211832047, -0.013937930576503277, 0.019995192065835, 0.018643204122781754, -0.029281215742230415, 0.00280404114164412, 0.030437521636486053, 0.08624260872602463, -0.053794894367456436, -0.022716958075761795, -0.05525362119078636, 0.06916486471891403 ]
41,967
rfc3339
test_datetime_timezone
null
def test_datetime_timezone(self): class FixedNoDst(tzinfo): 'A timezone info with fixed offset, not DST' def utcoffset(self, dt): return timedelta(hours=2, minutes=30) def dst(self, dt): return None fixed_no_dst = FixedNoDst() class Fixed(FixedNoDst): 'A timezone info with DST' def utcoffset(self, dt): return timedelta(hours=3, minutes=15) def dst(self, dt): return timedelta(hours=3, minutes=15) fixed = Fixed() d = datetime.now().replace(tzinfo=fixed_no_dst) timezone = _timezone(_timedelta_to_seconds(fixed_no_dst.\ utcoffset(None))) self.assertEqual(rfc3339(d), d.strftime('%Y-%m-%dT%H:%M:%S') + timezone) d = datetime.now().replace(tzinfo=fixed) timezone = _timezone(_timedelta_to_seconds(fixed.dst(None))) self.assertEqual(rfc3339(d), d.strftime('%Y-%m-%dT%H:%M:%S') + timezone)
(self)
[ 0.031133340671658516, -0.0055274260230362415, 0.010227985680103302, 0.04267352819442749, -0.046304553747177124, -0.05719762668013573, -0.028113478794693947, 0.05881540849804878, 0.004808411467820406, -0.009517958387732506, 0.002947960514575243, -0.001633511739782989, -0.0036647284869104624, -0.0104167265817523, 0.042961131781339645, 0.1183498352766037, -0.028904393315315247, 0.034836266189813614, -0.017534973099827766, -0.015683509409427643, 0.017445096746087074, -0.05259593203663826, 0.0010004416108131409, 0.043608248233795166, 0.018406778573989868, 0.013912935741245747, -0.05802449211478233, -0.03864704445004463, 0.020905354991555214, -0.004190507810562849, -0.020114438608288765, 0.005644266027957201, -0.036148469895124435, 0.03320050612092018, 0.015198174864053726, -0.05475297570228577, -0.02342190593481064, 0.034368906170129776, -0.009410105645656586, 0.022343384101986885, 0.011009913869202137, -0.00017118730465881526, -0.024572329595685005, -0.018784260377287865, 0.0021165998186916113, 0.0010172935435548425, 0.007882199250161648, 0.06596960872411728, -0.04249377176165581, 0.061116255819797516, 0.05892326310276985, 0.0029052691534161568, 0.014622963033616543, 0.03224781155586243, -0.01465891394764185, 0.004138828720897436, 0.03756852075457573, 0.039617713540792465, -0.021139035001397133, -0.015548694878816605, -0.02149854227900505, -0.002077278681099415, -0.039941269904375076, -0.01782257854938507, -0.028257280588150024, -0.016905834898352623, -0.034836266189813614, -0.07208123058080673, 0.026927104219794273, 0.014892593957483768, 0.018766285851597786, 0.022810744121670723, 0.001662721624597907, -0.015575657598674297, 0.028886418789625168, 0.04950416833162308, -0.04148715361952782, -0.024482453241944313, 0.007369901519268751, 0.003089516656473279, -0.049755822867155075, -0.03665177896618843, 0.0035883330274373293, 0.027789920568466187, 0.032355666160583496, 0.026711398735642433, 0.02185804955661297, -0.004442163277417421, 0.01748104766011238, 0.012564782984554768, 0.008614695630967617, -0.0002612045791465789, 0.02072560042142868, -0.03596871346235275, -0.005603821482509375, 0.05816829577088356, 0.011360433883965015, -0.06007368490099907, -0.0599658340215683, -0.014919556677341461, 0.027700044214725494, -0.013391650281846523, -0.06945683062076569, -0.0001343237527180463, 0.014515111222863197, 0.019880758598446846, 0.009670748375356197, -0.009877465665340424, -0.06672456860542297, -0.037928029894828796, 0.017903467640280724, -0.02796967513859272, -0.06704812496900558, 0.019143767654895782, 0.06161956489086151, -0.04687976464629173, -0.011935645714402199, -0.006336317863315344, 0.03746066987514496, 0.0022862423211336136, 0.017750676721334457, 0.0403367280960083, -0.00852032471448183, -0.01894603855907917, 0.06147576496005058, -0.02329607866704464, 0.002705293009057641, 0.03596871346235275, 0.05047483742237091, 0.034045349806547165, 0.047095466405153275, 0.03607656806707382, -0.04871325194835663, 0.034045349806547165, 0.015279063954949379, 0.06773119419813156, 0.023691536858677864, 0.03399142250418663, -0.0363461971282959, 0.020240265876054764, 0.018191073089838028, -0.018442729488015175, 0.03487221524119377, 0.03219388797879219, -0.029012246057391167, 0.013346712104976177, -0.04526197910308838, -0.0011582878651097417, -0.048317793756723404, 0.045873142778873444, 0.05083434656262398, -0.013894960284233093, -0.0859941691160202, 0.017139514908194542, -0.015755411237478256, -0.06392041593790054, 0.019143767654895782, -0.028580836951732635, -0.006174539215862751, 0.0017728208331391215, -0.08520325273275375, -0.006430688314139843, -0.012636684812605381, -0.04252972453832626, 0.03489019349217415, 0.04795828461647034, -0.02552502416074276, -0.03668772801756859, 0.025039689615368843, 0.011558162979781628, -0.004325323272496462, -0.004289372358471155, 0.05000747740268707, 0.011989571154117584, 0.08527515083551407, -0.03206805884838104, -0.013131007552146912, -0.022469211369752884, -0.005621796939522028, -0.04501032456755638, 0.07355520874261856, 0.013283798471093178, -0.030773833394050598, 0.00640372559428215, 0.01905389130115509, 0.059103015810251236, -0.00886635109782219, 0.021911974996328354, -0.007073307875543833, 0.02363761141896248, 0.025237418711185455, 0.0020076241344213486, 0.020006585866212845, 0.03190628066658974, -0.011621076613664627, 0.0002012398763326928, 0.00529374647885561, -0.004889300558716059, 0.033272407948970795, -0.0009285401902161539, -0.056334808468818665, -0.01170196570456028, 0.03810778260231018, -0.06765928864479065, 0.05155336111783981, -0.008893313817679882, -0.05468107387423515, -0.05079839378595352, -0.053530652076005936, -0.05004343017935753, 0.02962340973317623, -0.032948851585388184, 0.0012829919578507543, -0.03231971338391304, -0.029120098799467087, -0.015063359402120113, -0.029497580602765083, -0.004772460553795099, -0.032823026180267334, 0.018074234947562218, 0.060433194041252136, 0.002968182787299156, -0.024823985993862152, -0.01448814757168293, 0.08922973275184631, -0.016429487615823746, 0.027610167860984802, -0.023943191394209862, -0.015908202156424522, -0.08002634346485138, 0.02796967513859272, -0.03778422623872757, -0.03064800426363945, -0.05942657217383385, 0.08606606721878052, 0.0020435748156160116, 0.0474909245967865, -0.05212857201695442, 0.022379335016012192, -0.044327262789011, -0.04048053175210953, -0.005563376937061548, 0.02852691151201725, 0.02160639502108097, -0.030036842450499535, -0.011675002053380013, -0.039509862661361694, 0.00641271285712719, 0.023565709590911865, -0.009266302920877934, 0.031834378838539124, -0.00818778108805418, 0.018568556755781174, 0.011872731149196625, 0.03231971338391304, -0.048066139221191406, 0.010075194761157036, 0.00985949020832777, 0.05975012853741646, 0.033272407948970795, -0.025381222367286682, 0.018460704013705254, -0.049755822867155075, -0.031007511541247368, -0.03778422623872757, -0.022109704092144966, -0.019089842215180397, -0.03911440446972847, -0.016636203974485397, -0.0070822956040501595, -0.009589859284460545, -0.0474909245967865, -0.031834378838539124, -0.008277657441794872, -0.06701217591762543, 0.030054816976189613, -0.020653700456023216, -0.006758738774806261, 0.005244314204901457, -0.03724496439099312, -0.007536173798143864, -0.025255395099520683, 0.006758738774806261, 0.023565709590911865, -0.04928846284747124, -0.013823059387505054, -0.0207076258957386, 0.06783904135227203, 0.0049926587380468845, 0.012798462994396687, -0.0429970845580101, -0.051086001098155975, 0.05809639394283295, -0.056874070316553116, -0.027250660583376884, 0.061224110424518585, -0.044578917324543, -0.0026446261908859015, 0.030342424288392067, -0.04177475720643997, -0.031924255192279816, 0.05072649195790291, 0.0414152517914772, 0.07398661971092224, 0.046412404626607895, 0.00020376766042318195, -0.02494981326162815, 0.014470172114670277, -0.02672937512397766, 0.010461664758622646, 0.019359473139047623, -0.0681985542178154, 0.0041343350894749165, -0.012627697549760342, 0.06855805963277817, 0.010218997485935688, -0.014973483048379421, 0.010452677495777607, 0.03300277888774872, 0.02617213875055313, -0.018999965861439705, 0.007590099703520536, 0.025489073246717453, 0.016114918515086174, 0.022541113197803497, -0.046196699142456055, 0.03897060081362724, 0.0363461971282959, -0.009171932004392147, 0.04231401905417442, -0.018981989473104477, -0.06521464139223099, -0.026783300563693047, 0.04112764447927475, -0.01680697128176689, 0.011072827503085136, 0.0038647043984383345, -0.022792767733335495, 0.03620239347219467, 0.0374247208237648, 0.07513704150915146, 0.038287535309791565, -0.037280917167663574, -0.034386880695819855, 0.05985797941684723, 0.03417117893695831, -0.04961201921105385, 0.05629885569214821, 0.012960241176187992, 0.035375528037548065, -0.0022311927750706673, -0.061116255819797516, 0.008466399274766445, -0.01905389130115509, -0.025111591443419456, 0.012978216633200645, 0.08951734006404877, 0.011252581141889095, 0.05540008842945099, -0.02250516228377819, -0.02629796601831913, -0.010785222053527832, 0.07513704150915146, -0.04292518272995949, 0.03456663712859154, -0.0314389206469059, 0.06413611769676208, -0.037065211683511734, -0.03311062976717949, -0.06280594319105148, -0.04702356830239296, -0.031924255192279816, 0.058671604841947556, -0.08570656180381775, 0.03487221524119377, -0.026783300563693047, 0.028778566047549248, 0.06690432876348495, -0.061583615839481354, 0.03623834624886513, 0.052559979259967804, 0.010371788404881954, -0.037712324410676956, 0.030360398814082146, -0.004812905099242926, -0.018748311325907707, 0.03699330985546112, 0.02550704963505268, -0.02451840415596962, -0.014757778495550156, -0.009162944741547108, -0.03832348808646202, 0.05917491763830185, 0.003404085524380207, -0.0374247208237648, 0.011135741136968136, -0.04644835367798805, 0.016564302146434784, 0.02696305513381958, 0.042062364518642426, 0.06690432876348495, -0.026262015104293823, 0.011567150242626667, 0.015620595775544643, 0.05216452106833458, 0.04076813906431198, -0.00576559966430068, 0.0334341861307621, -0.05245212838053703, 0.021929951384663582, -0.027933724224567413, -0.09735459834337234, 0.023691536858677864, -0.035141848027706146, -0.021372715011239052, 0.015404891222715378, -0.04939631372690201, 0.0019772907253354788, 0.05126575380563736, -0.018191073089838028, 0.004893794190138578, -0.06251833587884903, -0.002862577559426427, 0.028616787865757942, 0.04781448468565941, -0.034494735300540924, 0.03296682611107826, 0.0221636313945055, -0.022109704092144966, -0.004844361916184425, 0.06521464139223099, -0.029821138828992844, -0.0038916675839573145, 0.01950327679514885, 0.05363850295543671, -0.0016031782142817974, 0.03487221524119377, -0.023314055055379868, 0.0104167265817523, 0.06086460128426552, -0.0022311927750706673, 0.028778566047549248, -0.006709306500852108, 0.010443689301609993, -0.022648965939879417, -0.000247863499680534, 0.0027277623303234577, -0.002712033921852708, 0.02061774954199791, 0.05446536839008331, 0.0036871975753456354, 0.011216630227863789, -0.027915749698877335, -0.01070433296263218, -0.03357798978686333, -0.047886382788419724, 0.028706664219498634, 0.0026738361921161413, -0.06668861955404282, -0.02126486226916313, -0.012888340279459953, -0.0023862302768975496, 0.008960722014307976, -0.018658433109521866, -0.004821892827749252, 0.023152276873588562, -0.011018901132047176, -0.009571883827447891, -0.1024596095085144, -0.006587972864508629, 0.019754931330680847, -0.005779081489890814, -0.03052217699587345, -0.024464478716254234, 0.011522212065756321, 0.01571946032345295, -0.03445878252387047, 0.01917971856892109, 0.007540667429566383, 0.05486082658171654, -0.010695344768464565, 0.0363461971282959, -0.010461664758622646, -0.013778121210634708, 0.016878871247172356, -0.04914465919137001, 0.029821138828992844, -0.010236972942948341, 0.031007511541247368, 0.0034153203014284372, 0.024590305984020233, -0.005954341031610966, -0.0573054775595665, -0.027664093300700188, 0.008385510183870792, -0.03287694975733757, -0.009670748375356197, -0.005194881930947304, 0.04634050279855728, -0.06762333959341049, -0.007536173798143864, 0.05000747740268707, -0.0208334531635046, 0.0025637370999902487, 0.03007279336452484, -0.0046915714628994465, -0.024230798706412315, -0.0012335596838966012, 0.021660320460796356, -0.02987506426870823, -0.0028940346091985703, 0.03230173885822296, -0.019107818603515625, -0.023709513247013092, 0.02160639502108097, 0.004952214192599058, 0.0208334531635046, -0.07614366710186005, -0.010048231109976768, -0.032032109797000885, 0.01650138944387436, 0.02541717328131199, 0.05471702665090561, 0.060433194041252136, 0.014497135765850544, 0.027232684195041656, -0.04601694643497467, 0.03735281899571419, 0.030845733359456062, 0.01237604208290577, 0.061367910355329514, -0.04547768458724022, -0.00953593384474516, -0.018191073089838028, 0.06614936143159866, 0.07154197245836258, -0.04522603005170822, -0.05248807743191719, -0.024698156863451004, -0.014353332109749317, -0.0054824878461658955, -0.004451151005923748, 0.001384103437885642, 0.0459090955555439, -0.030701931565999985, 0.0343509316444397, -0.017193440347909927, -0.01220527570694685, -0.008789955638349056, 0.05841995030641556, -0.026549620553851128, -0.018236013129353523, 0.10361003130674362, 0.09066776186227798, -0.01560262031853199, -0.026459744200110435, -0.0018098950386047363, 0.02910212241113186, -0.03339823707938194, 0.021588418632745743, -0.008915782906115055, 0.05025913193821907, 0.06007368490099907, 0.03643607348203659, -0.06546629220247269, -0.0277359951287508, -0.0017110304906964302, 0.043392542749643326, 0.00991341657936573, 0.04112764447927475, -0.05004343017935753, 0.0018469692440703511, 0.024931836873292923, -0.022091729566454887, -0.03940201178193092, 0.003460258711129427, -0.03064800426363945, 0.006794689688831568, 0.04666405916213989, -0.012735549360513687, -0.04371609911322594, -0.0020233525428920984, 0.026477718725800514, -0.04950416833162308, -0.006543034687638283, -0.05205667018890381, 0.04504627734422684, 0.010165071114897728, -0.00919440109282732, -0.039833419024944305, -0.026999004185199738, 0.038395389914512634, 0.018964014947414398, 0.021354738622903824, 0.013634317554533482, -0.07556845247745514, -0.05216452106833458, -0.03233769163489342, 0.04623265191912651, -0.009661761112511158, 0.014730815775692463, -0.008718053810298443, 0.027016980573534966, -0.015063359402120113, 0.035932764410972595, 0.03943796083331108, -0.017804604023694992, -0.013229872100055218, -0.03357798978686333, -0.02964138425886631, 0.02385331504046917, 0.04267352819442749, 0.05870755761861801, -0.0681985542178154, 0.028832493349909782, -0.06126005947589874, -0.09591656923294067, 0.0981455147266388, -0.06985228508710861, -0.05396205931901932, -0.01403876394033432, 0.019431374967098236, 0.00027075401158072054, 0.03145689517259598, -0.037065211683511734, 0.015072347596287727, 0.00588243966922164, -0.017786627635359764, -0.0403367280960083, -0.03217590972781181, 0.04792233556509018, 0.0416669063270092, -0.04526197910308838, -0.03699330985546112, -0.053890157490968704, -0.02306239865720272, -0.03911440446972847, -0.010263935662806034, 0.01995266042649746, 0.026819251477718353, 0.0207076258957386, -0.020923329517245293, 0.048641350120306015, 0.05047483742237091, -0.047311171889305115, 0.010201022028923035, -0.03453068435192108, -0.0838371217250824, -0.0029928989242762327, 0.02160639502108097, -0.0018952779937535524, 0.026387842372059822, 0.008659633807837963, -0.04378800094127655, -0.0021581677719950676, 0.005801550578325987, -0.012951253913342953, -0.003204109612852335, 0.05112195014953613, 0.020653700456023216, 0.021372715011239052, -0.026549620553851128, -0.08484374731779099, 0.04353634640574455, 0.06363280862569809, 0.029048196971416473, -0.001149300136603415, -0.0018649445846676826, 0.04022887721657753, -0.031025487929582596, 0.01961112767457962, 0.005815031938254833, -0.018209049478173256, 0.027034955099225044, -0.010075194761157036, -0.05424966663122177, -0.002446897095069289, 0.051984768360853195, -0.016869883984327316, -0.029587458819150925, 0.09167438745498657, -0.039078451693058014, 0.02160639502108097, -0.019772905856370926, 0.02263098955154419, 0.020258242264389992, 0.0030872696079313755, -0.03390154615044594, 0.06147576496005058, -0.041163597255945206, 0.04770663008093834, -0.0419185608625412, -0.026208089664578438, 0.02728661149740219, 0.02764611877501011, -0.06773119419813156, -0.028490960597991943, 0.03230173885822296, 0.001105485251173377, -0.007900174707174301, -0.009616822935640812, 0.019323522225022316, 0.006237453315407038, -0.02261301502585411, 0.042853280901908875, 0.03140297159552574, -0.05004343017935753, 0.007729408796876669, 0.048749200999736786, -0.034279029816389084, -0.004660114645957947, 0.02385331504046917, -0.009428081102669239, -0.061799321323633194, 0.004884806461632252, -0.0036669753026217222, -0.004394977819174528, -0.020132413133978844, 0.015566670335829258, 0.03233769163489342, -0.0013369180960580707, 0.030000891536474228, -0.0058060442097485065, 0.003882679855450988, -0.017687764018774033, 0.009841514751315117, -0.05949847400188446, -0.050978146493434906, -0.07585605978965759, 0.019754931330680847, 0.019359473139047623, 0.08937353640794754, 0.030665980651974678, -0.004253421910107136, -0.0037838153075426817, 0.020006585866212845, -0.04234997183084488, -0.05273973569273949, -0.01348152756690979, 0.03007279336452484, -0.04252972453832626, -0.01680697128176689, 0.03853919357061386, -0.008439435623586178, -0.04572933912277222, 0.019988611340522766, -0.016573291271924973, 0.012178312987089157, 0.004471373278647661, 0.08786360919475555, 0.020797502249479294, -0.01403876394033432, -0.059893932193517685, -0.026010360568761826, 0.05928276851773262, -0.00936516746878624, -0.003368134843185544, 0.010884086601436138, 0.015881238505244255, 0.016114918515086174, -0.08031395077705383, 0.011018901132047176, 0.04101979359984398, 0.06999608874320984, 0.01520716305822134, -0.008915782906115055, -0.06028939038515091, 0.06143981218338013 ]
41,968
rfc3339
test_datetime_utc
null
def test_datetime_utc(self): d = datetime.now() d_utc = d - self.local_utcoffset self.assertEqual(rfc3339(d, utc=True), d_utc.strftime('%Y-%m-%dT%H:%M:%SZ'))
(self)
[ -0.025782562792301178, 0.026828041300177574, 0.005125502590090036, 0.05695199966430664, -0.04429993778467178, -0.05578248202800751, -0.03230351582169533, 0.07711733132600784, 0.03848778456449509, -0.012820402160286903, 0.0027355211786925793, -0.009683966636657715, 0.006613980513066053, -0.0035971549805253744, 0.024170046672225, 0.14211419224739075, -0.026969801634550095, -0.0011296484153717756, -0.013724120333790779, -0.03969274461269379, 0.00543117243796587, -0.07392773777246475, 0.01922617293894291, 0.05411680415272713, 0.04327217862010002, 0.00007323333556996658, -0.011030684225261211, -0.03444763273000717, 0.03678666800260544, 0.004514163825660944, -0.04040154442191124, 0.04529225453734398, -0.0183578934520483, 0.05259288474917412, 0.02060833014547825, -0.043839216232299805, 0.010295305401086807, 0.010366185568273067, -0.05273464694619179, 0.05025384947657585, -0.0064456406980752945, -0.0037654947955161333, -0.030336597934365273, 0.022965088486671448, 0.00816004816442728, -0.004492013715207577, 0.003036760725080967, 0.03923202306032181, -0.04862361028790474, 0.035758908838033676, 0.02663312293589115, 0.021671529859304428, 0.015930257737636566, 0.06446526944637299, -0.024382686242461205, -0.036680348217487335, 0.08307123929262161, 0.04688705503940582, -0.042138099670410156, 0.016745375469326973, -0.06769030541181564, 0.007942979224026203, -0.02597748301923275, -0.014840479008853436, -0.015451817773282528, -0.00018467535846866667, -0.050643689930438995, -0.034784309566020966, 0.04585929587483406, 0.025552203878760338, -0.004272729158401489, 0.032746512442827225, -0.005045762751251459, 0.010002925992012024, 0.04189002141356468, 0.017276976257562637, -0.03008851781487465, 0.006791180465370417, 0.004348038695752621, -0.013449461199343204, -0.027395080775022507, -0.010118105448782444, 0.0013888030080124736, 0.03471343219280243, -0.014521519653499126, 0.010959804058074951, 0.02269928716123104, 0.009240967221558094, 0.0052185324020683765, 0.05291184410452843, 0.04387465864419937, 0.019846372306346893, -0.012031863443553448, -0.010995244607329369, -0.043343059718608856, 0.044583458453416824, -0.03396919369697571, -0.01340516097843647, -0.09986978024244308, 0.00023409747518599033, 0.039444662630558014, -0.0035373501013964415, -0.06524495035409927, 0.01492907851934433, 0.02787351980805397, 0.014415199868381023, 0.010171265341341496, -0.03572347015142441, -0.017401015385985374, -0.03513871133327484, -0.005289412569254637, -0.011828083544969559, -0.024790244176983833, 0.015301198698580265, 0.03845234587788582, -0.034181833267211914, 0.03513871133327484, -0.04756041243672371, 0.012439422309398651, -0.018109815195202827, 0.02666856162250042, 0.025853443890810013, 0.02652680315077305, -0.0005064036813564599, 0.03517415001988411, -0.027076121419668198, -0.01812753453850746, 0.038983944803476334, 0.043697457760572433, 0.025339564308524132, 0.04479609802365303, 0.034270431846380234, -0.03859410434961319, 0.02523324452340603, 0.004060089122503996, 0.027767200022935867, 0.00994090549647808, 0.020448850467801094, -0.02519780397415161, 0.05528632178902626, 0.03643226996064186, 0.008142328821122646, 0.035156428813934326, 0.0710216611623764, -0.032976873219013214, 0.016621336340904236, -0.08533939719200134, -0.0065918308682739735, -0.025126924738287926, 0.038948506116867065, 0.0414292998611927, -0.016984596848487854, -0.060212474316358566, 0.02982271835207939, -0.042917780578136444, -0.11383312195539474, -0.009356146678328514, -0.03271107375621796, 0.01784401386976242, 0.0015704327961429954, -0.0519549660384655, -0.008288518525660038, 0.01613403670489788, 0.008660637773573399, 0.007641739211976528, 0.04887169227004051, 0.013174801133573055, -0.04706425219774246, -0.029787277802824974, 0.010950944386422634, 0.005865311715751886, -0.0044587887823581696, 0.014246859587728977, 0.03216175362467766, 0.02652680315077305, -0.08533939719200134, 0.008740377612411976, -0.008093598298728466, -0.019102133810520172, -0.03827514499425888, 0.03763722628355026, 0.008740377612411976, 0.009090347215533257, 0.00412653898820281, 0.0212108101695776, 0.02075009047985077, -0.02287648804485798, 0.006144401151686907, -0.02108677104115486, 0.0014674353878945112, 0.007783499080687761, 0.0127140823751688, -0.029840437695384026, 0.03735370561480522, 0.023230887949466705, 0.014920218847692013, 0.014450639486312866, -0.012563462369143963, 0.029751837253570557, -0.021831009536981583, -0.0730062946677208, -0.0306378360837698, 0.014503799378871918, -0.07116341590881348, 0.056278642266988754, -0.01793261431157589, -0.009347287006676197, -0.028741799294948578, -0.005147652700543404, -0.0355108305811882, 0.03402235358953476, -0.022770168259739876, -0.010410484857857227, -0.003931619226932526, -0.011686323210597038, -0.01936793327331543, -0.06606006622314453, -0.008727087639272213, -0.016018858179450035, 0.05057280883193016, 0.016603616997599602, 0.019474253058433533, -0.001090332167223096, -0.05858223885297775, 0.06492599099874496, -0.035067830234766006, -0.01130534429103136, -0.005927331745624542, -0.03407551348209381, -0.09193123131990433, 0.02551676332950592, -0.02815704047679901, -0.0003142526838928461, -0.014370899647474289, -0.019261613488197327, 0.00039565382758155465, 0.015425237827003002, -0.030584676191210747, 0.0046249134466052055, -0.01626693643629551, -0.04072050377726555, 0.021388009190559387, 0.028759518638253212, -0.001010038540698588, 0.00775248883292079, -0.006764600519090891, -0.045363135635852814, 0.0306378360837698, 0.015691038221120834, 0.005444462411105633, 0.005980491638183594, 0.019243892282247543, -0.0038585246074944735, 0.0026912211906164885, 0.022433487698435783, -0.04862361028790474, 0.03816882520914078, 0.0032959154341369867, 0.03859410434961319, 0.0349615104496479, -0.02551676332950592, -0.01366210076957941, 0.004164194222539663, 0.0565621592104435, -0.06272871047258377, -0.062055353075265884, 0.026420483365654945, 0.01245714258402586, -0.018003495410084724, -0.016833975911140442, 0.05663304030895233, -0.034872911870479584, -0.046390894800424576, -0.03008851781487465, -0.043201297521591187, -0.013095061294734478, -0.016098598018288612, -0.061417434364557266, -0.009072626940906048, -0.011199024505913258, 0.0027355211786925793, 0.007455679588019848, 0.027164721861481667, 0.05564071983098984, -0.02764316089451313, -0.009391586296260357, 0.012040723115205765, 0.014477219432592392, -0.007101280149072409, 0.00524511281400919, -0.02560536377131939, -0.05659760162234306, 0.048694491386413574, -0.05801519751548767, -0.04848185181617737, 0.011269903741776943, -0.039267465472221375, -0.03646770864725113, 0.018800893798470497, -0.004365758970379829, -0.06722958385944366, 0.02020077221095562, 0.011110424064099789, 0.025162365287542343, 0.009046046994626522, 0.01663905568420887, -0.021706968545913696, 0.011252184398472309, -0.043378498405218124, -0.022079089656472206, -0.028582319617271423, -0.041996341198682785, 0.012102742679417133, 0.013954480178654194, 0.04429993778467178, 0.06333119422197342, -0.00982572603970766, 0.0017963624559342861, 0.04415817931294441, 0.015434098429977894, -0.014468359760940075, -0.001747632515616715, 0.08498500287532806, 0.0224689282476902, 0.018180694431066513, -0.053549762815237045, -0.018659133464097977, 0.06963950395584106, -0.017507335171103477, 0.04302410036325455, -0.05638496205210686, -0.05599512159824371, 0.010685144923627377, 0.0011894532945007086, 0.04174825921654701, -0.0011196809355169535, 0.0063880509696900845, -0.046390894800424576, 0.08541028201580048, 0.03322495147585869, 0.034731149673461914, 0.03664490953087807, -0.006179841235280037, -0.013006461784243584, 0.01310392189770937, 0.08533939719200134, -0.02893671952188015, 0.03240983560681343, 0.03421727195382118, 0.04040154442191124, -0.018605973571538925, -0.027979839593172073, 0.03396919369697571, 0.0012636557221412659, -0.07027742266654968, 0.0566684789955616, 0.04401641711592674, 0.0007027077372185886, 0.0437328964471817, 0.02011217176914215, -0.03979906439781189, -0.04043698310852051, 0.08548115938901901, -0.06506774574518204, -0.0206614900380373, -0.025587644428014755, 0.04196090251207352, -0.006529810838401318, -0.005758991930633783, -0.08548115938901901, -0.05943279713392258, 0.00637919083237648, 0.06056687608361244, -0.07243926078081131, 0.001925939810462296, -0.0277317613363266, 0.007938548922538757, 0.0754162147641182, -0.0840635597705841, 0.02307140827178955, 0.022982807829976082, -0.0053159925155341625, -0.035386789590120316, 0.010596545413136482, 0.010942084714770317, -0.013077341951429844, 0.03175419569015503, -0.004602763336151838, -0.08321300148963928, -0.014583539217710495, 0.005727981682866812, -0.04146474227309227, 0.05773167684674263, 0.01858825422823429, -0.038204267621040344, 0.002638061298057437, -0.03643226996064186, -0.006432350724935532, 0.05028928816318512, 0.04174825921654701, 0.04086226224899292, 0.016798535361886024, -0.032197196036577225, 0.007468969561159611, 0.0578734390437603, 0.05393960326910019, -0.019474253058433533, 0.012324242852628231, -0.014769598841667175, 0.019332492724061012, -0.015283478423953056, -0.06939142197370529, -0.044122736901044846, -0.03646770864725113, -0.03439447283744812, 0.01991725154221058, -0.07158870249986649, -0.04082682356238365, 0.05695199966430664, 0.014060799963772297, 0.005883031524717808, -0.02436496503651142, -0.02172468975186348, -0.009657386690378189, 0.07229749858379364, -0.04759585112333298, 0.030903635546565056, 0.028316520154476166, -0.013050762005150318, 0.018003495410084724, 0.0005271692643873394, -0.0071145701222121716, -0.02925567887723446, -0.00908148754388094, 0.054294005036354065, 0.0283342394977808, 0.0034598251804709435, -0.011066124774515629, -0.010321885347366333, 0.07761348783969879, 0.02140573039650917, 0.029804997146129608, 0.0019270472694188356, -0.06464246660470963, -0.004549603443592787, 0.02704068273305893, -0.016532735899090767, -0.012776101939380169, 0.02574712410569191, 0.06435894966125488, 0.007256329525262117, 0.05209672823548317, -0.07180134207010269, -0.06474878638982773, 0.008377118036150932, -0.0414292998611927, 0.02689892239868641, 0.05199040472507477, -0.03315407410264015, -0.009294127114117146, -0.032657913863658905, 0.0012071733362972736, -0.02569396421313286, -0.01028644572943449, 0.031187156215310097, -0.01798577420413494, -0.05223848670721054, 0.017640234902501106, -0.0814410075545311, 0.03175419569015503, 0.007965128868818283, -0.010366185568273067, -0.02177784964442253, 0.03077959641814232, 0.001869457308202982, -0.0035617148969322443, -0.03526274859905243, 0.04688705503940582, 0.0047445232048630714, 0.028529159724712372, -0.013688680715858936, 0.016701076179742813, -0.027022961527109146, -0.03221491351723671, 0.033348992466926575, -0.023124568164348602, -0.003807579632848501, 0.0006467790808528662, 0.01333428081125021, -0.011181304231286049, 0.006312740966677666, -0.009923186153173447, -0.02611924335360527, -0.0377081073820591, 0.032746512442827225, -0.06694606691598892, 0.013750700280070305, -0.018924932926893234, 0.019864091649651527, -0.015265758149325848, -0.003512985073029995, 0.12085022777318954, 0.04908433184027672, 0.007734769023954868, 0.027306482195854187, -0.003517415141686797, 0.028972158208489418, -0.03207315504550934, 0.03597154840826988, -0.05595967918634415, 0.007460109423846006, 0.011863523162901402, -0.020218491554260254, 0.006343751214444637, -0.006680430378764868, 0.01617833785712719, 0.008492298424243927, -0.03784986585378647, -0.008656207472085953, -0.002290306845679879, -0.013688680715858936, 0.027235601097345352, 0.004872993100434542, 0.006334891077131033, -0.02200820855796337, 0.032976873219013214, -0.0756288543343544, 0.06538670510053635, 0.016975736245512962, 0.01398106012493372, 0.04950961098074913, -0.02764316089451313, 0.015735337510704994, -0.054471202194690704, 0.04086226224899292, 0.08689875900745392, -0.06311854720115662, -0.06163007393479347, -0.04780849069356918, -0.003344645258039236, -0.01213818322867155, -0.03753090649843216, 0.040330663323402405, 0.02709384262561798, -0.0543648824095726, 0.029060758650302887, 0.04075594246387482, 0.005222962703555822, -0.012403982691466808, 0.02916707843542099, 0.02939743921160698, -0.00637919083237648, 0.0836382806301117, 0.04922609031200409, 0.02588888257741928, 0.030265716835856438, -0.011615443974733353, 0.022291729226708412, -0.01965145207941532, -0.0018196199089288712, -0.013378581032156944, 0.05259288474917412, 0.07988164573907852, 0.1205667108297348, -0.04780849069356918, -0.012297662906348705, -0.019616011530160904, 0.03264019265770912, 0.01748075522482395, 0.0062684412114322186, -0.03483746945858002, 0.004292664118111134, -0.019031252712011337, 0.01904897391796112, -0.02828107960522175, 0.01816297508776188, -0.009471327066421509, -0.011766063049435616, 0.0872531533241272, 0.019757771864533424, -0.04355569928884506, -0.004678073339164257, 0.04919065162539482, -0.05815695971250534, -0.019527412950992584, -0.035758908838033676, 0.06070863455533981, -0.020838690921664238, -0.000644564104732126, -0.02985815703868866, -0.009232106618583202, 0.009373866952955723, 0.04766673222184181, 0.0010609835153445601, 0.020236210897564888, -0.11659743636846542, -0.008607477881014347, -0.030620116740465164, -0.00906376726925373, -0.029893597587943077, 0.012297662906348705, 0.012554602697491646, 0.00628616102039814, 0.020696930587291718, -0.010729445144534111, -0.01303304173052311, -0.052025847136974335, 0.01678081601858139, -0.047454092651605606, -0.0002309134288225323, 0.017347855493426323, 0.02204364910721779, 0.03586522862315178, -0.024187766015529633, 0.09434114396572113, -0.08193716406822205, -0.05964543670415878, 0.05996439605951309, -0.052344806492328644, 0.01538979820907116, -0.012988741509616375, -0.024807965382933617, -0.0009546636720187962, 0.0614883117377758, -0.048978012055158615, 0.011110424064099789, 0.004571753554046154, -0.03600699082016945, -0.03435903042554855, -0.04507961496710777, 0.014858199283480644, -0.017321275547146797, -0.045363135635852814, -0.025959763675928116, -0.046851612627506256, -0.034926071763038635, -0.03657402843236923, 0.004952732939273119, 0.008930867537856102, -0.002518451539799571, -0.0018960373708978295, 0.01812753453850746, 0.02755456045269966, 0.03414639085531235, -0.042917780578136444, 0.07995253056287766, -0.03232123330235481, -0.07492005079984665, 0.02976955845952034, 0.026739442721009254, 0.012740662321448326, 0.04454801604151726, 0.0566684789955616, -0.008443567901849747, -0.05269920453429222, 0.006720300298184156, -0.003391160164028406, 0.027997560799121857, 0.032994594424963, 0.007194309961050749, -0.005289412569254637, -0.031825076788663864, -0.03827514499425888, -0.01028644572943449, 0.059326477348804474, -0.001708870055153966, -0.011225604452192783, 0.015203738585114479, -0.04235073924064636, -0.00006201991345733404, -0.00887770764529705, -0.0012979881139472127, 0.05255744606256485, -0.0035617148969322443, 0.020307091996073723, -0.001134078367613256, -0.0015150578692555428, 0.041712820529937744, 0.04628457501530647, -0.006498800590634346, 0.06442982703447342, 0.009781425818800926, -0.030106237158179283, 0.011429383419454098, 0.03976362198591232, 0.045363135635852814, -0.033207233995199203, 0.019013533368706703, 0.01922617293894291, -0.0002274524886161089, 0.04118122160434723, -0.06474878638982773, -0.061133913695812225, 0.047312334179878235, 0.02569396421313286, -0.060992155224084854, -0.019385652616620064, 0.037601787596940994, 0.0031209306325763464, 0.023284047842025757, -0.01974005252122879, 0.024701645597815514, 0.01908441260457039, 0.004717943258583546, 0.025764843448996544, -0.006795610301196575, -0.030496077612042427, 0.048375532031059265, 0.04323673993349075, -0.03969274461269379, 0.03347303345799446, 0.02746596187353134, -0.03481975197792053, -0.07910196483135223, 0.04040154442191124, 0.00871379766613245, -0.017445314675569534, -0.0012913431273773313, 0.028458280488848686, 0.0012570107355713844, -0.006556390784680843, 0.019314773380756378, -0.016833975911140442, -0.011057264171540737, -0.034093230962753296, -0.021600648760795593, -0.06170095130801201, -0.034731149673461914, -0.08597731590270996, -0.014087379910051823, -0.022522088140249252, 0.05606599897146225, 0.02385108545422554, 0.023372646421194077, -0.010782605037093163, -0.004974883049726486, -0.0579797588288784, -0.03097451664507389, -0.0008632950484752655, 0.010596545413136482, -0.02686348184943199, 0.0002981939469464123, 0.04036610201001167, 0.002671286230906844, -0.06131111457943916, -0.009905465878546238, -0.03735370561480522, 0.004629343282431364, -0.023744765669107437, 0.014432919211685658, 0.03572347015142441, -0.01136736385524273, -0.06634358316659927, -0.041535619646310806, 0.07761348783969879, -0.013112781569361687, -0.020998170599341393, 0.004660353530198336, 0.014131680130958557, 0.03221491351723671, -0.04355569928884506, 0.006334891077131033, 0.007318349555134773, 0.05883031710982323, -0.020555170252919197, 0.0005974954110570252, -0.06287047266960144, 0.04376833885908127 ]
41,969
rfc3339
test_microsecond
null
def test_microsecond(self): x = datetime(2018, 9, 20, 13, 11, 21, 12345) self.assertEqual( format_microsecond( datetime(2018, 9, 20, 13, 11, 21, 12345), utc=True, use_system_timezone=False), '2018-09-20T13:11:21.012345Z')
(self)
[ -0.013991663232445717, -0.011094354093074799, 0.015359337441623211, 0.08839491754770279, 0.0036396319046616554, -0.044197458773851395, -0.03366997092962265, 0.03775499761104584, -0.011922156438231468, -0.029872875660657883, 0.05578669533133507, 0.021306918933987617, -0.007342249155044556, -0.02037114091217518, 0.030376754701137543, 0.05024401843547821, 0.0042019980028271675, -0.01550330314785242, -0.0010572478640824556, 0.009047342464327812, 0.010419514961540699, 0.03149249032139778, 0.007540201768279076, 0.040598317980766296, 0.027983326464891434, 0.022674592211842537, -0.01902146451175213, -0.013235843740403652, 0.001310312538407743, 0.00960071012377739, 0.005169267300516367, 0.03937460854649544, -0.03140250965952873, 0.023520391434431076, 0.002478908747434616, -0.03476770967245102, -0.025823840871453285, 0.008224038407206535, -0.11510054767131805, 0.01923741213977337, 0.014855457469820976, -0.025032030418515205, -0.01983126997947693, 0.022854549810290337, -0.009123824536800385, -0.023376425728201866, 0.03190639242529869, 0.0723787397146225, -0.08817896991968155, 0.0013631748734042048, 0.045169226825237274, 0.005731632933020592, -0.014450553804636002, 0.04711276292800903, -0.09429751336574554, -0.020947003737092018, 0.060393597930669785, 0.03170843794941902, -0.010734439827501774, 0.09400957822799683, -0.041642069816589355, 0.04927225038409233, -0.01983126997947693, 0.023826317861676216, -0.04779659956693649, -0.03800693526864052, -0.044125474989414215, -0.01765378937125206, 0.015269358642399311, 0.014144626446068287, 0.017860740423202515, 0.03149249032139778, 0.0027330981101840734, 0.014387568458914757, 0.004501176532357931, 0.007234274875372648, -0.04772461950778961, 0.015827225521206856, -0.027353476732969284, 0.03764702007174492, -0.013928677886724472, -0.0015161384362727404, -0.00824203435331583, -0.005628157872706652, -0.024690112099051476, 0.0020605085883289576, 0.013730725273489952, 0.00925879180431366, -0.025211988016963005, 0.09602510184049606, -0.027155524119734764, -0.005551675800234079, 0.028955094516277313, 0.028055308386683464, -0.06269704550504684, 0.039338618516922, -0.0353795625269413, -0.03905068710446358, -0.05589466914534569, -0.026147764176130295, 0.027929339557886124, 0.01607016660273075, -0.03919465094804764, -0.00919580738991499, 0.024366188794374466, 0.027335481718182564, -0.007157792802900076, 0.0025351454969495535, 0.03413785994052887, -0.01768978126347065, -0.023178473114967346, -0.029350999742746353, -0.043909527361392975, -0.010311541147530079, 0.013559766113758087, -0.058809973299503326, 0.0687795951962471, 0.014270597137510777, 0.014792472124099731, 0.0003284216800238937, 0.005587667226791382, 0.018346624448895454, 0.00960071012377739, -0.017446838319301605, 0.011454268358647823, -0.023862309753894806, 0.03374195471405983, 0.034119863063097, 0.012561004608869553, 0.06802377849817276, 0.006424468010663986, 0.042397890239953995, 0.044881295412778854, 0.01666402630507946, 0.03707115724682808, -0.0010538736823946238, -0.007202782202512026, 0.011994139291346073, -0.00007240460399771109, 0.07946904748678207, -0.0015431320061907172, -0.012893925420939922, 0.01707792654633522, 0.024510154500603676, -0.023502394556999207, 0.0010853661224246025, -0.05470695346593857, -0.007013827096670866, -0.024852072820067406, 0.044125474989414215, 0.012543008662760258, 0.023106489330530167, 0.024114249274134636, 0.004683383274823427, -0.0369991771876812, -0.07486214488744736, 0.028397228568792343, -0.024060262367129326, 0.021090969443321228, -0.007481715641915798, -0.0008373627788387239, 0.01885950192809105, 0.0377190038561821, -0.020911013707518578, -0.022152716293931007, 0.044737331569194794, -0.09012250602245331, 0.002025641966611147, -0.041102197021245956, -0.022422652691602707, 0.014144626446068287, 0.014855457469820976, 0.030880635604262352, 0.022512631490826607, 0.04938022419810295, -0.042253922671079636, -0.016295114532113075, 0.011895162984728813, -0.01857157051563263, -0.017716774716973305, 0.027281492948532104, 0.00028708777972497046, -0.03811490908265114, 0.013289830647408962, -0.041534096002578735, 0.03521760180592537, 0.004415696952491999, -0.025337956845760345, -0.014351577498018742, -0.03361598402261734, 0.08429189771413803, 0.05035199224948883, -0.005731632933020592, 0.03455175831913948, 0.022476639598608017, 0.01878752000629902, 0.043513622134923935, -0.04887634515762329, 0.06557635962963104, 0.0034911674447357655, -0.07961301505565643, 0.013829701580107212, 0.0017320868792012334, -0.05503087490797043, 0.08803500235080719, -0.042613837867975235, 0.020101206377148628, -0.030052833259105682, -0.06910351663827896, -0.05377117544412613, -0.011517253704369068, -0.06417269259691238, -0.0023461903911083937, 0.043117716908454895, -0.0017826998373493552, -0.005290738306939602, -0.057982172816991806, -0.012704970315098763, -0.03384992852807045, -0.00477336160838604, 0.043477632105350494, -0.011985141783952713, 0.026705631986260414, -0.004393202252686024, 0.03822288289666176, 0.040166422724723816, 0.03336404263973236, -0.0006112917326390743, -0.03366997092962265, -0.0662601962685585, 0.0170599315315485, -0.014882450923323631, 0.021648837253451347, -0.015395328402519226, -0.05225953832268715, -0.016924964264035225, 0.03714314103126526, -0.003594642737880349, 0.0184995885938406, -0.08184447884559631, -0.01902146451175213, 0.010212564840912819, 0.03618936985731125, -0.03786297142505646, -0.01929139904677868, -0.08098068833351135, -0.006910352036356926, 0.01909344643354416, -0.05099983885884285, 0.017986711114645004, -0.005542678292840719, 0.04732871428132057, 0.06863563507795334, 0.01666402630507946, 0.030052833259105682, -0.03955456614494324, 0.01889549382030964, 0.013109873048961163, 0.015170382335782051, 0.041965991258621216, -0.0387987457215786, -0.04531319439411163, -0.0006551562692038715, 0.023196468129754066, -0.06831170618534088, -0.01894948072731495, -0.01844560168683529, 0.06744791567325592, 0.024492159485816956, -0.0015341341495513916, 0.08126861602067947, -0.058450061827898026, -0.03977051377296448, -0.04538517817854881, -0.04736470431089401, -0.022764571011066437, 0.0028455713763833046, -0.03595542535185814, 0.021126961335539818, 0.028541194275021553, -0.029656928032636642, -0.0172398891299963, 0.06723196804523468, -0.0020110204350203276, -0.021072974428534508, -0.043441638350486755, 0.025122009217739105, 0.03518160805106163, -0.01988525688648224, 0.009096830151975155, -0.07230675965547562, -0.06885158270597458, 0.04776060953736305, -0.040670301765203476, -0.08321215212345123, 0.039302628487348557, -0.04884035140275955, -0.03725111484527588, 0.034119863063097, -0.01950734853744507, -0.060249630361795425, 0.06287700682878494, 0.001789448200725019, 0.059997692704200745, 0.0025126507971435785, 0.021540863439440727, -0.0010797424474731088, -0.025553906336426735, -0.043153706938028336, 0.026921579614281654, -0.060969460755586624, -0.009573716670274734, 0.015512300655245781, 0.027461450546979904, 0.011319300159811974, 0.05542678013443947, -0.029279017820954323, 0.011166336946189404, 0.024060262367129326, 0.021162953227758408, -0.011832178570330143, -0.014054648578166962, 0.05168367549777031, 0.057406309992074966, 0.010455506853759289, -0.028829123824834824, -0.03419184684753418, 0.04538517817854881, -0.028217270970344543, -0.021990755572915077, -0.028235265985131264, -0.07529404014348984, 0.006500949617475271, 0.0016083663795143366, -0.01704193651676178, -0.021864784881472588, 0.017482830211520195, -0.07137098163366318, 0.06492851674556732, 0.03746706619858742, 0.041246164590120316, -0.007918111979961395, -0.020101206377148628, -0.027101537212729454, 0.01675400510430336, 0.043225690722465515, -0.015980189666152, 0.002573386300355196, 0.04981211945414543, 0.040094438940286636, 0.0025126507971435785, -0.0007288262131623924, 0.03271619603037834, 0.021774807944893837, -0.024204228073358536, 0.023448407649993896, -0.009047342464327812, -0.04815651476383209, 0.010104590095579624, 0.015809230506420135, -0.03223031386733055, 0.01722189225256443, 0.08076474070549011, -0.043153706938028336, 0.06381278485059738, -0.03581145778298378, 0.0342998206615448, -0.0007063315715640783, -0.03341802954673767, -0.05513884872198105, -0.07263068109750748, 0.006698902230709791, 0.043261684477329254, -0.04974013939499855, 0.041894007474184036, -0.03471372276544571, -0.03563150390982628, 0.05092785507440567, -0.06417269259691238, -0.03199636936187744, 0.044197458773851395, -0.01738385483622551, -0.021666832268238068, 0.007630180101841688, 0.022404657676815987, 0.0013699232367798686, 0.016852980479598045, -0.0090698366984725, -0.05737031623721123, 0.004620397929102182, 0.0020233923569321632, -0.02017318829894066, 0.01884150691330433, 0.006811375729739666, -0.07601387053728104, 0.023826317861676216, -0.0028950595296919346, -0.025193991139531136, 0.017518822103738785, 0.021900776773691177, 0.029063068330287933, -0.01927340403199196, -0.03912267088890076, 0.015980189666152, -0.006514446344226599, 0.044737331569194794, -0.03255423530936241, 0.0027488444466143847, -0.027533434331417084, 0.05341126397252083, -0.05128777027130127, -0.08299620449542999, -0.06460459530353546, -0.03226630389690399, -0.029998846352100372, 0.021900776773691177, -0.029710914939641953, -0.064280666410923, -0.009573716670274734, 0.03779098764061928, 0.0074862148612737656, -0.027929339557886124, 0.029045073315501213, 0.01781575195491314, 0.07932507991790771, -0.029710914939641953, 0.045457158237695694, 0.013694734312593937, 0.020101206377148628, 0.022818557918071747, -0.014792472124099731, -0.0024159238673746586, -0.04819250851869583, -0.001574624446220696, 0.04822849854826927, -0.009186808951199055, -0.015089401043951511, -0.024654120206832886, -0.012345056049525738, 0.044737331569194794, 0.04833647236227989, 0.056902430951595306, -0.020839029923081398, -0.024708107113838196, 0.01857157051563263, 0.0050118048675358295, 0.0005983572918921709, 0.03680122271180153, 0.05071190744638443, 0.03365197405219078, 0.016924964264035225, 0.03858279809355736, -0.0027960832230746746, -0.07565395534038544, 0.04948819801211357, -0.09113026410341263, 0.025805845856666565, 0.013613753020763397, 0.015188377350568771, -0.03224831074476242, -0.03365197405219078, 0.029692918062210083, -0.007693165447562933, 0.0033966898918151855, 0.03154647722840309, 0.026795608922839165, 0.00916881300508976, 0.006127538625150919, -0.05351923778653145, 0.008480477146804333, 0.012039128690958023, 0.027983326464891434, -0.006127538625150919, 0.025445930659770966, -0.0158002320677042, -0.015530296601355076, -0.060969460755586624, 0.04812052473425865, 0.020749051123857498, -0.015467311255633831, 0.017680782824754715, -0.01675400510430336, 0.005497688893228769, 0.009816658683121204, 0.044593364000320435, -0.00023802135547157377, 0.010239558294415474, 0.004696880001574755, 0.058737993240356445, -0.07666172087192535, -0.0377190038561821, 0.006518945563584566, 0.013901684433221817, -0.00878190528601408, -0.03199636936187744, -0.06676407903432846, 0.0005983572918921709, 0.006982334889471531, -0.021558858454227448, 0.01923741213977337, -0.023142481222748756, 0.07874921709299088, 0.05153970792889595, -0.026183756068348885, 0.027659403160214424, 0.03471372276544571, 0.0015285104745998979, -0.041750043630599976, 0.0017129664774984121, -0.06438864767551422, -0.057082388550043106, 0.018139673396945, -0.04891233518719673, 0.03444378450512886, 0.004786858335137367, -0.026471687480807304, 0.010932392440736294, -0.05053194984793663, 0.002784835873171687, -0.04840845614671707, 0.03140250965952873, 0.008228537626564503, 0.010356530547142029, 0.026165759190917015, 0.027335481718182564, -0.0052097574807703495, -0.08846690505743027, 0.03361598402261734, 0.01869754120707512, -0.0006754014175385237, 0.0389787033200264, -0.03728710860013962, -0.011508255265653133, -0.029063068330287933, 0.002221345202997327, -0.029458975419402122, -0.04610500484704971, -0.027209511026740074, 0.023376425728201866, -0.008876383304595947, -0.018256645649671555, -0.041246164590120316, 0.043333664536476135, 0.0059880721382796764, -0.003522659884765744, 0.03140250965952873, 0.022890541702508926, 0.10156777501106262, -0.030232790857553482, 0.01634010300040245, 0.03532557561993599, -0.020191185176372528, 0.04916427657008171, 0.04754466190934181, 0.016277117654681206, 0.01630411110818386, -0.004471933469176292, 0.024708107113838196, 0.0059925708919763565, -0.013712729327380657, 0.0194893516600132, 0.05294337496161461, 0.09573716670274734, 0.03818689286708832, -0.03415585309267044, -0.030196798965334892, -0.02040713280439377, 0.023268450051546097, -0.008448985405266285, 0.003837584750726819, 0.007265767082571983, -0.0013181855902075768, 0.03206835314631462, 0.04776060953736305, -0.045241210609674454, 0.03811490908265114, 0.023250455036759377, 0.0015678760828450322, 0.030646691098809242, 0.00941175501793623, -0.03937460854649544, 0.04031038656830788, 0.029225030913949013, -0.03948258236050606, 0.03518160805106163, -0.0351996049284935, 0.016475070267915726, -0.05010005086660385, -0.00395005801692605, -0.03604540228843689, 0.00941175501793623, -0.013550768606364727, 0.023088494315743446, -0.010653459466993809, 0.020047219470143318, -0.07479016482830048, 0.000525812094565481, -0.03654928505420685, 0.030196798965334892, 0.03550553321838379, 0.022800562903285027, 0.024654120206832886, 0.05272742360830307, 0.014612515456974506, 0.0066764079965651035, -0.0019277902320027351, -0.00030452111968770623, -0.030592704191803932, 0.010743438266217709, 0.006883358582854271, 0.025787850841879845, 0.04686082527041435, -0.011004375293850899, 0.006563934497535229, 0.06791580468416214, -0.023502394556999207, -0.07036321610212326, -0.005461697466671467, 0.005803615786135197, -0.024618128314614296, -0.01795971766114235, 0.05571471154689789, 0.01781575195491314, 0.042685821652412415, -0.012543008662760258, -0.0027241003699600697, -0.007445724215358496, -0.07817335426807404, 0.007990094833076, -0.12208288162946701, 0.008700924925506115, 0.02011920139193535, 0.013613753020763397, -0.0662601962685585, -0.042145948857069016, -0.059313856065273285, -0.03431781753897667, 0.026309724897146225, -0.04750866815447807, 0.041354138404130936, 0.013757718726992607, 0.001811942900530994, -0.006244510877877474, 0.020191185176372528, -0.03271619603037834, 0.05693842098116875, -0.041066206991672516, -0.05225953832268715, 0.04002245515584946, 0.059277862310409546, -0.00833201315253973, 0.040202412754297256, 0.05431104823946953, 0.005835108458995819, -0.061545323580503464, 0.008624442853033543, -0.006343487184494734, -0.0032504748087376356, 0.005956579465419054, 0.025086017325520515, 0.030610699206590652, -0.044377416372299194, -0.04977612942457199, 0.005497688893228769, 0.026201751083135605, -0.03438979759812355, -0.013397804461419582, 0.003995047416538, -0.010293545201420784, -0.0038735761772841215, -0.006177026778459549, 0.015143388882279396, 0.025032030418515205, -0.03793495148420334, 0.03980650752782822, 0.03350801020860672, -0.014963431283831596, 0.05006406083703041, -0.022782566025853157, 0.020389137789607048, 0.05773023143410683, -0.017932724207639694, -0.011229322291910648, -0.014639508910477161, -0.010761433281004429, 0.0026071283500641584, -0.01673600822687149, 0.03147449344396591, -0.008138558827340603, -0.04765263572335243, 0.042073965072631836, -0.045745089650154114, -0.08076474070549011, 0.03944659233093262, 0.004040036350488663, 0.006123039871454239, -0.002598130377009511, 0.044485390186309814, 0.01945335976779461, -0.030052833259105682, -0.015377332456409931, 0.03453376516699791, 0.015260360203683376, 0.043549615889787674, 0.012561004608869553, 0.028955094516277313, -0.0014756480231881142, -0.011382285505533218, 0.05312333256006241, -0.05013604462146759, 0.03926663473248482, 0.023628365248441696, -0.005578669719398022, -0.024096254259347916, 0.006626919377595186, -0.021468879655003548, -0.030016841366887093, 0.023538386449217796, 0.020389137789607048, 0.03253624215722084, -0.009807661175727844, 0.03568549081683159, -0.022674592211842537, 0.007526705041527748, -0.09868846088647842, -0.0010589349549263716, -0.020533103495836258, 0.0008188047213479877, -0.020281163975596428, -0.027641408145427704, -0.00021496435510925949, 0.021018987521529198, -0.009002353064715862, 0.010284547694027424, 0.041750043630599976, -0.013154862448573112, -0.05524682626128197, -0.04002245515584946, 0.09739277511835098, -0.025086017325520515, -0.028271257877349854, 0.0025193991605192423, -0.03426382690668106, -0.0051332758739590645, -0.09278587251901627, 0.020047219470143318, 0.025715867057442665, 0.05031600221991539, 0.009240795858204365, -0.028523197397589684, 0.007958602160215378, -0.0948013886809349, -0.08321215212345123, -0.026273734867572784, 0.09185009449720383, -0.0068968553096055984, -0.029782896861433983, -0.0022989518474787474, -0.001306938356719911, -0.029135052114725113, 0.012659980915486813, -0.0027960832230746746, 0.06802377849817276, 0.04905629903078079, -0.05031600221991539, -0.010311541147530079, -0.0635608434677124, 0.026327721774578094 ]
41,970
rfc3339
test_millisecond
null
def test_millisecond(self): x = datetime(2018, 9, 20, 13, 11, 21, 123000) self.assertEqual( format_millisecond( datetime(2018, 9, 20, 13, 11, 21, 123000), utc=True, use_system_timezone=False), '2018-09-20T13:11:21.123Z')
(self)
[ -0.010062868706882, 0.034244604408741, 0.01998055726289749, 0.09516624361276627, 0.006741849705576897, -0.04130403697490692, -0.03502495214343071, 0.05633028969168663, 0.015316612087190151, -0.04812755435705185, 0.05440663918852806, 0.01865577884018421, -0.0034094885922968388, -0.037493035197257996, 0.035315316170454025, 0.03331907466053963, -0.007667379919439554, -0.01979907974600792, -0.024245252832770348, 0.008815218694508076, 0.024263400584459305, 0.042937327176332474, 0.02090608701109886, 0.024789681658148766, 0.02647741325199604, -0.0122496597468853, -0.010761553421616554, -0.0008812950109131634, 0.0040877568535506725, 0.01767580583691597, -0.005476051475852728, 0.052337806671857834, -0.02342860959470272, 0.02754812501370907, 0.012939270585775375, -0.03440793231129646, -0.016441766172647476, -0.004330481868237257, -0.12318620830774307, 0.0017920798854902387, 0.012231511995196342, -0.012857605703175068, -0.03270205482840538, 0.020125737413764, -0.0054352195002138615, -0.03818264231085777, 0.036984898149967194, 0.0792689099907875, -0.09160930663347244, 0.0019100395729765296, 0.03052433766424656, -0.01690453104674816, -0.010053794831037521, 0.042392898350954056, -0.10148162394762039, -0.015434571541845798, 0.06881586462259293, 0.04533281549811363, -0.006859809625893831, 0.07204614579677582, -0.03527902066707611, 0.04754683002829552, -0.00797588936984539, 0.009491218253970146, -0.06286343932151794, -0.03117765299975872, -0.04130403697490692, -0.013265928253531456, 0.028110701590776443, 0.030560633167624474, 0.022720851004123688, 0.00738155422732234, -0.014881068840622902, 0.0026223345194011927, 0.0069278632290661335, 0.03164949268102646, -0.052918531000614166, 0.022412341088056564, 0.007640158291906118, 0.057092487812042236, -0.034063126891851425, -0.010108238086104393, -0.0010809190571308136, -0.002819690154865384, -0.0380011685192585, 0.0013701471034437418, 0.015343833714723587, 0.02794737182557583, -0.012222438119351864, 0.0782526433467865, -0.022394193336367607, 0.031740229576826096, 0.038364119827747345, 0.023864151909947395, -0.07313500344753265, 0.0562576986849308, -0.016713980585336685, -0.02820144034922123, -0.07498607039451599, 0.01595177873969078, 0.021287186071276665, 0.007957741618156433, -0.022956769913434982, -0.009336963295936584, 0.023392314091324806, 0.006251863669604063, -0.0076719168573617935, -0.015960853546857834, 0.022394193336367607, -0.02477153390645981, -0.026332231238484383, -0.047837190330028534, -0.026767775416374207, -0.017539698630571365, 0.03460755944252014, -0.029707694426178932, 0.04634908214211464, -0.016069740056991577, 0.005839004646986723, -0.0002649839734658599, 0.017367295920848846, 0.018256530165672302, 0.02177717350423336, -0.01920020766556263, 0.024481171742081642, -0.010307862423360348, 0.03195800259709358, 0.03821893781423569, 0.059016138315200806, 0.05204744264483452, 0.03811005502939224, 0.040687017142772675, 0.04613131284713745, 0.012712424620985985, 0.028981788083910942, -0.0021436905954033136, -0.030615076422691345, 0.003468468552455306, 0.0038586428854614496, 0.059887226670980453, -0.0035251800436526537, -0.023483050987124443, 0.007254520896822214, 0.03183096647262573, -0.033210188150405884, -0.011469311080873013, -0.0655129998922348, -0.0028174216859042645, -0.045913539826869965, 0.06798107922077179, 0.010153607465326786, -0.011360425502061844, 0.02947177365422249, -0.006256400607526302, -0.06090349331498146, -0.06427896022796631, 0.021813469007611275, -0.022412341088056564, 0.0246263537555933, -0.002819690154865384, -0.00028511651908047497, -0.004593622405081987, 0.04308250918984413, 0.01672305352985859, -0.0023455829359591007, 0.04613131284713745, -0.10482079535722733, -0.030869143083691597, -0.041993647813797, -0.03745673969388008, 0.032992418855428696, 0.03351869806647301, 0.060141295194625854, 0.0006759997340850532, 0.06696480512619019, -0.03203059360384941, -0.01466329675167799, 0.0068643465638160706, 0.0043554347939789295, -0.016841014847159386, 0.017140449956059456, -0.001091127167455852, -0.011287834495306015, 0.02687666192650795, -0.04079590365290642, 0.059016138315200806, -0.017766544595360756, -0.004142199642956257, -0.030796552076935768, -0.027566272765398026, 0.06881586462259293, 0.027257760986685753, -0.01773024909198284, 0.036440469324588776, 0.004804588854312897, 0.02860068716108799, 0.05172078683972359, -0.052519284188747406, 0.07367943972349167, 0.022031240165233612, -0.0929885283112526, 0.008497634902596474, 0.011786894872784615, -0.04573206230998039, 0.09763433039188385, -0.03738414868712425, 0.014844773337244987, -0.018220234662294388, -0.07498607039451599, -0.055241428315639496, -0.01350184716284275, -0.05284593999385834, -0.02422710508108139, 0.040614429861307144, -0.006356212310492992, -0.05132154002785683, -0.03879966214299202, -0.00788968801498413, -0.03727526217699051, -0.016568798571825027, 0.02065201848745346, -0.0008614460239186883, 0.023718971759080887, -0.017331000417470932, 0.053390368819236755, 0.03633158281445503, 0.03357314318418503, -0.01677749678492546, -0.03252057731151581, -0.060613133013248444, 0.008742627687752247, -0.026386674493551254, 0.02005314640700817, -0.005253742914646864, -0.02468079701066017, -0.0837695300579071, 0.025134487077593803, -0.011850412003695965, 0.005426145624369383, -0.08318880200386047, -0.01952686533331871, 0.008515781722962856, 0.010434895753860474, -0.016269363462924957, -0.01582474634051323, -0.06685592234134674, -0.03268390893936157, 0.021686434745788574, -0.015888262540102005, 0.06467820703983307, -0.021595695987343788, 0.0427558496594429, 0.05404368415474892, 0.005330870393663645, 0.019962409511208534, -0.02290232665836811, -0.01797524094581604, 0.019780931994318962, 0.0017886771820485592, 0.03840041533112526, -0.03259316831827164, -0.031159505248069763, 0.0034253678750246763, 0.025080043822526932, -0.03288353234529495, -0.02370082400739193, -0.018456153571605682, 0.04943418502807617, 0.03317389264702797, 0.01773024909198284, 0.0717557892203331, -0.052337806671857834, -0.03562382608652115, -0.0367489792406559, -0.042392898350954056, -0.012385766953229904, -0.0008018990629352629, -0.04682092368602753, 0.03342796117067337, 0.03070581518113613, -0.013810357078909874, -0.010135459713637829, 0.05404368415474892, -0.00243405275978148, -0.03477088734507561, -0.022593816742300987, 0.019363537430763245, 0.04159440100193024, -0.026005573570728302, 0.017566919326782227, -0.08195476233959198, -0.05048674717545509, 0.05328148230910301, -0.049942318350076675, -0.06380711495876312, 0.022539373487234116, -0.038618188351392746, -0.048563096672296524, 0.008298010565340519, -0.013774062506854534, -0.04878086969256401, 0.06859809905290604, -0.006564910523593426, 0.049289003014564514, 0.023065656423568726, 0.0427558496594429, -0.021232744678854942, -0.02468079701066017, -0.04983343183994293, 0.030034352093935013, -0.0599961131811142, -0.013937391340732574, 0.00872447993606329, 0.011024693958461285, 0.0399974100291729, 0.056112516671419144, -0.03607751801609993, 0.021559402346611023, 0.029290297999978065, 0.01622399501502514, -0.013193337246775627, -0.009572882205247879, 0.05026897415518761, 0.05230151116847992, 0.014554411172866821, -0.033391665667295456, -0.007095729000866413, 0.07139283418655396, -0.020125737413764, -0.03223021700978279, -0.01999870501458645, -0.05440663918852806, -0.0039266967214643955, -0.011015620082616806, 0.004559595603495836, -0.023138247430324554, 0.0370030477643013, -0.050668224692344666, 0.0860198363661766, 0.03404498100280762, 0.06761812418699265, 0.004325944930315018, -0.012957418337464333, -0.02582409791648388, 0.005244669038802385, 0.04453431814908981, -0.03270205482840538, 0.009754358790814877, 0.04043295234441757, 0.0280018150806427, -0.03105061873793602, -0.02529781684279442, 0.018964288756251335, 0.0024136367719620466, -0.026912957429885864, 0.03473459184169769, 0.01645083911716938, -0.0747682973742485, -0.014209605753421783, 0.026259642094373703, -0.02250307984650135, 0.031286537647247314, 0.07346166670322418, -0.03890854865312576, 0.05513254553079605, -0.0035841597709804773, 0.03616825491189957, -0.015443645417690277, -0.017412664368748665, -0.05498736351728439, -0.06823514401912689, -0.005094951018691063, 0.03032471425831318, -0.044969864189624786, 0.03105061873793602, -0.019363537430763245, -0.05212003365159035, 0.05905243381857872, -0.07309871166944504, -0.03832782432436943, 0.04065072163939476, -0.061339039355516434, -0.0052809645421803, 0.0064015816897153854, 0.017911724746227264, -0.013519994914531708, 0.0380011685192585, -0.017421739175915718, -0.06286343932151794, 0.021232744678854942, -0.006097608711570501, -0.02037980407476425, 0.005085877142846584, 0.009591029956936836, -0.06308121234178543, 0.034789033234119415, -0.011741525493562222, -0.025334112346172333, 0.034190163016319275, 0.026967398822307587, 0.04202994331717491, -0.025932984426617622, -0.0073089636862277985, 0.015398276038467884, -0.028782164677977562, 0.02569706365466118, -0.01992611400783062, -0.013746840879321098, -0.029362889006733894, 0.06268196552991867, -0.035587530583143234, -0.0537533238530159, -0.04297362267971039, -0.028237733989953995, -0.016559725627303123, 0.0034253678750246763, -0.03409942239522934, -0.04990602284669876, -0.010852291248738766, 0.03195800259709358, -0.005852615460753441, -0.03887225314974785, 0.057818394154310226, 0.004055998753756285, 0.06928770989179611, -0.0407596081495285, 0.042066238820552826, 0.016968047246336937, 0.011923002079129219, 0.018129495903849602, -0.04014258831739426, 0.008783459663391113, -0.05516883730888367, 0.01390109583735466, 0.03110506199300289, 0.005766414105892181, -0.014173310250043869, -0.011142653413116932, -0.010443969629704952, 0.019871670752763748, 0.02774774841964245, 0.05977834016084671, -0.012485579587519169, -0.016813792288303375, -0.0030238511972129345, 0.005770951043814421, -0.0020756367594003677, 0.012059109285473824, 0.03738414868712425, 0.05302741751074791, 0.008529393002390862, 0.0599961131811142, 0.01692267879843712, -0.08006740361452103, 0.04852680116891861, -0.08964936435222626, 0.006360749248415232, 0.010062868706882, 0.014082572422921658, -0.03215762600302696, -0.01850152388215065, 0.01767580583691597, -0.015216799452900887, 0.0017013417091220617, 0.011060989461839199, -0.00381554220803082, -0.020615724846720695, 0.02587854117155075, -0.0562576986849308, 0.0040877568535506725, 0.014309417456388474, 0.036513060331344604, -0.01028971467167139, 0.016559725627303123, 0.001914576510898769, -0.014572558924555779, -0.06221012398600578, 0.051140062510967255, 0.05077710747718811, -0.001367878750897944, 0.004042387939989567, 0.009681768715381622, 0.023610085248947144, -0.006406118627637625, 0.035043101757764816, 0.006573984399437904, 0.028709573671221733, -0.014790330082178116, 0.061012379825115204, -0.06769071519374847, -0.023718971759080887, 0.028836606070399284, 0.042610667645931244, -0.031613197177648544, 0.0014245901256799698, -0.05832652747631073, -0.006691943854093552, -0.01972648873925209, -0.020289067178964615, 0.018946141004562378, -0.03277464583516121, 0.08631020039319992, 0.04282844066619873, -0.010026573203504086, 0.03970704600214958, 0.010598224587738514, -0.002944455249235034, -0.03208503499627113, 0.0031690325122326612, -0.06402488797903061, -0.050341565161943436, 0.013102599419653416, -0.05937909334897995, 0.03963445499539375, 0.005417071748524904, -0.030760256573557854, 0.024190809577703476, -0.03781969100236893, -0.0031055156141519547, -0.051539309322834015, 0.016596021130681038, 0.004185300320386887, -0.00973621103912592, 0.013819430954754353, 0.001672985963523388, -0.011378573253750801, -0.06137533485889435, 0.0254974402487278, 0.011741525493562222, 0.002894549397751689, 0.04780089482665062, -0.04533281549811363, 0.006079460959881544, -0.03177652508020401, 0.013910169713199139, -0.012830385006964207, -0.043989889323711395, -0.018093202263116837, 0.020960528403520584, -0.00940047949552536, -0.005616696085780859, -0.058290235698223114, 0.041666992008686066, 0.006551299709826708, -0.0025270595215260983, 0.04642167314887047, 0.02714887633919716, 0.09102858603000641, -0.025660770013928413, 0.016831940039992332, 0.04910752549767494, -0.036258991807699203, 0.005153931211680174, 0.03362758457660675, 0.02018018066883087, 0.016414543613791466, 0.0061792731285095215, 0.01548901479691267, 0.015897337347269058, 0.0030533410608768463, 0.02097867615520954, 0.03818264231085777, 0.0922626256942749, 0.04355434700846672, -0.059560567140579224, -0.03638602793216705, -0.012594465166330338, 0.0192546509206295, -0.024118218570947647, 0.032339103519916534, 0.03633158281445503, -0.007553956937044859, 0.01667768508195877, 0.047038692981004715, -0.029834726825356483, 0.02733035199344158, 0.01850152388215065, -0.011142653413116932, 0.021160153672099113, 0.007168319541960955, -0.02357378974556923, 0.05890725553035736, 0.03092358633875847, -0.017331000417470932, 0.03368202969431877, -0.014391082338988781, -0.0026155293453484774, -0.0655129998922348, 0.0192546509206295, -0.05698360502719879, 0.006324454210698605, 0.01247650571167469, 0.03335537016391754, -0.002493032719939947, 0.04217512533068657, -0.06642037630081177, -0.0058027091436088085, -0.008284399285912514, 0.03734785318374634, 0.003062414936721325, 0.01717674545943737, 0.038436710834503174, 0.012322250753641129, 0.04830902814865112, 0.020434247329831123, -0.00996305700391531, 0.013293149881064892, -0.021867912262678146, 0.003448052331805229, 0.011024693958461285, 0.022720851004123688, 0.005407997872680426, 0.013873874209821224, -0.006324454210698605, 0.04486097767949104, -0.023446757346391678, -0.0754941999912262, -0.016069740056991577, -0.01426404807716608, -0.051212653517723083, -0.007808024063706398, 0.046712037175893784, 0.030615076422691345, 0.02694925107061863, 0.014245901256799698, 0.012757794000208378, -0.023555641993880272, -0.07832523435354233, 0.004171689972281456, -0.11803227663040161, -0.003917622845619917, 0.03821893781423569, 0.010371378622949123, -0.05890725553035736, -0.057564329355955124, -0.05070452019572258, -0.05658435449004173, 0.013329444453120232, -0.022212717682123184, 0.02402748167514801, 0.02090608701109886, 0.011805042624473572, -0.009953983128070831, 0.0009737345390021801, -0.041412923485040665, 0.03272020444273949, -0.01131505612283945, -0.03767450898885727, 0.049143821001052856, 0.05466070398688316, -0.013347592204809189, 0.029707694426178932, 0.04972454532980919, 0.01947242207825184, -0.04420766234397888, 0.005770951043814421, -0.02422710508108139, -0.020506838336586952, 0.009445848874747753, 0.023846004158258438, 0.04660315066576004, -0.030996177345514297, -0.07259057462215424, -0.0059751118533313274, 0.01390109583735466, -0.053390368819236755, -0.033065009862184525, 0.0122496597468853, 0.006941474042832851, -0.015933630988001823, -0.003309676656499505, 0.003922159783542156, 0.030506189912557602, -0.042066238820552826, 0.027638861909508705, 0.004239743575453758, 0.003296065842732787, 0.03477088734507561, 0.0028990861028432846, 0.03811005502939224, 0.05019638314843178, -0.0337546169757843, -0.01142394170165062, -0.005879836622625589, -0.012893901206552982, 0.015643268823623657, -0.024971159175038338, 0.020833496004343033, -0.010716184042394161, -0.030016204342246056, 0.044643204659223557, -0.029889170080423355, -0.06685592234134674, 0.031340982764959335, 0.0003436710103414953, -0.014509041793644428, -0.01423682738095522, 0.040215179324150085, 0.01760321483016014, -0.03330092877149582, -0.03264761343598366, 0.028836606070399284, 0.0064514875411987305, 0.04587724432349205, 0.018465228378772736, -0.002998898271471262, 0.004886253271251917, -0.001734234276227653, 0.057092487812042236, -0.03720267117023468, 0.03477088734507561, 0.038291528820991516, -0.005725581664592028, -0.02243048883974552, 0.013746840879321098, -0.018946141004562378, -0.05720137432217598, 0.009032989852130413, 0.03137727826833725, 0.012403914704918861, -0.002776589710265398, 0.021740878000855446, -0.04144921898841858, 0.0013565364060923457, -0.09589215368032455, 0.003345971927046776, -0.021105710417032242, -0.026332231238484383, 0.0010627714218571782, -0.03992481902241707, -0.007594789378345013, 0.02780219167470932, -0.010752479545772076, 0.004890790209174156, 0.05916132032871246, 0.009591029956936836, -0.049216412007808685, -0.03268390893936157, 0.0777445062994957, -0.010843217372894287, -0.05302741751074791, 0.021160153672099113, -0.006551299709826708, -0.02542484924197197, -0.09030267596244812, 0.02687666192650795, 0.013002786785364151, 0.06148421764373779, -0.006011407356709242, -0.032937973737716675, 0.011088211089372635, -0.07542160898447037, -0.07055804133415222, -0.03720267117023468, 0.11563678830862045, 0.00972713716328144, -0.050885993987321854, -0.0025724286679178476, 0.009609177708625793, -0.030869143083691597, -0.005144857335835695, 0.0005472648772411048, 0.05280964449048042, 0.05585844814777374, -0.07335277646780014, -0.013774062506854534, -0.044243957847356796, 0.05389850214123726 ]
41,971
rfc3339
test_timestamp
null
def test_timestamp(self): d = time.time() self.assertEqual( rfc3339(d), datetime.fromtimestamp(d). strftime('%Y-%m-%dT%H:%M:%S') + self.local_timezone)
(self)
[ 0.009956679306924343, 0.05179610848426819, -0.02873009629547596, 0.07309877127408981, -0.004662184044718742, -0.06308865547180176, -0.012886686250567436, 0.09297651052474976, 0.018541866913437843, 0.010767106898128986, 0.01206735335290432, 0.01055336743593216, -0.024277199059724808, 0.010428686626255512, 0.03694124147295952, 0.053648512810468674, -0.023814097046852112, 0.02885477803647518, -0.027803894132375717, -0.03006596677005291, 0.0066348179243505, -0.06775529682636261, -0.012753099203109741, 0.05959758535027504, 0.04794880375266075, 0.013136048801243305, -0.008384807035326958, -0.05165361613035202, 0.006652629468590021, 0.024081271141767502, -0.00614499906077981, -0.03038657456636429, 0.012975743971765041, 0.059846945106983185, -0.01654696837067604, -0.04759257286787033, -0.06326676905155182, -0.035266950726509094, -0.06508355587720871, 0.02431282214820385, 0.030350951477885246, 0.018132200464606285, -0.07210132479667664, -0.004230252932757139, 0.017027880996465683, -0.02301257662475109, 0.029513806104660034, 0.049943700432777405, -0.08314450830221176, 0.025684313848614693, 0.01175564993172884, -0.022424792870879173, 0.020732691511511803, 0.05963320657610893, -0.05240170285105705, 0.008104274049401283, 0.07110387086868286, 0.06141436845064163, -0.024419691413640976, 0.02449093759059906, -0.019200894981622696, 0.04616764560341835, -0.04171474650502205, 0.007044484373182058, -0.02502528578042984, -0.04028981924057007, -0.02212199568748474, -0.04780631139874458, 0.03808118402957916, 0.030849676579236984, 0.013109331019222736, 0.021890446543693542, -0.0034732602071017027, 0.001601930009201169, 0.028534170240163803, 0.04210660234093666, -0.06590288877487183, 0.0345722995698452, 0.0044239540584385395, 0.04085979238152504, -0.02965630032122135, -0.012040635570883751, -0.03398451581597328, 0.047093845903873444, -0.016235265880823135, 0.014463012106716633, 0.029193198308348656, 0.027358604595065117, -0.012877780944108963, 0.048162542283535004, 0.00972512923181057, -0.012788722291588783, 0.0006868594791740179, -0.0006161697092466056, -0.037582457065582275, 0.004795771092176437, 0.0076100025326013565, -0.02463342994451523, -0.07680357992649078, 0.016261983662843704, 0.017749249935150146, 0.02199731580913067, -0.11256925761699677, 0.019663996994495392, 0.01989554800093174, 0.04645263031125069, -0.01162206381559372, -0.04071729630231857, -0.00830020196735859, -0.01061570830643177, -0.012797628529369831, -0.02297695353627205, -0.04310405254364014, 0.04513457417488098, 0.01687648333609104, -0.04470709338784218, 0.05557216331362724, -0.00902602355927229, -0.008847908116877079, -0.024241575971245766, 0.054930947721004486, 0.04274781793355942, 0.027412038296461105, -0.005258872173726559, 0.02985222637653351, 0.011435041204094887, -0.005098567809909582, 0.013812889344990253, 0.0305646900087595, 0.03922112286090851, 0.04780631139874458, 0.05343477427959442, -0.008950324729084969, 0.03800993412733078, -0.019325576722621918, -0.007743589114397764, -0.0038072275929152966, 0.0354628786444664, -0.024241575971245766, 0.007040031254291534, 0.04011170193552971, -0.022371359169483185, 0.05817265808582306, 0.002736305817961693, -0.057745181024074554, 0.016146207228302956, -0.09112410247325897, -0.026022734120488167, -0.021516403183341026, 0.05186735466122627, 0.0878467708826065, -0.02310163341462612, -0.04563329741358757, 0.016386663541197777, -0.03943486139178276, -0.10145482420921326, -0.00035845828824676573, -0.0678265392780304, 0.052437324076890945, 0.0019448031671345234, -0.028213560581207275, -0.027732647955417633, 0.011809085495769978, -0.02614741586148739, 0.007097919005900621, 0.06262555718421936, -0.05607089027762413, -0.034233879297971725, -0.026343343779444695, -0.03318299353122711, 0.015157664194703102, 0.02025177888572216, 0.019610561430454254, 0.025755561888217926, 0.019966794177889824, -0.05186735466122627, -0.010295099578797817, -0.004679995588958263, 0.03042219765484333, -0.041287269443273544, -0.002847628202289343, -0.010989751666784286, 0.01447191834449768, 0.029032893478870392, 0.0009067213395610452, 0.035890355706214905, -0.028356052935123444, -0.0021351645700633526, -0.019557127729058266, 0.021035488694906235, 0.008251219987869263, 0.016172925010323524, -0.05111926794052124, 0.05379100516438484, -0.010526650585234165, 0.05143987759947777, 0.01589684560894966, -0.026076169684529305, 0.024722488597035408, 0.037582457065582275, -0.04780631139874458, 0.005788767244666815, -0.015816692262887955, -0.06305303424596786, 0.04887500777840614, -0.0365850068628788, -0.010312911123037338, -0.03168682008981705, -0.049444977194070816, -0.07067639380693436, 0.011069904081523418, -0.055643413215875626, -0.01663602702319622, 0.03312956169247627, -0.006251868791878223, -0.0486256442964077, -0.07192320376634598, -0.01864873617887497, 0.007298299577087164, -0.00896813627332449, 0.04826941341161728, 0.049444977194070816, -0.04260532557964325, -0.04107353091239929, 0.08043714612722397, 0.004439539276063442, 0.050513673573732376, -0.02265634387731552, -0.08179082721471786, -0.058635760098695755, 0.016983352601528168, -0.011657686904072762, 0.030279705300927162, -0.009377802722156048, -0.02917538583278656, -0.017517700791358948, 0.036460328847169876, -0.005481517408043146, -0.0022052975837141275, -0.07302752137184143, 0.006407720036804676, -0.019913358613848686, 0.00020107616728637367, -0.055251557379961014, 0.007605549413710833, -0.028712285682559013, -0.04274781793355942, 0.030083777382969856, -0.0002913865027949214, 0.0010197135852649808, -0.034821659326553345, 0.033877648413181305, 0.02155202627182007, -0.013830700889229774, -0.0033463528379797935, -0.04826941341161728, 0.028623227030038834, 0.0015540613094344735, 0.041679125279188156, 0.007520944345742464, -0.02212199568748474, -0.014133498072624207, -0.03510664775967598, 0.038259297609329224, -0.030493443831801414, -0.07113949954509735, 0.013109331019222736, 0.04488521069288254, 0.03754683583974838, -0.04036106541752815, 0.09326149523258209, -0.058635760098695755, -0.05072741210460663, -0.02493622712790966, -0.03804555907845497, -0.05920572951436043, -0.0035266950726509094, -0.017784874886274338, 0.03857990726828575, -0.0001189062895718962, -0.0392567478120327, 0.043424658477306366, 0.04403025284409523, 0.028445111587643623, -0.013082614168524742, -0.0034888454247266054, -0.004559767432510853, 0.008594092912971973, -0.03373515233397484, -0.006768404506146908, -0.0682540163397789, -0.03613971918821335, 0.07473743706941605, -0.06362300366163254, -0.040610428899526596, 0.042142223566770554, -0.04032544419169426, -0.029513806104660034, 0.05215233936905861, -0.044992078095674515, 0.00555276358500123, 0.04420837014913559, 0.028961647301912308, 0.014053345657885075, 0.014837055467069149, 0.03453667461872101, -0.06483419239521027, 0.03186493739485741, -0.052081093192100525, -0.019699620082974434, -0.014926113188266754, 0.006091564428061247, -0.009119534865021706, 0.01365258451551199, 0.06120062619447708, 0.07345500588417053, -0.007943970151245594, -0.011942671611905098, 0.006755046080797911, 0.018212351948022842, 0.010072454810142517, 0.022852271795272827, 0.09290526062250137, 0.04403025284409523, -0.004045457579195499, -0.05867138132452965, 0.018541866913437843, 0.003497751196846366, -0.0319005586206913, 0.012236563488841057, -0.012646229937672615, -0.037048108875751495, 0.02538151852786541, 0.0008738812175579369, 0.008576281368732452, 0.026735197752714157, -0.020554576069116592, -0.03241709619760513, 0.04787755757570267, 0.012156411074101925, 0.0410379059612751, 0.010517744347453117, 0.008064198307693005, -0.0018891418585553765, 0.04346028342843056, 0.03587254509329796, -0.07163821905851364, 0.022905707359313965, 0.03435856103897095, -0.00923531036823988, -0.04524144157767296, -0.050299935042858124, 0.012129693292081356, 0.01627979427576065, -0.043959006667137146, 0.005490423180162907, 0.04456460103392601, -0.02837386541068554, -0.00372484908439219, 0.03872239962220192, -0.030796241015195847, -0.003223898122087121, 0.07292065769433975, -0.05835077166557312, -0.010116984136402607, -0.013688207603991032, 0.07658984512090683, 0.0040632691234350204, 0.005646274425089359, -0.0356944277882576, -0.02146296761929989, -0.04107353091239929, 0.024686865508556366, -0.048910629004240036, 0.016618214547634125, -0.06925147026777267, 0.0038807005621492863, 0.06590288877487183, -0.09760752320289612, -0.011185679584741592, 0.03964860364794731, -0.0032862385269254446, -0.007810382638126612, -0.00587782496586442, 0.001656478038057685, -0.01538921520113945, 0.035623181611299515, -0.00416568573564291, -0.06141436845064163, -0.011568628251552582, -0.026966748759150505, -0.02796419896185398, 0.05322103574872017, 0.0044328598305583, -0.04064605012536049, 0.025132155045866966, -0.01418693270534277, -0.007520944345742464, 0.05763830989599228, 0.0006389908376149833, 0.06657972931861877, -0.019663996994495392, -0.026289908215403557, 0.0033040503039956093, 0.04566891863942146, 0.04666636884212494, -0.025666503235697746, -0.022157618775963783, -0.050299935042858124, 0.03726184740662575, -0.014356142841279507, -0.05361289158463478, -0.013608056120574474, -0.05126176029443741, -0.005521593149751425, 0.028783531859517097, -0.02149859070777893, 0.01847062073647976, 0.02855198085308075, 0.0319005586206913, -0.030724994838237762, -0.04720071703195572, 0.01389304082840681, 0.03202524036169052, 0.05884949862957001, -0.03341454640030861, 0.007271582260727882, 0.020982054993510246, -0.008260125294327736, 0.010580085217952728, -0.025524010881781578, -0.03897176310420036, -0.04470709338784218, 0.011987200938165188, 0.03993358835577965, 0.017838308587670326, -0.021391721442341805, 0.015362497419118881, -0.013385411351919174, 0.03922112286090851, 0.039541732519865036, 0.017010070383548737, 0.05998944118618965, -0.02810669131577015, 0.01636885292828083, 0.011007563211023808, -0.03015502355992794, 0.02867666259407997, 0.015887940302491188, 0.05286480486392975, -0.03234585002064705, 0.01615511253476143, -0.0227454025298357, -0.039862342178821564, -0.0073250168934464455, -0.04616764560341835, -0.005356836132705212, 0.017749249935150146, -0.0006250755395740271, -0.016787424683570862, -0.03662063181400299, 0.033165182918310165, -0.010206041857600212, -0.04755694791674614, 0.03475041314959526, -0.04142976179718971, -0.06950082629919052, 0.014463012106716633, -0.043246544897556305, 0.03950611129403114, 0.022994764149188995, 0.0459539070725441, -0.014311613515019417, -0.0045174648985266685, 0.0063053034245967865, 0.00019314444216433913, -0.037226226180791855, 0.02547057531774044, -0.020109286531805992, 0.04232034087181091, -0.03195399418473244, 0.004415048286318779, 0.0000037745267036370933, 0.00035595352528616786, 0.033343300223350525, -0.038829270750284195, 0.002996800234541297, -0.0023667151108384132, 0.01619073562324047, -0.008870172314345837, -0.008669791743159294, -0.006772857625037432, 0.024116894230246544, -0.02181919850409031, 0.026432402431964874, -0.05361289158463478, 0.01131036039441824, 0.035035401582717896, 0.00031615575426258147, 0.003355258610099554, -0.02279883623123169, 0.09525638818740845, 0.025078721344470978, 0.025506198406219482, 0.05026431009173393, -0.005668539088219404, 0.004074401687830687, -0.05635587498545647, 0.06027442589402199, -0.035979416221380234, -0.014837055467069149, 0.012859969399869442, -0.0071157305501401424, -0.0019091799622401595, 0.0062652272172272205, 0.006599194370210171, 0.010036831721663475, -0.039327993988990784, -0.009502483531832695, -0.00843378808349371, -0.00901266559958458, 0.01699225790798664, 0.04078854247927666, -0.03131277859210968, -0.00952029600739479, 0.023404430598020554, -0.08592312037944794, 0.058956366032361984, 0.014008816331624985, 0.029104139655828476, 0.08143459260463715, -0.006808480713516474, 0.016413381323218346, -0.03596160188317299, 0.03507102280855179, 0.08200456947088242, -0.06440671533346176, -0.025773372501134872, -0.023493489250540733, -0.04830503463745117, 0.0020806165412068367, -0.07053390145301819, 0.035569749772548676, 0.03152651712298393, -0.03341454640030861, 0.06761280447244644, -0.01414240337908268, 0.01975305564701557, -0.05689022317528725, 0.018274692818522453, 0.059170108288526535, -0.018969343975186348, 0.03975547105073929, 0.03239928558468819, 0.0005268334643915296, -0.010366345755755901, -0.0007903893711045384, 0.019788678735494614, 0.003929682541638613, 0.00902602355927229, 0.008687603287398815, 0.022816648706793785, 0.05076303705573082, 0.11741401255130768, -0.08114960789680481, -0.04438648745417595, -0.015273439697921276, 0.0023043747060000896, -0.005570575129240751, 0.05639149993658066, 0.007160259876400232, -0.014071157202124596, 0.03442980721592903, 0.0036402440164238214, -0.005241060629487038, 0.0018490658840164542, -0.04053918272256851, 0.0037916426081210375, 0.04224909469485283, 0.0037849631626158953, -0.006995502393692732, 0.0008861266542226076, 0.036691877990961075, -0.06102251261472702, 0.0011588666820898652, -0.01440957747399807, 0.0566408596932888, -0.00018827409076038748, 0.005156455561518669, -0.01770472154021263, -0.003072499530389905, 0.01904059201478958, 0.06800465285778046, 0.014578787609934807, 0.023742850869894028, -0.08977042138576508, 0.026058359071612358, -0.03654938563704491, 0.0008143237209878862, -0.03922112286090851, 0.004052137024700642, 0.046630747616291046, -0.0021140133030712605, 0.011773461475968361, 0.043068427592515945, -0.024918416514992714, -0.030315328389406204, 0.03708373382687569, -0.0034955248702317476, -0.006714969873428345, 0.027732647955417633, 0.002196391811594367, 0.01586122252047062, -0.049587469547986984, 0.11883893609046936, -0.016502439975738525, -0.048732515424489975, 0.037048108875751495, -0.001453871140256524, -0.030618125572800636, 0.004987245425581932, 0.014489729888737202, 0.02194388024508953, 0.062019962817430496, -0.017161468043923378, -0.005726426839828491, -0.00037042543408460915, -0.03161557391285896, -0.03312956169247627, -0.10694079101085663, 0.0131627656519413, -0.03282676264643669, -0.028391676023602486, -0.06031004711985588, -0.02739422768354416, -0.06177059933543205, -0.03448323905467987, -0.03551631420850754, 0.01633322983980179, 0.05607089027762413, -0.039541732519865036, 0.03489290922880173, 0.011381606571376324, -0.0023667151108384132, -0.026396777480840683, 0.028213560581207275, -0.017277244478464127, -0.07566364109516144, 0.04809129610657692, 0.0185062438249588, 0.0004405585932545364, 0.039327993988990784, 0.03708373382687569, 0.0345722995698452, -0.05382663011550903, 0.03708373382687569, -0.0005449233576655388, 0.009315461851656437, 0.05005057156085968, 0.002965630032122135, 0.039007384330034256, 0.004299272783100605, -0.010197135619819164, 0.026343343779444695, -0.012405773624777794, -0.040610428899526596, -0.012690759263932705, 0.01043759286403656, -0.001320284209214151, 0.03323642909526825, -0.01877341791987419, 0.006260774563997984, 0.05044242739677429, 0.022406982257962227, 0.02766140177845955, -0.003332993946969509, -0.010891787707805634, 0.01110552717000246, 0.028569793328642845, -0.00331740896217525, 0.04598952829837799, 0.000115149152406957, -0.025773372501134872, -0.043210919946432114, 0.014151309616863728, 0.04980120807886124, -0.003947494085878134, 0.036727502942085266, 0.01627979427576065, -0.0401473268866539, 0.021783575415611267, -0.061628106981515884, -0.045882660895586014, 0.0218548234552145, 0.006104922853410244, -0.043068427592515945, -0.002478037727996707, 0.07886972278356552, 0.042890310287475586, -0.026343343779444695, -0.04955184832215309, 0.03051125630736351, 0.01921870745718479, 0.05343477427959442, 0.01868435926735401, -0.024722488597035408, -0.058065786957740784, 0.00533011881634593, 0.044671472162008286, -0.05770955607295036, -0.005423629656434059, -0.02128485217690468, -0.0059802415780723095, -0.06743468344211578, 0.04392338544130325, 0.000893919263035059, -0.021516403183341026, -0.003366390708833933, 0.05582152679562569, -0.0013803982874378562, -0.024205952882766724, -0.0008104274165816605, -0.0026672857347875834, 0.030635938048362732, -0.03979109600186348, -0.018666548654437065, -0.060915641486644745, -0.03996920958161354, -0.02199731580913067, -0.013991004787385464, -0.016582591459155083, 0.037048108875751495, 0.012111881747841835, 0.01645790971815586, 0.01592356339097023, 0.019307764247059822, -0.03348579257726669, -0.008914701640605927, 0.02685987949371338, 0.012138599529862404, -0.0005165361217223108, 0.028498545289039612, 0.006505683530122042, -0.018541866913437843, -0.03939924016594887, 0.02511434443295002, -0.034679166972637177, 0.014641128480434418, -0.05300729721784592, 0.02149859070777893, 0.03483947366476059, -0.04688010737299919, -0.07409621775150299, -0.04064605012536049, 0.03765370324254036, 0.012031730264425278, -0.0220863725990057, -0.009386708959937096, 0.0043304432183504105, 0.010758201591670513, -0.0274298507720232, 0.012138599529862404, 0.0076678902842104435, 0.07338375598192215, -0.04955184832215309, -0.02212199568748474, -0.04983683302998543, 0.06169935315847397 ]
41,972
rfc3339
test_timestamp_utc
null
def test_timestamp_utc(self): d = time.time() # utc -> local timezone d_utc = datetime.utcfromtimestamp(d) + self.local_utcoffset self.assertEqual(rfc3339(d), (d_utc.strftime('%Y-%m-%dT%H:%M:%S') + self.local_timezone))
(self)
[ -0.020303457975387573, 0.04644393548369408, 0.0031324434094130993, 0.07660187035799026, -0.02242928557097912, -0.061468854546546936, -0.040606915950775146, 0.08308744430541992, 0.017754266038537025, 0.005990150850266218, 0.0022418026346713305, -0.005391135811805725, -0.008161017671227455, 0.01017875224351883, 0.032698117196559906, 0.13389113545417786, -0.02671697363257408, -0.003817032091319561, -0.020195364952087402, -0.030031822621822357, 0.01967291533946991, -0.08532136678695679, 0.013187339529395103, 0.07141340523958206, 0.028356382623314857, -0.00751696340739727, -0.014160175807774067, -0.04972275346517563, 0.013007184490561485, 0.0049587637186050415, -0.023582277819514275, -0.0003800142731051892, 0.0003622802614700049, 0.04428207501769066, -0.0008551728096790612, -0.03678763285279274, -0.016240965574979782, -0.0004132303292863071, -0.036643508821725845, 0.03736412897706032, 0.01325039379298687, 0.010926395654678345, -0.06773824244737625, 0.024410990998148918, 0.027023237198591232, -0.0011017598444595933, 0.011845185421407223, 0.020303457975387573, -0.04557919129729271, 0.027167361229658127, 0.009070799686014652, 0.028320351615548134, 0.019258560612797737, 0.07797104120254517, -0.019636884331703186, -0.021330341696739197, 0.07580918818712234, 0.04096722602844238, -0.06427927315235138, 0.034067291766405106, -0.046335842460393906, 0.025149624794721603, -0.030013807117938995, -0.00925095472484827, -0.001266714185476303, -0.02176271378993988, -0.0470924936234951, -0.03540043905377388, 0.03815681114792824, 0.017222808673977852, -0.016457151621580124, 0.015060950070619583, -0.010448984801769257, 0.001924279611557722, 0.04136356711387634, 0.021384388208389282, -0.02759973146021366, 0.024699237197637558, 0.002248558448627591, 0.004999298602342606, -0.024356944486498833, 0.004724562633782625, -0.004463337827473879, 0.06157694756984711, -0.006953979376703501, 0.025095578283071518, 0.013115277513861656, 0.020015209913253784, -0.006917948368936777, 0.06128869950771332, 0.038733307272195816, 0.010169744491577148, 0.012151448987424374, -0.009728364646434784, -0.023059828206896782, 0.032788194715976715, -0.034859973937273026, -0.015853632241487503, -0.10441778600215912, -0.0030288544949144125, 0.023474184796214104, 0.009476148523390293, -0.07400763779878616, 0.027924010530114174, 0.024447022005915642, 0.021636605262756348, -0.003963408060371876, -0.02678903564810753, -0.0023893045727163553, -0.00043321624980308115, 0.0003513020637910813, -0.025095578283071518, -0.036337245255708694, 0.017826328054070473, 0.01868206448853016, -0.04363352060317993, 0.04143562912940979, -0.02700522169470787, -0.020825907588005066, -0.0015831112395972013, 0.043165117502212524, 0.03722000494599342, 0.03858918324112892, -0.014817741699516773, -0.002432091161608696, -0.033761028200387955, 0.006030685734003782, 0.041003257036209106, 0.014403385110199451, 0.03206757456064224, 0.04936244338750839, 0.022609440609812737, -0.012727944180369377, 0.048713888972997665, 0.0001860662450781092, 0.00964729581028223, 0.009003241546452045, 0.03819284215569496, -0.024447022005915642, 0.030320070683956146, 0.04655202850699425, 0.012890083715319633, 0.03522028401494026, 0.04359748959541321, -0.049110230058431625, 0.007107111159712076, -0.09526591747999191, -0.015394236892461777, -0.015754546970129013, 0.022879673168063164, 0.04103928804397583, -0.03449966385960579, -0.07328701764345169, 0.04165181517601013, -0.039706140756607056, -0.10427366197109222, 0.001560591859742999, -0.036427322775125504, 0.04431810602545738, 0.00657565426081419, -0.06377483904361725, -0.027455607429146767, 0.002729346975684166, -0.015556376427412033, -0.005859538447111845, 0.037796501070261, -0.018042514100670815, -0.04410191997885704, -0.0361931212246418, -0.00904828030616045, 0.015006903558969498, -0.0019152718596160412, 0.036733586341142654, 0.030320070683956146, 0.02531176432967186, -0.08236682415008545, 0.006066716741770506, -0.009872488677501678, -0.0012588324025273323, -0.04280480742454529, 0.035346392542123795, 0.005652360152453184, 0.010034628212451935, 0.01640310510993004, 0.008516822941601276, 0.036535415798425674, -0.01017875224351883, -0.009485156275331974, -0.032481931149959564, 0.0071206227876245975, 0.005575794260948896, 0.002276707673445344, -0.0464799664914608, 0.04071500897407532, 0.024789314717054367, 0.0478491447865963, 0.016736391931772232, 0.0033936682157218456, 0.007557498291134834, -0.001158621278591454, -0.06741396337747574, -0.0169165451079607, 0.010070659220218658, -0.049398474395275116, 0.04392176866531372, -0.020195364952087402, -0.01700662262737751, -0.005571290384978056, -0.02165462076663971, -0.06474767625331879, 0.035346392542123795, -0.03786856308579445, 0.004724562633782625, 0.01861000247299671, -0.019618868827819824, -0.009021257050335407, -0.10809294879436493, -0.02097003161907196, -0.007215204183012247, 0.02621253952383995, 0.04496666416525841, 0.021330341696739197, -0.0045984541065990925, -0.04359748959541321, 0.08128589391708374, -0.02502351626753807, 0.006138778757303953, -0.013664749450981617, -0.04615568742156029, -0.0638469010591507, 0.043777644634246826, -0.016835477203130722, -0.0007228715694509447, -0.011493883095681667, -0.03617510572075844, 0.006251375190913677, 0.032788194715976715, -0.018213661387562752, 0.012034348212182522, -0.036337245255708694, -0.04734471067786217, 0.021042093634605408, 0.024050680920481682, -0.024897407740354538, -0.001532442751340568, 0.0002955666568595916, -0.047020431607961655, 0.041399598121643066, 0.013952997513115406, -0.002765377750620246, -0.012718936428427696, 0.039201706647872925, 0.003157214727252722, 0.00410528015345335, 0.026879113167524338, -0.06763014942407608, 0.03974217176437378, 0.025275733321905136, 0.029527390375733376, 0.04057088494300842, -0.02896890975534916, -0.01590767875313759, -0.010602116584777832, 0.0551634319126606, -0.045939501374959946, -0.08323156833648682, 0.01788938231766224, 0.03167123347520828, -0.012475727126002312, -0.013718795962631702, 0.07285464555025101, -0.043273210525512695, -0.03017594665288925, -0.030338086187839508, -0.012944130226969719, -0.03064434975385666, -0.0226274561136961, -0.042264342308044434, -0.0006868406198918819, -0.023366091772913933, -0.012475727126002312, 0.038733307272195816, 0.045326974242925644, 0.04031866788864136, -0.005800988059490919, -0.024068696424365044, -0.0005866294377483428, 0.0056658717803657055, -0.015160035341978073, -0.013304440304636955, -0.04874991998076439, -0.04759692773222923, 0.05260523408651352, -0.04727264866232872, -0.0397782027721405, 0.03592288866639137, -0.045326974242925644, -0.031887419521808624, 0.037940625101327896, -0.041795939207077026, -0.03606701269745827, 0.03750825300812721, 0.041868001222610474, 0.03617510572075844, 0.019943147897720337, 0.026554834097623825, -0.04604759439826012, 0.013241386041045189, -0.041579753160476685, -0.028248289600014687, -0.019744977355003357, -0.02848249115049839, 0.00145137298386544, 0.025960322469472885, 0.039706140756607056, 0.07022438198328018, 0.007134134415537119, -0.009323016740381718, 0.03945392370223999, 0.0034296989906579256, -0.010989449918270111, -0.005422662943601608, 0.1021118015050888, 0.01418719906359911, 0.007215204183012247, -0.037724439054727554, 0.002589726820588112, 0.03412133827805519, -0.030536256730556488, 0.030284039676189423, -0.04561522230505943, -0.03550853207707405, 0.017475025728344917, 0.03037411719560623, 0.009683326818048954, 0.024014649912714958, -0.034751880913972855, -0.044354137033224106, 0.06867504864931107, -0.000765658391173929, 0.03336469084024429, 0.03707588091492653, 0.0002197045396314934, -0.004229136276990175, 0.03797665610909462, 0.09014951437711716, -0.042480528354644775, 0.02176271378993988, 0.04201212525367737, 0.02174469828605652, -0.01907840557396412, -0.04774105176329613, 0.023816479369997978, 0.004098524339497089, -0.06024380028247833, 0.03617510572075844, 0.04950656741857529, -0.018222669139504433, 0.040210574865341187, 0.019150467589497566, -0.035958919674158096, -0.02480733022093773, 0.08690673112869263, -0.07152149826288223, -0.012809013947844505, 0.00039296288741752505, 0.0597393661737442, 0.023366091772913933, -0.010457992553710938, -0.07080087810754776, -0.036229152232408524, -0.03244590014219284, 0.059775397181510925, -0.05649657920002937, -0.007264746818691492, -0.0431290864944458, 0.007404366973787546, 0.06251375377178192, -0.10773263871669769, 0.000228290053200908, 0.033094458281993866, 0.00022969751444179565, -0.036733586341142654, 0.012241526506841183, 0.014763695187866688, -0.009386071003973484, 0.016583260148763657, -0.013907958753407001, -0.08481693267822266, -0.015277136117219925, 0.00005805773616884835, -0.02473526820540428, 0.06712572276592255, -0.00410077627748251, -0.04046279191970825, 0.008084451779723167, -0.03300438076257706, -0.00001782196522981394, 0.05487518385052681, 0.02167263627052307, 0.04687630757689476, -0.017375940456986427, -0.030338086187839508, -0.011043495498597622, 0.055127400904893875, 0.05548771098256111, -0.02363632433116436, -0.013412533327937126, -0.00875102449208498, 0.019510775804519653, -0.025095578283071518, -0.07267449051141739, -0.02947334386408329, -0.039886295795440674, -0.03905758261680603, 0.016574252396821976, -0.0437416136264801, -0.023384107276797295, 0.054839152842760086, 0.029095018282532692, 0.0032022534869611263, -0.03350881487131119, -0.0358147956430912, 0.003886842168867588, 0.07267449051141739, -0.03747222200036049, 0.03866124525666237, 0.02333006076514721, -0.02650078758597374, 0.03237383812665939, -0.011665030382573605, -0.03320255130529404, -0.028698677197098732, -0.0019850819371640682, 0.05891065672039986, 0.04993893951177597, 0.01142182108014822, -0.0047876168973743916, -0.013205355033278465, 0.07494444400072098, 0.04615568742156029, 0.007548490539193153, 0.004607461858540773, -0.04017454385757446, 0.003979171626269817, 0.015754546970129013, -0.04658805951476097, 0.0011175234103575349, 0.015673477202653885, 0.06377483904361725, -0.00964729581028223, 0.035454485565423965, -0.06424324214458466, -0.04734471067786217, -0.008823086507618427, -0.04399383068084717, 0.00042617894359864295, 0.03700381889939308, -0.03194146603345871, -0.010719217360019684, -0.043561458587646484, 0.003913865424692631, 0.006404506973922253, -0.009323016740381718, 0.042480528354644775, -0.0425165593624115, -0.0632343739271164, 0.005580298136919737, -0.0809255838394165, 0.037724439054727554, 0.022068975493311882, -0.0007071080035530031, -0.020807892084121704, 0.009494164027273655, 0.003227024804800749, -0.008395219221711159, -0.043381303548812866, 0.03736412897706032, -0.02678903564810753, 0.04565125331282616, -0.035346392542123795, 0.00781421922147274, -0.021222248673439026, -0.015475306659936905, 0.045146819204092026, -0.010908380150794983, 0.004706547129899263, -0.008611404336988926, 0.004440818447619677, 0.007287266198545694, -0.003778749145567417, -0.010133713483810425, 0.004298946354538202, -0.04150769114494324, 0.012673897668719292, -0.05746941640973091, 0.040210574865341187, 0.015457291156053543, 0.013574672862887383, -0.020843923091888428, -0.02203294448554516, 0.1222170889377594, 0.04986687749624252, -0.004348488990217447, 0.041579753160476685, -0.001963688526302576, 0.011331743560731411, -0.04485857114195824, 0.02134835720062256, -0.03213963657617569, 0.007652079686522484, 0.016295012086629868, -0.035364408046007156, -0.00447234557941556, 0.006908940616995096, 0.025581996887922287, 0.021996915340423584, -0.058694470673799515, -0.020393535494804382, -0.02343815378844738, -0.025455888360738754, 0.024987485259771347, 0.02302379719913006, 0.004494864959269762, -0.008958202786743641, 0.05220889300107956, -0.0955541655421257, 0.07588125020265579, 0.00011604509927565232, 0.003463478060439229, 0.06334246695041656, -0.0026482772082090378, -0.002992823487147689, -0.060279831290245056, 0.03804871812462807, 0.07948434352874756, -0.059883490204811096, -0.042192280292510986, -0.02561802789568901, -0.02817622758448124, -0.013529634103178978, -0.03453569486737251, 0.04399383068084717, 0.04478650912642479, -0.047524865716695786, 0.03125687688589096, 0.016168903559446335, 0.00005897258233744651, -0.018465878441929817, 0.033292628824710846, 0.03601296618580818, 0.0008332164725288749, 0.07393557578325272, 0.051163993775844574, 0.0036886718589812517, 0.013943989761173725, -0.01305222325026989, 0.03192345052957535, -0.0154302679002285, 0.012574812397360802, 0.004445322323590517, 0.044534292072057724, 0.06229756772518158, 0.10787676274776459, -0.06373880803585052, -0.030193962156772614, -0.043957799673080444, 0.018033506348729134, 0.0018522177124395967, 0.024158773943781853, -0.022501347586512566, -0.0032743155024945736, -0.023456169292330742, -0.00544067844748497, -0.021222248673439026, -0.010169744491577148, -0.0015718515496701002, -0.001982829999178648, 0.0710170641541481, 0.024392975494265556, -0.03649938479065895, 0.004918228834867477, 0.050191156566143036, -0.050191156566143036, -0.011187619529664516, -0.03125687688589096, 0.0662970095872879, -0.00830063782632351, -0.009818442165851593, -0.02343815378844738, -0.0003741029358934611, 0.025888260453939438, 0.06373880803585052, 0.0026482772082090378, 0.010295853018760681, -0.11926254630088806, 0.00934103224426508, -0.016475167125463486, 0.00390936154872179, -0.029887698590755463, -0.010530054569244385, 0.018321754410862923, -0.019943147897720337, -0.012691913172602654, 0.007350320462137461, -0.04381367564201355, -0.07516063004732132, 0.0368056483566761, -0.035832811146974564, 0.0017587622860446572, 0.018033506348729134, 0.016583260148763657, 0.02068178355693817, -0.02947334386408329, 0.10477809607982635, -0.059883490204811096, -0.06377483904361725, 0.057217199355363846, -0.0034499664325267076, 0.0031819860450923443, -0.025167640298604965, -0.005278538912534714, -0.0012599583715200424, 0.05862240865826607, -0.05202873796224594, 0.008931179530918598, 0.006044197361916304, -0.03894948959350586, -0.023492200300097466, -0.04064294695854187, 0.0036368772853165865, -0.021420419216156006, -0.02205095998942852, -0.0397782027721405, -0.023203952237963676, -0.05610023811459541, -0.05249714106321335, -0.014700640924274921, 0.011457852087914944, 0.012637866660952568, -0.01709670014679432, 0.028140196576714516, 0.030500225722789764, 0.011547929607331753, -0.017673196271061897, 0.07072881609201431, -0.01603378728032112, -0.06200931966304779, 0.04774105176329613, 0.014520485885441303, 0.004783113021403551, 0.04738074168562889, 0.06683747470378876, 0.02709529921412468, -0.05310966819524765, 0.038120780140161514, -0.038913458585739136, 0.007026041392236948, 0.04936244338750839, 0.008138498291373253, 0.008323157206177711, -0.026086430996656418, -0.01947474479675293, 0.013655741699039936, 0.022411270067095757, -0.019997194409370422, -0.011592968367040157, -0.005210980772972107, -0.036139074712991714, 0.015169043093919754, -0.0033643930219113827, -0.005773964803665876, 0.04738074168562889, -0.0038733305409550667, 0.037796501070261, 0.006499088369309902, -0.007093599531799555, 0.014655602164566517, 0.01379085797816515, -0.018321754410862923, 0.03912964463233948, 0.00013047156971879303, -0.022789595648646355, -0.012007324956357479, 0.037544284015893936, 0.055920083075761795, -0.00791330449283123, 0.020897969603538513, 0.01181816216558218, -0.00865644309669733, 0.05004703253507614, -0.06838680058717728, -0.05271332710981369, 0.05224492400884628, 0.027239421382546425, -0.05952318385243416, -0.018168622627854347, 0.06863901764154434, 0.029941745102405548, 0.009183396585285664, -0.03275216370820999, 0.02958143688738346, 0.006138778757303953, 0.019150467589497566, 0.014034067280590534, -0.00410528015345335, -0.027851948514580727, 0.04467841610312462, 0.06208138167858124, -0.04244449734687805, 0.01721380092203617, -0.00998958945274353, -0.023167921230196953, -0.07537681609392166, 0.028806770220398903, 0.02116820216178894, -0.00801689364016056, 0.013088254258036613, 0.04280480742454529, 0.01112456526607275, -0.016457151621580124, 0.009093319065868855, -0.011881216429173946, 0.004258411470800638, -0.02799607254564762, -0.024068696424365044, -0.06002761423587799, -0.04521888121962547, -0.06795442849397659, -0.011286704801023006, -0.025852229446172714, 0.05372219532728195, 0.017646173015236855, 0.028806770220398903, -0.012394657358527184, -0.0048461672849953175, -0.046515997499227524, -0.033779043704271317, -0.028248289600014687, 0.00004257567343302071, -0.019330622628331184, 0.001079803449101746, 0.04212021827697754, 0.0010567210847511888, -0.03736412897706032, -0.018168622627854347, -0.029815636575222015, -0.002346517750993371, -0.029311204329133034, 0.03428347781300545, 0.044930633157491684, -0.011295712552964687, -0.06990010291337967, -0.04626378044486046, 0.04813739284873009, 0.001177762751467526, -0.01017875224351883, -0.006363972090184689, 0.003501761006191373, 0.03127489238977432, -0.04082310199737549, 0.01563744619488716, 0.0015729775186628103, 0.05300157517194748, -0.0180965606123209, -0.003492753254249692, -0.06651319563388824, 0.05891065672039986 ]
41,973
rfc3339
_format
null
def _format(timestamp, string_format, utc, use_system_timezone): # Try to convert timestamp to datetime try: if use_system_timezone: timestamp = datetime.fromtimestamp(timestamp) else: timestamp = datetime.utcfromtimestamp(timestamp) except TypeError: pass if not isinstance(timestamp, date): raise TypeError('Expected timestamp or date object. Got %r.' % type(timestamp)) if not isinstance(timestamp, datetime): timestamp = datetime(*timestamp.timetuple()[:3]) utc_offset = _utc_offset(timestamp, use_system_timezone) if utc: # local time -> utc return string_format(timestamp - timedelta(seconds=utc_offset), 'Z') else: return string_format(timestamp , _timezone(utc_offset))
(timestamp, string_format, utc, use_system_timezone)
[ 0.0025931119453161955, 0.004238916095346212, -0.01055506058037281, 0.028067696839571, -0.033071305602788925, -0.051204826682806015, -0.05211789533495903, 0.043608106672763824, 0.009021107107400894, -0.015978682786226273, -0.012454241514205933, -0.015494756400585175, -0.06796874850988388, -0.02512761950492859, -0.0053597064688801765, 0.0780855342745781, -0.05098569393157959, -0.0353357158601284, 0.02918163873255253, -0.030076446011662483, 0.060664206743240356, -0.052410077303647995, -0.025383278727531433, 0.02865205891430378, 0.0286885816603899, -0.021256212145090103, -0.00219478621147573, -0.009459380060434341, -0.0007492860313504934, -0.006332123652100563, 0.056537143886089325, -0.024305857717990875, -0.012426849454641342, 0.02810421958565712, -0.013294263742864132, 0.013047735206782818, -0.05927634611725807, -0.015668239444494247, -0.03345479443669319, 0.01498343888670206, 0.00847326684743166, -0.001263457234017551, -0.021347519010305405, -0.038823630660772324, 0.046566445380449295, 0.031318217515945435, 0.005528624169528484, 0.053067486733198166, -0.07866989821195602, 0.04021149501204491, 0.024963267147541046, 0.03042341023683548, -0.0204527135938406, 0.005880155134946108, -0.042402856051921844, 0.026606788858771324, 0.06891833990812302, 0.05398055538535118, 0.0054784053936600685, -0.014161678031086922, -0.0071219271048903465, 0.047771696001291275, -0.04105151817202568, 0.06928356736898422, -0.029674695804715157, -0.024214550852775574, 0.009614601731300354, 0.005651887971907854, 0.04269503802061081, -0.018973544239997864, 0.01517518237233162, 0.004295982886105776, 0.00233288761228323, -0.032012149691581726, -0.009295027703046799, 0.04740646854043007, -0.02348409779369831, 0.018544401973485947, 0.03926190361380577, 0.009705907665193081, 0.02759290114045143, -0.031190387904644012, -0.04857519268989563, 0.04287765175104141, 0.04433856159448624, -0.011577696539461613, -0.023849325254559517, 0.018900498747825623, 0.02569372020661831, 0.05923982337117195, -0.006254512816667557, -0.04627426341176033, 0.09189111739397049, 0.06088334321975708, -0.0303686261177063, 0.01576867699623108, -0.047187332063913345, -0.06720177084207535, -0.024251073598861694, 0.010363317094743252, 0.027191150933504105, -0.044265516102313995, -0.03608442842960358, -0.0006579792825505137, 0.0340939424932003, -0.021548394113779068, 0.017740903422236443, 0.003195736324414611, 0.03277912363409996, 0.024853698909282684, 0.009915913455188274, -0.02978426404297352, -0.058874595910310745, -0.04682210460305214, 0.029419036582112312, -0.005756890866905451, 0.03274260088801384, 0.0010437503224238753, 0.0010351903038099408, -0.05777891352772713, 0.008555443026125431, -0.0050401329062879086, 0.028505969792604446, -0.023867586627602577, -0.03053297847509384, -0.0315190926194191, -0.03035036474466324, -0.007468892727047205, 0.07059838622808456, -0.026186777278780937, -0.003433133941143751, 0.05281182751059532, 0.001385580049827695, 0.011742048896849155, 0.040759336203336716, 0.001992770005017519, 0.004672623239457607, 0.01586911454796791, 0.0010157875949516892, 0.10620801895856857, 0.021475348621606827, -0.043644629418849945, -0.0014723214553669095, -0.02163970097899437, 0.01930224895477295, 0.001941409893333912, 0.02224232628941536, -0.007989341393113136, 0.02863379754126072, 0.012691639363765717, 0.04499596729874611, 0.027866821736097336, -0.022406678646802902, 0.023173654451966286, -0.038933198899030685, -0.04484987631440163, 0.015595193952322006, -0.043023742735385895, 0.058911118656396866, 0.0060582030564546585, 0.012499894946813583, -0.004542510956525803, -0.014837347902357578, -0.0010591583559289575, 0.006866267882287502, 0.026131993159651756, 0.03226780891418457, 0.021950144320726395, -0.009167198091745377, -0.016745658591389656, 0.01227162778377533, -0.028579015284776688, 0.011002464219927788, 0.0646451860666275, 0.020324883982539177, 0.015713892877101898, -0.003104429692029953, -0.014444728381931782, -0.02635112963616848, -0.018918760120868683, 0.06285557150840759, -0.013915149495005608, -0.01051853783428669, 0.022534506395459175, 0.002144567435607314, -0.028487708419561386, -0.012417718768119812, 0.001831841771490872, -0.03455047681927681, 0.023812802508473396, -0.0006243099342100322, -0.007934557273983955, -0.01402471773326397, 0.04875780642032623, 0.017129147425293922, 0.05054742097854614, -0.007788466289639473, -0.062307730317115784, -0.009998089633882046, -0.003647704841569066, -0.05463796108961105, 0.037800997495651245, -0.012919905595481396, -0.031226910650730133, 0.049415215849876404, 0.005519493483006954, 0.005145135801285505, -0.01805134490132332, -0.10964114964008331, -0.09539730101823807, -0.02468934655189514, -0.047771696001291275, -0.01573215425014496, 0.03588355332612991, 0.025419801473617554, 0.06281904876232147, -0.004706863313913345, 0.02516414225101471, -0.0031706271693110466, -0.009815475903451443, -0.006943878717720509, -0.01924746483564377, -0.04152631387114525, 0.00409282511100173, 0.03504353389143944, 0.042512424290180206, 0.045982081443071365, -0.010125919245183468, -0.003891950473189354, -0.02174926921725273, 0.05449187010526657, -0.02237015590071678, 0.020726634189486504, 0.04218371957540512, 0.04474031180143356, -0.016636090353131294, -0.027720730751752853, -0.05679280310869217, 0.004453486762940884, -0.027410287410020828, -0.0028830107767134905, 0.0075830258429050446, 0.04327940195798874, -0.04021149501204491, 0.053104009479284286, -0.021840576082468033, -0.03688792884349823, 0.05803457275032997, -0.007386716548353434, 0.01048201508820057, -0.06106595695018768, 0.08539007604122162, -0.038421884179115295, -0.006227120757102966, -0.038860153406858444, -0.07888903468847275, 0.06490084528923035, 0.04554380849003792, -0.007222364190965891, 0.061212047934532166, -0.033053044229745865, -0.05927634611725807, -0.061139002442359924, -0.006747569423168898, -0.0032916085328906775, -0.065886951982975, 0.0027483333833515644, 0.005350575782358646, -0.03270607814192772, 0.02162143960595131, 0.009632863104343414, -0.004999044816941023, 0.03106255829334259, -0.01988661102950573, -0.013495138846337795, -0.062417298555374146, -0.015960421413183212, -0.00910784862935543, 0.03168344497680664, -0.038823630660772324, 0.019210942089557648, 0.010920288041234016, 0.011751179583370686, 0.027318980544805527, 0.04572642222046852, -0.0028784454334527254, 0.025036312639713287, -0.014837347902357578, -0.008605661801993847, 0.029747741296887398, -0.019064851105213165, -0.007076273672282696, 0.016581306234002113, -0.005816240329295397, -0.07910817116498947, -0.002734637353569269, 0.0066790892742574215, -0.057632822543382645, 0.04035758599638939, -0.046018604189157486, -0.04229328781366348, 0.10832633078098297, 0.09211025387048721, 0.055331893265247345, 0.037837520241737366, -0.009915913455188274, -0.014152547344565392, -0.04101499542593956, -0.03330870345234871, -0.0386044979095459, 0.016663482412695885, -0.027245935052633286, -0.00006901507003931329, 0.0363948717713356, 0.06154075264930725, 0.07008706778287888, -0.03769142925739288, -0.03456873819231987, 0.011796833015978336, 0.008989149704575539, 0.007573895156383514, 0.008696968667209148, 0.06088334321975708, 0.03562789410352707, 0.05558755248785019, -0.05332314595580101, -0.07947339862585068, 0.04846562445163727, -0.005387098528444767, 0.04086890444159508, -0.01688261888921261, -0.018626578152179718, 0.022936256602406502, 0.004485444165766239, -0.019740520045161247, 0.04163588210940361, -0.03791056573390961, -0.06968531757593155, -0.009833737276494503, 0.0075830258429050446, 0.004051737487316132, 0.04634730890393257, 0.022424938157200813, 0.017832208424806595, -0.03509831801056862, 0.05040132999420166, -0.005391663871705532, -0.010381578467786312, -0.012755553238093853, -0.0062362514436244965, -0.029546866193413734, -0.007971080020070076, 0.047223854809999466, 0.054747529327869415, -0.03228607028722763, -0.021384041756391525, 0.04934217035770416, 0.01233554258942604, -0.009532425552606583, 0.012901644222438335, -0.01688261888921261, -0.021511871367692947, 0.06106595695018768, -0.06267295777797699, -0.004967087414115667, 0.035427022725343704, 0.011559435166418552, -0.022571029141545296, -0.008596531115472317, -0.05671975761651993, -0.014426467008888721, -0.04554380849003792, 0.0738489031791687, -0.03743577003479004, -0.007601287215948105, -0.0009564382489770651, -0.008496093563735485, 0.007573895156383514, -0.051898758858442307, -0.05978766456246376, 0.02043445222079754, -0.01052766852080822, -0.0018227110849693418, 0.004766212776303291, 0.06281904876232147, 0.017393937334418297, -0.021183166652917862, -0.03517136350274086, -0.006779526360332966, -0.00794825330376625, -0.07132883369922638, -0.016626959666609764, 0.05463796108961105, -0.02936425246298313, -0.055295370519161224, -0.0142986373975873, -0.0286885816603899, 0.005766021553426981, 0.037764474749565125, 0.017722642049193382, 0.00034354167291894555, -0.06950270384550095, -0.010975072160363197, -0.05091264843940735, -0.003882819786667824, 0.05284835025668144, -0.0007007793174125254, 0.003154648467898369, -0.031409524381160736, 0.023264961317181587, -0.03940799459815025, -0.06292861700057983, -0.07983862608671188, 0.012362934648990631, 0.055404938757419586, 0.04342549294233322, -0.05200832709670067, 0.028067696839571, -0.010600714012980461, 0.053688373416662216, -0.006848006509244442, 0.0016115641919896007, -0.01880919188261032, 0.022077973932027817, 0.006761265452951193, -0.0034262859262526035, -0.024707607924938202, 0.008267826400697231, 0.03208519518375397, 0.03560963273048401, -0.042366333305835724, -0.006669958587735891, -0.028487708419561386, 0.00015450814680662006, 0.05131439492106438, 0.013915149495005608, 0.061102479696273804, 0.0396636538207531, -0.001967660617083311, 0.045397717505693436, 0.12403109669685364, -0.004579033702611923, -0.04744299128651619, 0.016006074845790863, -0.04499596729874611, 0.02450673282146454, -0.029437297955155373, -0.03213997930288315, 0.020324883982539177, 0.03162866085767746, 0.018471356481313705, 0.03761838376522064, -0.06212511658668518, 0.02174926921725273, 0.01498343888670206, -0.07852380722761154, 0.023319745436310768, -0.016754789277911186, -0.05624496191740036, 0.04167240485548973, -0.06727481633424759, 0.00939546525478363, -0.0006117552402429283, 0.051716145128011703, 0.014462989754974842, -0.07494458556175232, -0.0025291971396654844, -0.05091264843940735, -0.08210303634405136, 0.023684972897171974, 0.01636216975748539, -0.03980974480509758, -0.06453561782836914, 0.05346923694014549, 0.00022127621923573315, -0.001823852420784533, -0.007519111502915621, -0.006396037992089987, -0.051789190620183945, 0.056500621140003204, -0.03907928988337517, 0.01764046587049961, -0.030112968757748604, 0.033582624047994614, 0.05040132999420166, 0.03708880394697189, 0.06701915711164474, 0.015120398253202438, 0.03765490651130676, 0.01026287954300642, -0.021913621574640274, 0.013230348937213421, 0.038969721645116806, -0.022041451185941696, 0.011020725592970848, -0.026679834350943565, -0.04021149501204491, -0.00937720388174057, -0.042366333305835724, -0.0287798885256052, -0.03403915837407112, 0.05730411782860756, -0.0025383278261870146, -0.004658927209675312, 0.03708880394697189, -0.024871960282325745, 0.024780653417110443, 0.03588355332612991, 0.027994651347398758, -0.0061175525188446045, -0.0032208457123488188, 0.024433687329292297, -0.0050355675630271435, -0.0004071710573043674, -0.044228993356227875, 0.011842486448585987, 0.020270099863409996, -0.04408290237188339, -0.0027871388010680676, 0.006007984280586243, 0.01586911454796791, 0.05321357771754265, -0.0037960782647132874, -0.03504353389143944, 0.008299783803522587, 0.004985348787158728, 0.053104009479284286, 0.042366333305835724, -0.009705907665193081, -0.055295370519161224, 0.005848197732120752, 0.06387820839881897, 0.008409352041780949, 0.003917059861123562, 0.013422093354165554, -0.002670722547918558, -0.04967087507247925, -0.03162866085767746, -0.02863379754126072, -0.04853866994380951, -0.01108464039862156, 0.0031409524381160736, 0.014545165933668613, -0.027903344482183456, -0.03672357648611069, -0.02936425246298313, 0.05518580228090286, -0.03221302479505539, 0.03171996772289276, -0.00763324461877346, 0.024871960282325745, -0.023648450151085854, 0.058911118656396866, 0.10226356238126755, -0.03413046523928642, 0.045397717505693436, -0.04620121791958809, 0.0329434759914875, 0.03643139451742172, 0.023155393078923225, 0.006217990070581436, 0.06457214057445526, 0.060079846531152725, 0.028579015284776688, -0.047077763825654984, -0.01821569725871086, -0.014590819366276264, 0.020014440640807152, -0.025638936087489128, 0.055331893265247345, 0.013093388639390469, -0.013887757435441017, 0.001828417764045298, 0.013358178548514843, -0.029108593240380287, -0.002695831935852766, 0.028323356062173843, -0.023630188778042793, 0.07640549540519714, 0.06307470798492432, -0.01824308931827545, -0.031354740262031555, 0.010737674310803413, -0.023264961317181587, 0.011860747821629047, 0.027793776243925095, 0.031190387904644012, -0.009057629853487015, 0.012025099247694016, -0.01997791789472103, 0.011212469078600407, -0.010135049931704998, 0.09459380060434341, 0.010345055721700191, 0.029546866193413734, -0.07202276587486267, 0.02989383228123188, -0.018973544239997864, 0.003837166354060173, -0.020690111443400383, -0.0396636538207531, 0.0630381852388382, -0.019083112478256226, 0.031263433396816254, 0.01754002831876278, -0.008756318129599094, -0.03743577003479004, -0.020288361236453056, -0.04375419765710831, -0.004875780548900366, -0.030076446011662483, 0.05390750989317894, -0.005624495912343264, -0.002545175841078162, 0.06296513974666595, -0.006409734021872282, -0.060079846531152725, 0.033655669540166855, -0.01689174957573414, -0.07319149374961853, -0.012828598730266094, 0.027702469378709793, -0.0538344644010067, 0.0632207989692688, 0.010765066370368004, -0.0017804817762225866, 0.01817004382610321, -0.04729690030217171, -0.036540962755680084, -0.04170892760157585, -0.008427613414824009, 0.02521892637014389, 0.013860365375876427, -0.01057332195341587, -0.03933494910597801, -0.04897694289684296, -0.06307470798492432, 0.029565127566456795, -0.04200110584497452, 0.01577780768275261, 0.018507879227399826, -0.014481251128017902, 0.018014822155237198, -0.01405210979282856, 0.02224232628941536, -0.001798743032850325, 0.02405019849538803, -0.04397333413362503, 0.01814265176653862, 0.0028784454334527254, -0.01520257443189621, 0.017740903422236443, 0.03750881552696228, 0.034952227026224136, -0.07110969722270966, 0.0409054271876812, -0.04978044331073761, 0.01767698861658573, 0.050730034708976746, 0.016197819262742996, 0.03570093959569931, -0.01701044850051403, -0.02930946834385395, 0.05226398631930351, -0.06343993544578552, -0.06647131592035294, -0.01692827232182026, -0.03237737715244293, -0.006715612020343542, 0.01409776322543621, -0.010646367445588112, -0.00263648247346282, 0.08013080805540085, 0.00009273342584492639, 0.019137896597385406, -0.030021661892533302, 0.023666711524128914, 0.040722813457250595, -0.017804816365242004, -0.01517518237233162, 0.030204273760318756, 0.0011858465149998665, -0.04736994579434395, -0.002315767575055361, 0.038458406925201416, 0.0008103474392555654, -0.012700770050287247, 0.01023548748344183, -0.0002734922745730728, -0.01321208756417036, 0.05146048590540886, -0.06672697514295578, -0.06716524809598923, -0.0011561717838048935, -0.016599567607045174, -0.04850214719772339, -0.028250310570001602, 0.06804179400205612, 0.03853145241737366, -0.021840576082468033, -0.00616777129471302, 0.007336497772485018, 0.006053637713193893, 0.05580668896436691, -0.010673759505152702, -0.037764474749565125, -0.04145326837897301, -0.00933155044913292, 0.057669345289468765, -0.06690958887338638, 0.025931118056178093, -0.0011778571642935276, 0.03455047681927681, -0.0031500831246376038, 0.0015967268263921142, 0.023100608959794044, 0.03619399666786194, 0.03929842635989189, 0.07162101566791534, -0.016225211322307587, -0.017832208424806595, 0.01867223158478737, -0.020653588697314262, -0.027903344482183456, -0.029145115986466408, -0.007802162319421768, -0.023264961317181587, -0.01705610193312168, -0.005528624169528484, -0.01587824523448944, 0.0034810700453817844, 0.037271417677402496, -0.009235678240656853, 0.016654351726174355, 0.05021871626377106, 0.014873870648443699, -0.03458699956536293, 0.01136769074946642, -0.010591583326458931, 0.02229711040854454, -0.012855990789830685, 0.02642417512834072, -0.02863379754126072, -0.020872723311185837, 0.024342380464076996, 0.003556398209184408, -0.02450673282146454, -0.014846478588879108, -0.05146048590540886, 0.01880919188261032, 0.04795430600643158, -0.05869198217988014, -0.09539730101823807, -0.008916104212403297, 0.10569670051336288, -0.018370918929576874, -0.05993375554680824, 0.012819468043744564, -0.027665946632623672, 0.003832601010799408, -0.09773474931716919, -0.014855609275400639, 0.022461460903286934, 0.028359878808259964, -0.006094725802540779, -0.010902026668190956, -0.07750117033720016, 0.02819552645087242 ]
41,974
rfc3339
_string
null
def _string(d, timezone): return ('%04d-%02d-%02dT%02d:%02d:%02d%s' % (d.year, d.month, d.day, d.hour, d.minute, d.second, timezone))
(d, timezone)
[ 0.006818673573434353, 0.011319358833134174, -0.026571180671453476, 0.025073958560824394, -0.0017046683933585882, -0.06302763521671295, -0.002690038876608014, 0.048307958990335464, 0.013411862775683403, -0.044195108115673065, 0.009948409162461758, 0.0469730868935585, -0.04462803900241852, 0.002067699795588851, 0.032668303698301315, 0.02002308890223503, -0.046756621450185776, 0.010976621881127357, -0.0013968810671940446, -0.004865971393883228, 0.04549390450119972, -0.04621545597910881, -0.006642795167863369, -0.019662313163280487, 0.003903149627149105, 0.04102027416229248, -0.019806623458862305, -0.024009669199585915, 0.009777040220797062, -0.02009524405002594, 0.01404322125017643, -0.028844071552157402, -0.06291940063238144, 0.029673857614398003, -0.010688000358641148, 0.04686485230922699, -0.02157442830502987, -0.031910672783851624, -0.10260480642318726, 0.04899343475699425, 0.008658633567392826, -0.04993145167827606, -0.01910310983657837, -0.0683310478925705, 0.03164009004831314, 0.010733097791671753, 0.004065499175339937, 0.031026769429445267, -0.03596940636634827, -0.014052240177989006, 0.04340140148997307, 0.00807237159460783, -0.03281261399388313, -0.055487409234046936, -0.050436537712812424, 0.03245183452963829, 0.04459196329116821, 0.05469370260834694, 0.01034526340663433, -0.0028974853921681643, -0.012924814596772194, 0.005109495483338833, -0.02529042586684227, 0.09481203556060791, -0.03737643361091614, 0.024027707055211067, -0.01260011550039053, -0.0601053461432457, 0.057796377688646317, -0.008947254158556461, 0.09351324290037155, -0.011635039001703262, 0.011517786420881748, -0.019950933754444122, 0.019788585603237152, 0.03921639546751976, -0.05732736736536026, -0.03476080670952797, 0.005817519500851631, -0.002342791762202978, -0.010715059004724026, -0.0914207398891449, -0.023847319185733795, -0.002412692178040743, -0.002478082897141576, -0.02958366461098194, -0.014981240034103394, -0.04668446630239487, -0.05220434442162514, 0.00950645748525858, 0.00993037037551403, -0.06356880068778992, 0.009632729925215244, 0.07561872899532318, -0.06908868253231049, 0.009560574777424335, -0.01672198623418808, 0.002178187482059002, -0.045998990535736084, 0.01700158789753914, 0.02124973013997078, -0.08276210725307465, -0.105418860912323, -0.006940435618162155, -0.032235369086265564, -0.007161411456763744, 0.011400533840060234, 0.03106284700334072, 0.019175264984369278, -0.017218053340911865, -0.04141712933778763, 0.012780503369867802, -0.03072010912001133, -0.07872141152620316, 0.040659498423337936, -0.007116314489394426, 0.0027170972898602486, 0.016731005162000656, 0.03730427846312523, -0.027202539145946503, 0.015576520934700966, -0.006191825028508902, -0.007093765772879124, 0.0004585806163959205, -0.031116964295506477, -0.031333427876234055, -0.032000865787267685, 0.03416552394628525, 0.04827187955379486, -0.041308898478746414, 0.012049931101500988, 0.03889169543981552, 0.02505592070519924, -0.0035987445153295994, 0.04069557785987854, -0.014151453971862793, 0.015883181244134903, 0.028844071552157402, -0.02083483710885048, 0.11811818927526474, 0.02141207829117775, -0.02642687037587166, -0.0021319629158824682, 0.0075943428091704845, 0.045349590480327606, -0.00623692199587822, 0.03602352365851402, 0.00636319350451231, -0.0154502484947443, -0.001234531751833856, 0.044122952967882156, 0.035789016634225845, -0.020077206194400787, -0.02025759406387806, 0.013718522153794765, -0.06959376484155655, 0.022259904071688652, -0.04819972440600395, 0.008739807642996311, -0.05231257528066635, 0.016902374103665352, 0.012699329294264317, -0.05418861284852028, -0.039505016058683395, 0.009326069615781307, 0.019950933754444122, 0.030431488528847694, 0.04726170748472214, 0.03748466819524765, -0.02231401950120926, 0.026390792801976204, -0.050436537712812424, -0.023793203756213188, 0.042788080871105194, 0.03221733123064041, 0.015495345927774906, -0.019987011328339577, 0.0015806516166776419, -0.040154412388801575, -0.02684176340699196, 0.06353272497653961, -0.008094919845461845, -0.008595497347414494, 0.04141712933778763, -0.00021519747679121792, -0.024081824347376823, -0.003607763908803463, 0.001879419549368322, 0.009127642959356308, -0.006859261076897383, 0.022295981645584106, 0.012356591410934925, -0.0002587443159427494, -0.0020609351340681314, -0.027797820046544075, -0.01429576426744461, 0.027328811585903168, -0.08341149985790253, 0.015829063951969147, 0.02159246616065502, -0.024244174361228943, 0.07648459821939468, 0.01942780800163746, -0.06649108976125717, 0.04217476025223732, 0.010561728850007057, -0.015044375322759151, -0.059095174074172974, -0.06829497218132019, -0.04141712933778763, 0.044844504445791245, -0.0428241565823555, -0.0026156287640333176, -0.025561006739735603, 0.008464716374874115, 0.039901867508888245, -0.05368352681398392, 0.008681181818246841, -0.04488058388233185, -0.009105093777179718, -0.022927340120077133, 0.00036303125671111047, 0.006218883208930492, -0.02965581975877285, 0.016902374103665352, 0.0020823562517762184, 0.019337614998221397, -0.026625297963619232, -0.05772422254085541, -0.0658416897058487, 0.02758135460317135, -0.04690093174576759, 0.03889169543981552, -0.008117469027638435, 0.003109441604465246, -0.011175048537552357, 0.021845011040568352, -0.07403131574392319, 0.0020338769536465406, -0.024081824347376823, -0.025272386148571968, 0.015666713938117027, 0.015062414109706879, -0.011869543232023716, 0.07836063206195831, -0.02660725824534893, -0.044267263263463974, 0.04466411843895912, 0.0032785553485155106, 0.011553863994777203, 0.009948409162461758, 0.024929648265242577, -0.02752723917365074, -0.010453496128320694, -0.00037909706588834524, -0.041886139661073685, 0.024424562230706215, 0.01746157743036747, 0.03387690335512161, 0.026661375537514687, -0.07388700544834137, -0.005632621236145496, -0.06804242730140686, -0.03349808603525162, -0.010200952179729939, -0.03903600573539734, -0.037015657871961594, -0.02413593977689743, -0.0010220118565484881, -0.060826901346445084, 0.06526444852352142, 0.023270078003406525, -0.05072516202926636, 0.017930585891008377, -0.05501839891076088, -0.014882026240229607, -0.0023405367974191904, -0.05285374075174332, 0.013610289432108402, -0.032740458846092224, 0.004663034807890654, 0.025164153426885605, 0.007616891525685787, 0.003371004480868578, -0.009623710066080093, -0.00016728186164982617, 0.036456454545259476, 0.03568078577518463, -0.015107511542737484, 0.048235803842544556, 0.0029764052014797926, -0.0022582346573472023, 0.017777256667613983, -0.018399596214294434, -0.029457392171025276, -0.02002308890223503, 0.05065300688147545, -0.011680135503411293, 0.030106790363788605, -0.014133415184915066, -0.047730717808008194, 0.0857204720377922, 0.03939678147435188, 0.025254346430301666, -0.05307020619511604, 0.015224764123558998, 0.005727325100451708, -0.015107511542737484, -0.03734035789966583, -0.01313226018100977, 0.0003774059296119958, -0.014981240034103394, -0.0022965671960264444, 0.03292084485292435, 0.042391225695610046, 0.042210835963487625, -0.070026695728302, -0.03245183452963829, 0.0035153150092810392, 0.02099718526005745, 0.049137745052576065, -0.019301537424325943, 0.03903600573539734, 0.021971281617879868, 0.0568222813308239, -0.05032830685377121, -0.06962984055280685, 0.031928710639476776, 0.014701638370752335, 0.028393102809786797, 0.011427592486143112, -0.06865574419498444, -0.02034778892993927, 0.0037069774698466063, 0.04744209721684456, 0.014873006381094456, 0.0059843785129487514, -0.05397214740514755, -0.05837361887097359, 0.06681578606367111, 0.03896385058760643, 0.03845876455307007, -0.032993000000715256, 0.03097265399992466, 0.012437766417860985, 0.000618393300101161, -0.02626452036201954, 0.0015874161617830396, -0.00384903303347528, 0.013953027315437794, 0.005564976017922163, -0.018634101375937462, 0.03344397246837616, 0.05115809291601181, 0.008951764553785324, 0.024514755234122276, 0.0370878130197525, 0.0633884146809578, 0.00004544937110040337, 0.0469730868935585, -0.020456021651625633, -0.03681723028421402, 0.10080092400312424, -0.05184356868267059, 0.03683526813983917, 0.0026111190672963858, 0.00040643714601173997, -0.010561728850007057, 0.017236091196537018, -0.009659787639975548, -0.060754742473363876, 0.01416047289967537, 0.013574211858212948, -0.06006927043199539, 0.014196551404893398, -0.010642903856933117, 0.01574788987636566, 0.03156793490052223, -0.024767300114035606, -0.07179450243711472, -0.0059392815455794334, -0.028970343992114067, 0.04083988815546036, 0.01928349770605564, 0.027545277029275894, 0.04300454631447792, -0.010056641884148121, 0.0436539426445961, -0.036528609693050385, 0.010074680671095848, -0.04819972440600395, -0.027942132204771042, 0.05833754315972328, 0.031098924577236176, -0.026571180671453476, -0.052925895899534225, -0.0008607899071648717, -0.011896601878106594, -0.0010107376147061586, 0.05133847892284393, -0.001536681898869574, -0.0045570568181574345, -0.015495345927774906, -0.02076268196105957, 0.0033213975839316845, -0.008906667120754719, -0.021213652566075325, 0.00785139575600624, -0.04062342271208763, -0.022999495267868042, -0.021213652566075325, -0.07143372297286987, -0.028032325208187103, -0.010534670203924179, 0.04159751906991005, 0.018264304846525192, -0.0633884146809578, 0.037520743906497955, 0.007995706982910633, 0.019914856180548668, -0.06122375279664993, -0.028862111270427704, -0.039180316030979156, 0.056714050471782684, -0.041056353598833084, -0.012455805204808712, -0.0022277941461652517, 0.06212569400668144, -0.0001805291249183938, 0.04044303297996521, 0.009244894608855247, 0.011589941568672657, -0.03149577975273132, -0.0009955173591151834, 0.09214229136705399, -0.006791615393012762, 0.06371311098337173, 0.02653510309755802, 0.01136445626616478, 0.05675012618303299, 0.05595641955733299, 0.01285265851765871, 0.022855184972286224, -0.028122520074248314, -0.02314380556344986, 0.038747385144233704, -0.016685908660292625, -0.0003246987471356988, 0.04087596386671066, 0.006209863815456629, 0.06887221336364746, 0.019481925293803215, -0.042463380843400955, -0.006336135324090719, 0.015044375322759151, -0.04376217722892761, 0.07872141152620316, -0.017425499856472015, -0.031026769429445267, -0.018598023802042007, -0.044447652995586395, 0.02496572583913803, 0.010985640808939934, 0.0006866025505587459, 0.01326755154877901, 0.026877840980887413, -0.04549390450119972, -0.002179314848035574, -0.09683237969875336, -0.011806407012045383, 0.0016156018245965242, 0.027058228850364685, -0.05891478434205055, 0.0048389132134616375, 0.04516920447349548, 0.015567501075565815, -0.01741648092865944, 0.01821920834481716, -0.02783389762043953, 0.029872285202145576, 0.005393607076257467, -0.02750919945538044, 0.003945991862565279, 0.02256656251847744, 0.04145320877432823, 0.042138680815696716, 0.05956418067216873, 0.051194168627262115, -0.04228299483656883, 0.0166949275881052, 0.03517569974064827, 0.08882314711809158, -0.027455084025859833, -0.07316545397043228, 0.05032830685377121, 0.02999855764210224, -0.05776030197739601, -0.06479544192552567, -0.043617866933345795, 0.001817411044612527, -0.04148928448557854, 0.00601594615727663, -0.013438920490443707, -0.03423767909407616, -0.0014397233026102185, -0.031333427876234055, 0.024767300114035606, 0.05808499827980995, 0.02429828979074955, 0.0017452557804062963, 0.0345984548330307, -0.00910058431327343, -0.06144021824002266, -0.023865358904004097, -0.01894075982272625, 0.014115376397967339, 0.03483296185731888, -0.012798542156815529, -0.0329749621450901, 0.008942744694650173, 0.051771413534879684, 0.05649758130311966, 0.020726604387164116, -0.03993794694542885, -0.03016090579330921, 0.007869435474276543, 0.012293455190956593, 0.03672703728079796, -0.03474276512861252, 0.0576520673930645, -0.015251821838319302, 0.05505447834730148, -0.01683923788368702, 0.02965581975877285, 0.011111913248896599, 0.0461072213947773, -0.0618009939789772, -0.03342593088746071, -0.036203909665346146, -0.026733530685305595, -0.012248358689248562, 0.003736290382221341, 0.04343747720122337, -0.04350963234901428, -0.027653509750962257, 0.031008731573820114, 0.06620246917009354, 0.011337397620081902, 0.07547441869974136, -0.013853813521564007, -0.03178440034389496, -0.011211126111447811, -0.0020327495876699686, 0.0461072213947773, -0.0033011040650308132, 0.017497655004262924, -0.022783029824495316, 0.007878454402089119, 0.0018602532800287008, 0.00430676806718111, 0.011319358833134174, 0.07511364668607712, 0.07677321881055832, -0.009948409162461758, -0.03838660940527916, 0.02529042586684227, -0.0025930802803486586, -0.014936142601072788, -0.023775164037942886, 0.00908705499023199, -0.021466195583343506, -0.04141712933778763, -0.00763944024220109, 0.006620246917009354, -0.0633884146809578, 0.02579551190137863, 0.025236308574676514, 0.0044555882923305035, 0.08066960424184799, 0.07511364668607712, -0.008947254158556461, 0.021538350731134415, 0.038494840264320374, -0.041813984513282776, 0.014385958202183247, 0.05790461227297783, 0.03201890364289284, -0.015080452896654606, 0.01951800286769867, -0.02494768798351288, 0.003120715729892254, -0.038927771151065826, 0.03443610668182373, 0.027635471895337105, 0.030864419415593147, -0.06111552193760872, 0.018976837396621704, 0.026895880699157715, 0.006660833954811096, -0.029673857614398003, 0.010507612489163876, 0.02413593977689743, 0.006850241683423519, 0.055812109261751175, 0.00601594615727663, 0.0006753283087164164, -0.04318493232131004, 0.007188469637185335, -0.0317302830517292, 0.018922721967101097, -0.012627173215150833, 0.027635471895337105, -0.030846381559967995, -0.006665343884378672, 0.014106356538832188, -0.03153185546398163, -0.043112777173519135, 0.02799624763429165, -0.055379174649715424, -0.07893787324428558, 0.004996752832084894, 0.0593116395175457, -0.02842918038368225, 0.03660076484084129, 0.0026584709994494915, -0.00623692199587822, 0.022259904071688652, 0.03443610668182373, -0.026625297963619232, -0.10202756524085999, -0.0007638312526978552, 0.05000360682606697, -0.01561259850859642, -0.014431055635213852, -0.08687495440244675, -0.03180243819952011, -0.05252904072403908, 0.013727542012929916, -0.05855400860309601, 0.04138105362653732, 0.032830651849508286, 0.06252254545688629, 0.0015434464439749718, -0.022187748923897743, -0.0021488743368536234, 0.014214590191841125, -0.018814489245414734, -0.05328667163848877, -0.0469730868935585, -0.05137455835938454, -0.01607258804142475, 0.004978714045137167, -0.007472580764442682, 0.009578613564372063, -0.019806623458862305, 0.0055153691209852695, -0.0071659209206700325, 0.03227144852280617, 0.04055126756429672, 0.005461252760142088, 0.03609567880630493, -0.0329749621450901, 0.009190778248012066, -0.052168264985084534, -0.023522621020674706, -0.02684176340699196, -0.021538350731134415, -0.021231690421700478, 0.009416263550519943, -0.014557327143847942, -0.031676165759563446, -0.02833898551762104, 0.049462441354990005, -0.012491882778704166, 0.04332924634218216, -0.041056353598833084, 0.03656468540430069, 0.04379825294017792, 0.01333970669656992, 0.0038287395145744085, 0.10837722569704056, -0.020564254373311996, 0.03773720934987068, -0.003436395199969411, -0.004254906438291073, -0.014476153068244457, -0.0013698228867724538, -0.00666985334828496, -0.0022108827251940966, 0.014358900487422943, 0.04516920447349548, -0.0518796443939209, -0.04498881474137306, -0.021646583452820778, 0.07255212962627411, -0.03254203125834465, 0.0023833790328353643, 0.05905909463763237, 0.03672703728079796, -0.03798975422978401, 0.001642660005018115, 0.007256115321069956, 0.048560503870248795, 0.060430046170949936, 0.020293671637773514, -0.04975106567144394, 0.04607114568352699, -0.025236308574676514, 0.04026264697313309, -0.04513312503695488, 0.03660076484084129, 0.036618802696466446, -0.005700266920030117, -0.00047633759095333517, 0.0329749621450901, -0.015720831230282784, 0.012230319902300835, 0.017984703183174133, 0.03450826182961464, 0.020239556208252907, 0.004676564130932093, -0.028104480355978012, -0.046756621450185776, 0.03342593088746071, -0.017975684255361557, 0.019247420132160187, 0.005903203506022692, 0.00901940930634737, 0.02471318282186985, 0.02000505104660988, -0.025759434327483177, 0.026986073702573776, 0.05444115772843361, -0.002602099673822522, 0.03228948637843132, 0.06335233151912689, -0.016667868942022324, 0.009470379911363125, -0.02348654344677925, 0.058770474046468735, -0.023793203756213188, 0.07807201147079468, 0.02725665643811226, -0.00993037037551403, 0.03853091970086098, 0.027220578864216805, -0.004372159019112587, -0.0008652996039018035, -0.06717656552791595, 0.05429684743285179, 0.04985929653048515, -0.02395555190742016, -0.08636986464262009, -0.03476080670952797, 0.016658850014209747, -0.06710440665483475, -0.05328667163848877, 0.013051086105406284, -0.028483295813202858, 0.005235767457634211, -0.06645501405000687, -0.04127281904220581, 0.01635218970477581, -0.031585972756147385, -0.012374630197882652, 0.043545711785554886, -0.0047487192787230015, -0.006006926763802767 ]
41,975
rfc3339
_string_microseconds
null
def _string_microseconds(d, timezone): return ('%04d-%02d-%02dT%02d:%02d:%02d.%06d%s' % (d.year, d.month, d.day, d.hour, d.minute, d.second, d.microsecond, timezone))
(d, timezone)
[ -0.01034875214099884, -0.006055774167180061, -0.03273012116551399, 0.060724373906850815, 0.020469481125473976, -0.027889011427760124, -0.009576980955898762, 0.03125673905014992, -0.026082364842295647, -0.018136627972126007, 0.026380548253655434, 0.03932525962591171, -0.05051594227552414, -0.015382806770503521, 0.03258980065584183, 0.0006424119346775115, -0.02927469089627266, -0.008739433251321316, 0.0048104156740009785, -0.022170886397361755, 0.027766229584813118, 0.017549028620123863, -0.011637961491942406, 0.022872496396303177, -0.0002021240652538836, 0.022083185613155365, -0.02015375718474388, -0.026433169841766357, -0.012506203725934029, 0.0036483737640082836, 0.010743408463895321, 0.02838013879954815, -0.09317385405302048, 0.0021519705187529325, -0.029607955366373062, 0.024310797452926636, -0.024679142981767654, -0.045183707028627396, -0.12909629940986633, 0.010953891091048717, 0.024556361138820648, -0.0641973465681076, -0.026783974841237068, -0.018452351912856102, 0.04602563753724098, 0.021644677966833115, 0.010462763719260693, 0.036448657512664795, -0.05041070282459259, -0.023679349571466446, 0.058935269713401794, 0.02015375718474388, -0.05626915022730827, -0.020820286124944687, -0.07822955399751663, 0.03862364962697029, 0.041991379112005234, 0.02892388589680195, -0.014111137948930264, 0.060899775475263596, -0.04265790805220604, 0.02899404615163803, -0.02213580533862114, 0.08243921399116516, -0.06703886389732361, -0.01114683412015438, 0.0033282639924436808, -0.035378701984882355, 0.007502845488488674, -0.04837603121995926, 0.06005784496665001, -0.0032054821494966745, 0.018452351912856102, -0.015479277819395065, 0.0016071262070909142, 0.02685413509607315, -0.05069134756922722, -0.011260845698416233, -0.02988860011100769, 0.07068724185228348, 0.008107984438538551, -0.05272601544857025, 0.006266257259994745, -0.01579500176012516, 0.018417270854115486, -0.01205015741288662, 0.013111342675983906, -0.01908380165696144, -0.07745777815580368, 0.060198165476322174, -0.017084211111068726, -0.05184900388121605, 0.019925734028220177, 0.06626709550619125, -0.07373924553394318, 0.008857830427587032, -0.041886135935783386, 0.003551902249455452, -0.039676062762737274, -0.019329365342855453, 0.04746393859386444, -0.03971114382147789, -0.043219197541475296, -0.021977944299578667, -0.002473176456987858, 0.019031180068850517, -0.008980612270534039, 0.008546491153538227, 0.05132279545068741, 0.01606687717139721, -0.01731223426759243, -0.022872496396303177, -0.015610829927027225, -0.05802317336201668, 0.014154988341033459, -0.05244537070393562, 0.04469257965683937, 0.03283536434173584, 0.03376499563455582, -0.011927375569939613, 0.009585751220583916, 0.022188426926732063, -0.008002743124961853, -0.0023284691851586103, -0.060724373906850815, -0.02925715036690235, 0.023170681670308113, 0.03781679645180702, 0.028064412996172905, 0.021118471398949623, 0.007537926081568003, 0.037325669080019, 0.09198111295700073, 0.009524360299110413, 0.0759843960404396, 0.0050954450853168964, 0.031274281442165375, 0.026731353253126144, 0.004683249164372683, 0.09275288879871368, -0.010383833199739456, 0.0059110671281814575, 0.016838647425174713, 0.005257692653685808, 0.02364426851272583, 0.010857420042157173, 0.01155025977641344, -0.011278386227786541, -0.03616801276803017, -0.003260295605286956, -0.00495512317866087, 0.05279617756605148, 0.025643857195973396, -0.008471944369375706, 0.012953480705618858, -0.0766158476471901, 0.014076056890189648, -0.05405907705426216, 0.012322031892836094, -0.029958760365843773, 0.014260229654610157, 0.03809744119644165, -0.029906140640378, -0.0615663081407547, -0.03862364962697029, 0.02988860011100769, -0.023047899827361107, 0.0469377301633358, -0.030765613541007042, -0.00882713496685028, 0.03458939120173454, 0.0061873262748122215, 0.01846989244222641, 0.04942844808101654, 0.02901158668100834, -0.012795618735253811, -0.035378701984882355, 0.013725251890718937, -0.04637644439935684, -0.016978969797492027, 0.02213580533862114, 0.008805209770798683, -0.017277155071496964, 0.010874960571527481, -0.014418092556297779, -0.01138362754136324, 0.0340631827712059, 0.0006544708739966154, 0.004349984228610992, -0.056690115481615067, 0.0665828213095665, 0.03283536434173584, 0.014461942948400974, 0.02080274559557438, -0.0161545779556036, 0.022802336141467094, 0.05177884176373482, -0.08685936033725739, 0.034045640379190445, 0.003503666492179036, -0.05416431650519371, 0.053673189133405685, 0.015268795192241669, -0.08117631822824478, 0.04683249071240425, -0.010936351493000984, -0.012102778069674969, -0.03781679645180702, -0.08250937610864639, -0.057426806539297104, 0.0037053795531392097, -0.06588120758533478, 0.026801515370607376, 0.015330186113715172, 0.0040013715624809265, 0.041921216994524, -0.0687578096985817, 0.0081606050953269, -0.007235356606543064, -0.0323091559112072, 0.038518406450748444, -0.013690171763300896, 0.020574722439050674, 0.006981022655963898, -0.02918699011206627, 0.03553656488656998, 0.03204605355858803, 0.019873112440109253, -0.04521878436207771, -0.02811703458428383, 0.016628164798021317, -0.02178500033915043, 0.051007069647312164, 0.018066465854644775, -0.01503200177103281, 0.0053585488349199295, 0.039395421743392944, -0.03771155700087547, 0.0401671901345253, -0.05890018865466118, -0.03992162644863129, -0.013663860969245434, 0.020329158753156662, -0.011076672933995724, 0.06661789864301682, -0.06742475181818008, -0.008397398516535759, 0.0248896274715662, -0.025994662195444107, 0.02943255379796028, 0.0011083250865340233, 0.055111490190029144, 0.03409826382994652, 0.009138474240899086, 0.03060775063931942, -0.03658897802233696, 0.033063385635614395, 0.016443992033600807, 0.003374307183548808, 0.039746224880218506, -0.06296952813863754, -0.07107312977313995, -0.03686962276697159, -0.011041592806577682, -0.03080069273710251, 0.0025323748122900724, -0.02425817772746086, 0.01410236768424511, -0.02687167562544346, -0.030748073011636734, 0.03283536434173584, -0.020469481125473976, -0.054830849170684814, -0.011269615963101387, -0.04837603121995926, -0.04953369125723839, 0.010962661355733871, -0.05104215070605278, 0.028169654309749603, 0.0015281949890777469, -0.03276520222425461, -0.006726689171046019, 0.05191916599869728, -0.03606276959180832, 0.022890036925673485, -0.010752178728580475, 0.051077231764793396, 0.02239890955388546, -0.03337911143898964, 0.026819055899977684, -0.037886958569288254, -0.06384654343128204, 0.03392285853624344, -0.033063385635614395, -0.06279412657022476, -0.0020346699748188257, -0.00341377267614007, -0.02595958299934864, 0.052690934389829636, -0.001422953442670405, -0.0556727796792984, 0.06777555495500565, 0.04851635545492172, 0.06752999126911163, -0.05290142074227333, 0.015909014269709587, 0.029134368523955345, -0.021609598770737648, -0.01454964466392994, 0.008949916809797287, -0.038237761706113815, -0.010050567798316479, -0.012251870706677437, 0.02916944958269596, 0.014119908213615417, 0.06275904178619385, -0.06675822287797928, -0.014760127291083336, -0.009375267662107944, 0.02115355245769024, 0.04434177279472351, -0.054655443876981735, 0.023591646924614906, 0.055532459169626236, 0.0438857264816761, -0.03750107064843178, -0.05591834336519241, 0.03388777747750282, 0.022626932710409164, -0.042517587542533875, 0.02318822219967842, -0.09850609302520752, -0.01999589428305626, -0.018224328756332397, 0.02694183588027954, -0.006200481206178665, 0.0020138409454375505, -0.049744173884391785, -0.024942247197031975, 0.034747250378131866, 0.02687167562544346, 0.003389654913917184, -0.0371151864528656, 0.03914985805749893, -0.0050954450853168964, 0.017777051776647568, 0.01641768217086792, -0.029835978522896767, 0.01562836952507496, 0.050445783883333206, 0.007112574763596058, 0.01205015741288662, 0.04406112805008888, 0.06588120758533478, 0.017777051776647568, 0.019224124029278755, 0.006279412657022476, 0.03148476406931877, -0.005301543045789003, 0.021802540868520737, -0.04441193491220474, -0.02071504481136799, 0.12186971306800842, -0.03634341433644295, 0.09022708982229233, -0.012541284784674644, -0.00114340556319803, -0.024591442197561264, -0.023451324552297592, -0.0018910591024905443, -0.06977514922618866, 0.030186785385012627, 0.005875986535102129, -0.017461327835917473, 0.051077231764793396, -0.025205351412296295, -0.037957120686769485, 0.027327721938490868, -0.030905935913324356, -0.08159728348255157, -0.017505178228020668, -0.03865873068571091, 0.004643783438950777, 0.017505178228020668, 0.05318206176161766, 0.06602153182029724, -0.032344236969947815, 0.008230766281485558, -0.03764139488339424, 0.026205146685242653, -0.02785393036901951, -0.011760743334889412, 0.027608366683125496, 0.001074340776540339, -0.061180420219898224, -0.021083390340209007, -0.021381575614213943, -0.022241046652197838, 0.005932992324233055, 0.04353491961956024, -0.021311413496732712, -0.04381556436419487, -0.06065421178936958, 0.013505998998880386, -0.015549439005553722, 0.03246701881289482, -0.029134368523955345, 0.021802540868520737, -0.03722042962908745, 0.017338545992970467, -0.051077231764793396, -0.062864288687706, -0.03122165985405445, -0.007450224831700325, -0.0063934242352843285, -0.0061873262748122215, -0.05093691125512123, -0.05041070282459259, -0.015987945720553398, 0.03364221379160881, -0.03729058802127838, -0.02283741720020771, 0.005275232717394829, 0.02962549589574337, 0.016917578876018524, -0.0013286746107041836, 0.010620626620948315, 0.01290086004883051, 0.0151197025552392, 0.037150267511606216, 0.015321415849030018, 0.01613703742623329, -0.032975684851408005, -0.02767852693796158, 0.08875370770692825, -0.00344666070304811, 0.030660372227430344, -0.024310797452926636, -0.015049541369080544, 0.04093896225094795, 0.06882797181606293, 0.03900953382253647, 0.003641796065494418, -0.00887537095695734, 0.027608366683125496, 0.011497639119625092, -0.009848855435848236, 0.04174581542611122, 0.06584613025188446, -0.01476889755576849, 0.042973633855581284, 0.0008457693038508296, -0.026889216154813766, -0.04392080754041672, 0.07387956976890564, -0.030642831698060036, 0.06858240813016891, -0.013427067548036575, -0.017645500600337982, -0.034133341163396835, -0.04704297333955765, 0.025819260627031326, 0.01562836952507496, 0.023135600611567497, 0.021381575614213943, 0.07416021078824997, 0.01160288043320179, -0.02401261404156685, -0.07275699079036713, 0.002841521752998233, 0.01953984797000885, 0.019838031381368637, -0.026380548253655434, 0.010111958719789982, 0.014646115712821484, 0.0009663585806265473, -0.04493814334273338, 0.02266201376914978, -0.008235150948166847, 0.003483933862298727, 0.062864288687706, -0.06261872500181198, 0.021206172183156013, 0.017996305599808693, 0.030853314325213432, 0.03250209987163544, 0.03981638699769974, 0.02792409062385559, 0.01892593875527382, -0.03525592014193535, -0.003690031822770834, 0.07261666655540466, 0.015461737290024757, -0.05514657124876976, 0.0036483737640082836, -0.005270847585052252, -0.033957939594984055, -0.04392080754041672, -0.04051799699664116, 0.02622268535196781, -0.05802317336201668, 0.019960813224315643, 0.018259409815073013, -0.06037357077002525, 0.005411169491708279, 0.010638166218996048, 0.03008154220879078, 0.04058815911412239, 0.00019212064216844738, -0.012094007804989815, -0.021206172183156013, 0.013348137028515339, -0.05377843230962753, -0.002031381241977215, -0.03185310959815979, -0.0010600893292576075, 0.002657349221408367, -0.03273012116551399, -0.02025899849832058, -0.007301132660359144, 0.07584407925605774, 0.051182474941015244, 0.01160288043320179, -0.029379932209849358, 0.01971524953842163, -0.01901363953948021, -0.058584462851285934, 0.03294060379266739, 0.004444262944161892, 0.031098878011107445, -0.01351476926356554, -0.0005423777038231492, -0.03239685669541359, 0.006511820945888758, 0.002275848528370261, -0.015382806770503521, -0.03918493539094925, -0.02211826480925083, 0.022065645083785057, -0.0023745123762637377, -0.0298008993268013, -0.02381967008113861, 0.060198165476322174, -0.004049607086926699, -0.018084006384015083, 0.03392285853624344, 0.022872496396303177, 0.06837192922830582, 0.06584613025188446, 0.01661062426865101, 0.008221996016800404, 0.0025762254372239113, -0.01044522412121296, 0.02836259827017784, 0.002740665338933468, -0.01034875214099884, -0.03050250932574272, 0.004168003797531128, -0.0019886267837136984, -0.014812747947871685, 0.05177884176373482, 0.06444291025400162, 0.10804799199104309, -0.027099698781967163, -0.03294060379266739, -0.0002206235658377409, -0.019224124029278755, -0.03273012116551399, -0.03571196645498276, 0.019680170342326164, 0.0019436798756942153, 0.008406168781220913, 0.007932581938803196, 0.02890634536743164, -0.07254651188850403, 0.018680375069379807, 0.03467709198594093, -0.011559030041098595, 0.06479371339082718, 0.051989324390888214, -0.0040386444889009, 0.06717918813228607, 0.01365509070456028, -0.015067081898450851, 0.05139295756816864, 0.03672930225729942, 0.026205146685242653, -0.028678322210907936, 0.00497266324236989, 0.0041307308711111546, 0.00820884108543396, -0.03558918461203575, 0.031730327755212784, 0.011708122678101063, 0.00905954372137785, -0.04623612016439438, 0.01508462242782116, 0.017005279660224915, 0.010778488591313362, 0.030309567227959633, 0.034133341163396835, 0.018855778500437737, 0.028537999838590622, 0.03330894932150841, 0.0012234330642968416, 0.0024424809962511063, -0.021434195339679718, -0.01579500176012516, -0.004727099556475878, 0.037606313824653625, -0.001772662391886115, 0.04942844808101654, -0.06500419974327087, -0.001448167604394257, 0.038518406450748444, -0.024644063785672188, -0.06005784496665001, -0.010331212542951107, -0.01783844269812107, -0.051884084939956665, -0.01066447701305151, 0.08685936033725739, -0.007866805419325829, 0.03171278536319733, 0.009778694249689579, -0.018452351912856102, -0.0059066819958388805, 0.00003427544652367942, -0.026889216154813766, -0.12257132679224014, -0.001245358376763761, 0.05574294179677963, 0.021399114280939102, -0.05016513913869858, -0.072055384516716, -0.033063385635614395, -0.04711313545703888, 0.007437069434672594, -0.06995055079460144, 0.05226996913552284, 0.04637644439935684, 0.027889011427760124, -0.04651676490902901, -0.02248661033809185, -0.01039260346442461, 0.027503125369548798, -0.04602563753724098, -0.03865873068571091, -0.007261666934937239, 0.00604261877015233, -0.014847829006612301, 0.03164262697100639, 0.02408277429640293, 0.015181093476712704, -0.03313354775309563, 0.01864529401063919, -0.015759922564029694, 0.02329346351325512, 0.030555130913853645, 0.015128472819924355, 0.025117650628089905, -0.0558832623064518, -0.00860788207501173, -0.02178500033915043, 0.015321415849030018, -0.04655184596776962, -0.00848071463406086, -0.013742792420089245, 0.04897240176796913, -0.013260435312986374, -0.02846783958375454, 0.0033282639924436808, 0.03576458618044853, -0.025503534823656082, 0.017110522836446762, 0.015137243084609509, 0.015347725711762905, 0.045008301734924316, -0.01756656914949417, 0.028345057740807533, 0.0759843960404396, -0.02873094379901886, 0.02452128194272518, -0.008515795692801476, -0.04423652961850166, -0.01712806150317192, 0.026924297213554382, 0.018136627972126007, -0.006546901538968086, 0.006060159299522638, 0.037080105394124985, -0.03495773300528526, -0.06928402185440063, 0.011102983728051186, 0.04669216647744179, -0.0021508741192519665, 0.017549028620123863, 0.041921216994524, 0.05718124285340309, -0.02909928932785988, -0.016277359798550606, 0.02185516245663166, 0.021486816927790642, 0.04592039808630943, -0.00028557732002809644, 0.002606920897960663, 0.04862159490585327, -0.04963893070816994, 0.03729058802127838, -0.034221045672893524, 0.02962549589574337, 0.014812747947871685, 0.0015183285577222705, 0.036448657512664795, -0.00622679153457284, -0.014479483477771282, 0.05300666019320488, 0.03516821935772896, 0.03267750144004822, 0.030923474580049515, 0.002762590767815709, 0.028169654309749603, -0.05230505019426346, 0.05212964862585068, -0.10068108141422272, 0.0033107236959040165, 0.015865163877606392, 0.04335951805114746, 0.011979996226727962, -0.01159411109983921, -0.01739993691444397, 0.01775074191391468, 0.022907577455043793, -0.02641562931239605, 0.026099903509020805, 0.009664682671427727, -0.03329141065478325, -0.022521691396832466, 0.03227407485246658, 0.01579500176012516, -0.03893937170505524, 0.04806030914187431, -0.01641768217086792, 0.0258718803524971, -0.019399525597691536, 0.013997126370668411, 0.03455431014299393, 0.012699146755039692, -0.015742382034659386, -0.011971225962042809, 0.021311413496732712, -0.06202235445380211, -0.11625683307647705, -0.040903881192207336, 0.013234124518930912, -0.06500419974327087, -0.040658317506313324, -0.005818980745971203, -0.04834095016121864, -0.025906961411237717, -0.03553656488656998, -0.04357000067830086, 0.05735664442181587, -0.014760127291083336, -0.028152113780379295, 0.03258980065584183, -0.02731018140912056, -0.02213580533862114 ]
41,976
rfc3339
_string_milliseconds
null
def _string_milliseconds(d, timezone): return ('%04d-%02d-%02dT%02d:%02d:%02d.%03d%s' % (d.year, d.month, d.day, d.hour, d.minute, d.second, d.microsecond / 1000, timezone))
(d, timezone)
[ -0.0054288930259644985, 0.03534311056137085, -0.020689083263278008, 0.04948389530181885, 0.031113265082240105, -0.04541333392262459, -0.021043045446276665, 0.05709408223628998, 0.012955011799931526, -0.01372487936168909, 0.002468885388225317, 0.03631650656461716, -0.05121831223368645, -0.011946219950914383, 0.03702443093061447, 0.0009225136018358171, -0.06396094709634781, -0.004413464572280645, -0.009663164615631104, -0.012185144238173962, 0.043289560824632645, -0.006862439680844545, -0.00491122342646122, 0.023945532739162445, -0.0013339945580810308, 0.024865834042429924, -0.001979975262656808, -0.009318050928413868, -0.0018793173367157578, -0.0004737007839139551, -0.003048498183488846, 0.003751997835934162, -0.07312855869531631, -0.009167617186903954, -0.017423782497644424, 0.019910365343093872, -0.0011426337296143174, -0.0406702421605587, -0.14448732137680054, -0.02953813411295414, 0.008079184219241142, -0.049590084701776505, -0.04820963367819786, -0.004470983520150185, 0.05089974403381348, 0.013884161598980427, 0.015680519863963127, 0.06031513586640358, -0.04109499603509903, -0.010291446931660175, 0.025237495079636574, -0.002625955967232585, -0.05532427132129669, -0.03900662064552307, -0.07808402925729752, 0.041201185435056686, 0.042050693184137344, 0.037484582513570786, -0.00028565843240357935, 0.025856928899884224, -0.045200955122709274, 0.031166359782218933, 0.006866863928735256, 0.07305777072906494, -0.06601392477750778, 0.01522921770811081, -0.002889215247705579, -0.023644665256142616, 0.03206896409392357, -0.004225422162562609, 0.07808402925729752, -0.02021123468875885, 0.00274099363014102, -0.01715831086039543, -0.0033648519311100245, 0.042404655367136, -0.06725279241800308, -0.02886560559272766, 0.0047740633599460125, 0.06643868237733841, -0.022228818386793137, -0.0632530227303505, -0.003922342322766781, -0.02589232474565506, -0.0057341852225363255, -0.01953870616853237, 0.0001296939153689891, 0.0012532469118013978, -0.03808631747961044, 0.018742291256785393, -0.0009761609835550189, -0.008676495403051376, 0.02422870323061943, 0.0778716504573822, -0.10894951969385147, 0.0031215029302984476, -0.042546238750219345, 0.01877768710255623, -0.03219284862279892, 0.029024889692664146, 0.03527231886982918, -0.04498857632279396, -0.02707809768617153, 0.001727777300402522, 0.011848879978060722, 0.021591685712337494, 0.015689369291067123, -0.0228128544986248, 0.022140327841043472, -0.006866863928735256, -0.034759074449539185, -0.03219284862279892, -0.0011083437129855156, -0.06891641020774841, 0.03677665814757347, -0.011689596809446812, 0.0381925068795681, 0.02318451553583145, 0.026724135503172874, -0.007809287868440151, 0.023007534444332123, 0.01248601172119379, -0.018706895411014557, -0.015184972435235977, -0.03829869627952576, -0.016353046521544456, 0.011937370523810387, 0.01852991431951523, 0.05889928713440895, 0.001260989811271429, 0.0157513115555048, 0.052315592765808105, 0.07829640805721283, 0.022830553352832794, 0.0443868413567543, 0.007402231451123953, -0.0003788500325754285, 0.03313085064291954, 0.0199634600430727, 0.0721728652715683, -0.02001655474305153, -0.0195918008685112, 0.03410424292087555, 0.018441423773765564, 0.013388615101575851, -0.013609841465950012, 0.025379080325365067, -0.018618404865264893, -0.044103674590587616, -0.002924611559137702, 0.004499742761254311, 0.024883532896637917, 0.024441080167889595, -0.03330783173441887, -0.014202727936208248, -0.0763850137591362, 0.010105617344379425, -0.035183828324079514, 0.004112596623599529, -0.024706551805138588, 0.017742348834872246, 0.016176065430045128, -0.030122172087430954, -0.0391836017370224, -0.01276033278554678, 0.035431601107120514, -0.020352818071842194, 0.032476019114255905, -0.017972424626350403, -0.027856813743710518, 0.056209176778793335, 0.0228128544986248, 0.01941481977701187, 0.03231673687696457, 0.03491835668683052, 0.013813369907438755, -0.03307775408029556, 0.016760103404521942, -0.030847793444991112, -0.017521122470498085, 0.014379709027707577, 0.003971011843532324, -0.008388901129364967, 0.01681319810450077, -0.024051722139120102, -0.011654200963675976, 0.0036480214912444353, 0.025733042508363724, -0.024564966559410095, -0.033520206809043884, 0.021786365658044815, 0.02242349646985531, 0.012795728631317616, 0.006375741679221392, -0.03313085064291954, 0.027272777631878853, 0.06392554938793182, -0.09762273728847504, 0.050581179559230804, 0.014751369133591652, -0.07008448988199234, 0.05950102210044861, 0.026299381628632545, -0.07011988759040833, 0.0488467663526535, -0.0016448174137622118, -0.015981387346982956, -0.02645866386592388, -0.07114637643098831, -0.06516441702842712, 0.03022835962474346, -0.046439822763204575, -0.006313798483461142, 0.008088032715022564, -0.0030772576574236155, 0.005787279922515154, -0.04838661476969719, 0.02033512108027935, -0.0006498522125184536, -0.03652888536453247, -0.03516612946987152, -0.002133727539330721, 0.0014047869481146336, -0.004493106156587601, -0.012397521175444126, 0.04615665227174759, 0.03219284862279892, -0.016901688650250435, -0.05656313896179199, -0.06923498213291168, 0.0075703635811805725, -0.056633930653333664, 0.03900662064552307, 0.009087976068258286, -0.004698846489191055, -0.05914705991744995, 0.03978533670306206, -0.042970992624759674, 0.0463690310716629, -0.08119889348745346, -0.030865492299199104, -0.021786365658044815, 0.008291561156511307, 0.0075216940604150295, 0.07702214270830154, -0.06293445825576782, -0.034705981612205505, 0.030511530116200447, 0.013733727857470512, 0.06215573847293854, -0.0035971393808722496, 0.03882963955402374, 0.015423896722495556, -0.004227634519338608, 0.01634419895708561, 0.0007543816464021802, 0.005172270815819502, 0.008012816309928894, -0.016238009557127953, 0.018512215465307236, -0.06222653016448021, -0.04852819815278053, -0.05801438167691231, 0.0035329838283360004, 0.0008174311369657516, -0.006344770081341267, -0.022830553352832794, -0.007039420306682587, -0.005959836300462484, -0.03467058390378952, 0.04481159895658493, 0.003751997835934162, -0.070933997631073, -0.014901802875101566, -0.05776660889387131, -0.010008277371525764, 0.008995060808956623, -0.05865151435136795, 0.002911337884142995, -0.01718485727906227, -0.0016083151567727327, 0.002262038877233863, 0.037413790822029114, -0.011716144159436226, -0.0009623343357816339, 0.028653228655457497, 0.04778487980365753, 0.03603333979845047, -0.0339803583920002, 0.021414704620838165, -0.019308630377054214, -0.0312548503279686, 0.04806804656982422, -0.055890608578920364, -0.035820960998535156, -0.009486183524131775, 0.016751253977417946, -0.04045786336064339, 0.03045843541622162, 0.012512559071183205, -0.03688284754753113, 0.08155285567045212, 0.05327128991484642, 0.0461212582886219, -0.04293559864163399, 0.029095681384205818, 0.01031799428164959, -0.03539620712399483, -0.006185486912727356, -0.00020394298189785331, -0.03183888643980026, -0.02695421129465103, 0.001627119374461472, 0.0028516068123281, 0.06272207945585251, 0.05284653604030609, -0.046935368329286575, -0.016432689502835274, -0.011733842082321644, 0.041625939309597015, 0.04905914142727852, -0.05019181966781616, 0.04084722325205803, 0.04838661476969719, 0.04148435220122337, -0.0374491848051548, -0.0352192260324955, 0.043360352516174316, 0.02442338317632675, -0.05882849544286728, 0.03576786816120148, -0.09818907827138901, -0.03851107135415077, -0.04233386367559433, 0.056633930653333664, 0.005012987647205591, 0.0215739868581295, -0.03762616589665413, -0.0029622199945151806, 0.035820960998535156, 0.042723219841718674, 0.029431944712996483, -0.021273119375109673, 0.06258049607276917, 0.005504109896719456, 0.014937198720872402, 0.008375626988708973, -0.012592200189828873, -0.020848365500569344, 0.03022835962474346, -0.0007328120991587639, -0.030051378533244133, 0.027839116752147675, 0.039148204028606415, 0.04927152022719383, 0.03350250795483589, 0.010326842777431011, 0.038971222937107086, -0.01641499064862728, 0.053483668714761734, -0.032051265239715576, -0.012468313798308372, 0.11666589230298996, -0.021520894020795822, 0.06788992136716843, 0.01288421917706728, 0.007327014580368996, -0.03058232180774212, -0.003880309173837304, -0.026918815448880196, -0.06668645143508911, 0.019733384251594543, -0.011778087355196476, -0.020724479109048843, 0.03146722912788391, -0.026033909991383553, -0.037909336388111115, 0.01976878196001053, -0.03705982863903046, -0.061023060232400894, 0.00917646661400795, -0.06240351125597954, 0.045696500688791275, 0.00428515300154686, 0.045767296105623245, 0.06516441702842712, -0.008247315883636475, 0.0037962431088089943, -0.07496916502714157, 0.009247259236872196, -0.04197990149259567, -0.02787451259791851, 0.017007876187562943, 0.04459922015666962, -0.058368343859910965, -0.020954554900527, -0.02440568432211876, -0.01976878196001053, -0.008185372687876225, 0.023326100781559944, -0.011857729405164719, -0.03921899572014809, -0.06495203822851181, 0.013450558297336102, -0.016007933765649796, -0.005335978232324123, -0.027025002986192703, 0.014140784740447998, -0.03628111258149147, 0.03300696238875389, -0.035254620015621185, -0.040564052760601044, -0.02137930877506733, -0.0021458950359374285, 0.01681319810450077, -0.00512802554294467, -0.05868690833449364, -0.027237379923462868, 0.0018726804992184043, 0.029201870784163475, -0.05581981688737869, -0.0362103171646595, 0.03343171626329422, 0.013432860374450684, -0.007039420306682587, -0.021715572103857994, 0.00457053491845727, 0.021450100466609, -0.008003966882824898, 0.025078212842345238, -0.021220026537775993, 0.022901345044374466, -0.05900547653436661, -0.01624685898423195, 0.08339346200227737, -0.008132277987897396, 0.03585635870695114, -0.013671784661710262, -0.005349251441657543, 0.018388329073786736, 0.03638729825615883, 0.04325416311621666, 0.008406599052250385, -0.024671155959367752, -0.006327071692794561, 0.008972938172519207, 0.0005201583262532949, 0.006862439680844545, 0.039643749594688416, 0.005305006634443998, 0.04024548828601837, 0.019556403160095215, 0.0002147277700714767, -0.04318337142467499, 0.07603105157613754, -0.02033512108027935, 0.036918241530656815, -0.0024202156346291304, -0.02249428816139698, -0.03737839311361313, -0.040210090577602386, 0.009778201580047607, -0.012317880056798458, -0.0008329169941134751, -0.007114637643098831, 0.07631421834230423, -0.022352704778313637, -0.0002680986071936786, -0.06410253047943115, 0.025202099233865738, 0.03300696238875389, 0.013857615180313587, -0.029431944712996483, 0.009680862538516521, 0.04799725487828255, -0.006490779109299183, -0.05734185501933098, 0.047360122203826904, 0.0394313745200634, 0.014123085886240005, 0.03256450966000557, -0.04707695543766022, 0.02546757087111473, -0.01879538595676422, 0.035820960998535156, 0.03628111258149147, 0.038157109171152115, 0.008486240170896053, 0.012574502266943455, -0.026529457420110703, 0.020653685554862022, 0.12926694750785828, 0.03410424292087555, -0.08452614396810532, 0.013362067751586437, 0.019202440977096558, -0.039714545011520386, -0.06272207945585251, -0.029396548867225647, 0.016777802258729935, -0.06541218608617783, 0.04095340892672539, -0.011415276676416397, -0.0411657877266407, 0.024865834042429924, -0.01418503001332283, 0.03300696238875389, 0.040882617235183716, -0.00020076286455150694, -0.016007933765649796, -0.021520894020795822, -0.008088032715022564, -0.04665220156311989, -0.015662821009755135, -0.042404655367136, -0.008141127415001392, 0.017565367743372917, 0.007402231451123953, -0.018618404865264893, -0.004530714359134436, 0.06166019290685654, 0.05567823350429535, 0.0025064938236027956, -0.03928978741168976, -0.013990350067615509, -0.005880194716155529, -0.01214089896529913, 0.037980128079652786, 0.005504109896719456, 0.053483668714761734, -0.004059502389281988, 0.03201586753129959, 0.01551238726824522, 0.03343171626329422, 0.02589232474565506, 0.025379080325365067, -0.0409180149435997, -0.025626853108406067, -0.029201870784163475, 0.01758306473493576, -0.021715572103857994, -0.04194450378417969, 0.05277574434876442, -0.03244062140583992, -0.0381925068795681, 0.06088147312402725, 0.04828042536973953, 0.06813769787549973, 0.07447361946105957, -0.0005149042117409408, 0.032051265239715576, -0.023520778864622116, -0.058368343859910965, 0.02799839898943901, 0.0013174025807529688, -0.01430891640484333, -0.02557375840842724, 0.010486125946044922, -0.003094955813139677, -0.0038626110181212425, 0.029502738267183304, 0.057872798293828964, 0.10187028348445892, -0.0050528086721897125, -0.07751768827438354, 0.029520435258746147, -0.00559260044246912, -0.037980128079652786, -0.058191362768411636, 0.03240522742271423, -0.006225307937711477, 0.03751998022198677, 0.006189911626279354, 0.008282712660729885, -0.05943023040890694, 0.03410424292087555, 0.028759418055415154, -0.02621089108288288, 0.04459922015666962, 0.05698789283633232, 0.00163818069268018, 0.07231444865465164, 0.023839345201849937, -0.0001267211773665622, 0.04045786336064339, 0.03445820510387421, 0.02242349646985531, -0.05943023040890694, 0.013698332011699677, -0.017229102551937103, 0.03192737698554993, -0.020653685554862022, 0.03343171626329422, 0.017078669741749763, 0.04374971240758896, -0.040811825543642044, -0.00826943852007389, 0.020228931680321693, 0.010034824721515179, 0.0060350531712174416, 0.03730760142207146, 0.021892553195357323, -0.004628053866326809, 0.06123543530702591, 0.020441308617591858, -0.001535310409963131, -0.02737896516919136, -0.0017720225732773542, -0.007632306776940823, 0.03663507476449013, -0.015211519785225391, 0.009964032098650932, -0.0391836017370224, 0.026600249111652374, 0.014600935392081738, -0.0215739868581295, -0.0367058664560318, -0.009565824642777443, -0.03491835668683052, -0.09302122890949249, -0.00553065724670887, 0.04912993311882019, 0.010264899581670761, 0.015981387346982956, 0.05486411973834038, -0.03509533777832985, -0.005012987647205591, 0.01624685898423195, -0.030493831261992455, -0.09578213095664978, -0.013831067830324173, 0.04782027378678322, 0.015857500955462456, -0.05426238477230072, -0.08657912164926529, -0.009123371914029121, -0.05316510051488876, -0.010884333401918411, -0.06452728062868118, 0.03603333979845047, 0.0476078987121582, 0.06495203822851181, -0.042121484875679016, -0.052811138331890106, -0.020405912771821022, 0.030015982687473297, -0.019733384251594543, -0.02021123468875885, -0.02447647601366043, -0.022388100624084473, -0.036741260439157486, 0.027272777631878853, 0.005597025156021118, 0.0456257089972496, -0.007915476337075233, 0.011494917795062065, -0.03534311056137085, 0.00580940255895257, 0.03762616589665413, -0.00616336427628994, 0.04159054160118103, -0.05649234354496002, -0.006375741679221392, -0.05829755216836929, -0.030918586999177933, -0.04541333392262459, -0.015680519863963127, -0.010008277371525764, 0.05907626822590828, -0.027219682931900024, -0.021025346592068672, -0.008972938172519207, 0.054793328046798706, -0.036741260439157486, 0.013353219255805016, -0.0009584628860466182, 0.00876498594880104, 0.039643749594688416, -0.014981443993747234, 0.01792817935347557, 0.08856131136417389, -0.033219341188669205, 0.00890214554965496, 0.0006376847741194069, -0.03171500191092491, -0.005849223118275404, 0.014441652223467827, 0.006756250746548176, -0.02291904389858246, 0.030387643724679947, 0.028086889535188675, -0.01815825328230858, -0.035130735486745834, 0.03783854469656944, 0.05514729022979736, -0.020600592717528343, 0.014441652223467827, 0.03129024803638458, 0.05263415724039078, -0.051395293325185776, -0.014530142769217491, 0.02472425065934658, 0.014848708175122738, 0.04070563614368439, 0.02706039883196354, -0.04343114420771599, 0.04806804656982422, -0.02366236411035061, 0.02706039883196354, 0.0031347766052931547, 0.031113265082240105, 0.03217514976859093, -0.004597082268446684, 0.03452900052070618, 0.013600992038846016, -0.02737896516919136, 0.01505223661661148, 0.015264613553881645, 0.04608586058020592, 0.02576843835413456, 0.007158882915973663, 0.01624685898423195, -0.07026147097349167, 0.0446346178650856, -0.07001369446516037, -0.00046734054922126234, 0.023503081873059273, 0.02254738286137581, 0.019804177805781364, -0.026653343811631203, -0.02224651537835598, -0.002614894649013877, 0.04806804656982422, -0.016671612858772278, 0.05128910392522812, 0.0443868413567543, 0.006424411665648222, -0.002820635214447975, -0.0030861066188663244, 0.03999771177768707, -0.04006850719451904, 0.06640328466892242, 0.014698274433612823, 0.012919615022838116, -0.019857272505760193, -0.0053802235051989555, -0.0005234766867943108, 0.029148776084184647, -0.0406702421605587, -0.007906627841293812, 0.031661905348300934, -0.06130623072385788, -0.08431376516819, -0.049590084701776505, 0.018583009019494057, -0.034192733466625214, -0.06204954907298088, -0.004391341935843229, -0.028971794992685318, -0.026777230203151703, -0.048669785261154175, -0.05146608501672745, 0.04881136864423752, -0.013397464528679848, -0.058616116642951965, 0.024140212684869766, -0.0037011157255619764, 0.01124714408069849 ]
41,977
rfc3339
_timedelta_to_seconds
>>> _timedelta_to_seconds(timedelta(hours=3)) 10800 >>> _timedelta_to_seconds(timedelta(hours=3, minutes=15)) 11700 >>> _timedelta_to_seconds(timedelta(hours=-8)) -28800
def _timedelta_to_seconds(td): ''' >>> _timedelta_to_seconds(timedelta(hours=3)) 10800 >>> _timedelta_to_seconds(timedelta(hours=3, minutes=15)) 11700 >>> _timedelta_to_seconds(timedelta(hours=-8)) -28800 ''' return int((td.microseconds + (td.seconds + td.days * 24 * 3600) * 10**6) / 10**6)
(td)
[ -0.022697605192661285, -0.0019664240535348654, 0.008430265821516514, -0.01826717145740986, -0.006085867527872324, 0.004612245596945286, 0.0022152173332870007, 0.03848641365766525, -0.02752036787569523, 0.006554747000336647, -0.005172030534595251, -0.013597511686384678, 0.032056063413619995, -0.016334237530827522, 0.06304039806127548, 0.031596750020980835, 0.028706921264529228, 0.017520790919661522, -0.023884158581495285, -0.02273588255047798, 0.06185384839773178, -0.043098658323287964, -0.014659668318927288, 0.010583285242319107, -0.06694453954696655, -0.02535778097808361, -0.005416039377450943, -0.03663003072142601, -0.003301295917481184, -0.0018312623724341393, 0.014717081561684608, 0.0533565990626812, -0.03695537522435188, 0.004755780100822449, -0.02784571424126625, 0.06330832839012146, -0.0026482134126126766, -0.03483106568455696, -0.003483106382191181, 0.04918452352285385, -0.03536692634224892, -0.020362775772809982, -0.014056822285056114, 0.006559531670063734, 0.05653349682688713, -0.017377257347106934, 0.03984520584344864, -0.005109832156449556, 0.016879670321941376, -0.05033280327916145, 0.02026708610355854, 0.02547260746359825, -0.01980777643620968, 0.038716066628694534, -0.037759169936180115, 0.01540604792535305, -0.004050068091601133, 0.025778815150260925, -0.047730039805173874, 0.04087865725159645, -0.015291220508515835, 0.026218988001346588, 0.007875265553593636, 0.07486765086650848, -0.06851385533809662, -0.01558785792440176, 0.014822340570390224, -0.04313693568110466, -0.04635211080312729, -0.04792141914367676, -0.006296384613960981, -0.06606419384479523, 0.004157719202339649, -0.0343908928334713, 0.03957727551460266, 0.05484935641288757, 0.03724244609475136, -0.0390796884894371, -0.020898638293147087, 0.04172072559595108, -0.011100010015070438, -0.017358118668198586, 0.013961132615804672, 0.04279245063662529, 0.05040935426950455, 0.03293640911579132, 0.03766348212957382, 0.01967380940914154, -0.08688627928495407, 0.047844868153333664, -0.013310442678630352, -0.04068727791309357, 0.005827505141496658, -0.0045739696361124516, -0.01493716798722744, 0.060743845999240875, -0.050562456250190735, -0.012200441211462021, -0.08688627928495407, -0.06261936575174332, 0.06625557690858841, 0.0485721118748188, 0.04941418021917343, -0.023310020565986633, 0.006042806897312403, -0.007808282505720854, -0.006392074283212423, -0.04351969435811043, 0.0817573145031929, 0.015941910445690155, 0.0016386867500841618, 0.061815571039915085, 0.012076045386493206, 0.01918579265475273, -0.026927093043923378, -0.06372936815023422, 0.05366280674934387, 0.005569142755120993, -0.024400882422924042, -0.00639685895293951, -0.032534509897232056, 0.057528670877218246, 0.02775002457201481, 0.02631467767059803, -0.026410367339849472, 0.02348226122558117, 0.007870481349527836, 0.04554831609129906, 0.03923279419541359, 0.06376764178276062, 0.013626218773424625, -0.05171073600649834, 0.04233314096927643, 0.024037262424826622, 0.07498247921466827, 0.01510940957814455, 0.017262428998947144, 0.06441833078861237, 0.03521382436156273, 0.027558645233511925, 0.004538085777312517, 0.01025793980807066, -0.03362537547945976, 0.016898807138204575, 0.024860193952918053, -0.006894445512443781, -0.032056063413619995, 0.01848725788295269, -0.049261078238487244, 0.013320011086761951, -0.044629693031311035, -0.02311864122748375, 0.024113813415169716, 0.0201522596180439, 0.029587266966700554, 0.014506564475595951, 0.03923279419541359, -0.043672796338796616, -0.03404640778899193, -0.007607334293425083, 0.01709018647670746, 0.0000025838098736130632, 0.004377805627882481, -0.03402727097272873, 0.007009273394942284, -0.04057244956493378, 0.004050068091601133, 0.0319795086979866, -0.06667660921812057, 0.01883174106478691, 0.01884130947291851, 0.023424847051501274, 0.04057244956493378, 0.02396070957183838, 0.06476281583309174, -0.044859349727630615, 0.0379122756421566, 0.01586535945534706, 0.000709898245986551, -0.05511729046702385, 0.0136357881128788, 0.01719544641673565, -0.035137273371219635, 0.0912497341632843, 0.0027367265429347754, 0.024400882422924042, -0.014420443214476109, 0.031960371881723404, -0.04684969410300255, -0.0450890026986599, 0.056839704513549805, 0.022487089037895203, -0.026046747341752052, 0.05419866740703583, -0.004272546619176865, 0.028649507090449333, 0.013013804331421852, 0.014420443214476109, 0.03247709572315216, 0.025530021637678146, -0.06212177872657776, -0.009080955758690834, 0.00983690470457077, -0.014248201623558998, 0.023080365732312202, -0.03720416873693466, -0.026697436347603798, -0.021874673664569855, -0.037759169936180115, -0.06200695037841797, -0.02891743928194046, -0.020209671929478645, 0.02784571424126625, -0.027769161388278008, 0.010286646895110607, -0.011406216770410538, -0.06476281583309174, -0.05971039831638336, 0.005693539511412382, -0.009894318878650665, 0.0007810674724169075, -0.019252775236964226, 0.027405541390180588, -0.009037896059453487, 0.015693116933107376, -0.016525616869330406, -0.00527728907763958, -0.017740877345204353, 0.03877348080277443, 0.010162250138819218, 0.026946229860186577, -0.02499415911734104, -0.008047507144510746, -0.000598957936745137, 0.08198697119951248, 0.014209926128387451, -0.028860025107860565, -0.07069557905197144, -0.03530951216816902, -0.04057244956493378, -0.03802710026502609, -0.025185538455843925, 0.010946906171739101, 0.05251452699303627, 0.007707808166742325, 0.006310738157480955, 0.05083039030432701, -0.037873998284339905, -0.03852468729019165, 0.08336489647626877, -0.010918199084699154, -0.01791311986744404, 0.05561487749218941, 0.013281735591590405, -0.008028369396924973, -0.0008600114961154759, 0.004219917580485344, 0.033376581966876984, -0.040725551545619965, 0.025759678333997726, 0.010516302660107613, -0.07368110120296478, 0.01540604792535305, -0.007808282505720854, 0.008602507412433624, 0.03923279419541359, 0.004301253706216812, -0.026257263496518135, -0.038352448493242264, 0.013453977182507515, 0.135037362575531, -0.07421696186065674, -0.03427606448531151, -0.00010338977153878659, -0.031099164858460426, -0.0686669573187828, 0.0038228051271289587, 0.0023635365068912506, -0.019233636558055878, 0.0355391688644886, -0.029070543125271797, 0.01167414803057909, -0.007875265553593636, -0.0675186812877655, 0.002131488872691989, 0.018295878544449806, 0.010363198816776276, 0.03860124200582504, 0.0033108650241047144, 0.03718503192067146, -0.04516555741429329, -0.038830894976854324, 0.025797953829169273, -0.07031282037496567, 0.006463842000812292, 0.04750038683414459, -0.08994835615158081, -0.04087865725159645, 0.02868778258562088, 0.033127788454294205, -0.028611231595277786, 0.027290713042020798, -0.03626640886068344, 0.040113139897584915, -0.06338488310575485, 0.04811279848217964, -0.01920493133366108, 0.02736726589500904, 0.005798798054456711, 0.017338979989290237, -0.025530021637678146, -0.04551003873348236, 0.0037008007057011127, 0.038467273116111755, -0.013654925860464573, 0.021778983995318413, -0.05550004914402962, -0.001495152129791677, -0.031462784856557846, 0.03942417353391647, -0.013941994868218899, -0.0012475549010559916, -0.01588449627161026, -0.0067748334258794785, 0.07743213325738907, -0.07184385508298874, 0.016870100051164627, 0.0027845713775604963, 0.033855028450489044, -0.02893657609820366, 0.021070880815386772, -0.054351769387722015, 0.05178728699684143, -0.03310864791274071, -0.010918199084699154, -0.05465797707438469, 0.029472438618540764, 0.03285985440015793, -0.016803117468953133, -0.02026708610355854, 0.09974697977304459, 0.0015764884883537889, 0.003801274811848998, 0.006889661308377981, 0.023750193417072296, -0.03148192539811134, -0.04547176510095596, -0.03069726750254631, 0.048074524849653244, -0.01476492639631033, 0.04692624881863594, -0.014831908978521824, -0.008458972908556461, 0.04302210733294487, -0.03733813390135765, 0.07295385748147964, 0.02834330126643181, -0.07303040474653244, 0.0426393486559391, -0.07391075044870377, -0.027195023372769356, 0.04401727765798569, 0.03984520584344864, -0.01720501482486725, 0.06001660227775574, 0.011482768692076206, 0.0038060592487454414, -0.07838903367519379, -0.0065308245830237865, 0.03885003179311752, -0.0035692271776497364, -0.005813151597976685, 0.05048590525984764, -0.009368025697767735, 0.06330832839012146, -0.023769330233335495, -0.026276402175426483, 0.04707935079932213, -0.05863867327570915, 0.002834808547049761, -0.0017271997639909387, -0.028783472254872322, -0.05484935641288757, 0.056724876165390015, 0.015262513421475887, -0.021377086639404297, 0.027807438746094704, 0.0036266411188989878, 0.02786485105752945, -0.013243460096418858, -0.05228487402200699, -0.02049674279987812, 0.029376748949289322, -0.030065715312957764, 0.01576009951531887, 0.025453470647335052, -0.01072681974619627, 0.023271745070815086, 0.059097982943058014, 0.03450572118163109, 0.038582101464271545, -0.08543179929256439, 0.06415040045976639, 0.03607502952218056, -0.008028369396924973, 0.03152019903063774, -0.003837158437818289, 0.035022445023059845, -0.01528165116906166, -0.002318084007129073, -0.03519468382000923, -0.05840901657938957, 0.015291220508515835, 0.017157170921564102, -0.042486242949962616, -0.014219495467841625, -0.07900144904851913, -0.01132009644061327, -0.022487089037895203, -0.02725243754684925, -0.03188382089138031, -0.03046761266887188, 0.011779407039284706, -0.01695622131228447, 0.05461970344185829, 0.023061227053403854, 0.06468626111745834, 0.043902453035116196, -0.005727030802518129, 0.04348141700029373, 0.011186130344867706, 0.00388261117041111, -0.018946567550301552, -0.053050391376018524, 0.0806090384721756, 0.08436007052659988, 0.001027468591928482, 0.024266917258501053, 0.03186468407511711, 0.06977695971727371, 0.02040105126798153, 0.02807536907494068, 0.005167245864868164, -0.0011727974051609635, 0.07923110574483871, -0.043787624686956406, -0.022601915523409843, 0.04895487055182457, 0.02952985279262066, -0.009592896327376366, 0.049835216253995895, -0.03605589270591736, 0.023310020565986633, -0.022008638828992844, -0.0016051953425630927, -0.007755653467029333, 0.006301169283688068, 0.03404640778899193, -0.033606234937906265, -0.015243375673890114, -0.028037093579769135, 0.019348464906215668, 0.03117571584880352, -0.03942417353391647, -0.020228810608386993, -0.024573124945163727, -0.025912780314683914, -0.04045762121677399, -0.0592510849237442, -0.014229063875973225, -0.014506564475595951, 0.04715590178966522, 0.0020932129118591547, 0.0035764039494097233, -0.004320391453802586, -0.010841647163033485, 0.013951564207673073, -0.01510940957814455, -0.0025525237433612347, 0.026812264695763588, 0.04589279741048813, -0.06721246987581253, 0.05128969997167587, 0.01428647805005312, 0.014219495467841625, 0.035022445023059845, -0.023884158581495285, -0.03060157783329487, 0.08573800325393677, -0.08351800590753555, 0.005267720203846693, -0.019731223583221436, -0.012009061872959137, -0.04692624881863594, 0.035845376551151276, -0.05557660013437271, -0.030544163659214973, 0.01132009644061327, -0.03772089630365372, 0.0474238358438015, 0.0065834540873765945, 0.042026933282613754, 0.0817573145031929, -0.016544755548238754, 0.0010047422256320715, -0.008454188704490662, -0.014047253876924515, 0.01765475608408451, -0.021032605320215225, 0.00247597205452621, -0.010286646895110607, 0.0485721118748188, -0.03209433704614639, -0.008875222876667976, -0.009339318610727787, -0.0037964903749525547, -0.018898723646998405, -0.04041934385895729, 0.02109001763164997, -0.012353545054793358, 0.03228571638464928, -0.016410790383815765, 0.02512812428176403, 0.04826590418815613, -0.028898300603032112, -0.022085191681981087, -0.09232146292924881, 0.003875434398651123, 0.008482894860208035, 0.0067269885912537575, 0.00818625744432211, -0.073527991771698, -0.044744521379470825, -0.015807945281267166, -0.026276402175426483, -0.022200020030140877, -0.01788441278040409, -0.04091693088412285, -0.018678637221455574, -0.014889323152601719, -0.00248793326318264, -0.013721908442676067, 0.03142451122403145, 0.06617902219295502, 0.026486920192837715, 0.06725075095891953, -0.0747528225183487, 0.08474282920360565, -0.026601746678352356, 0.05465797707438469, -0.027539506554603577, 0.02761605754494667, -0.001570507767610252, -0.00021545142226386815, -0.017731308937072754, -0.0343908928334713, -0.010382336564362049, -0.021721569821238518, 0.014152511954307556, 0.017520790919661522, 0.052208319306373596, -0.0355774462223053, 0.021855536848306656, -0.04528038576245308, -0.03630468621850014, -0.049146249890327454, 0.025530021637678146, -0.013846305198967457, -0.07731730490922928, 0.010803371667861938, -0.037950549274683, 0.01696578972041607, -0.033376581966876984, 0.020573293790221214, -0.017750445753335953, -0.024362606927752495, -0.021951226517558098, -0.021262260153889656, 0.026027608662843704, -0.014066391624510288, -0.008808240294456482, 0.020439328625798225, -0.0031003474723547697, 0.03695537522435188, 0.010592853650450706, -0.02061156928539276, 0.023156916722655296, -0.03255365043878555, -0.01790354959666729, -0.014697943814098835, 0.0136357881128788, -0.019884327426552773, -0.051021769642829895, 0.004882568959146738, 0.029415026307106018, -0.06300212442874908, -0.025185538455843925, 0.04018969088792801, 0.0020800556521862745, 0.06219832971692085, -0.004083559382706881, -0.032993823289871216, 0.05416039004921913, 0.08382420986890793, -0.004762956872582436, -0.020956052467226982, 0.045586589723825455, -0.0545431524515152, -0.03161589056253433, -0.04394072666764259, 0.036897964775562286, -0.03745296224951744, 0.04076382890343666, 0.03398899361491203, 0.014133374206721783, -0.028840886428952217, -0.03530951216816902, -0.021511053666472435, -0.03209433704614639, -0.024266917258501053, -0.0438641756772995, 0.012296130880713463, -0.004373020958155394, 0.013540097512304783, 0.012286562472581863, -0.018429843708872795, 0.018764758482575417, 0.026831403374671936, -0.028362438082695007, -0.13587942719459534, -0.0016602169489488006, 0.042371414601802826, 0.044514864683151245, -0.05948074162006378, -0.03414209932088852, 0.04137624427676201, -0.03463968634605408, -0.0038921800442039967, -0.034543994814157486, 0.03222830221056938, 0.07789144665002823, 0.023443985730409622, -0.00943022407591343, 0.03106088936328888, -0.004918452352285385, -0.07184385508298874, 0.010631130076944828, -0.009195784106850624, -0.0041314042173326015, 0.03308951109647751, -0.0189657062292099, 0.05396901071071625, -0.004028537776321173, -0.04681142047047615, -0.0604759156703949, -0.00035136076621711254, 0.0024054008536040783, -0.033855028450489044, -0.010420612059533596, 0.02265932969748974, 0.04348141700029373, -0.019463293254375458, -0.03957727551460266, 0.008798670955002308, 0.04294555261731148, -0.019826913252472878, -0.019377171993255615, 0.047117628157138824, 0.07877179235219955, -0.021778983995318413, 0.005664832424372435, -0.00793267972767353, -0.02072639763355255, 0.0426393486559391, -0.006229402031749487, 0.0012942036846652627, 0.031807269901037216, 0.003119485452771187, 0.015798375010490417, -0.016401221975684166, -0.05262935534119606, 0.018822170794010162, -0.022678468376398087, 0.010631130076944828, -0.012831993401050568, -0.07984351366758347, 0.024975022301077843, -0.030065715312957764, 0.00883216317743063, -0.03640037775039673, 0.011300957761704922, 0.003330002771690488, -0.06897316128015518, 0.04493590071797371, 0.01030578464269638, -0.013999409042298794, -0.026046747341752052, 0.04482107236981392, 0.0793842077255249, -0.009454146027565002, 0.0013468330726027489, -0.03452485799789429, 0.006765264552086592, -0.014229063875973225, 0.043328315019607544, -0.015827082097530365, 0.06587281823158264, -0.06177729368209839, 0.03310864791274071, -0.038352448493242264, -0.009224491193890572, 0.00624853977933526, -0.02585536800324917, 0.004693581722676754, 0.006970997434109449, 0.007894403301179409, 0.007659963332116604, -0.002724765334278345, 0.001881499425508082, 0.014793633483350277, 0.0017056695651262999, 0.006908799055963755, -0.0060619451105594635, 0.06495419144630432, -0.08596765995025635, -0.034677959978580475, -0.003456791862845421, 0.018429843708872795, 0.01493716798722744, 0.015090271830558777, -0.03127140551805496, -0.05148107931017876, 0.018879584968090057, -0.07371937483549118, -0.0031697226222604513, 0.016860531643033028, 0.008286731317639351, -0.021759847179055214, 0.008372851647436619, 0.03525209799408913, 0.030486751347780228, 0.014774495735764503, -0.001264300663024187, 0.015300788916647434, -0.01322432141751051, -0.06235143169760704, 0.00836328323930502, -0.0026458213105797768, 0.021606743335723877, -0.05615073814988136, 0.010028284974396229, -0.010506733320653439, -0.058370739221572876, -0.03532865270972252, 0.008478110656142235, -0.04103175923228264, -0.020209671929478645, -0.0201522596180439, -0.01944415457546711, 0.024152090772986412, 0.03138623386621475, -0.01523380633443594, 0.020324500277638435, 0.03222830221056938, 0.018305446952581406, 0.00990388821810484, 0.004700758494436741, 0.00639685895293951 ]
41,978
rfc3339
_timezone
Return a string representing the timezone offset. >>> _timezone(0) '+00:00' >>> _timezone(3600) '+01:00' >>> _timezone(-28800) '-08:00' >>> _timezone(-8 * 60 * 60) '-08:00' >>> _timezone(-30 * 60) '-00:30'
def _timezone(utc_offset): ''' Return a string representing the timezone offset. >>> _timezone(0) '+00:00' >>> _timezone(3600) '+01:00' >>> _timezone(-28800) '-08:00' >>> _timezone(-8 * 60 * 60) '-08:00' >>> _timezone(-30 * 60) '-00:30' ''' # Python's division uses floor(), not round() like in other languages: # -1 / 2 == -1 and not -1 / 2 == 0 # That's why we use abs(utc_offset). hours = abs(utc_offset) // 3600 minutes = abs(utc_offset) % 3600 // 60 sign = (utc_offset < 0 and '-') or '+' return '%c%02d:%02d' % (sign, hours, minutes)
(utc_offset)
[ 0.007250187918543816, -0.010510402731597424, 0.037473518401384354, 0.039501678198575974, -0.003345511620864272, -0.05872178450226784, -0.008316392078995705, 0.0516706183552742, -0.060730986297130585, -0.04791758209466934, 0.020717529579997063, -0.010112353600561619, 0.0239019263535738, -0.004077638499438763, 0.06675859540700912, 0.08544796705245972, -0.012453263625502586, -0.07839680463075638, 0.022271819412708282, -0.0005307326791808009, 0.06630367785692215, -0.020016204565763474, 0.012292148545384407, -0.009913329035043716, -0.020926032215356827, 0.04833458736538887, -0.04424036294221878, 0.037814706563949585, 0.00033052326762117445, -0.06008652225136757, -0.005904401186853647, 0.02418624795973301, -0.026745136827230453, 0.017144562676548958, -0.026953639462590218, 0.009846987202763557, -0.014907902106642723, -0.027749737724661827, -0.012529082596302032, 0.007690885569900274, 0.051973894238471985, 0.01345786452293396, -0.03866766765713692, -0.03698069602251053, 0.01840505190193653, 0.012140510603785515, -0.020243661478161812, -0.018329232931137085, -0.0623990036547184, -0.009117229841649532, 0.040676869451999664, 0.0326211079955101, -0.016035709530115128, 0.020300526171922684, -0.02342805825173855, 0.005657989531755447, 0.046704478561878204, -0.07180055230855942, -0.010282945819199085, -0.00564851239323616, -0.054892923682928085, 0.012481695972383022, -0.012898700311779976, 0.038705576211214066, -0.0011894098715856671, 0.014737309888005257, -0.02009202353656292, -0.04253443703055382, 0.04075269028544426, -0.015258565545082092, 0.032640062272548676, 0.008799737319350243, -0.006250325124710798, -0.038572896271944046, 0.013979120180010796, 0.02795824036002159, -0.0390467643737793, -0.016490623354911804, 0.011278069578111172, 0.030858315527439117, -0.051367342472076416, -0.026991548016667366, 0.009752213023602962, 0.01907794550061226, 0.0516706183552742, -0.011439185589551926, -0.013476819731295109, -0.04166251793503761, -0.032867517322301865, 0.06562130898237228, -0.006463566329330206, -0.029474619776010513, 0.0399945005774498, 0.028015105053782463, -0.06956389546394348, 0.051746439188718796, -0.008359040133655071, -0.054703377187252045, -0.07017044723033905, -0.03815589100122452, 0.04988887533545494, -0.032450512051582336, -0.0239019263535738, 0.0038288573268800974, -0.020736485719680786, -0.020224707201123238, 0.016765467822551727, 0.03935004025697708, 0.012813404202461243, -0.036449965089559555, 0.025285622105002403, -0.04344426095485687, -0.030763542279601097, -0.030270718038082123, 0.03474403917789459, 0.009008239954710007, -0.03298124670982361, 0.023939836770296097, 0.038478121161460876, -0.021532583981752396, -0.008321130648255348, -0.04871368035674095, -0.0014002813259139657, -0.07741115242242813, -0.018812578171491623, -0.011846711859107018, 0.0000016520609733561287, 0.03703756257891655, -0.008325869217514992, 0.01564713753759861, 0.01482260599732399, 0.03717024251818657, -0.019002126529812813, 0.013893824070692062, 0.05576484277844429, 0.0516706183552742, 0.0419657938182354, -0.003966279327869415, -0.02244241163134575, 0.08218774944543839, -0.009396811947226524, 0.027503326535224915, -0.016301074996590614, 0.04310307651758194, 0.007899387739598751, 0.01134441141039133, -0.007103288546204567, 0.021286172792315483, 0.01477521937340498, -0.03273483365774155, -0.0005126664764247835, -0.0026086459401994944, -0.009226219728589058, 0.03138905018568039, 0.02570262737572193, -0.026176495477557182, 0.008785521611571312, 0.015258565545082092, 0.03373943641781807, -0.04659074917435646, -0.026953639462590218, -0.00522203091531992, -0.03506626933813095, -0.08491723239421844, 0.011306501924991608, -0.00446621049195528, 0.03464926406741142, -0.023257466033101082, 0.0075534638017416, 0.002236659172922373, 0.0071885851211845875, -0.09113438427448273, 0.02992953360080719, 0.015950413420796394, 0.05811523273587227, -0.05223926156759262, -0.036487873643636703, 0.006008652504533529, -0.04799339920282364, -0.0017414666945114732, 0.09689662605524063, 0.036449965089559555, -0.04799339920282364, 0.011496049351990223, 0.002509133657440543, -0.002002094406634569, 0.019276969134807587, 0.017438359558582306, 0.012121555395424366, -0.005724331364035606, -0.013429433107376099, -0.011173819191753864, 0.028432108461856842, 0.03497149422764778, -0.0054542263969779015, -0.015324906446039677, 0.043557990342378616, -0.025873219594359398, 0.010301901027560234, -0.045301828533411026, -0.03427016735076904, 0.06611412763595581, 0.02570262737572193, -0.06562130898237228, 0.055272020399570465, 0.054703377187252045, -0.02691572904586792, -0.03406166657805443, -0.04014613851904869, -0.05542365834116936, 0.04389917477965355, -0.008866079151630402, 0.017533134669065475, 0.011676119640469551, -0.026176495477557182, 0.09075529128313065, -0.07058744877576828, 0.029531484469771385, -0.08051973581314087, 0.027749737724661827, 0.03294333815574646, -0.033910028636455536, -0.022650914266705513, -0.023067917674779892, 0.06292973458766937, 0.004814503714442253, -0.038705576211214066, -0.0556132048368454, -0.008785521611571312, -0.018035434186458588, 0.02738959901034832, -0.07657714933156967, -0.00825478881597519, 0.012576469220221043, 0.024527432397007942, 0.06637949496507645, 0.005738547537475824, -0.06979135423898697, 0.009373119100928307, -0.01439612451940775, -0.06660695374011993, 0.027692874893546104, 0.061527084559202194, 0.00955318845808506, 0.06289182603359222, 0.050002600997686386, -0.0326211079955101, 0.01663278415799141, -0.0030446050222963095, -0.006999037694185972, 0.011638210155069828, 0.022177044302225113, -0.002978263422846794, -0.00897980760782957, 0.033815253525972366, -0.016812853515148163, -0.00047534931218251586, 0.051367342472076416, 0.021608402952551842, 0.08370412886142731, -0.01228267140686512, -0.011581345461308956, -0.024205202236771584, -0.06854033470153809, -0.02720005065202713, -0.0355401374399662, -0.025759490206837654, -0.024622205644845963, -0.03783366084098816, -0.023447012528777122, 0.06505266577005386, -0.010387197136878967, 0.021608402952551842, 0.024773843586444855, -0.03171128034591675, -0.03595713898539543, -0.04894113540649414, 0.012292148545384407, -0.017059264704585075, -0.018196549266576767, 0.011770892888307571, -0.01917271874845028, -0.0024830708280205727, 0.0022947080433368683, -0.03582445904612541, -0.018547212705016136, 0.0013493405422195792, 0.04151087999343872, 0.013922256417572498, 0.05220135301351547, -0.022480320185422897, -0.04560510441660881, -0.006605726666748524, -0.03754933923482895, 0.005231508053839207, -0.009619530290365219, 0.0341564416885376, -0.025001300498843193, 0.015609228052198887, -0.0278066024184227, -0.043974995613098145, 0.08923891186714172, 0.04374753683805466, 0.025759490206837654, -0.008197925053536892, 0.022935234010219574, -0.02809092402458191, -0.008160015568137169, 0.009818554855883121, 0.019504426047205925, -0.030706677585840225, -0.0654696673154831, 0.026176495477557182, 0.048827409744262695, 0.016556965187191963, 0.047652214765548706, -0.007008514832705259, -0.04014613851904869, 0.05807732045650482, 0.023750288411974907, 0.024318929761648178, -0.0003488856600597501, 0.01666121557354927, 0.010320855304598808, 0.019447563216090202, -0.06770633161067963, -0.049813054502010345, 0.05891133099794388, 0.01612100563943386, -0.010197649709880352, -0.04640120267868042, -0.07327902317047119, 0.005240985658019781, 0.0026844649109989405, -0.014471943490207195, 0.042989347130060196, -0.007302313577383757, -0.00212648487649858, -0.04310307651758194, 0.024925481528043747, 0.08711598068475723, 0.038516029715538025, -0.031028907746076584, 0.01885048858821392, 0.02221495471894741, 0.04841040447354317, -0.009576882235705853, 0.018073344603180885, 0.004160565324127674, 0.02888702228665352, 0.01477521937340498, -0.06304346024990082, -0.029095524922013283, -0.0507228821516037, -0.03538849949836731, 0.0007528585847467184, 0.052921634167432785, -0.020452164113521576, 0.04909277334809303, 0.010823155753314495, -0.021816905587911606, -0.033151838928461075, 0.08112628757953644, -0.036487873643636703, -0.01976979337632656, -0.026707228273153305, 0.0555373877286911, -0.027844512835144997, 0.005155689083039761, -0.04245861619710922, -0.04405081272125244, -0.003700912930071354, 0.08650942891836166, -0.02649872563779354, -0.01685076393187046, 0.0399186797440052, 0.0034331772476434708, 0.05421055480837822, -0.06368792802095413, -0.03717024251818657, 0.00020020944066345692, -0.013002951629459858, 0.0055300453677773476, 0.04966141656041145, 0.008790260180830956, -0.021380946040153503, -0.040828507393598557, 0.021589448675513268, -0.07043581455945969, 0.04052523151040077, -0.013429433107376099, 0.0021087147761136293, 0.06129962578415871, -0.0369996502995491, -0.01799752563238144, 0.018395574763417244, -0.03318974748253822, 0.00814106035977602, 0.006695761810988188, 0.08256684243679047, 0.07039789855480194, -0.037719931453466415, -0.008368517272174358, -0.023409103974699974, 0.00618872232735157, 0.03646891936659813, -0.04295143857598305, 0.04135924205183983, -0.028716430068016052, -0.00626927986741066, -0.00118230190128088, -0.13996179401874542, -0.014585671946406364, -0.00807945802807808, -0.007283358834683895, -0.019845612347126007, -0.08218774944543839, -0.002757914597168565, 0.030422355979681015, -0.027636010199785233, -0.029796849936246872, -0.027219004929065704, -0.001004601246677339, 0.009226219728589058, -0.01586511731147766, 0.004970880225300789, 0.013628457672894001, 0.004741054028272629, -0.0390467643737793, 0.06672067940235138, -0.009960715658962727, -0.012519605457782745, 0.04913068562746048, 0.006397224497050047, 0.08211193233728409, 0.018243936821818352, 0.05872178450226784, 0.0278066024184227, -0.03222305700182915, 0.05132943391799927, 0.11008912324905396, 0.012301625683903694, -0.01922958344221115, 0.012235283851623535, 0.010737859643995762, 0.03161650523543358, -0.03195768967270851, -0.032962292432785034, 0.0857512429356575, 0.05398309603333473, 0.042572345584630966, 0.01669912599027157, -0.02691572904586792, 0.010226082056760788, 0.046135835349559784, -0.047500576823949814, 0.0002006536815315485, 0.04109387472271919, -0.046287473291158676, -0.015476544387638569, -0.05049542710185051, 0.016613829880952835, 0.04624956473708153, -0.004158196039497852, 0.02941775508224964, 0.04621165618300438, 0.003648787271231413, 0.02151362970471382, -0.09848882257938385, -0.0004404015198815614, -0.008927682414650917, 0.03646891936659813, -0.056826308369636536, 0.03406166657805443, 0.017542611807584763, -0.0021608402021229267, -0.034990448504686356, 0.02056589163839817, -0.025873219594359398, 0.023162690922617912, -0.007065379060804844, -0.01688867248594761, -0.010529357939958572, 0.0035421669017523527, 0.015817729756236076, -0.0040894849225878716, 0.009155139327049255, 0.010519880801439285, -0.004224537406116724, -0.0009666917030699551, 0.003537428332492709, 0.010387197136878967, -0.03504731133580208, -0.05204971507191658, 0.05106406658887863, -0.042193248867988586, 0.0248496625572443, -0.013675844296813011, -0.040070317685604095, -0.029588347300887108, -0.030270718038082123, 0.08203611522912979, 0.044960640370845795, -0.036866966634988785, -0.048069220036268234, -0.028128832578659058, 0.02329537458717823, 0.02526666782796383, -0.010131307877600193, 0.0039117843843996525, 0.04173833504319191, 0.00983751006424427, -0.041435059159994125, -0.02795824036002159, -0.042610254138708115, 0.08529632538557053, 0.05925251543521881, -0.09022455662488937, 0.028868068009614944, 0.024072518572211266, 0.03756829351186752, -0.0018765191780403256, 0.015779821202158928, 0.0007895833696238697, 0.02113453485071659, 0.0448848232626915, -0.0065062143839895725, 0.036070868372917175, -0.06607621908187866, 0.06376374512910843, -0.006207677070051432, 0.04037359356880188, -0.023219555616378784, 0.025911128148436546, -0.019921431317925453, 0.02894388698041439, -0.10705637186765671, -0.04715939238667488, -0.025588897988200188, 0.020679621025919914, -0.024451613426208496, 0.01101270318031311, 0.018291324377059937, -0.014310828410089016, -0.008240573108196259, -0.030005352571606636, 0.011164341121912003, -0.002079098019748926, 0.03271587938070297, 0.02466011606156826, -0.008368517272174358, 0.01952338218688965, 0.0326969251036644, 0.09242331236600876, 0.006771580781787634, 0.04662865772843361, 0.022233908995985985, 0.014718355610966682, 0.0025517817120999098, 0.040259867906570435, 0.023750288411974907, 0.04587046802043915, 0.04966141656041145, -0.06330882757902145, -0.014206577092409134, -0.018490348011255264, -0.06562130898237228, 0.024622205644845963, -0.011183296330273151, 0.0014216054696589708, -0.09477369487285614, -0.02357969619333744, 0.04128342121839523, -0.020679621025919914, -0.10296214371919632, -0.02386401779949665, 0.03811798244714737, 0.01837662048637867, 0.09128602594137192, 0.041055966168642044, -0.05811523273587227, 0.02361760474741459, 0.0375114306807518, -0.04799339920282364, 0.030896225944161415, -0.007946774363517761, 0.03186291828751564, -0.042382799088954926, -0.009036672301590443, -0.003286277875304222, -0.018480870872735977, -0.008937159553170204, 0.02107767015695572, 0.02122930809855461, 0.004290879238396883, -0.06645531952381134, -0.01174246147274971, 0.0146141042932868, 0.03440285101532936, -0.003025650279596448, 0.011761415749788284, 0.020926032215356827, 0.0486757718026638, -0.005127257201820612, 0.027181096374988556, 0.03885721415281296, -0.02136199176311493, -0.004226906690746546, -0.045718830078840256, 0.021892724558711052, -0.029626257717609406, 0.0021004220470786095, 0.019030557945370674, -0.01390330120921135, 0.041624609380960464, -0.030934134498238564, -0.05485501512885094, 0.03580550104379654, -0.03396689146757126, -0.024868618696928024, -0.052163444459438324, 0.010282945819199085, -0.023352239280939102, 0.03942585736513138, 0.00023471297754440457, 0.03557804599404335, -0.024622205644845963, -0.019400175660848618, -0.011496049351990223, -0.039880771189928055, -0.003418961074203253, 0.07073909044265747, -0.01869885064661503, -0.059745337814092636, -0.06243691220879555, -0.0051319957710802555, -0.08810162544250488, 0.014054939150810242, -0.05053333565592766, -0.033720482140779495, -0.01760895363986492, 0.04424036294221878, 0.014670968055725098, -0.018547212705016136, 0.005008789710700512, -0.01345786452293396, -0.015590272843837738, -0.02069857530295849, -0.003956801723688841, -0.03485776484012604, -0.011979395523667336, 0.0083021754398942, 0.010984271764755249, -0.001079827779904008, -0.05735704302787781, 0.015391248278319836, -0.07748697698116302, 0.014936334453523159, 0.004994574002921581, -0.008150537498295307, 0.016831807792186737, -0.0623990036547184, -0.05667467042803764, 0.01720142550766468, 0.014813128858804703, 0.03855393826961517, -0.017315154895186424, -0.02164631150662899, 0.010055488906800747, -0.045908380299806595, 0.016367416828870773, 0.0054021007381379604, 0.03662055730819702, -0.00031719572143629193, 0.006757364608347416, -0.006240847986191511, -0.009155139327049255, 0.04662865772843361, -0.027181096374988556, -0.007117504719644785, 0.040259867906570435, 0.0027626531664282084, 0.0107094282284379, 0.0107094282284379, 0.03783366084098816, 0.024110428988933563, 0.020357390865683556, 0.012728107161819935, 0.02174108661711216, 0.03571072965860367, 0.07362020760774612, -0.03806111589074135, -0.04329262301325798, 0.03436494246125221, 0.03466821834445, -0.010121830739080906, -0.006406702101230621, 0.04939604923129082, 0.06353628635406494, -0.002357495715841651, 0.0031370094511657953, 0.031881872564554214, -0.0011787478579208255, -0.00014423372340388596, 0.002173871733248234, -0.03332243114709854, 0.03916049003601074, -0.00010610211757011712, 0.06201990693807602, -0.02005411498248577, 0.018812578171491623, 0.031597550958395004, -0.004871367942541838, -0.041435059159994125, -0.02122930809855461, -0.01758052036166191, 0.010263991542160511, 0.045908380299806595, 0.03438389673829079, -0.007425519172102213, 0.02399669960141182, 0.014765742234885693, 0.010282945819199085, -0.03148382157087326, -0.03176814317703247, -0.007401825860142708, -0.023598650470376015, -0.0292282085865736, -0.04871368035674095, -0.006292973645031452, -0.0031062078196555376, 0.03770097717642784, 0.022802552208304405, -0.006823705974966288, 0.00005542040162254125, 0.012633333913981915, -0.0859028771519661, -0.023352239280939102, -0.02659349888563156, 0.022290773689746857, -0.03161650523543358, 0.03190082684159279, 0.016737034544348717, 0.011268592439591885, 0.05049542710185051, 0.027351688593626022, 0.016869718208909035, -0.007591373287141323, -0.0026915729977190495, 0.07324111461639404, 0.01815864071249962, -0.04897904768586159, -0.07343065738677979, -0.024906527251005173, 0.00038531431346200407, -0.006563078612089157, -0.0409422367811203, -0.011135909706354141, -0.025759490206837654, 0.0167844220995903, -0.0672135055065155, 0.011543435975909233, 0.0287922490388155, 0.010633609257638454, 0.02009202353656292, 0.008823431096971035, -0.022745687514543533, -0.020527983084321022 ]
41,979
rfc3339
_utc_offset
Return the UTC offset of `timestamp`. If `timestamp` does not have any `tzinfo`, use the timezone informations stored locally on the system. >>> if time.localtime().tm_isdst: ... system_timezone = -time.altzone ... else: ... system_timezone = -time.timezone >>> _utc_offset(datetime.now(), True) == system_timezone True >>> _utc_offset(datetime.now(), False) 0
def _utc_offset(timestamp, use_system_timezone): ''' Return the UTC offset of `timestamp`. If `timestamp` does not have any `tzinfo`, use the timezone informations stored locally on the system. >>> if time.localtime().tm_isdst: ... system_timezone = -time.altzone ... else: ... system_timezone = -time.timezone >>> _utc_offset(datetime.now(), True) == system_timezone True >>> _utc_offset(datetime.now(), False) 0 ''' if (isinstance(timestamp, datetime) and timestamp.tzinfo is not None): return _timedelta_to_seconds(timestamp.utcoffset()) elif use_system_timezone: if timestamp.year < 1970: # We use 1972 because 1970 doesn't have a leap day (feb 29) t = time.mktime(timestamp.replace(year=1972).timetuple()) else: t = time.mktime(timestamp.timetuple()) if time.localtime(t).tm_isdst: # pragma: no cover return -time.altzone else: return -time.timezone else: return 0
(timestamp, use_system_timezone)
[ 0.04648328199982643, -0.00866448413580656, 0.025417057797312737, 0.0713239461183548, 0.0158322062343359, -0.052730634808540344, -0.05098286271095276, 0.048788852989673615, -0.009013107977807522, 0.0030423307325690985, -0.018398083746433258, -0.03748411685228348, -0.02956336736679077, -0.036777570843696594, 0.055147767066955566, 0.12316210567951202, -0.04774762690067291, 0.019597351551055908, 0.007846377789974213, -0.03378405049443245, 0.04291336610913277, -0.04670640081167221, 0.0058940802700817585, 0.050685372203588486, 0.010607484728097916, 0.03648008033633232, -0.04436364397406578, -0.013824127614498138, -0.002298598177731037, -0.02480348013341427, 0.004983007907867432, 0.005136402789503336, -0.009687116369605064, -0.022051669657230377, -0.033412184566259384, 0.010533112101256847, -0.011183877475559711, 0.03863690420985222, -0.006884173955768347, -0.01841667667031288, 0.03871127590537071, -0.009059591218829155, 0.00010393371485406533, 0.009910236112773418, 0.014158807694911957, 0.014019357971847057, -0.022999927401542664, -0.03761427104473114, -0.06132074445486069, 0.05745333805680275, 0.042727433145046234, 0.062287598848342896, 0.010700451210141182, 0.038785651326179504, -0.007279281970113516, -0.030344286933541298, 0.029340246692299843, -0.009129316546022892, -0.09735458344221115, 0.00024331093300133944, -0.0369449108839035, 0.04551643133163452, -0.029526181519031525, 0.0178309865295887, 0.04726419970393181, -0.0012980456231161952, -0.004120742902159691, -0.05258188769221306, 0.012513299472630024, 0.0032979887910187244, -0.0069027673453092575, -0.014698013663291931, -0.01909533143043518, -0.05161503702402115, 0.04109122231602669, -0.007962586358189583, -0.029061347246170044, -0.011025834828615189, -0.0024636138696223497, 0.04083091393113136, -0.00606141984462738, 0.00508527085185051, 0.026830149814486504, 0.06217603757977486, 0.09296656399965286, 0.03508558124303818, -0.0005293283611536026, 0.010960757732391357, 0.03235236555337906, 0.07191893458366394, 0.029117127880454063, 0.015302296727895737, 0.07005960494279861, -0.015878688544034958, -0.021307935938239098, 0.0236692875623703, -0.029172908514738083, -0.022051669657230377, -0.017514901235699654, -0.03460215404629707, 0.05414372682571411, 0.01652945578098297, -0.012838682159781456, -0.00012071127275703475, 0.029228687286376953, 0.03683335334062576, -0.0028982325457036495, -0.020322490483522415, 0.018258633092045784, -0.000018302791431779042, 0.03607102856040001, -0.0542924739420414, -0.06953898817300797, -0.0029772541020065546, -0.0014572509098798037, -0.05458996444940567, 0.0020905856508761644, 0.042095258831977844, -0.03859971836209297, -0.0015571899712085724, -0.02697889693081379, 0.02640250325202942, 0.0071863154880702496, -0.06433286517858505, -0.008274024352431297, -0.07318327575922012, 0.03491824120283127, 0.029916640371084213, 0.016910618171095848, 0.013740458525717258, 0.02411552704870701, -0.005508268717676401, 0.009431458078324795, -0.004797074478119612, -0.0041416604071855545, 0.029117127880454063, 0.05726740509271622, 0.05183815583586693, -0.056560859084129333, 0.028206055983901024, 0.02504519186913967, 0.03237095847725868, 0.02824324183166027, 0.012978131882846355, -0.03780020400881767, 0.05641211196780205, -0.03757708519697189, -0.010328585281968117, 0.003995237872004509, -0.04395459219813347, 0.0369449108839035, -0.048454172909259796, -0.038860023021698, 0.05310250073671341, -0.04648328199982643, -0.030716152861714363, 0.017598571255803108, -0.04008718207478523, 0.02813168242573738, -0.025249719619750977, -0.053251247853040695, 0.04447520524263382, -0.01852823607623577, -0.08419051766395569, -0.018277226015925407, 0.004973710980266333, -0.014140214771032333, 0.012903759256005287, 0.00604282645508647, -0.003244532970711589, 0.020303897559642792, 0.017979733645915985, 0.05882924050092697, -0.009556963108479977, 0.04116559401154518, -0.010458738543093204, -0.014725903980433941, 0.001090614008717239, -0.02932165376842022, 0.026049230247735977, 0.057936761528253555, 0.04001281037926674, -0.0399012491106987, -0.009226931259036064, 0.013824127614498138, 0.01215073000639677, 0.020601389929652214, 0.024338645860552788, -0.006688944064080715, 0.03436044231057167, 0.015627678483724594, 0.034434814006090164, 0.02069435641169548, 0.034267473965883255, -0.009245525114238262, 0.041351526975631714, 0.02229338139295578, 0.03687053918838501, -0.026105010882019997, -0.011425591073930264, -0.04202088713645935, 0.02121496945619583, -0.01771942712366581, -0.033244844526052475, -0.015079176984727383, 0.004522823262959719, -0.05470152571797371, -0.01257837563753128, -0.08597547560930252, -0.07697631418704987, 0.024617545306682587, -0.04224400594830513, 0.027518102899193764, 0.020266711711883545, 0.014335444197058678, 0.0745219960808754, -0.02595626376569271, 0.02645828388631344, -0.04819386824965477, 0.04934665188193321, 0.041983701288700104, -0.013480152003467083, -0.015636976808309555, -0.007181667257100344, 0.07474511861801147, -0.009226931259036064, 0.02309289388358593, -0.04265305772423744, 0.026197977364063263, -0.03543885424733162, 0.01796114072203636, -0.004899337887763977, -0.013535931706428528, 0.011983389966189861, 0.07861252874135971, 0.02275821566581726, 0.012178619392216206, -0.03199909254908562, 0.00974289607256651, -0.009273414500057697, -0.0691671222448349, 0.010040388442575932, 0.07150988280773163, 0.018649091944098473, -0.010077575221657753, 0.03028850629925728, -0.056672416627407074, 0.04700389504432678, 0.018611906096339226, 0.0025147455744445324, 0.0031143799424171448, 0.018054107204079628, 0.03508558124303818, 0.019076738506555557, 0.028856821358203888, -0.052284397184848785, 0.010979351587593555, 0.033765457570552826, -0.014902540482580662, 0.09884204715490341, -0.007623258046805859, -0.0425415001809597, -0.04585110768675804, -0.030139759182929993, -0.06507659703493118, -0.01778450421988964, 0.01691991463303566, -0.006795855704694986, -0.039008770138025284, 0.025993451476097107, 0.04283899441361427, -0.03737255930900574, 0.019355637952685356, -0.030455846339464188, 0.008301913738250732, -0.03471371531486511, 0.019597351551055908, -0.007641851436346769, -0.01180675346404314, 0.020601389929652214, -0.004829613026231527, -0.0015083824982866645, 0.0008518061367794871, 0.02275821566581726, -0.04075654223561287, -0.0478963740170002, -0.0020963959395885468, 0.01257837563753128, -0.0012004307936877012, 0.0015444069867953658, 0.0038186016026884317, -0.03761427104473114, 0.03499261289834976, -0.04555361717939377, 0.017635757103562355, 0.02584470435976982, -0.07545166462659836, -0.011750973761081696, 0.029451807960867882, -0.011239657178521156, -0.018398083746433258, 0.07173299789428711, 0.03956656903028488, 0.04875166714191437, 0.03949219733476639, 0.04454957693815231, 0.007641851436346769, 0.01246681623160839, 0.03631274029612541, 0.03207346424460411, 0.0108956815674901, -0.038860023021698, 0.03424888104200363, 0.019299859181046486, -0.004671569913625717, 0.011165284551680088, 0.03108801878988743, -0.0020522368140518665, 0.02881963551044464, 0.01532088965177536, 0.020601389929652214, -0.005266556050628424, 0.05224720761179924, 0.004439153242856264, 0.02218182198703289, -0.04361991211771965, -0.00954766571521759, 0.020434049889445305, 0.010746934451162815, 0.013043208979070187, -0.0451817512512207, -0.052284397184848785, -0.03819066286087036, 0.021995889022946358, -0.011732379905879498, 0.009733599610626698, -0.04533049464225769, -0.026383910328149796, -0.00978008285164833, -0.020024998113512993, 0.02956336736679077, 0.032315175980329514, 0.007967234589159489, -0.0005833652103319764, 0.02086169645190239, 0.05235876888036728, -0.019746098667383194, 0.04440082982182503, -0.009947421960532665, 0.041425902396440506, 0.005024842917919159, 0.012847979553043842, -0.03607102856040001, -0.012076356448233128, -0.022423535585403442, -0.012764309532940388, 0.029470400884747505, -0.02749950997531414, 0.060130774974823, 0.01766364648938179, -0.06414692848920822, -0.040607795119285583, 0.08738856762647629, -0.0435827262699604, -0.04031030088663101, 0.00032247777562588453, 0.014642233960330486, -0.06020514667034149, -0.024915039539337158, -0.05987046658992767, -0.046222977340221405, -0.05116879567503929, 0.05689553543925285, -0.05247033014893532, 0.029544774442911148, -0.0034815978724509478, 0.0003457193961367011, 0.0361454002559185, -0.07481949031352997, 0.008436715230345726, 0.014986210502684116, -0.015971655026078224, -0.03833940997719765, 0.02578892558813095, 0.06347756832838058, 0.01954157091677189, -0.024320052936673164, -0.010923570953309536, -0.05499901995062828, -0.026792963966727257, -0.009450051002204418, 0.0021591484546661377, 0.07050584256649017, -0.05031350255012512, -0.036442894488573074, 0.05481308698654175, -0.06857213377952576, 0.009631335735321045, 0.05001601204276085, -0.017226703464984894, 0.03493683412671089, -0.017236001789569855, -0.009106074459850788, -0.020954662933945656, 0.03220361843705177, 0.05574275180697441, -0.027294982224702835, 0.009947421960532665, -0.03683335334062576, 0.05540807172656059, -0.07742255181074142, -0.11483229696750641, 0.008622649125754833, -0.03289157152175903, 0.012048467062413692, 0.0037628216668963432, -0.04168620705604553, -0.004325269255787134, 0.06347756832838058, -0.020322490483522415, 0.0051596444100141525, -0.061432305723428726, -0.018016919493675232, 0.0013619601959362626, 0.04759887978434563, -0.006605274509638548, -0.004155605565756559, -0.004020804073661566, -0.041500274091959, 0.053251247853040695, 0.0008384421817027032, -0.060614198446273804, -0.00330728548578918, 0.005875486880540848, 0.035699158906936646, 0.017635757103562355, 0.07437325268983841, -0.019653132185339928, -0.04737576097249985, 0.06470473110675812, 0.09847018122673035, -0.00900381151586771, 0.0034374387469142675, 0.04956977069377899, -0.006944602355360985, -0.010198432020843029, -0.03127395361661911, -0.012039169669151306, 0.04269024729728699, 0.02727638930082321, 0.003604778554290533, -0.019002364948391914, -0.06046545132994652, -0.008604055270552635, -0.02006218396127224, -0.06009358540177345, -0.05384623259305954, 0.0007088700658641756, -0.07046865671873093, 0.0005008573643863201, -0.10724622756242752, -0.003923188894987106, 0.05652366951107979, 0.012271586805582047, 0.057193029671907425, -0.039194703102111816, -0.01066326443105936, -0.0017094226786866784, -0.06500221788883209, 0.038450971245765686, 0.049830079078674316, -0.026049230247735977, -0.03125535696744919, 0.016194775700569153, -0.005935915280133486, -0.016668904572725296, -0.07177018374204636, 0.005791816860437393, -0.039752501994371414, 0.04510737583041191, -0.053028129041194916, 0.03365389630198479, -0.008878306485712528, -0.018026215955615044, -0.005749981850385666, -0.026681404560804367, -0.03908314183354378, -0.028206055983901024, 0.02681155689060688, -0.030790526419878006, 0.011211767792701721, 0.0457395501434803, 0.016073917970061302, -0.06704748421907425, 0.00820429902523756, -0.03532729297876358, 0.06418411433696747, 0.044847071170806885, 0.029972421005368233, -0.027964342385530472, -0.030511626973748207, 0.09609024226665497, 0.016018139198422432, -0.001270155655220151, -0.02229338139295578, -0.027480917051434517, 0.004573954734951258, -0.02720201574265957, 0.025937670841813087, 0.022144636139273643, -0.0058336518704891205, 0.04510737583041191, 0.01880713552236557, -0.007265336811542511, -0.016445785760879517, 0.0798024982213974, 0.002570525510236621, -0.049011971801519394, 0.06254790723323822, -0.005796465091407299, 0.012392442673444748, -0.01800762303173542, -0.018156370148062706, 0.002951688366010785, 0.011137394234538078, 0.058568935841321945, -0.045070189982652664, 0.04945821315050125, -0.017933249473571777, -0.0003587928367778659, -0.008088091388344765, -0.04391740635037422, -0.007841729559004307, 0.0035350536927580833, 0.029823673889040947, 0.0361454002559185, -0.057416148483753204, -0.07630695402622223, -0.05224720761179924, 0.011797457002103329, 0.009947421960532665, -0.0691671222448349, 0.06667561829090118, 0.05905236303806305, -0.03240814432501793, -0.010877087712287903, -0.04990445077419281, 0.007641851436346769, 0.026328131556510925, 0.04127715528011322, -0.022962741553783417, -0.01388920471072197, 0.05778801441192627, 0.07943063229322433, 0.04042186215519905, 0.05934985354542732, -0.03372826799750328, 0.04391740635037422, -0.017923953011631966, 0.03540166839957237, 0.005856893490999937, 0.005768575239926577, 0.006084661465138197, -0.008506440557539463, -0.06939024478197098, -0.03897158429026604, -0.050276316702365875, -0.014707310125231743, 0.009835862554609776, 0.0329473502933979, -0.02943321317434311, -0.006093958392739296, 0.004508878570050001, -0.03480667993426323, -0.04737576097249985, 0.01128614041954279, 0.016780463978648186, -0.012699232436716557, 0.08128996193408966, 0.024896446615457535, -0.04057060927152634, -0.03423028811812401, 0.014828166924417019, 0.007181667257100344, 0.005954508204013109, -0.05897798761725426, 0.027908561751246452, -0.045367684215307236, 0.0062287598848342896, -0.03205487132072449, -0.003428142052143812, -0.0009668522397987545, 0.05072255805134773, 0.02000640518963337, -0.00859940703958273, -0.060688573867082596, -0.013489448465406895, -0.014186698012053967, 0.05455277860164642, -0.005136402789503336, 0.011165284551680088, 0.014047247357666492, 0.010077575221657753, -0.0217913631349802, 0.05194971710443497, 0.012448223307728767, -0.09556962549686432, -0.017747316509485245, -0.059944842010736465, -0.012587673030793667, 0.0011231523239985108, -0.02532409131526947, 0.015330186113715172, -0.04283899441361427, 0.06295695900917053, -0.01180675346404314, -0.024729106575250626, 0.032222211360931396, -0.01788676716387272, -0.014465597458183765, -0.013461558148264885, 0.014586454257369041, -0.0249894130975008, -0.017254594713449478, -0.024394426494836807, 0.0068423389457166195, 0.0013852018164470792, -0.04190932586789131, -0.010477331466972828, 0.03263126313686371, 0.004011507146060467, 0.04291336610913277, 0.04503300413489342, -0.025082379579544067, -0.00978008285164833, 0.002304408699274063, -0.06184135749936104, -0.015544009394943714, -0.006879525724798441, 0.00788821280002594, -0.016427190974354744, 0.04614860191941261, 0.009947421960532665, -0.001420064247213304, 0.004278786014765501, -0.0023462437093257904, 0.016148291528224945, 0.016901321709156036, 0.034788087010383606, 0.01697569526731968, -0.0004976616473868489, 0.009584852494299412, 0.06686155498027802, 0.013191955164074898, -0.06582032889127731, -0.0012852627551183105, -0.06031670793890953, 0.051131609827280045, 0.050053197890520096, -0.060130774974823, -0.03993843495845795, -0.04231838136911392, -0.08701670169830322, 0.06600625813007355, 0.030381472781300545, -0.028038715943694115, -0.029581960290670395, -0.04339679330587387, 0.05328843370079994, -0.043768659234046936, 0.014307553879916668, 0.02984226681292057, 0.00859940703958273, 0.014316851273179054, 0.021252157166600227, -0.053362809121608734, -0.050908491015434265, 0.042504314333200455, -0.020712951198220253, -0.016046028584241867, 0.004783129785209894, 0.021363716572523117, -0.002178903901949525, 0.014874650165438652, 0.02967492677271366, 0.01584150269627571, 0.057713642716407776, 0.0060567716136574745, 0.015283702872693539, -0.004783129785209894, 0.038450971245765686, -0.06020514667034149, -0.001142326625995338, 0.09750333428382874, 0.026551250368356705, -0.043694283813238144, -0.021084817126393318, 0.09861893206834793, 0.032222211360931396, -0.0028354802634567022, 0.011118801310658455, 0.005935915280133486, -0.006451879628002644, 0.003930161707103252, -0.046669214963912964, 0.011128097772598267, -0.04912353307008743, -0.016334224492311478, 0.002456641523167491, -0.0034839219879359007, -0.020396864041686058, 0.00700038205832243, 0.011304734274744987, -0.0633288249373436, -0.00130036985501647, 0.025342686101794243, -0.009789379313588142, 0.011230360716581345, 0.04406614974141121, -0.004745943006128073, -0.025231124833226204, 0.023576321080327034, 0.005787168629467487, 0.024561766535043716, -0.036554452031850815, -0.0015293000033125281, -0.04521893709897995, -0.04339679330587387, -0.042392753064632416, 0.017905360087752342, 0.024784885346889496, -0.024915039539337158, 0.013907797634601593, 0.021307935938239098, 0.0020557232201099396, 0.0019813498947769403, -0.05425528809428215, -0.02257228083908558, -0.03912033140659332, -0.0012782902922481298, -0.006907415576279163, 0.005229369271546602, -0.0207501370459795, 0.0478963740170002, -0.00228000502102077, -0.012271586805582047, -0.0236692875623703, 0.01858401671051979, 0.028726669028401375, 0.04265305772423744, 0.034843869507312775, -0.049011971801519394, -0.03285438194870949, -0.01931845210492611, 0.02515675127506256, 0.02887541428208351, -0.005164292640984058, -0.00590337673202157, 0.018044810742139816, 0.03893439844250679, -0.07560040801763535, -0.012522595934569836, -0.021735582500696182, 0.04008718207478523, 0.028856821358203888, -0.02915431372821331, -0.10828745365142822, 0.024896446615457535 ]
41,982
rfc3339
format
Return a string formatted according to the :RFC:`3339`. If called with `utc=True`, it normalizes `timestamp` to the UTC date. If `timestamp` does not have any timezone information, uses the local timezone:: >>> d = datetime(2008, 4, 2, 20) >>> rfc3339(d, utc=True, use_system_timezone=False) '2008-04-02T20:00:00Z' >>> rfc3339(d) # doctest: +ELLIPSIS '2008-04-02T20:00:00...' If called with `use_system_timezone=False` don't use the local timezone if `timestamp` does not have timezone informations and consider the offset to UTC to be zero:: >>> rfc3339(d, use_system_timezone=False) '2008-04-02T20:00:00+00:00' `timestamp` must be a `datetime`, `date` or a timestamp as returned by `time.time()`:: >>> rfc3339(0, utc=True, use_system_timezone=False) '1970-01-01T00:00:00Z' >>> rfc3339(date(2008, 9, 6), utc=True, ... use_system_timezone=False) '2008-09-06T00:00:00Z' >>> rfc3339(date(2008, 9, 6), ... use_system_timezone=False) '2008-09-06T00:00:00+00:00' >>> rfc3339('foo bar') # doctest: +ELLIPSIS Traceback (most recent call last): ... TypeError: Expected timestamp or date object. Got <... 'str'>. For dates before January 1st 1970, the timezones will be the ones used in 1970. It might not be accurate, but on most sytem there is no timezone information before 1970.
def format(timestamp, utc=False, use_system_timezone=True): ''' Return a string formatted according to the :RFC:`3339`. If called with `utc=True`, it normalizes `timestamp` to the UTC date. If `timestamp` does not have any timezone information, uses the local timezone:: >>> d = datetime(2008, 4, 2, 20) >>> rfc3339(d, utc=True, use_system_timezone=False) '2008-04-02T20:00:00Z' >>> rfc3339(d) # doctest: +ELLIPSIS '2008-04-02T20:00:00...' If called with `use_system_timezone=False` don't use the local timezone if `timestamp` does not have timezone informations and consider the offset to UTC to be zero:: >>> rfc3339(d, use_system_timezone=False) '2008-04-02T20:00:00+00:00' `timestamp` must be a `datetime`, `date` or a timestamp as returned by `time.time()`:: >>> rfc3339(0, utc=True, use_system_timezone=False) '1970-01-01T00:00:00Z' >>> rfc3339(date(2008, 9, 6), utc=True, ... use_system_timezone=False) '2008-09-06T00:00:00Z' >>> rfc3339(date(2008, 9, 6), ... use_system_timezone=False) '2008-09-06T00:00:00+00:00' >>> rfc3339('foo bar') # doctest: +ELLIPSIS Traceback (most recent call last): ... TypeError: Expected timestamp or date object. Got <... 'str'>. For dates before January 1st 1970, the timezones will be the ones used in 1970. It might not be accurate, but on most sytem there is no timezone information before 1970. ''' return _format(timestamp, _string, utc, use_system_timezone)
(timestamp, utc=False, use_system_timezone=True)
[ -0.023260412737727165, 0.048093993216753006, 0.008661787956953049, 0.05974292755126953, -0.01775432378053665, -0.040265608578920364, -0.03030221164226532, 0.0334298200905323, 0.03144463151693344, -0.07423854619264603, -0.001529859029687941, 0.014401978813111782, -0.06873246282339096, -0.0012255259789526463, 0.04329957813024521, 0.09903467446565628, -0.0806061327457428, 0.0023515585344284773, -0.013662215322256088, -0.038186781108379364, 0.021106671541929245, -0.06131609529256821, -0.02805482968688011, 0.0701557993888855, 0.05584746599197388, -0.01665872521698475, 0.023035673424601555, -0.012463610619306564, -0.04491019994020462, 0.0008527179015800357, 0.07521241158246994, 0.0257512629032135, 0.00897548533976078, 0.007430409546941519, -0.0239908117800951, -0.040640171617269516, -0.08382738381624222, 0.012444882653653622, -0.03247468173503876, 0.004630545154213905, 0.004326212219893932, 0.04412361606955528, -0.034347500652074814, -0.022211633622646332, -0.010431601665914059, 0.02545161172747612, 0.03320508077740669, 0.059780385345220566, -0.119410939514637, 0.03809313848614693, 0.013437476940453053, 0.028953783214092255, -0.0017943948041647673, 0.002324636559933424, -0.04775688424706459, -0.0016726615140214562, 0.033504731953144073, 0.040190696716308594, 0.026331836357712746, -0.017510857433080673, -0.022249089553952217, 0.04850601404905319, -0.026893680915236473, 0.02253001369535923, -0.04880566522479057, 0.006700010038912296, -0.010328597389161587, -0.03178174048662186, 0.02629438042640686, -0.0022075853776186705, 0.021855797618627548, 0.017089473083615303, 0.0064705898985266685, -0.038954637944698334, 0.04622117429971695, 0.059780385345220566, -0.041876234114170074, 0.0633387416601181, 0.013727763667702675, 0.037250369787216187, 0.03659488260746002, 0.007692604325711727, -0.03569593280553818, 0.040640171617269516, 0.03427258878946304, 0.0177262332290411, -0.009490510448813438, 0.032175030559301376, 0.05581000819802284, 0.039179373532533646, 0.00784711167216301, -0.0154601214453578, 0.06509918719530106, 0.02161233127117157, -0.04700775817036629, 0.007552142720669508, -0.029009968042373657, -0.07266537845134735, -0.03992850333452225, -0.01003830973058939, 0.030358396470546722, -0.022211633622646332, -0.10337961465120316, 0.013540482148528099, 0.03339236229658127, 0.02414063736796379, 0.004281732719391584, -0.02891632542014122, 0.04667064920067787, -0.007823701947927475, 0.0063441745005548, -0.05419938266277313, -0.03768111765384674, 0.009607561863958836, 0.008240403607487679, -0.014692265540361404, 0.01777305267751217, 0.0035232407972216606, 0.01003830973058939, -0.027006050571799278, 0.004007832612842321, 0.02651911787688732, -0.010150679387152195, -0.019627144560217857, -0.006334810517728329, -0.026238195598125458, -0.049180228263139725, 0.003965694457292557, 0.07963226735591888, -0.03215630352497101, 0.02084447629749775, 0.06730911880731583, 0.028260840103030205, -0.019870610907673836, 0.03884226828813553, 0.0050285193137824535, -0.00386503036133945, 0.029777823016047478, -0.01795097067952156, 0.09221760928630829, 0.013362564146518707, -0.034403685480356216, 0.034122761338949203, -0.028317024931311607, -0.019421134144067764, 0.04719503968954086, -0.02515196055173874, -0.03799949958920479, -0.014055507257580757, 0.05742063373327255, 0.07637356221675873, 0.02307313121855259, 0.010291140526533127, 0.05854432284832001, -0.028953783214092255, -0.056783873587846756, 0.013334471732378006, -0.06757131218910217, 0.06172811612486839, 0.014355158433318138, -0.023054402321577072, -0.010319232940673828, 0.02344769425690174, -0.03768111765384674, 0.025489067658782005, 0.04255044832825661, 0.019439861178398132, -0.0472324974834919, -0.02200562320649624, -0.008694562129676342, 0.007786245085299015, 0.004298119805753231, 0.009982125833630562, 0.027006050571799278, 0.01680855080485344, 0.003719886764883995, 0.002589172450825572, 0.019739512354135513, -0.06199030950665474, 0.026200737804174423, 0.059630557894706726, 0.00248148525133729, -0.004511152859777212, -0.016696181148290634, 0.018503451719880104, 0.0382242351770401, -0.028504306450486183, 0.0015848730690777302, 0.010047674179077148, 0.020020436495542526, 0.01591896265745163, 0.004110837820917368, -0.013680943287909031, 0.0409398227930069, -0.024627570062875748, 0.043486859649419785, -0.010113222524523735, -0.02753043919801712, -0.006231805309653282, -0.015057465061545372, -0.030976427718997, 0.02784881927073002, -0.018213165923953056, -0.04704521596431732, 0.005566954612731934, 0.008947392925620079, -0.022942032665014267, -0.053412798792123795, -0.073676697909832, -0.06097899004817009, -0.004745255224406719, -0.07405126839876175, -0.01864391379058361, 0.039254289120435715, -0.008788203820586205, 0.0053796726278960705, -0.016518263146281242, 0.02721206098794937, -0.027474256232380867, 0.01230442151427269, -0.0011997746769338846, -0.00310419755987823, -0.022249089553952217, -0.051165416836738586, 0.030096203088760376, 0.03444114327430725, 0.04352431371808052, -0.037175457924604416, -0.03820550814270973, -0.036182865500450134, 0.07236573100090027, -0.04108965024352074, -0.003080787369981408, 0.02653784677386284, -0.0014830385334789753, 0.014935731887817383, 0.00872733723372221, -0.026650214567780495, 0.040190696716308594, -0.031332261860370636, 0.0056325034238398075, -0.000838086532894522, 0.04768197238445282, -0.03299907222390175, 0.03389802575111389, 0.010319232940673828, -0.032343585044145584, 0.03251213952898979, -0.014364521950483322, 0.009139357134699821, -0.0674963966012001, 0.0889214500784874, -0.01936494931578636, 0.02376607432961464, -0.01923385076224804, -0.06382567435503006, 0.026032185181975365, 0.042812641710042953, 0.001151198404841125, 0.037643663585186005, -0.004607134964317083, -0.01676173135638237, -0.05869415029883385, -0.0025774671230465174, -0.0044502862729132175, -0.08704862743616104, 0.01564740389585495, -0.012323149479925632, -0.03181919455528259, 0.011480380780994892, -0.06262706965208054, -0.023503879085183144, 0.02721206098794937, -0.027717722579836845, -0.04000341519713402, -0.06135355308651924, -0.023241683840751648, 0.016527628526091576, 0.044086162000894547, 0.03483443334698677, -0.005065975710749626, 0.026874953880906105, 0.019664600491523743, 0.05292586609721184, 0.017960334196686745, -0.009275136515498161, -0.017969699576497078, 0.029702909290790558, -0.053487710654735565, 0.002523623639717698, -0.0064752716571092606, -0.023091858252882957, 0.05734571814537048, -0.049704618752002716, -0.0459589809179306, -0.002692177426069975, -0.03784967213869095, -0.07465057075023651, 0.05562272667884827, -0.05198945850133896, -0.04959224909543991, 0.11191966384649277, 0.0756993442773819, 0.05434921011328697, 0.06367585062980652, -0.036107949912548065, -0.05434921011328697, -0.06356348097324371, -0.019645871594548225, 0.001731187105178833, -0.022661110386252403, -0.052176740020513535, -0.0030948335770517588, 0.008849070407450199, 0.0465957373380661, 0.0627019852399826, -0.0037924586795270443, -0.04678301885724068, 0.038186781108379364, 0.011986042372882366, 0.001363646355457604, 0.0035045125987380743, 0.07671067118644714, 0.025432882830500603, 0.003148677060380578, -0.07124203443527222, -0.05719589442014694, 0.06566103547811508, -0.02490849420428276, 0.034497328102588654, -0.03884226828813553, -0.030508222058415413, 0.01369030773639679, 0.021631060168147087, -0.04344940185546875, 0.016920920461416245, 0.027492983266711235, -0.05536052957177162, 0.0382804200053215, -0.02131268009543419, 0.02421555109322071, 0.04176386445760727, -0.002891164505854249, -0.011873672716319561, -0.0154882138594985, 0.057645369321107864, 0.0027085645124316216, 0.020245173946022987, 0.030021289363503456, -0.031557001173496246, -0.03416021913290024, -0.05243893340229988, -0.015712952241301537, 0.042325709015131, -0.042400624603033066, -0.008399593643844128, 0.04843110218644142, 0.0018341921968385577, 0.018700098618865013, 0.008614967577159405, -0.0465957373380661, -0.03196902200579643, 0.04985444247722626, -0.05037883296608925, 0.01287563145160675, 0.034553512930870056, 0.050566114485263824, -0.02869158796966076, -0.0004825435462407768, -0.08068104833364487, -0.02223036251962185, -0.040715087205171585, 0.04775688424706459, -0.0570460669696331, -0.007126076612621546, -0.030114930123090744, -0.012501067481935024, 0.028785228729248047, -0.056484222412109375, -0.0513901561498642, 0.0032680693548172712, 0.026818769052624702, 0.010712524875998497, -0.005234529264271259, 0.015806593000888824, 0.0029894874896854162, -0.027080964297056198, -0.012547887861728668, -0.013297014869749546, 0.004415170755237341, -0.04562187194824219, -0.0012149913236498833, 0.0826287791132927, -0.033167626708745956, -0.07798418402671814, 0.034572239965200424, -0.002724951831623912, -0.007622373756021261, 0.046483367681503296, 0.0022298251278698444, 0.017838601022958755, -0.07161659747362137, -0.011508473195135593, -0.012669621035456657, -0.0036028355825692415, 0.1015067920088768, 0.010103859007358551, 0.015010644681751728, -0.015432029031217098, 0.03977867588400841, -0.010553335770964622, -0.061952855437994, -0.04329957813024521, -0.016443351283669472, 0.03299907222390175, 0.04899294674396515, -0.06412532180547714, 0.01003830973058939, 0.03773730248212814, 0.04146421328186989, -0.021631060168147087, -0.015787864103913307, -0.004656296223402023, 0.05727080628275871, 0.0513901561498642, 0.01037541776895523, 0.009448371827602386, 0.0007491276483051479, -0.007191624958068132, 0.01621861383318901, -0.014626717194914818, 0.020020436495542526, -0.03247468173503876, 0.0059555647894740105, 0.024889765307307243, -0.0043379170820117, 0.01975824125111103, 0.0479816235601902, -0.037344012409448624, 0.013353199698030949, 0.09581342339515686, 0.02369116060435772, -0.04296246916055679, -0.00029906578129157424, 0.00010929654672509059, 0.0026992005296051502, -0.026107097044587135, 0.008521326817572117, 0.0067749228328466415, 0.043037381023168564, 0.038954637944698334, 0.033504731953144073, -0.03436623141169548, 0.031500816345214844, -0.054798685014247894, -0.0501166395843029, 0.0093828234821558, 0.001027124235406518, -0.05884397402405739, 0.004068699199706316, -0.03854261711239815, 0.007013707421720028, 0.0576828271150589, 0.037175457924604416, -0.011124544776976109, -0.01572231575846672, -0.009284500032663345, -0.03313016891479492, -0.07536223530769348, 0.035714659839868546, 0.032100118696689606, 0.0032095436472445726, -0.039329200983047485, 0.023953355848789215, 0.01990806683897972, 0.010815530084073544, -0.03416021913290024, -0.02854176238179207, -0.040415436029434204, 0.0184472668915987, -0.05176471918821335, 0.012903722934424877, -0.030864058062434196, 0.03612668067216873, 0.054873596876859665, -0.01945859007537365, 0.015628674998879433, 0.005506088025867939, 0.04416107386350632, 0.016780458390712738, -0.020807020366191864, 0.00856814719736576, 0.03474079445004463, -0.016846006736159325, 0.028710316866636276, -0.012426154688000679, -0.018203800544142723, -0.007622373756021261, -0.025114502757787704, -0.02874777279794216, -0.03075168840587139, 0.07659830152988434, 0.03292416036128998, 0.03421640396118164, 0.030714232474565506, -0.014664173126220703, -0.05030392110347748, -0.006405041087418795, 0.05438666418194771, -0.035396281629800797, -0.01894356496632099, -0.005810420960187912, 0.028354480862617493, -0.008188901469111443, -0.04090236872434616, 0.017960334196686745, 0.018512817099690437, -0.035958126187324524, -0.01088107842952013, -0.0007502981461584568, -0.0021268201526254416, 0.056559134274721146, 0.01058142725378275, 0.0034600330982357264, 0.030283484607934952, 0.02131268009543419, 0.008043757639825344, 0.04573424160480499, 0.016771094873547554, -0.03391675278544426, 0.05989275500178337, 0.028953783214092255, 0.015385208651423454, -0.0006513898842968047, 0.020956845954060555, 0.0009129992686212063, -0.06034222990274429, -0.027006050571799278, -0.04075254127383232, -0.026088370010256767, -0.01752958633005619, 0.009008259512484074, 0.037250369787216187, 0.020095348358154297, -0.04562187194824219, -0.043486859649419785, 0.03230612725019455, -0.04045289009809494, 0.022586198523640633, -0.015432029031217098, 0.027474256232380867, -0.04753214865922928, 0.07034308463335037, 0.0818796455860138, -0.010899807326495647, 0.020807020366191864, -0.033579643815755844, 0.05082830786705017, -0.0067936512641608715, -0.007252492010593414, 0.009415597654879093, 0.05004172399640083, 0.022736024111509323, 0.03313016891479492, -0.06577340513467789, -0.010150679387152195, 0.012819446623325348, 0.0048225088976323605, -0.002591513330116868, 0.036651067435741425, -0.029702909290790558, 0.029571812599897385, 0.03554610535502434, 0.026425477117300034, -0.0163122545927763, 0.030864058062434196, 0.010356689803302288, -0.0253766980022192, 0.04060271754860878, 0.029665453359484673, 0.002778795314952731, -0.058394499123096466, 0.010019581764936447, -0.06277689337730408, 0.0017955652438104153, -0.008549419231712818, 0.035733386874198914, -0.0031627232674509287, -0.031875379383563995, -0.03174428269267082, 0.03704436123371124, -0.018156981095671654, 0.09551376849412918, 0.007467865943908691, 0.0020718059968203306, -0.06157828867435455, -0.017173750326037407, -0.02914106473326683, 0.02475866861641407, -0.010618884116411209, -0.034347500652074814, 0.04768197238445282, -0.009879120625555515, 0.02859794721007347, 0.013016092590987682, -0.007224399596452713, -0.012379334308207035, -0.0019723125733435154, -0.018082067370414734, 0.0015719975344836712, -0.018110159784555435, 0.01518856268376112, 0.013886953704059124, -0.032025206834077835, 0.10382908582687378, -0.01260407269001007, -0.055959831923246384, 0.020900661125779152, -0.026107097044587135, -0.09304165095090866, -0.014018050394952297, 0.015272838994860649, -0.03221248835325241, 0.047269951552152634, 0.005009790882468224, -0.0032306129578500986, -0.019552230834960938, -0.03309271112084389, -0.056559134274721146, -0.010637612082064152, -0.0009282159153372049, -0.007706650532782078, -0.0059836567379534245, -0.022736024111509323, -0.017286119982600212, -0.02706223540008068, -0.047644518315792084, 0.014392614364624023, -0.020432455465197563, 0.021855797618627548, -0.03174428269267082, -0.030583135783672333, -0.0025025545619428158, -0.02290457673370838, -0.012444882653653622, 0.022623654454946518, -0.008085896261036396, -0.03884226828813553, 0.05330042913556099, 0.019271308556199074, 0.004586065653711557, 0.00907380785793066, 0.04674556478857994, -0.00337341520935297, -0.0694066733121872, 0.06667235493659973, -0.017538949847221375, 0.010815530084073544, 0.06236487627029419, 0.0037152047734707594, 0.017670048400759697, -0.03223121538758278, 0.02045118436217308, 0.0584319531917572, -0.04535967856645584, -0.03586448356509209, -0.0306018628180027, 0.010590791702270508, 0.007833065465092659, 0.015272838994860649, -0.05330042913556099, -0.009542013518512249, 0.06416278332471848, 0.04135184362530708, -0.02176215685904026, 0.005885333754122257, -0.009841663762927055, 0.0374751091003418, 0.0037479791790246964, 0.014626717194914818, 0.03906700387597084, 0.01049715094268322, -0.053787361830472946, -0.0053328522481024265, 0.04697030037641525, -0.00857751164585352, 0.017482765018939972, 0.044947657734155655, 0.017286119982600212, -0.0025774671230465174, 0.0396663062274456, -0.043861422687768936, -0.0661105141043663, 0.009144038893282413, 0.012173323892056942, -0.07131695002317429, -0.005243893247097731, 0.08038139343261719, 0.058244671672582626, -0.012295057065784931, 0.008750746957957745, 0.04431089758872986, 0.02206180803477764, 0.04427344352006912, -0.005899379961192608, -0.025489067658782005, -0.03292416036128998, 0.015469484962522984, 0.0500042699277401, -0.01834426261484623, 0.009326638653874397, 0.004305142909288406, 0.03445987030863762, 0.027268245816230774, 0.005014473106712103, -0.02099430188536644, 0.034122761338949203, 0.025863630697131157, 0.07131695002317429, -0.025283057242631912, 0.00210106885060668, 0.03535882383584976, 0.019149575382471085, -0.04839364439249039, -0.016330981627106667, -0.004003150854259729, -0.04577169939875603, -0.01621861383318901, -0.005641867406666279, -0.051952000707387924, 0.03623905032873154, 0.042812641710042953, -0.0002822396927513182, -0.001240742625668645, 0.055397987365722656, -0.001998063875362277, -0.017464037984609604, 0.019271308556199074, -0.018981020897626877, 0.007968844845890999, -0.05198945850133896, 0.03947902470827103, -0.044086162000894547, -0.018091432750225067, -0.02275475114583969, 0.02629438042640686, -0.015347751788794994, -0.013596666045486927, -0.03361710160970688, 0.02269856631755829, 0.03290542960166931, -0.06933175772428513, -0.07150422781705856, -0.01395250204950571, 0.052551303058862686, -0.019664600491523743, -0.05588492006063461, 0.006803015246987343, -0.015226018615067005, 0.012014133855700493, -0.07142931967973709, -0.027867548167705536, 0.010543971322476864, 0.052251651883125305, -0.028560491278767586, -0.031575728207826614, -0.09236743301153183, 0.023166771978139877 ]
41,983
rfc3339
format_microsecond
Same as `rfc3339.format` but with the microsecond fraction after the seconds.
def format_microsecond(timestamp, utc=False, use_system_timezone=True): ''' Same as `rfc3339.format` but with the microsecond fraction after the seconds. ''' return _format(timestamp, _string_microseconds, utc, use_system_timezone)
(timestamp, utc=False, use_system_timezone=True)
[ 0.006874647457152605, -0.0019037978490814567, 0.0052223349921405315, 0.07869458943605423, -0.017370684072375298, -0.02032429911196232, -0.024485046043992043, 0.02320086397230625, -0.025426777079701424, -0.03176207095384598, 0.009742651134729385, -0.018475079908967018, -0.05338767170906067, -0.03554612025618553, 0.0456140972673893, 0.039073336869478226, -0.01698542945086956, -0.04547711834311485, 0.017387807369232178, -0.02467339113354683, 0.04468948766589165, 0.009383080527186394, -0.005230896174907684, 0.03623101860284805, 0.005008304491639137, 0.009545743465423584, -0.002876564860343933, -0.003236135235056281, -0.033833879977464676, -0.005980001296848059, 0.07314693182706833, 0.021231787279248238, -0.038765136152505875, -0.02222488634288311, -0.03859391063451767, 0.039929457008838654, -0.05804496631026268, -0.00035261461744084954, -0.08499564230442047, -0.017807304859161377, 0.039655499160289764, 0.005902950651943684, -0.02564936876296997, 0.020564014092087746, 0.034142084419727325, 0.03342294320464134, 0.026642469689249992, 0.05592178925871849, -0.06985943019390106, -0.000408797524869442, 0.04205263778567314, 0.05314795672893524, -0.0696539580821991, 0.021231787279248238, -0.07376334071159363, -0.001691908109933138, 0.04914131388068199, -0.028611546382308006, 0.025769226253032684, 0.06321593374013901, -0.0371556282043457, 0.0733524039387703, -0.002636851044371724, 0.06314744800329208, -0.03859391063451767, -0.025529511272907257, 0.0010359057923778892, 0.015042036771774292, 0.00956286583095789, -0.0363679975271225, 0.027943771332502365, 0.0006907822098582983, 0.016052259132266045, -0.015906717628240585, -0.01048747543245554, 0.006759071256965399, -0.024211086332798004, 0.011797339655458927, -0.03578583523631096, 0.06609249860048294, 0.029861481860280037, -0.008424225263297558, -0.029125217348337173, 0.017978530377149582, 0.00027770406450144947, 0.013235622085630894, 0.02621440775692463, 0.015393045730888844, -0.0215742364525795, 0.0847901701927185, -0.031094295904040337, -0.03520367294549942, 0.0494837611913681, 0.0499289445579052, -0.05814770236611366, -0.006938856560736895, -0.07020188122987747, -0.053182203322649, -0.04239508509635925, -0.03897060453891754, 0.04664144292473793, -0.025426777079701424, -0.0017304334323853254, -0.0024356627836823463, 0.03421057388186455, 0.0312141515314579, -0.006759071256965399, 0.006943136919289827, 0.05814770236611366, 0.029844358563423157, -0.0010557034984230995, -0.034142084419727325, -0.034107837826013565, -0.02753283455967903, -0.017807304859161377, -0.01761895976960659, 0.06914028525352478, 0.03835419565439224, 0.007358355447649956, -0.01758471503853798, 0.0014318614266812801, 0.01856069080531597, 0.004558841232210398, -0.025871960446238518, -0.039347294718027115, 0.011788778938353062, 0.007212814874947071, 0.018697671592235565, 0.045545607805252075, 0.01172028947621584, 0.0031655053608119488, 0.04479222372174263, 0.08670788258314133, -0.013013031333684921, 0.06794171780347824, 0.00029990970506332815, 0.009468692354857922, -0.004952657036483288, 0.018886016681790352, 0.1165008693933487, -0.03311473876237869, -0.015410168096423149, 0.004768590908497572, -0.015093403868377209, 0.01914285309612751, 0.011737411841750145, -0.04345667362213135, -0.03400510549545288, 0.0016255587106570601, 0.0028573020827025175, 0.011061076074838638, 0.05876410752534866, 0.04876461997628212, 0.04054586589336395, -0.033508554100990295, -0.013646559789776802, 0.03457014262676239, -0.005902950651943684, 0.06431177258491516, -0.0046144891530275345, 0.03213876113295555, 0.03203602880239487, 0.025169940665364265, -0.038388442248106, -0.06496242433786392, 0.018389467149972916, -0.02931356430053711, 0.04667568579316139, -0.038765136152505875, -0.018064141273498535, 0.012447991408407688, 0.020598258823156357, 0.026710959151387215, 0.03453589975833893, 0.029878603294491768, -0.024502167478203773, -0.0332859642803669, 0.008086057379841805, -0.025871960446238518, -0.015393045730888844, 0.02960464544594288, 0.006031368859112263, -0.017302194610238075, -0.008659658022224903, -0.01669434830546379, -0.012713388539850712, 0.010590210556983948, -0.013184254989027977, -0.004507474135607481, -0.0493125393986702, 0.08698184043169022, 0.044381283223629, 0.020187320187687874, 0.050168659538030624, 0.01763608120381832, 0.03540914133191109, 0.037258364260196686, -0.052942488342523575, 0.0071015190333127975, -0.017250826582312584, -0.05099053308367729, 0.02321798726916313, -0.02345770038664341, -0.037224117666482925, 0.041230760514736176, -0.02809787355363369, 0.03835419565439224, -0.023594679310917854, -0.08951595425605774, -0.07177714258432388, -0.022430356591939926, -0.07239354401826859, 0.0265911016613245, 0.03729260712862015, 0.017807304859161377, 0.03302912786602974, -0.04599079117178917, 0.010958341881632805, 0.01126654539257288, -0.01495642401278019, 0.008060374297201633, -0.050168659538030624, 0.003923172131180763, 0.018286732956767082, -0.04116227105259895, 0.07287297397851944, 0.0142201604321599, -0.006536479573696852, -0.027361609041690826, -0.004481790587306023, 0.03482697904109955, 0.010590210556983948, 0.028868382796645164, 0.033508554100990295, -0.04972347617149353, -0.007007346022874117, -0.010898413136601448, -0.036265261471271515, 0.05331918224692345, -0.05099053308367729, -0.016377585008740425, -0.023646047338843346, 0.05462048575282097, -0.032601065933704376, 0.01671147160232067, -0.03061486780643463, -0.008723867125809193, 0.031111417338252068, -0.04674417898058891, 0.016762837767601013, -0.04691540077328682, 0.1041727364063263, 0.047120869159698486, 0.039347294718027115, -0.004391897935420275, -0.03188192471861839, 0.023269353434443474, 0.048319440335035324, -0.03831995278596878, 0.06886632740497589, -0.0494837611913681, -0.07170864939689636, -0.008920774795114994, -0.01328698918223381, -0.029861481860280037, 0.0011953582288697362, -0.014982108026742935, 0.03886786848306656, -0.01857781410217285, -0.004588805604726076, 0.012721950188279152, -0.02996421605348587, 0.01825248822569847, -0.04054586589336395, -0.007054432760924101, -0.08068079501390457, -0.003304624930024147, 0.02160848118364811, 0.04157320782542229, 0.011506259441375732, -0.026454122737050056, -0.00810317974537611, 0.07081828266382217, 0.003148382995277643, 0.044620998203754425, -0.014502680860459805, 0.029227953404188156, 0.03059774450957775, -0.03361129015684128, 0.016069380566477776, -0.03282365947961807, -0.06643494963645935, 0.031248396262526512, -0.007152886595577002, -0.0810917317867279, -0.008475592359900475, -0.05530538037419319, -0.04845641925930977, 0.0573258250951767, -0.02162560261785984, -0.05290824547410011, 0.07465370744466782, 0.05331918224692345, 0.07355786859989166, 0.009502937085926533, -0.037806279957294464, 0.012131227180361748, -0.029484787955880165, 0.00424635736271739, 0.02775542624294758, -0.06232557073235512, -0.02475900389254093, 0.022087907418608665, 0.02874852530658245, 0.003522935789078474, 0.06485968828201294, -0.03186480328440666, -0.02128315530717373, 0.012876051478087902, 0.015264627523720264, 0.0006634933524765074, -0.05825043469667435, 0.029827237129211426, 0.05283975601196289, 0.011643238365650177, -0.026282899081707, -0.05376436561346054, 0.04794274643063545, -0.014554047957062721, -0.03989521414041519, -0.0033324488904327154, -0.05958598479628563, 0.008141705766320229, -0.033474311232566833, -0.03249833360314369, -0.0005548730841837823, -0.02657397836446762, -0.05804496631026268, -0.00270534073933959, -0.005325069185346365, 0.010701505467295647, 0.0019712173379957676, 0.016762837767601013, 0.026762325316667557, -0.05314795672893524, 0.0661267414689064, 0.0053122276440262794, -0.023594679310917854, 0.011026831343770027, 0.018098386004567146, 0.023714536800980568, 0.023235108703374863, 0.03152235597372055, 0.050476863980293274, -0.012139787897467613, 0.0020290054380893707, -0.0020364965312182903, -0.014091743156313896, -0.017413489520549774, -0.017053918913006783, -0.025871960446238518, -0.012773317284882069, 0.060681819915771484, -0.03333733230829239, 0.08561204373836517, 0.015872472897171974, 0.00020279354066587985, -0.012311012484133244, -0.03979247808456421, -0.0562642365694046, -0.049552250653505325, -0.015470096841454506, 0.04078557714819908, 0.027378732338547707, 0.031128540635108948, -0.0006768702296540141, -0.03927880525588989, 0.0034137803595513105, -0.021197542548179626, -0.10067976266145706, -0.010444669984281063, -0.02475900389254093, -0.018355222418904305, 0.01758471503853798, 0.05742856115102768, 0.033542800694704056, -0.05064808577299118, -0.049209803342819214, -0.012285328470170498, 0.009177611209452152, -0.031967539340257645, -0.005877267103642225, 0.03453589975833893, -0.05003168061375618, -0.08978991210460663, 0.027430100366473198, -0.023594679310917854, -0.015393045730888844, 0.041196517646312714, 0.014203038066625595, -0.011352157220244408, -0.09561153501272202, -0.045853812247514725, -0.009999486617743969, -0.018475079908967018, 0.05581905320286751, -0.03623101860284805, 0.019588036462664604, 0.004490351770073175, 0.021539991721510887, -0.04849066212773323, -0.04787425696849823, -0.07965344935655594, 0.014759516343474388, 0.024604901671409607, 0.02164272591471672, -0.018663426861166954, -0.07342088967561722, -0.010547404177486897, 0.061572182923555374, -0.00293007236905396, -0.018440835177898407, 0.017481978982686996, -0.0005816268385387957, 0.07109224051237106, 0.020529769361019135, 0.013098643161356449, -0.001816045492887497, 0.020307177677750587, 0.06520213186740875, -0.02996421605348587, -0.0049569373950362206, -0.023235108703374863, 0.001375143532641232, 0.037189871072769165, 0.007354074623435736, 0.03314898535609245, -0.0029835798777639866, -0.01789291761815548, 0.022173520177602768, 0.11410373449325562, 0.04629899561405182, -0.05533962696790695, -0.008321491070091724, 0.024262454360723495, -0.020564014092087746, -0.02378302626311779, 0.026163041591644287, 0.086296945810318, 0.014485558494925499, 0.006399500649422407, -0.014725271612405777, 0.003965978045016527, -0.024810371920466423, 0.039415787905454636, -0.06020238995552063, 0.015966646373271942, -0.026454122737050056, 0.020632503554224968, -0.0225844569504261, -0.0773932933807373, 0.01975926011800766, 0.05523689091205597, 0.05938051640987396, 0.02683081477880478, -0.0011964283185079694, 0.04660719633102417, -0.03232710808515549, -0.05057959631085396, 0.02503296174108982, 0.024861738085746765, 0.0033474310766905546, -0.0363679975271225, 0.05092204362154007, -0.005641833879053593, -0.02962176874279976, -0.026026062667369843, 0.015161893330514431, -0.0219680517911911, -0.011985686607658863, -0.0013494598679244518, -0.03746383264660835, -0.015384485013782978, 0.035648856312036514, 0.04551136493682861, 0.02623153105378151, 0.007919114083051682, -0.005158125888556242, 0.05218910425901413, -0.05427803844213486, -0.040614355355501175, 0.0030606307554990053, 0.0457853227853775, -0.02344057895243168, -0.026351388543844223, -0.028354709967970848, -0.02222488634288311, -0.003736965823918581, -0.04256631061434746, 0.004849922377616167, -0.045203160494565964, 0.05643546208739281, 0.02528979815542698, -0.03756656497716904, 0.006087016314268112, -0.006643494591116905, -0.035614609718322754, -0.013449652120471, 0.01403181441128254, 0.009913874790072441, -0.036847423762083054, 0.021813949570059776, -0.026008939370512962, 0.00733695225790143, -0.03650497645139694, 0.008758112788200378, -0.019314076751470566, -0.05965447425842285, 0.0221906416118145, -0.016668666154146194, 0.041265007108449936, 0.046470217406749725, -0.0052651409059762955, -0.014494119212031364, 0.08266699314117432, -0.03157372400164604, -0.03667620196938515, 0.03797750547528267, -0.023902883753180504, -0.028851259499788284, 0.017807304859161377, 0.01818399876356125, -0.016523124650120735, 0.019879117608070374, 0.009083437733352184, -0.05825043469667435, -0.020786603912711143, -0.022396111860871315, 0.006031368859112263, -0.013372601941227913, -0.04575107619166374, -0.009323151782155037, 0.0696539580821991, -0.014947863295674324, -0.03436467424035072, -0.029450543224811554, 0.00009102968033403158, 0.01946817897260189, 0.024639146402478218, 0.003430902725085616, 0.04160745441913605, -0.010924097150564194, 0.021557113155722618, 0.0581134557723999, -0.01714809238910675, 0.008038971573114395, -0.04944951832294464, 0.027002040296792984, 0.029467666521668434, -0.002568361349403858, 0.03766930103302002, 0.058524396270513535, 0.07287297397851944, -0.020272932946681976, -0.0064251841977238655, -0.031334009021520615, -0.007936236448585987, -0.022652948275208473, -0.009160488843917847, 0.02316661924123764, 0.01883465051651001, 0.031676456332206726, 0.05188089981675148, 0.0624283030629158, -0.06396932154893875, -0.004563122056424618, 0.08191360533237457, -0.0024592059198766947, 0.02445080131292343, 0.06208585575222969, -0.02871428057551384, 0.03742958605289459, -0.008989265188574791, 0.0007619471871294081, 0.05938051640987396, -0.007157166954129934, 0.03544338792562485, -0.05585329979658127, -0.03296063840389252, -0.0021895281970500946, 0.03022105246782303, -0.03640224039554596, 0.0659555196762085, -0.016651542857289314, 0.0030627709347754717, -0.039655499160289764, -0.012935980223119259, -0.022670069709420204, 0.01881752721965313, 0.05807921290397644, -0.011377841234207153, 0.02470763586461544, 0.025169940665364265, 0.02713901922106743, 0.014545486308634281, -0.007277023978531361, -0.01172028947621584, -0.04407308250665665, -0.00975121185183525, 0.017481978982686996, -0.009494376368820667, 0.0488673560321331, -0.04602503776550293, 0.010915535502135754, 0.05427803844213486, 0.01823536492884159, -0.03640224039554596, -0.02590620517730713, -0.0030477887485176325, -0.04386761412024498, -0.044038835912942886, 0.07013338804244995, -0.03869664669036865, 0.05462048575282097, -0.0019733577501028776, -0.02253309078514576, -0.030032705515623093, -0.04571683332324028, -0.02280704863369465, -0.06492817401885986, -0.031077172607183456, 0.043079983443021774, 0.01972501538693905, -0.027241753414273262, -0.01881752721965313, -0.039963703602552414, -0.04345667362213135, 0.01625772751867771, -0.07759875804185867, 0.04914131388068199, -0.008034690283238888, -0.04287451133131981, -0.038114484399557114, -0.021796826273202896, 0.015204699710011482, 0.03181343525648117, -0.01406605914235115, -0.007268462795764208, 0.023389210924506187, 0.03186480328440666, -0.032532576471567154, 0.020307177677750587, 0.05164118483662605, 0.031642213463783264, -0.0628734901547432, 0.024861738085746765, -0.021180421113967896, 0.027704058215022087, 0.010838485322892666, 0.002167054917663336, 0.022635824978351593, -0.05896957591176033, -0.016891255974769592, 0.039381541311740875, -0.03671044483780861, -0.06729106605052948, -0.009913874790072441, -0.018903139978647232, 0.0007763942703604698, 0.015084842219948769, -0.01941681280732155, 0.012465113773941994, 0.02866291254758835, -0.03172782436013222, -0.0049269734881818295, 0.025820592418313026, -0.03640224039554596, 0.033816758543252945, -0.04349092021584511, 0.03395373746752739, 0.007182850502431393, -0.020478401333093643, -0.0382172167301178, 0.007816379889845848, 0.007045871578156948, 0.002191668376326561, 0.02441655471920967, 0.03280653432011604, -0.011035392992198467, -0.0023136655800044537, 0.033131860196590424, -0.040956802666187286, -0.0825984999537468, 0.03664195537567139, -0.0040580108761787415, 0.007653716951608658, 0.014699588529765606, 0.047463320195674896, 0.047086626291275024, -0.009151928126811981, -0.006720545701682568, 0.04972347617149353, 0.024536412209272385, 0.031128540635108948, -0.007662278134375811, -0.007255620788782835, 0.013826345093548298, -0.04636748507618904, 0.03989521414041519, -0.015101964585483074, 0.020461279898881912, -0.02403986267745495, 0.028200607746839523, 0.07164016366004944, -0.0246562696993351, -0.0013890553964301944, 0.030649112537503242, 0.01265346072614193, 0.049586497247219086, 0.005693200975656509, -0.01110388245433569, 0.036573465913534164, -0.008835162967443466, -0.02751571126282215, -0.07691386342048645, 0.005744568072259426, 0.004721504170447588, 0.023971373215317726, 0.002489170292392373, -0.02994709461927414, 0.008740989491343498, 0.008021848276257515, -0.0320531502366066, 0.0036855984944850206, 0.07006490230560303, -0.026385633274912834, -0.025854837149381638, -0.0026304300408810377, 0.052702777087688446, -0.021385889500379562, -0.018423711881041527, 0.018098386004567146, -0.05458623915910721, 0.016583053395152092, -0.020598258823156357, 0.02630002051591873, 0.039107583463191986, 0.005166687071323395, 0.013552387244999409, -0.028868382796645164, 0.029536155983805656, -0.08842012286186218, -0.07876308262348175, -0.002270859433338046, 0.043011490255594254, -0.020204443484544754, -0.04818246141076088, -0.006797596346586943, -0.04335394129157066, -0.008693903684616089, -0.009742651134729385, 0.002011883072555065, 0.09061179310083389, 0.016617298126220703, -0.029844358563423157, -0.003970258869230747, -0.0989675223827362, -0.03061486780643463 ]
41,984
rfc3339
format_millisecond
Same as `rfc3339.format` but with the millisecond fraction after the seconds.
def format_millisecond(timestamp, utc=False, use_system_timezone=True): ''' Same as `rfc3339.format` but with the millisecond fraction after the seconds. ''' return _format(timestamp, _string_milliseconds, utc, use_system_timezone)
(timestamp, utc=False, use_system_timezone=True)
[ -0.004510805010795593, 0.044261474162340164, 0.033521052449941635, 0.08175032585859299, 0.009577443823218346, -0.019616657868027687, -0.03415384888648987, 0.03653110936284065, 0.0038780097384005785, -0.043851010501384735, -0.011270599439740181, -0.025636766105890274, -0.05777250975370407, -0.04959747940301895, 0.048331886529922485, 0.021549249067902565, -0.03916490450501442, -0.0451166033744812, -0.011304804123938084, -0.03494056686758995, 0.05428358539938927, 0.015939602628350258, 0.018847040832042694, 0.03259751573204994, -0.0005443430272862315, -0.018145836889743805, 0.01108247134834528, 0.003918628208339214, -0.035265516489744186, -0.006400640122592449, 0.05154717341065407, 0.0372152104973793, -0.01142452284693718, -0.03543654456734657, -0.027774587273597717, 0.036086440086364746, -0.034872159361839294, -0.0011693887645378709, -0.10206818580627441, -0.04713470861315727, 0.021019069477915764, 0.02296876348555088, -0.0443640872836113, 0.027022074908018112, 0.03735203295946121, 0.02936512790620327, 0.04802403971552849, 0.07148877531290054, -0.06454513221979141, 0.008333231322467327, 0.019479837268590927, 0.01905227266252041, -0.05763569101691246, 0.002023448934778571, -0.0861285850405693, 0.010603598318994045, 0.061124615371227264, -0.011159432120621204, 0.032426487654447556, 0.0361548513174057, -0.030562307685613632, 0.0812714546918869, 0.017102578654885292, 0.04798983410000801, -0.04836609214544296, -0.009269597940146923, 0.0029095762874931097, 0.030801743268966675, 0.025910407304763794, -0.015836987644433975, 0.0337262861430645, -0.02775748446583748, 0.0015103714540600777, -0.03564177453517914, -0.009757021442055702, 0.032443590462207794, -0.04203813895583153, 0.02269512228667736, -0.0046347989700734615, 0.09379053860902786, -0.006708486471325159, -0.01901806704699993, -0.03276854008436203, 0.018658913671970367, -0.0011918359668925405, 0.00591749232262373, 0.010372714139521122, 0.044671934098005295, -0.003444031812250614, 0.05099989101290703, -0.027689075097441673, 0.020283658057451248, 0.06013266742229462, 0.06478457152843475, -0.0771668329834938, 0.01271576713770628, -0.0606115385890007, -0.040875162929296494, -0.04877655580639839, 0.014819384552538395, 0.034461695700883865, -0.021549249067902565, 0.012732869945466518, 0.0013489659177139401, 0.0328882597386837, -0.005075190216302872, -0.007285698316991329, -0.015811333432793617, 0.04350896179676056, 0.015879744663834572, -0.009996457025408745, -0.06628959625959396, -0.023892302066087723, -0.026440586894750595, 0.021549249067902565, 0.013451178558170795, 0.05250491574406624, 0.012356612831354141, 0.012065868824720383, -0.01311767753213644, 0.006109896115958691, 0.01617048867046833, 0.001096702879294753, -0.02828766591846943, -0.03302507847547531, 0.012125728651881218, 0.013989909552037716, 0.01645268127322197, 0.07921914756298065, -0.01319463923573494, 0.019907401874661446, 0.050349991768598557, 0.09440623223781586, -0.00639208871871233, 0.04908439889550209, 0.011330458335578442, -0.019667966291308403, -0.00597735121846199, 0.0350944921374321, 0.09317484498023987, -0.04429567977786064, -0.025944611057639122, 0.007756019476801157, -0.004848581273108721, -0.002210508333519101, 0.0036727788392454386, -0.045869115740060806, -0.038412392139434814, -0.02731281891465187, 0.021104581654071808, 0.010081970132887363, 0.014237896539270878, 0.0543861985206604, 0.017923502251505852, -0.06697370111942291, -0.019120682030916214, 0.031485848128795624, -0.01168961264193058, 0.06468195468187332, 0.0227122250944376, 0.03453010693192482, 0.004912715870887041, 0.04713470861315727, 0.010218790732324123, -0.03519710525870323, 0.022883249446749687, -0.0478530153632164, -0.004788721911609173, -0.048605527728796005, -0.03560756891965866, 0.03574438765645027, 0.04959747940301895, 0.0636558011174202, 0.012339510954916477, 0.05732784420251846, -0.010466777719557285, -0.02077963389456272, 0.01174947153776884, -0.007798776030540466, -0.006926544476300478, 0.026320869103074074, 0.011407420039176941, 0.002027724403887987, 0.0014419611543416977, -0.022934557870030403, 0.01217703614383936, -0.008499981835484505, 0.012946652248501778, -0.04002003371715546, -0.0364626981317997, 0.0682050809264183, 0.025380225852131844, -0.0011939738178625703, 0.048742350190877914, -0.009072918444871902, 0.055138714611530304, 0.04932383820414543, -0.06348477303981781, 0.008512808941304684, -0.007217288017272949, -0.05910651013255119, 0.009928046725690365, -0.00006553761340910569, -0.030511001124978065, 0.053633686155080795, -0.02893756330013275, 0.0323580801486969, -0.01588829606771469, -0.08311853557825089, -0.08058734983205795, -0.008183583617210388, -0.05855922773480415, -0.0063835373148322105, 0.0385834164917469, 0.007251493167132139, -0.022335967049002647, -0.01860760524868965, 0.018949657678604126, 0.003779669990763068, -0.03384600207209587, -0.039883214980363846, -0.019377222284674644, -0.002503389958292246, 0.003358518937602639, -0.024850046262145042, 0.07408837229013443, 0.014904897660017014, -0.03141743689775467, -0.02840738371014595, -0.022524096071720123, 0.023293711245059967, -0.01591395027935505, 0.004878510721027851, 0.042380191385746, -0.024832943454384804, -0.0771668329834938, -0.020061325281858444, -0.04621116816997528, 0.06269805133342743, -0.05633589252829552, -0.0074096922762691975, -0.022216249257326126, 0.05137614533305168, -0.02462771348655224, 0.014648358337581158, -0.012467780150473118, -0.04036208614706993, 0.02336212247610092, -0.0021057550329715014, 0.06355318427085876, -0.06375841051340103, 0.08941227942705154, 0.0372152104973793, 0.025346022099256516, -0.017213745042681694, -0.007914218120276928, -0.009124225936830044, 0.07860345393419266, -0.05657533183693886, 0.04429567977786064, -0.0378309041261673, -0.06040630862116814, -0.010030662640929222, 0.00029608840122818947, 0.00560964597389102, -0.0031490123365074396, -0.012664459645748138, 0.022472787648439407, -0.010347059927880764, 0.004228612408041954, -0.0034034131094813347, -0.004673279821872711, 0.01726505346596241, -0.045732297003269196, -0.0013286565663293004, -0.07518293708562851, -0.01659805327653885, 0.0025397329591214657, 0.026851048693060875, 0.024456687271595, -0.009739918634295464, -0.010107624344527721, 0.0692654401063919, 0.012553292326629162, 0.029570357874035835, 0.016820386052131653, 0.026269560679793358, 0.04987112060189247, -0.049426451325416565, 0.0064947041682899, -0.04265383258461952, -0.03872023895382881, 0.04566388577222824, -0.029399333521723747, -0.06543446332216263, -0.016409924253821373, -0.06847872585058212, -0.0729253962635994, 0.025499945506453514, -0.01087724044919014, -0.0337262861430645, 0.08790725469589233, 0.038138750940561295, 0.051341939717531204, 0.03639428690075874, -0.016683565452694893, -0.010193136520683765, -0.042893268167972565, 0.002518354682251811, 0.013502486050128937, -0.06437410414218903, -0.035402338951826096, 0.01203166414052248, 0.001370344078168273, 0.0451166033744812, 0.06635800749063492, -0.0328882597386837, -0.011911946348845959, 0.01632441207766533, 0.018180040642619133, 0.008953199721872807, -0.044671934098005295, 0.030545204877853394, 0.04863973334431648, 0.01670921966433525, -0.032973770052194595, -0.025106584653258324, 0.07046262174844742, -0.004553561564534903, -0.06447672098875046, 0.006041485816240311, -0.04840029776096344, -0.01161265093833208, -0.05127353221178055, -0.009440623223781586, -0.00580632546916604, -0.002486287383362651, -0.0530179925262928, 0.031246410682797432, -0.010056315921247005, 0.031178001314401627, 0.023447634652256966, 0.023823892697691917, 0.0258248932659626, -0.05548076331615448, 0.07477247714996338, 0.015101577155292034, -0.013853088952600956, -0.007708987221121788, -0.005417241714894772, -0.012536190450191498, -0.004698933567851782, 0.008435847237706184, 0.009577443823218346, 0.002482011681422591, 0.024439584463834763, 0.018693119287490845, -0.04973429813981056, -0.0481608621776104, -0.00020656708511523902, -0.011390317231416702, -0.00714460201561451, 0.05896969139575958, -0.02758646011352539, 0.06543446332216263, 0.05777250975370407, 0.015426525846123695, -0.021668966859579086, -0.017855092883110046, -0.0641004666686058, -0.04610855132341385, -0.02664581686258316, 0.016965758055448532, 0.038138750940561295, 0.02190840244293213, 0.00700778141617775, -0.07025739550590515, 0.016153385862708092, -0.03128061816096306, -0.10227341949939728, -0.004286333918571472, -0.05383891612291336, 0.013220293447375298, 0.003995589911937714, 0.0533258393406868, 0.026423484086990356, -0.0007706849719397724, -0.05219706892967224, -0.03290536254644394, 0.019240401685237885, -0.04210655018687248, -0.01387874223291874, 0.003433342557400465, -0.03335002809762955, -0.07661955058574677, 0.03765987977385521, -0.019890299066901207, -0.02175448089838028, 0.06102200224995613, 0.003193906508386135, 0.008145103231072426, -0.09379053860902786, -0.025123687461018562, -0.017495937645435333, -0.04607434570789337, 0.04716891050338745, -0.04063572734594345, -0.013151883147656918, -0.002469184808433056, 0.03820716217160225, -0.03100697509944439, -0.009936598129570484, -0.04747675731778145, 0.018145836889743805, 0.04388521611690521, 0.004681830760091543, -0.02979269251227379, -0.060679949820041656, -0.003736913437023759, 0.05099989101290703, -0.013237396255135536, -0.02907438389956951, 0.04350896179676056, -0.013998460955917835, 0.06543446332216263, -0.00618258211761713, 0.0026508995797485113, -0.0063835373148322105, 0.0035744388587772846, 0.049563273787498474, -0.06324533373117447, 0.022746428847312927, -0.028629716485738754, 0.021805787459015846, 0.016409924253821373, 0.01161265093833208, 0.03765987977385521, 0.015683064237236977, -0.03131482005119324, -0.008008282631635666, 0.08989115059375763, 0.04395362734794617, -0.05599384382367134, -0.014477333053946495, -0.006315127015113831, -0.0342564657330513, -0.021566351875662804, 0.0023195373360067606, 0.05572020262479782, 0.04190131649374962, -0.0008214582339860499, 0.02204522304236889, 0.03247779607772827, -0.0323580801486969, 0.04460352659225464, -0.05021316930651665, -0.008098071441054344, -0.02938223071396351, 0.007922769524157047, -0.024456687271595, -0.06844452023506165, -0.0073754871264100075, 0.034735336899757385, 0.061124615371227264, -0.0006589837139472365, -0.03612064570188522, 0.0160678718239069, -0.018402375280857086, -0.05000793933868408, 0.026457689702510834, 0.05229968577623367, 0.021241402253508568, -0.03131482005119324, 0.03902808576822281, 0.016221795231103897, -0.034735336899757385, -0.03653110936284065, 0.02079673483967781, 0.029672974720597267, -0.0010779969161376357, -0.0220281220972538, -0.0016835350543260574, 0.007914218120276928, 0.0024927009362727404, 0.028886254876852036, 0.03724941611289978, 0.025876201689243317, -0.03223836049437523, 0.05233389139175415, -0.05979061499238014, -0.022866148501634598, 0.04809245094656944, 0.09789516031742096, -0.04337213933467865, -0.0039506955072283745, -0.007931320928037167, -0.02036917209625244, -0.03442749008536339, -0.03476954251527786, 0.016623705625534058, -0.04829768091440201, 0.06974431872367859, 0.019787684082984924, -0.010535188019275665, 0.031195104122161865, -0.020044222474098206, -0.0391991101205349, -0.005023882258683443, 0.029159896075725555, 0.0037283620331436396, -0.03138323128223419, 0.0009796570520848036, -0.030887257307767868, 0.009953700937330723, -0.041525062173604965, -0.0033200380858033895, -0.013998460955917835, -0.031485848128795624, 0.0251407902687788, -0.024918457493185997, 0.022729327902197838, 0.048468708992004395, -0.013151883147656918, -0.015460731461644173, 0.0595511794090271, -0.026355072855949402, -0.009816880337893963, 0.036907363682985306, -0.02011263184249401, 0.008910443633794785, 0.023173993453383446, 0.007991179823875427, 0.0012292478932067752, 0.021378222852945328, 0.004912715870887041, -0.035675980150699615, -0.02541443146765232, -0.009560341015458107, 0.011911946348845959, -0.012767074629664421, -0.039609573781490326, -0.03612064570188522, 0.06444251537322998, -0.01891545206308365, -0.026406381279230118, -0.018864143639802933, 0.02421725168824196, 0.022113634273409843, 0.029416434466838837, 0.003632160136476159, 0.06341636180877686, -0.04121721535921097, -0.04210655018687248, 0.04645060375332832, -0.017718272283673286, -0.0003698432701639831, -0.035949621349573135, 0.021309813484549522, 0.034752439707517624, 0.01659805327653885, 0.02991241030395031, 0.03401703014969826, 0.06769200414419174, -0.009184084832668304, -0.038412392139434814, -0.03073333390057087, 0.008987405337393284, -0.027364125475287437, -0.025482842698693275, 0.052402302622795105, 0.04908439889550209, 0.03004923090338707, 0.04822927340865135, 0.05411255732178688, -0.04925542697310448, 0.004972574766725302, 0.06994954496622086, -0.017718272283673286, 0.0020266554784029722, 0.05890128016471863, -0.007277147378772497, 0.049221221357584, 0.004626247566193342, 0.01700851507484913, 0.04884496331214905, 0.012929549440741539, 0.012690112926065922, -0.07812458276748657, -0.022541198879480362, -0.025243405252695084, 0.03360656648874283, -0.009970803745090961, 0.0840078666806221, 0.014622705057263374, 0.03004923090338707, -0.037181004881858826, -0.022883249446749687, -0.002580351661890745, 0.0478530153632164, 0.028356075286865234, -0.026423484086990356, 0.0337262861430645, -0.017906399443745613, 0.0584908202290535, 0.04104618728160858, -0.019394325092434883, 0.002210508333519101, -0.038788650184869766, -0.014716768637299538, 0.020317863672971725, -0.00012225670798216015, 0.005207735113799572, -0.023755481466650963, 0.006883787922561169, 0.038549210876226425, 0.021019069477915764, -0.034034132957458496, -0.04251701012253761, -0.020317863672971725, -0.07723524421453476, -0.034598518162965775, 0.046553220599889755, -0.028321869671344757, 0.010860137641429901, 0.043303728103637695, -0.009611649438738823, -0.04556126892566681, -0.03642849251627922, -0.02852710150182247, -0.06211656704545021, -0.03683895617723465, 0.048879168927669525, 0.015221294946968555, -0.023977816104888916, -0.027278613299131393, -0.01891545206308365, -0.06211656704545021, -0.009474828839302063, -0.05127353221178055, 0.02380678988993168, 0.005626748315989971, -0.012835484929382801, -0.038959674537181854, -0.05250491574406624, 0.010022111237049103, 0.025123687461018562, 0.008799276314675808, 0.0026786914095282555, 0.02789430506527424, 0.03683895617723465, -0.04870814457535744, 0.01806032285094261, 0.05291537940502167, 0.04446670413017273, -0.038412392139434814, 0.02242148108780384, -0.05835399776697159, 0.005250491667538881, 0.020420478656888008, -0.004647625610232353, 0.029399333521723747, -0.035539157688617706, -0.025534149259328842, 0.01809452846646309, -0.04474034532904625, -0.09187505394220352, -0.03642849251627922, -0.011732368730008602, 0.017718272283673286, 0.009987905621528625, -0.01298085693269968, -0.009680059738457203, 0.052128661423921585, -0.04108039289712906, -0.009303802624344826, 0.002013828605413437, -0.01877863146364689, 0.02527761086821556, -0.02449089288711548, 0.04993952810764313, 0.0012976581929251552, -0.029809795320034027, -0.04740834981203079, 0.004034070763736963, 0.0006034003454260528, 0.0005213614203967154, 0.01108247134834528, 0.027398331090807915, -0.01618759147822857, 0.02707338146865368, 0.029296716675162315, -0.010560842230916023, -0.06389523297548294, 0.050521016120910645, -0.008508533239364624, -0.01714533567428589, 0.0002459831885062158, 0.04829768091440201, 0.0410119853913784, -0.02827056311070919, -0.01339131873100996, 0.05072624981403351, 0.0028347524348646402, 0.03899388015270233, 0.0038288398645818233, -0.04337213933467865, 0.04217495769262314, -0.018436579033732414, 0.05004214495420456, 0.006263819523155689, 0.023738378658890724, -0.0024029123596847057, 0.039643775671720505, 0.09078048914670944, -0.009816880337893963, -0.0023708450607955456, 0.007542237173765898, 0.014511537738144398, 0.05869605019688606, -0.018676016479730606, -0.002090790309011936, 0.01850499026477337, -0.0252947136759758, -0.04487716779112816, -0.07463565468788147, 0.006139825563877821, 0.025346022099256516, 0.0002503924479242414, 0.02105327509343624, -0.05411255732178688, 0.0006696728523820639, 0.0008380263461731374, -0.0225583016872406, 0.018419478088617325, 0.09269597381353378, 0.004064000211656094, 0.0028924737125635147, 0.005395863670855761, 0.01877863146364689, -0.005857632961124182, -0.05667794495820999, 0.03398282453417778, -0.021583454683423042, -0.001705982256680727, -0.024097533896565437, 0.02001001685857773, 0.02201101928949356, 0.013314357027411461, -0.003309349063783884, -0.028065331280231476, 0.02950194850564003, -0.08004006743431091, -0.06618697941303253, -0.031246410682797432, 0.05329163372516632, -0.010962752625346184, -0.057704102247953415, -0.010005008429288864, -0.02555125206708908, -0.021172992885112762, -0.021019069477915764, -0.014408922754228115, 0.07121513783931732, 0.02077963389456272, -0.060303691774606705, -0.010552290827035904, -0.07730365544557571, 0.016666462644934654 ]
41,988
datetime
tzinfo
Abstract base class for time zone info objects.
class tzinfo: """Abstract base class for time zone info classes. Subclasses must override the name(), utcoffset() and dst() methods. """ __slots__ = () def tzname(self, dt): "datetime -> string name of time zone." raise NotImplementedError("tzinfo subclass must override tzname()") def utcoffset(self, dt): "datetime -> timedelta, positive for east of UTC, negative for west of UTC" raise NotImplementedError("tzinfo subclass must override utcoffset()") def dst(self, dt): """datetime -> DST offset as timedelta, positive for east of UTC. Return 0 if DST not in effect. utcoffset() must include the DST offset. """ raise NotImplementedError("tzinfo subclass must override dst()") def fromutc(self, dt): "datetime in UTC -> datetime in local time." if not isinstance(dt, datetime): raise TypeError("fromutc() requires a datetime argument") if dt.tzinfo is not self: raise ValueError("dt.tzinfo is not self") dtoff = dt.utcoffset() if dtoff is None: raise ValueError("fromutc() requires a non-None utcoffset() " "result") # See the long comment block at the end of this file for an # explanation of this algorithm. dtdst = dt.dst() if dtdst is None: raise ValueError("fromutc() requires a non-None dst() result") delta = dtoff - dtdst if delta: dt += delta dtdst = dt.dst() if dtdst is None: raise ValueError("fromutc(): dt.dst gave inconsistent " "results; cannot convert") return dt + dtdst # Pickle support. def __reduce__(self): getinitargs = getattr(self, "__getinitargs__", None) if getinitargs: args = getinitargs() else: args = () getstate = getattr(self, "__getstate__", None) if getstate: state = getstate() else: state = getattr(self, "__dict__", None) or None if state is None: return (self.__class__, args) else: return (self.__class__, args, state)
null
[ 0.06074301525950432, -0.024926811456680298, -0.009260933846235275, 0.0319158211350441, -0.026253337040543556, -0.07567138224840164, -0.03811287879943848, 0.02082844078540802, -0.012582199648022652, -0.01272079162299633, -0.012136723846197128, 0.011235874146223068, 0.017522023990750313, 0.02010578103363514, 0.027995640411973, 0.10501334816217422, -0.04632942005991936, 0.02536238729953766, -0.051001958549022675, -0.05642685666680336, 0.041854869574308395, -0.06644509732723236, 0.043874356895685196, 0.05919870361685753, 0.013483049347996712, 0.053417425602674484, -0.026035549119114876, -0.025560377165675163, 0.01048351638019085, -0.026708712801337242, -0.038786038756370544, 0.06339606642723083, -0.03858805075287819, 0.0027520467992872, -0.019986987113952637, -0.03985518217086792, 0.008335336111485958, 0.03532123193144798, -0.0310644693672657, 0.0440327487885952, 0.0184822715818882, -0.037103135138750076, 0.0134929483756423, -0.011720946989953518, 0.056664444506168365, 0.007157301530241966, -0.017789309844374657, 0.017957599833607674, -0.004479500465095043, -0.03823167085647583, 0.021462004631757736, 0.013087071478366852, 0.006399993784725666, -0.007825514301657677, -0.006696977186948061, 0.03458867222070694, 0.03466786816716194, 0.053813401609659195, -0.06307929009199142, 0.004430003464221954, -0.047834135591983795, -0.002761946292594075, -0.0018313979962840676, -0.000015351879483205266, -0.045814648270606995, -0.02284792810678482, -0.05729800835251808, -0.08766951411962509, -0.03231180086731911, 0.006464339792728424, 0.033856116235256195, -0.0058753229677677155, 0.02746107056736946, -0.011235874146223068, 0.055793292820453644, 0.050605982542037964, -0.03260878473520279, -0.054644957184791565, 0.01628459244966507, 0.005036344286054373, -0.0642276257276535, -0.04858649522066116, 0.00095839035930112, 0.0014737803721800447, 0.05116035044193268, 0.003286616876721382, 0.021481802687048912, -0.04031055420637131, -0.03142084926366806, 0.0299755297601223, -0.026926500722765923, -0.015255050733685493, -0.006805871147662401, 0.02864900417625904, -0.0351034440100193, 0.0029030132573097944, -0.021778786554932594, -0.019650405272841454, -0.08537284284830093, 0.009686610661447048, 0.04510188847780228, -0.016185598447918892, -0.07381028681993484, -0.03211381286382675, -0.0015876240795478225, 0.01826448366045952, -0.030747687444090843, 0.009577716700732708, -0.05729800835251808, -0.02255094423890114, -0.012364411726593971, 0.0250852033495903, -0.04157768562436104, -0.001769526395946741, 0.020927434787154198, -0.05159592628479004, -0.04434952884912491, 0.008582822047173977, -0.02847081422805786, -0.017601219937205315, 0.00024501135339960456, 0.05080397054553032, -0.0012331000762060285, 0.015571832656860352, -0.024907013401389122, -0.05032879859209061, 0.046131432056427, 0.01783880591392517, -0.012463405728340149, -0.03538062795996666, 0.04371596500277519, 0.015581732615828514, -0.021165020763874054, 0.040152162313461304, 0.06070341914892197, 0.049457646906375885, 0.031143665313720703, 0.03322254866361618, -0.05931749567389488, 0.046052236109972, 0.0659303292632103, -0.00978065561503172, 0.057456400245428085, 0.025679169222712517, -0.02435264363884926, -0.01909603737294674, -0.01916533336043358, -0.015076860785484314, -0.03062889352440834, 0.006469289772212505, 0.0072711450047791, -0.011592254042625427, -0.04130050167441368, 0.030430905520915985, -0.03621218353509903, -0.060188647359609604, 0.01816548779606819, -0.029242971912026405, -0.02583756111562252, -0.01203772984445095, -0.11253692954778671, -0.0031950471457093954, -0.01935342140495777, -0.06858337670564651, 0.021560998633503914, 0.0269462987780571, 0.025421783328056335, -0.06315848231315613, -0.020095881074666977, 0.017413130030035973, 0.016918158158659935, -0.0066821277141571045, 0.03740011528134346, 0.04276561737060547, 0.040627337992191315, -0.04803212359547615, -0.01845257170498371, -0.004286461044102907, 0.008647168055176735, -0.01513625681400299, 0.06929614394903183, -0.013770133256912231, -0.08434329926967621, 0.02439224161207676, 0.0036182485055178404, 0.03528163582086563, -0.0020739345345646143, 0.05812956392765045, 0.03876624256372452, 0.028767798095941544, 0.0006508887745440006, -0.03448968008160591, 0.01373053528368473, 0.000937354052439332, -0.004605718422681093, 0.014463094063103199, 0.006286149844527245, 0.02439224161207676, -0.004145394079387188, 0.040944118052721024, -0.04767574369907379, 0.010750801302492619, 0.04870528727769852, -0.0519523061811924, 0.029916133731603622, 0.03326214849948883, -0.05900071561336517, -0.03023291565477848, -0.018046695739030838, -0.03714273124933243, 0.06193095073103905, -0.051358338445425034, 0.015443139709532261, 0.017561621963977814, 0.010236029513180256, -0.04755695164203644, -0.019294025376439095, -0.020947232842445374, 0.036806151270866394, 0.03815247491002083, 0.05127914249897003, -0.01826448366045952, -0.014908569864928722, 0.029322167858481407, 0.04316159710288048, -0.018610963597893715, 0.00519721070304513, -0.003046555444598198, 0.004395355004817247, -0.08933262526988983, 0.02914397604763508, -0.07111763954162598, -0.04050854220986366, -0.05088316649198532, 0.061495374888181686, 0.027302678674459457, 0.049853622913360596, -0.06497997790575027, 0.0006075786659494042, -0.012334712781012058, -0.049022071063518524, 0.028312422335147858, 0.04442872479557991, 0.011948634870350361, -0.009345079772174358, -0.04759654775261879, -0.0029203372541815042, 0.030094323679804802, -0.029638949781656265, 0.006355445832014084, 0.019521713256835938, 0.007686921861022711, -0.02136301063001156, 0.004650265909731388, 0.02860940620303154, -0.09345079213380814, 0.011285371147096157, -0.011305170133709908, 0.024016061797738075, 0.060624223202466965, -0.01087949424982071, -0.023877469822764397, -0.022828128188848495, -0.002707499312236905, -0.027124488726258278, -0.008959000930190086, -0.020769042894244194, -0.05329862982034683, -0.07693851739168167, 0.046606604009866714, 0.10461737215518951, -0.04890327528119087, -0.04165688157081604, 0.029559753835201263, -0.06822700053453445, -0.009359928779304028, -0.03435108810663223, -0.03639037162065506, -0.062287330627441406, -0.06537596136331558, -0.010008342564105988, -0.009379727765917778, -0.022709336131811142, -0.024887213483452797, -0.048665691167116165, -0.05472415313124657, -0.01378003228455782, 0.022966720163822174, 0.02468922547996044, 0.0350242480635643, 0.002045473549515009, -0.047002583742141724, -0.006726675201207399, -0.04082532599568367, 0.03880583867430687, 0.027659060433506966, -0.048626091331243515, -0.002468674909323454, 0.03427189216017723, -0.04236964136362076, -0.0391424186527729, 0.03264838084578514, 0.017640817910432816, 0.06866257637739182, -0.01805659383535385, -0.010245929472148418, -0.014166111126542091, 0.018967343494296074, 0.00040742417331784964, 0.018838651478290558, 0.04565625637769699, -0.06854378432035446, 0.009107492864131927, -0.007865112274885178, 0.022392552345991135, 0.0035638015251606703, -0.0031158514320850372, 0.005330853164196014, 0.003514304291456938, 0.059475887566804886, -0.03858805075287819, -0.004828455857932568, 0.010869594290852547, -0.0009330230532214046, 0.05013080686330795, -0.03155944123864174, 0.009325280785560608, 0.0300151277333498, 0.021521400660276413, 0.05112075433135033, -0.05329862982034683, -0.0290845800191164, -0.004420103970915079, 0.057891976088285446, 0.016730068251490593, 0.02676810882985592, -0.003541527781635523, 0.0020924960263073444, 0.01834367774426937, -0.011057684198021889, 0.10762680321931839, 0.061851754784584045, -0.05844634398818016, -0.021462004631757736, 0.011760544963181019, 0.016739968210458755, -0.005563490092754364, 0.03920181840658188, 0.02716408669948578, 0.08109628409147263, -0.02223416231572628, -0.03498465195298195, -0.04169647768139839, -0.006048562936484814, -0.026570120826363564, -0.017700213938951492, 0.05361541360616684, -0.030965475365519524, 0.08054191619157791, -0.04268642142415047, 0.006419792305678129, -0.023936867713928223, 0.06525716930627823, -0.051397938281297684, -0.02328350394964218, -0.0621289387345314, 0.0371229313313961, -0.051793914288282394, 0.03551922366023064, -0.0838681310415268, -0.03765750303864479, -0.00624160235747695, 0.0521106980741024, -0.09075814485549927, 0.0021122947800904512, -0.03058929555118084, 0.08442249894142151, 0.06707866489887238, -0.09337159991264343, 0.030727889388799667, 0.039043426513671875, -0.01916533336043358, 0.0008018553489819169, 0.03686554729938507, 0.03347993642091751, 0.01468088198453188, 0.025639571249485016, 0.038390062749385834, 0.011720946989953518, 0.010602309368550777, -0.01063200831413269, -0.025065403431653976, 0.019412819296121597, -0.0240754596889019, -0.029421161860227585, 0.01259209867566824, -0.009647012688219547, 0.017957599833607674, -0.004850729834288359, 0.04771534353494644, 0.04933885112404823, -0.025283191353082657, 0.00097633310360834, 0.030965475365519524, 0.028134232386946678, 0.025520779192447662, 0.04486430063843727, 0.030886279419064522, -0.04288441315293312, 0.0003081203321926296, -0.01113688014447689, -0.07614655792713165, 0.017680415883660316, -0.02565937116742134, -0.03227220103144646, -0.0029871587175875902, -0.08125467598438263, -0.018789153546094894, 0.051397938281297684, -0.007013759575784206, 0.003469756804406643, -0.023125112056732178, -0.044587116688489914, 0.002992108464241028, 0.040706533938646317, 0.02676810882985592, 0.01338405441492796, 0.01592821255326271, -0.05163552612066269, 0.01282968558371067, 0.08861986547708511, -0.02738187462091446, -0.01614600047469139, -0.020848238840699196, 0.06969211995601654, 0.004160243086516857, 0.036667559295892715, -0.015443139709532261, 0.005266506690531969, 0.04894287511706352, -0.009864800609648228, 0.030826883390545845, -0.0007777254213578999, 0.01920493133366108, 0.02003648318350315, -0.0010103625245392323, 0.007459234446287155, -0.0209670327603817, -0.005494194105267525, 0.009572766721248627, 0.029520155861973763, 0.050645578652620316, -0.02817383036017418, -0.011849639937281609, -0.019977087154984474, -0.0420924574136734, 0.01599750854074955, 0.008686766028404236, -0.066167913377285, -0.005786227528005838, -0.0018462471198290586, -0.02734227664768696, 0.07856202125549316, -0.012314913794398308, -0.007761167827993631, -0.005098216235637665, 0.021026428788900375, -0.01448289304971695, -0.06838539242744446, -0.041419293731451035, -0.0016940431669354439, 0.0239962637424469, -0.025560377165675163, -0.004283986520022154, -0.013869127258658409, 0.049101267009973526, -0.019719701260328293, -0.007939358241856098, -0.021125422790646553, -0.004952199291437864, 0.007276094984263182, 0.0038607849273830652, 0.03656856343150139, -0.027718456462025642, 0.024530833587050438, -0.04640861600637436, 0.023897269740700722, -0.016918158158659935, 0.017997197806835175, 0.008171995170414448, -0.057100020349025726, 0.029678547754883766, -0.02684730477631092, -0.0019514288287609816, -0.0031678236555308104, 0.006395043805241585, -0.03270777687430382, -0.002412990666925907, 0.04355757310986519, -0.062326930463314056, -0.01181994192302227, 0.0479133315384388, 0.05678323656320572, -0.005405099131166935, -0.008954050950706005, 0.01588861458003521, 0.0029401362407952547, 0.02948055788874626, 0.009736107662320137, 0.01463138498365879, -0.005056143272668123, 0.00159257382620126, -0.007677022367715836, -0.004274087026715279, -0.00010123733227374032, 0.009463872760534286, -0.010384521447122097, -0.03874644264578819, -0.03195542097091675, -0.017789309844374657, 0.03195542097091675, 0.03779609501361847, 0.07622575759887695, 0.026748310774564743, -0.01459178701043129, 0.06929614394903183, -0.03419269621372223, 0.021085824817419052, 0.009161939844489098, 0.030826883390545845, 0.022253960371017456, -0.061020202934741974, -0.018610963597893715, -0.013235562480986118, 0.06957332789897919, 0.0340145044028759, -0.06090140715241432, -0.02987653575837612, -0.04161728173494339, -0.005860473494976759, 0.01313656847923994, 0.027520466595888138, 0.027104690670967102, 0.01358204334974289, -0.07543379813432693, -0.007038508076220751, -0.019977087154984474, -0.004588394425809383, -0.005731780547648668, 0.048269711434841156, 0.01113688014447689, -0.0012003082083538175, 0.08355134725570679, 0.08291777968406677, -0.0010530538856983185, -0.021521400660276413, 0.009300531819462776, 0.030609095469117165, -0.023441893979907036, 0.04173607379198074, 0.015898514539003372, 0.0521106980741024, 0.03938000649213791, 0.018096191808581352, -0.08089829236268997, 0.02821342833340168, -0.0019576160702854395, 0.07000890374183655, 0.005924819968640804, 0.032371196895837784, -0.027401674538850784, 0.04494349658489227, 0.0013463250361382961, -0.03256918489933014, -0.04086492583155632, 0.017413130030035973, -0.02140260860323906, -0.0002490330080036074, 0.04557706043124199, -0.029460759833455086, -0.030252715572714806, -0.01935342140495777, 0.0269462987780571, -0.03389571234583855, -0.025065403431653976, -0.02288752608001232, -0.0005583907477557659, -0.004969523288309574, -6.332167004075018e-7, 0.0014774927403777838, -0.02738187462091446, 0.02065025083720684, 0.027758054435253143, 0.036093391478061676, 0.0047467858530581, -0.06933573633432388, -0.039795782417058945, -0.025461381301283836, 0.018799053505063057, -0.023719079792499542, 0.018036795780062675, -0.04288441315293312, 0.009196587838232517, -0.020670048892498016, 0.013958222232758999, 0.0013896351447328925, -0.07274115085601807, 0.006182205863296986, -0.048309311270713806, -0.012532701715826988, 0.02227376028895378, -0.012206019833683968, 0.06038663536310196, -0.052189894020557404, 0.015146156772971153, -0.041498489677906036, -0.04498309642076492, 0.05393219739198685, -0.04165688157081604, -0.00988954957574606, -0.035004451870918274, 0.024511035531759262, -0.0009775705402716994, 0.05975307151675224, -0.05175431817770004, 0.0037419917061924934, 0.00018205704691354185, 0.017987297847867012, -0.011849639937281609, -0.04478510469198227, 0.0369645431637764, 0.06387124210596085, -0.024887213483452797, -0.06438601762056351, -0.05310064181685448, 0.01553223468363285, -0.04082532599568367, 0.018610963597893715, -0.010097437538206577, 0.016838962212204933, 0.02680770680308342, -0.006904865615069866, 0.042250845581293106, 0.007122653536498547, -0.06890016049146652, -0.00358112552203238, -0.001363649033010006, -0.05452616512775421, 0.02381807379424572, -0.0020355740562081337, -0.008325436152517796, 0.029302367940545082, 0.03716253116726875, 0.009048095904290676, -0.025382187217473984, 0.012512902729213238, -0.06850418448448181, -0.0073206424713134766, 0.03995417430996895, 0.01816548779606819, -0.008587772026658058, -0.0135325463488698, -0.06331687420606613, -0.005494194105267525, 0.07784926146268845, 0.038786038756370544, -0.031005073338747025, 0.01208722684532404, 0.04735896363854408, -0.02540198527276516, 0.006756373681128025, 0.014255206100642681, 0.0026456275954842567, 0.016155900433659554, -0.035222239792346954, -0.016086604446172714, -0.029698345810174942, 0.003667745739221573, 0.010364722460508347, -0.027995640411973, 0.10239990055561066, 0.0030960526783019304, 0.012839584611356258, 0.027124488726258278, 0.010434018447995186, 0.0006348021561279893, 0.036231983453035355, -0.0270650926977396, 0.02835202030837536, -0.03344033658504486, 0.04870528727769852, 0.028055038303136826, -0.015948012471199036, 0.057456400245428085, 0.034648071974515915, -0.039003826677799225, -0.038251470774412155, 0.015591631643474102, 0.04272602126002312, -0.023837871849536896, 0.01419580914080143, -0.007429536432027817, -0.00026682106545194983, -0.009701459668576717, 0.02241235226392746, 0.05512012913823128, -0.02983693778514862, 0.02162039652466774, 0.07658213376998901, -0.00996379554271698, 0.0330047607421875, 0.03405410423874855, 0.017274538055062294, -0.05112075433135033, 0.008775861002504826, -0.04074613004922867, 0.04731936380267143, 0.01696765422821045, 0.024926811456680298, 0.045379072427749634, -0.0016507330583408475, 0.004016701132059097, 0.04197366163134575, 0.029559753835201263, -0.01540354173630476, 0.019759299233555794, -0.02223416231572628, -0.052229490131139755, -0.0719095915555954, 0.040449146181344986, -0.004333483520895243, 0.07381028681993484, 0.006122808903455734, 0.015284748747944832, 0.004029075615108013, -0.003697443986311555, -0.028312422335147858, -0.026391930878162384, -0.036667559295892715, 0.06866257637739182, -0.020244373008608818, -0.025817763060331345, 0.047398559749126434, 0.053061045706272125, -0.00023928823065944016, -0.002781745046377182, -0.014849172905087471, 0.033638328313827515, 0.02183818444609642, 0.046052236109972, 0.031579241156578064, -0.01419580914080143, -0.06339606642723083, -0.038904834538698196, 0.034608472138643265, -0.038687046617269516, -0.00952821969985962, 0.0024859991390258074, 0.008572922088205814, 0.01830407977104187, -0.06695987284183502, -0.06339606642723083, 0.022313356399536133, 0.03415309637784958, 0.040666934102773666, -0.007043457590043545, -0.0538925975561142, 0.025778165087103844 ]
41,990
opt_einsum_fx._efficient_shape_prop
EfficientShapeProp
Like ShapeProp, traverses a graph Node-by-Node and records the shape and type of the result into each Node. Except we treat 'einsum' as a special case. We don't actually execute 'einsum' on tensors, since the einsums will typically not be optimized yet (ShapeProp is called before optimization), and inefficient summation order can create enormous intermediate tensors, which often creates needless out-of-memory errors. So we override 'run_node' only for 'einsums'. It's straightforward to determine the shape of the result just from the output indices. (The call to opt_einsum that will typically follow this, also doesn't actually build the tensors during its exploration.)
class EfficientShapeProp(torch.fx.Interpreter): """ Like ShapeProp, traverses a graph Node-by-Node and records the shape and type of the result into each Node. Except we treat 'einsum' as a special case. We don't actually execute 'einsum' on tensors, since the einsums will typically not be optimized yet (ShapeProp is called before optimization), and inefficient summation order can create enormous intermediate tensors, which often creates needless out-of-memory errors. So we override 'run_node' only for 'einsums'. It's straightforward to determine the shape of the result just from the output indices. (The call to opt_einsum that will typically follow this, also doesn't actually build the tensors during its exploration.) """ def run_node(self, n: Node) -> Any: if n.op == "call_function" and n.target in _EINSUM_FUNCS: args, kwargs = self.fetch_args_kwargs_from_env(n) equation, *operands = args shapes = [op.shape for op in operands] assert len({op.dtype for op in operands}) == 1 meta = SimpleMeta(einsum_shape(equation, *shapes), operands[0].dtype) result = torch.zeros((1,) * len(meta.shape), dtype=meta.dtype, device=operands[0].device).expand(meta.shape) elif n.op == "call_function" and n.target == torch.tensordot: args, kwargs = self.fetch_args_kwargs_from_env(n) shape_a = [dim for i, dim in enumerate(args[0].shape) if i not in kwargs['dims'][0]] shape_b = [dim for i, dim in enumerate(args[1].shape) if i not in kwargs['dims'][1]] assert len({op.dtype for op in args}) == 1 meta = SimpleMeta(shape_a + shape_b, args[0].dtype) result = torch.zeros((1,) * len(meta.shape), dtype=meta.dtype, device=args[0].device).expand(meta.shape) else: result = super().run_node(n) if isinstance(result, torch.Tensor): meta = SimpleMeta(result.shape, result.dtype) else: meta = None n.meta = dict() n.meta['tensor_meta'] = meta n.meta['type'] = type(result) return result def propagate(self, *args): return super().run(*args)
(module: torch.nn.modules.module.Module, garbage_collect_values: bool = True, graph: Optional[torch.fx.graph.Graph] = None)
[ -0.04013122618198395, -0.07908428460359573, 0.057582788169384, 0.014929552562534809, 0.04778929427266121, 0.04999835416674614, -0.026821650564670563, -0.053643301129341125, 0.019936751574277878, -0.010980860330164433, 0.040867578238248825, 0.0416775681078434, 0.018169505521655083, 0.0058816177770495415, -0.019679028540849686, 0.012821742333471775, 0.03173680603504181, 0.0031709191389381886, 0.05968139320611954, 0.030963633209466934, -0.01525170635432005, -0.023213520646095276, 0.04046258330345154, -0.008592316880822182, -0.015785561874508858, -0.03943169116973877, 0.05548418313264847, -0.03424040228128433, 0.012987421825528145, -0.04105166718363762, -0.06582994014024734, -0.029877513647079468, 0.0159880593419075, 0.044659797102212906, 0.05169196426868439, -0.05482146516442299, 0.028699349611997604, 0.07606524229049683, -0.004910552408546209, 0.0037116780877113342, -0.019458122551441193, -0.03300701454281807, 0.034111540764570236, -0.0076442621648311615, -0.02943570166826248, -0.010695523582398891, -0.027134599164128304, 0.020304927602410316, -0.08254514634609222, -0.03865852206945419, 0.04550660029053688, -0.056220535188913345, 0.042782094329595566, 0.027300279587507248, -0.019771071150898933, 0.05835595726966858, 0.03486630320549011, -0.0037577003240585327, -0.0448438823223114, 0.010815181769430637, -0.011615964584052563, -0.0175896268337965, -0.0023701353929936886, -0.03398267924785614, -0.031865667551755905, -0.05901867523789406, -0.0321233905851841, 0.0038359377067536116, 0.007966416887938976, 0.00028102213400416076, -0.011836870573461056, -0.022845344617962837, 0.04543296620249748, -0.021262185648083687, 0.010750750079751015, -0.019329261034727097, -0.004047639202326536, -0.0006719218799844384, 0.09683039039373398, -0.017525196075439453, -0.07864247262477875, -0.00897890143096447, -0.04907791316509247, -0.006986146792769432, -0.004114371258765459, 0.002874076832085848, 0.011818462051451206, 0.039910320192575455, 0.028754575178027153, -0.06903307139873505, 0.014460127800703049, 0.04060985520482063, -0.02825753763318062, 0.035786744207143784, -0.022900572046637535, 0.012922991067171097, 0.01858370378613472, -0.05349602922797203, -0.0026232567615807056, -0.013355598784983158, -0.00930565781891346, 0.06641902029514313, 0.04742112010717392, 0.03361450508236885, 0.026214158162474632, -0.007901986129581928, -0.020084021613001823, -0.0015267814742401242, 0.048893824219703674, -0.016807252541184425, 0.014681033790111542, 0.014478536322712898, -0.02687687613070011, -0.02185126766562462, 0.019679028540849686, -0.03976304829120636, -0.024446912109851837, -0.011367445811629295, -0.010640298016369343, 0.03580515459179878, 0.05541054531931877, 0.03499516472220421, -0.028588896617293358, -0.0011212121462449431, -0.02279011905193329, 0.04414434731006622, 0.07864247262477875, -0.006705412641167641, -0.0012494985712692142, -0.05158151313662529, -0.0033803193364292383, 0.010299734771251678, 0.008868448436260223, 0.07168394327163696, -0.005430601537227631, 0.06803899258375168, -0.01606169529259205, -0.03370654955506325, -0.027355505153536797, 0.010051215067505836, 0.012904582545161247, 0.016457485035061836, -0.0013081766664981842, 0.0104378005489707, -0.03486630320549011, 0.03322792053222656, 0.03873215615749359, 0.009995988570153713, 0.020010387524962425, -0.04399707913398743, -0.034424491226673126, 0.016162943094968796, 0.015454203821718693, -0.003391824895516038, 0.03678081929683685, 0.0320129357278347, 0.013189919292926788, -0.014635011553764343, -0.0352160707116127, -0.01888744905591011, -0.048194289207458496, -0.013898658566176891, 0.008527885191142559, -0.01553704310208559, -0.041788019239902496, -0.002880980260670185, 0.0642099604010582, -0.04517524316906929, -0.03939487412571907, 0.038879428058862686, -0.028607305139303207, -0.07908428460359573, 0.02857048809528351, 0.03495834767818451, 0.017138611525297165, 0.06564585119485855, -0.017203042283654213, -0.014386491850018501, -0.05489509925246239, -0.016190556809306145, -0.030889999121427536, -0.026674378663301468, -0.028957072645425797, -0.033209510147571564, -0.0076166489161551, 0.07635978609323502, 0.025164855644106865, -0.051471058279275894, 0.034148361533880234, 0.023213520646095276, -0.03720422461628914, -0.007207052782177925, -0.017203042283654213, 0.03624696657061577, 0.03869533911347389, 0.01667839102447033, -0.0061669545248150826, -0.005131458397954702, 0.008592316880822182, 0.013217532075941563, -0.07006396353244781, 0.02013924904167652, 0.047310665249824524, 0.06678719818592072, -0.036412645131349564, -0.0004426745872478932, 0.014920348301529884, 0.08585873246192932, -0.027060965076088905, -0.016540324315428734, -0.032786108553409576, -0.01070472877472639, 0.03081636317074299, 0.10986383259296417, 0.045690689235925674, 0.003410233883187175, 0.012692880816757679, 0.01796700805425644, 0.010170872323215008, -0.004731066524982452, 0.04532251134514809, -0.020120838657021523, 0.02790777012705803, 0.03503198176622391, 0.02952774614095688, -0.03556583821773529, -0.043039821088314056, -0.034406084567308426, 0.028312763199210167, -0.009903945028781891, -0.019734254106879234, -0.02212740108370781, -0.015757950022816658, 0.03234429657459259, 0.03041137009859085, 0.07006396353244781, -0.018362797796726227, -0.015886811539530754, 0.03503198176622391, 0.02658233419060707, -0.09263318032026291, -0.04193529114127159, -0.04002077504992485, -0.05419556424021721, -0.02790777012705803, 0.019016310572624207, 0.09653584659099579, 0.029288431629538536, -0.05890822038054466, 0.0018431830685585737, -0.006005877163261175, -0.00814130064100027, 0.05224422737956047, 0.013852636329829693, 0.029619790613651276, 0.00961860828101635, 0.029619790613651276, 0.007791532669216394, 0.00401082169264555, -0.07080031931400299, -0.007441765163093805, -0.05993911623954773, 0.025385761633515358, 0.044033896178007126, -0.012748107314109802, -0.0545637421309948, 0.02150150015950203, 0.01823393628001213, -0.07282529026269913, 0.044107530266046524, 0.03309905529022217, 0.05552100017666817, -0.019771071150898933, 0.008196527138352394, 0.011247788555920124, 0.011974937282502651, -0.03322792053222656, 0.08733143657445908, -0.02912275306880474, 0.0002016341022681445, 0.011487103067338467, -0.00014381890650838614, -0.05253877118229866, -0.04130939021706581, -0.022587621584534645, 0.03781171515583992, -0.0010314692044630647, -0.03738831356167793, 0.03968941420316696, -0.02949092909693718, 0.06822308152914047, 0.021225368604063988, 0.032822925597429276, -0.02439168468117714, -0.03140544518828392, 0.0022205638233572245, -0.06185363233089447, 0.05644144117832184, -0.033209510147571564, -0.043076638132333755, 0.02498076856136322, -0.0005758508923463523, 0.005306342151015997, -0.057840511202812195, 0.024446912109851837, -0.03495834767818451, 0.04351845011115074, 0.007630455773323774, 0.04646385833621025, -0.034148361533880234, -0.005508839152753353, 0.029711835086345673, -0.061375003308057785, 0.030392961576581, -0.00407985458150506, 0.017828941345214844, 0.016604755073785782, -0.029859105125069618, 0.05953412130475044, 0.046942491084337234, -0.021685589104890823, 0.027410732582211494, 0.016899297013878822, 0.031571123749017715, -0.0074325609020888805, -0.030264098197221756, 0.0076764775440096855, -0.03935805708169937, -0.006001275032758713, -0.016549527645111084, -0.025496214628219604, -0.014975574798882008, 0.014865121804177761, 0.05415874719619751, -0.04775247722864151, -0.03965259715914726, 0.08431239426136017, 0.023600107058882713, -0.01057586632668972, 0.0009900493314489722, 0.050513800233602524, 0.03917396813631058, -0.030982043594121933, 0.010640298016369343, 0.031147722154855728, -0.03147907927632332, 0.038584884256124496, -0.013070262037217617, 0.03164476156234741, 0.024520548060536385, -0.012784925289452076, -0.03644946217536926, -0.012499588541686535, -0.032546792179346085, 0.07477662712335587, -0.0024828894529491663, -0.07842157036066055, -0.031018860638141632, -0.004068349022418261, -0.03495834767818451, -0.03707536309957504, -0.016807252541184425, -0.00051918625831604, 0.03587878867983818, 0.009747469797730446, -0.06697128713130951, 0.0029039911460131407, -0.0024920939467847347, 0.02019447460770607, -0.027116190642118454, -0.02788936160504818, -0.08688962459564209, -0.007750113029032946, -0.00004832315244129859, 0.002726806327700615, 0.005743551533669233, -0.056257352232933044, -0.005168275907635689, 0.017543604597449303, -0.015417385846376419, 0.02689528465270996, 0.044402070343494415, -0.006783649791032076, 0.019071536138653755, 0.018694156780838966, 0.00928264670073986, 0.007948007434606552, 0.008136698044836521, -0.02210899256169796, 0.026453472673892975, 0.014690238051116467, 0.04005759209394455, 0.03160794451832771, -0.01698213629424572, -0.09248590469360352, -0.002416157629340887, 0.014285244047641754, 0.035160843282938004, -0.10021761059761047, -0.03619173914194107, -0.00009269128349842504, -0.050182443112134933, 0.009508155286312103, 0.05474782735109329, 0.002100906567648053, -0.054048292338848114, -0.015500226058065891, 0.010677115060389042, 0.016236579045653343, 0.04396026208996773, -0.00019602516840677708, -0.012444362044334412, 0.012720494531095028, 0.03565788269042969, -0.03976304829120636, -0.003028250765055418, 0.012297091074287891, -0.0385480672121048, 0.02564348466694355, 0.03107408620417118, 0.04038894921541214, 0.056551892310380936, 0.035179253667593, 0.004832315258681774, 0.02308465912938118, -0.017681671306490898, -0.04911473020911217, -0.010152463801205158, -0.0029914332553744316, 0.05091879516839981, -0.03081636317074299, -0.0449543371796608, -0.006001275032758713, -0.011247788555920124, -0.018013030290603638, -0.07319346815347672, 0.0005427725263871253, -0.00814130064100027, -0.02302943356335163, 0.00576196052134037, 0.021280596032738686, 0.024741454049944878, 0.018169505521655083, 0.01890585757791996, 0.003396427258849144, -0.014846712350845337, 0.027134599164128304, 0.017736896872520447, -0.07606524229049683, -0.006903307046741247, 0.062000904232263565, -0.0003503428306430578, 0.04841519519686699, -0.012241864576935768, 0.051471058279275894, 0.03013523668050766, 0.02435486763715744, -0.011477898806333542, -0.02085719257593155, 0.029969558119773865, -0.005439806263893843, 0.02976706065237522, -0.02855207957327366, -0.040204860270023346, -0.027116190642118454, -0.06365769356489182, 0.04940927028656006, -0.00036846401053480804, -0.019126763567328453, 0.013861840590834618, 0.04366571828722954, -0.03081636317074299, -0.01698213629424572, -0.012269478291273117, 0.01630100980401039, 0.005329353269189596, -0.024870315566658974, 0.0009595596930012107, -0.03455335274338722, -0.06435723602771759, -0.010640298016369343, -0.02496235817670822, 0.023802602663636208, -0.0256250761449337, -0.00013734704407397658, 0.07440844923257828, 0.06052819639444351, -0.0009733663173392415, 0.05633098632097244, 0.04745793715119362, -0.0015520935412496328, 0.01267447229474783, 0.02919638715684414, 0.012020958587527275, -0.03015364520251751, -0.03486630320549011, 0.0159880593419075, 0.008136698044836521, 0.024502137675881386, -0.023544879630208015, -0.011100517585873604, 0.01665998063981533, 0.01474546454846859, 0.03777489811182022, 0.047862932085990906, 0.007427958771586418, 0.0022504781372845173, 0.05382738634943962, -0.023526471108198166, -0.014202403835952282, -0.04690567031502724, -0.010695523582398891, 0.011312219314277172, -0.00033308457932434976, 0.03943169116973877, 0.0024391685146838427, 0.04447570815682411, 0.07613887637853622, 0.03597083315253258, -0.06358405947685242, 0.016788844019174576, 0.039873503148555756, -0.07219938933849335, 0.010428596287965775, -0.03580515459179878, 0.04108848422765732, -0.04005759209394455, -0.007837554439902306, 0.045727506279945374, 0.009172194637358189, 0.0033043830189853907, 0.0042639425955712795, -0.010078828781843185, 0.05798777937889099, -0.010539049282670021, -0.022495577111840248, 0.010879612527787685, -0.004777088761329651, 0.0033849216997623444, 0.014239221811294556, 0.0192372165620327, 0.043444812297821045, -0.021888086572289467, -0.01890585757791996, 0.030889999121427536, 0.05854004621505737, 0.06597720831632614, 0.0013714570086449385, -0.016917705535888672, -0.03331996127963066, -0.03910033404827118, 0.004402008838951588, 0.03468221426010132, 0.05106606334447861, 0.04712657630443573, -0.035786744207143784, -0.01525170635432005, -0.05927639827132225, -0.06251635402441025, 0.005379977636039257, 0.014036724343895912, -0.028147084638476372, 0.026158932596445084, -0.005674518644809723, 0.015794767066836357, 0.04399707913398743, -0.006199169903993607, -0.0224219411611557, -0.03549220412969589, -0.04933563619852066, -0.03910033404827118, 0.019752662628889084, 0.005973661784082651, -0.027153007686138153, 0.028938664123415947, -0.0002354315365664661, -0.015500226058065891, -0.02790777012705803, 0.043739356100559235, -0.032178618013858795, 0.0023724366910755634, -0.056294169276952744, -0.012398339807987213, 0.00912617240101099, 0.03008001111447811, 0.04285573214292526, -0.05603644624352455, 0.06240589916706085, 0.0039049708284437656, 0.015178071334958076, -0.027484366670250893, -0.060785923153162, -0.0034723635762929916, -0.009172194637358189, 0.015040005557239056, -0.02304784208536148, -0.04031531512737274, 0.03424040228128433, 0.048820190131664276, -0.05191287025809288, -0.09020321816205978, -0.02310306765139103, 0.05379056930541992, -0.031202949583530426, -0.03817989304661751, -0.06450450420379639, -0.024115553125739098, 0.07006396353244781, 0.055631451308727264, -0.02914116159081459, 0.01890585757791996, -0.011256992816925049, -0.006838876288384199, -0.0018420325359329581, -0.038363978266716, -0.03722263127565384, -0.07227302342653275, 0.03109249658882618, 0.03659673407673836, 0.009563381783664227, -0.02917797863483429, 0.010566662065684795, -0.020268110558390617, -0.07094758749008179, -0.043776173144578934, 0.053716935217380524, 0.03689127415418625, -0.040867578238248825, -0.013825023546814919, -0.03112931363284588, -0.02054424211382866, -0.00696313614025712, 0.06829672306776047, -0.031258177012205124, 0.024538956582546234, -0.08298695832490921, 0.033172693103551865, 0.03781171515583992, -0.03935805708169937, -0.07930519431829453, -0.01252720132470131, -0.03103726916015148, -0.04720021411776543, -0.017810532823204994, -0.0055456566624343395, -0.018068255856633186, -0.0036219351459294558, -0.03146067261695862, 0.07131576538085938, 0.03646787256002426, 0.012711289338767529, 0.029306840151548386, -0.006093319039791822, 0.047899749130010605, 0.05791414529085159, 0.054306015372276306, 0.028975481167435646, -0.058503229171037674, 0.008458852767944336, 0.018500862643122673, -0.01988152414560318, -0.013834227807819843, -0.03584197163581848, 0.009425315074622631, 0.04646385833621025, -0.016080103814601898, -0.00900191254913807, 0.015573861077427864, 0.039247602224349976, 0.02185126766562462, -0.014478536322712898, 0.015592269599437714, -0.04042576625943184, -0.03646787256002426, 0.014635011553764343, 0.021354230120778084, 0.06251635402441025, -0.03179202973842621, -0.03460858017206192, -0.03427722305059433, 0.0031479080207645893, -0.005186684895306826, -0.00018538256699685007, 0.048231106251478195, -0.034774258732795715, -0.028331173583865166, 0.009554177522659302, 0.019458122551441193, 0.022863753139972687, -0.08077789843082428, -0.007984825409948826, -0.045027971267700195, 0.061706364154815674, -0.005587076768279076, -0.0224771685898304, -0.06866489350795746, -0.02371056005358696, -0.033522460609674454, -0.028957072645425797, -0.04392344132065773, 0.03751717507839203, -0.010262916795909405, -0.057509150356054306, -0.05522645637392998, -0.0019363777246326208, 0.03720422461628914, -0.05360648036003113, -0.010594275780022144, 0.001498017692938447, 0.04035213217139244, -0.030521823093295097, 0.01107290480285883, 0.02214580960571766, -0.026490291580557823, 0.0288650281727314, 0.025790756568312645, 0.04362890124320984, 0.06770763546228409, -0.06645584106445312, 0.024557365104556084, -0.023784194141626358, 0.0029868308920413256, 0.04701612517237663, 0.01858370378613472, -0.01217743381857872, 0.000915838754735887, 0.056257352232933044, -0.05537372827529907, 0.004358287900686264, 0.017074180766940117, 0.013355598784983158, 0.004496354144066572, 0.058834586292505264, -0.04745793715119362, -0.03569469973444939, 0.007009157910943031, 0.060749102383852005, -0.0007714445819146931, -0.039615780115127563, -0.02947252057492733, -0.010787568055093288, 0.011192562058568, -0.02306625060737133, 0.013456846587359905, 0.055594634264707565, -0.004024628084152937, 0.02912275306880474, 0.017856555059552193, 0.005646905396133661, -0.0023057046346366405, 0.03269406408071518, 0.054931916296482086, 0.006677799392491579, 0.022016948089003563, 0.07775885611772537, -0.057545967400074005, 0.04105166718363762, -0.09793491661548615, -0.07739067822694778, -0.11509193480014801, -0.0320313461124897, -0.0353081151843071, -0.019807890057563782, 0.03558424860239029, 0.005725143011659384, -0.008173516020178795, 0.04197210818529129, 0.02174081653356552 ]
41,991
torch.fx.interpreter
__init__
.. note:: Backwards-compatibility for this API is guaranteed.
@compatibility(is_backward_compatible=True) def __init__(self, module: torch.nn.Module, garbage_collect_values: bool = True, graph: Optional[Graph] = None): self.module = module self.submodules = dict(self.module.named_modules()) if graph is not None: self.graph = graph else: self.graph = self.module.graph self.env : Dict[Node, Any] = {} self.name = "Interpreter" self.garbage_collect_values = garbage_collect_values self.extra_traceback = True if self.garbage_collect_values: # Run through reverse nodes and record the first instance of a use # of a given node. This represents the *last* use of the node in the # execution order of the program, which we will use to free unused # values node_to_last_use : Dict[Node, Node] = {} self.user_to_last_uses : Dict[Node, List[Node]] = {} def register_last_uses(n : Node, user : Node): if n not in node_to_last_use: node_to_last_use[n] = user self.user_to_last_uses.setdefault(user, []).append(n) for node in reversed(self.graph.nodes): map_arg(node.args, lambda n: register_last_uses(n, node)) map_arg(node.kwargs, lambda n: register_last_uses(n, node))
(self, module: torch.nn.modules.module.Module, garbage_collect_values: bool = True, graph: Optional[torch.fx.graph.Graph] = None)
[ 0.004680468700826168, -0.03540169075131416, 0.010761463083326817, 0.06126173213124275, 0.0025435364805161953, 0.06035816669464111, -0.045142125338315964, 0.009279616177082062, -0.0063068862073123455, -0.0785740464925766, 0.02642025053501129, 0.05164779722690582, -0.036124542355537415, 0.0185953751206398, -0.046009548008441925, -0.006925828289240599, -0.012234275229275227, 0.08283887058496475, 0.0009504377958364785, -0.037299178540706635, -0.0689239650964737, 0.007915232330560684, 0.019137514755129814, 0.02936587482690811, -0.039937589317560196, -0.04076886922121048, 0.013634800910949707, 0.01919172890484333, 0.009794648736715317, -0.022516848519444466, -0.07387550175189972, -0.023854125291109085, -0.020348291844129562, 0.0036368505097925663, 0.03910630941390991, -0.05106951296329498, -0.017827345058321953, 0.04890095815062523, -0.09057339280843735, -0.019245943054556847, 0.00003649557038443163, -0.07727290689945221, 0.017393633723258972, 0.0027310263831168413, -0.014782329089939594, 0.006184904836118221, 0.05612948164343834, 0.001205130247399211, -0.010255467146635056, -0.05341878533363342, 0.03157057240605354, -0.03682932257652283, 0.06415314227342606, 0.028299666941165924, -0.03160671517252922, 0.08804340660572052, 0.03278135135769844, 0.009821755811572075, 0.0030359795782715082, 0.009288651868700981, 0.02893216349184513, 0.022824060171842575, -0.04214228689670563, 0.010309680365025997, -0.0003775208897422999, 0.011267459951341152, -0.060466594994068146, -0.005398802924901247, -0.007707412354648113, 0.0115114226937294, -0.015270254574716091, -0.035672761499881744, 0.06740597635507584, 0.022354207932949066, 0.046298690140247345, -0.05479220300912857, -0.059165459126234055, -0.00598160270601511, -0.01641778275370598, -0.0036300737410783768, 0.01152045838534832, 0.01623706892132759, -0.026058824732899666, 0.01040907297283411, 0.0035193869844079018, -0.05612948164343834, -0.02407098188996315, -0.0013327589258551598, 0.018848372623324394, -0.017800237983465195, -0.08753741532564163, 0.01933629810810089, 0.0028259006794542074, 0.07430921494960785, 0.03990144655108452, 0.001487494446337223, 0.009460329078137875, -0.03693775087594986, -0.055009059607982635, -0.05114179849624634, 0.0428289994597435, 0.03693775087594986, -0.052081506699323654, 0.02983572892844677, 0.008086909539997578, -0.004255793057382107, -0.02052900567650795, -0.00532200001180172, 0.04828653484582901, -0.05190079286694527, -0.09592249989509583, 0.047635965049266815, 0.023095130920410156, 0.00597708486020565, -0.00010927493713097647, -0.036251042038202286, -0.05121408402919769, -0.043804850429296494, 0.01993265189230442, 0.03791360184550285, -0.020583219826221466, 0.06661083549261093, -0.03849188610911369, 0.03160671517252922, 0.019408583641052246, 0.062382154166698456, 0.04134714975953102, -0.004300971049815416, 0.006998113822191954, -0.06259901076555252, 0.02952851541340351, -0.048647958785295486, -0.025733541697263718, 0.06458685547113419, 0.0247938334941864, -0.024034839123487473, -0.05182851105928421, 0.015685895457863808, -0.038166601210832596, 0.016743065789341927, -0.004594630096107721, 0.013490230776369572, 0.010896998457610607, 0.027703313156962395, 0.01461968757212162, -0.01964351162314415, -0.005904799792915583, 0.026980461552739143, -0.04192543402314186, -0.08479057252407074, 0.0010588656878098845, -0.006266225595027208, 0.003401923691853881, 0.01611960679292679, -0.03175128623843193, 0.06610484421253204, -0.019227871671319008, -0.008809762075543404, -0.04752753674983978, 0.0011610814835876226, -0.05641862004995346, -0.04391327500343323, -0.005900281947106123, -0.03594382852315903, -0.0203663632273674, -0.035961899906396866, 0.0689239650964737, -0.08435685932636261, -0.07467064261436462, 0.0460456907749176, -0.06661083549261093, -0.06599641591310501, 0.01756531000137329, 0.05247907713055611, -0.011836706660687923, 0.06068345159292221, 0.004167695064097643, -0.002911739284172654, -0.027811741456389427, 0.06426157057285309, 0.008321836590766907, -0.0410580113530159, -0.05949074402451515, -0.044961411505937576, 0.034769196063280106, -0.025588970631361008, 0.023456556722521782, -0.02408905327320099, 0.05302121490240097, 0.030395938083529472, 0.004671433009207249, 0.032419923692941666, 0.0516839399933815, 0.03158864378929138, 0.06071959063410759, 0.005949977785348892, -0.02909480407834053, 0.007246594410389662, -0.03193200007081032, 0.028462309390306473, -0.016137678176164627, 0.03128143399953842, 0.06942996382713318, 0.016173819079995155, -0.044816840440034866, 0.039793018251657486, 0.033883702009916306, 0.09635621309280396, -0.03794974461197853, -0.010029575787484646, -0.02539018727838993, -0.03794974461197853, 0.04416627436876297, 0.07022509723901749, -0.015532288700342178, -0.03939545154571533, -0.003261870937421918, 0.04116643965244293, 0.0396123044192791, -0.02643832191824913, 0.03269099444150925, 0.005579516291618347, -0.03437162563204765, -0.026094967499375343, -0.03406441584229469, -0.04817810654640198, -0.0026338929310441017, -0.03446198254823685, 0.001114209066145122, -0.005800889804959297, 0.05612948164343834, 0.01773698814213276, -0.04647940397262573, 0.0002402919199084863, 0.07640548795461655, 0.02022179216146469, -0.003417735919356346, 0.026474464684724808, -0.02452276460826397, -0.030920006334781647, -0.05153936892747879, 0.003948580473661423, -0.006302368361502886, -0.03494990989565849, 0.002421555109322071, 0.030920006334781647, 0.0703696683049202, 0.018053235486149788, -0.046876970678567886, -0.008520621806383133, -0.005064483731985092, -0.03852802887558937, 0.0038356350269168615, 0.0011938357492908835, -0.03218499943614006, -0.027396101504564285, 0.021522926166653633, 0.010056682862341404, 0.027359958738088608, -0.011204210110008717, -0.016743065789341927, -0.013580587692558765, -0.04037129878997803, 0.051467083394527435, 0.038636453449726105, -0.02202892303466797, 0.009058242663741112, 0.005263268016278744, -0.03204042837023735, -0.028462309390306473, -0.0065869917161762714, 0.023854125291109085, -0.015523253008723259, 0.014195011928677559, -0.03494990989565849, -0.026402179151773453, -0.008231480605900288, 0.011131925508379936, -0.03852802887558937, 0.061370160430669785, 0.03939545154571533, -0.04080501198768616, -0.04311813786625862, -0.009207330644130707, -0.026564821600914, 0.022480705752968788, -0.003386111231520772, -0.01700510084629059, 0.015884678810834885, -0.014565473422408104, 0.02155906893312931, 0.013869727961719036, 0.04470841586589813, 0.03540169075131416, 0.028715306892991066, -0.0020364103838801384, -0.06162315607070923, 0.03903402388095856, 0.02468540519475937, -0.009541650302708149, 0.044852983206510544, -0.04300970956683159, -0.006392724812030792, -0.001852308982051909, 0.018938729539513588, -0.06635784357786179, 0.026691321283578873, 0.03666668385267258, -0.019300155341625214, 0.01461968757212162, 0.05153936892747879, 0.024125196039676666, 0.06530970335006714, 0.05388863757252693, 0.019426655024290085, -0.019462797790765762, 0.03343191742897034, -0.07203222811222076, 0.010680142790079117, 0.08666998893022537, -0.0363052561879158, 0.01949894055724144, 0.028408095240592957, 0.06082801893353462, -0.019860366359353065, -0.011764421127736568, 0.07409235835075378, 0.00642434973269701, 0.02864302136003971, -0.04579269140958786, -0.006939381826668978, 0.0058099254965782166, 0.016761137172579765, 0.005028341431170702, -0.033160850405693054, 0.024197479709982872, 0.02598653919994831, 0.01667078025639057, 0.0023311986587941647, -0.04503369703888893, 0.05106951296329498, 0.000998439732939005, -0.08414001017808914, 0.012568593956530094, 0.04506983980536461, -0.03411862626671791, 0.041889291256666183, 0.004594630096107721, 0.022950559854507446, 0.011131925508379936, -0.02081814594566822, 0.053527213633060455, -0.05833417922258377, 0.039503876119852066, 0.04264828562736511, 0.0035826365929096937, -0.019896509125828743, -0.015703966841101646, -0.04640711843967438, -0.04463613033294678, 0.05551505461335182, -0.015387718565762043, -0.042756713926792145, 0.018387554213404655, 0.023872196674346924, -0.08291115611791611, 0.022498777136206627, 0.02734188735485077, 0.09577792882919312, -0.028859877958893776, 0.014520294964313507, -0.0669722631573677, 0.059888310730457306, 0.014267297461628914, -0.027088889852166176, 0.006532777566462755, -0.008543210104107857, 0.013192053884267807, 0.009695256128907204, -0.009604900144040585, 0.04799739271402359, 0.021378356963396072, 0.002313127275556326, -0.045864976942539215, -0.01800805702805519, -0.0027310263831168413, 0.052804358303546906, -0.0056427656672894955, 0.03471498191356659, 0.02614918164908886, 0.01699606515467167, 0.01567685976624489, 0.00008605048060417175, 0.018938729539513588, -0.004005053546279669, 0.03129950538277626, 0.030522437766194344, 0.0389617383480072, -0.0428289994597435, -0.05034666135907173, 0.012767378240823746, -0.044961411505937576, 0.02717924676835537, 0.05009366199374199, 0.011466244235634804, -0.0006980042671784759, 0.05822575092315674, 0.015008220449090004, 0.05468377470970154, 0.01774602383375168, -0.0013406651560217142, -0.04047972708940506, -0.05949074402451515, -0.035528190433979034, 0.0017450106097385287, -0.03903402388095856, 0.04987680912017822, -0.03399213030934334, 0.08479057252407074, -0.010472322814166546, 0.005954495631158352, 0.053382642567157745, 0.01712256297469139, 0.014375724829733372, -0.011059639975428581, 0.012695093639194965, -0.03328734636306763, 0.003876295406371355, -0.03325120359659195, 0.038022030144929886, -0.06422542780637741, -0.00665024109184742, 0.02363727055490017, -0.05670776218175888, 0.00210643676109612, -0.053238071501255035, -0.0006533907144330442, 0.007630609441548586, 0.00996632594615221, 0.03505833446979523, -0.025932325050234795, 0.030161011964082718, 0.04590111970901489, -0.018812231719493866, -0.01817069947719574, 0.02553475648164749, -0.0049921986646950245, 0.05479220300912857, -0.08139316737651825, -0.002069164765998721, -0.015758179128170013, -0.010391001589596272, 0.062382154166698456, -0.03690160810947418, -0.0378413163125515, -0.014429938979446888, -0.017032207921147346, -0.018206842243671417, 0.06390014290809631, 0.0611894465982914, -0.021342214196920395, 0.03605225682258606, -0.007025220897048712, -0.01786348782479763, -0.00798300001770258, 0.007273701019585133, 0.08124859631061554, -0.041997719556093216, -0.03540169075131416, -0.01755627430975437, 0.0279382411390543, 0.03424512594938278, 0.0137251578271389, -0.053238071501255035, -0.052515219897031784, -0.011393959634006023, -0.017538202926516533, -0.03158864378929138, -0.0008804114768281579, -0.07806804776191711, 0.0084121935069561, -0.031245289370417595, 0.06765897572040558, 0.04116643965244293, -0.04116643965244293, 0.015116648748517036, 0.05714147537946701, -0.045395124703645706, 0.037443749606609344, 0.024540835991501808, -0.060032881796360016, -0.04521441087126732, -0.005719568580389023, 0.04311813786625862, -0.026185324415564537, -0.020312149077653885, -0.014330546371638775, 0.00443650595843792, 0.006022263318300247, -0.03377527371048927, -0.011565636843442917, 0.03677510842680931, -0.046009548008441925, -0.01760145276784897, 0.06187615543603897, 0.03648597002029419, 0.020113365724682808, 0.014565473422408104, -0.025607042014598846, 0.0029953191988170147, 0.013354696333408356, -0.019083300605416298, -0.0230228453874588, -0.0060719591565430164, -0.03413669764995575, -0.00048340746434405446, -0.03885331004858017, 0.05396092310547829, -0.013056519441306591, -0.016020214185118675, 0.005484641529619694, 0.0739116445183754, 0.04575654864311218, -0.009130528196692467, 0.03487762436270714, -0.039070166647434235, -0.04633483290672302, 0.003910179249942303, 0.05114179849624634, 0.04264828562736511, 0.02305898815393448, -0.02114342898130417, -0.03384755924344063, 0.012089704163372517, 0.04152786359190941, 0.0035261637531220913, 0.05128636956214905, -0.0010859726462513208, -0.03614261373877525, -0.01653524674475193, -0.02273370511829853, 0.017086420208215714, 0.002674553543329239, -0.0075538065284490585, 0.042901284992694855, -0.0513586550951004, 0.011321674101054668, 0.04951538145542145, -0.055153630673885345, 0.0014649053337052464, -0.06686383485794067, -0.017646631225943565, -0.009731398895382881, 0.0007719836430624127, 0.008222444914281368, -0.03151635825634003, -0.002893668133765459, 0.012098739854991436, 0.01566782407462597, 0.02911287546157837, -0.006121655460447073, 0.006180386990308762, -0.00819533783942461, 0.0031398895662277937, 0.00554337352514267, 0.010969283059239388, 0.005837032105773687, -0.00908986758440733, -0.037443749606609344, -0.004684986546635628, 0.006370135582983494, -0.03798588737845421, 0.043081995099782944, 0.028173167258501053, -0.0016569129657000303, 0.024179408326745033, 0.004355185199528933, 0.04506983980536461, 0.0566716194152832, -0.03737146407365799, 0.010363894514739513, 0.0042444984428584576, -0.057249899953603745, 0.00953261461108923, 0.01759241707623005, 0.052226077765226364, 0.010779534466564655, 0.08818797767162323, 0.03646789863705635, 0.007467967923730612, -0.010779534466564655, -0.01774602383375168, -0.015243147499859333, -0.03216692805290222, 0.030070655047893524, -0.022354207932949066, -0.08703141659498215, 0.04116643965244293, 0.04546741023659706, 0.013679979369044304, -0.09794648736715317, -0.006835471838712692, 0.03260063752532005, -0.05078037455677986, -0.02114342898130417, -0.025625113397836685, -0.013173983432352543, 0.0159388929605484, 0.005602105055004358, 0.01611960679292679, -0.008954333141446114, -0.014556437730789185, 0.0033431919291615486, 0.013869727961719036, -0.034931838512420654, -0.04181700572371483, -0.025625113397836685, -0.011556601151823997, 0.06896010786294937, 0.012975198216736317, -0.004314524587243795, 0.03025136888027191, -0.02717924676835537, -0.0484672449529171, -0.010454251430928707, 0.05190079286694527, 0.008254069834947586, -0.03133564814925194, 0.0013485712697729468, 0.0004181813565082848, -0.04579269140958786, -0.0584426075220108, -0.0016546540427953005, -0.008357979357242584, 0.021938566118478775, -0.04593726247549057, 0.038166601210832596, -0.004942502360790968, 0.03914245218038559, -0.008294730447232723, -0.016508139669895172, -0.012017419561743736, -0.012152954004704952, -0.014963041990995407, -0.044238559901714325, -0.02911287546157837, 0.02526368759572506, 0.0032370230183005333, 0.05999673902988434, -0.0009967455407604575, 0.01742074079811573, 0.0813208818435669, 0.011574672535061836, -0.0079694464802742, 0.034480053931474686, 0.002597750397399068, -0.019715795293450356, 0.012080668471753597, 0.02582389861345291, -0.0025096528697758913, 0.007716448046267033, 0.005064483731985092, 0.053527213633060455, 0.007784215733408928, 0.049081671983003616, 0.006546331103891134, 0.004027642775326967, 0.044961411505937576, 0.03682932257652283, 0.018794160336256027, -0.01875801756978035, -0.041455578058958054, -0.008579352870583534, -0.02717924676835537, -0.02376376837491989, 0.004237721674144268, 0.022191565483808517, 0.02007722295820713, -0.0345342680811882, 0.005023823585361242, -0.0069574532099068165, 0.020998859778046608, -0.048539530485868454, -0.03148021548986435, -0.043515708297491074, 0.05421392247080803, -0.06332185864448547, 0.03990144655108452, 0.005742157809436321, -0.0983801931142807, -0.050310518592596054, 0.015559395775198936, 0.06657469272613525, -0.019553154706954956, 0.003578118747100234, -0.004192543216049671, -0.051936935633420944, -0.06816497445106506, -0.0072511122561991215, -0.027685243636369705, 0.012541486881673336, -0.02629375271499157, -0.05540662631392479, -0.02320355921983719, 0.01773698814213276, 0.0154961459338665, -0.024468550458550453, -0.006659276783466339, -0.007617055904120207, 0.008267623372375965, 0.023583056405186653, 0.021468713879585266, 0.001709997421130538, 0.0008787173428572714, -0.005565962754189968, 0.011646957136690617, -0.045864976942539215, 0.03766060248017311, -0.05334649980068207, -0.010616892948746681, 0.03704617917537689, 0.009487436152994633, 0.0785740464925766, 0.03543783351778984, 0.04080501198768616, 0.0003738501691259444, 0.020167578011751175, -0.014737150631844997, 0.04980452358722687, 0.0003004354948643595, -0.026402179151773453, 0.011393959634006023, -0.05164779722690582, -0.005050930194556713, -0.00028236416983418167, -0.041130296885967255, 0.041600149124860764, 0.01582142896950245, -0.009351901710033417, 0.03028751164674759, -0.01040907297283411, -0.025444401428103447, -0.07488749921321869, 0.043515708297491074, 0.07409235835075378, -0.01529736164957285, -0.031534429639577866, -0.004816003609448671, 0.05612948164343834, -0.0015315433265641332, 0.0502382330596447, 0.044997554272413254, -0.005159358028322458, 0.017917701974511147, 0.06368328630924225, -0.060322023928165436, 0.027088889852166176, 0.0024554389528930187, -0.05197307839989662, -0.12519802153110504, -0.051177941262722015, -0.02157714031636715, 0.0004467001126613468, -0.03195007145404816, 0.01966158300638199, 0.000014268214727053419, 0.048358816653490067, -0.020474791526794434 ]
41,992
torch.fx.interpreter
_set_current_node
null
@compatibility(is_backward_compatible=True) def call_method(self, target : 'Target', args : Tuple[Argument, ...], kwargs : Dict[str, Any]) -> Any: """ Execute a ``call_method`` node and return the result. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Return Any: The value returned by the method invocation """ # args[0] is the `self` object for this method call self_obj, *args_tail = args # Execute the method and return the result assert isinstance(target, str) return getattr(self_obj, target)(*args_tail, **kwargs)
(self, node)
[ 0.011588350869715214, -0.08019986748695374, 0.014105637557804585, 0.019590673968195915, -0.014715086668729782, -0.007154393941164017, -0.03559531643986702, 0.03220360353589058, 0.039357997477054596, -0.023989301174879074, 0.026921719312667847, 0.014361782930791378, 0.07398173213005066, -0.003601486561819911, -0.024890223518013954, -0.000975448579993099, 0.0028573411982506514, 0.04706001281738281, 0.010007319040596485, 0.04433957487344742, 0.012533437460660934, 0.002263349946588278, 0.030472418293356895, 0.0060679856687784195, 0.012180134654045105, 0.06447786837816238, 0.013001564890146255, 0.038262758404016495, 0.026020795106887817, -0.0014198380522429943, -0.06006157770752907, -0.010466612875461578, -0.020791905000805855, 0.0546913668513298, 0.01582799293100834, 0.035524655133485794, -0.015642507001757622, 0.03494170680642128, -0.07193256914615631, -0.04048856720328331, -0.038156766444444656, -0.05963761359453201, 0.08019986748695374, 0.008024402894079685, -0.035612981766462326, -0.05617523938417435, 0.0026851058937609196, 0.03185030072927475, -0.052783526480197906, -0.03268056362867355, 0.041654471307992935, -0.015289204195141792, 0.049497805535793304, -0.002766807097941637, -0.019078383222222328, 0.07970524579286575, 0.008417453616857529, 0.030437087640166283, 0.0036721471697092056, 0.04536415636539459, 0.05091102048754692, 0.003959205932915211, -0.01747085340321064, 0.0024488342460244894, 0.014706254005432129, -0.02890021726489067, -0.019837984815239906, 0.011111391708254814, 0.017311865463852882, 0.02171049267053604, 0.006187225691974163, 0.038510069251060486, 0.04108918458223343, 0.03868672251701355, 0.018407106399536133, -0.03229193016886711, -0.03333417698740959, 0.05161762610077858, 0.0031289432663470507, -0.01650810055434704, -0.04663604870438576, -0.029076868668198586, -0.012559935450553894, -0.05161762610077858, -0.051688287407159805, -0.03589562326669693, -0.021533841267228127, -0.043597638607025146, -0.03259223699569702, -0.012374451383948326, -0.06518447399139404, 0.0005520365666598082, -0.07603088766336441, 0.021675163879990578, 0.015589511953294277, -0.012816080823540688, 0.04653005674481392, -0.03455307334661484, -0.042007774114608765, 0.015457023866474628, 0.0038730883970856667, 0.10401251912117004, 0.020703578367829323, -0.01927269995212555, 0.060732852667570114, -0.022487761452794075, -0.04903851076960564, -0.0013480732450261712, 0.016446273773908615, 0.016693584620952606, -0.04970978572964668, 0.019643668085336685, -0.026321101933717728, -0.02285872958600521, -0.013558018021285534, -0.06465452164411545, -0.05006309226155281, -0.029235856607556343, -0.07376974821090698, 0.04327966645359993, 0.04048856720328331, -0.023441679775714874, -0.017214708030223846, -0.053737446665763855, -0.0563165619969368, 0.040559228509664536, 0.004520075395703316, 0.0025459926109761, 0.012860243208706379, -0.0511230006814003, -0.023724323138594627, 0.0015401819255203009, -0.013460859656333923, 0.06472518295049667, 0.01588098704814911, 0.04663604870438576, 0.04306768253445625, -0.004575279075652361, -0.031779639422893524, 0.031920962035655975, 0.03404078260064125, -0.0023560919798910618, 0.09638116508722305, 0.0407358817756176, 0.007675516419112682, 0.022187452763319016, -0.011411699466407299, 0.028334932401776314, 0.019290365278720856, -0.01043128315359354, 0.012930904515087605, 0.010643264278769493, 0.04801393300294876, -0.02706304006278515, -0.016110634431242943, 0.03564831241965294, -0.014061475172638893, 0.005069903563708067, 0.020191289484500885, -0.029589159414172173, -0.04960379749536514, -0.013487356714904308, -0.022894060239195824, -0.0033210518304258585, 0.02685105800628662, -0.03534800559282303, -0.008828168734908104, -0.011199717409908772, -0.037909455597400665, 0.05560995265841484, -0.01821278966963291, -0.006408040411770344, 0.0005835026386193931, 0.03684954345226288, 0.022894060239195824, -0.004963912535458803, -0.016384445130825043, 0.04024125635623932, 0.035612981766462326, 0.028122950345277786, -0.0023560919798910618, -0.03642557933926582, -0.013063392601907253, -0.06401857733726501, 0.041654471307992935, 0.06574976444244385, 0.015889819711446762, -0.000036917444958817214, -0.025773482397198677, 0.020791905000805855, 0.03889870271086693, -0.004350048024207354, 0.05451471358537674, -0.009168223477900028, -0.004091694951057434, -0.04656538739800453, -0.025826478376984596, 0.018901731818914413, 0.022099127992987633, -0.006580275483429432, 0.04451622813940048, 0.016940897330641747, 0.0757482498884201, 0.0399232842028141, -0.039605312049388885, 0.008995987474918365, 0.07348710298538208, 0.07525362074375153, -0.060520872473716736, -0.05751779302954674, 0.0176386721432209, -0.002554825274273753, -0.01957300864160061, 0.03328118100762367, -0.004319134168326855, -0.025667492300271988, -0.0070307375863194466, -0.01634911447763443, 0.02211679331958294, 0.026268107816576958, 0.07228587567806244, 0.000036365407140692696, 0.0028992958832532167, -0.0068540857173502445, -0.01902538724243641, -0.025844143703579903, 0.018583757802844048, -0.029659820720553398, -0.012692424468696117, -0.08246101438999176, -0.005683768540620804, -0.0266567412763834, 0.010024983435869217, 0.014220461249351501, -0.037450160831213, -0.0006000637076795101, 0.03533034026622772, 0.029324181377887726, -0.006681850645691156, -0.02231111004948616, -0.012639428488910198, 0.020791905000805855, 0.015262706205248833, 0.0021617752499878407, 0.010122141800820827, -0.006019406486302614, 0.05790642648935318, 0.03822742775082588, -0.024731237441301346, -0.006500782445073128, 0.00030748435528948903, -0.04857921600341797, -0.03450007736682892, 0.0035418665502220392, -0.01804497092962265, -0.04313834384083748, -0.008678014390170574, -0.014617928303778172, 0.031779639422893524, 0.021586837247014046, -0.028829557821154594, -0.032874882221221924, 0.00545412115752697, 0.008443950675427914, 0.013160550966858864, -0.002345051383599639, -0.04847322404384613, 0.02331802435219288, -0.007472366560250521, 0.03639024868607521, 0.05055771395564079, -0.06684499979019165, -0.015280371531844139, 0.03688487410545349, -0.031726643443107605, -0.04306768253445625, -0.04903851076960564, -0.001773141440935433, -0.035012368112802505, -0.00218716892413795, 0.03358148783445358, -0.04872053861618042, -0.05886034667491913, -0.02231111004948616, -0.012074143625795841, -0.016410943120718002, 0.026939384639263153, 0.0012012314982712269, 0.02110987715423107, 0.0008860186790116131, 0.06292333453893661, 0.03266289830207825, 0.002557033207267523, 0.017815323546528816, 0.009053399786353111, -0.0010013943538069725, -0.044798869639635086, 0.02655074931681156, 0.054938677698373795, -0.05875435471534729, 0.03805077448487282, -0.051688287407159805, -0.07560692727565765, -0.03805077448487282, 0.009645182639360428, -0.016578761860728264, 0.00691591389477253, 0.06299399584531784, -0.04462222009897232, -0.007724095601588488, -0.00848811399191618, -0.025119870901107788, -0.023530006408691406, -0.030013123527169228, 0.006253470201045275, 0.007975824177265167, 0.009865997359156609, 0.008519028313457966, 0.052536215633153915, 0.0396406389772892, -0.03584263101220131, 0.04126583784818649, 0.0009136205189861357, 0.12761318683624268, -0.03928733617067337, -0.024342603981494904, 0.008033235557377338, 0.011137889698147774, -0.013478524051606655, 0.007454701699316502, 0.018848735839128494, 0.029924796894192696, 0.05384343862533569, 0.003921667579561472, -0.055080000311136246, 0.011067228391766548, 0.018990056589245796, 0.06719830632209778, 0.04543481767177582, 0.03808610513806343, 0.037414830178022385, 0.02794629894196987, -0.018442437052726746, -0.006593524478375912, 0.06758693605661392, 0.05515065789222717, 0.012657093815505505, 0.04338565841317177, 0.09821834415197372, -0.014759249053895473, -0.0034469161182641983, -0.07111997157335281, -0.03351082652807236, -0.002691730158403516, 0.0037847626954317093, -0.023741988465189934, -0.0037604731041938066, -0.027487004175782204, -0.010722758248448372, -0.07963458448648453, -0.016640590503811836, -0.0770907998085022, -0.01952001266181469, 0.03149699792265892, 0.009698178619146347, -0.05617523938417435, -0.02411295659840107, 0.01200348325073719, 0.020332610234618187, 0.027045374736189842, 0.020226620137691498, -0.07991722971200943, 0.009971988387405872, 0.03398778662085533, -0.03169131278991699, 0.024625247344374657, -0.008576439693570137, 0.01916670985519886, 0.030083784833550453, 0.010369454510509968, 0.01932569593191147, -0.018795739859342575, -0.013257710263133049, -0.01013097446411848, 0.06366527080535889, 0.0033298844937235117, -0.013416696339845657, -0.012047645635902882, -0.002466499339789152, 0.004336799029260874, 0.058189067989587784, -0.009636349976062775, -0.053596124053001404, -0.02480189874768257, -0.06995407491922379, -0.005308383610099554, 0.055433303117752075, 0.006293216720223427, 0.0012674758909270167, -0.03200928866863251, 0.006646519992500544, 0.013098723255097866, -0.019943976774811745, 0.04299702122807503, -0.007445869036018848, 0.060732852667570114, 0.042855702340602875, 0.021993136033415794, 0.01030762679874897, 0.024890223518013954, -0.001914462773129344, -0.015863321721553802, -0.0924241691827774, 0.007551860064268112, -0.03239792212843895, 0.06426588445901871, 0.03089638240635395, 0.013240044936537743, -0.003252599388360977, -0.013072225265204906, 0.006138646509498358, 0.015209711156785488, 0.028617575764656067, 0.03430575877428055, 0.029235856607556343, -0.014662090688943863, 0.0002518666733521968, -0.000623249274212867, 0.018583757802844048, 0.046353403478860855, -0.016737747937440872, -0.028140615671873093, -0.0057985917665064335, -0.0008788421982899308, 0.030737394466996193, -0.03448241204023361, -0.032062284648418427, 0.0048270076513290405, 0.021180538460612297, 0.03165598586201668, -0.062322717159986496, -0.009724675677716732, 0.0039260839112102985, -0.050946351140737534, -0.05995558574795723, -0.06804623454809189, -0.00699982326477766, -0.02326502837240696, -0.018636753782629967, -0.025490839034318924, 0.04306768253445625, 0.07850401103496552, 0.07334578782320023, 0.011084893718361855, -0.01769166812300682, -0.05137031525373459, -0.05525664985179901, -0.01025463081896305, 0.08705395460128784, 0.03677888214588165, -0.01650810055434704, 0.015174380503594875, -0.04331499710679054, -0.06504315137863159, -0.03918134793639183, 0.011491192504763603, 0.04861454665660858, -0.0016660463297739625, -0.06518447399139404, -0.05147630348801613, 0.05211225152015686, -0.06995407491922379, -0.011040731333196163, -0.01270125713199377, 0.01043128315359354, 0.03045475296676159, -0.04331499710679054, -0.0074149551801383495, -0.02586180903017521, -0.04723666235804558, -0.05161762610077858, -0.06733962893486023, 0.026268107816576958, 0.032468583434820175, -0.04123050719499588, -0.017082219943404198, 0.044551558792591095, 0.03504769504070282, 0.023741988465189934, -0.04409226402640343, -0.031444001942873, 0.03953465074300766, 0.03677888214588165, -0.014812245033681393, -0.04147781804203987, -0.013796497136354446, -0.022682078182697296, -0.0029213775414973497, -0.05645788088440895, -0.01235678605735302, -0.005449704825878143, 0.015925150364637375, 0.014768081717193127, 0.009291878901422024, 0.02126886509358883, 0.03617826849222183, 0.05719982087612152, 0.047095343470573425, -0.022099127992987633, -0.005175894591957331, -0.034447081387043, 0.024996215477585793, -0.034676726907491684, -0.0106609296053648, -0.011817998252809048, 0.0053437137976288795, -0.038616061210632324, 0.03301620110869408, -0.025773482397198677, -0.031620655208826065, 0.017258871346712112, 0.04172513261437416, 0.011023066006600857, 0.028688235208392143, 0.03559531643986702, -0.008059733547270298, -0.05451471358537674, 0.007790339644998312, 0.002872798126190901, 0.018742745742201805, -0.0016505892854183912, 0.008452783338725567, 0.00047585551510564983, 0.0032548075541853905, 0.017294201999902725, 0.004235224332660437, -0.04444556683301926, 0.031673647463321686, -0.014644425362348557, 0.011553021147847176, 0.018389441072940826, 0.0005779822822660208, -0.09235350787639618, 0.0060679856687784195, -0.022434765473008156, -0.10599102079868317, -0.02785797230899334, -0.0065272799693048, 0.041159845888614655, 0.018654419109225273, -0.06871750950813293, 0.026338767260313034, 0.0027645991649478674, 0.08910311758518219, 0.033069197088479996, 0.02490788884460926, -0.01499772910028696, -0.005683768540620804, -0.01962600275874138, 0.014962398447096348, -0.04084187373518944, -0.042007774114608765, 0.0470246821641922, 0.037450160831213, -0.016198961064219475, 0.05596325919032097, 0.04925049468874931, 0.017241206020116806, 0.02340634912252426, -0.1189219206571579, 0.010554938577115536, 0.03169131278991699, -0.0002619413426145911, -0.0015059557044878602, 0.020102962851524353, 0.038156766444444656, 0.02859991043806076, -0.031285014003515244, 0.029288850724697113, -0.04246706888079643, -0.028988543897867203, -0.03448241204023361, -0.001605322351679206, 0.001490498660132289, -0.0307550597935915, 0.030331095680594444, -0.04002927616238594, 0.03865139186382294, 0.03149699792265892, -0.022699743509292603, -0.019855650141835213, -0.09122293442487717, -0.033528491854667664, -0.008841417729854584, 0.04077121242880821, -0.015677837654948235, -0.04398627206683159, 0.028175946325063705, 0.06797557324171066, -0.025225862860679626, -0.037167515605688095, -0.020544592291116714, 0.056881844997406006, -0.031779639422893524, -0.028175946325063705, 0.02854691445827484, -0.08592338860034943, -0.006995407398790121, -0.006712764501571655, 0.034818049520254135, 0.013990814797580242, -0.028882551938295364, -0.013443194329738617, 0.021180538460612297, 0.010546105913817883, -0.000962199701461941, -0.037662141025066376, 0.06059153378009796, 0.0410185232758522, 0.034517742693424225, -0.039004694670438766, -0.0005608691135421395, -0.034871045500040054, 0.0004303125024307519, -0.014388280920684338, 0.03174430876970291, -0.002265558112412691, -0.05045172572135925, -0.008576439693570137, 0.009760006330907345, -0.02176348865032196, -0.050345733761787415, 0.0407358817756176, 0.0017124173464253545, -0.009715843014419079, -0.1041538417339325, 0.04197244346141815, 0.018106799572706223, -0.011341039091348648, -0.030543077737092972, 0.01996164210140705, 0.028317267075181007, -0.02176348865032196, -0.03829808905720711, -0.015430525876581669, -0.0005564528401009738, -0.03301620110869408, -0.0014551683561876416, 0.012674759142100811, 0.006920330226421356, -0.010669762268662453, 0.03478271886706352, -0.042714379727840424, 0.06348861753940582, 0.06953010708093643, -0.00006162108184071258, 0.0016726707108318806, 0.004129233304411173, 0.006960076745599508, -0.00665093632414937, -0.017726996913552284, 0.017674002796411514, 0.0035308257210999727, -0.015103720128536224, 0.014980063773691654, -0.01175617054104805, 0.0021319652441889048, -0.019378691911697388, 0.000983729143626988, 0.026374097913503647, 0.014794579707086086, -0.0004239640838932246, -0.05182960629463196, -0.026427093893289566, 0.026374097913503647, -0.016004644334316254, 0.03149699792265892, -0.04289103299379349, -0.032768890261650085, 0.020438602194190025, -0.006483117118477821, 0.022293444722890854, -0.06822288781404495, 0.05182960629463196, -0.023741988465189934, 0.006646519992500544, 0.0333518385887146, 0.04472820833325386, 0.01235678605735302, -0.1295916885137558, -0.0250138808041811, -0.011623681522905827, -0.00005844686893397011, 0.02854691445827484, 0.02990713156759739, -0.029783476144075394, -0.06680966913700104, -0.041654471307992935, -0.012904406525194645, 0.00047005913802422583, 0.04706001281738281, -0.027540000155568123, -0.04861454665660858, -0.008510195650160313, 0.040806543081998825, 0.02660374529659748, 0.009503860957920551, 0.009927825070917606, 0.026038460433483124, -0.013893655501306057, 0.032980870455503464, 0.02900620922446251, -0.004323550499975681, -0.0004446654347702861, 0.002928001806139946, -0.008942992426455021, -0.025190532207489014, 0.02345934510231018, -0.08239035308361053, 0.04426891356706619, -0.042608387768268585, -0.013240044936537743, 0.08330894261598587, -0.0669863224029541, 0.023688992485404015, 0.01150885783135891, 0.027328018099069595, 0.0067834253422915936, 0.0057058497332036495, 0.018248120322823524, 0.006500782445073128, -0.007357543334364891, 0.03688487410545349, -0.028246605768799782, -0.010175137780606747, -0.05585726723074913, 0.0028970877174288034, -0.008607354015111923, 0.006809922866523266, 0.01755034551024437, -0.06804623454809189, 0.010872911661863327, -0.03351082652807236, -0.030984707176685333, 0.09235350787639618, 0.05260687693953514, -0.025773482397198677, 0.011296875774860382, 0.0713672861456871, -0.041301168501377106, 0.03266289830207825, 0.0617927648127079, 0.02116287313401699, 0.04218442365527153, 0.10570837557315826, -0.038616061210632324, 0.027769647538661957, -0.022646747529506683, -0.031567659229040146, -0.09694644808769226, -0.030331095680594444, 0.01881340518593788, 0.0034071695990860462, -0.01670241728425026, -0.013690506108105183, 0.010457780212163925, 0.05260687693953514, 0.07504164427518845 ]
41,993
torch.fx.interpreter
boxed_run
Run `module` via interpretation and return the result. This uses the "boxed" calling convention, where you pass a list of arguments, which will be cleared by the interpreter. This ensures that input tensors are promptly deallocated. .. note:: Backwards-compatibility for this API is guaranteed.
@compatibility(is_backward_compatible=True) def boxed_run(self, args_list): """ Run `module` via interpretation and return the result. This uses the "boxed" calling convention, where you pass a list of arguments, which will be cleared by the interpreter. This ensures that input tensors are promptly deallocated. """ args_iter = iter(args_list) env = {} for n in self.graph.nodes: if n.op == "placeholder": env[n] = next(args_iter) args_list.clear() return self.run(initial_env=env)
(self, args_list)
[ 0.050938621163368225, -0.06599506735801697, -0.03482682257890701, -0.00011364339297870174, -0.02128305658698082, 0.056883808225393295, -0.0370078943669796, 0.0014313295250758529, 0.041721828281879425, -0.059029702097177505, 0.023516898974776268, 0.013359076343476772, -0.053014159202575684, 0.0037113430444151163, -0.04425468668341637, 0.005703331436961889, 0.01794988475739956, 0.0649397075176239, -0.01111643947660923, -0.03978700563311577, -0.051501478999853134, -0.00857478566467762, 0.03357797861099243, 0.03345485404133797, 0.009243179112672806, -0.033718694001436234, 0.0678243562579155, -0.03581182286143303, -0.004977772943675518, 0.024026988074183464, -0.007413891609758139, -0.037043072283267975, -0.012171798385679722, 0.02223287895321846, 0.024712972342967987, -0.04151075705885887, -0.0184335894882679, 0.0619143471121788, -0.06156256049871445, -0.06057756021618843, 0.014282514341175556, -0.09308259189128876, 0.048546478152275085, 0.009568581357598305, -0.03827432543039322, -0.035600751638412476, 0.07450828701257706, -0.040068432688713074, -0.033947356045246124, 0.010105054825544357, 0.03403530269861221, -0.043621473014354706, 0.0662413164973259, 0.05684863030910492, -0.0449230819940567, 0.0737343579530716, -0.008447263389825821, 0.025750739499926567, 0.004058731719851494, 0.025662794709205627, -0.007022529374808073, 0.03577664494514465, -0.049109335988759995, 0.007079694885760546, 0.027034759521484375, 0.005650563631206751, -0.048229869455099106, -0.001898545422591269, -0.0018633668078109622, 0.027931813150644302, -0.04520450904965401, -0.0215293075889349, 0.025697972625494003, 0.04302343726158142, 0.05899452418088913, -0.028283599764108658, -0.04165147244930267, 0.031396906822919846, 0.018521536141633987, 0.003792693605646491, 0.009533402509987354, 0.024167703464627266, -0.045380402356386185, 0.006340943742543459, -0.05192362517118454, -0.03707825019955635, -0.006204626988619566, 0.04893344268202782, 0.018292875960469246, -0.08252900838851929, 0.004797482397407293, 0.003218842437490821, -0.042988259345293045, 0.05231058970093727, -0.005668153055012226, -0.009867599233984947, 0.01032492145895958, -0.07239757478237152, -0.09160508960485458, -0.011450636200606823, 0.034580569714307785, 0.07478971779346466, -0.02478332817554474, 0.008055901154875755, 0.0525568388402462, 0.03547762334346771, -0.018943680450320244, -0.058642737567424774, 0.006257394794374704, 0.017905911430716515, -0.048476122319698334, 0.010931751690804958, -0.049742549657821655, 0.00732594495639205, -0.058642737567424774, 0.004074122291058302, -0.043304864317178726, 0.0017589303897693753, 0.0027945006731897593, 0.0347740538418293, -0.0041158972308039665, 0.05755219981074333, -0.006952172145247459, -0.0509738028049469, 0.07823722064495087, 0.10068117082118988, 0.018539125099778175, 0.018292875960469246, 0.005751702468842268, -0.05705970153212547, 0.07211614400148392, -0.043621473014354706, -0.03866128996014595, 0.05501934140920639, -0.013930728659033775, 0.024026988074183464, -0.015909524634480476, -0.022690201178193092, 0.002880248473957181, 0.030148066580295563, 0.019488947466015816, 0.013596531935036182, 0.017448589205741882, 0.03841503709554672, -0.032522622495889664, 0.0009915969567373395, -0.012576351873576641, -0.003651979146525264, 0.026172883808612823, -0.0031155054457485676, 0.031731102615594864, 0.018204929307103157, 0.03317342698574066, 0.04615433141589165, -0.013746040873229504, 0.06261792033910751, 0.03690235689282417, -0.0231827013194561, -0.0316079780459404, -0.006187037564814091, -0.034088071435689926, -0.006340943742543459, 0.012558762915432453, -0.0075194272212684155, -0.008354919031262398, 0.008368111215531826, 0.0231827013194561, -0.013710862025618553, -0.035847000777721405, 0.059979524463415146, -0.007281971629709005, -0.05727077275514603, -0.04566183313727379, 0.032346729189157486, 0.022567076608538628, 0.04277718439698219, -0.05952220410108566, -0.010553581640124321, 0.00141923688352108, -0.008055901154875755, -0.03231155127286911, -0.027597617357969284, -0.048229869455099106, -0.03662092983722687, 0.028793690726161003, 0.054350946098566055, -0.0107998326420784, -0.03802807256579399, 0.02706993743777275, -0.021318236365914345, -0.028301188722252846, 0.025064757093787193, 0.03943521901965141, 0.034334320574998856, -0.0018622674979269505, -0.019330644980072975, -0.07172918319702148, 0.028230832889676094, -0.027052348479628563, -0.00948942918330431, -0.0061606536619365215, -0.022760558873414993, 0.07464900612831116, 0.03876682370901108, -0.011450636200606823, -0.0005106394528411329, 0.016146980226039886, 0.019752787426114082, 0.002581230364739895, -0.027685564011335373, -0.020509127527475357, -0.008860611356794834, 0.012365280650556087, 0.08203651010990143, 0.009498223662376404, 0.0026296009309589863, 0.006345341447740793, -0.003322179662063718, 0.007686525583267212, 0.003456298029050231, 0.06444720923900604, 0.0071940249763429165, -0.001564348698593676, -0.06370845437049866, -0.016006266698241234, -0.03320860490202904, 0.03308548033237457, -0.016771400347352028, -0.014133005402982235, -0.021159932017326355, 0.02509993687272072, -0.026454312726855278, -0.06286416947841644, -0.01755412481725216, 0.011617735028266907, -0.015610506758093834, 0.01866225153207779, -0.03837985917925835, -0.020755378529429436, -0.0029352151323109865, -0.011635323986411095, -0.0007744790054857731, -0.0231827013194561, -0.00006486055644927546, 0.011846396140754223, 0.008768267929553986, 0.022830916568636894, 0.017642071470618248, -0.05178290978074074, 0.007774472236633301, -0.041405219584703445, -0.018134571611881256, 0.02293645218014717, 0.019488947466015816, 0.021810736507177353, -0.02817806415259838, 0.0066223726607859135, -0.025187883526086807, 0.06486935168504715, 0.015197157859802246, -0.006398109253495932, -0.03947039693593979, -0.014546354301273823, 0.08027758449316025, 0.07317150384187698, -0.002071140566840768, -0.07218649983406067, 0.01076465379446745, 0.025785919278860092, -0.0031770679634064436, 0.007053310517221689, -0.0060375286266207695, -0.008077887818217278, 0.011063671670854092, 0.0023459733929485083, 0.004491868428885937, 0.021617254242300987, 0.08224758505821228, 0.03781700134277344, 0.003977381158620119, 0.06444720923900604, -0.014423228800296783, -0.06958328187465668, -0.02889922633767128, -0.042601294815540314, 0.02603216841816902, -0.011855190619826317, -0.02485368587076664, 0.031062709167599678, -0.05178290978074074, 0.04372700676321983, 0.04893344268202782, 0.05913523957133293, 0.014062647707760334, 0.019911091774702072, 0.04805397614836693, -0.11883333325386047, 0.03589976951479912, 0.026788508519530296, -0.0012037679553031921, 0.014555148780345917, -0.05012951418757439, -0.01627890020608902, 0.018451178446412086, 0.031097888946533203, -0.05048130080103874, -0.0013983496464788914, 0.047842904925346375, -0.0830918699502945, 0.007858021184802055, 0.020913681015372276, -0.011028493754565716, 0.011767243966460228, -0.006354135926812887, 0.06634685397148132, 0.00692578824236989, 0.03619878739118576, -0.025768330320715904, 0.008697910234332085, -0.0010108352871611714, -0.015663275495171547, -0.030992353335022926, 0.04397325962781906, 0.09617830812931061, -0.03602289408445358, -0.034492623060941696, 0.01266429852694273, -0.018609482795000076, 0.022021807730197906, 0.015417024493217468, 0.027685564011335373, 0.025135114789009094, 0.02422047033905983, 0.030710924416780472, -0.03764110803604126, -0.007849226705729961, 0.0479484423995018, 0.03725414350628853, 0.01357894204556942, -0.04137004166841507, 0.05885380879044533, 0.008768267929553986, -0.030306369066238403, 0.02277814783155918, 0.03357797861099243, 0.05002398043870926, 0.008117463439702988, 0.02142377197742462, 0.07844829559326172, -0.057446666061878204, -0.02962038666009903, 0.008983736857771873, -0.016322873532772064, 0.02446672134101391, 0.03000735118985176, 0.006024336442351341, 0.03217083588242531, 0.0016698845429345965, -0.06715595722198486, -0.04668201133608818, 0.029338957741856575, -0.011415458284318447, -0.01385157648473978, 0.04049057513475418, 0.03619878739118576, -0.0633566677570343, -0.019488947466015816, 0.0005383975803852081, 0.05375291034579277, 0.018767787143588066, -0.010597554966807365, -0.07654865086078644, -0.005294380243867636, 0.008117463439702988, -0.03531932085752487, 0.007334739435464144, -0.03547762334346771, -0.016296489164233208, 0.0012433439260348678, 0.01866225153207779, 0.020139751955866814, -0.002895639045163989, 0.009507018141448498, -0.05354183912277222, -0.015232336707413197, 0.021969040855765343, -0.04302343726158142, 0.028142886236310005, 0.024554667994379997, -0.00044770273962058127, -0.006807060446590185, -0.013772424310445786, 0.016375642269849777, 0.031731102615594864, -0.03820396587252617, 0.040138792246580124, 0.030077708885073662, 0.0262080617249012, -0.04615433141589165, -0.03065815567970276, 0.025451721623539925, 0.00510089797899127, -0.01890850067138672, 0.05079790949821472, 0.010703091509640217, -0.027984581887722015, 0.023288236930966377, 0.027685564011335373, 0.056250590831041336, 0.00908487569540739, 0.013235950842499733, -0.017844349145889282, -0.030992353335022926, -0.025750739499926567, -0.01222456619143486, 0.025680383667349815, 0.02031564526259899, -0.008759473450481892, 0.030552620068192482, -0.016217337921261787, 0.03524896502494812, 0.012928138487040997, 0.05941666662693024, 0.0433400422334671, 0.019401002675294876, 0.03104512020945549, 0.031555209308862686, 0.007774472236633301, -0.008715500123798847, -0.0012983104679733515, -0.06789471209049225, -0.018785376101732254, -0.018468769267201424, -0.02842431515455246, -0.011063671670854092, -0.051712553948163986, -0.013895549811422825, -0.014370460994541645, 0.03757075220346451, 0.06427131593227386, 0.00499975960701704, 0.03507307171821594, 0.056883808225393295, -0.03324378281831741, -0.032592978328466415, 0.017747607082128525, -0.027333777397871017, 0.05734112858772278, -0.06268827617168427, 0.007545811124145985, 0.010105054825544357, -0.009515813551843166, 0.07074417918920517, -0.016542740166187286, -0.020597074180841446, -0.05793916434049606, -0.041018255054950714, 0.009814831428229809, 0.008790254592895508, 0.0029220229480415583, 0.017809169366955757, -0.006068309769034386, -0.06420096009969711, -0.023710381239652634, 0.017105598002672195, 0.017905911430716515, 0.018152160570025444, -0.013587736524641514, -0.032047711312770844, 0.008799049071967602, 0.027351366356015205, 0.010219384916126728, 0.02089609205722809, -0.043234508484601974, 0.03834468126296997, 0.045697011053562164, -0.03523137420415878, -0.011732065118849277, -0.048476122319698334, -0.05818541720509529, -0.028459493070840836, -0.05438612774014473, 0.020632252097129822, 0.07471936196088791, -0.05698934197425842, 0.02580350823700428, 0.0744379311800003, 0.01159135065972805, 0.07683007419109344, -0.014124210923910141, -0.06690970808267593, 0.00936630368232727, 0.028477082028985023, -0.01889091171324253, -0.022408772259950638, -0.05853720381855965, -0.033296551555395126, 0.012136619538068771, 0.028283599764108658, -0.01692090928554535, 0.009278357960283756, 0.033701106905937195, -0.02912788651883602, -0.03415842726826668, 0.056426484137773514, -0.029233422130346298, 0.020350825041532516, 0.016815373674035072, -0.03531932085752487, 0.01841600053012371, -0.026876455172896385, 0.0033573582768440247, 0.01147702056914568, -0.03883718326687813, 0.008108668960630894, 0.03644503653049469, 0.016630686819553375, 0.013068852946162224, -0.043551117181777954, 0.0017853142926469445, 0.0062925731763243675, 0.05107933655381203, 0.01611180230975151, -0.020298056304454803, 0.01970002055168152, -0.022338414564728737, -0.04284754395484924, -0.043480757623910904, 0.04625986889004707, 0.01707921363413334, 0.03531932085752487, -0.02072019875049591, -0.008016325533390045, -0.004779893439263105, 0.001169688650406897, 0.028758510947227478, 0.04995362088084221, 0.00952460803091526, -0.016815373674035072, -0.004276399500668049, -0.015698453411459923, 0.025363774970173836, 0.009164026938378811, 0.05635612830519676, -0.021863503381609917, 0.020069396123290062, -0.02422047033905983, 0.024273239076137543, -0.004362147301435471, -0.008706705644726753, -0.08935365825891495, -0.008900187909603119, 0.04027950391173363, 0.03387700021266937, -0.057517021894454956, -0.046506118029356, 0.010228180326521397, 0.0036805616691708565, -0.00003007702252944, 0.027615206316113472, 0.015672069042921066, 0.035934947431087494, 0.03612842783331871, 0.0022459342144429684, 0.033630747348070145, 0.020210109651088715, 0.009656528010964394, -0.028283599764108658, 0.007409493904560804, -0.004546835087239742, 0.044817544519901276, -0.07004060596227646, 0.07359364628791809, -0.025346186012029648, 0.04661165550351143, -0.007528221700340509, -0.011556172743439674, -0.008755075745284557, 0.009445455856621265, -0.11426011472940445, -0.033630747348070145, -0.05023505166172981, -0.020702609792351723, -0.07929258048534393, -0.009981929324567318, 0.014388049952685833, -0.046083975583314896, 0.036163609474897385, 0.027773510664701462, 0.04277718439698219, -0.0037948922254145145, 0.04404361546039581, -0.0070621054619550705, 0.013719656504690647, 0.04439540207386017, -0.04414915293455124, -0.0744379311800003, 0.04034986346960068, 0.004968978464603424, -0.016314078122377396, -0.07204578816890717, -0.015188363380730152, 0.03764110803604126, -0.006442082580178976, -0.0463654026389122, -0.010245769284665585, -0.057587381452322006, 0.00948942918330431, -0.010043492540717125, -0.018627071753144264, -0.002721944823861122, -0.049038976430892944, 0.014968497678637505, 0.03104512020945549, -0.005483465269207954, -0.013253539800643921, -0.014977292157709599, 0.055054519325494766, 0.08189579844474792, 0.053225234150886536, 0.016340462490916252, -0.0073083555325865746, -0.07021649926900864, -0.05621541291475296, 0.010650323703885078, 0.038063254207372665, -0.0004938746569678187, -0.0003443655732553452, -0.005567014683037996, 0.023710381239652634, -0.021951450034976006, -0.015249926596879959, 0.041721828281879425, -0.03262815624475479, 0.010465635918080807, -0.095615454018116, 0.019418591633439064, 0.006886212155222893, -0.003746521659195423, -0.018926091492176056, 0.002189868362620473, -0.032997533679008484, -0.006903801579028368, -0.021019218489527702, 0.015144390054047108, -0.05487862601876259, -0.020685020834207535, -0.025187883526086807, 0.08105151355266571, 0.023481721058487892, 0.00557580916211009, 0.048089154064655304, -0.008447263389825821, 0.026999581605196, 0.06930185854434967, 0.030675744637846947, -0.02754484862089157, -0.020192520692944527, 0.013130415230989456, -0.02786145731806755, -0.010738269425928593, 0.0003177067846991122, -0.04678754881024361, 0.020421180874109268, -0.037500396370887756, -0.014467202126979828, -0.03880200535058975, 0.04080718383193016, 0.019313056021928787, 0.012514789588749409, -0.008601169101893902, -0.05818541720509529, -0.014942113310098648, -0.02729859948158264, -0.06634685397148132, -0.024238061159849167, 0.020685020834207535, 0.03795771673321724, -0.0184335894882679, -0.003977381158620119, -0.05107933655381203, -0.07246793061494827, -0.041721828281879425, -0.0027813087217509747, -0.03876682370901108, 0.013165594078600407, -0.0800665095448494, 0.03753557428717613, 0.030992353335022926, -0.09807795286178589, -0.029796279966831207, -0.010500813834369183, 0.07816686481237411, -0.031643155962228775, -0.06061273813247681, -0.029673155397176743, -0.03454539179801941, -0.04548593983054161, 0.0003435410908423364, 0.011820011772215366, 0.03396494686603546, -0.04397325962781906, -0.057587381452322006, -0.026735741645097733, 0.027808688580989838, 0.030112886801362038, -0.035530392080545425, 0.019559305161237717, -0.05674309283494949, -0.04193289950489998, 0.011767243966460228, 0.012725860811769962, 0.0013477803440764546, 0.038063254207372665, 0.02358725666999817, 0.017448589205741882, -0.044676829129457474, 0.03396494686603546, -0.022215289995074272, -0.024044577032327652, -0.004845852963626385, 0.04168665036559105, 0.06719113886356354, 0.009304741397500038, 0.06757810711860657, -0.0034233182668685913, -0.036656107753515244, -0.039575934410095215, 0.06050720438361168, 0.05438612774014473, 0.05202915892004967, 0.041405219584703445, -0.014739836566150188, 0.022918863222002983, -0.01747497357428074, -0.012409253977239132, 0.03088681772351265, -0.006085899192839861, -0.0286529753357172, 0.0026296009309589863, -0.008187821134924889, -0.02912788651883602, -0.016736222431063652, -0.0009839016711339355, 0.08231794089078903, 0.010228180326521397, -0.006855431012809277, -0.02205698750913143, 0.03454539179801941, 0.032434675842523575, 0.05579327046871185, 0.06525631248950958, 0.012840191833674908, 0.049425944685935974, 0.07130703330039978, -0.050938621163368225, 0.029813868924975395, -0.008170231245458126, -0.04889826476573944, -0.07345293462276459, -0.07549329102039337, -0.0014632102102041245, -0.0030517440754920244, 0.0006101289764046669, -0.009269562549889088, -0.0018974461127072573, 0.023041987791657448, 0.006063912529498339 ]
41,994
torch.fx.interpreter
call_function
Execute a ``call_function`` node and return the result. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Return Any: The value returned by the function invocation .. note:: Backwards-compatibility for this API is guaranteed.
@compatibility(is_backward_compatible=True) def call_function(self, target : 'Target', args : Tuple[Argument, ...], kwargs : Dict[str, Any]) -> Any: """ Execute a ``call_function`` node and return the result. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Return Any: The value returned by the function invocation """ assert not isinstance(target, str) # Execute the function and return the result return target(*args, **kwargs)
(self, target: Union[Callable[..., Any], str], args: Tuple[Union[Tuple[Any, ...], List[Any], Dict[str, Any], slice, range, torch.fx.node.Node, str, int, float, bool, complex, torch.dtype, torch.Tensor, torch.device, torch.memory_format, torch.layout, torch._ops.OpOverload, NoneType], ...], kwargs: Dict[str, Any]) -> Any
[ -0.0013657904928550124, -0.05618752911686897, -0.008199113421142101, -0.0032604150474071503, -0.009912361390888691, 0.03541877120733261, -0.07859960943460464, 0.04108297824859619, 0.022342147305607796, -0.0468171127140522, 0.00948404986411333, 0.009938584640622139, 0.03849562630057335, -0.015279372222721577, -0.00026455361512489617, -0.004005590453743935, -0.0009320154786109924, 0.04957928881049156, 0.012464750558137894, 0.04629265144467354, 0.0027031726203858852, 0.0069709946401417255, 0.020261775702238083, 0.004763877484947443, 0.014615051448345184, 0.04947439581155777, 0.016048584133386612, 0.03625791519880295, 0.02221977338194847, 0.004680837504565716, -0.054579176008701324, -0.02863571047782898, -0.0256462674587965, 0.0571315623819828, -0.0001481882791267708, 0.037376768887043, -0.011739242821931839, 0.04220183566212654, -0.058110561221838, -0.06398455798625946, -0.03594323620200157, -0.04524372145533562, 0.06639708578586578, 0.03463207557797432, -0.02874060347676277, -0.04216687008738518, -0.013094106689095497, 0.007845100946724415, -0.07566261291503906, -0.0076440563425421715, 0.06090770289301872, -0.03207968920469284, 0.04115290567278862, 0.007858212105929852, -0.017849242314696312, 0.08258552849292755, 0.00831711757928133, 0.012132590636610985, -0.003653762862086296, 0.021415594965219498, 0.04671221971511841, 0.025419000536203384, -0.018566010519862175, -0.010629127733409405, 0.005231523886322975, -0.01784050278365612, -0.01758701168000698, -0.001953626750037074, -0.003640651237219572, 0.025244180113077164, -0.025925982743501663, 0.04066340997815132, 0.07125711441040039, 0.011643091216683388, 0.03636280819773674, -0.027569301426410675, -0.03842569515109062, 0.05744624137878418, -0.00913440715521574, -0.020034508779644966, -0.03779634088277817, -0.03950958698987961, -0.024807127192616463, -0.02513928711414337, -0.038740374147892, -0.044019974768161774, -0.03197479620575905, -0.03304120525717735, -0.008640537038445473, 0.01050675380975008, -0.0598587729036808, -0.01071653887629509, -0.08069746196269989, 0.023303663358092308, 0.020261775702238083, -0.008400158025324345, 0.054054711014032364, -0.024981947615742683, -0.012062662281095982, 0.014265408739447594, 0.022149844095110893, 0.09971800446510315, 0.01277068816125393, -0.0018465487519279122, 0.06548801809549332, -0.05293585732579231, -0.07209625840187073, -0.001089900848455727, 0.03145033121109009, 0.0191254373639822, -0.0656978040933609, -0.0067437272518873215, 0.00478135934099555, -0.008749800734221935, -0.017193663865327835, -0.0661872997879982, -0.033915311098098755, -0.020121918991208076, -0.06241116300225258, 0.020366668701171875, 0.044019974768161774, -0.014912247657775879, -0.02417777106165886, -0.04290112107992172, -0.01896809972822666, 0.06807537376880646, 0.016494378447532654, 0.02040163241326809, 0.026730159297585487, -0.044299688190221786, -0.01784050278365612, 0.001870586653240025, -0.010209557600319386, 0.057061634957790375, 0.01757827028632164, 0.031345438212156296, 0.039055053144693375, 0.007845100946724415, -0.026800088584423065, 0.027132248505949974, 0.0088809160515666, 0.011310930363833904, 0.10139628499746323, 0.027761604636907578, -0.0009265522821806371, 0.019614936783909798, -0.0021022248547524214, 0.003968440927565098, 0.00947530847042799, -0.022779200226068497, 0.024842090904712677, 0.03234191983938217, 0.018758313730359077, -0.02487705461680889, -0.05066318064928055, 0.04534861445426941, 0.009431603364646435, -0.0308559387922287, 0.04569825902581215, -0.01161686796694994, -0.03456214815378189, 0.0003540129109751433, -0.0056816884316504, -0.0017930098110809922, 0.030681118369102478, -0.062131449580192566, 0.007290043402463198, -0.012709500268101692, -0.03403768688440323, 0.032097168266773224, -0.013094106689095497, 0.000037354369851527736, 0.020209329202771187, 0.05779588595032692, 0.02040163241326809, -0.00643341988325119, -0.025838570669293404, 0.02734203450381756, 0.03505164757370949, 0.044789187610149384, 0.00010031731653725728, -0.017814278602600098, -0.01679157465696335, -0.03388034552335739, 0.04510386660695076, 0.05562810227274895, -0.0003597492177505046, 0.02213236317038536, -0.007766431197524071, 0.008596831932663918, 0.02872312068939209, -0.019510043784976006, 0.0670614093542099, -0.00363409542478621, -0.008548756130039692, -0.050558287650346756, -0.01853104494512081, -0.001503462204709649, 0.012901803478598595, -0.017438413575291634, 0.03992915898561478, -0.0076309447176754475, 0.07727096229791641, 0.03482437878847122, -0.044194795191287994, -0.0024715345352888107, 0.059194453060626984, 0.0680404081940651, -0.07496332377195358, -0.06192166358232498, 0.007897547446191311, -0.027394479140639305, -0.015751389786601067, 0.07468361407518387, 0.010227039456367493, -0.028530817478895187, -0.02459734119474888, 0.0019317740807309747, 0.017307298257946968, 0.01273572351783514, 0.08328481018543243, -0.014370301738381386, 0.015987398102879524, -0.035208988934755325, 0.01577761210501194, -0.010734020732343197, 0.01741218939423561, -0.03929980471730232, 0.0003236923657823354, -0.057830847799777985, 0.0015012769727036357, -0.02153797075152397, 0.005554943345487118, 0.0067699505016207695, 0.01518321968615055, -0.009108183905482292, 0.03363559767603874, 0.00819474272429943, 0.00193395942915231, -0.03583834320306778, -0.01628459431231022, -0.00810296181589365, 0.06342512369155884, 0.0029391811694949865, 0.03611805662512779, 0.010139629244804382, 0.044299688190221786, 0.05048836022615433, -0.05237642675638199, -0.005799693055450916, -0.016310816630721092, -0.03578589856624603, -0.0195624902844429, 0.01870586723089218, -0.035208988934755325, -0.009536495432257652, 0.004355232696980238, -0.035208988934755325, 0.03249925747513771, 0.012560902163386345, -0.018024064600467682, -0.05360017716884613, -0.03010420873761177, 0.014562604948878288, 0.02125825546681881, -0.0355236642062664, -0.06181677058339119, 0.0211708452552557, -0.009956066496670246, 0.04024383798241615, 0.024055395275354385, -0.0330936498939991, -0.016013620421290398, 0.018059028312563896, -0.0409780852496624, -0.057061634957790375, -0.0281287282705307, 0.00111393874976784, -0.0009303765255026519, 0.0132864098995924, 0.018898170441389084, -0.04174729809165001, -0.10055714845657349, -0.019422633573412895, -0.014859801158308983, -0.020436596125364304, 0.014903506264090538, -0.019072990864515305, 0.03992915898561478, -0.011931546032428741, 0.04422976076602936, 0.03010420873761177, 0.011520716361701488, 0.008024292066693306, -0.015602790750563145, 0.006031331140547991, -0.03832080587744713, 0.011686796322464943, 0.06887954473495483, -0.04066340997815132, 0.06499851495027542, -0.05856509879231453, -0.0517820343375206, -0.033478256314992905, -0.00145320117007941, -0.017989100888371468, 0.022516969591379166, 0.04569825902581215, -0.06828515231609344, 0.0028954758308827877, -0.008212225511670113, -0.034946754574775696, -0.03034895844757557, -0.018740830942988396, 0.015375523827970028, 0.025191733613610268, 0.027551818639039993, 0.00525337690487504, 0.04251651093363762, 0.04192212224006653, -0.024929501116275787, 0.022359630092978477, 0.03195731341838837, 0.11754976958036423, -0.028845496475696564, -0.036048129200935364, 0.026625266298651695, -0.020296739414334297, 0.007307525724172592, 0.010174592956900597, 0.004894993267953396, 0.012639571912586689, 0.061606984585523605, 0.009807468391954899, -0.06730615347623825, 0.010279485955834389, 0.014081846922636032, 0.0598587729036808, 0.058005668222904205, 0.034771934151649475, 0.03755158931016922, 0.048914968967437744, -0.024492448195815086, 0.008867804892361164, 0.06632716208696365, 0.05391485244035721, 0.00546753266826272, 0.03171256184577942, 0.10076693445444107, -0.044649332761764526, 0.014588828198611736, -0.014475194737315178, -0.04160744324326515, -0.004715801682323217, 0.026974909007549286, -0.009108183905482292, 0.006726245395839214, -0.010532976128160954, -0.02307639643549919, -0.07943874597549438, -0.02624065987765789, -0.0976201519370079, -0.010891360230743885, 0.027569301426410675, 0.03909001871943474, -0.033058688044548035, -0.006695651449263096, 0.005515608470886946, 0.031922347843647, 0.04062844440340996, 0.024457484483718872, -0.07307525724172592, 0.018496081233024597, 0.028670674189925194, -0.020961061120033264, -0.016258370131254196, -0.014081846922636032, 0.0045628328807652, 0.018793277442455292, 0.02298898622393608, 0.008841581642627716, -0.005987625569105148, -0.01530559454113245, -0.035383809357881546, 0.04569825902581215, 0.024335108697414398, -0.013566124252974987, -0.009606423787772655, -0.02220229059457779, 0.0002797138877213001, 0.06776069104671478, -0.0069841062650084496, -0.01989465020596981, -0.01996457949280739, -0.058005668222904205, -0.0007856027223169804, 0.06003359705209732, 0.011048698797821999, 0.02262186072766781, -0.03706208989024162, -0.015069586224853992, 0.009108183905482292, -0.038810305297374725, 0.045488473027944565, -0.004615279380232096, 0.05433442443609238, 0.026363035663962364, 0.017368484288454056, 0.012359857559204102, 0.03804108873009682, 0.007224485743790865, -0.027656711637973785, -0.12922781705856323, 0.015742648392915726, -0.024981947615742683, 0.08433374017477036, -0.01741218939423561, 0.019772276282310486, -0.030803492292761803, -0.03505164757370949, 0.026345552876591682, -0.005436938721686602, 0.031013278290629387, 0.05031353607773781, 0.026730159297585487, -0.014912247657775879, -0.0012630830751731992, 0.014851059764623642, 0.02940492331981659, 0.021747754886746407, -0.017438413575291634, -0.05024360865354538, -0.01071653887629509, -0.019824722781777382, 0.020209329202771187, -0.03283141925930977, -0.03195731341838837, 0.00754790473729372, 0.04576818645000458, 0.037341807037591934, -0.029265066608786583, -0.012115107849240303, 0.03741173446178436, -0.03835576772689819, -0.05485888943076134, -0.04888000339269638, -0.0095627186819911, -0.014580086804926395, -0.016992619261145592, -0.01003473624587059, 0.037446700036525726, 0.0697886198759079, 0.05618752911686897, 0.013749686069786549, -0.01375842746347189, -0.05367010459303856, -0.09132658690214157, -0.02076875790953636, 0.051292534917593, 0.02503439411520958, -0.025925982743501663, 0.001490350579842925, -0.045418545603752136, -0.059299346059560776, -0.04003405198454857, 0.011302189901471138, 0.052166640758514404, -0.0234085563570261, -0.04835554212331772, -0.03370552510023117, 0.0517820343375206, -0.06622226536273956, -0.01170427817851305, -0.02031422220170498, 0.050803035497665405, 0.0326041504740715, -0.05367010459303856, -0.007565387059003115, 0.0019317740807309747, -0.02290157601237297, -0.028093764558434486, -0.06769076734781265, 0.017630716785788536, 0.047481436282396317, -0.036397770047187805, 0.00155372335575521, 0.0670614093542099, 0.007923770695924759, 0.02478964440524578, -0.01294550858438015, -0.05832034721970558, 0.015795094892382622, 0.05608263611793518, -0.04957928881049156, -0.033058688044548035, -0.048495396971702576, 0.005074184853583574, 0.01049801241606474, -0.06643205136060715, -0.001943793031387031, -0.015637755393981934, 0.028670674189925194, -0.03860051929950714, 0.016922691836953163, 0.03174752742052078, 0.0459430068731308, 0.06373980641365051, 0.031765010207891464, -0.04590804502367973, -0.01453638169914484, -0.05307571217417717, 0.03138040378689766, -0.011442046612501144, 0.004064592532813549, -0.02966715581715107, -0.007154556922614574, -0.022954022511839867, 0.040173910558223724, -0.0310482420027256, -0.03891519457101822, 0.015506639145314693, 0.0656978040933609, 0.0067699505016207695, 0.016170959919691086, 0.04922964796423912, -0.014387783594429493, -0.051572252064943314, 0.003424309892579913, 0.021328184753656387, 0.015200702473521233, -0.016092291101813316, 0.012018956243991852, 0.017018843442201614, 0.01388954371213913, -0.0007506384863518178, -0.0003540129109751433, -0.03564603999257088, 0.03293631225824356, -0.0463276132941246, 0.007949993945658207, -0.0033849752508103848, 0.0011090219486504793, -0.07999817281961441, 0.01465875655412674, -0.007320637349039316, -0.09272515773773193, -0.033653076738119125, 0.007910658605396748, 0.018845723941922188, 0.019877169281244278, -0.07433396577835083, 0.008369564078748226, 0.030628671869635582, 0.07929889112710953, 0.03150277957320213, 0.008950844407081604, -0.005589907523244619, 0.002236618660390377, -0.051327500492334366, -0.0062673394568264484, -0.030156655237078667, -0.023006469011306763, 0.030296511948108673, 0.030401404947042465, -0.001516573829576373, 0.025314107537269592, 0.04727165028452873, 0.01152945775538683, 0.023530932143330574, -0.09342443943023682, 0.005668576806783676, 0.03199227899312973, 0.011372118256986141, 0.000396898714825511, -0.008710465393960476, 0.0067568388767540455, 0.04031376540660858, -0.06349505484104156, 0.03403768688440323, -0.04947439581155777, -0.04020887240767479, -0.03755158931016922, -0.010323191061615944, 0.026380516588687897, -0.012193777598440647, 0.050033822655677795, -0.039229873567819595, 0.057061634957790375, 0.02547144703567028, -0.03608309477567673, -0.01630207523703575, -0.07943874597549438, -0.04443954676389694, -0.01816392131149769, 0.023268699645996094, -0.03160766884684563, -0.044544439762830734, 0.04346054792404175, 0.08608195185661316, -0.042236797511577606, -0.06639708578586578, 0.0007550090085715055, 0.05695674195885658, -0.027062319219112396, -0.023006469011306763, 0.03342581167817116, -0.06524326652288437, -0.019177883863449097, 0.00767465028911829, 0.02639799937605858, 0.0031533371657133102, -0.02333862893283367, -0.03375796973705292, -0.007241967599838972, 0.01896809972822666, 0.0031358550768345594, -0.03171256184577942, 0.06300555914640427, 0.03478941693902016, 0.025611303746700287, 0.003924735821783543, 0.007989328354597092, -0.04367033392190933, 0.005275229457765818, 0.00801118090748787, 0.03181745484471321, -0.0004744756151922047, -0.05541831627488136, 0.006874843034893274, 0.030051762238144875, -0.019072990864515305, -0.03860051929950714, 0.039055053144693375, 0.010270744562149048, -0.0063066743314266205, -0.10789963603019714, 0.04538358002901077, 0.033390846103429794, 0.004167300183326006, -0.05066318064928055, 0.009073219262063503, 0.06192166358232498, -0.007766431197524071, -0.0670614093542099, 0.016774093732237816, -0.0008413269533775747, -0.029544780030846596, -0.0023251217789947987, 0.04311090335249901, -0.016852762550115585, 0.014134293422102928, 0.043775226920843124, -0.015454192645847797, 0.05790077894926071, 0.063844695687294, 0.0017121549462899566, -0.008491938933730125, -0.001207358785904944, 0.021712791174650192, -0.007534793112426996, -0.017123734578490257, 0.020803721621632576, 0.017368484288454056, 0.025156768038868904, 0.019247813150286674, -0.02762174792587757, 0.02099602483212948, -0.03122306428849697, -0.01954500935971737, 0.02734203450381756, 0.0013887358363717794, 0.007023441139608622, -0.04520875960588455, -0.029649673029780388, 0.023985465988516808, -0.03435236215591431, 0.036747414618730545, 0.0047201719135046005, -0.04667725786566734, 0.007565387059003115, -0.004372715018689632, 0.03277897089719772, -0.059299346059560776, 0.010541717521846294, -0.04132772982120514, -0.023985465988516808, -0.014160515740513802, 0.036572594195604324, 0.015401746146380901, -0.09055737406015396, -0.009658870287239552, -0.014798613265156746, -0.017359744757413864, 0.00029828865081071854, 0.0012259335489943624, -0.029964352026581764, -0.06269087642431259, 0.006232375279068947, 0.004890622571110725, 0.005109149031341076, 0.03284890204668045, 0.010952547192573547, -0.0612223781645298, 0.010734020732343197, 0.049684181809425354, -0.004510386846959591, -0.02006947249174118, -0.01947508007287979, 0.015506639145314693, -0.019177883863449097, 0.021835166960954666, -0.007936881855130196, -0.008845952339470387, 0.04083823040127754, -0.007875694893300533, -0.03325099125504494, -0.040698371827602386, 0.04898489639163017, -0.047481436282396317, 0.01902054436504841, -0.03316358104348183, -0.0045453510247170925, 0.08685116469860077, -0.044124867767095566, 0.03653762862086296, 0.0070059592835605145, 0.024632304906845093, 0.022674307227134705, 0.012962991371750832, 0.02606583945453167, 0.044194795191287994, 0.007495458237826824, 0.023356109857559204, -0.03234191983938217, -0.004044925328344107, -0.03300623968243599, 0.002738136798143387, -0.0005394872860051692, -0.009982289746403694, -0.019912132993340492, -0.04230672866106033, 0.003505164757370949, -0.024999430403113365, -0.047551363706588745, 0.0913965180516243, 0.04653739929199219, -0.036153022199869156, 0.012272447347640991, 0.051747072488069534, -0.006700022146105766, 0.022779200226068497, 0.05555817484855652, 0.022412076592445374, 0.015978656709194183, 0.11545190960168839, -0.04132772982120514, 0.02468475140631199, -0.02375819906592369, -0.05034850165247917, -0.09468315541744232, -0.029020316898822784, 0.030401404947042465, 0.0004490719293244183, -0.046082865446805954, -0.005598648451268673, 0.0001578853843966499, 0.05013871565461159, 0.06590759009122849 ]
41,995
torch.fx.interpreter
call_method
Execute a ``call_method`` node and return the result. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Return Any: The value returned by the method invocation .. note:: Backwards-compatibility for this API is guaranteed.
@compatibility(is_backward_compatible=True) def call_method(self, target : 'Target', args : Tuple[Argument, ...], kwargs : Dict[str, Any]) -> Any: """ Execute a ``call_method`` node and return the result. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Return Any: The value returned by the method invocation """ # args[0] is the `self` object for this method call self_obj, *args_tail = args # Execute the method and return the result assert isinstance(target, str) return getattr(self_obj, target)(*args_tail, **kwargs)
(self, target: Union[Callable[..., Any], str], args: Tuple[Union[Tuple[Any, ...], List[Any], Dict[str, Any], slice, range, torch.fx.node.Node, str, int, float, bool, complex, torch.dtype, torch.Tensor, torch.device, torch.memory_format, torch.layout, torch._ops.OpOverload, NoneType], ...], kwargs: Dict[str, Any]) -> Any
[ 0.011588350869715214, -0.08019986748695374, 0.014105637557804585, 0.019590673968195915, -0.014715086668729782, -0.007154393941164017, -0.03559531643986702, 0.03220360353589058, 0.039357997477054596, -0.023989301174879074, 0.026921719312667847, 0.014361782930791378, 0.07398173213005066, -0.003601486561819911, -0.024890223518013954, -0.000975448579993099, 0.0028573411982506514, 0.04706001281738281, 0.010007319040596485, 0.04433957487344742, 0.012533437460660934, 0.002263349946588278, 0.030472418293356895, 0.0060679856687784195, 0.012180134654045105, 0.06447786837816238, 0.013001564890146255, 0.038262758404016495, 0.026020795106887817, -0.0014198380522429943, -0.06006157770752907, -0.010466612875461578, -0.020791905000805855, 0.0546913668513298, 0.01582799293100834, 0.035524655133485794, -0.015642507001757622, 0.03494170680642128, -0.07193256914615631, -0.04048856720328331, -0.038156766444444656, -0.05963761359453201, 0.08019986748695374, 0.008024402894079685, -0.035612981766462326, -0.05617523938417435, 0.0026851058937609196, 0.03185030072927475, -0.052783526480197906, -0.03268056362867355, 0.041654471307992935, -0.015289204195141792, 0.049497805535793304, -0.002766807097941637, -0.019078383222222328, 0.07970524579286575, 0.008417453616857529, 0.030437087640166283, 0.0036721471697092056, 0.04536415636539459, 0.05091102048754692, 0.003959205932915211, -0.01747085340321064, 0.0024488342460244894, 0.014706254005432129, -0.02890021726489067, -0.019837984815239906, 0.011111391708254814, 0.017311865463852882, 0.02171049267053604, 0.006187225691974163, 0.038510069251060486, 0.04108918458223343, 0.03868672251701355, 0.018407106399536133, -0.03229193016886711, -0.03333417698740959, 0.05161762610077858, 0.0031289432663470507, -0.01650810055434704, -0.04663604870438576, -0.029076868668198586, -0.012559935450553894, -0.05161762610077858, -0.051688287407159805, -0.03589562326669693, -0.021533841267228127, -0.043597638607025146, -0.03259223699569702, -0.012374451383948326, -0.06518447399139404, 0.0005520365666598082, -0.07603088766336441, 0.021675163879990578, 0.015589511953294277, -0.012816080823540688, 0.04653005674481392, -0.03455307334661484, -0.042007774114608765, 0.015457023866474628, 0.0038730883970856667, 0.10401251912117004, 0.020703578367829323, -0.01927269995212555, 0.060732852667570114, -0.022487761452794075, -0.04903851076960564, -0.0013480732450261712, 0.016446273773908615, 0.016693584620952606, -0.04970978572964668, 0.019643668085336685, -0.026321101933717728, -0.02285872958600521, -0.013558018021285534, -0.06465452164411545, -0.05006309226155281, -0.029235856607556343, -0.07376974821090698, 0.04327966645359993, 0.04048856720328331, -0.023441679775714874, -0.017214708030223846, -0.053737446665763855, -0.0563165619969368, 0.040559228509664536, 0.004520075395703316, 0.0025459926109761, 0.012860243208706379, -0.0511230006814003, -0.023724323138594627, 0.0015401819255203009, -0.013460859656333923, 0.06472518295049667, 0.01588098704814911, 0.04663604870438576, 0.04306768253445625, -0.004575279075652361, -0.031779639422893524, 0.031920962035655975, 0.03404078260064125, -0.0023560919798910618, 0.09638116508722305, 0.0407358817756176, 0.007675516419112682, 0.022187452763319016, -0.011411699466407299, 0.028334932401776314, 0.019290365278720856, -0.01043128315359354, 0.012930904515087605, 0.010643264278769493, 0.04801393300294876, -0.02706304006278515, -0.016110634431242943, 0.03564831241965294, -0.014061475172638893, 0.005069903563708067, 0.020191289484500885, -0.029589159414172173, -0.04960379749536514, -0.013487356714904308, -0.022894060239195824, -0.0033210518304258585, 0.02685105800628662, -0.03534800559282303, -0.008828168734908104, -0.011199717409908772, -0.037909455597400665, 0.05560995265841484, -0.01821278966963291, -0.006408040411770344, 0.0005835026386193931, 0.03684954345226288, 0.022894060239195824, -0.004963912535458803, -0.016384445130825043, 0.04024125635623932, 0.035612981766462326, 0.028122950345277786, -0.0023560919798910618, -0.03642557933926582, -0.013063392601907253, -0.06401857733726501, 0.041654471307992935, 0.06574976444244385, 0.015889819711446762, -0.000036917444958817214, -0.025773482397198677, 0.020791905000805855, 0.03889870271086693, -0.004350048024207354, 0.05451471358537674, -0.009168223477900028, -0.004091694951057434, -0.04656538739800453, -0.025826478376984596, 0.018901731818914413, 0.022099127992987633, -0.006580275483429432, 0.04451622813940048, 0.016940897330641747, 0.0757482498884201, 0.0399232842028141, -0.039605312049388885, 0.008995987474918365, 0.07348710298538208, 0.07525362074375153, -0.060520872473716736, -0.05751779302954674, 0.0176386721432209, -0.002554825274273753, -0.01957300864160061, 0.03328118100762367, -0.004319134168326855, -0.025667492300271988, -0.0070307375863194466, -0.01634911447763443, 0.02211679331958294, 0.026268107816576958, 0.07228587567806244, 0.000036365407140692696, 0.0028992958832532167, -0.0068540857173502445, -0.01902538724243641, -0.025844143703579903, 0.018583757802844048, -0.029659820720553398, -0.012692424468696117, -0.08246101438999176, -0.005683768540620804, -0.0266567412763834, 0.010024983435869217, 0.014220461249351501, -0.037450160831213, -0.0006000637076795101, 0.03533034026622772, 0.029324181377887726, -0.006681850645691156, -0.02231111004948616, -0.012639428488910198, 0.020791905000805855, 0.015262706205248833, 0.0021617752499878407, 0.010122141800820827, -0.006019406486302614, 0.05790642648935318, 0.03822742775082588, -0.024731237441301346, -0.006500782445073128, 0.00030748435528948903, -0.04857921600341797, -0.03450007736682892, 0.0035418665502220392, -0.01804497092962265, -0.04313834384083748, -0.008678014390170574, -0.014617928303778172, 0.031779639422893524, 0.021586837247014046, -0.028829557821154594, -0.032874882221221924, 0.00545412115752697, 0.008443950675427914, 0.013160550966858864, -0.002345051383599639, -0.04847322404384613, 0.02331802435219288, -0.007472366560250521, 0.03639024868607521, 0.05055771395564079, -0.06684499979019165, -0.015280371531844139, 0.03688487410545349, -0.031726643443107605, -0.04306768253445625, -0.04903851076960564, -0.001773141440935433, -0.035012368112802505, -0.00218716892413795, 0.03358148783445358, -0.04872053861618042, -0.05886034667491913, -0.02231111004948616, -0.012074143625795841, -0.016410943120718002, 0.026939384639263153, 0.0012012314982712269, 0.02110987715423107, 0.0008860186790116131, 0.06292333453893661, 0.03266289830207825, 0.002557033207267523, 0.017815323546528816, 0.009053399786353111, -0.0010013943538069725, -0.044798869639635086, 0.02655074931681156, 0.054938677698373795, -0.05875435471534729, 0.03805077448487282, -0.051688287407159805, -0.07560692727565765, -0.03805077448487282, 0.009645182639360428, -0.016578761860728264, 0.00691591389477253, 0.06299399584531784, -0.04462222009897232, -0.007724095601588488, -0.00848811399191618, -0.025119870901107788, -0.023530006408691406, -0.030013123527169228, 0.006253470201045275, 0.007975824177265167, 0.009865997359156609, 0.008519028313457966, 0.052536215633153915, 0.0396406389772892, -0.03584263101220131, 0.04126583784818649, 0.0009136205189861357, 0.12761318683624268, -0.03928733617067337, -0.024342603981494904, 0.008033235557377338, 0.011137889698147774, -0.013478524051606655, 0.007454701699316502, 0.018848735839128494, 0.029924796894192696, 0.05384343862533569, 0.003921667579561472, -0.055080000311136246, 0.011067228391766548, 0.018990056589245796, 0.06719830632209778, 0.04543481767177582, 0.03808610513806343, 0.037414830178022385, 0.02794629894196987, -0.018442437052726746, -0.006593524478375912, 0.06758693605661392, 0.05515065789222717, 0.012657093815505505, 0.04338565841317177, 0.09821834415197372, -0.014759249053895473, -0.0034469161182641983, -0.07111997157335281, -0.03351082652807236, -0.002691730158403516, 0.0037847626954317093, -0.023741988465189934, -0.0037604731041938066, -0.027487004175782204, -0.010722758248448372, -0.07963458448648453, -0.016640590503811836, -0.0770907998085022, -0.01952001266181469, 0.03149699792265892, 0.009698178619146347, -0.05617523938417435, -0.02411295659840107, 0.01200348325073719, 0.020332610234618187, 0.027045374736189842, 0.020226620137691498, -0.07991722971200943, 0.009971988387405872, 0.03398778662085533, -0.03169131278991699, 0.024625247344374657, -0.008576439693570137, 0.01916670985519886, 0.030083784833550453, 0.010369454510509968, 0.01932569593191147, -0.018795739859342575, -0.013257710263133049, -0.01013097446411848, 0.06366527080535889, 0.0033298844937235117, -0.013416696339845657, -0.012047645635902882, -0.002466499339789152, 0.004336799029260874, 0.058189067989587784, -0.009636349976062775, -0.053596124053001404, -0.02480189874768257, -0.06995407491922379, -0.005308383610099554, 0.055433303117752075, 0.006293216720223427, 0.0012674758909270167, -0.03200928866863251, 0.006646519992500544, 0.013098723255097866, -0.019943976774811745, 0.04299702122807503, -0.007445869036018848, 0.060732852667570114, 0.042855702340602875, 0.021993136033415794, 0.01030762679874897, 0.024890223518013954, -0.001914462773129344, -0.015863321721553802, -0.0924241691827774, 0.007551860064268112, -0.03239792212843895, 0.06426588445901871, 0.03089638240635395, 0.013240044936537743, -0.003252599388360977, -0.013072225265204906, 0.006138646509498358, 0.015209711156785488, 0.028617575764656067, 0.03430575877428055, 0.029235856607556343, -0.014662090688943863, 0.0002518666733521968, -0.000623249274212867, 0.018583757802844048, 0.046353403478860855, -0.016737747937440872, -0.028140615671873093, -0.0057985917665064335, -0.0008788421982899308, 0.030737394466996193, -0.03448241204023361, -0.032062284648418427, 0.0048270076513290405, 0.021180538460612297, 0.03165598586201668, -0.062322717159986496, -0.009724675677716732, 0.0039260839112102985, -0.050946351140737534, -0.05995558574795723, -0.06804623454809189, -0.00699982326477766, -0.02326502837240696, -0.018636753782629967, -0.025490839034318924, 0.04306768253445625, 0.07850401103496552, 0.07334578782320023, 0.011084893718361855, -0.01769166812300682, -0.05137031525373459, -0.05525664985179901, -0.01025463081896305, 0.08705395460128784, 0.03677888214588165, -0.01650810055434704, 0.015174380503594875, -0.04331499710679054, -0.06504315137863159, -0.03918134793639183, 0.011491192504763603, 0.04861454665660858, -0.0016660463297739625, -0.06518447399139404, -0.05147630348801613, 0.05211225152015686, -0.06995407491922379, -0.011040731333196163, -0.01270125713199377, 0.01043128315359354, 0.03045475296676159, -0.04331499710679054, -0.0074149551801383495, -0.02586180903017521, -0.04723666235804558, -0.05161762610077858, -0.06733962893486023, 0.026268107816576958, 0.032468583434820175, -0.04123050719499588, -0.017082219943404198, 0.044551558792591095, 0.03504769504070282, 0.023741988465189934, -0.04409226402640343, -0.031444001942873, 0.03953465074300766, 0.03677888214588165, -0.014812245033681393, -0.04147781804203987, -0.013796497136354446, -0.022682078182697296, -0.0029213775414973497, -0.05645788088440895, -0.01235678605735302, -0.005449704825878143, 0.015925150364637375, 0.014768081717193127, 0.009291878901422024, 0.02126886509358883, 0.03617826849222183, 0.05719982087612152, 0.047095343470573425, -0.022099127992987633, -0.005175894591957331, -0.034447081387043, 0.024996215477585793, -0.034676726907491684, -0.0106609296053648, -0.011817998252809048, 0.0053437137976288795, -0.038616061210632324, 0.03301620110869408, -0.025773482397198677, -0.031620655208826065, 0.017258871346712112, 0.04172513261437416, 0.011023066006600857, 0.028688235208392143, 0.03559531643986702, -0.008059733547270298, -0.05451471358537674, 0.007790339644998312, 0.002872798126190901, 0.018742745742201805, -0.0016505892854183912, 0.008452783338725567, 0.00047585551510564983, 0.0032548075541853905, 0.017294201999902725, 0.004235224332660437, -0.04444556683301926, 0.031673647463321686, -0.014644425362348557, 0.011553021147847176, 0.018389441072940826, 0.0005779822822660208, -0.09235350787639618, 0.0060679856687784195, -0.022434765473008156, -0.10599102079868317, -0.02785797230899334, -0.0065272799693048, 0.041159845888614655, 0.018654419109225273, -0.06871750950813293, 0.026338767260313034, 0.0027645991649478674, 0.08910311758518219, 0.033069197088479996, 0.02490788884460926, -0.01499772910028696, -0.005683768540620804, -0.01962600275874138, 0.014962398447096348, -0.04084187373518944, -0.042007774114608765, 0.0470246821641922, 0.037450160831213, -0.016198961064219475, 0.05596325919032097, 0.04925049468874931, 0.017241206020116806, 0.02340634912252426, -0.1189219206571579, 0.010554938577115536, 0.03169131278991699, -0.0002619413426145911, -0.0015059557044878602, 0.020102962851524353, 0.038156766444444656, 0.02859991043806076, -0.031285014003515244, 0.029288850724697113, -0.04246706888079643, -0.028988543897867203, -0.03448241204023361, -0.001605322351679206, 0.001490498660132289, -0.0307550597935915, 0.030331095680594444, -0.04002927616238594, 0.03865139186382294, 0.03149699792265892, -0.022699743509292603, -0.019855650141835213, -0.09122293442487717, -0.033528491854667664, -0.008841417729854584, 0.04077121242880821, -0.015677837654948235, -0.04398627206683159, 0.028175946325063705, 0.06797557324171066, -0.025225862860679626, -0.037167515605688095, -0.020544592291116714, 0.056881844997406006, -0.031779639422893524, -0.028175946325063705, 0.02854691445827484, -0.08592338860034943, -0.006995407398790121, -0.006712764501571655, 0.034818049520254135, 0.013990814797580242, -0.028882551938295364, -0.013443194329738617, 0.021180538460612297, 0.010546105913817883, -0.000962199701461941, -0.037662141025066376, 0.06059153378009796, 0.0410185232758522, 0.034517742693424225, -0.039004694670438766, -0.0005608691135421395, -0.034871045500040054, 0.0004303125024307519, -0.014388280920684338, 0.03174430876970291, -0.002265558112412691, -0.05045172572135925, -0.008576439693570137, 0.009760006330907345, -0.02176348865032196, -0.050345733761787415, 0.0407358817756176, 0.0017124173464253545, -0.009715843014419079, -0.1041538417339325, 0.04197244346141815, 0.018106799572706223, -0.011341039091348648, -0.030543077737092972, 0.01996164210140705, 0.028317267075181007, -0.02176348865032196, -0.03829808905720711, -0.015430525876581669, -0.0005564528401009738, -0.03301620110869408, -0.0014551683561876416, 0.012674759142100811, 0.006920330226421356, -0.010669762268662453, 0.03478271886706352, -0.042714379727840424, 0.06348861753940582, 0.06953010708093643, -0.00006162108184071258, 0.0016726707108318806, 0.004129233304411173, 0.006960076745599508, -0.00665093632414937, -0.017726996913552284, 0.017674002796411514, 0.0035308257210999727, -0.015103720128536224, 0.014980063773691654, -0.01175617054104805, 0.0021319652441889048, -0.019378691911697388, 0.000983729143626988, 0.026374097913503647, 0.014794579707086086, -0.0004239640838932246, -0.05182960629463196, -0.026427093893289566, 0.026374097913503647, -0.016004644334316254, 0.03149699792265892, -0.04289103299379349, -0.032768890261650085, 0.020438602194190025, -0.006483117118477821, 0.022293444722890854, -0.06822288781404495, 0.05182960629463196, -0.023741988465189934, 0.006646519992500544, 0.0333518385887146, 0.04472820833325386, 0.01235678605735302, -0.1295916885137558, -0.0250138808041811, -0.011623681522905827, -0.00005844686893397011, 0.02854691445827484, 0.02990713156759739, -0.029783476144075394, -0.06680966913700104, -0.041654471307992935, -0.012904406525194645, 0.00047005913802422583, 0.04706001281738281, -0.027540000155568123, -0.04861454665660858, -0.008510195650160313, 0.040806543081998825, 0.02660374529659748, 0.009503860957920551, 0.009927825070917606, 0.026038460433483124, -0.013893655501306057, 0.032980870455503464, 0.02900620922446251, -0.004323550499975681, -0.0004446654347702861, 0.002928001806139946, -0.008942992426455021, -0.025190532207489014, 0.02345934510231018, -0.08239035308361053, 0.04426891356706619, -0.042608387768268585, -0.013240044936537743, 0.08330894261598587, -0.0669863224029541, 0.023688992485404015, 0.01150885783135891, 0.027328018099069595, 0.0067834253422915936, 0.0057058497332036495, 0.018248120322823524, 0.006500782445073128, -0.007357543334364891, 0.03688487410545349, -0.028246605768799782, -0.010175137780606747, -0.05585726723074913, 0.0028970877174288034, -0.008607354015111923, 0.006809922866523266, 0.01755034551024437, -0.06804623454809189, 0.010872911661863327, -0.03351082652807236, -0.030984707176685333, 0.09235350787639618, 0.05260687693953514, -0.025773482397198677, 0.011296875774860382, 0.0713672861456871, -0.041301168501377106, 0.03266289830207825, 0.0617927648127079, 0.02116287313401699, 0.04218442365527153, 0.10570837557315826, -0.038616061210632324, 0.027769647538661957, -0.022646747529506683, -0.031567659229040146, -0.09694644808769226, -0.030331095680594444, 0.01881340518593788, 0.0034071695990860462, -0.01670241728425026, -0.013690506108105183, 0.010457780212163925, 0.05260687693953514, 0.07504164427518845 ]
41,996
torch.fx.interpreter
call_module
Execute a ``call_module`` node and return the result. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Return Any: The value returned by the module invocation .. note:: Backwards-compatibility for this API is guaranteed.
@compatibility(is_backward_compatible=True) def call_module(self, target : 'Target', args : Tuple[Argument, ...], kwargs : Dict[str, Any]) -> Any: """ Execute a ``call_module`` node and return the result. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Return Any: The value returned by the module invocation """ # Retrieve executed args and kwargs values from the environment # Execute the method and return the result assert isinstance(target, str) submod = self.fetch_attr(target) return submod(*args, **kwargs)
(self, target: Union[Callable[..., Any], str], args: Tuple[Union[Tuple[Any, ...], List[Any], Dict[str, Any], slice, range, torch.fx.node.Node, str, int, float, bool, complex, torch.dtype, torch.Tensor, torch.device, torch.memory_format, torch.layout, torch._ops.OpOverload, NoneType], ...], kwargs: Dict[str, Any]) -> Any
[ 0.02174931764602661, -0.07043972611427307, 0.02157391980290413, 0.01896049454808235, -0.006064376328140497, 0.006489716004580259, -0.033623743802309036, 0.055390603840351105, 0.0021562958136200905, -0.05447853356599808, 0.03239595890045166, -0.0046348851174116135, 0.06310810148715973, 0.009603025391697884, -0.024906476959586143, -0.014373843558132648, 0.02394179068505764, 0.04051687568426132, -0.0031878536101430655, 0.027186647057533264, -0.005586417857557535, 0.04420022666454315, 0.01395288947969675, -0.016040122136473656, -0.016469847410917282, 0.03753511235117912, 0.03634240850806236, 0.027256807312369347, 0.013873959891498089, -0.0419551357626915, -0.033728983253240585, -0.03350096568465233, -0.017066199332475662, 0.05104073882102966, -0.023415597155690193, 0.014031818136572838, -0.014882497489452362, 0.03644764795899391, -0.06296778470277786, -0.05507488548755646, -0.02492401748895645, -0.06395000964403152, 0.09597763419151306, 0.023520834743976593, -0.02155638113617897, -0.03757019340991974, 0.010059059597551823, 0.011795497499406338, -0.05465393140912056, -0.002780053997412324, 0.0619855560362339, -0.003957411274313927, 0.04890088737010956, -0.004404675215482712, -0.006673883646726608, 0.09597763419151306, 0.017469612881541252, 0.023485755547881126, 0.012119983322918415, 0.04146402329206467, 0.04532277211546898, 0.027169108390808105, -0.008927744813263416, 0.0063932472839951515, 0.0055995723232626915, -0.02792331762611866, -0.035903915762901306, -0.008138454519212246, -0.012128752656280994, 0.027888238430023193, -0.027695301920175552, 0.013987968675792217, 0.05802156776189804, 0.028063636273145676, 0.04612960293889046, -0.030080709606409073, -0.04321800172328949, 0.02613426186144352, -0.01466325018554926, -0.004876056686043739, -0.037605274468660355, -0.01987256295979023, -0.028239034116268158, 0.000147717772051692, -0.05616235360503197, -0.06524795293807983, -0.037815749645233154, -0.03672828525304794, 0.0030848076567053795, -0.0236436128616333, -0.07373720407485962, 0.019258670508861542, -0.06170492246747017, 0.03414993733167648, 0.019627004861831665, -0.03848225995898247, 0.03504446521401405, 0.011120215989649296, -0.05675870552659035, -0.002624388551339507, 0.009866122156381607, 0.06735272705554962, 0.0003165380912832916, 0.022503528743982315, 0.058372363448143005, -0.01009413879364729, -0.044551022350788116, 0.005279471632093191, 0.0279057789593935, 0.00003573043431970291, -0.06258191168308258, 0.030256107449531555, -0.018802637234330177, -0.014479082077741623, -0.027677761390805244, -0.07654356956481934, -0.014522931538522243, -0.045252613723278046, -0.053706783801317215, 0.032255642116069794, 0.017732709646224976, 0.019609466195106506, -0.001303424360230565, -0.043463557958602905, 0.0014514161739498377, 0.06854543089866638, 0.0037863985635340214, -0.015496389009058475, 0.03665812686085701, -0.0713517963886261, 0.006796661764383316, -0.017241597175598145, -0.026502596214413643, 0.051812488585710526, 0.015180673450231552, 0.035325102508068085, 0.055285364389419556, 0.013172369450330734, -0.02902832441031933, 0.0060863010585308075, 0.013277607969939709, 0.0012398427352309227, 0.061248887330293655, 0.05135645344853401, -0.013540704734623432, -0.0206618532538414, -0.0048146676272153854, 0.030554283410310745, -0.002742782002314925, 0.0007037833565846086, 0.007752579636871815, -0.017627472057938576, 0.03385176137089729, -0.004042917862534523, -0.03151897341012955, 0.04192005842924118, -0.006476561073213816, 0.009217150509357452, 0.009401318617165089, -0.024187346920371056, -0.05412773787975311, -0.008853199891746044, -0.006700193043798208, 0.004409060347825289, 0.021082807332277298, -0.05760061368346214, 0.024415364488959312, -0.05974046513438225, -0.06300286203622818, 0.05058470368385315, 0.0027668990660458803, -0.008861970156431198, 0.009892432019114494, 0.02394179068505764, 0.023327898234128952, -0.005161078181117773, -0.02741466462612152, -0.0007602395489811897, 0.008142839185893536, 0.03932417184114456, 0.019855022430419922, -0.003968373406678438, -0.03316770866513252, -0.03534264117479324, 0.035026926547288895, 0.06181015819311142, 0.007046603597700596, 0.008638338185846806, -0.019258670508861542, -0.0021003878209739923, 0.023801472038030624, 0.006735272705554962, 0.06882607191801071, 0.001175164827145636, -0.029484357684850693, -0.02711648866534233, -0.062827467918396, 0.018609698861837387, 0.01201474480330944, 0.014373843558132648, 0.012672485783696175, 0.018311522901058197, 0.05496964976191521, 0.07079052180051804, -0.03297477215528488, 0.006143305450677872, 0.09036491066217422, 0.1020113155245781, -0.07549118250608444, -0.06552859395742416, 0.011102676391601562, -0.019925182685256004, 0.017066199332475662, 0.061354126781225204, 0.006366937421262264, -0.009699494577944279, -0.01677679270505905, 0.007590336725115776, 0.033728983253240585, 0.008077065460383892, 0.05009359121322632, 0.029782533645629883, 0.013926579616963863, -0.011865655891597271, -0.017627472057938576, -0.0327993743121624, 0.008568178862333298, -0.011856886558234692, -0.025064336135983467, -0.046445317566394806, 0.024994175881147385, -0.016022581607103348, -0.006380092352628708, -0.0033303643576800823, -0.01286542322486639, 0.009857351891696453, 0.04381435364484787, 0.029484357684850693, -0.008866354823112488, -0.021538840606808662, 0.006384477484971285, 0.03865765780210495, 0.03613193333148956, -0.00341367837972939, -0.005367170553654432, -0.003093577455729246, 0.04756786301732063, 0.018048426136374474, -0.03143127262592316, -0.0014766296371817589, 0.004713813774287701, -0.02276662550866604, -0.02485385723412037, 0.016276909038424492, -0.03974512591958046, -0.01946914754807949, 0.009673184715211391, 0.009857351891696453, 0.0084936348721385, 0.0003568247484508902, -0.027449743822216988, -0.07654356956481934, -0.014286144636571407, -0.0024248736444860697, 0.033536046743392944, -0.005862669087946415, -0.034641049802303314, 0.009699494577944279, -0.0012365540023893118, 0.018258903175592422, 0.041183385998010635, -0.029133561998605728, -0.01122545450925827, 0.028642449527978897, -0.04570864886045456, -0.06402017176151276, -0.02522219344973564, -0.0119270458817482, 0.015242062509059906, 0.02811625599861145, 0.035325102508068085, -0.06047713756561279, -0.07864834368228912, -0.006945750210434198, -0.003871904918923974, -0.012462008744478226, 0.022293051704764366, 0.011462241411209106, 0.024099647998809814, 0.013838880695402622, 0.033325567841529846, 0.02771284058690071, -0.00383682525716722, 0.00011661208554869518, 0.00419858330860734, 0.02174931764602661, -0.07485975325107574, 0.01598750241100788, 0.045463092625141144, -0.03339572623372078, 0.01728544570505619, -0.0594247505068779, -0.08250708878040314, -0.030133329331874847, 0.00015155460278037935, -0.013198679313063622, 0.04577880725264549, 0.04402482882142067, -0.07885881513357162, 0.017855489626526833, 0.007691190578043461, -0.007279005832970142, 0.007480713073164225, -0.02711648866534233, 0.007489482872188091, -0.0016980692744255066, 0.05472408980131149, 0.011339463293552399, 0.0451473742723465, 0.027888238430023193, -0.06784383952617645, 0.035026926547288895, 0.01529468223452568, 0.12663716077804565, 0.008528714068233967, -0.016627704724669456, 0.021205585449934006, 0.0025739616248756647, 0.004560341127216816, -0.010462474077939987, -0.028063636273145676, 0.05416281893849373, 0.06370445340871811, -0.0001303150347666815, -0.04802389815449715, 0.0048102824948728085, 0.002672622911632061, 0.015329761430621147, 0.03569343686103821, 0.003464105073362589, 0.04577880725264549, 0.009146991185843945, -0.047252148389816284, 0.0044814120046794415, 0.0381314642727375, 0.041779737919569016, 0.028747687116265297, 0.049041204154491425, 0.09429381787776947, -0.03872781991958618, 0.01739945448935032, -0.024485522881150246, -0.02813379466533661, -0.0035912685561925173, 0.01679433323442936, -0.006774737033993006, -0.020714471116662025, -0.01727667637169361, -0.030729681253433228, -0.0760524570941925, 0.023713773116469383, -0.055986955761909485, -0.027291886508464813, 0.03172944858670235, -0.00489798141643405, -0.06707209348678589, -0.037008918821811676, 0.014294914901256561, 0.06584430485963821, 0.008546254597604275, 0.00924346037209034, -0.07970073074102402, 0.007682420313358307, 0.036798443645238876, -0.03985036537051201, 0.02711648866534233, -0.019311290234327316, -0.016022581607103348, -0.010208147577941418, -0.0015149979153648019, 0.03151897341012955, -0.00733162509277463, -0.022310590371489525, -0.03399207815527916, 0.024695999920368195, -0.0011894158087670803, 0.0018011154606938362, -0.012970661744475365, -0.022503528743982315, 0.004990065470337868, 0.07899913936853409, -0.0004198583192192018, -0.04816421493887901, 0.016355838626623154, -0.06686161458492279, -0.012619866989552975, 0.03904353454709053, 0.005533798132091761, -0.02643243782222271, -0.04619976133108139, 0.04135878384113312, 0.013803801499307156, -0.014329994097352028, 0.025765925645828247, 0.004832207225263119, 0.03932417184114456, 0.0445159450173378, 0.005608342122286558, 0.01806596666574478, 0.015926113352179527, 0.01286542322486639, 0.017960727214813232, -0.1254444569349289, -0.021012647077441216, -0.02662537433207035, 0.04679611325263977, 0.039499569684267044, 0.018521999940276146, 0.003374213818460703, -0.039885442703962326, 0.038517341017723083, 0.008480479940772057, 0.03337818756699562, -0.007292160764336586, 0.04223577305674553, 0.007349164690822363, -0.007840278558433056, -0.00007516066398238763, 0.00397495087236166, 0.0594247505068779, -0.055986955761909485, 0.021521301940083504, -0.03197500482201576, 0.0025871165562421083, 0.04398975148797035, -0.045848965644836426, -0.020784631371498108, 0.0296071358025074, 0.024099647998809814, 0.026958631351590157, -0.032939694821834564, -0.0045998054556548595, 0.033536046743392944, -0.0451473742723465, -0.03230826184153557, -0.046445317566394806, -0.008388396352529526, -0.001734244986437261, -0.024397823959589005, -0.01989010162651539, 0.0351497046649456, 0.062441591173410416, 0.09289063513278961, 0.008125299587845802, -0.018557079136371613, -0.08180549740791321, -0.04342847689986229, -0.006779122166335583, 0.07507022470235825, 0.012084903195500374, -0.04374419152736664, -0.0027668990660458803, -0.024573221802711487, -0.06780876219272614, 0.009760883636772633, 0.020907409489154816, 0.07485975325107574, -0.03337818756699562, -0.04269180819392204, -0.03399207815527916, 0.057074420154094696, -0.044551022350788116, -0.0038455952890217304, 0.005476794205605984, 0.015338531695306301, 0.021994875743985176, -0.05076010152697563, -0.01445277314633131, -0.015408690087497234, -0.05812680721282959, -0.024117188528180122, -0.03953464701771736, 0.041884977370500565, 0.05507488548755646, -0.0685805082321167, -0.002345944521948695, 0.0783677026629448, 0.025362512096762657, 0.024467982351779938, -0.05104073882102966, -0.029957931488752365, 0.017723940312862396, 0.0385524220764637, 0.00030502761364914477, -0.04184989631175995, -0.0438845120370388, 0.0013001356273889542, 0.006638803984969854, -0.03613193333148956, 0.0046304999850690365, -0.01827644370496273, 0.06910670548677444, 0.013479315675795078, -0.01072557084262371, 0.013944119215011597, 0.05247899889945984, 0.03806130588054657, 0.0191709715873003, -0.023924250155687332, 0.010488783940672874, -0.040692273527383804, 0.04223577305674553, -0.02652013674378395, 0.006630034185945988, -0.02025843784213066, 0.024397823959589005, -0.013803801499307156, 0.08931252360343933, -0.01534730102866888, -0.03785083070397377, 0.023713773116469383, 0.03099277801811695, 0.0019271825440227985, -0.0021179276518523693, 0.03932417184114456, -0.029361579567193985, -0.06987845152616501, 0.021117886528372765, -0.002915987279266119, 0.02760760299861431, 0.005950368009507656, -0.0028304809238761663, 0.0035079545341432095, -0.008883895352482796, 0.0057837399654090405, -0.006349397823214531, -0.04311276227235794, 0.04353371635079384, -0.029168643057346344, 0.014733409509062767, -0.014619400724768639, -0.01108513679355383, -0.061950478702783585, 0.011865655891597271, -0.015838414430618286, -0.06724748760461807, -0.017548542469739914, 0.03250119835138321, 0.015224522911012173, 0.0191709715873003, -0.053987421095371246, 0.004016607999801636, -0.008098989725112915, 0.06619510054588318, 0.03609685227274895, 0.003545226529240608, -0.005862669087946415, -0.019819943234324455, -0.05714457854628563, 0.0001977335341507569, -0.025660688057541847, -0.02523973397910595, 0.03757019340991974, 0.029887773096561432, 0.006616879254579544, 0.0337640643119812, 0.04300752282142639, 0.021801937371492386, 0.002644120715558529, -0.09261000156402588, -0.0008704112260602415, 0.004029762931168079, -0.002940104342997074, 0.036026693880558014, 0.03795607015490532, 0.058477602899074554, 0.05167217180132866, -0.02394179068505764, 0.03985036537051201, -0.02055661380290985, 0.006608109455555677, -0.0351497046649456, 0.011856886558234692, 0.001327541540376842, -0.04290228337049484, 0.027291886508464813, -0.017934417352080345, 0.03232580050826073, 0.06061745434999466, -0.012374309822916985, -0.015277141705155373, -0.05914411321282387, -0.019346369430422783, -0.012207682244479656, 0.04788358137011528, -0.03904353454709053, -0.10018718242645264, 0.06770352274179459, 0.07373720407485962, 0.0037315867375582457, -0.04391958937048912, -0.030747221782803535, 0.07149211317300797, -0.036202091723680496, -0.03844718262553215, 0.034342873841524124, -0.058477602899074554, -0.03616701066493988, -0.011567479930818081, 0.050233907997608185, -0.018644778057932854, -0.0721937045454979, -0.028659988194704056, 0.018030885607004166, -0.004560341127216816, -0.015119284391403198, -0.02941419929265976, 0.0335535854101181, 0.07464927434921265, 0.011330693028867245, -0.025467749685049057, 0.02552036941051483, -0.049532316625118256, -0.005639037117362022, 0.0004212286148685962, 0.04255148768424988, -0.02702878974378109, -0.030484125018119812, 0.002565191825851798, 0.006849281489849091, -0.03823670372366905, -0.037394795566797256, 0.05332091078162193, -0.010243227705359459, 0.011848116293549538, -0.12446222454309464, 0.05914411321282387, 0.011313153430819511, 0.005853899288922548, -0.0312032550573349, 0.017224056646227837, 0.029554517939686775, -0.02890554629266262, -0.07033448666334152, -0.006822971627116203, 0.004430985078215599, -0.021240664646029472, 0.006862435955554247, 0.03735971450805664, -0.0251344945281744, 0.0017627471825107932, 0.027467284351587296, -0.03511462360620499, 0.05914411321282387, 0.058968715369701385, -0.01147978100925684, 0.000972909270785749, 0.00041026624967344105, 0.013873959891498089, -0.008677802979946136, -0.019925182685256004, -0.01033969596028328, 0.03953464701771736, -0.016250599175691605, 0.01638214848935604, -0.0417446605861187, 0.016548775136470795, -0.025081874802708626, -0.002398564014583826, 0.02415226772427559, 0.0009361853590235114, -0.01899557374417782, -0.05353138595819473, -0.02038121595978737, -0.011111445724964142, -0.0032865148968994617, 0.03385176137089729, -0.015724405646324158, -0.023819010704755783, 0.038412101566791534, -0.016040122136473656, 0.02850213088095188, -0.059003796428442, 0.022310590371489525, -0.009997670538723469, 0.025608068332076073, -0.019416527822613716, 0.042867206037044525, 0.014715868979692459, -0.12312920391559601, -0.0012080518063157797, 0.012155062519013882, -0.004128423985093832, 0.007581566926091909, 0.016732944175601006, -0.00883566029369831, -0.05009359121322632, -0.034430574625730515, -0.022029954940080643, 0.017031120136380196, 0.028063636273145676, -0.0279057789593935, -0.04202529415488243, -0.0264148972928524, 0.013759952038526535, 0.0032470503356307745, -0.030150869861245155, 0.0004365759086795151, -0.011628868989646435, -0.02185455709695816, 0.02534497156739235, 0.017513463273644447, -0.0005377036868594587, 0.01550515927374363, 0.013435466215014458, -0.03537772223353386, -0.058968715369701385, 0.03171190991997719, -0.07100100070238113, 0.026695534586906433, -0.037815749645233154, 0.007445633411407471, 0.08748838305473328, -0.02664291486144066, 0.04676103591918945, -0.022012414410710335, 0.025678226724267006, 0.034711211919784546, 0.04830453544855118, 0.021731778979301453, 0.0013439850881695747, -0.01818874478340149, -0.009576715528964996, -0.044059909880161285, 0.014058127999305725, -0.05016374960541725, -0.02217027358710766, -0.006191539578139782, 0.012584786862134933, 0.0014645709889009595, -0.0560220330953598, 0.02006549946963787, -0.038517341017723083, -0.01590857468545437, 0.09780177474021912, 0.04690135270357132, -0.04490181803703308, -0.009962591342628002, 0.07970073074102402, -0.035640817135572433, 0.026502596214413643, 0.07422831654548645, 0.034816447645425797, 0.04444578289985657, 0.09429381787776947, -0.036412566900253296, 0.009006673470139503, -0.01748715341091156, -0.03458843380212784, -0.10467736423015594, -0.01778532937169075, 0.01668909378349781, 0.0047839730978012085, -0.036903683096170425, 0.004235855303704739, -0.0006308836746029556, 0.03150143101811409, 0.02581854537129402 ]
41,997
torch.fx.interpreter
fetch_args_kwargs_from_env
Fetch the concrete values of ``args`` and ``kwargs`` of node ``n`` from the current execution environment. Args: n (Node): The node for which ``args`` and ``kwargs`` should be fetched. Return: Tuple[Tuple, Dict]: ``args`` and ``kwargs`` with concrete values for ``n``. .. note:: Backwards-compatibility for this API is guaranteed.
@compatibility(is_backward_compatible=True) def fetch_args_kwargs_from_env(self, n : Node) -> Tuple[Tuple, Dict]: """ Fetch the concrete values of ``args`` and ``kwargs`` of node ``n`` from the current execution environment. Args: n (Node): The node for which ``args`` and ``kwargs`` should be fetched. Return: Tuple[Tuple, Dict]: ``args`` and ``kwargs`` with concrete values for ``n``. """ args = self.map_nodes_to_values(n.args, n) assert isinstance(args, tuple) kwargs = self.map_nodes_to_values(n.kwargs, n) assert isinstance(kwargs, dict) return args, kwargs
(self, n: torch.fx.node.Node) -> Tuple[Tuple, Dict]
[ -0.009539366699755192, -0.02705411985516548, -0.0026157803367823362, -0.016362346708774567, 0.004360395949333906, 0.058864202350378036, 0.002236217726022005, -0.006512012332677841, 0.013673396781086922, -0.04744989052414894, 0.0029564721044152975, 0.061827536672353745, -0.04335244372487068, 0.034681953489780426, 0.010508852079510689, -0.03638312593102455, 0.013883757404983044, 0.05542527511715889, 0.02531636320054531, 0.03504779934883118, -0.009923501871526241, -0.02752971649169922, -0.008684207685291767, -0.011368583887815475, 0.009484490379691124, -0.031023520976305008, 0.0667664185166359, -0.007842767983675003, 0.06285189837217331, 0.03170033171772957, -0.09043648838996887, -0.04594993218779564, -0.0003223994863219559, 0.02184085175395012, 0.040754955261945724, -0.04993762448430061, -0.00904090516269207, 0.057656921446323395, -0.07042485475540161, -0.08143673837184906, -0.03245031088590622, -0.07309551537036896, 0.03418806567788124, 0.009150657802820206, -0.015091040171682835, -0.05520576983690262, 0.03411489725112915, -0.0910218358039856, -0.052644867449998856, -0.03819405287504196, 0.08546102046966553, -0.010774088092148304, 0.07291258871555328, 0.008729938417673111, 0.00285129202529788, 0.002732392866164446, -0.023121302947402, 0.02061527594923973, -0.03426123410463333, 0.0872170701622963, -0.012402091175317764, 0.04536458104848862, -0.015850165858864784, 0.03153569996356964, -0.06486403197050095, -0.03760870173573494, -0.03402343764901161, -0.029999159276485443, -0.05959589034318924, 0.008720791898667812, -0.039986684918403625, -0.012713057920336723, 0.007929655723273754, -0.019298238679766655, 0.04009643569588661, -0.025279778987169266, -0.042876847088336945, 0.046059682965278625, 0.0006590897683054209, 0.014075824990868568, -0.07009559869766235, -0.005730022210627794, -0.08750974386930466, -0.019737251102924347, 0.00877566821873188, 0.01198137179017067, -0.04038911312818527, 0.015685535967350006, 0.02281033620238304, -0.0063153719529509544, -0.08275377750396729, 0.023231055587530136, -0.05542527511715889, 0.07924167811870575, 0.0379013754427433, -0.026413893327116966, 0.024365169927477837, -0.004063148517161608, -0.0432061068713665, -0.004438137635588646, 0.024017618969082832, 0.011167369782924652, -0.05165708810091019, -0.000025151734007522464, -0.007403756026178598, -0.015575782395899296, -0.01531969290226698, 0.0015239664353430271, 0.03907207399606705, -0.036273375153541565, -0.0834122970700264, 0.025078564882278442, 0.007673565298318863, 0.006452563218772411, -0.020267724990844727, 0.007431194186210632, -0.03654775768518448, -0.006585181225091219, 0.02531636320054531, 0.0011615528492257, -0.02502368949353695, 0.07638810575008392, 0.004218631889671087, 0.05246194452047348, 0.013289261609315872, 0.04649869725108147, -0.00044758652802556753, 0.015969064086675644, -0.0037316028028726578, -0.04404754564166069, 0.03603557497262955, -0.03929158300161362, -0.03510267287492752, 0.05586428567767143, 0.0019206778379157186, 0.028480909764766693, -0.006887001916766167, 0.02646877057850361, -0.008999748155474663, -0.010051547549664974, 0.012374653480947018, -0.016398930922150612, -0.0006956740980967879, -0.036053866147994995, -0.10646042972803116, -0.054400913417339325, 0.015155063010752201, 0.006562315858900547, -0.0033200287725776434, -0.027767514809966087, 0.028993088752031326, 0.02827969565987587, 0.006914440076798201, -0.0208530742675066, -0.0013673397479578853, 0.0020132819190621376, -0.0016885959776118398, -0.04657186567783356, 0.023084718734025955, -0.03510267287492752, -0.08436349034309387, 0.01016130018979311, 0.003864221042022109, -0.04229149594902992, 0.06885173171758652, 0.047120630741119385, 0.055754534900188446, -0.06435185670852661, 0.021566469222307205, 0.00611873110756278, -0.0409378781914711, 0.03830380365252495, 0.02129208669066429, 0.007627835031598806, -0.029212595894932747, 0.04284026101231575, -0.016142839565873146, -0.029395516961812973, 0.00902718584984541, 0.023615190759301186, -0.018475091084837914, -0.0613885223865509, -0.03199300542473793, -0.01740499958395958, 0.036511171609163284, 0.03290761262178421, 0.0031462532933801413, -0.013545352034270763, 0.003521242644637823, -0.0070699239149689674, -0.016645874828100204, 0.017569629475474358, 0.0185665525496006, 0.030968643724918365, -0.04942544549703598, 0.00408144062384963, -0.03212105110287666, 0.03508438169956207, -0.011880764737725258, 0.01334413792937994, 0.051583919674158096, 0.002620353363454342, 0.020340893417596817, 0.09885089099407196, -0.032340556383132935, 0.003153112716972828, 0.008240622468292713, 0.0006133593269623816, -0.019426284357905388, 0.01873118244111538, 0.00701047433540225, -0.01672818884253502, 0.047193799167871475, 0.01694769598543644, 0.00024037054390646517, -0.017661090940237045, -0.010325930081307888, 0.04979128763079643, -0.005510516464710236, -0.03830380365252495, 0.08670488744974136, -0.05769350379705429, 0.11685038357973099, 0.016389785334467888, 0.029212595894932747, -0.09233887493610382, 0.02699924260377884, 0.002455723937600851, -0.020066510885953903, -0.03440757095813751, -0.004774256609380245, -0.01692025735974312, 0.03175520896911621, 0.022865213453769684, 0.027804099023342133, -0.013792295940220356, 0.03623678907752037, -0.03351125493645668, 0.052498526871204376, -0.014386791735887527, -0.03903549164533615, 0.01057287398725748, -0.008729938417673111, 0.0159324798732996, 0.02297496609389782, 0.03845014050602913, 0.10346051305532455, 0.005172111093997955, -0.020121386274695396, -0.034151483327150345, 0.00611873110756278, 0.012100270949304104, -0.0017411859007552266, 0.019737251102924347, -0.024237126111984253, 0.010527144186198711, 0.012731350027024746, 0.024749306961894035, 0.027804099023342133, -0.052498526871204376, 0.018456799909472466, -0.007984532043337822, -0.03510267287492752, 0.026816321536898613, 0.032852739095687866, -0.01687452755868435, 0.04894984886050224, -0.029779652133584023, -0.06343724578619003, -0.024584677070379257, 0.054474081844091415, 0.039694007486104965, 0.007019620388746262, 0.028901629149913788, -0.01562151312828064, -0.026560230180621147, -0.018895812332630157, -0.0012415810488164425, -0.002903881948441267, 0.041047628968954086, 0.033785637468099594, -0.02904796600341797, -0.05388873443007469, 0.03243201598525047, -0.025371240451931953, -0.008515004999935627, -0.02032260037958622, -0.052279021590948105, 0.06058366596698761, -0.015658097341656685, 0.03069426119327545, 0.03232226520776749, 0.029468685388565063, -0.022078650072216988, 0.007970812730491161, 0.01822814717888832, -0.0538521483540535, 0.045291412621736526, 0.06468111276626587, 0.01189905684441328, 0.06940049678087234, -0.039474502205848694, -0.036127034574747086, 0.009338152594864368, 0.05282778665423393, 0.009768018499016762, 0.05623013153672218, 0.04207199066877365, -0.052279021590948105, -0.009484490379691124, -0.017340976744890213, -0.029615024104714394, -0.0024877351243048906, 0.010417390614748001, -0.09958257526159286, -0.06735177338123322, -0.03744407370686531, -0.014752634800970554, -0.03965742513537407, 0.04565725475549698, -0.053120460361242294, 0.004746817983686924, 0.0439743772149086, 0.022627415135502815, 0.0008059987449087203, 0.021639637649059296, 0.03321858122944832, -0.003285730956122279, 0.08004653453826904, 0.07609542459249496, -0.0394013337790966, 0.044998738914728165, -0.030346710234880447, 0.07141263037919998, -0.012365506961941719, 0.04126713424921036, -0.004012844990938902, 0.05290095508098602, 0.0057620336301624775, -0.03888915479183197, 0.0018086383352056146, -0.027877267450094223, -0.06051049754023552, -0.01690196432173252, 0.04609626904129982, 0.0034183491952717304, 0.047266967594623566, 0.023926159366965294, 0.06951024383306503, -0.0006333664059638977, -0.041047628968954086, -0.02623097226023674, -0.015337985008955002, -0.007902217097580433, 0.005194976460188627, 0.040059853345155716, -0.057876426726579666, -0.04214515909552574, 0.017834866419434547, -0.011734426952898502, 0.020523814484477043, -0.02379811368882656, 0.02743825502693653, 0.01918848603963852, 0.033858805894851685, -0.07609542459249496, 0.017999496310949326, 0.03406001999974251, 0.062156792730093, -0.011734426952898502, 0.009484490379691124, -0.020962826907634735, 0.020944533869624138, -0.01808181032538414, -0.02123720943927765, -0.03616362065076828, -0.03907207399606705, -0.033236872404813766, 0.0009391885832883418, 0.05110832303762436, -0.03746236488223076, -0.031499117612838745, 0.031883250921964645, -0.012520990334451199, -0.03834038972854614, -0.0056522805243730545, -0.006132449954748154, 0.014350207522511482, 0.012703912332654, 0.052059516310691833, -0.03502950444817543, 0.03223080188035965, -0.0016851661494001746, 0.033236872404813766, 0.022096941247582436, -0.03599899262189865, 0.04518166184425354, -0.03502950444817543, -0.02661510743200779, -0.002519746543839574, -0.019590914249420166, 0.029962575063109398, 0.012420383282005787, 0.002533465623855591, 0.007527227979153395, 0.007618688978254795, 0.0021333242766559124, 0.011103346943855286, 0.06193728744983673, -0.036438003182411194, 0.00926955696195364, -0.0500473789870739, -0.0017709106905385852, -0.0344807393848896, 0.012530136853456497, -0.0014748062239959836, 0.0583520233631134, 0.059998318552970886, 0.04682795703411102, -0.03191983699798584, -0.006868709810078144, -0.04148664325475693, -0.02129208669066429, 0.029999159276485443, 0.03729773312807083, 0.015347130596637726, -0.03632824867963791, -0.010472266934812069, 0.02904796600341797, 0.03435269370675087, -0.02372494526207447, 0.006480001378804445, -0.0011038181837648153, -0.02213352546095848, 0.02553587034344673, -0.011249684728682041, -0.005359605886042118, 0.025663914158940315, 0.02615780383348465, 0.03283444419503212, -0.09146085381507874, 0.03907207399606705, 0.0284443236887455, 0.013719127513468266, -0.00820861104875803, -0.009713142178952694, 0.0030319271609187126, 0.031645454466342926, -0.023596899583935738, -0.04346219450235367, 0.01194478664547205, -0.009841187857091427, 0.013856318779289722, -0.0583520233631134, -0.013856318779289722, -0.038486726582050323, -0.07302234321832657, 0.017011718824505806, 0.029999159276485443, 0.053632643073797226, 0.057803258299827576, -0.009493635967373848, -0.035303886979818344, -0.03594411537051201, -0.009804603643715382, -0.029066259041428566, 0.03918182849884033, -0.026816321536898613, -0.06010806933045387, -0.04177931696176529, 0.011121639050543308, 0.01880435086786747, -0.039218414574861526, -0.015374569222331047, 0.01391119509935379, 0.019847003743052483, -0.010170446708798409, -0.04982786998152733, 0.012310630641877651, -0.03406001999974251, -0.03695018216967583, 0.002143613761290908, 0.061461690813302994, 0.012027101591229439, -0.0371696911752224, -0.0223530326038599, 0.02584683708846569, -0.021127456799149513, -0.009333579801023006, 0.028773583471775055, -0.02957843989133835, 0.02070673741400242, 0.035377055406570435, -0.016170278191566467, 0.04155981168150902, -0.012905126437544823, 0.019993342459201813, 0.038706231862306595, 0.043169520795345306, -0.0027278198394924402, -0.0492791049182415, 0.015118478797376156, 0.06885173171758652, 0.009768018499016762, -0.017853157594799995, 0.0011404025135561824, -0.0432061068713665, 0.04126713424921036, 0.01740499958395958, 0.013389868661761284, 0.02950526960194111, 0.039620839059352875, 0.04876692593097687, -0.035249013453722, -0.0020693016704171896, 0.004659930244088173, -0.019536036998033524, 0.021255502477288246, -0.030072327703237534, 0.046681616455316544, 0.032852739095687866, 0.08194892108440399, 0.08004653453826904, -0.050157129764556885, 0.012136855162680149, 0.015118478797376156, 0.014661174267530441, 0.013161216862499714, 0.012045393697917461, 0.01607881672680378, -0.0005767749971710145, -0.05480334162712097, -0.039620839059352875, 0.010856403037905693, 0.012008809484541416, -0.018895812332630157, 0.023487146943807602, 0.0750710666179657, 0.014084970578551292, 0.01962749846279621, 0.03554168716073036, -0.026962658390402794, -0.05165708810091019, 0.0651932954788208, -0.045840177685022354, 0.007330587133765221, 0.008309218101203442, 0.031718622893095016, -0.04807182401418686, -0.0023779820185154676, -0.029230887070298195, -0.013097194023430347, 0.045218244194984436, 0.04638894274830818, -0.050303466618061066, -0.050010792911052704, -0.01660929061472416, -0.05344972014427185, -0.023212764412164688, -0.007838195189833641, -0.01016130018979311, -0.009242119267582893, -0.009530220180749893, 0.0447426475584507, 0.0035143832210451365, 0.010902133770287037, 0.006790968123823404, 0.007065350655466318, -0.03707822784781456, -0.010700919665396214, -0.0008465845021419227, 0.00026052052271552384, 0.029523562639951706, 0.006370248273015022, 0.025078564882278442, -0.020834781229496002, -0.0038505017291754484, -0.01796291023492813, 0.0409378781914711, -0.0034114897716790438, 0.006585181225091219, 0.018475091084837914, -0.024621261283755302, 0.0038367826491594315, 0.008748230524361134, 0.05926663056015968, -0.0058717867359519005, 0.04741330444812775, 0.022188402712345123, -0.01948116160929203, -0.010682627558708191, 0.010188738815486431, 0.02963331528007984, -0.027090704068541527, 0.019206779077649117, -0.07415645569562912, -0.028023604303598404, 0.01863972097635269, -0.00017177491099573672, -0.08502200990915298, -0.07411987334489822, -0.02798702009022236, 0.03535876423120499, -0.026633400470018387, -0.04053544998168945, -0.0402061901986599, -0.017825718969106674, -0.007152238395065069, -0.013307553716003895, 0.016929402947425842, 0.0028261402621865273, -0.0652298778295517, -0.010289345867931843, 0.026432186365127563, -0.0223530326038599, 0.021639637649059296, -0.013902049511671066, 0.041815899312496185, -0.01205454021692276, -0.023395685479044914, 0.011615527793765068, -0.012429529801011086, 0.002791842445731163, 0.005103515461087227, 0.012786227278411388, 0.03656604886054993, 0.019590914249420166, -0.041742730885744095, -0.0284443236887455, 0.007111080922186375, 0.025974880903959274, -0.023852989077568054, 0.07755880057811737, -0.07060777395963669, -0.0010900989873334765, -0.03722456470131874, 0.059705644845962524, -0.046681616455316544, -0.04353536665439606, 0.02895650453865528, -0.027712637558579445, 0.03760870173573494, -0.00211503216996789, -0.01467032078653574, -0.006731518544256687, -0.0011175372637808323, 0.048547420650720596, -0.0318283773958683, 0.07777830958366394, -0.0007568385335616767, 0.030365003272891045, 0.02599317394196987, 0.007614115718752146, 0.034316111356019974, -0.005066931247711182, 0.007120227441191673, -0.049388859421014786, 0.018722036853432655, -0.013929487206041813, -0.030310126021504402, -0.0023642629384994507, 0.014240454882383347, 0.005194976460188627, 0.011478336527943611, 0.013490475714206696, 0.010133862495422363, -0.03812088072299957, 0.007403756026178598, 0.0796075239777565, 0.03541364148259163, 0.033181995153427124, -0.008972309529781342, 0.057217907160520554, 0.0054510668851435184, -0.041047628968954086, -0.05868128314614296, 0.02017626352608204, 0.01861228235065937, -0.0318649597465992, -0.034627076238393784, 0.008862555958330631, 0.003358899848535657, 0.0007145379204303026, 0.040133021771907806, -0.04609626904129982, -0.026139510795474052, -0.0028124211821705103, 0.03402343764901161, 0.019956758245825768, -0.02562732994556427, -0.011578943580389023, 0.002255653264001012, 0.03812088072299957, 0.01574041321873665, 0.007367171347141266, -0.10580191016197205, -0.009411321952939034, -0.003717883490025997, 0.034297820180654526, -0.02343226969242096, -0.013170362450182438, -0.0424378365278244, -0.028791876509785652, -0.021877435967326164, 0.040828123688697815, 0.013289261609315872, -0.01531969290226698, -0.005272718146443367, -0.05096198618412018, 0.051510751247406006, -0.04192565381526947, -0.03329174965620041, 0.0017549050971865654, -0.052498526871204376, 0.021090872585773468, 0.06021782383322716, -0.04108421504497528, 0.02001163363456726, -0.09972891211509705, 0.029230887070298195, -0.0227554589509964, -0.0034137761685997248, 0.043864622712135315, 0.013033171184360981, 0.05718132480978966, -0.0022179256193339825, -0.031041812151670456, -0.05140099674463272, 0.03040158748626709, 0.001871517626568675, -0.02950526960194111, -0.016554413363337517, 0.014551421627402306, -0.025828544050455093, 0.01133199967443943, -0.019901880994439125, 0.01187161821871996, -0.04038911312818527, -0.09065599739551544, 0.00936559122055769, 0.05041322112083435, 0.0538521483540535, -0.04873033985495567, 0.04426705092191696, 0.08502200990915298, 0.0033909110352396965, -0.025371240451931953, -0.03656604886054993, 0.028078481554985046, -0.07587592303752899, 0.05451066792011261, 0.09358274191617966, 0.01805437169969082, -0.03594411537051201, 0.022956673055887222, -0.07777830958366394, 0.06987608969211578, -0.046242605894804, 0.0008437263313680887, -0.03587094694375992, -0.04276709258556366, 0.017368415370583534, -0.06512012332677841, 0.013627666980028152, 0.016307469457387924, -0.04755964130163193, 0.05257169529795647, -0.016142839565873146 ]
41,998
torch.fx.interpreter
fetch_attr
Fetch an attribute from the ``Module`` hierarchy of ``self.module``. Args: target (str): The fully-qualified name of the attribute to fetch Return: Any: The value of the attribute. .. note:: Backwards-compatibility for this API is guaranteed.
@compatibility(is_backward_compatible=True) def fetch_attr(self, target : str): """ Fetch an attribute from the ``Module`` hierarchy of ``self.module``. Args: target (str): The fully-qualified name of the attribute to fetch Return: Any: The value of the attribute. """ target_atoms = target.split('.') attr_itr = self.module for i, atom in enumerate(target_atoms): if not hasattr(attr_itr, atom): raise RuntimeError(f"Node referenced nonexistent target {'.'.join(target_atoms[:i])}") attr_itr = getattr(attr_itr, atom) return attr_itr
(self, target: str)
[ 0.05774682015180588, 0.015143521130084991, 0.005473401863127947, 0.030817152932286263, 0.025816433131694794, -0.010496209375560284, 0.03237214684486389, 0.03064044937491417, 0.00021963738254271448, -0.030181018635630608, 0.01058456115424633, -0.024915244430303574, 0.07195381075143814, 0.026487909257411957, 0.011662454344332218, 0.014039121568202972, -0.004289485979825258, 0.04979514703154564, -0.0062906574457883835, 0.04050052538514137, -0.009674536064267159, 0.02452649548649788, -0.004137079231441021, -0.03581787273287773, -0.030181018635630608, 0.02818426489830017, 0.028166595846414566, 0.022953830659389496, 0.05491955950856209, -0.05771148204803467, -0.04212620109319687, -0.08729171007871628, 0.0026130082551389933, 0.02830795757472515, -0.016928229480981827, 0.01013396680355072, -0.003441307693719864, 0.025180300697684288, -0.05658057704567909, -0.06993938982486725, -0.007973761297762394, -0.004035474266856909, 0.03675440326333046, -0.024879902601242065, -0.002650558017194271, -0.026770634576678276, 0.0027852945495396852, -0.013844747096300125, -0.06280054897069931, -0.02489757351577282, 0.0812130942940712, 0.027053361758589745, 0.03827405720949173, 0.005234851967543364, 0.0036180114839226007, 0.06958597898483276, -0.02268877625465393, 0.04074791073799133, -0.014136308804154396, 0.06887916475534439, 0.026240523904561996, -0.0034390988294035196, 0.009824734181165695, -0.018518565222620964, -0.03728451579809189, -0.03901621326804161, -0.03461628779768944, -0.01812981627881527, -0.03721383213996887, 0.024349791929125786, -0.0553789883852005, 0.004846103489398956, 0.05329388380050659, 0.02095707692205906, 0.035252418369054794, -0.04813413321971893, -0.03203640878200531, 0.023324908688664436, 0.028820399194955826, -0.007545254658907652, -0.0636133924126625, 0.02834329940378666, -0.019720150157809258, -0.02436746284365654, -0.04640243202447891, -0.059125110507011414, -0.0319833979010582, -0.034439582377672195, -0.019437424838542938, -0.025074277073144913, -0.08686761558055878, 0.06863177567720413, -0.05569705739617348, 0.0853126272559166, 0.032513510435819626, 0.00008414140756940469, 0.030622778460383415, 0.006144876591861248, -0.030287042260169983, 0.019225379452109337, 0.04011177644133568, 0.049229696393013, 0.013941934332251549, 0.062164418399333954, 0.009162095375359058, -0.01924305036664009, -0.06092749163508415, -0.014056792482733727, 0.03901621326804161, -0.01505516842007637, -0.0816371813416481, -0.013429493643343449, -0.006480614189058542, 0.012404611334204674, 0.022300027310848236, -0.06654667109251022, -0.004322618246078491, -0.02350161410868168, 0.01949043571949005, -0.017016582190990448, 0.035252418369054794, 0.04693254455924034, -0.008844028227031231, -0.005968173034489155, 0.04813413321971893, 0.007090242579579353, -0.024579506367444992, -0.001573768793605268, 0.04795742779970169, -0.05788818374276161, -0.01657482236623764, -0.02657626010477543, -0.06665269285440445, 0.056757278740406036, 0.02005588822066784, 0.024703199043869972, 0.0014942520065233111, 0.04315108433365822, -0.0018333025509491563, -0.0038057593628764153, 0.009223941713571548, 0.011362058110535145, 0.03014567866921425, -0.03876882791519165, -0.06817235052585602, -0.021769914776086807, -0.038450758904218674, 0.05258706957101822, -0.017626209184527397, -0.041737452149391174, -0.0207096915692091, -0.04088927432894707, 0.03389180079102516, 0.0012678501661866903, -0.013173272833228111, 0.06460293382406235, -0.05859500169754028, 0.009762887842953205, 0.012625491246581078, -0.07732561230659485, -0.07513447850942612, -0.01677803136408329, -0.016521811485290527, -0.05788818374276161, 0.0426563136279583, -0.006109536159783602, 0.028201935812830925, -0.07329676300287247, -0.03929893672466278, 0.03823871538043022, -0.047321293503046036, -0.01603587530553341, 0.013756395317614079, 0.022953830659389496, 0.008742423728108406, 0.014825453981757164, 0.007638024166226387, -0.013438328169286251, 0.03143561631441116, 0.059301815927028656, 0.014215825125575066, -0.006343668792396784, -0.015496928244829178, -0.040465183556079865, 0.04686186462640762, 0.03143561631441116, -0.011839158833026886, 0.0024716451298445463, 0.012422281317412853, 0.03975836932659149, 0.051915593445301056, -0.0148696294054389, 0.02473854087293148, 0.04343380779027939, -0.005477819591760635, -0.05774682015180588, -0.023802010342478752, 0.04396392032504082, -0.01964946836233139, 0.06407281756401062, 0.03422753885388374, 0.023731328547000885, -0.011256036348640919, 0.14171649515628815, -0.035305432975292206, -0.03412151709198952, 0.0471799299120903, 0.009232776239514351, -0.06205839663743973, -0.013888923451304436, -0.022494401782751083, 0.027106372639536858, 0.023855021223425865, 0.0352877601981163, 0.031930387020111084, 0.02616984210908413, -0.0467558428645134, 0.014763607643544674, 0.04156074672937393, 0.018942654132843018, 0.02986295148730278, 0.006268569268286228, 0.07965809851884842, 0.006356921512633562, 0.0009657970513217151, -0.0705755203962326, 0.0042497278191149235, 0.02415541745722294, -0.008768929168581963, -0.0012766853906214237, 0.07163574546575546, -0.015205367468297482, 0.024879902601242065, 0.007925167679786682, 0.0964096263051033, -0.010717089287936687, 0.024137746542692184, 0.07456903159618378, -0.0009376348461955786, -0.013491339981555939, -0.03479298949241638, 0.022759458050131798, -0.012272083200514317, 0.02641722746193409, -0.013897758908569813, -0.009568514302372932, 0.05460149422287941, 0.0036599787417799234, -0.0422675646841526, -0.028025232255458832, 0.03647167608141899, 0.017696890980005264, -0.010248824022710323, 0.010178142227232456, -0.0059151616878807545, -0.08361626416444778, -0.044776756316423416, -0.0034899013116955757, 0.031612321734428406, -0.0089235445484519, -0.04626107215881348, -0.07244858145713806, 0.025533707812428474, 0.034563273191452026, 0.0068914503790438175, -0.015982864424586296, -0.0056898645125329494, 0.02641722746193409, -0.04827549308538437, -0.003929452039301395, -0.005027224775403738, -0.037637922912836075, -0.013588527217507362, 0.02424377016723156, -0.021398836746811867, -0.04385789856314659, 0.03237214684486389, -0.0026328875683248043, -0.0005312159773893654, -0.004726828075945377, -0.009603855200111866, -0.048593562096357346, -0.06156362593173981, 0.03675440326333046, -0.02350161410868168, -0.01668967865407467, -0.02645256742835045, -0.020250262692570686, 0.013650373555719852, 0.03625963255763054, 0.054778195917606354, 0.005645688157528639, -0.02039162628352642, -0.025339333340525627, 0.03597690537571907, 0.02477388083934784, -0.03880416601896286, 0.026346545666456223, 0.05336456745862961, -0.0004994645132683218, 0.012333929538726807, -0.004784257151186466, -0.04767470061779022, 0.002248556585982442, -0.029650907963514328, -0.0068384394980967045, 0.056015122681856155, 0.017696890980005264, -0.05788818374276161, 0.05212763696908951, 0.030870163813233376, 0.012501797638833523, -0.0023148206528276205, 0.04816947132349014, -0.007739629130810499, 0.0009287996799685061, -0.0025798764545470476, 0.03288458660244942, 0.017626209184527397, 0.04067722707986832, -0.05135014280676842, 0.05636852979660034, -0.0007211726042442024, 0.022406049072742462, -0.023165876045823097, -0.009400645270943642, 0.025622060522437096, 0.017652716487646103, 0.01980850286781788, 0.02777784690260887, -0.03795598819851875, -0.01257247943431139, -0.002624052343890071, 0.034563273191452026, -0.0010050032287836075, 0.06262385100126266, -0.022883150726556778, -0.022087981924414635, 0.05530830845236778, -0.006727999541908503, 0.018801290541887283, -0.0011772895231842995, -0.04664981737732887, -0.006414350122213364, 0.019048675894737244, 0.014153978787362576, 0.029385851696133614, 0.0426563136279583, 0.042762335389852524, -0.06492099910974503, -0.014092132449150085, -0.010284164920449257, -0.024190759286284447, 0.007191847078502178, -0.0262581929564476, -0.0027919209096580744, -0.011980521492660046, -0.0011839158833026886, -0.01927839033305645, 0.038874849677085876, 0.030375393107533455, -0.04414062574505806, 0.018394872546195984, -0.01771456189453602, -0.04498880356550217, -0.05233968421816826, -0.034810662269592285, 0.015267213806509972, 0.08043559640645981, -0.04611970856785774, -0.012086544185876846, -0.021434178575873375, 0.013137931935489178, -0.011962851509451866, -0.02753046154975891, 0.024667859077453613, 0.007735211402177811, -0.02970391884446144, -0.0020630175713449717, 0.0017118186224251986, 0.01592101715505123, 0.022247016429901123, -0.014083297923207283, 0.010743594728410244, -0.0033662086352705956, -0.05838295444846153, 0.03961700573563576, -0.04831083491444588, -0.019349072128534317, 0.05354126915335655, 0.06841973215341568, -0.03806200996041298, -0.03175368532538414, 0.028113584965467453, -0.04968912526965141, -0.04406994208693504, 0.018112145364284515, -0.04901764914393425, -0.011256036348640919, -0.020868726074695587, 0.007805893197655678, 0.0023832933511584997, -0.015364401042461395, 0.030905505642294884, -0.00662639457732439, 0.04414062574505806, 0.04947708174586296, 0.006489449180662632, -0.020232591778039932, -0.009877745993435383, -0.032831575721502304, 0.028378639370203018, -0.0504666231572628, -0.06474429368972778, 0.04947708174586296, 0.00002745467281783931, 0.08396967500448227, -0.006895868107676506, 0.032107092440128326, -0.004930037539452314, 0.019826173782348633, -0.05541433021426201, -0.0102576594799757, -0.008724752813577652, -0.003209383925423026, -0.028537673875689507, 0.007015143055468798, 0.027230065315961838, 0.0036113851238042116, 0.08877602219581604, -0.05159752815961838, 0.057782161980867386, -0.0215402003377676, -0.05304649844765663, 0.029597897082567215, -0.059831928461790085, -0.030675789341330528, 0.012987733818590641, 0.007191847078502178, -0.012925887480378151, -0.0504666231572628, 0.04495346173644066, 0.017741067335009575, 0.019066346809267998, -0.034757647663354874, -0.05354126915335655, -0.040712568908929825, 0.06566315144300461, -0.0018355112988501787, -0.047321293503046036, -0.07213051617145538, 0.0012015862157568336, 0.05944317951798439, 0.007275781594216824, -0.020568329840898514, -0.054000698029994965, -0.01410980336368084, -0.022794798016548157, 0.08135445415973663, 0.01903100498020649, -0.07718424499034882, 0.026063818484544754, 0.028025232255458832, -0.07061086595058441, -0.010787771083414555, 0.01751135289669037, 0.05135014280676842, -0.03519940748810768, -0.04177279397845268, -0.03154163807630539, 0.05764079838991165, -0.06760689616203308, 0.025445355102419853, -0.040465183556079865, -0.0013484713854268193, 0.010619902051985264, -0.038132693618535995, 0.003293318208307028, -0.0014898343943059444, -0.07336743921041489, -0.008826358243823051, -0.028979433700442314, 0.03746121749281883, 0.006727999541908503, -0.025851774960756302, -0.02005588822066784, 0.013721054419875145, 0.0008868324803188443, -0.0011750806588679552, -0.0430804006755352, -0.028891080990433693, 0.047391973435878754, 0.021999631077051163, 0.02343093231320381, 0.03514639660716057, -0.0014555980451405048, 0.02821960672736168, 0.02374899946153164, -0.00036307121627032757, 0.001431301236152649, -0.0021127155050635338, 0.005217181518673897, 0.03270788490772247, -0.012890546582639217, 0.00006150122499093413, 0.04262097179889679, -0.017246296629309654, 0.02657626010477543, 0.050926052033901215, 0.014065627008676529, 0.03145328536629677, 0.04721527174115181, 0.022777127102017403, 0.0319833979010582, 0.0032469334546476603, 0.017688056454062462, -0.010063285008072853, 0.040217798203229904, 0.02083338424563408, 0.050890710204839706, 0.001825571758672595, -0.013482504524290562, -0.0046163881197571754, -0.0664759948849678, -0.011644784361124039, -0.007903080433607101, -0.06297725439071655, 0.018553905189037323, -0.03309663385152817, 0.01578848995268345, 0.04520084708929062, 0.004660564474761486, 0.0365070179104805, -0.0033971318043768406, -0.023978713899850845, 0.05633319169282913, 0.0319833979010582, 0.03961700573563576, -0.04131336137652397, 0.002144742989912629, 0.040712568908929825, -0.022123323753476143, -0.005681029055267572, 0.05403603985905647, 0.0032778566237539053, -0.03678974509239197, -0.08580739796161652, -0.005265775136649609, 0.023112865164875984, 0.051950935274362564, -0.04587232321500778, 0.044494032859802246, -0.04672050103545189, -0.026311203837394714, 0.024314451962709427, -0.03408617526292801, 0.01616840250790119, -0.024826891720294952, -0.01632743701338768, 0.030463745817542076, -0.02424377016723156, -0.04615504667162895, 0.025321662425994873, 0.057287391275167465, -0.005256939679384232, 0.004801927600055933, 0.007523166947066784, -0.0010734759271144867, 0.009480162523686886, -0.022635765373706818, -0.006882615387439728, 0.019985206425189972, 0.0319833979010582, 0.026311203837394714, 0.03578253090381622, 0.059301815927028656, -0.003816803451627493, -0.00877776462584734, 0.07167108356952667, -0.026876656338572502, 0.016548316925764084, -0.006781010422855616, 0.04053586721420288, -0.014366024173796177, -0.024932915344834328, -0.017776409164071083, -0.011865664273500443, 0.05852431803941727, 0.015320224687457085, -0.07421562075614929, -0.04205551743507385, -0.09280486404895782, 0.016645504161715508, -0.022883150726556778, 0.05357661098241806, -0.010160472244024277, -0.08884669840335846, 0.04088927432894707, 0.04954776167869568, -0.0031607903074473143, 0.022123323753476143, -0.013553186319768429, 0.048593562096357346, 0.0015351148322224617, -0.013977275229990482, -0.009771723300218582, -0.016141897067427635, -0.04566027596592903, -0.02449115552008152, 0.018394872546195984, -0.030817152932286263, -0.024173088371753693, -0.03145328536629677, 0.00023302821500692517, -0.0066661532036960125, -0.010823111049830914, -0.01429534237831831, 0.05484887957572937, -0.004479442723095417, -0.01193634606897831, 0.008910291828215122, 0.01710493303835392, -0.008362510241568089, 0.0205153189599514, -0.04202017933130264, 0.041490066796541214, -0.011459245346486568, -0.03498736396431923, -0.0051420824602246284, 0.00824323482811451, -0.024685529991984367, -0.046826522797346115, 0.05562637373805046, -0.05385933816432953, -0.02350161410868168, -0.06269452720880508, 0.098459392786026, -0.02555137872695923, -0.011794982478022575, 0.022247016429901123, -0.03035772405564785, 0.03802667185664177, -0.06654667109251022, -0.009064908139407635, -0.053258541971445084, 0.004070815164595842, -0.001542845624499023, -0.027336087077856064, 0.028201935812830925, -0.028449321165680885, -0.01468409039080143, -0.011635948903858662, -0.008075366728007793, 0.01706959307193756, 0.05993795022368431, -0.06227044016122818, -0.0705755203962326, 0.01623908430337906, 0.007850068621337414, -0.011300211772322655, -0.02772483602166176, 0.0014478672528639436, 0.028078243136405945, 0.01809447444975376, 0.023077523335814476, -0.019596457481384277, -0.009241611696779728, -0.04848754033446312, 0.004424222745001316, 0.01874827966094017, 0.015744313597679138, 0.0639667958021164, 0.02005588822066784, -0.042762335389852524, -0.037637922912836075, -0.0340508334338665, 0.03337935730814934, 0.008309499360620975, 0.03514639660716057, 0.03422753885388374, 0.03654235973954201, 0.0533292256295681, -0.049123674631118774, 0.01812981627881527, 0.010080954991281033, 0.029103126376867294, 0.004119408782571554, 0.026682283729314804, 0.06916189193725586, -0.10602231323719025, -0.029774600639939308, -0.012722677551209927, 0.000958618416916579, 0.04650845751166344, -0.006074195262044668, -0.048593562096357346, -0.005124412011355162, 0.05481353774666786, 0.023802010342478752, 0.03581787273287773, 0.03511105850338936, -0.008397851139307022, -0.05131480097770691, -0.049653783440589905, 0.01474593672901392, 0.008194641210138798, -0.02961556613445282, 0.008711500093340874, -0.09202737361192703, -0.009559678845107555, -0.011591773480176926, -0.0005737353349104524, -0.03170067071914673, -0.06269452720880508, 0.0816371813416481, -0.0032977357041090727, -0.05378865450620651, 0.0034501429181545973, -0.07068154215812683, 0.050148554146289825, -0.014834289439022541, 0.01751135289669037, 0.057040005922317505, 0.018571576103568077, -0.016839878633618355, 0.04788674786686897, -0.017608540132641792, 0.03756723925471306, 0.01686638407409191, 0.062164418399333954, 0.02058599889278412, 0.026187511160969734, -0.020373955368995667, 0.031082209199666977, 0.0016588075086474419, -0.02784852869808674, -0.027954550459980965, -0.024137746542692184, -0.012024697847664356, 0.03606525808572769, -0.038874849677085876, 0.06181101128458977, -0.06781893968582153, 0.03548213467001915, -0.018642257899045944, 0.03237214684486389, -0.0775376558303833, -0.011291376315057278, 0.03035772405564785, -0.02033861353993416, 0.032796237617731094, 0.021151451393961906, 0.04463539645075798, 0.014692925848066807, 0.08361626416444778, -0.04569561779499054, 0.04824015498161316, -0.016751525923609734, 0.016274426132440567, -0.051420822739601135, -0.04435266926884651, 0.012590150348842144, -0.03184203431010246, -0.0018366157310083508, -0.028254946693778038, -0.009771723300218582, -0.03224845603108406, -0.0023081940598785877 ]
41,999
torch.fx.interpreter
get_attr
Execute a ``get_attr`` node. Will retrieve an attribute value from the ``Module`` hierarchy of ``self.module``. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Return: Any: The value of the attribute that was retrieved .. note:: Backwards-compatibility for this API is guaranteed.
@compatibility(is_backward_compatible=True) def get_attr(self, target : 'Target', args : Tuple[Argument, ...], kwargs : Dict[str, Any]) -> Any: """ Execute a ``get_attr`` node. Will retrieve an attribute value from the ``Module`` hierarchy of ``self.module``. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Return: Any: The value of the attribute that was retrieved """ assert isinstance(target, str) return self.fetch_attr(target)
(self, target: Union[Callable[..., Any], str], args: Tuple[Union[Tuple[Any, ...], List[Any], Dict[str, Any], slice, range, torch.fx.node.Node, str, int, float, bool, complex, torch.dtype, torch.Tensor, torch.device, torch.memory_format, torch.layout, torch._ops.OpOverload, NoneType], ...], kwargs: Dict[str, Any]) -> Any
[ 0.033200494945049286, -0.009911376051604748, 0.03020443767309189, 0.01546801719814539, 0.04494085907936096, 0.007568528410047293, 0.0265812985599041, 0.009650091640651226, 0.017183782532811165, -0.03870487958192825, 0.028358031064271927, -0.004171835724264383, 0.07685235142707825, 0.012350027449429035, 0.007668687496334314, 0.02386394515633583, -0.010137821547687054, 0.0516645684838295, 0.010303301736712456, 0.045846644788980484, 0.019718237221240997, 0.012968399561941624, -0.0051690698601305485, -0.03661460801959038, -0.005081975366920233, 0.020275643095374107, 0.03217277675867081, 0.01263743918389082, 0.051978111267089844, -0.02609356865286827, -0.046020835638046265, -0.06267333775758743, 0.014649326913058758, 0.05114200338721275, -0.022696876898407936, 0.03518625348806381, -0.032555993646383286, 0.0037189433351159096, -0.08716436475515366, -0.06337009370326996, -0.014370623975992203, -0.04856399819254875, 0.0611056350171566, -0.003292179200798273, -0.006523392163217068, -0.04511504992842674, 0.008130289614200592, -0.01719249226152897, -0.08793079853057861, -0.04274607449769974, 0.09016042202711105, 0.029577355831861496, 0.05340646207332611, 0.009832990355789661, -0.023933621123433113, 0.056890252977609634, -0.03203342854976654, 0.024125229567289352, -0.011348438449203968, 0.07608591765165329, 0.04253704473376274, 0.006379685830324888, 0.019369859248399734, -0.024456188082695007, -0.037764258682727814, -0.05699476599693298, -0.046682752668857574, 0.004339492879807949, -0.026598718017339706, 0.028270935639739037, -0.03419337421655655, 0.0278703011572361, 0.054939329624176025, 0.025048432871699333, 0.025396810844540596, -0.060687579214572906, -0.04469699412584305, 0.012933561578392982, 0.012236803770065308, -0.0086833406239748, -0.05347613990306854, 0.01584252342581749, -0.011583593674004078, -0.01970081962645054, -0.06082693114876747, -0.08375025540590286, -0.054660625755786896, -0.04271123558282852, -0.0035033838357776403, -0.0315108597278595, -0.1024930328130722, 0.06594809889793396, -0.0570296011865139, 0.05361549183726311, 0.021616902202367783, -0.027818044647574425, 0.04292026162147522, 0.026633556932210922, 0.009441064670681953, 0.03549979627132416, 0.02006661705672741, 0.04285058751702309, 0.04048161208629608, 0.038600366562604904, 0.033757902681827545, -0.03630106523633003, -0.07141764461994171, -0.004642147105187178, 0.04274607449769974, -0.006880480330437422, -0.05500900745391846, 0.007159183733165264, 0.006340493448078632, 0.011444242671132088, 0.017889250069856644, -0.07894262671470642, -0.013116460293531418, -0.023985877633094788, -0.02583228424191475, -0.004777143709361553, 0.026807745918631554, 0.02414264716207981, 0.016478314995765686, -0.04386088624596596, -0.0004420055483933538, 0.033670805394649506, -0.026128407567739487, -0.02332395873963833, 0.04884270206093788, -0.03574366122484207, -0.026232920587062836, -0.028810923919081688, -0.04298993945121765, 0.08291414380073547, 0.03455917164683342, -0.004772788845002651, 0.06434555351734161, 0.055496737360954285, 0.006845642812550068, 0.02879350446164608, 0.01458836067467928, 0.004916495177894831, 0.05291873216629028, -0.03975001722574234, -0.049748487770557404, -0.0221917275339365, -0.0067803217098116875, 0.03929712250828743, 0.015346084721386433, -0.033688224852085114, 0.006122756749391556, -0.022783970460295677, 0.017549579963088036, -0.0167221799492836, 0.011400694958865643, 0.04905172809958458, -0.0636836364865303, -0.0030722650699317455, 0.011740364134311676, -0.04772789031267166, -0.08054517209529877, 0.006053080782294273, -0.021947862580418587, -0.06748096644878387, 0.04849432408809662, -0.0020216854754835367, 0.02367233671247959, -0.00975460559129715, -0.01546801719814539, 0.06169787794351578, -0.046856943517923355, -0.02248784899711609, 0.029943155124783516, 0.029403166845440865, -0.007394338957965374, 0.011818749830126762, 0.0013303713640198112, -0.0003508283116389066, 0.025292297825217247, 0.0801967903971672, 0.004977461416274309, -0.03196375072002411, -0.03187665715813637, -0.041282884776592255, 0.06169787794351578, 0.03870487958192825, 0.0048816571943461895, 0.018638264387845993, -0.01837697997689247, 0.03448949754238129, 0.05434708669781685, -0.007202730979770422, 0.008687695488333702, -0.0046856943517923355, -0.032085683196783066, -0.048250459134578705, -0.025013595819473267, 0.008273995481431484, 0.02043241448700428, 0.059572767466306686, 0.058562468737363815, 0.00965880136936903, -0.00809545163065195, 0.11552239954471588, -0.04375637322664261, -0.044731833040714264, 0.061454012989997864, 0.06922286003828049, -0.06333525478839874, -0.023532984778285027, -0.02017113007605076, 0.011714235879480839, 0.020449833944439888, 0.03630106523633003, 0.03647525608539581, 0.001290090149268508, -0.058109577745199203, 0.008043194189667702, 0.01625186949968338, 0.03485529497265816, 0.043233804404735565, -0.006675807759165764, 0.053545814007520676, 0.01273324340581894, -0.002730418462306261, -0.05302324891090393, 0.0236897561699152, 0.03205084428191185, -0.02785288169980049, -0.017854411154985428, 0.04661307856440544, -0.00485117407515645, 0.02729547582566738, 0.04163126274943352, 0.016051551327109337, 0.006540811154991388, 0.03475078195333481, 0.06427588313817978, -0.017697641626000404, -0.02609356865286827, -0.022871065884828568, 0.03466368839144707, 0.020449833944439888, 0.03278244286775589, 0.007747072726488113, -0.008435120806097984, 0.06371847540140152, 0.041805449873209, -0.04163126274943352, -0.021582063287496567, 0.02051950804889202, 0.017636675387620926, -0.026529042050242424, 0.024682635441422462, -0.03502948582172394, -0.04940010979771614, -0.030152181163430214, -0.030866358429193497, 0.006427587941288948, -0.022783970460295677, -0.04619502276182175, -0.06807321310043335, 0.009249456226825714, 0.03316565975546837, 0.024090390652418137, -0.009650091640651226, 0.016156064346432686, 0.008927205577492714, -0.05434708669781685, 0.007612076122313738, 0.019927265122532845, -0.04135255888104439, -0.010878127068281174, 0.013621609658002853, -0.012001648545265198, -0.08514376729726791, 0.018255047500133514, -0.014971577562391758, -0.017610546201467514, 0.004463602788746357, 0.01745377667248249, -0.03436756506562233, -0.06887447834014893, 0.00037151327705942094, -0.03187665715813637, -0.02051950804889202, 0.00221873726695776, 0.0027195317670702934, 0.006074854638427496, 0.024839404970407486, 0.05518319457769394, 0.005678573623299599, -0.04420926421880722, -0.028567058965563774, 0.04650856554508209, -0.011574883945286274, -0.054103221744298935, 0.02896769344806671, 0.036092039197683334, -0.016460895538330078, 0.02834061160683632, -0.03532560542225838, -0.0784548968076706, -0.023550404235720634, -0.02853222005069256, 0.020467251539230347, 0.043094452470541, 0.03936680033802986, -0.05570576339960098, 0.01931760273873806, 0.030396046116948128, -0.012707115150988102, 0.004021597094833851, 0.04654340073466301, -0.019927265122532845, -0.0009166715899482369, 0.0036166070494800806, 0.03231212869286537, 0.018464073538780212, 0.05776119977235794, -0.06312622874975204, 0.045742131769657135, -0.0016221385449171066, 0.062290120869874954, -0.004916495177894831, -0.02470005489885807, -0.001123521476984024, 0.021512389183044434, 0.016025422140955925, 0.03374048322439194, -0.042118992656469345, 0.0433034785091877, 0.022313660010695457, 0.022923322394490242, -0.05218713730573654, 0.048982053995132446, -0.0012606956297531724, 0.01996210217475891, 0.041561584919691086, 0.003732007462531328, 0.014701583422720432, 0.008282705210149288, -0.0488775409758091, 0.0013978697825223207, 0.04999235272407532, 0.020449833944439888, 0.0448015071451664, 0.049191080033779144, 0.09838216006755829, -0.03678879886865616, -0.0022045844234526157, -0.04257188364863396, -0.021756254136562347, 0.013342906720936298, -0.01783699169754982, -0.011609721928834915, -0.021756254136562347, -0.013760960660874844, -0.0188647098839283, 0.03239922598004341, 0.002399458782747388, -0.052883896976709366, 0.0038735363632440567, 0.015981875360012054, -0.0360223650932312, -0.03981969133019447, -0.029507681727409363, 0.007167892996221781, 0.07211440056562424, -0.0003486509376671165, 0.012707115150988102, -0.024473607540130615, 0.0030744425021111965, 0.014370623975992203, -0.03131924942135811, 0.008321898058056831, -0.02591937966644764, -0.034977227449417114, 0.016817985102534294, 0.0016166951972991228, 0.007498852908611298, 0.005774377845227718, -0.0118448780849576, 0.006257753353565931, 0.0019912023562937975, -0.04504537209868431, 0.011609721928834915, -0.041561584919691086, -0.030866358429193497, 0.01760183647274971, 0.043617021292448044, -0.026807745918631554, -0.02051950804889202, -0.016966044902801514, -0.03471594303846359, -0.04772789031267166, 0.019004061818122864, -0.02210463210940361, -0.0018953981343656778, -0.031040547415614128, -0.014048373326659203, 0.00919719971716404, -0.0265812985599041, 0.03231212869286537, -0.02433425560593605, 0.049469783902168274, 0.04671759158372879, 0.024369094520807266, 0.00007892955909483135, 0.009693639352917671, -0.027696112170815468, 0.04086482897400856, -0.07552851736545563, -0.04389572516083717, 0.022592362016439438, 0.02443877048790455, 0.0784548968076706, -0.0007778644212521613, 0.0030265403911471367, 0.00020589728956110775, 0.005321485456079245, -0.011278762482106686, 0.0054434179328382015, -0.02814900316298008, 0.02497875690460205, -0.017479903995990753, -0.002223091898486018, 0.04999235272407532, 0.027243219316005707, 0.08800047636032104, -0.047797564417123795, 0.026441948488354683, -0.014971577562391758, -0.028863180428743362, 0.03657976910471916, -0.026441948488354683, -0.031145060434937477, 0.011165538802742958, 0.018464073538780212, 0.006523392163217068, -0.04978332296013832, -0.002932913601398468, 0.022540105506777763, 0.017627965658903122, -0.0653906911611557, -0.06908350437879562, -0.015816396102309227, 0.03724168986082077, 0.025152945891022682, -0.057168953120708466, -0.019352439790964127, 0.04790208116173744, 0.06382299214601517, 0.005321485456079245, 0.011635850183665752, -0.07497110962867737, -0.057168953120708466, -0.03063991107046604, 0.08054517209529877, 0.0012236804468557239, -0.05138586834073067, 0.036928147077560425, -0.012315189465880394, -0.08674631267786026, -0.029211558401584625, 0.016626376658678055, 0.05072394758462906, -0.035883013159036636, -0.06737644970417023, -0.039993882179260254, 0.055392224341630936, -0.06288236379623413, -0.02266203798353672, -0.0475885383784771, 0.01674830913543701, 0.014553522691130638, -0.03797328472137451, 0.0024626024533063173, -0.014692874625325203, -0.07099959254264832, -0.0019552758894860744, -0.011017478071153164, 0.04400023818016052, 0.01760183647274971, -0.039889369159936905, 0.002108780201524496, 0.0142051437869668, 0.055601250380277634, 0.018411817029118538, -0.029925735667347908, -0.035517215728759766, 0.06183722987771034, 0.03455917164683342, 0.002878479426726699, -0.0031985524110496044, -0.027417408302426338, 0.023567823693156242, 0.009597835130989552, -0.004798917565494776, 0.04514988884329796, -0.027521921321749687, -0.0027674338780343533, 0.03391467407345772, 0.023097511380910873, -0.004611663985997438, 0.01663508638739586, -0.01792408712208271, 0.022714294493198395, 0.020554346963763237, 0.008430765941739082, 0.02638969011604786, 0.04177061468362808, -0.0039214384742081165, 0.014222563244402409, 0.0033357266802340746, -0.011757783591747284, -0.014779969118535519, 0.04842464625835419, -0.0016101631335914135, 0.019178250804543495, 0.010860707610845566, 0.03156311437487602, -0.028584476560354233, -0.041666097939014435, -0.020362738519906998, 0.004781498573720455, -0.0488775409758091, 0.00010083932284032926, -0.035917848348617554, 0.02868899144232273, 0.025518743321299553, -0.008273995481431484, 0.017627965658903122, -0.001052212668582797, -0.03657976910471916, 0.028584476560354233, -0.02870640903711319, 0.0486685112118721, -0.04292026162147522, -0.019004061818122864, 0.055113520473241806, -0.03539528325200081, -0.03595268726348877, 0.04532407596707344, 0.005404225550591946, -0.05089813843369484, -0.05476514250040054, 0.02341105230152607, 0.030117344111204147, 0.05946825444698334, -0.07239310443401337, 0.007572883274406195, -0.049365270882844925, -0.00001828648237278685, 0.024682635441422462, 0.029681870713829994, 0.009981051087379456, -0.029281234368681908, -0.03361855074763298, 0.028828341513872147, -0.008535279892385006, -0.07664332538843155, 0.04804142937064171, 0.0707557275891304, -0.033217914402484894, 0.012933561578392982, 0.019474372267723083, 0.01351709570735693, -0.0005535956006497145, -0.06873513013124466, -0.02692967839539051, 0.017906667664647102, -0.009188489988446236, 0.02834061160683632, 0.020136293023824692, 0.05013170465826988, 0.013490967452526093, -0.015764139592647552, 0.057830873876810074, -0.018342141062021255, 0.013760960660874844, -0.002697757910937071, 0.03818231076002121, 0.0057613137178123, -0.041561584919691086, 0.012088743038475513, 0.003037427319213748, 0.05476514250040054, 0.00501229939982295, -0.05727346986532211, -0.023654917255043983, -0.07089507579803467, -0.021477550268173218, -0.020275643095374107, 0.06403201818466187, -0.04197964072227478, -0.06469393521547318, 0.01867310144007206, 0.04096934199333191, -0.005134231876581907, 0.0003720576351042837, -0.004219737835228443, 0.056716062128543854, -0.0016733066877350211, -0.060513392090797424, 0.00299388007260859, -0.01867310144007206, -0.04988783970475197, -0.026999354362487793, -0.0024691345170140266, -0.043512508273124695, -0.04514988884329796, -0.04124804586172104, 0.009737186133861542, 0.0014697229489684105, -0.017331844195723534, -0.01309033203870058, 0.056716062128543854, 0.013673866167664528, -0.007446595933288336, -0.013142588548362255, 0.011113282293081284, -0.00652774702757597, 0.01025975402444601, -0.0007751427474431694, 0.01463190745562315, -0.008953333832323551, -0.049191080033779144, -0.010399105958640575, 0.009676219895482063, -0.01734055206179619, -0.03689331188797951, 0.06664485484361649, -0.029977992177009583, -0.029507681727409363, -0.07308986037969589, 0.09050880372524261, 0.012463250197470188, -0.03448949754238129, -0.017976343631744385, -0.022609781473875046, 0.062081094831228256, -0.04929559305310249, -0.017758607864379883, -0.016582829877734184, 0.010904255323112011, -0.02118142880499363, -0.013943860307335854, 0.02682516537606716, -0.03567398339509964, -0.007185311987996101, -0.01240228395909071, -0.036370743066072464, 0.04469699412584305, 0.052709706127643585, -0.056332845240831375, -0.01537221297621727, 0.03657976910471916, 0.001468634232878685, -0.02628517709672451, -0.0405164510011673, 0.018690520897507668, 0.02229624055325985, 0.004215382970869541, 0.017941506579518318, -0.05173424631357193, -0.03316565975546837, -0.05093297362327576, 0.015581239946186543, 0.008591891266405582, 0.018150532618165016, 0.05236132815480232, -0.020101454108953476, -0.026302596554160118, -0.019456952810287476, -0.007111281622201204, 0.05138586834073067, -0.032259874045848846, 0.0215472262352705, 0.03184181824326515, 0.037485554814338684, 0.03401918709278107, -0.04832013323903084, 0.05267486721277237, 0.007960454560816288, 0.012550344690680504, 0.004859883803874254, 0.021129172295331955, 0.038217149674892426, -0.09859118610620499, -0.04730983451008797, -0.025135528296232224, 0.0019912023562937975, 0.04633437469601631, 0.03178956359624863, -0.08242641389369965, -0.03438498452305794, 0.04821562021970749, 0.0209027249366045, 0.017314424738287926, -0.0003481065796222538, -0.03137150779366493, -0.049365270882844925, -0.035987526178359985, 0.028027070686221123, -0.001430530333891511, -0.012341317720711231, -0.0002547519688960165, -0.035708822309970856, -0.02146013081073761, 0.01230647973716259, 0.01439675223082304, -0.012036486528813839, -0.019213087856769562, 0.04560277983546257, 0.004097805358469486, -0.052431002259254456, 0.022034956142306328, -0.0810329020023346, 0.048912376165390015, -0.026877421885728836, 0.02750450372695923, 0.05173424631357193, -0.004925204906612635, 0.008892367593944073, 0.02665097452700138, -0.008813982829451561, 0.016948627308011055, -0.00068804802140221, 0.027643853798508644, 0.04901689291000366, -0.002477844012901187, 0.025588419288396835, -0.016539281234145164, 0.01347354892641306, -0.0272257998585701, -0.01865568198263645, -0.03668428212404251, -0.016365092247724533, 0.04678726568818092, -0.035883013159036636, 0.0859798789024353, -0.03466368839144707, 0.029943155124783516, 0.052883896976709366, 0.03485529497265816, -0.06727194041013718, 0.004576826002448797, 0.05737798288464546, -0.06103595718741417, 0.03483787551522255, 0.050201378762722015, 0.04420926421880722, 0.030030248686671257, 0.10771871358156204, -0.04650856554508209, 0.04187512770295143, -0.030692169442772865, 0.01322968304157257, -0.0512465164065361, -0.042118992656469345, 0.007712234742939472, -0.021425293758511543, -0.00015364047430921346, -0.0004254031227901578, 0.0010908610420301557, -0.00796480942517519, 0.027452245354652405 ]
42,000
torch.fx.interpreter
map_nodes_to_values
Recursively descend through ``args`` and look up the concrete value for each ``Node`` in the current execution environment. Args: args (Argument): Data structure within which to look up concrete values n (Node): Node to which ``args`` belongs. This is only used for error reporting. .. note:: Backwards-compatibility for this API is guaranteed.
@compatibility(is_backward_compatible=True) def map_nodes_to_values(self, args : Argument, n : Node) -> Argument: """ Recursively descend through ``args`` and look up the concrete value for each ``Node`` in the current execution environment. Args: args (Argument): Data structure within which to look up concrete values n (Node): Node to which ``args`` belongs. This is only used for error reporting. """ def load_arg(n_arg : Node) -> Any: if n_arg not in self.env: raise RuntimeError(f'Node {n} referenced nonexistent value {n_arg}! Run Graph.lint() ' f'to diagnose such issues') return self.env[n_arg] return map_arg(args, load_arg)
(self, args: Union[Tuple[Any, ...], List[Any], Dict[str, Any], slice, range, torch.fx.node.Node, str, int, float, bool, complex, torch.dtype, torch.Tensor, torch.device, torch.memory_format, torch.layout, torch._ops.OpOverload, NoneType], n: torch.fx.node.Node) -> Union[Tuple[Any, ...], List[Any], Dict[str, Any], slice, range, torch.fx.node.Node, str, int, float, bool, complex, torch.dtype, torch.Tensor, torch.device, torch.memory_format, torch.layout, torch._ops.OpOverload, NoneType]
[ 0.018972083926200867, -0.040251344442367554, -0.014180256985127926, 0.023355718702077866, -0.0351933054625988, 0.05927667021751404, -0.004596604034304619, 0.013754317536950111, 0.06421047449111938, -0.06236473470926285, 0.004530050791800022, 0.05771489068865776, 0.01187308132648468, 0.02417210303246975, -0.01150925736874342, -0.007613679859787226, -0.016061492264270782, 0.08682079613208771, 0.05345548689365387, 0.07624328881502151, -0.020232155919075012, -0.029762567952275276, 0.01679801382124424, -0.019699731841683388, -0.002344889333471656, -0.029549596831202507, 0.055372219532728195, -0.02576937898993492, 0.008274774998426437, 0.007649174891412258, -0.10527820885181427, -0.037376247346401215, -0.01712634414434433, -0.0007498321356251836, 0.047385841608047485, -0.042771488428115845, -0.06438795477151871, 0.05288756638765335, -0.12700115144252777, -0.07276477664709091, -0.02323148585855961, -0.05494627729058266, 0.0036382386460900307, 0.011385025456547737, -0.004605477675795555, -0.04195510223507881, 0.027721604332327843, -0.027153683826327324, -0.04021584987640381, -0.060696471482515335, 0.055514197796583176, -0.053136032074689865, 0.0598800852894783, 0.04820222780108452, -0.002039853949099779, 0.08533000946044922, -0.02042737975716591, 0.03281513974070549, 0.019273791462183, 0.02720692753791809, 0.033773504197597504, 0.03505132347345352, -0.04859267175197601, -0.01964648999273777, -0.02589361183345318, -0.004126294981688261, -0.021616462618112564, -0.03224721923470497, -0.04404931142926216, 0.036293648183345795, -0.03748273104429245, -0.056011129170656204, 0.049409057945013046, -0.004024247173219919, 0.09022831916809082, 0.013221891596913338, -0.04138718545436859, 0.06850537657737732, 0.01061300840228796, 0.027579624205827713, -0.04404931142926216, 0.00027841399423778057, -0.03302810713648796, -0.042416539043188095, -0.003518443088978529, -0.0033808997832238674, -0.021101783961057663, 0.009055664762854576, 0.01627446338534355, -0.02848474681377411, -0.08071565628051758, -0.0026998394168913364, -0.04323292523622513, 0.066908098757267, 0.025059478357434273, 0.02433183044195175, 0.0392574816942215, -0.05217766761779785, -0.035512760281562805, 0.004845069255679846, 0.05129029229283333, 0.039612434804439545, -0.040109362453222275, -0.014694934710860252, 0.01731269247829914, -0.036080680787563324, -0.019752973690629005, -0.02589361183345318, 0.04656945541501045, -0.005412989296019077, -0.13289332389831543, 0.02058710716664791, 0.020178914070129395, -0.019735226407647133, -0.05452033877372742, 0.017987096682190895, -0.07674021273851395, -0.04688891023397446, -0.0026332861743867397, 0.04720836505293846, 0.0009555922588333488, 0.07152245193719864, 0.02994004264473915, 0.04103223234415054, 0.014464217238128185, 0.047030892223119736, -0.011047822423279285, 0.019522257149219513, 0.005825618747621775, -0.0378376841545105, 0.0518227182328701, -0.05604662373661995, -0.010488775558769703, 0.06932175904512405, 0.04294896498322487, -0.017720885574817657, -0.026568016037344933, 0.03244243934750557, 0.004093018360435963, 0.006340296473354101, 0.03545951843261719, -0.03868956118822098, 0.052994053810834885, -0.055940140038728714, -0.025520913302898407, -0.04014485701918602, 0.030969398096203804, 0.05281657725572586, -0.06602071970701218, -0.03187451884150505, 0.013736569322645664, 0.021385744214057922, -0.021066289395093918, 0.003968785982578993, -0.028094301000237465, 0.028981676325201988, 0.01802259311079979, -0.06300364434719086, 0.0062205009162425995, -0.030703185126185417, -0.08092862367630005, -0.022326363250613213, -0.0059942202642560005, -0.06410399079322815, 0.0409967377781868, 0.02308950573205948, 0.0210130475461483, -0.02560965158045292, -0.014268994331359863, -0.0037136655300855637, -0.05160974711179733, -0.04454623907804489, -0.01812020316720009, 0.036293648183345795, 0.0038800484035164118, 0.016904499381780624, -0.0028817513957619667, -0.01122529711574316, 0.018972083926200867, 0.07574635744094849, -0.030774176120758057, -0.028360513970255852, -0.028236281126737595, -0.047882769256830215, 0.015520193614065647, 0.020249905064702034, -0.00638466514647007, 0.008177163079380989, 0.02115502767264843, -0.0031834589317440987, 0.04337490350008011, -0.01417138334363699, 0.05732444301247597, 0.06257770955562592, 0.0012645097449421883, -0.03545951843261719, -0.05771489068865776, 0.011198676191270351, -0.03022400289773941, 0.03015301190316677, 0.06254220753908157, -0.010630755685269833, 0.03595644608139992, 0.08092862367630005, -0.052071183919906616, 0.021829431876540184, 0.018226688727736473, 0.0031657114159315825, -0.013718822039663792, -0.01341711450368166, -0.03286838158965111, -0.037731196731328964, 0.015493572689592838, 0.006397976074367762, -0.03489159792661667, -0.03329432010650635, -0.007391836028546095, 0.018546143546700478, 0.0056925127282738686, 0.017729759216308594, 0.08085763454437256, -0.04561109095811844, 0.06953472644090652, -0.02944311313331127, 0.03015301190316677, -0.06293265521526337, 0.015262855216860771, -0.014952274039387703, 0.023657426238059998, 0.00670855725184083, 0.02308950573205948, -0.030969398096203804, 0.010675124824047089, -0.0031102504581212997, 0.06144186481833458, -0.028396010398864746, 0.047882769256830215, -0.030330488458275795, 0.01331062987446785, 0.0006239357753656805, -0.07166443020105362, -0.012476496398448944, -0.025733884423971176, 0.03469637408852577, 0.045646585524082184, 0.007946445606648922, 0.04639197885990143, -0.001100345398299396, -0.029372122138738632, -0.0034008659422397614, 0.012423254549503326, -0.03430593013763428, -0.004456842318177223, 0.02683422900736332, -0.033720262348651886, -0.04951554164290428, -0.003533972194418311, -0.009734506718814373, 0.04252302274107933, -0.009113344363868237, 0.020533865317702293, -0.02841375768184662, -0.009991846047341824, 0.00028562391526065767, 0.011748848482966423, -0.029105909168720245, -0.01621234603226185, 0.011846460402011871, -0.035725727677345276, -0.006894906051456928, 0.08362624794244766, -0.009929729625582695, 0.0033010360784828663, 0.05065138265490532, -0.02683422900736332, 0.00250017992220819, 0.005856676958501339, 0.040251344442367554, 0.03121786378324032, 0.023266980424523354, 0.020267652347683907, -0.01089696865528822, -0.08916346728801727, -0.0012234686873853207, -0.00854098703712225, -0.03797966241836548, 0.004667594097554684, -0.015475825406610966, 0.023976881057024002, -0.011198676191270351, 0.05210667848587036, 0.015750911086797714, -0.026603510603308678, -0.011385025456547737, 0.009628022089600563, 0.018759114667773247, -0.06190330162644386, 0.013958413153886795, 0.060057561844587326, 0.017685389146208763, 0.07752110809087753, -0.035512760281562805, -0.00780446594581008, -0.025733884423971176, 0.016221219673752785, 0.007937571965157986, 0.03971891850233078, 0.02899942547082901, -0.042132578790187836, 0.028396010398864746, -0.009557032026350498, -0.01936252973973751, -0.011127686128020287, -0.0034785112366080284, -0.0507933609187603, -0.03790867328643799, -0.029034920036792755, -0.044510744512081146, 0.02560965158045292, 0.030827417969703674, -0.04426227882504463, 0.018954336643218994, -0.0030037653632462025, 0.03412845358252525, -0.00892699509859085, 0.0718064084649086, 0.024793265387415886, 0.019823964685201645, 0.08178050816059113, -0.01701098494231701, -0.0009101142641156912, 0.01165123749524355, 0.0032322644256055355, 0.017436925321817398, -0.03199875354766846, 0.03829911723732948, 0.008381259627640247, 0.04642747715115547, 0.009938603267073631, -0.003582777688279748, 0.01355909463018179, 0.0334540493786335, -0.08639486134052277, 0.022255372256040573, 0.07745011895895004, 0.024296335875988007, 0.01733931340277195, 0.007440641988068819, 0.029815809801220894, -0.006340296473354101, -0.03616941720247269, 0.04532713070511818, -0.05043841153383255, 0.004765205550938845, 0.00439916318282485, 0.015395961701869965, 0.010373417288064957, -0.07532041519880295, -0.028520241379737854, -0.0030126392375677824, 0.05668553337454796, -0.06044800579547882, 0.030898407101631165, -0.01893658936023712, 0.04383634030818939, -0.042558521032333374, 0.004190629813820124, 0.04053530469536781, 0.07830199599266052, -0.005328688770532608, 0.03929297998547554, -0.034873850643634796, 0.023870395496487617, -0.010666251182556152, -0.03462538495659828, 0.027082694694399834, 0.0030037653632462025, -0.00019536122272256762, -0.049409057945013046, -0.003221172373741865, -0.0175966527312994, -0.008283648639917374, -0.0204983688890934, 0.0206580962985754, -0.019593246281147003, -0.019752973690629005, 0.045078665018081665, -0.010888095013797283, 0.03437691926956177, 0.02200690656900406, -0.02692296728491783, -0.009663516655564308, 0.009073412045836449, 0.0012412162031978369, -0.002276117680594325, -0.03741174191236496, 0.0571114756166935, -0.003132434794679284, -0.02944311313331127, -0.042700499296188354, -0.05583365261554718, -0.009060101583600044, 0.00577237643301487, 0.02770385704934597, -0.012281274423003197, -0.010373417288064957, 0.0169843640178442, 0.03659535571932793, 0.028147544711828232, 0.03455439582467079, -0.004747457802295685, -0.03357828035950661, -0.003287725383415818, -0.05196469649672508, -0.006251559127122164, -0.04309094324707985, 0.07063507288694382, 0.021847179159522057, 0.040038373321294785, -0.08873753249645233, -0.00012575772416312248, -0.03402196988463402, 0.004907185211777687, 0.05310053750872612, 0.04962202534079552, -0.03922198712825775, 0.01000071968883276, -0.014419849030673504, -0.009113344363868237, 0.07837298512458801, -0.006460092030465603, -0.05416538938879967, -0.003278851741924882, -0.06385552883148193, 0.02078232914209366, -0.003070318605750799, -0.01165123749524355, 0.024775518104434013, 0.03787317872047424, 0.04081926494836807, -0.054733309894800186, 0.05696949362754822, 0.06371354311704636, 0.007538252975791693, -0.02051611617207527, -0.03338306024670601, -0.04979950189590454, 0.028147544711828232, -0.039399463683366776, -0.05416538938879967, -0.06023503467440605, -0.010453280992805958, 0.05114831030368805, -0.04103223234415054, -0.021527724340558052, -0.014836914837360382, -0.11670760065317154, -0.008452249690890312, 0.06023503467440605, 0.053207021206617355, 0.0469244047999382, -0.007795591838657856, -0.0013576842611655593, -0.050828855484724045, -0.026301803067326546, 0.00010752493108157068, 0.0406062938272953, -0.03173254057765007, -0.02108403667807579, -0.0346786268055439, 0.03851208835840225, 0.012707213871181011, -0.00009345170838059857, -0.04319743067026138, 0.010559765622019768, -0.000937290140427649, -0.045717574656009674, -0.04245203360915184, -0.0469244047999382, -0.03741174191236496, -0.021545471623539925, -0.028910687193274498, 0.12252878397703171, 0.05001247301697731, -0.01696661487221718, -0.018794609233736992, 0.0353885255753994, -0.03936396911740303, -0.01696661487221718, 0.042132578790187836, -0.02647927962243557, -0.047243859618902206, 0.039399463683366776, -0.013204144313931465, -0.015866270288825035, -0.014552954584360123, 0.010533144697546959, -0.003966567572206259, -0.0034208318684250116, -0.014694934710860252, -0.03482060506939888, 0.0050181071273982525, -0.019841711968183517, 0.009663516655564308, 0.019380277022719383, 0.006606508977711201, -0.01870587095618248, 0.027899079024791718, 0.02035638876259327, 0.024580296128988266, 0.02353319339454174, 0.022131139412522316, 0.06208077445626259, -0.030987145379185677, 0.007005827967077494, 0.017800748348236084, -0.008141668513417244, 0.02021440863609314, -0.05345548689365387, -0.0018224470550194383, -0.011234171688556671, 0.007422894239425659, 0.06768898665904999, -0.0050402916967868805, 0.03116462007164955, -0.010985706001520157, -0.01028467994183302, -0.018741365522146225, 0.013692201115190983, 0.005399678833782673, -0.006043025758117437, -0.03473186865448952, -0.012822573073208332, 0.014872410334646702, 0.009814370423555374, 0.008474433794617653, 0.1071949377655983, 0.026514774188399315, -0.040038373321294785, 0.03915099799633026, 0.013851928524672985, 0.005084660369902849, -0.022787798196077347, 0.05604662373661995, 0.009432799182832241, -0.0364178828895092, -0.03501582890748978, 0.004627662245184183, 0.010089457035064697, -0.010985706001520157, -0.02525470033288002, -0.009228702634572983, 0.015395961701869965, 0.06804393976926804, -0.011305161751806736, -0.06087394431233406, -0.000701026467140764, -0.016434190794825554, -0.0007875455776229501, 0.01262735016644001, -0.008461123332381248, -0.02064034901559353, 0.016345452517271042, 0.021900422871112823, -0.03648887202143669, 0.00906897522509098, -0.049693018198013306, -0.014056025072932243, -0.001956662628799677, 0.019309286028146744, 0.02056935988366604, -0.018652629107236862, 0.034944839775562286, -0.04156465828418732, -0.016061492264270782, -0.026727743446826935, -0.006082957610487938, -0.010195942595601082, 0.03178578242659569, -0.03301035985350609, -0.02560965158045292, 0.04195510223507881, -0.02979806251823902, 0.008137231692671776, 0.06605621427297592, 0.07560437172651291, -0.017658768221735954, 0.08433614671230316, 0.04195510223507881, 0.011109938845038414, -0.01913181133568287, -0.017658768221735954, -0.0017503477865830064, -0.000624490377958864, 0.007658048998564482, -0.031182367354631424, -0.034927092492580414, -0.0059720356948673725, 0.016451938077807426, -0.06822141259908676, -0.06197429075837135, -0.027828089892864227, 0.05991557985544205, -0.002291646786034107, -0.015866270288825035, -0.018102455884218216, 0.01913181133568287, -0.04490118846297264, -0.002186270896345377, 0.05487528815865517, 0.023550940677523613, -0.032495684921741486, 0.0013965069083496928, -0.022361857816576958, 0.0028817513957619667, -0.01813795045018196, -0.0006583215435966849, 0.05941864848136902, -0.033276572823524475, -0.005333125591278076, 0.003589433152228594, -0.00676623685285449, -0.06786645948886871, -0.01813795045018196, 0.016833510249853134, 0.047953762114048004, 0.011447140946984291, -0.006109579000622034, -0.031697046011686325, -0.004601040855050087, 0.0033054728992283344, -0.03309909999370575, 0.03237145021557808, -0.055443208664655685, -0.02280554547905922, -0.05072237178683281, 0.06705007702112198, -0.0413161925971508, -0.0413161925971508, 0.03441241383552551, -0.05295855924487114, 0.0010154901538044214, -0.028041059151291847, 0.01226352620869875, -0.014650566503405571, -0.03705679252743721, -0.017916107550263405, -0.029478607699275017, 0.0336492694914341, 0.005541658960282803, 0.03588545694947243, 0.04103223234415054, -0.02756187692284584, 0.04007386788725853, 0.06591423600912094, 0.04713737592101097, -0.03533528372645378, 0.02468678168952465, -0.0056703281588852406, 0.003205643268302083, -0.014970021322369576, 0.04568208009004593, 0.01248537003993988, -0.0062205009162425995, -0.010728367604315281, -0.02438507229089737, 0.002788576763123274, 0.015529067255556583, 0.022823292762041092, 0.05160974711179733, 0.009663516655564308, -0.05821181833744049, 0.03624040633440018, -0.008154978975653648, -0.014402100816369057, -0.039541441947221756, 0.042984459549188614, 0.05274558812379837, -0.015671048313379288, -0.027455391362309456, -0.0010221453849226236, 0.004206158686429262, -0.006650877650827169, 0.025485418736934662, -0.029833557084202766, 0.0178539901971817, -0.005395242013037205, 0.036080680787563324, 0.04330391436815262, -0.009113344363868237, -0.002413660753518343, -0.038086146116256714, 0.045788563787937164, 0.0034208318684250116, -0.021101783961057663, -0.019912701100111008, -0.06797295063734055, 0.012352264486253262, 0.02676323987543583, 0.021350249648094177, 0.011704480275511742, -0.02647927962243557, -0.034944839775562286, -0.02640828862786293, 0.04188411310315132, -0.024438316002488136, -0.014047150500118732, 0.00434148358181119, -0.011615742929279804, 0.036666348576545715, 0.0029172461945563555, -0.015742037445306778, -0.020178914070129395, -0.02834276668727398, -0.015103127807378769, 0.03329432010650635, -0.052071183919906616, 0.03251343220472336, -0.07432655245065689, 0.022255372256040573, -0.00752050569280982, -0.024580296128988266, 0.0623292401432991, -0.0016305521130561829, 0.005785686895251274, 0.03217623010277748, 0.019309286028146744, -0.05707597732543945, 0.039541441947221756, 0.010985706001520157, -0.013727695681154728, 0.03627590090036392, 0.011314035393297672, -0.013221891596913338, -0.017046479508280754, 0.002901717321947217, -0.006841663736850023, -0.006429033819586039, -0.05001247301697731, 0.017090847715735435, 0.049905985593795776, 0.0301352646201849, -0.060128550976514816, 0.016309957951307297, 0.06389102339744568, 0.0012467623455449939, -0.056437067687511444, 0.01686900481581688, 0.019912701100111008, -0.027402149513363838, 0.05224865674972534, 0.09839217364788055, 0.008319143205881119, 0.013301755301654339, 0.03936396911740303, -0.061406370252370834, 0.07010264694690704, -0.012795952148735523, -0.026958461850881577, -0.0444752499461174, -0.05136128142476082, 0.03897352144122124, -0.06953472644090652, 0.009281945414841175, 0.024917498230934143, -0.011917450465261936, 0.03121786378324032, 0.006216064095497131 ]
42,001
torch.fx.interpreter
output
Execute an ``output`` node. This really just retrieves the value referenced by the ``output`` node and returns it. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Return: Any: The return value referenced by the output node .. note:: Backwards-compatibility for this API is guaranteed.
@compatibility(is_backward_compatible=True) def output(self, target : 'Target', args : Tuple[Argument, ...], kwargs : Dict[str, Any]) -> Any: """ Execute an ``output`` node. This really just retrieves the value referenced by the ``output`` node and returns it. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Return: Any: The return value referenced by the output node """ return args[0]
(self, target: Union[Callable[..., Any], str], args: Tuple[Union[Tuple[Any, ...], List[Any], Dict[str, Any], slice, range, torch.fx.node.Node, str, int, float, bool, complex, torch.dtype, torch.Tensor, torch.device, torch.memory_format, torch.layout, torch._ops.OpOverload, NoneType], ...], kwargs: Dict[str, Any]) -> Any
[ -0.02821439690887928, -0.055712778121232986, -0.0021373897325247526, -0.021787310019135475, 0.0314876064658165, 0.03269801288843155, -0.06515735387802124, 0.05826997384428978, 0.04449521377682686, -0.061645474284887314, 0.04357462003827095, 0.01962221786379814, 0.022707901895046234, -0.0020329710096120834, 0.021378159523010254, 0.03348222002387047, 0.006375942379236221, 0.03893757238984108, 0.019366499036550522, 0.07964813709259033, 0.017832180485129356, -0.009649153798818588, 0.044699788093566895, -0.014541922137141228, -0.017150262370705605, -0.022980669513344765, 0.024139931425452232, -0.03257867693901062, -0.011243139393627644, 0.0028811076190322638, -0.08810392767190933, -0.07255617529153824, 0.0129138408228755, 0.04824576526880264, 0.017261072993278503, 0.05721300095319748, -0.0307374969124794, 0.07398820668458939, -0.029510043561458588, -0.0019072421127930284, 0.017849229276180267, -0.07617034763097763, 0.03046472929418087, 0.03968768194317818, -0.020457569509744644, 0.000934974814299494, -0.0036163015756756067, 0.005787787027657032, -0.06614614278078079, -0.08196666091680527, 0.07214702665805817, -0.015317604877054691, 0.031061409041285515, 0.007769613992422819, -0.02475365810096264, 0.06914658099412918, 0.04330185428261757, -0.00440690154209733, -0.011592622846364975, -0.00020817173935938627, 0.02610044926404953, 0.039414916187524796, 0.045620378106832504, 0.019008491188287735, 0.036619048565626144, -0.004381329286843538, -0.01577790081501007, 0.016911590471863747, -0.01934945024549961, 0.06573698669672012, 0.0023355723824352026, -0.023901259526610374, 0.02991919405758381, 0.026986943557858467, 0.04902997240424156, -0.025742441415786743, -0.023117052391171455, 0.06757816672325134, -0.015803471207618713, 0.0025678512174636126, -0.038903478533029556, -0.008656108751893044, -0.05363292619585991, -0.01012649666517973, -0.028947459533810616, -0.07207883149385452, -0.03222067281603813, -0.045245323330163956, -0.054621707648038864, 0.01617000438272953, -0.05267823860049248, 0.00881380308419466, -0.05417846143245697, 0.06215691193938255, 0.007211293093860149, -0.034095946699380875, -0.012666644528508186, -0.0407787524163723, -0.010049780830740929, 0.008174503222107887, -0.0079486183822155, 0.10399264097213745, 0.03586893901228905, 0.029885098338127136, 0.04705240949988365, -0.057963110506534576, -0.06386171281337738, 0.019247163087129593, 0.028691740706562996, -0.004760646726936102, -0.033737942576408386, 0.03249343857169151, 0.008839374408125877, -0.050155140459537506, 0.014848785474896431, -0.08496710658073425, -0.06744178384542465, 0.002900286577641964, -0.04902997240424156, 0.016263768076896667, 0.028828123584389687, 0.008268267847597599, -0.0115159060806036, -0.04926864430308342, -0.033550411462783813, 0.03832384571433067, -0.00622677244246006, -0.0019509275443851948, 0.020457569509744644, -0.046984218060970306, -0.01264107320457697, 0.0025103141088038683, -0.032629821449518204, 0.04729108139872551, 0.01444815844297409, 0.03498244285583496, 0.02993624284863472, -0.01839476451277733, -0.027191517874598503, 0.04408606141805649, 0.027737053111195564, -0.003298782976344228, 0.05721300095319748, 0.013016127981245518, 0.016323436051607132, 0.011925057508051395, 0.044324733316898346, 0.02134406380355358, 0.023781923577189445, -0.042858608067035675, 0.018360668793320656, 0.011498858220875263, 0.0008492022170685232, -0.020201848819851875, -0.024344507604837418, 0.039380818605422974, -0.012334208935499191, -0.012291589751839638, 0.011413618922233582, -0.04875720664858818, -0.04981417953968048, -0.028043918311595917, 0.027089230716228485, -0.0032902590464800596, 0.023798972368240356, -0.005493709817528725, 0.037403255701065063, 0.027754101902246475, -0.0008508004830218852, 0.05997477471828461, -0.03269801288843155, -0.0160506684333086, -0.017968565225601196, 0.03486310690641403, -0.018582291901111603, 0.03508473187685013, 0.019792698323726654, 0.0450066514313221, 0.01133690308779478, 0.05700842663645744, 0.023389820009469986, -0.04834805428981781, -0.06174776330590248, -0.026850558817386627, 0.03153875097632408, 0.01363837905228138, 0.015794947743415833, 0.02079852856695652, -0.018343620002269745, -0.006797879468649626, 0.051484882831573486, -0.0006089323433116078, 0.023781923577189445, -0.02569129690527916, 0.004867196548730135, -0.05932695046067238, -0.038494326174259186, -0.005779263097792864, 0.06052030995488167, -0.029851002618670464, 0.02385011501610279, -0.02396945096552372, 0.03182856738567352, 0.05243956670165062, -0.01894029974937439, -0.006439872086048126, 0.04585905000567436, 0.051996320486068726, -0.08483071625232697, -0.03903986141085625, 0.01641719974577427, -0.006571994163095951, -0.002806522650644183, 0.033737942576408386, 0.0076502785086631775, -0.02107129618525505, -0.04149476811289787, 0.015036312863230705, -0.0011581967119127512, 0.029305467382073402, 0.04333595186471939, -0.015624468214809895, 0.03692591190338135, 0.033976610749959946, -0.029782811179757118, -0.0336867980659008, 0.038085173815488815, -0.023816019296646118, 0.013263324275612831, -0.07671588659286499, 0.027072183787822723, -0.007356200832873583, -0.021122440695762634, 0.01882096379995346, 0.006128746550530195, 0.027481334283947945, -0.0024591702967882156, -0.0034990967251360416, -0.041392482817173004, 0.011081183329224586, -0.03177742287516594, 0.008984282612800598, 0.03958539664745331, -0.010569743812084198, 0.026185687631368637, 0.03453919664025307, 0.04367690905928612, 0.026202736422419548, -0.02528214640915394, 0.028163252398371696, 0.01617852784693241, -0.04381329193711281, -0.020218897610902786, 0.0009765292634256184, 0.004658359102904797, -0.010407787747681141, -0.034385763108730316, -0.05448532477021217, 0.03378908336162567, 0.012803028337657452, -0.038085173815488815, -0.02027004212141037, -0.008029595948755741, 0.02252037450671196, 0.022690853103995323, -0.03215247765183449, -0.06733949482440948, -0.039142150431871414, -0.029066795483231544, 0.027788197621703148, 0.031180744990706444, 0.01543694082647562, -0.06955573707818985, -0.011379522271454334, -0.027651814743876457, -0.025350337848067284, 0.02887926809489727, -0.0028789765201509, -0.03031129762530327, 0.03297078236937523, 0.0744655504822731, -0.037812408059835434, -0.08530806005001068, -0.042994990944862366, -0.008315149694681168, -0.012530260719358921, 0.0036418733652681112, 0.009947492741048336, 0.047086503356695175, -0.04732517525553703, 0.06624842435121536, 0.04759794473648071, -0.006103174760937691, -0.0026275189593434334, -0.00642282422631979, 0.001972237601876259, -0.08933138102293015, 0.0010154199553653598, 0.04132428765296936, -0.011694910004734993, 0.040983330458402634, -0.057963110506534576, -0.024804802611470222, -0.011805722489953041, -0.023475060239434242, 0.02027004212141037, 0.034385763108730316, 0.03286849334836006, -0.03996045142412186, -0.006725425831973553, 0.028691740706562996, -0.022997716441750526, -0.01696273498237133, 0.017798084765672684, -0.02700399048626423, 0.00795714184641838, 0.04261993616819382, -0.00417462270706892, 0.023798972368240356, 0.030226057395339012, -0.0892631933093071, 0.019230114296078682, 0.036209896206855774, 0.053973887115716934, -0.013757715001702309, -0.034385763108730316, -0.009938969276845455, 0.031078455969691277, 0.027890484780073166, -0.011319855228066444, -0.030925024300813675, -0.008847898803651333, 0.02357734739780426, 0.017934469506144524, -0.06805551052093506, -0.0050675105303525925, 0.01975860260426998, 0.0251457616686821, 0.05100753903388977, 0.016340482980012894, 0.0214463509619236, 0.05561049282550812, -0.03880118951201439, 0.045381706207990646, 0.06300931423902512, 0.07091957330703735, 0.014013434760272503, 0.026032255962491035, 0.0815575048327446, -0.02027004212141037, -0.0059881010092794895, 0.021139487624168396, -0.022469229996204376, 0.013877050951123238, 0.0569402351975441, -0.01772989332675934, 0.016860445961356163, -0.016204100102186203, -0.032118383795022964, -0.01628933846950531, 0.00887347012758255, -0.06450953334569931, -0.009478673338890076, 0.0321013368666172, -0.0005657796282321215, -0.07248798757791519, 0.027123326435685158, 0.010143544524908066, 0.06638481467962265, 0.026322072371840477, -0.026049304753541946, -0.04057417809963226, -0.0021139488089829683, 0.029322516173124313, -0.02050871215760708, 0.03419823572039604, -0.048689015209674835, 0.00251883827149868, 0.034914251416921616, -0.047086503356695175, -0.007812234107404947, 0.0005934825749136508, -0.031964950263500214, -0.0007495781173929572, 0.018701627850532532, -0.0019210935570299625, -0.02448089048266411, -0.0051186541095376015, -0.008596440777182579, 0.022435134276747704, 0.06860104948282242, 0.015803471207618713, -0.0037015413399785757, -0.04023321717977524, -0.02956118807196617, 0.0074457027949392796, 0.02385011501610279, 0.021275872364640236, -0.02119063213467598, -0.042483553290367126, -0.024685466662049294, 0.011021515354514122, -0.04613181948661804, 0.034641481935977936, -0.034215282648801804, -0.007769613992422819, 0.036346279084682465, 0.005915646906942129, 0.018701627850532532, -0.018633436411619186, -0.026322072371840477, -0.03007262572646141, -0.10085581243038177, 0.01007535308599472, 0.0219748392701149, 0.04916635900735855, 0.039824068546295166, 0.018633436411619186, -0.021685022860765457, -0.013178084045648575, 0.008583654649555683, 0.053053297102451324, 0.08108016848564148, 0.03944901376962662, 0.059395141899585724, -0.05983838811516762, -0.05288281664252281, 0.015300557017326355, 0.040062740445137024, 0.04684783145785332, -0.028828123584389687, -0.06924887001514435, -0.035698458552360535, -0.00658477982506156, 0.039824068546295166, 0.0062139867804944515, 0.02490708976984024, -0.005915646906942129, 0.037948790937662125, 0.06744178384542465, -0.023645540699362755, 0.01615295559167862, 0.02567424811422825, -0.0037782571744173765, -0.008830850943922997, -0.029322516173124313, -0.01033107191324234, -0.016246719285845757, -0.018582291901111603, -0.008183027617633343, 0.05056429281830788, 0.04255174472928047, 0.0604180209338665, 0.001874211709946394, -0.0026296500582247972, -0.09267278760671616, -0.07330629229545593, -0.01556480024009943, 0.03249343857169151, 0.000037958379834890366, -0.029697570949792862, 0.0321013368666172, -0.0010745550971478224, -0.03709639236330986, -0.021565686911344528, -0.017005354166030884, 0.05349654331803322, -0.02079852856695652, -0.05486037954688072, -0.005838931072503328, 0.03733506426215172, -0.026816463097929955, -0.030635209754109383, -0.03288554027676582, 0.04043779522180557, -0.01692863740026951, -0.036346279084682465, -0.02633911930024624, -0.036653146147727966, -0.03617580235004425, -0.05404207855463028, -0.03985816240310669, 0.013416755944490433, 0.03402775526046753, -0.06062259525060654, 0.03910805284976959, 0.06311160326004028, -0.016340482980012894, 0.05813359096646309, 0.00017447535356041044, -0.03249343857169151, 0.031078455969691277, 0.018224284052848816, -0.11974497139453888, -0.03999454900622368, -0.010117972269654274, 0.019281258806586266, 0.001342527917586267, -0.042994990944862366, 0.010586791671812534, -0.008762658573687077, 0.026816463097929955, -0.0052038938738405704, -0.04490436241030693, -0.0032689489889889956, 0.0029770024120807648, 0.033431075513362885, 0.013612807728350163, -0.04023321717977524, 0.03801698237657547, -0.03627808764576912, 0.029987387359142303, -0.023662587627768517, 0.01158409845083952, -0.023798972368240356, 0.012658121064305305, -0.016868971288204193, 0.024003546684980392, -0.00410216860473156, -0.013868526555597782, 0.0023377034813165665, 0.07589758187532425, -0.042449455708265305, 0.006303488276898861, 0.015607420355081558, 0.034215282648801804, -0.04770023003220558, -0.0005071772029623389, 0.00032524336711503565, 0.02120767906308174, -0.024344507604837418, -0.02173616737127304, -0.012078490108251572, 0.035323403775691986, -0.0548262856900692, 0.022162366658449173, -0.03326059877872467, 0.048416245728731155, -0.07316990196704865, -0.025623105466365814, -0.010851035825908184, -0.010049780830740929, -0.07064680755138397, -0.05117801949381828, 0.024583179503679276, -0.06525964289903641, -0.013987862505018711, 0.03563026711344719, 0.06345255672931671, 0.038221556693315506, -0.09505950659513474, -0.04265403002500534, 0.02637321688234806, 0.06188414618372917, 0.022315798327326775, 0.07555662095546722, -0.0029578234534710646, 0.01681782677769661, -0.028640596196055412, 0.013689523562788963, 0.008357768878340721, -0.013851478695869446, 0.019161922857165337, 0.006763783749192953, 0.018462955951690674, 0.03177742287516594, 0.03324354812502861, -0.003013229463249445, -0.0014757153112441301, -0.050121042877435684, -0.014516349881887436, 0.00618841452524066, 0.015411368571221828, -0.024736611172556877, -0.005689761135727167, 0.020628048107028008, 0.07467012852430344, -0.013254799880087376, 0.05448532477021217, -0.00987930130213499, -0.015965428203344345, 0.017414504662156105, 0.023236388340592384, -0.0010660311672836542, 0.020440520718693733, 0.03985816240310669, -0.02807801403105259, 0.024532034993171692, 0.012879744172096252, 0.0005572556401602924, -0.012470592744648457, -0.04718879237771034, -0.03668724000453949, -0.007624706253409386, 0.05673565715551376, -0.0614749938249588, -0.028555355966091156, 0.014414061792194843, 0.11381227523088455, -0.054383035749197006, -0.031743329018354416, 0.019161922857165337, 0.027515430003404617, -0.013774762861430645, -0.0034010708332061768, -0.0038954620249569416, -0.031589895486831665, -0.032629821449518204, -0.0137832872569561, 0.023816019296646118, -0.029697570949792862, -0.02437860332429409, -0.036755431443452835, -0.010765795595943928, -0.025998160243034363, -0.023526204749941826, -0.005097344052046537, 0.048791300505399704, 0.006282178685069084, 0.06461182236671448, 0.03235705569386482, 0.02263971045613289, -0.047120600938797, -0.00005793647505925037, 0.0274131428450346, 0.031300079077482224, -0.027856389060616493, -0.04371100664138794, 0.04282451048493385, 0.052780527621507645, -0.03312421217560768, -0.02424221858382225, 0.011038563214242458, -0.0006062685861252248, -0.02025299333035946, -0.08612636476755142, 0.011285758577287197, 0.00705359922721982, 0.010586791671812534, -0.07651130855083466, -0.02120767906308174, 0.07535204291343689, -0.006606089882552624, -0.061406802386045456, 0.01555627677589655, -0.028163252398371696, -0.02942480333149433, 0.035050634294748306, 0.030174914747476578, -0.050530195236206055, 0.016528010368347168, 0.05083705857396126, -0.01762760616838932, 0.062327392399311066, 0.049882370978593826, 0.004008404910564423, 0.00376120931468904, 0.02661188691854477, -0.0033882849384099245, 0.0007980582886375487, -0.04091513901948929, 0.015539227984845638, 0.0001470387796871364, -0.0019903508946299553, 0.004157574847340584, -0.04326775670051575, -0.029117939993739128, -0.018906204029917717, -0.04940502718091011, 0.005242252256721258, -0.023526204749941826, 0.009291145950555801, -0.0344369076192379, -0.0463704913854599, 0.0024250743445008993, -0.09103617817163467, 0.06195233762264252, 0.02966347523033619, -0.002495397115126252, -0.004666883032768965, 0.029748715460300446, 0.004709502682089806, -0.01776398904621601, 0.015650039538741112, -0.021020151674747467, -0.0020127263851463795, -0.010774319991469383, 0.03743734955787659, 0.01707354560494423, -0.1019468829035759, -0.046438682824373245, -0.021020151674747467, 0.008805278688669205, -0.012240445241332054, 0.031061409041285515, -0.020969009026885033, -0.04251764714717865, -0.008715776726603508, -0.019673362374305725, -0.021821407601237297, 0.04647277668118477, 0.0030856833327561617, -0.04388148710131645, 0.0014405538095161319, 0.01803675666451454, 0.0014842392411082983, -0.005029152147471905, -0.028981555253267288, 0.015351700596511364, -0.0152920326218009, 0.011942106299102306, 0.03921034187078476, -0.020218897610902786, 0.03034539334475994, -0.02015070617198944, -0.029731666669249535, -0.04759794473648071, 0.07671588659286499, -0.07364724576473236, 0.042858608067035675, -0.056087836623191833, -0.006976883392781019, 0.07753418385982513, -0.026270927861332893, -0.017542365938425064, 0.014584542252123356, -0.005084558390080929, -0.012615500949323177, 0.055985547602176666, 0.04916635900735855, 0.004888506606221199, -0.01496812142431736, 0.01721845380961895, -0.01948583498597145, 0.00251883827149868, -0.016314910724759102, 0.006840499583631754, -0.04265403002500534, 0.004811790771782398, -0.017150262370705605, -0.018752772361040115, 0.01292236428707838, 0.014490777626633644, -0.042483553290367126, 0.08237580955028534, 0.004187408834695816, -0.025384433567523956, 0.012095537967979908, 0.00894166249781847, -0.0073178429156541824, 0.05455351620912552, 0.04572266712784767, 0.015104505233466625, 0.04186982288956642, 0.13645198941230774, -0.016366055235266685, 0.06710082292556763, -0.00980258546769619, -0.0386648066341877, -0.07119233906269073, -0.03498244285583496, 0.04122200235724449, 0.010441884398460388, -0.02528214640915394, 0.015624468214809895, 0.03283439949154854, 0.018582291901111603, 0.01627229154109955 ]
42,002
torch.fx.interpreter
placeholder
Execute a ``placeholder`` node. Note that this is stateful: ``Interpreter`` maintains an internal iterator over arguments passed to ``run`` and this method returns next() on that iterator. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Returns: Any: The argument value that was retrieved. .. note:: Backwards-compatibility for this API is guaranteed.
@compatibility(is_backward_compatible=True) def placeholder(self, target : 'Target', args : Tuple[Argument, ...], kwargs : Dict[str, Any]) -> Any: """ Execute a ``placeholder`` node. Note that this is stateful: ``Interpreter`` maintains an internal iterator over arguments passed to ``run`` and this method returns next() on that iterator. Args: target (Target): The call target for this node. See `Node <https://pytorch.org/docs/master/fx.html#torch.fx.Node>`__ for details on semantics args (Tuple): Tuple of positional args for this invocation kwargs (Dict): Dict of keyword arguments for this invocation Returns: Any: The argument value that was retrieved. """ assert isinstance(target, str) if target.startswith('*'): # For a starred parameter e.g. `*args`, retrieve all # remaining values from the args list. return list(self.args_iter) else: try: return next(self.args_iter) except StopIteration as si: if len(args) > 0: return args[0] else: raise RuntimeError(f'Expected positional argument for parameter {target}, but one was not passed in!') from si
(self, target: Union[Callable[..., Any], str], args: Tuple[Union[Tuple[Any, ...], List[Any], Dict[str, Any], slice, range, torch.fx.node.Node, str, int, float, bool, complex, torch.dtype, torch.Tensor, torch.device, torch.memory_format, torch.layout, torch._ops.OpOverload, NoneType], ...], kwargs: Dict[str, Any]) -> Any
[ 0.030734065920114517, -0.0623333714902401, 0.002243091119453311, -0.016800086945295334, -0.007386089768260717, 0.06309045851230621, 0.00885970238596201, 0.03889977186918259, 0.06384754180908203, -0.04874188452959061, 0.03132891654968262, 0.0472998172044754, -0.02072972059249878, -0.026858508586883545, -0.02918384224176407, 0.02036920376121998, 0.0389358252286911, 0.07852058112621307, -0.036916930228471756, 0.013645564205944538, 0.001305747078731656, 0.017250733450055122, 0.03322163224220276, -0.001260682474821806, 0.005718699190765619, -0.02321728877723217, 0.03334781154990196, -0.01312281470745802, 0.007629438769072294, 0.03143707290291786, -0.0382147915661335, -0.02689456008374691, -0.020170919597148895, 0.04679509252309799, 0.015529265627264977, 0.018981214612722397, -0.026029320433735847, 0.07120208442211151, -0.038395050913095474, -0.07358149439096451, -0.002634026575833559, -0.0692552924156189, 0.0484895221889019, 0.02269453927874565, -0.018855033442378044, -0.02388424426317215, 0.06745271384716034, -0.041639700531959534, -0.06914713978767395, -0.037962429225444794, 0.06709219515323639, -0.006178358104079962, 0.04106287285685539, -0.0017225948395207524, -0.05508698150515556, 0.07873688638210297, 0.011815940961241722, 0.0337984599173069, 0.004184249322861433, 0.06298229843378067, 0.04268519952893257, 0.02835465408861637, -0.006813769228756428, 0.019666196778416634, 0.03282506391406059, -0.009274297393858433, -0.019576067104935646, -0.022297969087958336, -0.017764469608664513, 0.015394071117043495, -0.014051145873963833, -0.014006081037223339, 0.014745141379535198, 0.027237052097916603, 0.03666456788778305, -0.030589858070015907, -0.03102247789502144, 0.016556737944483757, 0.02462330460548401, 0.0033505538012832403, -0.01984645426273346, -0.013050711713731289, -0.02887740358710289, -0.01624128594994545, -0.0216129869222641, -0.0718870684504509, -0.05241915583610535, 0.004123412072658539, 0.04318992421030998, -0.05130155384540558, -0.06882267445325851, -0.009950266219675541, -0.042793355882167816, 0.049715280532836914, 0.017250733450055122, -0.009427516721189022, 0.006205397192388773, -0.05144575983285904, -0.009382451884448528, 0.014564882963895798, 0.03338386490941048, 0.09705115109682083, 0.04477619752287865, -0.00395216653123498, 0.08198153972625732, -0.006412694230675697, -0.015150722116231918, -0.00907601322978735, -0.012987621128559113, -0.012122380547225475, -0.04308176785707474, 0.004993158858269453, -0.052347052842378616, -0.0023794115986675024, -0.025614725425839424, -0.027597568929195404, -0.0351143442094326, 0.001335039152763784, -0.04019763320684433, 0.04733586683869362, 0.0038169727195054293, 0.04117102921009064, -0.027759801596403122, -0.03363622725009918, 0.02101813443005085, 0.06164838746190071, 0.0146279726177454, 0.02572287991642952, -0.0038620373234152794, -0.07358149439096451, 0.03763796389102936, -0.040882617235183716, -0.0451367162168026, 0.06417200714349747, 0.00455828569829464, 0.03360017389059067, 0.04297361522912979, -0.010058421641588211, -0.036844827234745026, 0.019720274955034256, -0.010707351379096508, 0.0028368174098432064, 0.029814746230840683, 0.056997720152139664, 0.004875991027802229, -0.035528939217329025, 0.006200890522450209, 0.00006601261702599004, 0.06143207848072052, -0.021847324445843697, 0.00910755805671215, 0.04048604890704155, 0.01491638645529747, 0.02622760459780693, -0.013979042880237103, 0.02653404325246811, 0.008810131810605526, 0.01484428346157074, -0.012392768636345863, 0.002354626078158617, 0.00024799618404358625, -0.013420240953564644, 0.0006979382014833391, -0.010977739468216896, -0.0037583885714411736, 0.0023343469947576523, 0.01689922995865345, 0.015294929035007954, 0.004984145984053612, 0.0955369770526886, -0.009733956307172775, -0.03473580256104469, 0.01661081612110138, 0.03983711823821068, 0.010896623134613037, 0.029868824407458305, -0.031707461923360825, 0.008674937300384045, 0.0337984599173069, 0.01807091012597084, -0.0005171163938939571, -0.0389358252286911, -0.024190682917833328, -0.08363991975784302, 0.04106287285685539, 0.03608774021267891, 0.017151590436697006, 0.00405806815251708, -0.008053045719861984, -0.014961451292037964, 0.011527528055012226, 0.01609707996249199, 0.03731349855661392, 0.01171679887920618, -0.017232706770300865, -0.012041264213621616, -0.01623227261006832, 0.017962753772735596, 0.021558910608291626, -0.02027907595038414, 0.003409137949347496, -0.03843110054731369, 0.08508198708295822, 0.05285177752375603, -0.017899664118885994, -0.0038237322587519884, 0.04939081519842148, 0.06604669243097305, -0.04380280151963234, -0.049498967826366425, -0.017881637439131737, -0.009125583805143833, -0.019882507622241974, 0.051626019179821014, -0.0004990905872546136, -0.03174351155757904, -0.06893082708120346, -0.005569986067712307, 0.040666304528713226, 0.02784992940723896, 0.08270257711410522, -0.017971767112612724, 0.02438896708190441, -0.015051580034196377, 0.028913455083966255, -0.027291128411889076, 0.051698122173547745, -0.03637615591287613, 0.0013282793806865811, -0.013528396375477314, -0.011130958795547485, -0.04957107454538345, -0.013807796873152256, 0.0073635573498904705, 0.02954435907304287, -0.0035443317610770464, 0.016773048788309097, -0.030752090737223625, 0.01029275730252266, 0.012798349373042583, -0.04149549454450607, 0.016061028465628624, -0.0021439488045871258, -0.0002788372803479433, 0.02653404325246811, 0.027056792750954628, 0.008882234804332256, 0.04142339155077934, -0.03947659954428673, 0.008611847646534443, -0.028570963069796562, 0.011671734042465687, -0.010689325630664825, 0.007818710058927536, 0.01807091012597084, 0.016935281455516815, 0.025903139263391495, -0.04099076986312866, 0.044127266854047775, 0.011518514715135098, -0.05656510218977928, -0.03269888088107109, -0.007282441481947899, 0.08385623246431351, 0.013627538457512856, -0.007048105355352163, -0.07300467044115067, -0.01422239188104868, -0.04124313220381737, -0.00272866222076118, 0.04135128855705261, 0.014799218624830246, -0.0015603621723130345, 0.0007976436172612011, 0.0038034531753510237, -0.01823314279317856, -0.019882507622241974, 0.05483461916446686, -0.02359583042562008, -0.012131393887102604, 0.0900571197271347, -0.024064501747488976, -0.06391964852809906, -0.0671282485127449, -0.03282506391406059, 0.02166706509888172, 0.000435436813859269, -0.011076881550252438, 0.018197089433670044, -0.018197089433670044, 0.026191553100943565, 0.03756586089730263, 0.0017169617349281907, 0.012149419635534286, -0.007944891229271889, 0.030896298587322235, -0.10750614106655121, 0.0652175024151802, 0.022099684923887253, -0.016962319612503052, 0.027795853093266487, -0.08659616112709045, -0.08594723045825958, -0.015042567625641823, -0.0006844187737442553, -0.014925399795174599, -0.0058043221943080425, 0.06327071785926819, -0.06774112582206726, -0.018927136436104774, 0.06395569443702698, -0.05620458349585533, -0.001372217433527112, -0.019431861117482185, 0.03360017389059067, -0.007706048432737589, 0.039801064878702164, -0.021486807614564896, 0.006358616519719362, 0.019341731444001198, -0.033185578882694244, 0.011987186968326569, -0.017971767112612724, 0.06532566249370575, -0.0413152351975441, -0.0038620373234152794, 0.002433489076793194, 0.014943425543606281, -0.00014899487723596394, 0.018800955265760422, 0.01977435126900673, 0.013185905292630196, -0.012744272127747536, 0.010346834547817707, -0.026119448244571686, 0.008877728134393692, 0.043478336185216904, 0.0862356424331665, 0.07700640708208084, -0.027579542249441147, 0.033257681876420975, 0.007570854853838682, -0.03929634019732475, 0.05476251617074013, 0.06957975775003433, 0.06272993981838226, 0.03356412425637245, -0.0004976823111064732, 0.1342564970254898, -0.031779564917087555, -0.02168509177863598, -0.053897276520729065, -0.009364426136016846, -0.07217548042535782, 0.0706973597407341, -0.024785537272691727, 0.02453317493200302, -0.024875665083527565, -0.03915213420987129, -0.04369464889168739, 0.051914431154727936, -0.061684440821409225, 0.01403312012553215, 0.02056748792529106, 0.012726246379315853, -0.05223889648914337, -0.00727342814207077, 0.015574329532682896, 0.02417265810072422, 0.04726376384496689, 0.004758823197335005, -0.0675969198346138, 0.00451772753149271, 0.015195786952972412, -0.05761060118675232, -0.04665088653564453, -0.025560647249221802, -0.0036479802802205086, -0.000348405766999349, -0.0028075252193957567, 0.04409121721982956, -0.009833098389208317, 0.0013541915686801076, -0.028498860076069832, -0.028264524415135384, -0.02374003827571869, -0.03972896188497543, 0.0018859540577977896, 0.006764198187738657, -0.01323097012937069, 0.048597678542137146, -0.05357281118631363, 0.03305939957499504, -0.011194049380719662, -0.023992398753762245, -0.019449885934591293, 0.053032036870718, 0.011103920638561249, -0.046254318207502365, -0.025218157097697258, 0.01476316712796688, -0.019864480942487717, -0.021360626444220543, 0.0446680448949337, 0.05047236382961273, -0.013438267633318901, 0.04888609051704407, 0.05195048451423645, 0.03518644720315933, 0.02092800661921501, -0.017962753772735596, -0.06020632013678551, -0.0363040529191494, 0.0053086113184690475, -0.015213812701404095, 0.03183364123106003, -0.010680313222110271, -0.000047388257371494547, -0.04196416586637497, -0.014618960209190845, 0.006196384318172932, 0.02381214126944542, 0.050292108207941055, 0.042865458875894547, 0.03926029056310654, 0.026696275919675827, -0.014087197370827198, -0.02548854425549507, 0.009977305307984352, 0.010247692465782166, -0.1122649610042572, -0.038467153906822205, -0.0034699751995503902, 0.01543012261390686, 0.0071427407674491405, -0.022838745266199112, -0.008409056812524796, 0.011888044886291027, 0.0453890785574913, 0.029490282759070396, -0.04239678755402565, 0.004740796983242035, 0.03706113621592522, -0.007728580851107836, -0.06478488445281982, -0.005042729899287224, -0.0149884894490242, 0.028390705585479736, -0.025975242257118225, 0.002870615804567933, 0.002692610491067171, 0.037962429225444794, 0.06179259717464447, -0.007178792729973793, 0.016142144799232483, -0.0747712031006813, -0.0979163870215416, 0.003314502304419875, 0.02226191759109497, -0.007435660809278488, 0.028715170919895172, 0.025668803602457047, -0.008850689977407455, -0.07592485845088959, -0.018620697781443596, -0.016998371109366417, 0.05047236382961273, -0.04124313220381737, -0.0515899658203125, -0.01630437560379505, 0.02453317493200302, -0.013167879544198513, -0.008368498645722866, -0.03186969459056854, 0.017142578959465027, 0.007435660809278488, -0.010004343464970589, 0.015394071117043495, 0.009652839973568916, -0.024046476930379868, 0.002796259243041277, -0.04329808056354523, 0.04091866686940193, 0.029868824407458305, -0.04117102921009064, 0.009098544716835022, 0.012221522629261017, 0.018314259126782417, 0.038683462888002396, 0.014907373115420341, -0.04481225088238716, 0.03653838858008385, 0.03926029056310654, -0.02159496210515499, -0.020026713609695435, -0.05797111615538597, -0.012897491455078125, 0.041783906519412994, 0.015961885452270508, -0.003830492030829191, -0.019305679947137833, 0.02821044623851776, 0.016268324106931686, 0.00006907559873070568, 0.04113497585058212, -0.07527592778205872, 0.042144425213336945, 0.05047236382961273, -0.0484895221889019, 0.02784992940723896, -0.001039865892380476, 0.017971767112612724, -0.008940818719565868, -0.031040504574775696, -0.007620425894856453, -0.011806928552687168, -0.00943653006106615, 0.02909371256828308, -0.02027907595038414, -0.02570485509932041, 0.023271365091204643, 0.08277467638254166, -0.0004928942071273923, 0.020837876945734024, 0.01594385877251625, -0.00914811622351408, -0.03594353422522545, -0.06208100914955139, 0.02204560860991478, 0.012879465706646442, 0.017962753772735596, -0.027164947241544724, 0.030373549088835716, -0.005975567735731602, -0.0013451786944642663, 0.016962319612503052, 0.025452492758631706, 0.022099684923887253, -0.06251362711191177, 0.010175589472055435, -0.00013392639812082052, 0.023758063092827797, -0.05443805083632469, 0.00585839943960309, -0.008314420469105244, -0.0382147915661335, -0.043983060866594315, 0.05598827451467514, 0.01652969978749752, 0.024803562089800835, -0.09200391173362732, -0.03145509958267212, -0.003636714071035385, 0.06071104481816292, -0.057430341839790344, 0.005551960319280624, 0.003990471363067627, 0.026281680911779404, -0.04070235788822174, 0.05905266851186752, 0.010247692465782166, -0.013068737462162971, 0.05425779148936272, 0.043766751885414124, 0.008233304135501385, 0.0032874634489417076, 0.0013823569752275944, -0.03933239355683327, 0.02159496210515499, -0.01925160177052021, 0.011239114217460155, -0.0010905636008828878, 0.07527592778205872, 0.019143447279930115, -0.0048940167762339115, -0.030950374901294708, 0.04290151223540306, -0.03962080553174019, 0.027867956086993217, -0.06849820911884308, -0.021847324445843697, -0.02976066991686821, 0.023938322439789772, -0.0073049734346568584, -0.02536236308515072, 0.05555565282702446, -0.02446107193827629, 0.060963407158851624, -0.019233576953411102, 0.009319361299276352, 0.0027376750949770212, 0.013636551797389984, -0.029670540243387222, 0.0019129927968606353, 0.055663809180259705, -0.046470627188682556, -0.017899664118885994, -0.0035871430300176144, 0.04492040351033211, -0.03778216987848282, -0.08991291373968124, -0.009265284053981304, 0.0021664812229573727, -0.006056683603674173, -0.042288631200790405, -0.026876535266637802, -0.06460462510585785, -0.011067868210375309, -0.00011766088573494926, -0.02101813443005085, 0.02424476109445095, -0.02682245709002018, -0.006543381605297327, 0.02512802742421627, -0.05083288252353668, 0.00021532435494009405, -0.026858508586883545, 0.06283809244632721, 0.05862004682421684, 0.03262677788734436, -0.027741774916648865, -0.006403681356459856, -0.04488435387611389, -0.028246497735381126, 0.00903545506298542, 0.008909273892641068, -0.008850689977407455, -0.038322944194078445, -0.030013032257556915, 0.032230209559202194, 0.0007542689563706517, -0.0008201759192161262, 0.012491910718381405, -0.0029382125940173864, -0.03738560155034065, -0.05818742513656616, 0.009012922644615173, 0.014276469126343727, -0.038250841200351715, -0.044199369847774506, 0.0034564556553959846, 0.007751113269478083, -0.01410522311925888, -0.017602236941456795, 0.01763828843832016, -0.04769638553261757, -0.01853056810796261, -0.0041955155320465565, 0.034050822257995605, -0.012852427549660206, 0.029273971915245056, 0.08010685443878174, -0.010112498886883259, 0.08039526641368866, 0.07275231182575226, 0.00760240014642477, -0.01102280430495739, 0.0012640623608604074, 0.028643067926168442, -0.01970224827528, 0.006182864774018526, 0.008165707811713219, -0.020116843283176422, 0.011167011223733425, 0.00038304919144138694, -0.01645759679377079, -0.029940927401185036, -0.049859486520290375, -0.02476751059293747, 0.02366793341934681, -0.04416332021355629, -0.05782691016793251, -0.04293756186962128, -0.05988185480237007, -0.009562710300087929, -0.055231187492609024, 0.01939580962061882, -0.02168509177863598, -0.008287382312119007, 0.006173851899802685, -0.018269194290041924, -0.08818243443965912, -0.020315127447247505, 0.042432837188243866, -0.06020632013678551, 0.032807037234306335, -0.04452383518218994, 0.01367260329425335, 0.01712455227971077, -0.09135498106479645, -0.023758063092827797, 0.009788033552467823, 0.03543880954384804, 0.010193615220487118, -0.007043598685413599, -0.08118840306997299, -0.07195917516946793, -0.03282506391406059, 0.00413242494687438, 0.00011618220014497638, 0.018909111618995667, -0.013212944380939007, -0.05880030617117882, -0.051121294498443604, 0.05061657354235649, 0.027273103594779968, -0.028264524415135384, -0.0027669670525938272, 0.0020921246614307165, 0.00910755805671215, 0.030175264924764633, 0.01616016961634159, -0.027164947241544724, 0.013357151299715042, -0.014826257713139057, -0.006489303894340992, -0.018458465114235878, 0.012446845881640911, -0.0446680448949337, 0.027309155091643333, -0.01925160177052021, -0.000811162986792624, 0.04607405886054039, -0.01786361262202263, 0.05003974586725235, 0.01778249628841877, -0.011067868210375309, -0.0566011518239975, 0.024046476930379868, 0.030031057074666023, 0.03864740952849388, 0.05432989448308945, 0.012618090957403183, -0.02822847291827202, 0.0011671734973788261, -0.03453752025961876, 0.048092953860759735, -0.003913861699402332, -0.06583038717508316, -0.007908839732408524, -0.025380389764904976, 0.0021664812229573727, -0.0007953903987072408, 0.005209469236433506, 0.10231469571590424, 0.003535318886861205, -0.029995005577802658, -0.027056792750954628, 0.044415682554244995, 0.008201759308576584, 0.029111739248037338, 0.08464936912059784, 0.007255402393639088, 0.05068867653608322, 0.07693430781364441, -0.08529829978942871, 0.0630544051527977, 0.012951569631695747, -0.046326421201229095, -0.05739428848028183, -0.08450516313314438, -0.009905201382935047, 0.06049473583698273, -0.024118579924106598, 0.014357585459947586, 0.008616353385150433, 0.03289716690778732, 0.03351004421710968 ]
42,003
opt_einsum_fx._efficient_shape_prop
propagate
null
def propagate(self, *args): return super().run(*args)
(self, *args)
[ 0.003918664529919624, -0.046112559735774994, -0.0022538991179317236, 0.08210925757884979, -0.019886862486600876, -0.012628404423594475, -0.022990591824054718, 0.02942795865237713, 0.08092688769102097, -0.010214392095804214, 0.03171059489250183, 0.027506601065397263, 0.027867881581187248, -0.008030285127460957, -0.05925004184246063, -0.0035922799725085497, 0.00593649921938777, 0.0491013377904892, 0.004860868211835623, -0.01220964640378952, -0.0018905657343566418, -0.0018495110562071204, 0.03179270401597023, -0.03266306221485138, -0.02926374040544033, 0.0454556867480278, -0.023039858788251877, -0.016832398250699043, 0.005062035750597715, 0.002190264407545328, -0.025831572711467743, -0.0457841232419014, 0.02292490564286709, 0.042696814984083176, 0.04082472249865532, -0.019854018464684486, -0.10326060652732849, 0.03911685198545456, -0.04240122064948082, 0.011938686482608318, -0.035438355058431625, -0.05724657326936722, 0.06739527732133865, 0.006170510780066252, -0.022399405017495155, -0.027473757043480873, 0.017620647326111794, 0.0503493957221508, -0.040397755801677704, -0.008371039293706417, 0.027523024007678032, 0.01349876169115305, 0.04867436736822128, 0.020166033878922462, -0.0022272136993706226, 0.09531242400407791, 0.03507707640528679, 0.004220415838062763, 0.018162567168474197, -0.021758953109383583, 0.0180804580450058, -0.014763244427740574, -0.009048440493643284, 0.02348324842751026, 0.0162576325237751, -0.03190765902400017, -0.013630136847496033, 0.02047804929316044, 0.01145424135029316, 0.055965669453144073, 0.010074806399643421, -0.04640815407037735, -0.03488001227378845, 0.024928370490670204, 0.02512543275952339, -0.0067616975866258144, -0.0325152650475502, -0.011232546530663967, 0.0571480430662632, -0.0019665167201310396, 0.015387275256216526, -0.00970531441271305, -0.014869987033307552, 0.02781861647963524, -0.03010125458240509, -0.024780573323369026, -0.02757228910923004, -0.04397771880030632, -0.04466743767261505, -0.022366562858223915, -0.0372447595000267, 0.06305991113185883, -0.025683775544166565, 0.01627405546605587, 0.04739346355199814, 0.05021802335977554, -0.003150942735373974, -0.027178164571523666, -0.03333636000752449, 0.007927648723125458, 0.013950362801551819, 0.10950090736150742, 0.06026819720864296, -0.03438735753297806, 0.071664959192276, -0.02187390625476837, -0.020937860012054443, -0.03816438466310501, -0.004971715621650219, 0.022317295894026756, -0.04742630943655968, 0.012505239807069302, -0.02450140193104744, -0.006884861271828413, -0.08427694439888, -0.04135022312402725, -0.03093876875936985, 0.03422313928604126, 0.024172965437173843, 0.0751463919878006, 0.004984031897038221, 0.04318946972489357, 0.010846633464097977, -0.06194322556257248, -0.0004413372662384063, 0.11134015768766403, -0.04805033653974533, -0.0008795954054221511, 0.09045156091451645, -0.043517906218767166, 0.03665357455611229, -0.020560158416628838, -0.030396847054362297, -0.0010817894944921136, 0.02941153571009636, 0.03803300857543945, 0.062304504215717316, -0.001498493948020041, 0.02514185570180416, 0.06319128721952438, 0.03970803692936897, 0.0035963854752480984, 0.08887506276369095, 0.03928107023239136, 0.01860595867037773, 0.03445304557681084, -0.012094694189727306, 0.05944710224866867, 0.02860686555504799, 0.004988137632608414, 0.06089222431182861, 0.0284098032861948, 0.03744182363152504, 0.07021983712911606, -0.0405619740486145, 0.062304504215717316, -0.010173337534070015, 0.015650024637579918, -0.0028676658403128386, -0.03560257330536842, -0.041842877864837646, -0.0539950467646122, 0.04657237231731415, 0.01540369726717472, 0.01427880022674799, 0.031300049275159836, 0.0055382694117724895, 0.05704951286315918, 0.0013578818179666996, 0.0732414573431015, 0.0005542375147342682, -0.013088216073811054, 0.026537712663412094, -0.00010289316560374573, -0.025782307609915733, 0.07921901345252991, -0.0004711018700618297, 0.01878659799695015, -0.04801749438047409, 0.02859044447541237, -0.003430114360526204, -0.0688403993844986, -0.008407987654209137, -0.03264664113521576, 0.05271414294838905, 0.026209276169538498, 0.010772734880447388, -0.018458161503076553, -0.01349876169115305, 0.015206634998321533, -0.0024653305299580097, -0.018211834132671356, 0.04637530818581581, 0.012726934626698494, 0.010649571195244789, 0.0012788516469299793, -0.06319128721952438, 0.00612535048276186, -0.005796913523226976, 0.0065564243122935295, 0.000006691423550364561, -0.00937687698751688, 0.03941244259476662, -0.02676761895418167, 0.02279352955520153, 0.024764152243733406, -0.018211834132671356, 0.03563541918992996, -0.009302979335188866, -0.041810035705566406, -0.005049719475209713, -0.015149158425629139, 0.030708862468600273, 0.014254167675971985, 0.044273313134908676, -0.027243852615356445, 0.03088950365781784, -0.03849282115697861, 0.023039858788251877, 0.027917148545384407, 0.062304504215717316, -0.010871266014873981, -0.02126629836857319, 0.00009410490747541189, -0.0018926183693110943, -0.013933940790593624, 0.03806585073471069, -0.055834297090768814, 0.009869532659649849, -0.0035389091353863478, -0.018474582582712173, -0.009951641783118248, -0.028984569013118744, -0.024829840287566185, 0.008473675698041916, 0.022530781105160713, 0.003930980805307627, 0.026603398844599724, -0.05553870275616646, 0.0342559814453125, -0.00006193475564941764, 0.020543737336993217, -0.009853110648691654, 0.00487728975713253, 0.026455603539943695, -0.02185748517513275, 0.0286561306566, 0.03524129465222359, 0.0025084379594773054, 0.05869169905781746, 0.025733042508363724, -0.018392473459243774, -0.050053805112838745, 0.026751196011900902, -0.02295774780213833, -0.03190765902400017, 0.04217131435871124, -0.03560257330536842, 0.042696814984083176, 0.009549306705594063, -0.0028389275539666414, 0.03107014298439026, -0.011881209909915924, 0.033894702792167664, -0.048444461077451706, 0.014352698810398579, -0.06752665340900421, -0.06253441423177719, -0.0018187201349064708, 0.05767354369163513, 0.00899096392095089, 0.0015621286584064364, -0.0006620059139095247, 0.04729493334889412, -0.05954563245177269, 0.01630689948797226, -0.006441471166908741, 0.05195873975753784, -0.09774286299943924, -0.0011803206289187074, 0.06690262258052826, 0.029887769371271133, -0.0555715449154377, -0.04811602458357811, -0.07067964971065521, -0.02371315471827984, 0.03402607515454292, 0.02290848270058632, -0.01341665256768465, -0.048542995005846024, 0.03396039083600044, 0.04000363126397133, 0.06897177547216415, -0.028212741017341614, 0.03760604187846184, -0.04138306528329849, -0.047721900045871735, 0.015140946954488754, -0.011987951584160328, 0.005780491977930069, 0.026537712663412094, -0.07613170146942139, -0.06805215030908585, -0.002976460615172982, 0.04699933901429176, -0.005431527271866798, 0.06260009855031967, 0.020510893315076828, -0.04164581745862961, -0.027949990704655647, 0.008440831676125526, 0.01390109769999981, -0.041810035705566406, -0.030478956177830696, 0.01955842599272728, 0.006568740587681532, 0.03356626629829407, 0.01868806779384613, -0.005041508469730616, 0.0327615924179554, -0.050940584391355515, 0.02193959429860115, -0.01721009984612465, 0.07475227117538452, -0.003467063419520855, 0.006166405510157347, 0.017456429079174995, 0.049199867993593216, -0.038657039403915405, -0.013350965455174446, 0.018901551142334938, 0.008900643326342106, 0.046736590564250946, -0.012382076121866703, -0.044404685497283936, 0.012365654110908508, 0.02778577245771885, 0.010148704051971436, 0.05133470892906189, -0.026389915496110916, 0.021808218210935593, 0.04558705911040306, -0.007176349405199289, 0.022350139915943146, 0.005952921230345964, 0.02440287172794342, -0.00447905994951725, 0.023072700947523117, 0.0732414573431015, -0.023335451260209084, -0.0016781080048531294, -0.012439552694559097, -0.03412460908293724, 0.027523024007678032, 0.041908565908670425, -0.013572660274803638, -0.006014503072947264, 0.008605049923062325, -0.008851378224790096, -0.09426143020391464, 0.014730401337146759, -0.06322412937879562, -0.0009380982955917716, 0.05438917130231857, -0.020872173830866814, -0.012973262928426266, -0.008695370517671108, -0.008473675698041916, -0.028853192925453186, 0.009270135313272476, -0.02120061032474041, -0.04407624900341034, -0.013851831667125225, 0.0033952179364860058, 0.010214392095804214, 0.02187390625476837, -0.03642366826534271, -0.009885954670608044, -0.0027629765681922436, 0.07146789878606796, 0.023368295282125473, 0.007110661827027798, -0.002672656439244747, -0.03589816763997078, 0.03093876875936985, -0.028853192925453186, 0.032088298350572586, -0.0028348220512270927, 0.03579963743686676, -0.034617263823747635, 0.04493018612265587, -0.05964416638016701, -0.015370853245258331, 0.007800379768013954, -0.06831490248441696, -0.03573394939303398, 0.01020618062466383, 0.02703036740422249, -0.044339001178741455, -0.04135022312402725, -0.03501138836145401, 0.02113492228090763, 0.007874278351664543, -0.002372957533225417, 0.024961214512586594, -0.013088216073811054, 0.000054878491937415674, 0.03202261030673981, 0.03524129465222359, 0.0006327544688247144, -0.074817955493927, -0.035536885261535645, -0.04499587416648865, -0.009294767864048481, -0.010353977791965008, -0.03852566331624985, 0.00854757335036993, 0.001972674857825041, -0.01308000460267067, 0.020872173830866814, 0.00006889479845995083, 0.025765884667634964, 0.07737976312637329, 0.04138306528329849, 0.05724657326936722, 0.0029128259047865868, -0.02269499935209751, -0.0003548659442458302, 0.012546294368803501, 0.012973262928426266, -0.037901632487773895, -0.012973262928426266, -0.05879022926092148, 0.04148159921169281, 0.03258095309138298, -0.01553507149219513, -0.032236095517873764, -0.011733412742614746, 0.05951279029250145, 0.0672639012336731, -0.04138306528329849, -0.03435451537370682, 0.0342559814453125, -0.016627125442028046, 0.03823006898164749, -0.04161297157406807, -0.010936953127384186, 0.007430887781083584, -0.039576660841703415, -0.024599933996796608, 0.013063582591712475, -0.012923996895551682, 0.027178164571523666, -0.016881663352251053, -0.05688529461622238, -0.0012962999753654003, -0.046900808811187744, -0.010690625756978989, 0.0039166114293038845, 0.016758499667048454, -0.014065315946936607, -0.011462452821433544, -0.048510149121284485, -0.04709786921739578, -0.0018115355633199215, -0.00933582242578268, 0.0024406977463513613, -0.028886036947369576, -0.08243769407272339, -0.03826291486620903, 0.06177900731563568, -0.07409539818763733, 0.010083016939461231, -0.061483412981033325, -0.016126258298754692, 0.024222230538725853, -0.03028189390897751, -0.029033834114670753, -0.007976914756000042, -0.01716083474457264, -0.037967320531606674, -0.024780573323369026, 0.03354984149336815, 0.054881829768419266, -0.051630303263664246, -0.03895263373851776, 0.06214028596878052, -0.04049628600478172, 0.05642548203468323, 0.008884221315383911, -0.019016504287719727, 0.0059036556631326675, 0.033829014748334885, 0.005739436950534582, -0.026652665808796883, -0.04046344384551048, -0.04401056095957756, -0.017686333507299423, 0.017308631911873817, -0.031447846442461014, -0.012595560401678085, 0.006076084915548563, -0.006149983499199152, 0.04401056095957756, 0.02368031069636345, -0.0031776283867657185, 0.0162576325237751, 0.014796088449656963, -0.0323510468006134, 0.016536803916096687, -0.022580046206712723, 0.024796996265649796, -0.0006014503305777907, -0.017669912427663803, 0.030364003032445908, -0.0751463919878006, -0.016758499667048454, 0.020166033878922462, -0.029854927211999893, -0.0228099524974823, 0.08480244129896164, 0.008818534202873707, -0.020921438932418823, 0.008859588764607906, 0.021611155942082405, -0.05530879646539688, 0.02202170342206955, 0.007545840926468372, 0.033139295876026154, 0.028163475915789604, 0.02029740810394287, -0.00940972100943327, 0.015469384379684925, -0.010493563488125801, 0.032285358756780624, 0.04217131435871124, -0.05038224160671234, -0.02770366333425045, -0.08913780748844147, 0.013236012309789658, 0.0038529769517481327, -0.0005213937838561833, -0.012776200659573078, -0.01619194634258747, -0.03800016641616821, -0.04253259673714638, -0.03445304557681084, 0.011979741044342518, 0.00006530251994263381, -0.017292208969593048, -0.06857765465974808, -0.017768442630767822, 0.03507707640528679, 0.14832216501235962, 0.014016050845384598, -0.014935674145817757, -0.00509898504242301, 0.023121967911720276, -0.0072091929614543915, 0.057509325444698334, 0.033073607832193375, -0.006835595704615116, 0.026258541271090508, -0.013334543444216251, -0.02515827678143978, 0.014582604169845581, 0.012341021560132504, 0.06838058680295944, -0.03754035383462906, -0.04630962014198303, -0.030331160873174667, -0.03202261030673981, -0.049988117069005966, 0.0037318659014999866, 0.009467197582125664, 0.06351972371339798, 0.02673477493226528, -0.02207096852362156, -0.005809230264276266, -0.08191219717264175, -0.01952558197081089, -0.055735763162374496, -0.020034659653902054, -0.0487729012966156, -0.06637712568044662, -0.0029333531856536865, -0.05232001841068268, 0.0356682613492012, 0.035504043102264404, 0.0030873080249875784, -0.027851460501551628, -0.015691079199314117, -0.027096055448055267, -0.023023435845971107, 0.04138306528329849, -0.02187390625476837, -0.04814887046813965, 0.012882942333817482, 0.016668180003762245, -0.005870812106877565, -0.02510901167988777, 0.013950362801551819, 0.04870721325278282, -0.005000453907996416, -0.010690625756978989, -0.009007385931909084, -0.031152252107858658, 0.005004559177905321, -0.035405512899160385, 0.030676018446683884, -0.026439180597662926, -0.02031383104622364, 0.04489734396338463, -0.010427875444293022, -0.024107277393341064, -0.012833677232265472, -0.04972536861896515, 0.0442076250910759, 0.048477306962013245, 0.04266396909952164, 0.013334543444216251, -0.027408070862293243, -0.0830288827419281, 0.0019377785502001643, -0.026554133743047714, 0.05041508376598358, 0.03760604187846184, -0.013958574272692204, -0.01019797008484602, 0.02282637357711792, -0.0038837678730487823, 0.023893794044852257, 0.04374781250953674, -0.04322231188416481, 0.03103729896247387, -0.03202261030673981, 0.007685426622629166, 0.032137565314769745, -0.039543818682432175, -0.0997791737318039, 0.06539181619882584, -0.03343489021062851, -0.04082472249865532, -0.04020069167017937, -0.045291468501091, -0.05961132049560547, -0.06164763122797012, -0.011429608799517155, 0.03246600180864334, -0.0372447595000267, 0.019919706508517265, 0.03363195061683655, -0.042696814984083176, 0.0554073266685009, 0.014188479632139206, 0.015206634998321533, 0.033763326704502106, -0.015140946954488754, 0.006100717931985855, 0.006461998447775841, -0.014779666438698769, 0.07015415281057358, -0.0008816481567919254, -0.019082192331552505, 0.009450775571167469, -0.017357897013425827, -0.00819450430572033, -0.03325425088405609, 0.016832398250699043, -0.013309910893440247, -0.009565728716552258, -0.05678676441311836, -0.04900280386209488, 0.03100445680320263, -0.009844900108873844, -0.0269154142588377, 0.02525680884718895, -0.04739346355199814, -0.026504868641495705, -0.022662155330181122, -0.053338173776865005, -0.017587803304195404, -0.01629047654569149, -0.0019665167201310396, 0.004663805942982435, 0.029066678136587143, -0.041120316833257675, 0.012423130683600903, 0.041087474673986435, -0.08276613056659698, -0.027473757043480873, -0.038689881563186646, 0.0036743893288075924, 0.0074965753592550755, -0.017407162114977837, 0.004984031897038221, -0.08224063366651535, -0.13183462619781494, -0.012390286661684513, 0.032252516597509384, 0.05685245245695114, -0.009729946963489056, -0.009146971628069878, -0.04637530818581581, 0.03514276444911957, 0.005673749838024378, -0.0062444088980555534, 0.015674658119678497, 0.004594013094902039, -0.010707047767937183, 0.036128073930740356, 0.015182001516222954, 0.011478873901069164, 0.020642267540097237, -0.007274880539625883, -0.02609432302415371, -0.01794908381998539, 0.01964053511619568, -0.00233395560644567, 0.00978742353618145, -0.07586895674467087, 0.0017879290971904993, 0.0089991744607687, -0.03103729896247387, 0.023910216987133026, 0.0012131643015891314, -0.028754662722349167, -0.07173065096139908, 0.04407624900341034, 0.041021786630153656, -0.008457253687083721, -0.054914671927690506, 0.00043774498044513166, 0.0122342798858881, 0.03336920216679573, -0.010830211453139782, -0.013277066871523857, 0.030478956177830696, 0.002019887790083885, -0.02924731746315956, -0.0055875349789857864, -0.049265556037425995, -0.019427049905061722, -0.04082472249865532, 0.06404522061347961, 0.015461173839867115, 0.003068833611905575, 0.03908400610089302, 0.020543737336993217, 0.00770184863358736, 0.03333636000752449, 0.0861818790435791, 0.023975903168320656, 0.05609704554080963, 0.056721076369285583, 0.01386004313826561, -0.004335368983447552, -0.0048033916391432285, -0.02678404003381729, -0.02510901167988777, 0.012718724086880684, 0.013433074578642845, -0.02456708997488022, 0.0106577817350626, 0.04900280386209488, 0.03645651042461395, 0.08788975328207016, 0.0896633118391037 ]
42,004
torch.fx.interpreter
run
Run `module` via interpretation and return the result. Args: *args: The arguments to the Module to run, in positional order initial_env (Optional[Dict[Node, Any]]): An optional starting environment for execution. This is a dict mapping `Node` to any value. This can be used, for example, to pre-populate results for certain `Nodes` so as to do only partial evaluation within the interpreter. enable_io_processing (bool): If true, we process the inputs and outputs with graph's process_inputs and process_outputs function first before using them. Returns: Any: The value returned from executing the Module .. note:: Backwards-compatibility for this API is guaranteed.
@compatibility(is_backward_compatible=True) def run(self, *args, initial_env : Optional[Dict[Node, Any]] = None, enable_io_processing : bool = True) -> Any: """ Run `module` via interpretation and return the result. Args: *args: The arguments to the Module to run, in positional order initial_env (Optional[Dict[Node, Any]]): An optional starting environment for execution. This is a dict mapping `Node` to any value. This can be used, for example, to pre-populate results for certain `Nodes` so as to do only partial evaluation within the interpreter. enable_io_processing (bool): If true, we process the inputs and outputs with graph's process_inputs and process_outputs function first before using them. Returns: Any: The value returned from executing the Module """ self.env = initial_env if initial_env is not None else {} # Positional function args are consumed left-to-right by # `placeholder` nodes. Use an iterator to keep track of # position and extract those values. if enable_io_processing: args = self.graph.process_inputs(*args) self.args_iter : Iterator[Any] = iter(args) pbar = tqdm(total=len(self.graph.nodes), desc=f"{self.name}: {str(list(self.graph.nodes)) if config.verbose_progress else ''}", initial=0, position=0, leave=True, disable=config.disable_progress, delay=0) for node in self.graph.nodes: pbar.update(1) if node in self.env: # Short circuit if we have this value. This could # be used, for example, for partial evaluation # where the caller has pre-populated `env` with # values for a subset of the program. continue try: self.env[node] = self.run_node(node) except Exception as e: if self.extra_traceback: msg = f"While executing {node.format_node()}" msg = f'{e.args[0]}\n\n{msg}' if e.args else str(msg) msg += f"\nOriginal traceback:\n{node.stack_trace}" e.args = (msg,) + e.args[1:] if isinstance(e, KeyError): raise RuntimeError(*e.args) from e raise if self.garbage_collect_values: for to_delete in self.user_to_last_uses.get(node, []): del self.env[to_delete] if node.op == 'output': output_val = self.env[node] return self.graph.process_outputs(output_val) if enable_io_processing else output_val
(self, *args, initial_env: Optional[Dict[torch.fx.node.Node, Any]] = None, enable_io_processing: bool = True) -> Any
[ 0.05660124123096466, -0.06946001946926117, -0.0400092713534832, 0.047173984348773956, 0.015111889690160751, 0.05192532017827034, -0.04460977017879486, -0.013273575343191624, 0.01622430607676506, -0.09291502833366394, 0.052226994186639786, 0.01700676791369915, -0.004084358457475901, 0.01820402964949608, -0.04328995570540428, 0.01955212652683258, 0.008743778802454472, 0.07285382598638535, 0.01712932251393795, 0.02822520211338997, -0.07941519469022751, -0.015272153541445732, 0.01020971778780222, 0.002055141609162092, 0.0006764055578969419, -0.038878001272678375, 0.0545649528503418, -0.03697369620203972, -0.010388835333287716, -0.04125366732478142, -0.02969585359096527, -0.04242264851927757, -0.03320279344916344, 0.011001606471836567, 0.04841838404536247, -0.02669798582792282, -0.02916792780160904, 0.07768058031797409, -0.08228108286857605, -0.04864463582634926, -0.03463573381304741, -0.09985348582267761, 0.03158130496740341, 0.0011318598408252, -0.03422093763947487, -0.03135504946112633, 0.0222671777009964, -0.0019926861859858036, -0.02781040221452713, -0.05550767853856087, 0.061918213963508606, -0.038142673671245575, 0.04630667716264725, 0.08303526043891907, -0.01078477967530489, 0.07941519469022751, 0.004360105376690626, -0.012387413531541824, 0.027961239218711853, -0.021795814856886864, 0.02488795295357704, 0.035257935523986816, -0.015658671036362648, 0.03620066121220589, -0.0010246247984468937, 0.016299724578857422, -0.03687942400574684, -0.0017982489662244916, -0.02115476131439209, 0.029262199997901917, -0.024906808510422707, -0.006844187155365944, 0.0579964742064476, 0.0021611982956528664, 0.05211386829614639, -0.004461448639631271, -0.050756342709064484, -0.005764766596257687, -0.005345253739506006, 0.006033443380147219, 0.005849611945450306, 0.047551076859235764, -0.03591784089803696, -0.01540413498878479, -0.007070441264659166, -0.0337684266269207, -0.020570270717144012, 0.026320897042751312, -0.02045714296400547, -0.06663183867931366, -0.040273234248161316, 0.04283744841814041, -0.022286031395196915, 0.09238710254430771, 0.04743794724345207, -0.013188729993999004, -0.005953311454504728, -0.07387197017669678, -0.05411244556307793, -0.03591784089803696, 0.030940251424908638, 0.06780081987380981, -0.016375143080949783, 0.005005872342735529, 0.03857632726430893, 0.015149598941206932, -0.0031887691002339125, 0.04034865275025368, 0.03872716426849365, -0.0390288382768631, -0.10415231436491013, 0.0272824764251709, -0.02443544566631317, -0.03207152336835861, -0.020306307822465897, 0.011510678566992283, -0.05486662685871124, -0.020155470818281174, 0.030996814370155334, 0.036464624106884, -0.044383518397808075, 0.06365282833576202, 0.003325464203953743, -0.017063332721590996, 0.03684171289205551, 0.04042407125234604, 0.009710072539746761, 0.019985780119895935, -0.00364599097520113, -0.0704781636595726, 0.03109108842909336, -0.03248632326722145, -0.021550705656409264, 0.07221277803182602, 0.026339750736951828, 0.017770376056432724, -0.05973108857870102, 0.028357183560729027, -0.03461688011884689, 0.03073285147547722, 0.038067255169153214, -0.04370475560426712, -0.004584002774208784, 0.017515840008854866, -0.01824173890054226, -0.022870521992444992, -0.0022884660866111517, 0.006815905682742596, -0.0015413562068715692, -0.018750810995697975, 0.01659196987748146, 0.021173615008592606, -0.01435770932585001, 0.0367097333073616, -0.007098723202943802, 0.045288532972335815, -0.0039123110473155975, 0.010860198177397251, -0.015036472119390965, -0.006311547476798296, -0.0800185427069664, -0.03861403837800026, 0.0440441370010376, -0.02407721057534218, 0.013264148496091366, 0.024246901273727417, 0.012519394978880882, -0.019495563581585884, -0.05743083730340004, 0.05135968700051308, -0.004041935782879591, -0.04743794724345207, -0.007221277337521315, 0.03488084301352501, -0.00418098783120513, 0.07334404438734055, 0.0028894536662846804, 0.019778382033109665, -0.023266466334462166, 0.026113497093319893, -0.008220566436648369, -0.028413746505975723, -0.07556887716054916, -0.060862358659505844, 0.004322396591305733, 0.013132166117429733, 0.03207152336835861, -0.04630667716264725, 0.046268969774246216, -0.008145148865878582, -0.008691929280757904, 0.0152627257630229, 0.07281611859798431, 0.05513058975338936, 0.0362195149064064, -0.024416590109467506, -0.0409897044301033, 0.02136215940117836, 0.033051956444978714, 0.022040922194719315, 0.004277617204934359, 0.014310573227703571, 0.09706301987171173, 0.04313911870121956, -0.07179797440767288, 0.017977776005864143, -0.00928584672510624, 0.057280004024505615, -0.02394522912800312, -0.012849348597228527, -0.05731771141290665, -0.05332055687904358, 0.048908598721027374, 0.08205483108758926, 0.011472969315946102, 0.001398768974468112, 0.03910425305366516, 0.049964454025030136, 0.021663831546902657, -0.023888664320111275, 0.05184990540146828, 0.012076313607394695, 0.011567242443561554, -0.04513769969344139, 0.010228571482002735, -0.06474638730287552, 0.009681791067123413, -0.005887320730835199, -0.0024770114105194807, -0.022361449897289276, 0.03520137071609497, -0.016214879229664803, -0.013443266041576862, 0.009691217914223671, 0.02928105555474758, -0.0014871495077386498, 0.022399159148335457, -0.001793535309843719, -0.03039347007870674, -0.007702067494392395, -0.06896980106830597, -0.0031604873947799206, -0.007032732479274273, -0.06312490254640579, -0.0352390818297863, 0.010388835333287716, 0.045250825583934784, 0.016403423622250557, -0.03718109428882599, -0.003789756679907441, 0.0007783377659507096, -0.02637745998799801, -0.019533272832632065, -0.009728927165269852, -0.01972181722521782, -0.0034951549023389816, 0.044458936899900436, -0.0009592231945134699, 0.07571971416473389, 0.020061198621988297, 0.0250199344009161, -0.032542884349823, -0.034522607922554016, 0.06259697675704956, 0.03687942400574684, -0.015658671036362648, -0.02094736136496067, -0.025114208459854126, 0.004944595508277416, -0.017317866906523705, -0.036577749997377396, 0.056412696838378906, -0.020117763429880142, 0.006174852140247822, -0.050831761211156845, 0.006042870692908764, -0.018590547144412994, 0.02460513636469841, -0.002759828930720687, 0.02637745998799801, 0.027659567072987556, -0.047211695462465286, -0.06772540509700775, -0.005203844979405403, -0.042007848620414734, 0.002583067864179611, 0.009483818896114826, -0.0075418041087687016, 0.03314622864127159, -0.02320990152657032, 0.026113497093319893, 0.03252403065562248, 0.02452971786260605, 0.003926451783627272, 0.028771983459591866, 0.037067968398332596, -0.08627823740243912, 0.013886346481740475, -0.005180276930332184, -0.013924055732786655, 0.02275739423930645, -0.05648811161518097, -0.022644266486167908, -0.025604424998164177, 0.009295273572206497, -0.019570982083678246, 0.04645751416683197, 0.0008767347317188978, -0.06576453149318695, -0.015347571112215519, 0.0010216787923127413, -0.002649058820679784, 0.048003584146499634, 0.0016686241142451763, -0.010134299285709858, -0.018307728692889214, 0.05060550570487976, -0.03391926363110542, 0.03203381225466728, 0.03007294423878193, -0.06783852726221085, 0.03150588646531105, 0.0330331027507782, 0.03836892917752266, -0.00989861786365509, -0.002163555007427931, 0.07070441544055939, 0.011435260996222496, 0.0382935106754303, -0.016045188531279564, 0.0181097574532032, 0.011246715672314167, 0.006669783033430576, 0.04287515580654144, -0.024228045716881752, 0.0030756420455873013, 0.03109108842909336, -0.028526874259114265, 0.0183548666536808, -0.0450245700776577, 0.06282322853803635, 0.02760300412774086, -0.03944363445043564, 0.007390968035906553, 0.020815379917621613, -0.02366241067647934, 0.044308099895715714, 0.001837136340327561, 0.05207615718245506, -0.022172903642058372, -0.006108861416578293, 0.0825827568769455, -0.05294346436858177, 0.01925988309085369, 0.019495563581585884, -0.014320001006126404, 0.011878341436386108, -0.03371186554431915, -0.038425493985414505, -0.03320279344916344, 0.027263622730970383, -0.01914675533771515, -0.009889191016554832, 0.045288532972335815, -0.0029578013345599174, -0.09563007950782776, 0.011652087792754173, 0.021135905757546425, 0.0679139494895935, 0.009889191016554832, -0.003207623492926359, -0.049889035522937775, 0.02258770354092121, -0.03227892145514488, -0.04166846722364426, 0.06074923276901245, -0.022663122043013573, -0.044383518397808075, -0.017261303961277008, 0.003469229908660054, 0.05784563720226288, 0.02432231791317463, -0.031449321657419205, -0.03955676406621933, -0.007466386072337627, -0.03203381225466728, 0.019570982083678246, -0.007051587104797363, 0.020796524360775948, -0.019778382033109665, -0.004793759435415268, 0.006947887130081654, 0.011067597195506096, 0.05433869734406471, -0.014244582504034042, -0.006792337168008089, 0.029507309198379517, 0.038142673671245575, -0.0435539186000824, -0.02439773641526699, -0.0016485912492498755, -0.013584674336016178, 0.04087657853960991, 0.06010818108916283, 0.031109942123293877, -0.04811671003699303, 0.05841127410531044, 0.011171297170221806, 0.035352207720279694, 0.051774486899375916, 0.010756498202681541, -0.022229468449950218, -0.07496553659439087, 0.005736484657973051, -0.05976879969239235, 0.00836197566241026, 0.03186412155628204, -0.026264332234859467, 0.058599818497896194, -0.020268598571419716, 0.00989861786365509, 0.05524371564388275, 0.06659413129091263, 0.04042407125234604, 0.036257222294807434, -0.012623094953596592, 0.003207623492926359, -0.0040277945809066296, -0.02567984350025654, 0.059127744287252426, -0.044383518397808075, 0.005854325369000435, -0.011491823941469193, -0.0200046356767416, -0.009436682797968388, -0.04675918444991112, 0.020607979968190193, 0.0003081533941440284, 0.07251444458961487, 0.0474756583571434, 0.001808854634873569, 0.024454299360513687, 0.06968627125024796, -0.028112074360251427, -0.03463573381304741, 0.018496274948120117, -0.027546439319849014, 0.031147651374340057, -0.06795165687799454, -0.00036206553340889513, -0.018175747245550156, 0.006853614468127489, 0.03073285147547722, -0.04724940285086632, -0.04630667716264725, -0.04509998857975006, 0.0069997371174395084, 0.0015060040168464184, -0.0018265306716784835, 0.04170617833733559, 0.01458396390080452, 0.035182517021894455, -0.02813092991709709, -0.023511573672294617, 0.01160495076328516, -0.024246901273727417, 0.08605198562145233, -0.023341882973909378, -0.05965567007660866, -0.0041362084448337555, 0.04913485422730446, 0.03512595221400261, 0.018515128642320633, -0.02083423361182213, 0.0056233578361570835, 0.0077350628562271595, -0.05795876681804657, -0.045288532972335815, -0.02756529487669468, -0.06014588847756386, -0.0023120343685150146, -0.028903964906930923, 0.07323091477155685, 0.06150341406464577, -0.04592958837747574, -0.00008933797653298825, 0.10151268541812897, -0.026471732184290886, 0.05871294438838959, -0.012538249604403973, -0.03910425305366516, -0.0414799228310585, 0.03512595221400261, 0.020438289269804955, -0.026113497093319893, -0.03765245899558067, 0.033259354531764984, 0.007716208230704069, 0.025943806394934654, -0.056412696838378906, 0.02181466855108738, 0.049474235624074936, -0.009003028273582458, -0.024963371455669403, 0.044798318296670914, 0.025038789957761765, 0.011944332160055637, 0.02073996141552925, -0.03273142874240875, 0.030204925686120987, -0.021135905757546425, -0.0034645162522792816, 0.021512996405363083, -0.03290111944079399, -0.005637498572468758, -0.010426544584333897, 0.02132445201277733, 0.0362195149064064, -0.029318762943148613, -0.032392047345638275, -0.000016681822671671398, 0.021663831546902657, 0.03129848837852478, -0.014857354573905468, 0.023568138480186462, 0.020853089168667793, -0.029714709147810936, -0.016808796674013138, 0.025830678641796112, 0.019080763682723045, 0.006825332995504141, -0.02160726860165596, 0.016403423622250557, -0.002157662995159626, 0.02871541865170002, -0.010662226006388664, 0.0679139494895935, 0.014961053617298603, -0.04419497400522232, -0.00023685979249421507, -0.009450823068618774, 0.01782693900167942, 0.0008667182992212474, 0.026792259886860847, 0.02522733435034752, -0.038255803287029266, 0.030959106981754303, 0.05388619005680084, 0.000080868172517512, -0.03158130496740341, -0.05388619005680084, 0.01094504352658987, 0.03418322652578354, 0.08190399408340454, -0.009832627139985561, -0.024982227012515068, 0.0008979460690170527, 0.036464624106884, 0.011661514639854431, 0.03122306987643242, -0.0077350628562271595, 0.008201711811125278, -0.031317342072725296, -0.026980804279446602, 0.05030383542180061, 0.018232312053442, -0.011944332160055637, -0.018185175955295563, -0.032599449157714844, -0.013810928910970688, 0.02098507061600685, -0.02603807859122753, 0.06976168602705002, -0.021418724209070206, -0.01082248892635107, -0.00492102699354291, 0.0015130745014175773, 0.01655426062643528, 0.01892992854118347, -0.057657092809677124, -0.017883503809571266, -0.00588260730728507, -0.01277393102645874, -0.025981515645980835, 0.0003337837406434119, 0.026679132133722305, -0.010464252904057503, 0.04762649163603783, 0.04181930422782898, -0.0029059513472020626, -0.028451455757021904, -0.012707940302789211, 0.007702067494392395, -0.036464624106884, 0.026980804279446602, 0.014781936071813107, -0.04472289979457855, 0.022003212943673134, 0.05833585560321808, -0.018006056547164917, -0.10505732893943787, -0.01705390401184559, 0.05803418159484863, -0.04513769969344139, -0.0001607052399776876, -0.003221764462068677, -0.02432231791317463, -0.013924055732786655, -0.007164713926613331, 0.04279973730444908, 0.012990757822990417, -0.047173984348773956, 0.0013669519685208797, 0.002799894893541932, -0.029808981344103813, -0.02279510349035263, -0.015272153541445732, 0.02805551141500473, 0.09050165116786957, 0.021626124158501625, 0.035389915108680725, 0.03252403065562248, -0.058109600096940994, -0.06157883256673813, -0.01014372706413269, 0.059580251574516296, -0.015036472119390965, -0.0649726465344429, 0.004176273941993713, 0.008310125209391117, -0.03463573381304741, -0.041630759835243225, 0.04057490825653076, -0.02139986865222454, 0.03505053371191025, -0.08605198562145233, 0.05256637558341026, 0.012689085677266121, -0.017383858561515808, -0.04449664428830147, -0.02021203562617302, -0.005137854255735874, -0.03586127981543541, -0.014715945348143578, -0.0007712673395872116, -0.05000216141343117, -0.005321685690432787, 0.032542884349823, 0.08484529703855515, 0.016365714371204376, -0.0036860567051917315, 0.05301888287067413, -0.011020461097359657, 0.0007706781034357846, 0.03258059546351433, 0.023228757083415985, -0.054527245461940765, -0.02428460866212845, 0.004718341398984194, -0.01250996720045805, -0.017233023419976234, 0.004480303265154362, -0.006245556753128767, 0.014753654599189758, 0.007065727841109037, -0.04660835117101669, 0.004751336760818958, 0.02341730147600174, 0.034484900534152985, 0.0020999209955334663, -0.011359842494130135, -0.04381788149476051, 0.011322133243083954, -0.025887243449687958, -0.04547707736492157, 0.00897474680095911, 0.02994096279144287, 0.015828361734747887, -0.043440792709589005, -0.016082897782325745, -0.039519052952528, 0.02509535290300846, -0.059090036898851395, -0.00891346950083971, -0.019702963531017303, 0.020607979968190193, -0.05135968700051308, 0.007051587104797363, 0.033824991434812546, -0.0825827568769455, -0.04762649163603783, 0.018307728692889214, 0.0455147884786129, -0.030902542173862457, -0.012698512524366379, -0.05784563720226288, -0.04728711396455765, -0.047588784247636795, -0.013961764983832836, -0.018750810995697975, 0.030261488631367683, -0.029771272093057632, -0.017600685358047485, -0.04016010835766792, 0.04585416987538338, 0.04785274714231491, -0.07357029616832733, 0.010285135358572006, -0.022568849846720695, -0.007970744743943214, 0.022399159148335457, 0.0036860567051917315, -0.01174635998904705, 0.004793759435415268, -0.012896484695374966, 0.02390751987695694, -0.06878125667572021, 0.03158130496740341, -0.04728711396455765, -0.006688637658953667, -0.02370011992752552, 0.024020645767450333, 0.06689580529928207, 0.023850955069065094, 0.0019479065667837858, 0.024171482771635056, -0.02739560417830944, -0.06074923276901245, 0.06908292323350906, 0.017902357503771782, -0.008861619979143143, 0.04279973730444908, -0.03663431480526924, -0.019080763682723045, 0.003862817771732807, -0.03774673119187355, 0.027489876374602318, -0.00979491788893938, -0.025660987943410873, -0.014734799973666668, 0.005232126452028751, -0.02662256918847561, -0.08929496258497238, -0.0061559975147247314, 0.07424905896186829, -0.006966741755604744, -0.0070138778537511826, 0.0035917842760682106, 0.03520137071609497, 0.010831915773451328, 0.055394552648067474, 0.022945938631892204, 0.005411244463175535, 0.0774543285369873, 0.07081753760576248, -0.032844558358192444, 0.03906654566526413, 0.02132445201277733, -0.04102741554379463, -0.1000797376036644, -0.04638209566473961, 0.006123002152889967, -0.0066179330460727215, -0.016214879229664803, 0.03457917273044586, 0.006075866054743528, 0.005458380561321974, 0.003596497932448983 ]
42,005
opt_einsum_fx._efficient_shape_prop
run_node
null
def run_node(self, n: Node) -> Any: if n.op == "call_function" and n.target in _EINSUM_FUNCS: args, kwargs = self.fetch_args_kwargs_from_env(n) equation, *operands = args shapes = [op.shape for op in operands] assert len({op.dtype for op in operands}) == 1 meta = SimpleMeta(einsum_shape(equation, *shapes), operands[0].dtype) result = torch.zeros((1,) * len(meta.shape), dtype=meta.dtype, device=operands[0].device).expand(meta.shape) elif n.op == "call_function" and n.target == torch.tensordot: args, kwargs = self.fetch_args_kwargs_from_env(n) shape_a = [dim for i, dim in enumerate(args[0].shape) if i not in kwargs['dims'][0]] shape_b = [dim for i, dim in enumerate(args[1].shape) if i not in kwargs['dims'][1]] assert len({op.dtype for op in args}) == 1 meta = SimpleMeta(shape_a + shape_b, args[0].dtype) result = torch.zeros((1,) * len(meta.shape), dtype=meta.dtype, device=args[0].device).expand(meta.shape) else: result = super().run_node(n) if isinstance(result, torch.Tensor): meta = SimpleMeta(result.shape, result.dtype) else: meta = None n.meta = dict() n.meta['tensor_meta'] = meta n.meta['type'] = type(result) return result
(self, n: torch.fx.node.Node) -> Any
[ -0.016279855743050575, -0.06743444502353668, 0.09745509922504425, 0.021040592342615128, -0.004046626854687929, 0.0642232820391655, -0.07254990935325623, -0.046711236238479614, -0.004116637632250786, -0.022459479048848152, 0.04170779511332512, 0.06545547395944595, 0.01617717370390892, 0.03295177221298218, 0.005204139743000269, -0.011155061423778534, 0.023038236424326897, -0.007267125882208347, 0.013572769239544868, 0.024737166240811348, -0.05511253699660301, -0.0029801283963024616, 0.029777945950627327, 0.018912263214588165, 0.007948564365506172, 0.009820188395678997, 0.052536141127347946, -0.04712196812033653, 0.019677715376019478, -0.023206261917948723, -0.04320136085152626, -0.030599407851696014, 0.013031352311372757, 0.03362387418746948, 0.02568931318819523, -0.04267861321568489, -0.012741973623633385, 0.06500740349292755, -0.07493960857391357, 0.012415256351232529, -0.004602046217769384, -0.09551346302032471, 0.03920607268810272, 0.021245958283543587, -0.045441705733537674, -0.044918958097696304, 0.01749337650835514, -0.00679105194285512, -0.08446108549833298, -0.04663655906915665, 0.033231813460588455, -0.04506831616163254, 0.045142993330955505, 0.03108481504023075, -0.013442082330584526, 0.05664344131946564, 0.025222573429346085, -0.004006953909993172, -0.005950922146439552, 0.027985669672489166, 0.006730376277118921, 0.02023780159652233, -0.03278374671936035, 0.0031458206940442324, -0.03943010792136192, 0.0020699873566627502, -0.02684682607650757, 0.013619443401694298, 0.0016872613923624158, 0.04391080141067505, 0.02802300825715065, 0.01574777252972126, 0.04350007325410843, -0.012153882533311844, 0.03547216206789017, -0.015607750974595547, 0.005115459207445383, 0.03297043964266777, 0.014123521745204926, 0.00027712626615539193, -0.047980766743421555, -0.002835439285263419, -0.07277394086122513, -0.024793174117803574, -0.03465070202946663, -0.004403682425618172, 0.006310311146080494, 0.0042566596530377865, -0.05529923364520073, -0.04779407009482384, -0.025857338681817055, -0.021843384951353073, -0.0564940869808197, 0.042827967554330826, -0.00518546998500824, 0.020256470888853073, 0.01749337650835514, -0.06205761432647705, -0.0007304464816115797, -0.020573854446411133, 0.03946744650602341, 0.08162331581115723, 0.014478242956101894, 0.021021923050284386, 0.050519827753305435, -0.0026697469875216484, -0.057576920837163925, 0.015402385964989662, 0.032391685992479324, 0.016737259924411774, -0.05500052124261856, 0.06302843242883682, -0.027668286114931107, -0.018025459721684456, -0.0068890671245753765, -0.04644986242055893, -0.05597133934497833, 0.01910829357802868, -0.027220217511057854, 0.05690481513738632, 0.045889776200056076, 0.03715242072939873, -0.018940268084406853, -0.0437987856566906, -0.028601763769984245, 0.060414694249629974, 0.051789358258247375, -0.016867946833372116, 0.019771063700318336, -0.07479025423526764, 0.02761227823793888, 0.004779407288879156, 0.04443354904651642, 0.1297907680273056, -0.06926406174898148, 0.07344604283571243, 0.015766441822052002, -0.018660224974155426, -0.0218993928283453, 0.033567868173122406, 0.03138352930545807, 0.0264360960572958, 0.027836313471198082, -0.006576352287083864, -0.02684682607650757, 0.008261280134320259, -0.00170476408675313, 0.020405828952789307, -0.00013571894669439644, -0.059145163744688034, -0.008840036578476429, 0.024905191734433174, 0.06160954385995865, -0.018305502831935883, 0.0163358636200428, 0.04234255850315094, 0.06500740349292755, -0.03549083322286606, -0.024102400988340378, -0.03242902457714081, -0.05813700705766678, 0.02684682607650757, 0.005358163267374039, -0.012191222049295902, -0.013460752554237843, -0.03801122307777405, 0.022907549515366554, -0.029777945950627327, -0.02214209735393524, 0.027220217511057854, -0.03463203087449074, -0.04178247228264809, 0.0019696385134011507, 0.064447320997715, -0.031122155487537384, 0.03595757111907005, -0.01801612414419651, -0.04794342815876007, -0.04529235139489174, -0.01892159879207611, -0.029012495651841164, -0.02835906110703945, -0.008489982225000858, -0.04667389765381813, -0.021227288991212845, 0.05100523680448532, 0.017624063417315483, -0.059257179498672485, -0.002555395942181349, -0.010557635687291622, 0.0013383739860728383, 0.005096789449453354, -0.023673001676797867, 0.030263355001807213, 0.03283975273370743, 0.013442082330584526, -0.032186318188905716, 0.03452001512050629, 0.0026394089218229055, -0.01379680447280407, -0.03414662182331085, 0.017325351014733315, 0.05402970314025879, 0.054216399788856506, -0.03636829927563667, -0.022048749029636383, -0.005008109379559755, 0.09245165437459946, -0.016569234430789948, -0.005516854580491781, 0.021638019010424614, -0.00029010744765400887, 0.018454859033226967, 0.07744133472442627, 0.007150440942496061, -0.005068785510957241, 0.01874423772096634, 0.0265481136739254, -0.02389703504741192, -0.034071944653987885, 0.06769581884145737, -0.035658858716487885, 0.04256659373641014, 0.005106124561280012, -0.022608835250139236, -0.024046391248703003, -0.0058529069647192955, 0.0052834851667284966, -0.010641648434102535, -0.033866580575704575, -0.02371034026145935, 0.014599595218896866, -0.024046391248703003, -0.006455000024288893, -0.02171269804239273, 0.03369855508208275, 0.012424591928720474, -0.006492339074611664, 0.0004862836794927716, -0.014030173420906067, -0.0821460634469986, -0.04790608957409859, -0.02434510551393032, -0.050519827753305435, 0.004688392858952284, 0.016149168834090233, 0.05343227833509445, 0.0503704696893692, -0.08535722643136978, -0.005274150520563126, 0.012919334694743156, -0.03347451984882355, 0.04256659373641014, 0.0372084304690361, -0.00221234280616045, 0.006440998055040836, 0.049362313002347946, 0.012984678149223328, 0.06306576728820801, -0.01380613911896944, 0.050930555909872055, -0.07523832470178604, -0.016783934086561203, 0.014954316429793835, -0.02066720277070999, -0.041670456528663635, -0.05066918209195137, 0.025651974603533745, -0.04036358743906021, 0.01485163439065218, 0.05152798444032669, 0.07598510384559631, 0.0027490926440805197, -0.007127104327082634, 0.008742021396756172, -0.0012508605141192675, -0.0031014804262667894, 0.04562840238213539, -0.006408326327800751, -0.0020104781724512577, -0.006370986811816692, -0.035976238548755646, -0.049997080117464066, -0.03410928323864937, -0.059369198977947235, -0.018865589052438736, 0.00046032131649553776, -0.020405828952789307, 0.044620245695114136, -0.042939987033605576, 0.030618077144026756, 0.036704353988170624, 0.0252972524613142, 0.004868087358772755, -0.017726745456457138, -0.024569138884544373, -0.09640960395336151, 0.09215294569730759, 0.00449236249551177, -0.011724483221769333, 0.0024107068311423063, -0.04846617579460144, -0.013759464956820011, -0.06004130095243454, 0.04055028408765793, -0.0221234280616045, 0.06190825626254082, 0.03412795439362526, 0.009292772971093655, -0.02727622538805008, -0.014095516875386238, 0.011136392131447792, -0.03437065705657005, 0.020163124427199364, 0.0064363302662968636, -0.009073405526578426, 0.041969168931245804, -0.004235656000673771, 0.04316402226686478, 0.04137174412608147, 0.014011504128575325, 0.016979964450001717, 0.01597180776298046, 0.07900957763195038, 0.009577483870089054, -0.036723021417856216, 0.030692754313349724, -0.03961680456995964, 0.00019705135491676629, 0.01043628342449665, 0.03138352930545807, -0.02107793278992176, 0.013246051967144012, 0.02908717282116413, -0.10186111181974411, -0.022832870483398438, 0.04111037030816078, 0.02423308789730072, 0.005750223994255066, -0.0006913571269251406, 0.014562255702912807, 0.05134128779172897, -0.033866580575704575, -0.0024340436793863773, 0.03035670332610607, -0.010660318657755852, 0.042193204164505005, -0.03452001512050629, 0.04928763583302498, -0.020144455134868622, -0.014263543300330639, 0.030095329508185387, 0.005796898156404495, -0.030786102637648582, 0.07788939774036407, 0.04099835082888603, -0.05044514685869217, -0.002555395942181349, -0.052610818296670914, -0.06243100389838219, -0.03211164101958275, 0.00025743572041392326, -0.011855170130729675, 0.026081373915076256, 0.04002753645181656, -0.08244477212429047, 0.017232002690434456, 0.03943010792136192, 0.06269238144159317, -0.00769185833632946, -0.0024177078157663345, -0.08251944929361343, -0.03423997014760971, 0.019677715376019478, 0.010809674859046936, 0.02191806212067604, -0.05444043502211571, -0.022683514282107353, 0.01496365200728178, -0.03263438865542412, -0.015803782269358635, 0.028172364458441734, -0.018772242590785027, -0.0372084304690361, 0.0026814155280590057, 0.0356215201318264, 0.007276460528373718, 0.051042575389146805, 0.0036265619564801455, -0.013554099947214127, -0.002837772946804762, 0.01676526479423046, 0.01585979014635086, 0.02012578397989273, -0.08005507290363312, 0.023467635735869408, 0.04581509903073311, -0.0004477777110878378, -0.11134525388479233, -0.05238678306341171, -0.009017396718263626, 0.0066790347918868065, 0.01992041990160942, 0.059593234211206436, 0.0009830689523369074, -0.0417451336979866, -0.020947245880961418, 0.011929848231375217, 0.024718496948480606, 0.030842112377285957, -0.01585979014635086, -0.013320730067789555, -0.035117439925670624, 0.024046391248703003, -0.06384988874197006, 0.015066334046423435, 0.031252842396497726, -0.005227476358413696, 0.024494461715221405, -0.02244080975651741, 0.006011597812175751, 0.030618077144026756, 0.022160766646265984, 0.04656188189983368, 0.05690481513738632, -0.018641553819179535, 0.011668474413454533, -0.023579653352499008, -0.022160766646265984, 0.06306576728820801, -0.04077431559562683, -0.011687143705785275, -0.015775777399539948, 0.002637075260281563, 0.038309935480356216, -0.06840526312589645, -0.002903116401284933, -0.06325246393680573, 0.006585686933249235, 0.05025845393538475, -0.020144455134868622, 0.006870397832244635, 0.050183773040771484, -0.029777945950627327, -0.03578954562544823, 0.013246051967144012, 0.004410683177411556, 0.015981143340468407, -0.07116835564374924, -0.038384612649679184, 0.07774004340171814, 0.01749337650835514, 0.0307487640529871, -0.011201735585927963, 0.0028471078258007765, 0.003780585713684559, -0.026492103934288025, -0.02380368858575821, -0.00739781279116869, 0.014132856391370296, -0.07430484145879745, 0.021824713796377182, -0.04383612424135208, -0.011201735585927963, -0.0012543610064312816, -0.03158889338374138, 0.0369843952357769, -0.01584112085402012, -0.015607750974595547, -0.033343832939863205, 0.0030548064969480038, -0.02738824300467968, -0.025988025590777397, -0.011621800251305103, 0.046300508081912994, -0.019435010850429535, -0.034277308732271194, -0.06067606806755066, -0.018165480345487595, -0.09215294569730759, -0.03603224828839302, -0.018249493092298508, 0.029460564255714417, 0.003719909582287073, -0.004905426874756813, 0.033026449382305145, 0.07206449657678604, -0.0068890671245753765, 0.06526877731084824, -0.0008074584184214473, -0.04880222678184509, 0.039766162633895874, 0.05880911275744438, -0.028284382075071335, -0.08020442724227905, -0.014758286066353321, -0.009451464749872684, 0.0025717318058013916, -0.008083919063210487, 0.004858752712607384, -0.002123662270605564, 0.04981038346886635, -0.022291453555226326, 0.021843384951353073, -0.002441044896841049, 0.05858507752418518, -0.020480506122112274, 0.022104758769273758, -0.030001981183886528, -0.002089823829010129, -0.03255971148610115, -0.0065063415095210075, 0.0025297251995652914, -0.013834143057465553, 0.004223987925797701, 0.02613738179206848, 0.023616991937160492, 0.04995974153280258, -0.02548394724726677, -0.05044514685869217, 0.02738824300467968, 0.055037859827280045, -0.027444252744317055, 0.02055518515408039, 0.01275130920112133, 0.05234944447875023, -0.046823255717754364, 0.010725662112236023, 0.014674273319542408, 0.007024421822279692, -0.015925133600831032, -0.040624961256980896, -0.031532883644104004, 0.018893593922257423, -0.047980766743421555, -0.02413973957300186, 0.009236764162778854, 0.07116835564374924, -0.0018879591953009367, 0.01869756355881691, -0.019042950123548508, 0.004896091762930155, 0.008251945488154888, -0.00044311032979749143, -0.03582688421010971, -0.0037315781228244305, 0.0619455985724926, 0.04917562007904053, 0.03916873410344124, -0.011808495968580246, -0.03875800594687462, -0.010221583768725395, 0.08356494456529617, 0.05529923364520073, 0.05544859170913696, -0.020891236141324043, -0.013386073522269726, -0.034706711769104004, -0.03465070202946663, 0.008130593225359917, -0.011500447988510132, -0.013470087200403214, 0.021862054243683815, 0.031663570553064346, 0.03928075358271599, 0.05205073207616806, 0.006142284721136093, 0.008718684315681458, -0.011304417625069618, -0.02455046959221363, -0.03319447487592697, 0.016093159094452858, 0.011817830614745617, -0.04835415631532669, 0.02062986232340336, -0.002644076244905591, -0.005694215651601553, -0.028937816619873047, -0.005166800692677498, -0.03791787475347519, -0.03468804061412811, -0.07535034418106079, -0.00497543765231967, 0.03605091944336891, -0.018361510708928108, 0.036069586873054504, -0.06433530151844025, 0.042715951800346375, 0.021152609959244728, 0.025241244584321976, 0.009698836132884026, -0.0347253791987896, -0.019304323941469193, 0.03328782320022583, 0.0221234280616045, -0.025409270077943802, -0.02929253876209259, 0.018184149637818336, 0.06713573634624481, -0.04559106379747391, -0.06911470741033554, -0.010977700352668762, 0.04125972464680672, -0.03237301483750343, -0.053469616919755936, -0.018370846286416054, -0.04499363899230957, 0.051154591143131256, 0.017101315781474113, -0.024177078157663345, 0.055037859827280045, -0.03108481504023075, -0.02253415808081627, 0.020704541355371475, 0.006837726105004549, -0.035136111080646515, -0.032615721225738525, 0.06370053440332413, 0.04887690395116806, 0.0038552640471607447, -0.003897270420566201, 0.05470180884003639, -0.043126679956912994, -0.026249399408698082, -0.029833955690264702, 0.0469726100564003, 0.04353741183876991, -0.04342539608478546, 0.01853887178003788, 0.014506247825920582, -0.018277497962117195, -0.004641719162464142, 0.01585979014635086, -0.022067418321967125, 0.029031164944171906, -0.08707482367753983, 0.03119683265686035, 0.04585243761539459, -0.01663457788527012, -0.04413483664393425, 0.022683514282107353, 0.002277686260640621, -0.00007788706716382876, -0.0338105708360672, 0.00973617471754551, -0.015337042510509491, -0.0045390366576612, -0.013666117563843727, 0.05365631356835365, 0.026734808459877968, 0.003953278996050358, 0.028844468295574188, 0.0018132809782400727, 0.05048248916864395, 0.05880911275744438, 0.011229739524424076, -0.012545943260192871, -0.03741379827260971, 0.02768695540726185, -0.010305596515536308, -0.017829429358243942, 0.010408279486000538, -0.008924049325287342, 0.008261280134320259, 0.022926218807697296, -0.044209517538547516, -0.0020163124427199364, -0.01275130920112133, -0.010454952716827393, 0.03633096069097519, 0.0009247265988960862, -0.017820093780755997, 0.0035005423706024885, -0.018501533195376396, 0.032597050070762634, 0.012135213240981102, 0.05171467736363411, -0.0021761704701930285, -0.035322804003953934, -0.006898402236402035, -0.0028494414873421192, 0.0091340821236372, -0.002347697038203478, 0.007999906316399574, -0.03573353588581085, -0.05974258854985237, -0.013992834836244583, 0.02656678296625614, 0.004697727970778942, -0.07546235620975494, -0.04898892343044281, -0.03203696385025978, 0.023971714079380035, -0.020947245880961418, 0.0012566946679726243, -0.007500495295971632, -0.03127150982618332, -0.003460869425907731, -0.03339984267950058, 0.025241244584321976, 0.03621894493699074, -0.016737259924411774, -0.05332026258111, -0.04361208900809288, 0.03498675301671028, 0.020069776102900505, -0.02990863285958767, -0.010286927223205566, -0.019453680142760277, 0.021563339978456497, 0.000013436977496894542, -0.024158408865332603, 0.013367404229938984, 0.00926943589001894, -0.011453774757683277, 0.06661298871040344, 0.004380345344543457, 0.08991259336471558, -0.06108679622411728, 0.017773419618606567, -0.03045005165040493, -0.04898892343044281, 0.07729197293519974, 0.02244080975651741, 0.03213031217455864, 0.02171269804239273, 0.010678987950086594, -0.07221385091543198, 0.024158408865332603, 0.02275819331407547, -0.00017531882622279227, 0.015831785276532173, 0.07818811386823654, -0.04372410848736763, -0.029105842113494873, -0.040400926023721695, 0.03371722251176834, -0.01960303634405136, -0.04831681773066521, -0.024065062403678894, -0.0029077837243676186, 0.010576304979622364, -0.010921692475676537, -0.024681156501173973, 0.07706794142723083, 0.018520202487707138, -0.002480717608705163, 0.0021551672834903, 0.0437987856566906, 0.022310122847557068, 0.0264360960572958, 0.04002753645181656, 0.023355618119239807, 0.07322201132774353, 0.05918250232934952, -0.027780303731560707, 0.05096789449453354, -0.046823255717754364, -0.04305200278759003, -0.08012975007295609, 0.018249493092298508, -0.0011405933182686567, -0.019229646772146225, 0.03306378796696663, -0.035565510392189026, -0.022496819496154785, 0.07527565956115723, 0.0061889588832855225 ]
42,010
opt_einsum_fx._fuse
fuse_einsums
Fuse einsums when possible. When the output of one einsum is only used as an operand in another einsum, the two einsums can be fused into one. Example: .. code-block:: python def fusable(x, y): z = torch.einsum("ij,jk->ik", x, y) return torch.einsum("ik,ij->i", z, x) g = torch.fx.symbolic_trace(fusable) print(fuse_einsums(g.graph).python_code("")) gives:: import torch def forward(self, x, y): einsum_2 = torch.functional.einsum('ib,bk,ij->i', x, y, x); x = y = None return einsum_2 Args: graph: the graph to process. in_place (bool, optional): whether to process ``graph`` in place. Returns: The graph with fused einsums.
def fuse_einsums(graph: fx.Graph, in_place: bool = False) -> fx.Graph: """Fuse einsums when possible. When the output of one einsum is only used as an operand in another einsum, the two einsums can be fused into one. Example: .. code-block:: python def fusable(x, y): z = torch.einsum("ij,jk->ik", x, y) return torch.einsum("ik,ij->i", z, x) g = torch.fx.symbolic_trace(fusable) print(fuse_einsums(g.graph).python_code("")) gives:: import torch def forward(self, x, y): einsum_2 = torch.functional.einsum('ib,bk,ij->i', x, y, x); x = y = None return einsum_2 Args: graph: the graph to process. in_place (bool, optional): whether to process ``graph`` in place. Returns: The graph with fused einsums. """ if not in_place: graph = copy.deepcopy(graph) for node in graph.nodes: if node.op == "call_function" and node.target in _EINSUM_FUNCS: our_inp_einstrs, our_out_einstr = _get_einstrs(node.args[0]) assert len(our_inp_einstrs) == len(node.args) - 1 avail_letters = iter( set(string.ascii_lowercase) - set.union(*(set(e) for e in our_inp_einstrs)) ) new_our_einstrs = [] new_our_args = [] we_fused_nodes = [] # Iterate over operands for inp_idex, inp in enumerate(node.args[1:]): if ( inp.op == "call_function" and inp.target in _EINSUM_FUNCS and len(inp.users) == 1 ): # This operand is the output of another einsum, and is not used by any other operation # As a result, we can fuse it its_inp_einstrs, its_out_einstr = _get_einstrs(inp.args[0]) if len(its_out_einstr) != len(our_inp_einstrs[inp_idex]): raise RuntimeError( f"Inconsistent rank: einsum `{node}`'s input {inp_idex} is the result of einsum {inp}; the output of `{inp}` is labeled `{its_out_einstr}` (rank {len(its_out_einstr)}), but the corresponding input of `{node}` is labeled `{our_inp_einstrs[inp_idex]}` (rank {len(our_inp_einstrs[inp_idex])})" ) # First, we need to figure out which of its output dimensions correspond to our dimensions: its_dim_to_ours = dict( zip(its_out_einstr, our_inp_einstrs[inp_idex]) ) # assign any labels that don't show up in the output of the previous einsum --- and thus dont have labels in the current einsum --- to new letters its_remaining_labels = set.union( *(set(e) for e in its_inp_einstrs) ) - set(its_dim_to_ours.keys()) try: its_dim_to_ours.update( dict((i, next(avail_letters)) for i in its_remaining_labels) ) except StopIteration: # We ran out of letters raise NotImplementedError( f"At einsum {node}, ran out of letters when trying to fuse parameter einsum {inp}. A fallback for this case is not yet implimented." ) else: # We had enough letters, finish adding the fuse del its_remaining_labels new_our_args.extend(inp.args[1:]) new_our_einstrs.extend( "".join(its_dim_to_ours[d] for d in es) for es in its_inp_einstrs ) we_fused_nodes.append(inp) else: # This argument is not from an einsum, or is from an einsum that is used elsewhere as well # Thus we just pass it through new_our_einstrs.append(our_inp_einstrs[inp_idex]) new_our_args.append(inp) # -- end iter over prev einsum inputs -- # Set the new values for the einstrs node.args = (f"{','.join(new_our_einstrs)}->{our_out_einstr}",) + tuple( new_our_args ) # Remove fused inputs for to_remove in we_fused_nodes: graph.erase_node(to_remove) # -- end case for einsum nodes -- # -- end iter over nodes -- return graph
(graph: torch.fx.graph.Graph, in_place: bool = False) -> torch.fx.graph.Graph
[ 0.0223529115319252, -0.07261261343955994, 0.06586160510778427, 0.04344981908798218, -0.04297881945967674, -0.008620294742286205, -0.05856109410524368, -0.05848259478807449, 0.060131095349788666, -0.004717366769909859, 0.006898198742419481, -0.036895059049129486, -0.03720906004309654, 0.030418798327445984, -0.007074824068695307, 0.07488912343978882, -0.004768882878124714, 0.013080083765089512, 0.05035782977938652, -0.022549161687493324, -0.09459265321493149, -0.058757346123456955, 0.013080083765089512, 0.0656261071562767, -0.02048853226006031, -0.0034073961433023214, 0.06052359566092491, -0.042311567813158035, 0.012304894626140594, -0.031184175983071327, -0.04034906625747681, -0.07241636514663696, -0.013511834666132927, -0.06036659702658653, 0.03595305606722832, -0.04070231691002846, 0.018575092777609825, 0.050828833132982254, 0.005323289893567562, -0.010013672523200512, 0.009179608896374702, -0.05035782977938652, 0.06358510255813599, -0.009832140989601612, 0.01616121269762516, 0.07331911474466324, -0.023981789126992226, 0.035089556127786636, -0.004383741412311792, 0.035030681639909744, 0.0009720523376017809, -0.10150066018104553, 0.029692672193050385, 0.046864576637744904, -0.01252077054232359, 0.04870932921767235, 0.03308780491352081, -0.04482357203960419, 0.005333102308213711, -0.031635552644729614, 0.012393207289278507, -0.042390067130327225, 0.024492040276527405, 0.001232084003277123, -0.07488912343978882, 0.04235081747174263, -0.060719847679138184, -0.012707208283245564, -0.004239006899297237, 0.03145892545580864, -0.04348906874656677, -0.021666035056114197, 0.03923043981194496, -0.024060288444161415, 0.012432457879185677, -0.008693888783454895, 0.0024617149028927088, 0.02329491265118122, -0.035540930926799774, -0.04235081747174263, 0.024511665105819702, -0.019801657646894455, -0.0540865883231163, 0.011814269237220287, 0.03194954991340637, 0.021371658891439438, 0.0043076942674815655, 0.02986929751932621, 0.021096909418702126, -0.055303338915109634, 0.039073437452316284, -0.010038203559815884, 0.023687412962317467, 0.0469038262963295, 0.016995277255773544, -0.009287546388804913, -0.024492040276527405, -0.05027933046221733, 0.04698232561349869, -0.05239883437752724, 0.05114283412694931, 0.03308780491352081, 0.013973022811114788, -0.023039786145091057, 0.03974068909883499, -0.02207816019654274, -0.029692672193050385, -0.04019206389784813, 0.08894064277410507, -0.027592794969677925, -0.002211495768278837, 0.010636767372488976, -0.030673924833536148, -0.0008720873156562448, 0.002497285371646285, -0.008374982513487339, -0.009527952410280704, 0.017839154228568077, -0.006917823571711779, 0.06413460522890091, 0.02129315957427025, 0.034598931670188904, -0.06044509634375572, 0.013403896242380142, 0.03251867741346359, -0.04066306725144386, 0.06727460771799088, 0.031929925084114075, 0.06519435346126556, -0.0786571279168129, 0.026807792484760284, -0.019242342561483383, -0.0007592433830723166, 0.06546910852193832, -0.02027265727519989, 0.018790967762470245, 0.01775084063410759, -0.007006136234849691, -0.023137912154197693, 0.029417922720313072, 0.0035202400758862495, 0.019016655161976814, -0.02568916603922844, 0.059110596776008606, -0.01298195868730545, 0.02445278875529766, 0.043175067752599716, -0.002379534998908639, 0.00779113732278347, -0.07225936651229858, 0.0014240413438528776, 0.02150903455913067, -0.06225059926509857, 0.01991940662264824, -0.012913270853459835, 0.012471707537770271, 0.047217827290296555, 0.025375165045261383, -0.05463608726859093, -0.006844229530543089, -0.013011395931243896, -0.00980760995298624, -0.012187144719064236, 0.05259508639574051, -0.014924836345016956, -0.03648293390870094, 0.03454005718231201, 0.042390067130327225, -0.021960411220788956, -0.006608729250729084, -0.04168356582522392, -0.04768882691860199, -0.056951843202114105, 0.023393036797642708, 0.033441055566072464, 0.039505187422037125, -0.02286316268146038, -0.02042965777218342, -0.05373333767056465, 0.021155783906579018, -0.016131775453686714, -0.003657615277916193, -0.011833894066512585, -0.04733557626605034, -0.044117070734500885, 0.0194876566529274, 0.03128230199217796, -0.014551960863173008, 0.05498933792114258, -0.07296586781740189, -0.0043322257697582245, -0.0375230610370636, 0.0011897674994543195, 0.04639357328414917, 0.023844413459300995, 0.013138958252966404, -0.03359805420041084, 0.04352831840515137, 0.007001230027526617, -0.02706291899085045, -0.0916096493601799, 0.010391454212367535, 0.06331035494804382, -0.010852642357349396, -0.03807255998253822, -0.0011922207195311785, 0.005387071054428816, 0.013933772221207619, -0.025355540215969086, 0.038347311317920685, 0.012540395371615887, -0.027396544814109802, 0.025806916877627373, 0.06448785215616226, 0.052555833011865616, 0.03644368425011635, 0.039289314299821854, 0.029182421043515205, -0.01179464440792799, -0.019536718726158142, -0.03183180093765259, -0.06083759665489197, 0.009753640741109848, 0.001912213978357613, 0.03361767902970314, -0.03448117896914482, 0.003912740852683783, 0.011568956077098846, 0.053929585963487625, 0.0057206968776881695, 0.01789802871644497, 0.01176520623266697, -0.00012664278619922698, 0.01889890618622303, 0.016121963039040565, 0.04867007955908775, -0.07449661940336227, -0.03312705457210541, 0.06327110528945923, -0.020586658269166946, -0.06032734736800194, -0.0634673535823822, -0.04286107048392296, -0.01998809538781643, -0.012030144222080708, 0.021881910040974617, 0.05239883437752724, 0.06621485948562622, -0.048238325864076614, -0.0018766436260193586, 0.04105556756258011, 0.010028391145169735, 0.017652716487646103, 0.01998809538781643, -0.025806916877627373, 0.0017871044110506773, 0.017623279243707657, 0.046275824308395386, 0.03558018058538437, -0.03938743844628334, 0.08069813251495361, -0.040427565574645996, 0.01500333659350872, 0.034520432353019714, -0.024649038910865784, -0.002605222864076495, 0.04925882816314697, -0.01955634355545044, -0.04019206389784813, 0.009155076928436756, 0.07747962325811386, 0.05726584047079086, 0.021469784900546074, 0.026729293167591095, -0.006976698525249958, 0.004135975614190102, -0.0005255828727968037, 0.0642131045460701, -0.01595515012741089, 0.017927465960383415, 0.013953397050499916, -0.0016117057530209422, -0.07131736725568771, 0.01595515012741089, -0.03815106302499771, 0.01511127408593893, 0.015042586252093315, -0.04878782853484154, 0.03703243285417557, -0.06837361305952072, 0.05675559118390083, -0.0035766619257628918, 0.025375165045261383, -0.011323642916977406, -0.04717857763171196, 0.00991554744541645, -0.049965329468250275, 0.022274410352110863, -0.021234285086393356, 0.03720906004309654, 0.003917647060006857, -0.0003826881293207407, -0.004589804448187351, -0.09325814992189407, 0.04741407558321953, -0.029908549040555954, 0.04168356582522392, 0.009277733974158764, 0.034952182322740555, -0.018810592591762543, -0.02822079509496689, -0.010362016968429089, -0.04348906874656677, -0.02474716491997242, -0.032420553267002106, -0.017770465463399887, 0.041526567190885544, 0.006427197717130184, 0.07033611088991165, 0.03454005718231201, 0.03467743098735809, 0.02973192371428013, 0.00021495542023330927, -0.0007359386654570699, -0.006549854297190905, 0.018378842622041702, 0.03346068039536476, -0.0019048546673730016, 0.019075531512498856, -0.04553007334470749, -0.01832977868616581, -0.05593134090304375, 0.01215770747512579, 0.01644577644765377, -0.07594887167215347, -0.033303678035736084, 0.04929807782173157, -0.00880673248320818, -0.016288775950670242, 0.013286146335303783, 0.03634556010365486, 0.057893842458724976, -0.052124083042144775, 0.00984195340424776, -0.03715018555521965, -0.04745332524180412, 0.00003990167533629574, -0.03693430870771408, -0.00851726345717907, 0.06986511498689651, 0.0026886293198913336, 0.025983542203903198, 0.00384159991517663, -0.0569910928606987, 0.06868761032819748, 0.04882707819342613, -0.03081130050122738, -0.024040663614869118, 0.02105765976011753, -0.046079572290182114, -0.040937814861536026, -0.030634675174951553, -0.007850012741982937, -0.002316980389878154, 0.0303010493516922, -0.03332330286502838, 0.014846336096525192, 0.007207293063402176, 0.0815616324543953, -0.04682532697916031, 0.007050292566418648, -0.06382060050964355, 0.014522523619234562, -0.0022458394523710012, -0.04344981908798218, -0.013070271350443363, -0.04662907496094704, 0.004533382132649422, -0.035109180957078934, 0.015268274582922459, -0.0060101659037172794, 0.04313581809401512, -0.05440058931708336, 0.004604523070156574, 0.04870932921767235, 0.03550168126821518, 0.04089856520295143, 0.004876820370554924, 0.0526735857129097, -0.014257585629820824, -0.007442793343216181, 0.02048853226006031, 0.0418405681848526, 0.02763204462826252, -0.07371161878108978, -0.009277733974158764, 0.006343791261315346, 0.011716144159436226, -0.09074614942073822, -0.040427565574645996, -0.053144585341215134, -0.010283516719937325, 0.018987217918038368, 0.051339082419872284, 0.01500333659350872, -0.039289314299821854, -0.028652546927332878, -0.021803410723805428, 0.05757984146475792, 0.020292282104492188, -0.009076576679944992, -0.03143930062651634, -0.022882787510752678, -0.010921330191195011, -0.05059333145618439, 0.008787107653915882, -0.0252377912402153, -0.053772587329149246, 0.04407782107591629, -0.02612091787159443, 0.03065430000424385, 0.030340299010276794, 0.03216542676091194, -0.02641529217362404, -0.02482566423714161, -0.05498933792114258, -0.0519278347492218, -0.031576674431562424, -0.05632384121417999, 0.05420433729887009, -0.062368351966142654, -0.06087684631347656, 0.03326442837715149, 0.00012579951726365834, -0.02331453748047352, -0.057815343141555786, -0.00258069159463048, -0.04246857017278671, 0.0008659544982947409, 0.008468201383948326, 0.013031020760536194, 0.008438763208687305, 0.03375505283474922, -0.03165517747402191, -0.005082883406430483, 0.007540918421000242, -0.01862415485084057, 0.08069813251495361, -0.05903209373354912, 0.00800210703164339, 0.0685698613524437, -0.034579306840896606, -0.012707208283245564, -0.024295788258314133, -0.01824146695435047, -0.0020005267579108477, 0.03665955737233162, -0.013433334417641163, -0.02641529217362404, 0.08964714407920837, -0.03140005096793175, -0.007913794368505478, -0.012687582522630692, 0.027023669332265854, 0.001076310290955007, -0.004776242189109325, 0.05396883562207222, -0.0425863191485405, 0.02143053524196148, 0.040937814861536026, 0.020763283595442772, -0.049101829528808594, -0.012942708097398281, -0.027318043634295464, 0.03489330783486366, 0.0030639581382274628, -0.030752424150705338, 0.010842829942703247, 0.012442270293831825, -0.028515171259641647, -0.013070271350443363, -0.034010179340839386, 0.0223529115319252, -0.0041776783764362335, 0.04525532200932503, 0.029339421540498734, 0.08399513363838196, -0.06590085476636887, 0.04341056942939758, 0.003679693443700671, -0.03505030646920204, -0.0339120551943779, 0.02792642079293728, 0.03253830224275589, -0.011500268243253231, -0.02004696987569332, -0.005313477478921413, -0.013276333920657635, 0.012991771101951599, -0.042036816477775574, 0.012020331807434559, 0.028613295406103134, -0.0375230610370636, -0.002509550889953971, 0.03251867741346359, -0.018938155844807625, 0.0004897058825008571, 0.024295788258314133, 0.013119333423674107, -0.04235081747174263, -0.03499143198132515, -0.04710007458925247, 0.06527285277843475, 0.013933772221207619, 0.029378673061728477, 0.008841076865792274, 0.034383054822683334, 0.0750461220741272, 0.04242931678891182, -0.025296665728092194, 0.03000667318701744, -0.004543195012956858, -0.03671843558549881, 0.002347644418478012, 0.024845289066433907, 0.021155783906579018, -0.01766252890229225, 0.00786473136395216, -0.008100232109427452, 0.008316107094287872, -0.06444860249757767, 0.01392395980656147, 0.007462418172508478, 0.009518139995634556, -0.012236206792294979, -0.049376580864191055, 0.07693012058734894, -0.06802035868167877, -0.04623657464981079, 0.020370783284306526, -0.016975652426481247, 0.019350280985236168, 0.022019285708665848, -0.02474716491997242, 0.018653592094779015, 0.04741407558321953, 0.035168055444955826, 0.002266691066324711, 0.009243389591574669, -0.08564363420009613, -0.05848259478807449, 0.015386024489998817, 0.030340299010276794, 0.04085931554436684, 0.057108841836452484, -0.044038571417331696, -0.0418405681848526, 0.04698232561349869, -0.07414337247610092, -0.00490380497649312, -0.02820117026567459, 0.0230790376663208, 0.012717020697891712, -0.0252377912402153, 0.023785538971424103, -0.0011474511120468378, -0.009120733477175236, -0.07386861741542816, -0.018849842250347137, 0.02135203406214714, -0.0469038262963295, -0.018290529027581215, 0.02843667007982731, -0.03487367928028107, -0.04097706452012062, 0.015425275079905987, 0.00018981084576807916, -0.032714929431676865, 0.051182083785533905, -0.05655933916568756, -0.04313581809401512, -0.042390067130327225, -0.031635552644729614, 0.03159629926085472, 0.05251658335328102, 0.03956406190991402, -0.050397079437971115, 0.06385985016822815, -0.019281594082713127, 0.029103921726346016, 0.01128439325839281, -0.052202582359313965, 0.01760365255177021, 0.012030144222080708, -0.036404434591531754, 0.0034073961433023214, -0.011814269237220287, 0.045844074338674545, 0.028613295406103134, -0.05424358695745468, -0.06409535557031631, -0.005622571334242821, 0.057619091123342514, -0.03852393850684166, -0.00660382304340601, 0.036247432231903076, -0.05071108043193817, 0.011814269237220287, 0.020311906933784485, 0.002364816376939416, 0.04219381883740425, 0.03873981162905693, -0.00905204564332962, 0.017054151743650436, -0.04969057813286781, -0.003637990215793252, -0.0038759438320994377, 0.043332070112228394, 0.010479766875505447, 0.028770295903086662, -0.018064841628074646, 0.038484685122966766, -0.026572292670607567, -0.055656589567661285, -0.013168396428227425, 0.02943754754960537, 0.01853584311902523, 0.018123716115951538, -0.00461678858846426, 0.016789214685559273, -0.05785459280014038, -0.011843706481158733, 0.0714351162314415, 0.027671294286847115, 0.04305731877684593, -0.04486282169818878, 0.0562453418970108, 0.0002632513933349401, -0.09051064401865005, -0.055656589567661285, 0.00393236568197608, -0.017701778560876846, -0.02553216554224491, -0.036384809762239456, 0.0044916789047420025, 0.03136080130934715, 0.005784478038549423, -0.01165726874023676, 0.04639357328414917, 0.0353250578045845, 0.032852303236722946, 0.02612091787159443, -0.011568956077098846, -0.0044180853292346, 0.034461554139852524, 0.03518768027424812, 0.02280428633093834, 0.011137205176055431, 0.021096909418702126, 0.008536888286471367, 0.001884003053419292, -0.01500333659350872, -0.0022458394523710012, 0.0032749271485954523, 0.0209202840924263, 0.005225164815783501, 0.01140214316546917, 0.04568707197904587, 0.020606283098459244, 0.028829172253608704, -0.032224301248788834, -0.013246896676719189, 0.02323603816330433, -0.010921330191195011, 0.0009929039515554905, 0.007050292566418648, 0.02345191314816475, 0.01536639966070652, -0.04494132101535797, -0.020174533128738403, -0.019458219408988953, 0.027651669457554817, 0.01991940662264824, 0.03348030522465706, -0.02841704525053501, -0.01796671561896801, -0.019536718726158142, -0.008330825716257095, 0.007222011685371399, -0.0353250578045845, -0.007565449457615614, -0.06774561107158661, 0.05820784345269203, -0.008551607839763165, 0.031144924461841583, 0.005980728194117546, -0.00013637864321935922, 0.03014404885470867, -0.02099878340959549, -0.02280428633093834, 0.046079572290182114, 0.02612091787159443, -0.010519016534090042, -0.05420433729887009, 0.00721219927072525, 0.04301806911826134, -0.08250363171100616, -0.002987910993397236, -0.045922573655843735, 0.04878782853484154, -0.015906088054180145, -0.05922834575176239, 0.01464027352631092, 0.03852393850684166, 0.050240080803632736, 0.00984195340424776, 0.02755354344844818, 0.018015779554843903, -0.044627320021390915, 0.025139665231108665, 0.0064173853024840355, -0.00973401591181755, 0.044548820704221725, 0.0015430181520059705, -0.034226056188344955, -0.0064026666805148125, -0.030497299507260323, -0.05137833207845688, -0.000023477210561395623, 0.056088339537382126, 0.015601900406181812, 0.05059333145618439, 0.01006764080375433, 0.01464027352631092, -0.05145683139562607, -0.03432418033480644, 0.04364607110619545, 0.023471537977457047, -0.0642131045460701, -0.02105765976011753, 0.03340180218219757, -0.014188897795975208, -0.06334960460662842, 0.0418405681848526, -0.016632214188575745, 0.010519016534090042, 0.013080083765089512, 0.0014461195096373558, -0.004702648147940636, 0.026297543197870255, 0.035305432975292206, 0.02625829167664051, -0.01042089145630598, 0.0418405681848526, 0.07170986384153366, -0.002432277426123619, 0.0469038262963295, -0.06197584792971611, -0.040427565574645996, -0.0670391097664833, 0.015415462665259838, -0.03420643135905266, 0.008983357809484005, -0.017368152737617493, -0.012942708097398281, -0.00002278726788063068, -0.0009837046964094043, 0.012540395371615887 ]
42,011
opt_einsum_fx._fuse
fuse_scalars
Use the multilinearity of einsum to unify and remove constant scalars around einsums. Args: graph: the graph to process. in_place (bool, optional): whether to process ``graph`` in place. Returns: The graph with fused scalars.
def fuse_scalars(graph: fx.Graph, in_place: bool = False) -> fx.Graph: """Use the multilinearity of einsum to unify and remove constant scalars around einsums. Args: graph: the graph to process. in_place (bool, optional): whether to process ``graph`` in place. Returns: The graph with fused scalars. """ if not in_place: graph = copy.deepcopy(graph) # Clear any previous state this graph has for node in graph.nodes: if hasattr(node, "in_lin_chain"): delattr(node, "in_lin_chain") # Find chains of multilinear ops seen_nodes = set() linear_chains = [] for node in graph.nodes: if id(node) in seen_nodes: continue # Determine a linear chain cur_linear_chain = [] while ( id(node) not in seen_nodes and getattr(node, "target", None) in SCALAR_COMMUTE_OPS ): seen_nodes.add(id(node)) node.in_lin_chain = len(linear_chains) cur_linear_chain.append(node) # Continue building the chain regardless, since the merger uses this users = list(node.users.keys()) if len(users) > 0: # Get the next node in the chain node = users[0] else: # This isn't used in the graph at all, break the chain node = None if len(users) != 1: # End this chain break # If the next user, which is now in node, was seen but is itself in a linear chain, this means we merge them # TODO: thoroughly test this if hasattr(node, "in_lin_chain") and len(cur_linear_chain) > 0: # Merge merge_into = node.in_lin_chain for n in cur_linear_chain: n.in_lin_chain = merge_into linear_chains[merge_into].extend(cur_linear_chain) else: # This is a new chain linear_chains.append(cur_linear_chain) # Accumulate scalars in them scalars = [] for lin_chain_i, lin_chain in enumerate(linear_chains): if len(lin_chain) < 2: # There's nothing to do here: either the chain is empty, # or there's only one operation — even if its a scalar multiplication, # theres nothing for us to do with it scalars.append(None) continue # Accumulate scalars scalar_node_idexes = [] total_scalar = 1.0 for node_i, node in enumerate(lin_chain): new_node, scalar = _get_node_and_scalar(node) if scalar is not None: total_scalar *= scalar scalar_node_idexes.append(node_i) is_all_scalars = len(scalar_node_idexes) == len(lin_chain) # Remove scalar nodes for node_i in scalar_node_idexes: node = lin_chain[node_i] new_node, scalar = _get_node_and_scalar(node) assert scalar is not None if is_all_scalars and node_i == len(lin_chain) - 1: # If it's all scalars, we just put the total_scalar into the last operation # and don't save a scalar for later with graph.inserting_after(node): new_node = graph.call_function( operator.mul, (total_scalar, new_node), ) total_scalar = None node.replace_all_uses_with(new_node) graph.erase_node(node) # Save the scalar for this chain scalars.append(total_scalar) # Remove all of the removed scalar operations from the lin chain # See https://stackoverflow.com/a/11303234/1008938 for index in sorted( (scalar_node_idexes[:-1] if is_all_scalars else scalar_node_idexes), reverse=True, ): del lin_chain[index] del seen_nodes # Make sure everything is still OK graph.lint() # Now we have chains without scalar operations; we can go through and add back in the scalars in the optimal place for lin_chain_i, lin_chain in enumerate(linear_chains): if ( len(lin_chain) == 0 or scalars[lin_chain_i] == 1.0 or scalars[lin_chain_i] is None ): # Nothing to do with an empty chain # No reason to add back a scalar that does nothing # None signals don't process from above continue # Find the smallest argument or the output smallest_node_i = None smallest_arg_i = None smallest_size = float("inf") for node_i, node in enumerate(lin_chain): for arg_i, arg in enumerate(node.args): if not isinstance(arg, fx.Node): continue shape = get_shape(arg) if shape is not None and prod(shape) < smallest_size: smallest_node_i = node_i smallest_arg_i = arg_i smallest_size = prod(shape) # Put the accumulated scalar on a node if (smallest_node_i is None) or ( get_shape(lin_chain[-1]) is not None and prod(get_shape(lin_chain[-1])) < smallest_size ): # The output is the smallest, put it there # OR there was no smallest argument, put it on the end of the chain with graph.inserting_after(lin_chain[-1]): new_node = graph.call_function(operator.mul, tuple()) # placeholder lin_chain[-1].replace_all_uses_with(new_node) new_node.args = (lin_chain[-1], scalars[lin_chain_i]) else: # The smallest was someone's arg, so we replace that with a scalar multiplication: with graph.inserting_before(lin_chain[smallest_node_i]): new_arg = graph.call_function( operator.mul, ( lin_chain[smallest_node_i].args[smallest_arg_i], scalars[lin_chain_i], ), ) new_args = list(lin_chain[smallest_node_i].args) new_args[smallest_arg_i] = new_arg lin_chain[smallest_node_i].args = tuple(new_args) graph.lint() return graph
(graph: torch.fx.graph.Graph, in_place: bool = False) -> torch.fx.graph.Graph
[ -0.05043486878275871, -0.06490889936685562, 0.038121748715639114, 0.044889889657497406, -0.004018582869321108, 0.024952417239546776, -0.058711569756269455, -0.108616404235363, 0.030599329620599747, -0.0007631994667463005, -0.02366810105741024, -0.01468808576464653, -0.02084464579820633, 0.011253051459789276, -0.05765150114893913, 0.06062785163521767, 0.0036745695397257805, -0.005850770976394415, 0.04970097541809082, 0.017929453402757645, -0.05243269354104996, -0.014229401014745235, 0.03587929159402847, 0.08252237737178802, -0.002605580724775791, -0.028825750574469566, 0.0790567621588707, -0.04493065923452377, -0.047173116356134415, -0.012608717195689678, -0.0036796662025153637, 0.008740480989217758, -0.007028060499578714, -0.09997275471687317, 0.02615518867969513, -0.027194872498512268, 0.0144536467269063, 0.023178838193416595, -0.03239329531788826, -0.02222069911658764, -0.04105732589960098, 0.017735786736011505, -0.0033305564429610968, -0.05593907833099365, 0.022995365783572197, 0.03612392395734787, -0.013770717196166515, 0.0761619508266449, -0.03736746683716774, -0.04668385162949562, 0.027031784877181053, -0.0852133184671402, 0.022139154374599457, 0.02674638293683529, -0.04354441538453102, 0.06918995827436447, 0.066376693546772, 0.000672736729029566, 0.009540630504488945, -0.032230205833911896, 0.016359735280275345, -0.01393380481749773, -0.052228834480047226, -0.018000803887844086, -0.007012770976871252, -0.018010998144745827, -0.03883525729179382, -0.011783085763454437, 0.000871499883942306, 0.028356872498989105, -0.07073929160833359, -0.030803188681602478, 0.04529760777950287, -0.04391136392951012, 0.008195157162845135, -0.046846941113471985, 0.013393577188253403, -0.03263792395591736, -0.018377944827079773, -0.03553273156285286, 0.016155874356627464, -0.01874489150941372, -0.010147112421691418, -0.01862257719039917, -0.0029126442968845367, 0.019162803888320923, 0.01199713908135891, 0.010422322899103165, -0.050516415387392044, 0.007237016689032316, -0.02615518867969513, -0.015024454332888126, 0.013556664809584618, 0.0726555660367012, 0.01842891052365303, 0.04860013350844383, -0.010320393368601799, -0.07722202688455582, 0.051046449691057205, -0.011966560035943985, 0.07538728415966034, 0.061728693544864655, -0.01252717338502407, -0.0006376983947120607, 0.03848869726061821, 0.004153639543801546, -0.0070943147875368595, -0.025400908663868904, 0.09695563465356827, 0.005993472877889872, -0.0012855897657573223, 0.023912733420729637, -0.007119797170162201, -0.04321824014186859, -0.008286893367767334, -0.0047830562107264996, -0.061728693544864655, 0.02201683819293976, 0.022974979132413864, 0.04342209920287132, -0.021323716267943382, 0.0008109790505841374, 0.005412472877651453, 0.022771120071411133, 0.04896708205342293, 0.0043396614491939545, 0.08337858319282532, 0.038182906806468964, 0.01189520861953497, -0.013210102915763855, -0.007395007647573948, 0.004645450972020626, 0.025319363921880722, 0.06519430875778198, -0.03408532962203026, -0.02419813722372055, -0.046194590628147125, 0.006666209548711777, -0.014983681961894035, 0.00727778859436512, 0.015320050530135632, 0.020742716267704964, -0.031965188682079315, 0.028214171528816223, -0.0181638915091753, 0.012506787665188313, 0.05390048399567604, -0.039834171533584595, -0.036613188683986664, -0.023892346769571304, -0.01672668196260929, 0.022261470556259155, -0.009943253360688686, 0.045216064900159836, 0.03534925729036331, -0.007649832405149937, 0.02819378487765789, -0.062258727848529816, -0.03155747056007385, -0.013709559105336666, -0.0144536467269063, -0.00917877908796072, 0.023973891511559486, -0.00027043253066949546, -0.05014946684241295, -0.02866266295313835, 0.03932452201843262, 0.02662406675517559, -0.06368574500083923, 0.019753996282815933, -0.014973488636314869, -0.08313395082950592, -0.048355501145124435, 0.0633595734834671, -0.006421578116714954, 0.04411522299051285, -0.007761955261230469, -0.008557007648050785, -0.02381080389022827, -0.03312718868255615, -0.012353893369436264, -0.04925248399376869, 0.010152208618819714, -0.04729543253779411, -0.0302935391664505, 0.015024454332888126, 0.0030782802496105433, -0.05895620211958885, 0.033534906804561615, -0.01946859434247017, -0.004574100021272898, -0.05337044969201088, -0.012496594339609146, 0.031047821044921875, 0.04949711635708809, 0.009122718125581741, -0.006915937643498182, 0.018276015296578407, 0.007838401943445206, 0.006253393832594156, -0.05182111635804176, -0.007838401943445206, 0.07069851458072662, -0.0047728633508086205, 0.010835139080882072, -0.03206712007522583, 0.0028846135828644037, 0.06825219839811325, -0.04276974871754646, 0.049415573477745056, -0.04904862493276596, -0.0029304821509867907, 0.0042224423959851265, 0.0545528344810009, -0.006854779552668333, 0.0026221442967653275, -0.018255628645420074, -0.001981260720640421, -0.0010810930980369449, -0.04517529159784317, 0.023321541026234627, -0.05532750114798546, 0.026705609634518623, 0.03824406489729881, 0.005155100021511316, -0.0029457714408636093, 0.04256588965654373, 0.050842590630054474, 0.07762974500656128, 0.0021392519120126963, 0.017399419099092484, 0.0002070449263555929, -0.0059832800179719925, -0.019509365782141685, -0.002380060963332653, -0.021792592480778694, -0.02144603244960308, 0.04083308205008507, 0.021425645798444748, -0.0013110721483826637, -0.08288931846618652, -0.06327802687883377, -0.04117964208126068, -0.011783085763454437, -0.042647432535886765, 0.05361507833003998, 0.028295714408159256, 0.0346357487142086, -0.051372624933719635, 0.0330660305917263, 0.014524998143315315, -0.016431085765361786, 0.042973607778549194, 0.013352804817259312, -0.016471857205033302, 0.006737560499459505, 0.011212279088795185, -0.024014662951231003, 0.006890455260872841, -0.037856731563806534, 0.024707786738872528, -0.04476757347583771, 0.00424537668004632, 0.0814623013138771, -0.0486409068107605, -0.04440062493085861, 0.03296409919857979, 0.012537366710603237, -0.020549049600958824, 0.06209564208984375, 0.0817069336771965, 0.0573253259062767, 0.008969822898507118, -0.00973939336836338, 0.0002412869653198868, 0.002780135488137603, -0.02091599628329277, 0.0692714974284172, 0.02990620583295822, 0.005723359063267708, -0.002199135720729828, 0.004140898585319519, -0.05761072784662247, -0.04688771441578865, -0.03592006489634514, 0.025869784876704216, 0.007344042882323265, -0.04611304774880409, -0.012894120998680592, -0.041281573474407196, 0.060220133513212204, 0.017796944826841354, 0.027704522013664246, 0.0063145519234240055, 0.067355215549469, 0.028153013437986374, -0.08806735277175903, 0.015493331477046013, 0.02313806675374508, 0.011630191467702389, 0.00616165716201067, -0.04594995826482773, 0.027378346771001816, -0.07387872785329819, 0.05292195826768875, -0.07094314694404602, 0.033004872500896454, 0.017521733418107033, 0.0010447805980220437, 0.05663220211863518, -0.03114975057542324, 0.02066117338836193, -0.053329676389694214, -0.000795689586084336, 0.016298577189445496, 0.0035191266797482967, 0.018520645797252655, -0.015839893370866776, 0.07575423270463943, 0.02195568196475506, 0.01999862864613533, -0.02060001529753208, 0.0036439907271414995, 0.015177348628640175, -0.033188346773386, -0.011864629574120045, 0.011273437179625034, -0.01908126100897789, 0.007767051458358765, -0.037856731563806534, 0.033188346773386, 0.006243200972676277, -0.024870874360203743, 0.017623664811253548, -0.005738648120313883, -0.0574476420879364, 0.05606139451265335, -0.0000689220687490888, -0.03716360777616501, -0.03172055631875992, 0.022913821041584015, 0.07188089936971664, -0.008047358132898808, 0.016879577189683914, -0.05198420211672783, -0.0360831543803215, 0.04917094111442566, -0.04378904774785042, -0.003040056675672531, 0.004698964301496744, -0.01059050764888525, 0.01652282290160656, -0.0010677147656679153, -0.030782802030444145, 0.032678697258234024, 0.05626525357365608, -0.04582764208316803, -0.0720439925789833, 0.005886446684598923, -0.029559645801782608, 0.04819241538643837, -0.018337173387408257, 0.004416109062731266, 0.03127206489443779, 0.06759984791278839, -0.007899560034275055, -0.008801639080047607, -0.02060001529753208, 0.039100274443626404, -0.051576483994722366, 0.008903568610548973, -0.07652889937162399, 0.01868373341858387, -0.013250875286757946, -0.054063569754362106, 0.049007851630449295, -0.013210102915763855, 0.009632366709411144, -0.041607748717069626, -0.0038351090624928474, 0.010580314323306084, 0.02215954102575779, -0.01664513722062111, -0.01863276958465576, 0.01987631246447563, 0.05108721926808357, 0.02964118868112564, -0.012934892438352108, -0.006207525264471769, 0.015839893370866776, 0.018724506720900536, -0.020243261009454727, 0.0661320611834526, -0.021017927676439285, -0.08904588222503662, 0.00475502572953701, 0.04183199256658554, 0.028948066756129265, -0.045990731567144394, -0.029478101059794426, -0.04132234677672386, 0.0074867443181574345, -0.0007115975022315979, 0.044808343052864075, -0.0043243723921477795, -0.07139164209365845, -0.0038784292992204428, 0.03918181732296944, 0.029131539165973663, 0.08358244597911835, -0.022995365783572197, -0.012170419096946716, -0.004461977630853653, 0.010167498141527176, -0.028886908665299416, -0.05198420211672783, 0.028234558179974556, -0.018133312463760376, 0.023912733420729637, 0.019764190539717674, 0.036755889654159546, 0.005144907161593437, 0.00825631432235241, 0.013301840052008629, -0.0004322461027186364, -0.05761072784662247, -0.024483541026711464, -0.027643363922834396, -0.03587929159402847, 0.034268803894519806, -0.02739873342216015, -0.06119865924119949, 0.03296409919857979, -0.023566171526908875, -0.055490586906671524, -0.041403889656066895, 0.013770717196166515, 0.011548647657036781, 0.026929855346679688, 0.019162803888320923, 0.03555311635136604, 0.02189452387392521, -0.005443051923066378, -0.07571346312761307, -0.03088473156094551, 0.02334192581474781, 0.007007674314081669, 0.07575423270463943, -0.11114426702260971, 0.02020248770713806, 0.016094716265797615, -0.012557752430438995, 0.013566858135163784, -0.025686312466859818, 0.013505700044333935, 0.0056520081125199795, 0.009673139080405235, -0.07143241167068481, -0.023749645799398422, 0.040160346776247025, -0.0047728633508086205, 0.025727083906531334, 0.04517529159784317, 0.015432173386216164, 0.004449236206710339, -0.0016232322668656707, 0.056224483996629715, -0.0031216004863381386, -0.001972341910004616, -0.00025418747100047767, 0.009545726701617241, 0.002590291202068329, -0.04831473156809807, -0.031047821044921875, 0.05475669354200363, 0.004151091445237398, -0.029396556317806244, -0.0019404888153076172, -0.017470769584178925, -0.060954026877880096, -0.020630594342947006, -0.07249248027801514, 0.017796944826841354, -0.012506787665188313, 0.03732669726014137, 0.08019837737083435, 0.06833374500274658, -0.027256030589342117, 0.10070665180683136, 0.022608032450079918, -0.038121748715639114, -0.022057611495256424, 0.028560733422636986, 0.011986945755779743, -0.0666213259100914, -0.015758348628878593, -0.010208270512521267, -0.028275329619646072, 0.05565367639064789, 0.012404858134686947, -0.007716086693108082, 0.027296803891658783, -0.08121766895055771, 0.03848869726061821, 0.09410160034894943, 0.010254139080643654, 0.007466358598321676, 0.0346357487142086, -0.035960838198661804, -0.04855936020612717, -0.038916800171136856, -0.03555311635136604, 0.026991013437509537, 0.01199713908135891, 0.00020927464356645942, 0.009851516224443913, 0.039691466838121414, 0.08252237737178802, 0.04929325729608536, -0.06005704402923584, 0.014096892438828945, -0.020508278161287308, -0.05948623642325401, -0.012374279089272022, 0.00960178766399622, -0.00642667431384325, -0.07016848027706146, -0.03895757347345352, 0.02807147055864334, -0.013087787665426731, -0.02688908390700817, 0.0019417628645896912, -0.0604647621512413, 0.01751154102385044, -0.021282944828271866, 0.002759749535471201, 0.061728693544864655, -0.03251560777425766, 0.0033993590623140335, -0.04647999256849289, 0.0010486029786989093, 0.047703150659799576, 0.056428343057632446, 0.06588742882013321, 0.020345190539956093, 0.0360831543803215, -0.003259205725044012, 0.04517529159784317, 0.01640050671994686, -0.046194590628147125, -0.02937617152929306, 0.027908381074666977, 0.01068224385380745, 0.02898883819580078, 0.06262567639350891, -0.04064960777759552, -0.008215542882680893, 0.021976066753268242, -0.04945634305477142, 0.026705609634518623, -0.000620816252194345, 0.020681558176875114, 0.02393312007188797, -0.061280202120542526, 0.036613188683986664, -0.03145553916692734, -0.030313925817608833, -0.03337182104587555, 0.047499291598796844, -0.006584665738046169, 0.00295851263217628, -0.009102332405745983, 0.040425363928079605, -0.03704129159450531, -0.024667013436555862, -0.0021277847699820995, -0.021731436252593994, -0.018785664811730385, -0.025033961981534958, -0.02878497913479805, 0.010906489565968513, -0.017134401947259903, -0.005672393832355738, 0.021670278161764145, 0.0453791506588459, 0.008862797170877457, -0.06270721554756165, 0.07718124985694885, -0.013556664809584618, 0.042198941111564636, -0.02111985720694065, 0.020742716267704964, -0.017470769584178925, -0.01751154102385044, -0.024748558178544044, -0.0021214140579104424, -0.016237419098615646, 0.06189177930355072, 0.018541032448410988, -0.008383726701140404, -0.09132911264896393, -0.03139438107609749, 0.004270859062671661, 0.03857024013996124, -0.05907851830124855, 0.015778735280036926, -0.009214455261826515, -0.006757946219295263, 0.017012085765600204, -0.05814076215028763, 0.04305515065789223, 0.04452294111251831, -0.005702972877770662, -0.0106210857629776, -0.045746099203825, -0.02491164579987526, -0.017623664811253548, 0.03135360777378082, 0.03912065923213959, -0.05390048399567604, 0.002823455724865198, 0.002731718821451068, -0.03139438107609749, -0.08346012979745865, -0.03180209919810295, 0.05182111635804176, 0.03695974871516228, -0.030864346772432327, -0.014565769582986832, 0.004013486206531525, -0.044808343052864075, -0.04668385162949562, 0.010998226702213287, 0.01301643718034029, 0.0241369791328907, -0.021812979131937027, 0.03653164207935333, 0.022934207692742348, -0.04721388965845108, 0.01580931432545185, 0.007338946219533682, -0.03088473156094551, -0.06584665924310684, -0.05173956975340843, 0.03435034677386284, -0.0016512628644704819, -0.019122032448649406, -0.008862797170877457, 0.08725191652774811, 0.04582764208316803, -0.0058813500218093395, 0.049660202115774155, -0.008557007648050785, -0.0001403127535013482, 0.07836363464593887, 0.0037943371571600437, 0.04144465923309326, -0.0031802100129425526, 0.020763102918863297, 0.021609120070934296, 0.0012785820290446281, -0.0335552953183651, 0.04745851829648018, 0.026012487709522247, -0.02354578673839569, -0.0760396346449852, 0.016033560037612915, -0.016349541023373604, -0.0022411816753447056, 0.01810273341834545, -0.026501750573515892, -0.04156697541475296, -0.025727083906531334, -0.0026858504861593246, -0.0026960435789078474, 0.032291363924741745, 0.02381080389022827, 0.013393577188253403, 0.015360821969807148, -0.041668906807899475, 0.014596348628401756, 0.020019015297293663, -0.004650547634810209, 0.0226284172385931, -0.03302525728940964, -0.06702904403209686, -0.01835755817592144, 0.024503925815224648, -0.00842959526926279, -0.0024705238174647093, -0.020212681964039803, -0.02195568196475506, 0.03172055631875992, -0.022383786737918854, -0.029518872499465942, 0.022709961980581284, -0.01202771719545126, 0.019947662949562073, 0.010692437179386616, 0.02931501343846321, 0.059771642088890076, 0.01835755817592144, -0.04338132590055466, -0.0334329791367054, 0.0015862826257944107, 0.06030167639255524, -0.01928512006998062, -0.02772490866482258, 0.005641814786940813, 0.027459891512989998, -0.004143446683883667, -0.008689516223967075, 0.003014574060216546, 0.01639031432569027, 0.021812979131937027, 0.018581803888082504, -0.04244357347488403, 0.018459487706422806, -0.03082357533276081, 0.040038030594587326, -0.00015639855701010674, 0.009581401944160461, 0.03791788965463638, 0.014779822900891304, 0.0011110348859801888, 0.030436241999268532, 0.03180209919810295, -0.03932452201843262, 0.017266910523176193, 0.04342209920287132, 0.01048857718706131, 0.10103283077478409, 0.022139154374599457, -0.0024781685788184404, 0.0038351090624928474, -0.012832962907850742, 0.026929855346679688, -0.005835481453686953, 0.014657506719231606, -0.03428918868303299, 0.005412472877651453, -0.002047515008598566, -0.01100841909646988, -0.023851575329899788, -0.01868373341858387, -0.02648136392235756, -0.00680381478741765, 0.02772490866482258, 0.004454332869499922, 0.016094716265797615, 0.020936382934451103, 0.022139154374599457, -0.03284178301692009, 0.0001957370841410011, 0.06535739451646805, -0.03816252201795578, 0.023851575329899788, -0.013821681961417198, -0.03280101343989372, -0.09671100229024887, 0.02084464579820633, -0.026705609634518623, 0.024361224845051765, 0.07041311264038086, 0.01783771626651287, 0.007609060499817133, -0.035838522017002106, 0.026073645800352097 ]
42,013
opt_einsum_fx._script
jitable
Convert some torch calls into their TorchScript signatures. In place. Currently deals with ``tensordot`` and ``permute``. Args: obj: the ``fx.Graph`` or ``fx.GraphModule`` to process. Returns: ``obj``, modified in-place.
def jitable(obj: Union[fx.GraphModule, fx.Graph]) -> Union[fx.GraphModule, fx.Graph]: """Convert some torch calls into their TorchScript signatures. In place. Currently deals with ``tensordot`` and ``permute``. Args: obj: the ``fx.Graph`` or ``fx.GraphModule`` to process. Returns: ``obj``, modified in-place. """ if isinstance(obj, fx.GraphModule): graph = obj.graph else: graph = obj torch_is_ge_19: bool = version.parse(torch.__version__) >= version.parse("1.9.0") for node in graph.nodes: if node.op == "call_function": if ( node.target == torch.tensordot or node.target == torch.functional.tensordot ): if "dims" in node.kwargs: args = list(node.args) kwargs = dict(node.kwargs) dim_self, dim_other = kwargs.pop("dims") assert len(args) == 2 # tensors 1 and 2 if torch_is_ge_19: # In torch >= 1.9.0, they've corrected the torchscript interface # to align with the python one: args.append((list(dim_self), list(dim_other))) else: args.append(list(dim_self)) args.append(list(dim_other)) node.args = tuple(args) node.kwargs = kwargs elif node.op == "call_method": if node.target == "permute": self_arg, args = node.args[0], node.args[1:] if not isinstance(args[0], list): node.args = [self_arg, list(args)] graph.lint() if isinstance(obj, fx.GraphModule): obj.recompile() return obj
(obj: Union[torch.fx.graph_module.GraphModule, torch.fx.graph.Graph]) -> Union[torch.fx.graph_module.GraphModule, torch.fx.graph.Graph]
[ -0.027275394648313522, -0.04205571115016937, 0.016549529507756233, -0.013011100701987743, -0.046699900180101395, 0.013757487758994102, -0.04360377416014671, 0.05326073616743088, 0.005261571146547794, 0.016789110377430916, 0.05115979537367821, 0.043824926018714905, -0.018549110740423203, 0.0051786391995847225, -0.06612440198659897, -0.020051101222634315, 0.005713089369237423, 0.04489382728934288, 0.02816000208258629, 0.05060691386461258, -0.04176083952188492, -0.019111204892396927, 0.03680335357785225, 0.07445445656776428, -0.002580104861408472, 0.020954137668013573, 0.0517863929271698, 0.0322144515812397, -0.002089424291625619, -0.0013430367689579725, -0.06369173526763916, -0.03217759355902672, 0.02839958295226097, 0.0040083774365484715, 0.017682934179902077, -0.003266597166657448, 0.002405026461929083, 0.03455497696995735, -0.05746262148022652, 0.0021412568166851997, -0.00932984333485365, -0.04493068531155586, 0.009647749364376068, -0.00297172786667943, -0.027496546506881714, -0.010716649703681469, -0.015112043358385563, 0.07102660089731216, -0.014301152899861336, -0.07873006165027618, 0.03398366644978523, -0.0976753979921341, 0.03368879854679108, -0.018558325245976448, -0.05031204596161842, 0.07356984913349152, 0.011674975045025349, 0.04463581368327141, 0.017830368131399155, 0.022575918585062027, 0.012808377854526043, 0.011481466703116894, -0.011352461762726307, -0.0025685864966362715, 0.015019896440207958, 0.003973822109401226, -0.0417977012693882, -0.019479792565107346, -0.06081675738096237, -0.018862409517169, -0.05163895711302757, 0.018069949001073837, 0.071763776242733, 0.015250262804329395, -0.012605655007064342, -0.0560619942843914, -0.021138431504368782, 0.024658430367708206, -0.017710577696561813, -0.0005629581864923239, 0.018908483907580376, -0.0044967541471123695, -0.06767246872186661, -0.03472084179520607, -0.026409216225147247, 0.0037595813628286123, 0.019479792565107346, -0.011545969173312187, -0.06741445511579514, -0.058236654847860336, -0.07659225910902023, -0.04470953345298767, -0.013370472006499767, -0.0035361258778721094, -0.05786806717514992, 0.005160209722816944, 0.006777382921427488, -0.057094037532806396, -0.030813824385404587, -0.016954975202679634, 0.017664503306150436, 0.054550789296627045, -0.06188565865159035, 0.02036439999938011, 0.022760210558772087, -0.021746598184108734, -0.03492356464266777, -0.009961048141121864, 0.05060691386461258, -0.03735623508691788, -0.04540984705090523, 0.07209550589323044, 0.016282305121421814, -0.05923183634877205, 0.062217388302087784, -0.05786806717514992, -0.05654115602374077, -0.05539853870868683, -0.040765658020973206, 0.03623204305768013, 0.005851309280842543, 0.01877947710454464, -0.018364818766713142, 0.02381068281829357, -0.005141780711710453, 0.03645319491624832, 0.06490806490182877, -0.002840419067069888, 0.015231833793222904, -0.06100105121731758, -0.0006064398330636322, -0.013066388666629791, -0.018162095919251442, 0.07696084678173065, 0.011684189550578594, 0.028860315680503845, -0.020788274705410004, -0.05602513626217842, -0.036342620849609375, -0.02935790829360485, -0.005842094775289297, -0.015056755393743515, 0.019866807386279106, 0.03131141513586044, -0.03492356464266777, 0.01216335128992796, 0.04024963825941086, -0.021709740161895752, 0.00986890122294426, -0.06995770335197449, -0.009684608317911625, 0.01112209539860487, 0.04327204450964928, -0.002918743761256337, -0.04091309383511543, 0.02530345693230629, -0.02416083961725235, -0.020603980869054794, 0.006712879985570908, 0.01808837801218033, -0.032730475068092346, -0.029689636081457138, -0.01871497556567192, 0.028878746554255486, 0.028141573071479797, -0.05197068303823471, 0.08595435321331024, -0.01171183306723833, -0.051860108971595764, 0.04043392837047577, -0.039623040705919266, -0.025045447051525116, -0.008509739302098751, 0.06582953035831451, 0.01936921663582325, 0.07954094558954239, -0.047068484127521515, 0.039586182683706284, -0.0019719372503459454, 0.04024963825941086, -0.03311748802661896, -0.010384921915829182, -0.04010220244526863, -0.011066807433962822, 0.016162514686584473, 0.01677989587187767, 0.023884398862719536, -0.012126493267714977, 0.024087121710181236, -0.0352737195789814, 0.03455497696995735, 0.0038102620746940374, 0.050717491656541824, -0.00347853428684175, 0.01604272425174713, -0.004593508318066597, -0.02873131074011326, 0.021967750042676926, -0.051122937351465225, -0.00413968600332737, 0.014780315570533276, -0.016687750816345215, 0.05746262148022652, 0.01448544580489397, -0.05115979537367821, 0.05163895711302757, 0.04603644460439682, 0.07696084678173065, 0.0068464926443994045, -0.029781782999634743, 0.06494492292404175, -0.0358818881213665, -0.028823457658290863, 0.03226974233984947, -0.02395811676979065, 0.007169005926698446, -0.0016068064142018557, 0.011831623502075672, 0.02605905942618847, -0.007496126461774111, 0.03851728141307831, -0.002254136372357607, -0.04349319636821747, 0.026740944012999535, -0.0114169642329216, -0.01602429524064064, 0.012716230936348438, -0.013112462125718594, 0.012909739278256893, -0.10475225746631622, 0.010864084586501122, -0.013057174161076546, -0.004943665117025375, 0.028528587892651558, 0.0076020946726202965, 0.061111629009246826, -0.009564817883074284, -0.039438746869564056, 0.022907646372914314, 0.014126074500381947, -0.01207120530307293, -0.013103246688842773, 0.004033717792481184, 0.006201466545462608, -0.008067435584962368, 0.05005403608083725, 0.0652397945523262, -0.016991833224892616, -0.06328628957271576, -0.0091225141659379, -0.011029948480427265, -0.04854283109307289, 0.0008431414025835693, -0.002377382479608059, -0.058162935078144073, 0.006975498050451279, 0.07659225910902023, -0.021783458068966866, 0.03449968993663788, -0.015296336263418198, -0.0064825136214494705, -0.05274471640586853, -0.037485238164663315, 0.018456965684890747, 0.024603143334388733, -0.03532900661230087, -0.025764189660549164, 0.022096754983067513, -0.04319832846522331, 0.03223288059234619, 0.02241005375981331, -0.04013906046748161, -0.024216126650571823, 0.031753718852996826, 0.013739058747887611, -0.004952880088239908, -0.021249007433652878, 0.05171267315745354, -0.014338011853396893, 0.005796021316200495, 0.01935078762471676, -0.04330890253186226, -0.04736335575580597, -0.0426085889339447, -0.0360846109688282, 0.01189612690359354, 0.03333863988518715, -0.0057545555755496025, 0.002607748843729496, -0.011850053444504738, 0.06350743770599365, 0.05333445593714714, 0.010974660515785217, 0.0006634555757045746, -0.013573194853961468, 0.040360212326049805, -0.051270369440317154, 0.004787016194313765, 0.06549780815839767, -0.04776879772543907, 0.05237612873315811, -0.037706390023231506, 0.043456338346004486, -0.023128798231482506, -0.005229319911450148, -0.03105340525507927, 0.025248169898986816, 0.006887958850711584, -0.008629529736936092, 0.00376649247482419, 0.0027321467641741037, -0.03284104913473129, 0.004114345647394657, -0.007984503172338009, -0.022723352536559105, -0.018853195011615753, -0.001440942520275712, -0.018788693472743034, 0.04585215076804161, 0.06778304278850555, -0.029063038527965546, -0.0007527225534431636, 0.05617256835103035, 0.05598827823996544, 0.04375120624899864, -0.049169428646564484, -0.0016620943788439035, 0.011158953420817852, -0.010707435198128223, -0.03033466264605522, -0.009703037329018116, 0.03626890480518341, 0.07452817261219025, 0.03300691395998001, -0.029486913233995438, 0.04736335575580597, 0.03429696708917618, 0.033099059015512466, -0.037687961012125015, 0.012541152536869049, 0.04378806799650192, -0.008085864596068859, -0.003457801416516304, 0.06100105121731758, 0.024087121710181236, 0.010034765116870403, 0.010145341046154499, 0.018825551494956017, 0.07080545276403427, 0.024676861241459846, -0.027570264413952827, -0.007150576449930668, -0.004277905914932489, 0.008099686354398727, -0.013785132206976414, 0.01935078762471676, -0.014374869875609875, -0.05060691386461258, -0.0552511028945446, -0.04990660026669502, 0.026022201403975487, -0.01429193839430809, -0.03427853807806969, 0.01953507959842682, 0.0332280658185482, -0.05904754251241684, 0.03494199365377426, 0.02148858830332756, 0.07316440343856812, 0.0029141362756490707, 0.03145885095000267, -0.027772987261414528, -0.01957193948328495, -0.0151396868750453, -0.033854663372039795, 0.04010220244526863, 0.02417926862835884, 0.008053612895309925, -0.024769006296992302, -0.012513509020209312, 0.032343458384275436, -0.018521467223763466, -0.003015497699379921, 0.018033090978860855, 0.027680840343236923, 0.05256042256951332, -0.026151206344366074, 0.011914555914700031, -0.010412566363811493, 0.005229319911450148, 0.0274228285998106, -0.0064825136214494705, 0.03206701949238777, -0.002240314381197095, -0.028252149000763893, -0.001170261879451573, 0.013941781595349312, 0.04006534442305565, -0.0758550837635994, -0.030629530549049377, 0.0070860739797353745, -0.0460733026266098, 0.0016551833832636476, 0.049021992832422256, -0.005777592305094004, 0.03208544850349426, 0.0648343488574028, 0.030426809564232826, 0.034610264003276825, -0.013075603172183037, 0.03488670289516449, -0.01351790688931942, -0.08263707160949707, -0.0053122518584132195, -0.011324817314743996, 0.07449131458997726, -0.00810429360717535, -0.010357278399169445, 0.009988691657781601, 0.014623666182160378, 0.04153968766331673, 0.0226312056183815, 0.01938764564692974, 0.022778641432523727, -0.011389320716261864, 0.009481885470449924, -0.01429193839430809, -0.009804398752748966, -0.013167750090360641, 0.058162935078144073, -0.007371728308498859, -0.03765110298991203, 0.0521918348968029, -0.034425970166921616, 0.007892356254160404, -0.0352737195789814, -0.007390157785266638, -0.004059057682752609, 0.03661905974149704, 0.06693529337644577, -0.023497384041547775, 0.03617675602436066, -0.003736544866114855, -0.06262283027172089, -0.03658220171928406, 0.03158785402774811, 0.02895246259868145, 0.009233090095221996, -0.09612733870744705, -0.011029948480427265, 0.08396398276090622, 0.047473929822444916, 0.06822534650564194, -0.029579060152173042, 0.009878115728497505, -0.005367539823055267, 0.014033927582204342, 0.0007158639491535723, 0.016015078872442245, 0.07814031839370728, -0.004091309383511543, -0.010725865140557289, 0.03284104913473129, -0.020788274705410004, -0.03778010606765747, -0.014955393970012665, 0.0793197974562645, -0.037300944328308105, -0.03337550163269043, -0.021433299407362938, 0.04581529274582863, 0.008233299478888512, -0.013821990229189396, -0.010255916975438595, 0.029579060152173042, 0.047473929822444916, 0.0020732986740767956, -0.01800544559955597, -0.050901785492897034, -0.06571895629167557, -0.045557282865047455, -0.08285822719335556, 0.03610303997993469, 0.012320000678300858, -0.022188901901245117, 0.008283979259431362, 0.05904754251241684, -0.023829111829400063, 0.02495330013334751, -0.007003142032772303, -0.013370472006499767, 0.010099267587065697, -0.03197487071156502, -0.03453654795885086, 0.017194556072354317, 0.0056485868990421295, -0.0005209162482060492, 0.002261047251522541, -0.08838701993227005, -0.027865132316946983, -0.018622828647494316, -0.0022621990647166967, -0.05845780670642853, -0.029450055211782455, 0.04869026690721512, 0.022023038938641548, 0.07924608141183853, 0.04998031631112099, -0.08366911858320236, -0.003252775175496936, -0.056504298001527786, 0.0018187436508014798, -0.07968838512897491, -0.0006098953308537602, -0.004911413881927729, -0.010486283339560032, -0.008454451337456703, 0.0678936168551445, -0.02471371926367283, -0.06044817343354225, 0.03197487071156502, -0.010983875021338463, 0.011702618561685085, -0.0026538223028182983, 0.05344503000378609, -0.0005710209952667356, -0.02685151994228363, 0.037079792469739914, 0.03796439990401268, -0.00561172841116786, -0.017314346507191658, 0.01314010564237833, -0.034241676330566406, 0.02381068281829357, -0.008362304419279099, -0.009850472211837769, -0.001687434734776616, 0.01842932030558586, 0.05193382501602173, -0.011647330597043037, -0.026151206344366074, 0.0413922555744648, -0.06446576118469238, -0.005169424694031477, 0.037687961012125015, -0.028841886669397354, -0.01994052529335022, 0.012900524772703648, 0.008182618767023087, 0.014411728829145432, -0.07194806635379791, -0.00861570704728365, 0.027183247730135918, 0.09251519292593002, -0.020051101222634315, -0.009961048141121864, -0.01808837801218033, -0.021378012374043465, -0.030260944738984108, -0.022870786488056183, -0.01761843077838421, -0.005602513439953327, 0.00997026264667511, -0.0460733026266098, -0.002024921588599682, 0.0540347695350647, 0.07021570950746536, 0.004236440174281597, -0.035808172076940536, -0.053408171981573105, -0.0004158115480095148, 0.05786806717514992, 0.024068692699074745, -0.01914806477725506, 0.030924400314688683, 0.0038517280481755733, -0.01782115362584591, 0.016521885991096497, 0.0346655510365963, -0.046110160648822784, -0.02110157161951065, 0.024769006296992302, -0.028436442837119102, 0.023681677877902985, 0.05502995103597641, 0.016051938757300377, -0.01953507959842682, 0.058236654847860336, 0.04386178404092789, 0.012402933090925217, -0.02279707044363022, 0.00361675419844687, -0.055877700448036194, -0.0014282723423093557, 0.02817843109369278, 0.00561172841116786, -0.05812607705593109, 0.034204818308353424, 0.040360212326049805, -0.06173822656273842, -0.07382786273956299, -0.03602932393550873, 0.023700106889009476, -0.08411142230033875, -0.02091727964580059, 0.017240630462765694, -0.03623204305768013, 0.025174451991915703, 0.05808921903371811, 0.006229110527783632, 0.020456546917557716, 0.025469321757555008, -0.001591832609847188, -0.01486324705183506, -0.03726408630609512, -0.032472461462020874, -0.016623247414827347, 0.026740944012999535, 0.04080251604318619, 0.04426722973585129, -0.04371434822678566, 0.03455497696995735, -0.023884398862719536, -0.036877069622278214, -0.010283561423420906, 0.004404607694596052, -0.01920335181057453, -0.021212147548794746, 0.021820316091179848, -0.009896545670926571, -0.02051183395087719, -0.06833592057228088, 0.053813617676496506, 0.012531938031315804, -0.013287540525197983, -0.0689256563782692, -0.028252149000763893, 0.0013153927866369486, -0.018097592517733574, 0.011306388303637505, -0.007625131402164698, -0.010136126540601254, -0.0042548696510493755, -0.0456678569316864, 0.013094032183289528, -0.04983288422226906, -0.020272253081202507, -0.033873092383146286, 0.026611939072608948, -0.007952251471579075, 0.003828691318631172, 0.07556021213531494, -0.05230241268873215, 0.03409424424171448, 0.026777803897857666, 0.07511790841817856, 0.024695290252566338, -0.008809215389192104, 0.02780984528362751, 0.009638534858822823, 0.04032335430383682, -0.006353508215397596, 0.0186596866697073, -0.0018521466990932822, 0.031532566994428635, 0.017120838165283203, -0.01446701679378748, -0.010624503716826439, 0.008085864596068859, -0.012301571667194366, -0.006136963609606028, 0.012716230936348438, -0.02585633657872677, -0.037485238164663315, 0.0006052880198694766, 0.0162085872143507, 0.06181194260716438, 0.043824926018714905, -0.02974492311477661, -0.029966074973344803, -0.0053122518584132195, -0.022520629689097404, -0.011241885833442211, 0.03836984559893608, -0.045925866812467575, 0.001728900708258152, 0.04618387669324875, 0.01916649378836155, -0.02032754011452198, -0.077476866543293, -0.02110157161951065, 0.008689424954354763, 0.036361049860715866, 0.007270366884768009, 0.07998324930667877, -0.013176964595913887, -0.037687961012125015, 0.003907016012817621, 0.012918953783810139, -0.009518744423985481, 0.045778434723615646, -0.03204859048128128, -0.035974033176898956, -0.011481466703116894, 0.012771518900990486, -0.011029948480427265, 0.03814869374036789, -0.029265761375427246, 0.04754764586687088, -0.01733277551829815, -0.032730475068092346, 0.050127752125263214, 0.011324817314743996, 0.04043392837047577, 0.014743456616997719, 0.009776754304766655, -0.02073298580944538, 0.06535036861896515, -0.043235186487436295, -0.003485445398837328, 0.01841089129447937, -0.033264923840761185, 0.08617550134658813, 0.03335706889629364, 0.050901785492897034, 0.0020732986740767956, 0.020438116043806076, 0.039807334542274475, 0.008952043019235134, -0.01246743556112051, 0.0005713089485652745, -0.015001467429101467, -0.021746598184108734, -0.08514346182346344, -0.0464787483215332, -0.03925445303320885, 0.03494199365377426, -0.000004836796961171785, -0.031145552173256874, 0.010007121600210667, -0.07028943300247192, -0.010762723162770271, -0.03051895461976528, 0.02322094514966011, 0.11219770461320877, -0.016134871169924736, -0.006487120874226093, -0.005455079022794962, 0.029615918174386024, 0.003890890395268798, 0.06756188720464706, 0.05326073616743088, -0.04349319636821747, -0.038812149316072464, 0.13423916697502136, -0.007496126461774111, 0.007251937873661518, -0.013683770783245564, -0.04559414088726044, -0.09789655357599258, -0.07356984913349152, 0.025819478556513786, 0.006947854068130255, -0.028067855164408684, 0.007841676473617554, -0.03516314551234245, 0.03145885095000267, -0.004089005757123232 ]
42,014
opt_einsum_fx._opt_ein
optimize_einsums
Optimize einsums in a ``torch.fx.Graph`` using ``opt_einsum``. ``graph`` must have shape information such as that populated by ``torch.fx.passes.shape_prop.ShapeProp``. The shapes are used for ``opt_einsum`` and the result is specific to the number of dimensions in the provided shapes ``opt_einsum``: ...while it will work for a set of arrays with the same ranks as the original shapes but differing sizes, it might no longer be optimal. See the ``opt_einsum`` `documentation <https://optimized-einsum.readthedocs.io/en/stable/reusing_paths.html>`_ for more details. Args: graph (fx.Graph): the graph to optimize contract_kwargs: extra keyword arguments for ``opt_einsum.contract_path``. Returns: An optimized ``fx.Graph``.
def optimize_einsums(graph: fx.Graph, contract_kwargs: dict = {}) -> fx.Graph: """Optimize einsums in a ``torch.fx.Graph`` using ``opt_einsum``. ``graph`` must have shape information such as that populated by ``torch.fx.passes.shape_prop.ShapeProp``. The shapes are used for ``opt_einsum`` and the result is specific to the number of dimensions in the provided shapes ``opt_einsum``: ...while it will work for a set of arrays with the same ranks as the original shapes but differing sizes, it might no longer be optimal. See the ``opt_einsum`` `documentation <https://optimized-einsum.readthedocs.io/en/stable/reusing_paths.html>`_ for more details. Args: graph (fx.Graph): the graph to optimize contract_kwargs: extra keyword arguments for ``opt_einsum.contract_path``. Returns: An optimized ``fx.Graph``. """ defaults = { "optimize": "optimal", } defaults.update(contract_kwargs) contract_kwargs = defaults new_graph = fx.Graph() tracer = fx.proxy.GraphAppendingTracer(new_graph) # env keeps track of new injected nodes in addition to existing ones, # making sure they get into new_graph env = {} node_processed: bool = False for node in graph.nodes: node_processed = False if node.op == "call_function" and node.target in _EINSUM_FUNCS: # Get shapes shapes = [get_shape(a) for a in node.args[1:]] if any(s is None for s in shapes): warnings.warn( f"einsum {repr(node)} lacked shape information; " "not optimizing. " "Did you forget to run ShapeProp on this graph?", RuntimeWarning, ) else: # We have shapes, so: # Determine the optimal contraction path, path_info = opt_einsum.contract_path( node.args[0], # the einstr *shapes, shapes=True, **contract_kwargs, ) # By wrapping the arguments with proxies, # we can dispatch to opt_einsum and implicitly # add it to the Graph by symbolically tracing it. proxy_args = [ fx.Proxy(env[x.name], tracer=tracer) if isinstance(x, fx.Node) else x for x in node.args ] # Use _core_contract to avoid `len()` calls that # fx can't deal with output_proxy = _core_contract( proxy_args[1:], path_info.contraction_list, backend="torch", evaluate_constants=False, ) # Operations on `Proxy` always yield new `Proxy`s, and the # return value of our decomposition rule is no exception. # We need to extract the underlying `Node` from the `Proxy` # to use it in subsequent iterations of this transform. new_node = output_proxy.node env[node.name] = new_node node_processed = True if not node_processed: # Default case: just copy the node over into the new graph. new_node = new_graph.node_copy(node, lambda x: env[x.name]) env[node.name] = new_node new_graph.lint() return new_graph
(graph: torch.fx.graph.Graph, contract_kwargs: dict = {}) -> torch.fx.graph.Graph
[ -0.0034157682675868273, -0.06244822219014168, 0.05614684894680977, -0.013673171401023865, -0.0414840392768383, 0.020287593826651573, -0.02849755436182022, -0.06842644512653351, 0.05828769877552986, -0.004392784088850021, 0.013976122252643108, -0.028194604441523552, -0.03409204259514809, 0.01190595980733633, -0.03265807777643204, 0.05061294883489609, 0.007730289828032255, -0.0171470046043396, 0.046694789081811905, 0.010184190236032009, -0.047502655535936356, -0.08991574496030807, 0.007073896937072277, 0.032153159379959106, -0.012158418074250221, 0.026356704533100128, 0.06979982554912567, -0.018813233822584152, 0.022579919546842575, -0.017934676259756088, -0.05760101228952408, -0.06244822219014168, -0.04241308569908142, -0.025670016184449196, 0.02070162631571293, -0.004200915340334177, 0.03092115931212902, 0.04681596904993057, -0.009502551518380642, -0.005846946965903044, -0.03792941942811012, 0.011714090593159199, 0.024841951206326485, -0.017520643770694733, 0.02768968604505062, 0.03524325415492058, -0.028537947684526443, 0.035223059356212616, -0.018166938796639442, 0.02556903287768364, 0.014147793874144554, -0.117787204682827, 0.030012307688593864, 0.014783990569412708, -0.029810341075062752, 0.05929753556847572, 0.04225151240825653, -0.0045644561760127544, -0.005614684894680977, -0.022539526224136353, -0.0071546840481460094, -0.08110997825860977, 0.015339399687945843, -0.005453111138194799, -0.09080439805984497, 0.02316562458872795, -0.05554094538092613, -0.014723400585353374, 0.01908588968217373, 0.0020941460970789194, -0.029406405985355377, -0.019691789522767067, 0.03279945254325867, -0.039222005754709244, -0.013319728896021843, -0.04431157931685448, -0.0028300636913627386, 0.005604586564004421, -0.01440025307238102, -0.0447155125439167, -0.00764950318261981, -0.0359097458422184, -0.05958028882741928, -0.016248252242803574, 0.03792941942811012, 0.005594488233327866, 0.015945300459861755, 0.013178352266550064, 0.008124126121401787, -0.08034250140190125, 0.05958028882741928, -0.004157997202128172, -0.0028729818295687437, 0.03057781606912613, 0.0060287173837423325, 0.015753433108329773, -0.0014175564283505082, -0.05065334215760231, 0.06216546893119812, -0.004072161391377449, 0.014592121355235577, 0.06164035201072693, 0.011360648088157177, 0.012956188060343266, 0.04778541252017021, -0.050734128803014755, -0.051057279109954834, -0.04253426566720009, 0.08846157789230347, -0.04657360911369324, 0.0019237364176660776, 0.02070162631571293, -0.00404691556468606, -0.02815421111881733, 0.03059801273047924, 0.013218745589256287, -0.015985693782567978, -0.01877284049987793, 0.009128912352025509, 0.04822973906993866, 0.03754568099975586, 0.043301742523908615, -0.03469794616103172, 0.006856782361865044, 0.018065955489873886, -0.0324157178401947, 0.06511418521404266, 0.05174396559596062, 0.028598537668585777, -0.07961542159318924, 0.02829558774828911, -0.028255194425582886, 0.0200654286891222, 0.050895705819129944, -0.014521433040499687, 0.024195656180381775, -0.028618736192584038, 0.009729764424264431, -0.028093621134757996, 0.014571924693882465, -0.016086677089333534, -0.0006892126402817667, -0.028093621134757996, 0.02187303453683853, -0.03904023766517639, 0.00028149160789325833, 0.03152706101536751, -0.027952244505286217, 0.0008482617558911443, -0.018045758828520775, 0.01125966478139162, 0.02409467287361622, -0.049441542476415634, -0.0018959660083055496, 0.0027265555690973997, -0.039222005754709244, 0.01473349891602993, 0.01182517223060131, -0.05618724226951599, 0.008038289844989777, -0.020600643008947372, -0.010209435597062111, 0.008699731901288033, 0.02461978793144226, -0.027144376188516617, -0.04386724904179573, 0.07105202227830887, 0.011774680577218533, -0.05683353543281555, 0.017278283834457397, -0.02461978793144226, -0.07638394832611084, -0.04366528242826462, 0.0011392205487936735, 0.012552253901958466, 0.053965602070093155, 0.021166149526834488, -0.01827802136540413, -0.06115563213825226, 0.007361700292676687, -0.02088339626789093, 0.006250881124287844, 0.005246094893664122, -0.012077631428837776, -0.009603534825146198, 0.022903066128492355, -0.0037843582686036825, -0.01766202040016651, 0.03849492594599724, -0.06563930213451385, -0.04641203582286835, -0.02510450780391693, 0.0018846052698791027, 0.03542502596974373, 0.008861305192112923, -0.002696260577067733, -0.01943933218717575, 0.034536369144916534, 0.0006387208704836667, 0.0034864568151533604, -0.06878998875617981, 0.018732447177171707, 0.0878152847290039, 0.002376900054514408, -0.015117236413061619, -0.01732877641916275, -0.005821701139211655, 0.01728838123381138, 0.0030875718221068382, 0.02443801611661911, -0.023105034604668617, -0.02849755436182022, 0.01782359555363655, 0.03803040087223053, 0.03621269762516022, 0.07274854183197021, 0.020277494564652443, 0.0018795561045408249, 0.0007788355578668416, 0.0017558513209223747, -0.031163521111011505, -0.045079052448272705, 0.01976247876882553, -0.0036328828427940607, 0.04503865912556648, -0.057560618966817856, -0.02023710124194622, -0.02395329624414444, 0.06563930213451385, -0.05913596227765083, 0.0032415715977549553, -0.003196129109710455, -0.0071546840481460094, -0.00809887982904911, 0.026599064469337463, 0.0504513755440712, -0.08030211180448532, -0.02183264121413231, 0.06329648196697235, -0.0029865882825106382, -0.03475853428244591, -0.06341766566038132, -0.05533897876739502, 0.003776784520596266, 0.007210224866867065, -0.010471993125975132, 0.05166317895054817, 0.02409467287361622, 0.0007384421187452972, 0.018823331221938133, 0.0005913848290219903, -0.05259222909808159, 0.0027820966206490993, 0.016924841329455376, -0.028537947684526443, 0.020782412961125374, 0.03122411109507084, 0.04156482592225075, 0.0069426181726157665, -0.04580613225698471, 0.014430548064410686, -0.07036533206701279, -0.0160260871052742, 0.02494293451309204, -0.014188187196850777, -0.022216379642486572, 0.05303655564785004, -0.017106611281633377, -0.07480860501527786, 0.020519854500889778, 0.0770302414894104, 0.047502655535936356, 0.00988628901541233, 0.024660181254148483, 0.019530216231942177, 0.028436964377760887, -0.04338252916932106, 0.06531615555286407, 0.011380844749510288, 0.006326618604362011, 0.02653847448527813, 0.009931731037795544, -0.07400073856115341, -0.035384632647037506, -0.03457676246762276, 0.022458739578723907, -0.008947141468524933, -0.05457150563597679, 0.02344837784767151, -0.0423726923763752, 0.06244822219014168, 0.020519854500889778, 0.026275917887687683, -0.021974017843604088, 0.0037464892957359552, 0.021246936172246933, -0.015066743828356266, 0.0015412613283842802, -0.026578867807984352, 0.013834744691848755, 0.055258192121982574, 0.0007144585251808167, -0.008684584870934486, -0.08571483194828033, 0.03324378281831741, 0.0066851102747023106, 0.027467522770166397, 0.035041287541389465, 0.039908695966005325, 0.008396781049668789, -0.05129963904619217, -0.03061820939183235, -0.04164561256766319, -0.010411403141915798, -0.039888497442007065, 0.012915794737637043, 0.03998948261141777, -0.0359097458422184, 0.06874959170818329, 0.019459528848528862, 0.0004844054055865854, 0.06943628191947937, -0.015127334743738174, -0.0014970810152590275, -0.03217335417866707, 0.016591595485806465, -0.0007712618098594248, 0.025144901126623154, 0.011582812294363976, -0.04269583895802498, -0.009926682338118553, -0.0002698153839446604, 0.04483669251203537, 0.020964182913303375, -0.05291537567973137, -0.0003021617012564093, 0.10623468458652496, -0.021166149526834488, -0.0028729818295687437, 0.0032693420071154833, 0.050249408930540085, 0.06341766566038132, -0.023206017911434174, 0.006730552762746811, -0.01650070957839489, -0.03605112433433533, 0.034536369144916534, -0.011300058104097843, -0.01666228473186493, 0.01926765963435173, -0.020378477871418, -0.0043700626119971275, 0.008538158610463142, -0.03409204259514809, 0.03445558249950409, 0.03754568099975586, -0.04859327897429466, -0.04229190573096275, 0.02510450780391693, -0.040554989129304886, -0.05715668201446533, 0.0007453847792930901, -0.007780781947076321, 0.015470677986741066, 0.0324157178401947, -0.002948719309642911, 0.0021711462177336216, -0.0033097355626523495, 0.08046368509531021, -0.10049881786108017, 0.003703571390360594, -0.07622237503528595, 0.014117498882114887, 0.016773365437984467, -0.040413614362478256, -0.028618736192584038, -0.07533372193574905, 0.01384484302252531, -0.010623468086123466, 0.059661075472831726, -0.014430548064410686, 0.02054005116224289, -0.03758607432246208, 0.0004765160847455263, 0.04867406561970711, 0.02734634280204773, 0.032597485929727554, 0.011703992262482643, 0.04580613225698471, 0.0016548677813261747, 0.0046629151329398155, -0.000012208752195874695, 0.007972650229930878, 0.01619775965809822, -0.09347036480903625, 0.0002349445130676031, 0.03128470107913017, 0.03156745433807373, -0.12029159069061279, -0.029567981138825417, -0.050895705819129944, -0.021004576236009598, 0.053319308906793594, 0.04665439575910568, 0.018217431381344795, -0.0524306558072567, -0.009739862754940987, 0.001594277680851519, 0.09233935177326202, 0.06883037835359573, -0.001289433566853404, -0.013663073070347309, -0.01911618374288082, 0.03286004438996315, -0.057035502046346664, -0.0009012781083583832, -0.010411403141915798, -0.050410982221364975, 0.059984222054481506, -0.005705569870769978, 0.06648756563663483, 0.03637427091598511, 0.01779329963028431, -0.044109608978033066, -0.00021790355094708502, -0.03027486614882946, -0.05028980225324631, -0.03677820414304733, -0.04839131236076355, -0.010421501472592354, -0.043463315814733505, -0.0404944010078907, 0.004556882195174694, -0.007058749441057444, -0.034213222563266754, -0.03928259760141373, 0.01101730391383171, -0.046210069209337234, -0.01960090547800064, 0.01796497218310833, 0.012118024751543999, -0.021812444552779198, 0.01238058228045702, -0.04536180570721626, -0.04382685571908951, -0.009179404005408287, 0.042493872344493866, 0.03134528920054436, -0.05986304208636284, -0.01142123807221651, 0.0967826247215271, -0.0024172936100512743, 0.0008583600865676999, 0.010865828953683376, 0.013471203856170177, -0.0006873192032799125, 0.052713409066200256, -0.005543996579945087, -0.06442749500274658, 0.05974186211824417, -0.007816125638782978, 0.013218745589256287, -0.017520643770694733, 0.006316520273685455, -0.0011897123185917735, 0.02312523126602173, 0.0556621290743351, -0.027305949479341507, 0.019469626247882843, 0.053480882197618484, 0.044917479157447815, -0.05457150563597679, -0.04305938258767128, -0.032132960855960846, 0.026437491178512573, 0.027750276029109955, -0.03073938935995102, 0.018409298732876778, 0.007407142780721188, 0.00005234576383372769, 0.030779782682657242, -0.040070269256830215, 0.02381191961467266, -0.017449956387281418, 0.0439884290099144, 0.04661400243639946, 0.04665439575910568, -0.03542502596974373, 0.02653847448527813, 0.04665439575910568, -0.0012496713316068053, -0.029547784477472305, 0.03397086262702942, 0.030961552634835243, 0.026437491178512573, -0.024660181254148483, -0.005291537381708622, 0.015036448836326599, 0.03108273446559906, -0.038919057697057724, -0.021246936172246933, 0.015521170571446419, -0.03936338424682617, 0.012441172264516354, 0.026013359427452087, -0.025043917819857597, -0.010562878102064133, 0.05166317895054817, 0.017712512984871864, -0.007947404868900776, 0.000154867724631913, -0.014662809669971466, 0.026902014389634132, 0.02494293451309204, 0.04204954579472542, 0.012118024751543999, 0.025690212845802307, 0.08220060169696808, 0.08506853133440018, -0.0649930089712143, 0.02621532790362835, 0.03233493119478226, -0.03318319097161293, -0.02540745958685875, 0.005705569870769978, 0.02946699783205986, -0.008038289844989777, -0.013077368028461933, 0.04402882233262062, 0.0059075369499623775, -0.046048495918512344, 0.029668964445590973, -0.003726292634382844, 0.05586409568786621, -0.0077201914973556995, -0.03267827257514, 0.060105402022600174, -0.046210069209337234, -0.04366528242826462, 0.022075001150369644, -0.01685415208339691, 0.0536828488111496, -0.002407195046544075, -0.0005532004288397729, 0.01797506958246231, 0.06725503504276276, 0.07036533206701279, 0.012976384721696377, -0.02217598631978035, -0.06527575850486755, -0.043624889105558395, 0.03952495753765106, 0.009825698100030422, 0.04859327897429466, 0.06996139883995056, -0.05877241864800453, -0.0414840392768383, -0.02316562458872795, -0.06147877871990204, -0.004473570734262466, -0.025346867740154266, -0.0020158840343356133, -0.005781307816505432, -0.042332299053668976, 0.026902014389634132, 0.029042866080999374, 0.013703466393053532, -0.040070269256830215, -0.01473349891602993, 0.0061448486521840096, -0.03611171245574951, -0.000552884885109961, 0.014642613008618355, -0.027002999559044838, -0.012481565587222576, 0.01862136460840702, -0.0030875718221068382, -0.024175459519028664, 0.032456111162900925, -0.040070269256830215, -0.00355714512988925, -0.0560256689786911, -0.0035722926259040833, 0.018863724544644356, 0.03544522076845169, 0.04544259235262871, -0.07064808160066605, 0.04289780929684639, 0.03009309433400631, 0.027144376188516617, 0.005801504477858543, -0.01960090547800064, 0.0006008520722389221, -0.012077631428837776, -0.0268414244055748, -0.025629622861742973, -0.04827013239264488, 0.04677557572722435, 0.013410613872110844, -0.05481386557221413, -0.07735339552164078, -0.003776784520596266, 0.04786619916558266, -0.003855046583339572, -0.039383579045534134, 0.01166359893977642, -0.05053216218948364, 0.024236049503087997, 0.06313490867614746, -0.018984906375408173, 0.020802609622478485, 0.010184190236032009, -0.016298742964863777, -0.047341082245111465, -0.04532141238451004, -0.01285520475357771, -0.01908588968217373, 0.04358449578285217, 0.03271866589784622, 0.02880050614476204, -0.021570084616541862, 0.025851786136627197, -0.020105822011828423, -0.07424309849739075, -0.041019514203071594, 0.047502655535936356, 0.010471993125975132, -0.010805238969624043, -0.039908695966005325, 0.003552095964550972, -0.041524432599544525, -0.019510019570589066, 0.07513175159692764, 0.011310156434774399, 0.02088339626789093, -0.09363193809986115, 0.054329145699739456, 0.020348183810710907, -0.06083248555660248, -0.07929227501153946, -0.009679272770881653, 0.013269237242639065, -0.044271182268857956, -0.05190553888678551, -0.04689675569534302, 0.022256772965192795, 0.018530480563640594, -0.03693977743387222, 0.06693188846111298, -0.0008823436801321805, 0.025306474417448044, 0.042493872344493866, -0.015642350539565086, 0.01972208544611931, 0.04665439575910568, 0.05659117549657822, 0.012673433870077133, 0.010441698133945465, 0.0320521742105484, 0.02058044634759426, 0.03740430250763893, 0.0044256034307181835, 0.0211863461881876, 0.007397044450044632, 0.021913427859544754, -0.008189764805138111, 0.008235207758843899, -0.017924578860402107, 0.020943986251950264, 0.0228020828217268, -0.062246255576610565, 0.0012149582616984844, -0.0023983591236174107, -0.0158443171530962, 0.011441434733569622, 0.02023710124194622, 0.026498081162571907, 0.008831010200083256, -0.03427381440997124, -0.03560679778456688, 0.02964876778423786, 0.019520118832588196, 0.030517226085066795, 0.026639457792043686, -0.01847998797893524, -0.0017949824687093496, -0.03673781082034111, 0.00026997318491339684, 0.037485089153051376, 0.004786619916558266, 0.00603376654908061, -0.06325609236955643, 0.05808573216199875, -0.003802030347287655, 0.07274854183197021, -0.01701572723686695, -0.024195656180381775, -0.0022658181842416525, -0.029729554429650307, -0.025124704465270042, 0.05582370236515999, 0.03378909081220627, -0.0340314544737339, -0.050734128803014755, -0.011027402244508266, 0.012219008058309555, -0.05392520874738693, 0.009108715690672398, -0.013814548030495644, 0.023852312937378883, -0.008634092286229134, -0.02639709785580635, 0.04818934574723244, 0.023508967831730843, 0.0648314356803894, 0.02734634280204773, 0.03346594423055649, 0.00858865026384592, -0.06305412203073502, 0.020459264516830444, -0.007523273583501577, 0.013339925557374954, 0.03324378281831741, 0.007129437755793333, -0.011370746418833733, -0.017207594588398933, 0.050249408930540085, -0.06915352493524551, 0.01941913552582264, 0.054935045540332794, 0.03679840266704559, 0.03720233589410782, 0.035505812615156174, -0.0024930310901254416, -0.052511442452669144, -0.010143796913325787, 0.05768179893493652, 0.005862094461917877, -0.02024720050394535, 0.004016620106995106, -0.004630095325410366, 0.029668964445590973, -0.04592731595039368, 0.023751327767968178, 0.00643770070746541, -0.017419660463929176, -0.005983274895697832, 0.005453111138194799, -0.0077201914973556995, 0.0006169463158585131, 0.015803923830389977, 0.04726029559969902, 0.03009309433400631, 0.02558922953903675, 0.029749751091003418, -0.04122148081660271, 0.031163521111011505, -0.0802617147564888, -0.04293820261955261, -0.0741623118519783, -0.005372324492782354, -0.022721296176314354, -0.008119076490402222, -0.010335665196180344, 0.017399463802576065, -0.020297691226005554, 0.04451354593038559, 0.03558659926056862 ]
42,015
opt_einsum_fx._opt_ein
optimize_einsums_full
Optimize einsums in ``model`` for ``example_inputs``. All of the restrictions of ``torch.fx`` symbolic tracing apply. Applies, in order, four optimizations: 1. Scalar accumulation --- use the multilinearity of einsum to collect all constant coefficients and divisors of operands and outputs 2. Fusing einsums --- gives greater flexibility to (3) 3. Optimized contraction with ``opt_einsum``. 4. Moving constant scalar coefficients through operations they commute with in order to place them on the smallest possible intermediate results Args: model (torch.nn.Module or callable or fx.Graph): the model, function, or ``fx.Graph`` to optimize. example_inputs (tuple): arguments to ``model`` whose shapes will determine the einsum optimizations. tracer_class (type, optional): the tracer class to use to turn ``model`` into an ``fx.Graph`` if it isn't already an ``fx.GraphModule`` or ``fx.Graph``. Returns: An optimized ``fx.GraphModule``, or if ``model`` is an ``fx.Graph``, an optimized ``fx.Graph``.
def optimize_einsums_full( model: Union[torch.nn.Module, Callable, fx.Graph], example_inputs: tuple, contract_kwargs: dict = {}, tracer_class: type = fx.Tracer, ) -> Union[fx.GraphModule, fx.Graph]: """Optimize einsums in ``model`` for ``example_inputs``. All of the restrictions of ``torch.fx`` symbolic tracing apply. Applies, in order, four optimizations: 1. Scalar accumulation --- use the multilinearity of einsum to collect all constant coefficients and divisors of operands and outputs 2. Fusing einsums --- gives greater flexibility to (3) 3. Optimized contraction with ``opt_einsum``. 4. Moving constant scalar coefficients through operations they commute with in order to place them on the smallest possible intermediate results Args: model (torch.nn.Module or callable or fx.Graph): the model, function, or ``fx.Graph`` to optimize. example_inputs (tuple): arguments to ``model`` whose shapes will determine the einsum optimizations. tracer_class (type, optional): the tracer class to use to turn ``model`` into an ``fx.Graph`` if it isn't already an ``fx.GraphModule`` or ``fx.Graph``. Returns: An optimized ``fx.GraphModule``, or if ``model`` is an ``fx.Graph``, an optimized ``fx.Graph``. """ output_graph = False if isinstance(model, fx.GraphModule): graph: fx.Graph = model.graph elif isinstance(model, fx.Graph): graph: fx.Graph = model model = torch.nn.Module() output_graph = True else: tracer: fx.Tracer = tracer_class() graph: fx.Graph = tracer.trace(model) model = tracer.root # 1. Scalar accumulation # without shape information, this just accumulates scalars and moves them to the end of chains of linear operations graph = fuse_scalars(graph) # 2. Fuse any einsums we can # This gives opt_einsum the most freedom possible to rearange things # Since we already moved scalars to the end of chains of linear operations, any scalars between linear operations should already have been moved graph = fuse_einsums(graph, in_place=True) out_mod = fx.GraphModule(model, graph) # 3. Shape propagation sp = ShapeProp(out_mod) sp.run(*example_inputs) # 4. Optimize einsums out_mod.graph = optimize_einsums(out_mod.graph, contract_kwargs) out_mod.recompile() # 5. Shape prop (again) # We need shapes to put the scalars in the best place sp = ShapeProp(out_mod) sp.run(*example_inputs) # 6. Final scalar fusion to move scalars out_mod.graph = fuse_scalars(out_mod.graph, in_place=True) if output_graph: return out_mod.graph else: out_mod.recompile() return out_mod
(model: Union[torch.nn.modules.module.Module, Callable, torch.fx.graph.Graph], example_inputs: tuple, contract_kwargs: dict = {}, tracer_class: type = <class 'torch.fx._symbolic_trace.Tracer'>) -> Union[torch.fx.graph_module.GraphModule, torch.fx.graph.Graph]
[ -0.011793235316872597, -0.08592492341995239, 0.028459707275032997, 0.025301849469542503, -0.013479375280439854, -0.004047223832458258, -0.039297789335250854, -0.06627602875232697, 0.05387851595878601, -0.02300168201327324, -0.007957996800541878, -0.03797226771712303, 0.0039570690132677555, -0.0033649704419076443, -0.019892556592822075, 0.09450182318687439, 0.003416139632463455, -0.029102975502610207, 0.06381992250680923, -0.02331356890499592, -0.02516539953649044, -0.056061726063489914, 0.02204652689397335, 0.06853721290826797, 0.008479433134198189, 0.0006859081913717091, 0.07723107188940048, -0.034229621291160583, 0.019756104797124863, -0.05426837503910065, -0.04803062975406647, -0.024015314877033234, -0.04440494254231453, -0.018703484907746315, 0.0023147878237068653, -0.06576921790838242, 0.013888726942241192, 0.067718505859375, -0.02999965101480484, -0.012875094078481197, 0.006486279424279928, -0.005038927774876356, 0.03185148164629936, -0.02688077837228775, 0.010633404366672039, 0.022397400811314583, -0.012806868180632591, 0.06284527480602264, 0.005535997916013002, -0.014658698812127113, -0.001570400781929493, -0.0656522586941719, 0.004797702189534903, 0.0257891733199358, 0.008128560148179531, 0.016003713011741638, 0.04647119343280792, -0.012767882086336613, 0.01616940274834633, 0.010175320319831371, -0.006700701545923948, -0.056295640766620636, -0.006617856677621603, 0.036510296165943146, -0.06615907698869705, -0.004822068382054567, -0.028849566355347633, -0.005667575169354677, 0.0037597029004245996, -0.01592574082314968, -0.0612468495965004, -0.013489121571183205, 0.06635399907827377, -0.016344839707016945, 0.0019505133386701345, -0.0483815036714077, -0.018177175894379616, -0.02288472279906273, -0.0115593196824193, -0.04440494254231453, 0.014337064698338509, -0.03888843581080437, -0.07481393963098526, -0.0328066349029541, -0.02259232848882675, -0.032007426023483276, 0.006437547039240599, 0.002814294770359993, 0.023664440959692, -0.05458026006817818, 0.03239728510379791, 0.023079652339220047, -0.02428821660578251, 0.005930730141699314, 0.0150583041831851, -0.0014704994391649961, -0.016257120296359062, -0.04986296594142914, 0.013956952840089798, -0.003942449111491442, 0.010877066291868687, 0.0032894352916628122, -0.0016118233324959874, 0.013742529787123203, 0.02493148297071457, -0.056607525795698166, -0.04417102411389351, -0.02450263872742653, 0.06931693106889725, 0.009663630276918411, 0.05399547144770622, -0.0033454776275902987, -0.020155711099505424, -0.0104774609208107, 0.023917850106954575, 0.0002343722735531628, 0.02011672407388687, 0.005979462526738644, 0.003140801563858986, 0.0065155187621712685, 0.024892497807741165, 0.017611879855394363, -0.08849799633026123, -0.017611879855394363, 0.052630964666604996, -0.0161401629447937, 0.0633520856499672, 0.0056870682165026665, 0.009264024905860424, -0.057348258793354034, -0.008021349087357521, 0.001901780953630805, 0.012972558848559856, 0.023469511419534683, -0.003116435371339321, 0.04444392770528793, -0.01854754239320755, -0.0022916400339454412, -0.017105063423514366, 0.04588640481233597, -0.022826245054602623, 0.048342518508434296, -0.028245285153388977, 0.042650576680898666, 0.013225967064499855, -0.01785554178059101, 0.062299467623233795, 0.027114693075418472, 0.009410222060978413, -0.024639088660478592, 0.003840111196041107, 0.021364273503422737, -0.026958750560879707, 0.03341091796755791, -0.005136392544955015, 0.014561234042048454, 0.02288472279906273, 0.005253349896520376, -0.05571085214614868, -0.03319649398326874, -0.03955119475722313, 0.009317629970610142, 0.04491175711154938, 0.0044687590561807156, -0.017758077010512352, -0.033605847507715225, 0.007811799645423889, 0.03537970408797264, -0.06487254053354263, 0.02399582229554653, -0.028518186882138252, -0.04604234918951988, 0.0027826186269521713, 0.001242066384293139, 0.0158380214124918, 0.06650994718074799, 0.010662644170224667, -0.02409328706562519, -0.07625642418861389, -0.029375875368714333, 0.0031334918458014727, 0.010350756347179413, -0.000019378734577912837, -0.020721005275845528, -0.01897638663649559, 0.0024938792921602726, 0.010808841325342655, -0.04756280034780502, 0.0018213725415989757, -0.07516481727361679, -0.0344245508313179, -0.025243369862437248, 0.028576664626598358, 0.008445320650935173, -0.013235713355243206, 0.0010197249939665198, -0.024911990389227867, 0.015672331675887108, 0.051344431936740875, 0.00894239079207182, -0.07325451076030731, -0.01656900718808174, 0.06085699051618576, -0.012358530424535275, -0.0645606517791748, 0.003148111514747143, 0.014824388548731804, 0.03173452243208885, -0.037056099623441696, 0.00016340574075002223, -0.007256250828504562, -0.00011101844575023279, -0.0115593196824193, 0.05535997822880745, 0.05075964331626892, 0.0741901695728302, 0.042533617466688156, 0.03356685861945152, -0.022553343325853348, 0.00267297076061368, -0.054775189608335495, -0.05621767044067383, -0.01968787983059883, -0.0008881475660018623, 0.04354725033044815, -0.046081334352493286, -0.018683992326259613, 0.013966699130833149, 0.06514544039964676, -0.07446306943893433, 0.039726633578538895, 0.002853280631825328, -0.012212333269417286, 0.005623715929687023, -0.0376603789627552, 0.02957080490887165, -0.07773788273334503, 0.010984277352690697, 0.06939490139484406, -0.016325345262885094, -0.026705341413617134, -0.06647095829248428, -0.040584322065114975, 0.014424783177673817, 0.023079652339220047, -0.008191912434995174, 0.023800892755389214, 0.006008701864629984, -0.0012012530351057649, 0.005394673906266689, 0.009410222060978413, 0.012524220161139965, 0.019414978101849556, 0.030350523069500923, -0.023177117109298706, 0.023040667176246643, 0.05727028846740723, 0.04222172871232033, 0.0010824678465723991, -0.06175366789102554, 0.008109067566692829, -0.07461901009082794, 0.02933689020574093, -0.02074049971997738, -0.039629168808460236, -0.0005948395701125264, 0.04526263102889061, -0.016559261828660965, 0.03237779065966606, 0.056295640766620636, 0.06296222656965256, 0.054463304579257965, -0.009673376567661762, 0.01597447320818901, 0.016968613490462303, 0.02440517395734787, 0.009687996469438076, 0.04019446298480034, 0.03288460895419121, -0.0007998201181180775, 0.0036256888415664434, -0.024853510782122612, -0.05255299434065819, -0.02571120113134384, -0.010331263765692711, 0.046081334352493286, 0.01403492409735918, -0.025730693712830544, 0.03323547914624214, -0.03760189935564995, 0.08662667125463486, -0.0006962637999095023, 0.06319614499807358, -0.04128606989979744, -0.03214387595653534, -0.005155885126441717, -0.03834263235330582, 0.02549677900969982, -0.01268991082906723, -0.004081336315721273, -0.006764053832739592, 0.012992051430046558, 0.025633228942751884, -0.061012934893369675, 0.048225559294223785, -0.03042849525809288, 0.01273864321410656, -0.02600359544157982, 0.020389625802636147, -0.014181121252477169, -0.012602192349731922, 0.006822532508522272, 0.005652955733239651, -0.07461901009082794, -0.01998027414083481, 0.02933689020574093, 0.03602297231554985, -0.002692463807761669, 0.0742291510105133, 0.018791204318404198, 0.026685848832130432, 0.053800541907548904, 0.006661715917289257, 0.017319485545158386, -0.039083365350961685, -0.0003484365006443113, 0.005414166953414679, -0.007587630767375231, -0.01971711963415146, -0.06331310421228409, -0.007680222392082214, -0.018420837819576263, 0.04183186963200569, 0.025223877280950546, -0.08218228071928024, -0.05820595100522041, 0.06257236748933792, -0.0316760428249836, -0.03237779065966606, 0.017397457733750343, 0.05118848755955696, 0.03752392902970314, -0.009614897891879082, 0.011013517156243324, -0.018206415697932243, -0.03097429871559143, 0.044677842408418655, -0.0014704994391649961, 0.024600103497505188, -0.005019434727728367, 0.028888551518321037, 0.01656900718808174, 0.012494981288909912, -0.018274640664458275, 0.033371929079294205, 0.05816696211695671, -0.021091371774673462, -0.017299992963671684, 0.04795265942811966, -0.03380077704787254, -0.03727051988244057, -0.038128212094306946, -0.03368381783366203, 0.0023147878237068653, 0.050915587693452835, -0.0019505133386701345, 0.04576944559812546, -0.02816731296479702, 0.07801079005002975, -0.04031142219901085, -0.03643232583999634, -0.057894062250852585, 0.004446829203516245, 0.031208213418722153, -0.06280628591775894, 0.003328421153128147, -0.03479491546750069, 0.011793235316872597, 0.004653941839933395, 0.005945350043475628, 0.013381910510361195, 0.002950745401903987, -0.024327201768755913, -0.02988269366323948, 0.06475558131933212, 0.03417114168405533, 0.057894062250852585, 0.022338921204209328, -0.004110576119273901, -0.010916052386164665, 0.03598398715257645, -0.013937459327280521, 0.01871323212981224, -0.027777453884482384, -0.0774260014295578, 0.016296107321977615, 0.02988269366323948, 0.03502883017063141, -0.09832244366407394, -0.041675928980112076, -0.029921678826212883, -0.02074049971997738, 0.058868709951639175, 0.007933630608022213, -0.06136380881071091, -0.03992156311869621, -0.05976538732647896, -0.021344780921936035, 0.07033056765794754, 0.03752392902970314, 0.029707256704568863, 0.015175261534750462, -0.04771874099969864, 0.031110748648643494, -0.0015959852607920766, 0.04436595365405083, 0.0021235132589936256, -0.053059808909893036, 0.00012205936945974827, 0.0008747461251914501, 0.07321552187204361, 0.04799164459109306, 0.02892753854393959, -0.021890582516789436, 0.012465741485357285, -0.031149733811616898, -0.061441779136657715, -0.027348609641194344, -0.020896442234516144, 0.022085512056946754, -0.032514240592718124, -0.04249463230371475, -0.014073910191655159, 0.00031371467048302293, -0.04237767308950424, -0.03512629494071007, 0.021325288340449333, -0.014005685225129128, -0.011461854912340641, 0.009936531074345112, -0.0031359284184873104, -0.013518361374735832, -0.020175203680992126, -0.03894691541790962, -0.016218135133385658, -0.006379067897796631, 0.027056215330958366, 0.026081567630171776, -0.07730904221534729, 0.014658698812127113, 0.07153912633657455, -0.014366304501891136, 0.018683992326259613, 0.030136100947856903, 0.011149968020617962, -0.03894691541790962, 0.057036373764276505, 0.004921969957649708, -0.011627544648945332, 0.015457909554243088, -0.02740708738565445, 0.007957996800541878, 0.03512629494071007, 0.0017080698162317276, -0.008294249884784222, -0.00035148224560543895, 0.06171467900276184, -0.04093519598245621, -0.00765585619956255, 0.034580495208501816, 0.03335243836045265, -0.05224110558629036, -0.024424666538834572, 0.02783593349158764, 0.006232870742678642, 0.031968437135219574, -0.0174559373408556, 0.013489121571183205, 0.006379067897796631, -0.027660496532917023, 0.03085733950138092, -0.034892380237579346, 0.03270917013287544, 0.017611879855394363, 0.012992051430046558, 0.07910238951444626, 0.094657763838768, -0.05461924523115158, 0.09879027307033539, 0.02321610413491726, -0.04233868792653084, 0.011344896629452705, 0.05383952707052231, 0.03594500198960304, 0.0010623658308759332, -0.048225559294223785, 0.010886812582612038, 0.03974612429738045, 0.03935626521706581, -0.004402969963848591, 0.04124708101153374, 0.0166469793766737, -0.032748155295848846, -0.02278725802898407, 0.018489062786102295, 0.01871323212981224, 0.01408365648239851, 0.02495097555220127, 0.0024488018825650215, -0.008922898210585117, -0.04116911068558693, 0.00008794671157374978, 0.00327725219540298, 0.021656667813658714, 0.03849857673048973, -0.007850785739719868, 0.057894062250852585, 0.05504809319972992, 0.06927794218063354, -0.06943389028310776, 0.025223877280950546, 0.006086673587560654, -0.06958983093500137, 0.0071246731095016, -0.016539769247174263, 0.0752037987112999, -0.03479491546750069, 0.022962694987654686, 0.02300168201327324, 0.01607193797826767, 0.0018079711589962244, 0.019492950290441513, -0.026529904454946518, 0.021910076960921288, -0.04019446298480034, -0.06148076429963112, 0.036627255380153656, -0.09060323238372803, -0.03054545260965824, -0.00016538549971301109, -0.030915819108486176, 0.04764077067375183, -0.01166653074324131, 0.014151881448924541, 0.030447987839579582, 0.06822532415390015, 0.07461901009082794, 0.026510411873459816, -0.0784786194562912, -0.056412599980831146, -0.04444392770528793, 0.048537448048591614, 0.0328066349029541, 0.04709496721625328, 0.09450182318687439, -0.02483401820063591, -0.06639298796653748, 0.004342054482549429, -0.07461901009082794, -0.005365434568375349, 0.0035647733602672815, -0.004610082600265741, -0.004402969963848591, -0.03966815397143364, 0.00043067237129434943, 0.022105006501078606, 0.05224110558629036, -0.058751750737428665, -0.03769936412572861, 0.045730460435152054, -0.07321552187204361, -0.0062621100805699825, 0.029648777097463608, -0.01993154175579548, -0.0028947030659765005, 0.015730811282992363, -0.0022660554386675358, -0.03409317135810852, 0.02933689020574093, -0.03803074732422829, -0.02902500331401825, -0.06927794218063354, 0.004683181177824736, -0.036178916692733765, 0.059297554194927216, -0.004873237572610378, -0.04019446298480034, 0.03194894641637802, -0.02062354050576687, 0.05442431569099426, 0.020506583154201508, 0.004003364592790604, -0.03869350627064705, -0.0012091720709577203, 0.006442420184612274, -0.027017228305339813, -0.09075917303562164, 0.017826303839683533, 0.04288449138402939, 0.017202528193593025, -0.04997992515563965, -0.00008771827560849488, 0.05200719088315964, -0.02280675247311592, -0.03179300203919411, 0.019873062148690224, -0.061441779136657715, -0.0008546440512873232, 0.049083247780799866, -0.02719266526401043, -0.007149039302021265, -0.0011208446230739355, -0.004437082912772894, -0.005974589381366968, -0.024911990389227867, -0.02138376608490944, -0.002090618945658207, 0.06530138105154037, 0.054775189608335495, 0.03343040868639946, 0.029317397624254227, 0.046198293566703796, -0.026412947103381157, -0.044677842408418655, -0.0301166083663702, 0.05668549984693527, -0.010341010056436062, -0.01079909410327673, 0.018888669088482857, 0.02181261219084263, -0.045301616191864014, 0.016257120296359062, 0.05953146889805794, 0.014151881448924541, 0.055749837309122086, -0.09598328918218613, 0.038654521107673645, 0.03623739629983902, -0.07481393963098526, -0.09793258458375931, -0.03097429871559143, -0.03912235051393509, -0.03454150632023811, -0.006603236775845289, -0.009951150976121426, 0.05224110558629036, 0.0005339240888133645, -0.01887892186641693, 0.053254738450050354, 0.01659824699163437, 0.012241573072969913, 0.023820385336875916, -0.044794801622629166, 0.027563031762838364, 0.06284527480602264, 0.04046736657619476, 0.017329232767224312, -0.00904960185289383, 0.022124499082565308, -0.002285548485815525, -0.010068109259009361, -0.008615883998572826, 0.017719091847538948, 0.03760189935564995, 0.0030774495098739862, -0.02557475119829178, -0.0069297440350055695, 0.010077855549752712, 0.02976573444902897, -0.01027278508991003, -0.050681669265031815, 0.003637871937826276, -0.030603932216763496, 0.01197841763496399, -0.007728954777121544, -0.0188301894813776, 0.04701699689030647, 0.03904438018798828, -0.09606125950813293, -0.04931716248393059, 0.0666269063949585, 0.006184138357639313, 0.008801067247986794, 0.02352799102663994, 0.006968729663640261, -0.029804721474647522, -0.048654403537511826, 0.030370015650987625, 0.0006852990482002497, -0.04202679917216301, -0.015467655844986439, -0.05953146889805794, 0.06062307581305504, -0.05383952707052231, 0.0236449483782053, -0.014853628352284431, -0.036081451922655106, 0.014161628670990467, 0.008908278308808804, -0.03497035428881645, 0.0580889917910099, 0.019648894667625427, -0.04888831824064255, -0.023664440959692, 0.024600103497505188, 0.037036605179309845, -0.029102975502610207, 0.012972558848559856, -0.008445320650935173, 0.01171526312828064, 0.004268955904990435, -0.014473515562713146, 0.029512327164411545, 0.017797064036130905, 0.07173405587673187, 0.015799036249518394, 0.03637384623289108, 0.005735800601541996, -0.06518442928791046, 0.01764111965894699, 0.005092533305287361, 0.005063293967396021, 0.010916052386164665, -0.02806984819471836, -0.030447987839579582, -0.03742646425962448, 0.03142263740301132, -0.023196611553430557, 0.005911237094551325, 0.07290363311767578, 0.05103254318237305, 0.010175320319831371, 0.03426860645413399, 0.007378081791102886, -0.0012402390129864216, 0.016344839707016945, 0.014639205299317837, 0.012816614471375942, -0.03999953344464302, -0.036490801721811295, -0.010038869455456734, 0.014229853637516499, -0.012163600884377956, -0.017845796421170235, -0.01176399551331997, -0.011325404047966003, 0.032085396349430084, 0.005896617658436298, -0.004117885604500771, -0.03925880044698715, 0.02600359544157982, 0.04635423421859741, 0.02957080490887165, 0.009960897266864777, 0.056490570306777954, -0.026081567630171776, 0.002468294929713011, -0.07602250576019287, -0.018683992326259613, -0.05130544677376747, -0.006296223029494286, -0.03996054828166962, 0.04845947399735451, -0.010126587934792042, -0.009892672300338745, -0.01484388206154108, -0.007051574997603893, 0.017056331038475037 ]
42,016
patch_ng
Hunk
Parsed hunk data container (hunk starts with @@ -R +R @@)
class Hunk(object): """ Parsed hunk data container (hunk starts with @@ -R +R @@) """ def __init__(self): self.startsrc=None #: line count starts with 1 self.linessrc=None self.starttgt=None self.linestgt=None self.invalid=False self.desc='' self.text=[]
()
[ 0.023507731035351753, -0.04160156100988388, -0.059267979115247726, -0.0022416936699301004, -0.03746990114450455, -0.029509326443076134, -0.019269216805696487, 0.0662134438753128, 0.02204740233719349, 0.001950073172338307, -0.011655917391180992, 0.031112127006053925, -0.03533283248543739, 0.023169362917542458, -0.05157453939318657, -0.006130709778517485, -0.018592478707432747, 0.03316015005111694, -0.051966335624456406, -0.007350618485361338, -0.02308031916618347, 0.008886635303497314, -0.025306429713964462, 0.08519771695137024, 0.010418199002742767, 0.039891909807920456, 0.03447800502181053, -0.007350618485361338, -0.01197647675871849, -0.06208178400993347, -0.027692820876836777, -0.05392531305551529, -0.04295503720641136, 0.01497727446258068, -0.0408535897731781, -0.034317728132009506, 0.006865326315164566, -0.03453143313527107, -0.08569636940956116, 0.03910831734538078, 0.031788863241672516, 0.028939442709088326, 0.024718735367059708, -0.02607221156358719, 0.016090329736471176, 0.014870421029627323, 0.010035308077931404, 0.011566872708499432, 0.00035033421590924263, -0.05071971192955971, -0.022457007318735123, 0.041565943509340286, -0.02562698908150196, -0.023881718516349792, -0.032786160707473755, 0.016036903485655785, 0.0097503662109375, 0.09203632920980453, 0.004941966384649277, 0.01582319661974907, -0.04252762347459793, 0.03796854987740517, 0.04715793579816818, 0.026606477797031403, 0.0021092400420457125, 0.0036485958844423294, 0.010792185552418232, -0.015582776628434658, -0.003564003622159362, -0.02655305154621601, 0.009483233094215393, 0.04452221840620041, 0.01690063439309597, 0.026588669046759605, 0.02779967337846756, -0.02265290543437004, -0.05168139189481735, 0.0017018618527799845, 0.034513622522354126, -0.00209699640981853, -0.010008594952523708, 0.08498401194810867, 0.005730009637773037, -0.006731759756803513, 0.04420166090130806, -0.052037570625543594, 0.05641855672001839, -0.017960263416171074, -0.027959953993558884, 0.039535731077194214, -0.033391665667295456, 0.02909972332417965, -0.01433615479618311, -0.02204740233719349, 0.01810273341834545, 0.009732557460665703, 0.019269216805696487, -0.02655305154621601, -0.01987471804022789, -0.033035486936569214, -0.019839100539684296, 0.04099605977535248, -0.03640136495232582, 0.008815399371087551, -0.06557232141494751, -0.00483066076412797, -0.00911369826644659, -0.0049686795100569725, -0.011611394584178925, 0.040711116045713425, 0.004276358988136053, -0.04003437981009483, -0.006197493057698011, 0.030168255791068077, 0.06372019648551941, -0.05962415412068367, -0.05641855672001839, 0.02024870552122593, 0.007119102869182825, -0.043239980936050415, 0.0191979818046093, -0.05039915069937706, -0.09267745167016983, 0.08569636940956116, 0.007025605998933315, -0.014077926054596901, 0.04462907090783119, -0.007190338335931301, 0.05937483161687851, -0.06902724504470825, 0.03169982135295868, 0.02724759839475155, -0.004652571864426136, -0.024433793500065804, -0.017960263416171074, -0.03796854987740517, 0.03567120060324669, -0.037042487412691116, 0.011780579574406147, -0.06835050880908966, 0.054139018058776855, -0.015502636320888996, 0.020907634869217873, -0.034460198134183884, -0.08655119687318802, 0.0019166815327480435, 0.0023151554632931948, -0.06966836750507355, 0.02867230959236622, -0.013142959214746952, -0.027959953993558884, -0.0699889287352562, 0.017657512798905373, 0.020391175523400307, 0.031860098242759705, -0.016562266275286674, -0.0532485730946064, -0.04035494104027748, 0.018556861206889153, 0.015814293175935745, 0.024789972230792046, -0.06842174381017685, 0.007203694898635149, 0.017016392201185226, -0.027407879009842873, 0.008205444552004337, 0.027514731511473656, -0.08683613687753677, -0.03294644132256508, 0.023187171667814255, 0.03262588381767273, -0.003746544709429145, -0.044059187173843384, 0.051111508160829544, 0.014621096663177013, 0.05837753415107727, -0.007666726130992174, 0.0804961696267128, 0.015600585378706455, 0.02370362915098667, -0.045911312103271484, 0.018663713708519936, -0.04922376573085785, 0.01565401256084442, 0.01992814615368843, -0.015333452261984348, 0.059837862849235535, -0.0008681832696311176, 0.034691713750362396, 0.030168255791068077, -0.001012880471535027, -0.05645417422056198, 0.013516945764422417, 0.03900146484375, 0.021655607968568802, -0.015493731945753098, 0.0012388307368382812, 0.048440173268318176, -0.010213397443294525, 0.017345856875181198, -0.05745147168636322, 0.026357153430581093, -0.0028494219295680523, -0.016633501276373863, 0.0008526004967279732, 0.0631503164768219, -0.016010189428925514, 0.025484519079327583, -0.13349542021751404, 0.02514614909887314, -0.011370974592864513, -0.02420227788388729, 0.030435388907790184, 0.017666416242718697, 0.04833332076668739, -0.05859123915433884, -0.039535731077194214, 0.04797714203596115, 0.0010078717023134232, 0.007666726130992174, 0.03267930820584297, -0.008361272513866425, -0.05852000415325165, 0.015956763178110123, -0.021210385486483574, -0.002816030289977789, 0.05132521316409111, 0.0383959636092186, 0.005899194162338972, -0.060763925313949585, 0.01148673240095377, -0.03467390313744545, 0.041637178510427475, 0.012671023607254028, 0.027461305260658264, 0.0445934534072876, -0.01383750606328249, 0.013873123563826084, -0.0201240424066782, -0.027568157762289047, -0.02204740233719349, -0.03914393484592438, 0.00892670452594757, -0.013792983256280422, -0.02457626536488533, 0.046409960836172104, 0.02297346480190754, 0.03077375702559948, -0.01163810770958662, 0.0053025963716208935, -0.02110353112220764, 0.020266514271497726, 0.006317703053355217, 0.027959953993558884, 0.017363665625452995, -0.01857466995716095, -0.03474513813853264, -0.06742444634437561, 0.04284818470478058, -0.042135827243328094, 0.008263323456048965, 0.00758213410153985, 0.007635560818016529, 0.05762955918908119, 0.034317728132009506, 0.06596411764621735, -0.0009655756293796003, 0.005756722763180733, -0.04758534952998161, -0.03725619241595268, 0.05022106319665909, 0.028280513361096382, -0.024433793500065804, -0.01226141955703497, -0.06304346024990082, 0.04010561481118202, 0.03294644132256508, -0.02477216348052025, -0.005565277300775051, 0.013997785747051239, 0.02762158401310444, -0.0010401502950116992, -0.001045159064233303, -0.010320249944925308, 0.04135223850607872, -0.025662606582045555, -0.015743056312203407, 0.010943561792373657, -0.02308031916618347, -0.04836893826723099, 0.004861826542764902, -0.006402295082807541, 0.008672928437590599, -0.0157964825630188, 0.11226722598075867, 0.04502086713910103, -0.02302689105272293, 0.01845000684261322, -0.025039296597242355, -0.028707927092909813, -0.0015360165853053331, -0.060015950351953506, 0.02332964353263378, -0.003998095169663429, -0.10193807631731033, -0.00039457817911170423, 0.014630001038312912, 0.028886016458272934, 0.0414590910077095, -0.05827068164944649, 0.057985737919807434, 0.0451989583671093, 0.006713950540870428, -0.0046303109265863895, -0.03392593190073967, -0.01498617883771658, -0.002927335910499096, 0.013766270130872726, 0.0016851660329848528, 0.05403216555714607, -0.01172715239226818, -0.07572338730096817, 0.031984761357307434, -0.012626501731574535, 0.06514491140842438, -0.04388109967112541, 0.03697125241160393, -0.020693928003311157, 0.005827958695590496, -0.014540956355631351, -0.025929739698767662, -0.03782607614994049, -0.008192088454961777, 0.02129942923784256, -0.03510131686925888, -0.012368272058665752, -0.026339344680309296, -0.004701546393334866, -0.03180667385458946, -0.07290958613157272, 0.05787888541817665, -0.009955167770385742, -0.02902848646044731, 0.05057724192738533, 0.11183981597423553, -0.014567670412361622, -0.019696630537509918, -0.05292801558971405, 0.031735438853502274, 0.04940185323357582, 0.032786160707473755, 0.00438098656013608, 0.023917336016893387, 0.012715545482933521, 0.11447553336620331, -0.006139614153653383, 0.010809995234012604, -0.005048819817602634, -0.018734950572252274, -0.01055176556110382, 0.054815758019685745, 0.015199885703623295, -0.05039915069937706, 0.008045164868235588, -0.0798550546169281, -0.03889461234211922, -0.008672928437590599, 0.02772843837738037, -0.005266978405416012, 0.062010545283555984, -0.04648119583725929, 0.002386390930041671, -0.04199335724115372, -0.03490541875362396, 0.03132583200931549, -0.017835600301623344, 0.038787756115198135, 0.017043106257915497, -0.05267868936061859, -0.011210694909095764, -0.0349944643676281, 0.05666787922382355, -0.016063617542386055, -0.009679130278527737, -0.05577743798494339, 0.011014796793460846, -0.07636450976133347, 0.012386081740260124, 0.04915253072977066, 0.05937483161687851, 0.03365879878401756, -0.016464317217469215, 0.020106233656406403, -0.010765472427010536, -0.008494839072227478, 0.010409294627606869, 0.024380367249250412, 0.006264276336878538, -0.03907269984483719, -0.014380676671862602, 0.038289107382297516, -0.06386267393827438, -0.05164577439427376, 0.051289595663547516, 0.019091127440333366, -0.03832472488284111, 0.05125397816300392, 0.0016083652153611183, -0.02017747052013874, -0.011068223975598812, 0.021744651719927788, -0.03992752730846405, -0.01058738399296999, -0.043738629668951035, -0.0201240424066782, 0.001316744601354003, 0.004254098050296307, -0.013926549814641476, -0.014469721354544163, 0.011157267726957798, -0.04573322460055351, 0.01962539367377758, 0.007599942851811647, 0.050862181931734085, -0.03202037885785103, 0.023258406668901443, -0.023863909766077995, -0.05545687675476074, -0.011647012084722519, -0.0025488969404250383, -0.01684720814228058, -0.01817397028207779, -0.014362867921590805, -0.0037131530698388815, 0.014594383537769318, -0.025537945330142975, -0.023204980418086052, -0.030542243272066116, 0.019696630537509918, 0.02402419038116932, -0.02432694099843502, 0.0458044596016407, 0.09125273674726486, 0.0557061992585659, 0.052001953125, -0.033391665667295456, -0.017105435952544212, -0.04345368593931198, -0.007542063947767019, -0.03235875070095062, -0.020818589255213737, 0.020587073639035225, -0.02172684296965599, -0.004314202815294266, 0.0334450900554657, -0.04480716213583946, -0.05121836066246033, 0.04017684981226921, -0.021156959235668182, 0.0007552081369794905, -0.01497727446258068, 0.08213458955287933, 0.006353320553898811, 0.002731438260525465, -0.013169672340154648, 0.022617287933826447, 0.02742568776011467, 0.007123555056750774, -0.06489558517932892, -0.04252762347459793, -0.03739866241812706, -0.010631905868649483, -0.03312453255057335, 0.0024064260069280863, 0.014166969805955887, -0.005115603096783161, 0.014362867921590805, -0.006344416178762913, -0.05214442312717438, -0.018984274938702583, -0.015894431620836258, -0.056133612990379333, -0.00959899090230465, -0.006197493057698011, -0.030007975175976753, 0.02607221156358719, 0.039535731077194214, -0.08947185426950455, -0.009919550269842148, -0.056988440454006195, -0.02117476798593998, 0.016036903485655785, -0.052464984357357025, -0.04302627220749855, 0.03910831734538078, 0.04972241446375847, 0.0321984700858593, 0.08006875962018967, 0.003833363065496087, -0.06489558517932892, -0.012216896750032902, -0.039215169847011566, -0.020355558022856712, -0.06532300263643265, 0.02087201550602913, 0.01887742057442665, 0.05688158795237541, 0.017043106257915497, -0.01862809620797634, 0.03381907939910889, -0.010934657417237759, -0.025840695947408676, 0.015093032270669937, 0.014140256680548191, 0.005983786191791296, 0.04790590703487396, -0.04388109967112541, 0.03825348988175392, -0.06404075771570206, 0.04897443950176239, 0.03114774450659752, 0.04366739094257355, 0.04523457586765289, -0.07572338730096817, -0.000678407319355756, 0.02172684296965599, -0.0023641297593712807, 0.008819852024316788, 0.017310239374637604, 0.015992380678653717, 0.005587538704276085, -0.05307048559188843, -0.03700686991214752, 0.01609923504292965, 0.02395295351743698, 0.03818225488066673, 0.02334745228290558, -0.025983167812228203, 0.0043075247667729855, 0.012305941432714462, 0.0011074901558458805, -0.02042679488658905, 0.018485626205801964, -0.06717512756586075, -0.005186838563531637, 0.03634794056415558, -0.01467452384531498, -0.005761174950748682, -0.037790458649396896, 0.013018297031521797, 0.006624906323850155, -0.05980224534869194, -0.042634475976228714, -0.011433306150138378, 0.012181279249489307, 0.021495327353477478, 0.006246467120945454, -0.04380986467003822, 0.0495443269610405, 0.017319142818450928, 0.032038189470767975, -0.009242813102900982, -0.02347211353480816, 0.00536937965080142, -0.03750551864504814, 0.00236858194693923, -0.013045010156929493, 0.033961549401283264, -0.07422744482755661, 0.039891909807920456, 0.0122258011251688, 0.03316015005111694, 0.021495327353477478, 0.033267002552747726, -0.040390558540821075, -0.013864219188690186, 0.016464317217469215, 0.05720214545726776, 0.04267009347677231, -0.029206575825810432, 0.023294024169445038, 0.023383069783449173, -0.0069588227197527885, -0.02450503036379814, 0.009625704027712345, 0.021263811737298965, -0.014950561337172985, 0.02902848646044731, -0.02867230959236622, 0.01825411058962345, 0.028333939611911774, -0.03604518994688988, -0.015582776628434658, -0.004525683354586363, -0.007016701623797417, -0.01198538113385439, 0.0730164423584938, -0.03467390313744545, -0.012038808315992355, 0.011851814575493336, -0.024789972230792046, 0.005253621842712164, -0.059410449117422104, 0.040461793541908264, 0.03782607614994049, 0.01008873526006937, 0.007947215810418129, -0.010213397443294525, -0.027639392763376236, -0.02049802988767624, 0.002130388282239437, 0.007858172059059143, 0.007052319590002298, -0.011540159583091736, -0.07066566497087479, 0.019661011174321175, 0.07593709975481033, 0.001062967930920422, 0.021940549835562706, 0.015547159127891064, 0.04861826449632645, 0.007960572838783264, -0.020765163004398346, 0.05143206939101219, 0.02110353112220764, -0.030613478273153305, -0.007813649252057076, -0.02680237591266632, 0.006086187437176704, -0.035386260598897934, 0.01649993471801281, 0.02865450084209442, -0.018156161531805992, 0.004665928427129984, -0.04576884210109711, 0.05317733809351921, -0.02172684296965599, -0.0612981915473938, 0.015280026011168957, 0.031486112624406815, -0.04284818470478058, -0.00902465358376503, 0.007297191768884659, 0.011379878968000412, -0.03152173012495041, -0.015956763178110123, -0.020408986136317253, -0.005057724192738533, 0.021459709852933884, -0.0143895810469985, 0.050612859427928925, 0.043987952172756195, 0.043560538440942764, 0.03925078734755516, -0.018236301839351654, 0.069917693734169, -0.0006505809142254293, 0.017639704048633575, 0.021388474851846695, 0.005649869795888662, -0.04295503720641136, -0.0030898419208824635, 0.03522597998380661, -0.01617937535047531, 0.04754972830414772, 0.03679316118359566, 0.019091127440333366, -0.03332043066620827, 0.004160601180046797, 0.027639392763376236, -0.05410340055823326, 0.047015462070703506, 0.008548266254365444, 0.015012891963124275, -0.022617287933826447, -0.08804713934659958, 0.026766758412122726, 0.004234062973409891, 0.03317795693874359, 0.0005412232130765915, 0.003196695353835821, 0.0458044596016407, 0.021637799218297005, -0.09809135645627975, 0.0008247740915976465, 0.12523210048675537, -0.0315929651260376, -0.02192274108529091, 0.04872511699795723, -0.02984769642353058, -0.02655305154621601, 0.02812023274600506, 0.038467198610305786, 0.04740725830197334, -0.022029593586921692, 0.013979976996779442, 0.008993488736450672, -0.06710388511419296, 0.03267930820584297, -0.05969539284706116, 0.04377424716949463, 0.03490541875362396, -0.03369441628456116, 0.007688987068831921, -0.011718248017132282, -0.02142409235239029, -0.05559934675693512, 0.0061440663412213326, -0.017265716567635536, 0.00823661033064127, -0.006785186007618904, 0.0866936668753624, 0.016562266275286674, -0.025110531598329544, 0.05973101034760475, -0.01887742057442665, 0.010213397443294525, 0.008143113926053047, -0.01955415867269039, 0.016882825642824173, 0.022617287933826447, 0.031860098242759705, 0.04413042217493057, 0.10193807631731033, -0.04979364946484566, 0.019091127440333366, -0.0216734167188406, -0.03494103625416756, -0.009216099046170712, -0.015680724754929543, -0.024380367249250412, 0.029081912711262703, -0.0421002097427845, -0.03143268823623657, -0.012403890490531921, -0.0343533456325531, -0.02514614909887314, -0.03629451245069504, 0.09688034653663635, 0.05688158795237541, -0.015867719426751137, -0.04747849330306053, -0.03700686991214752, -0.007680082693696022, 0.01562729850411415, 0.003826684784144163, 0.058911800384521484, 0.07198352366685867, -0.03146830573678017, 0.04651681333780289, 0.023685820400714874, -0.019429495558142662, -0.018895229324698448, 0.04462907090783119, 0.05973101034760475, -0.00625091977417469, 0.022118639200925827, 0.007479732856154442, 0.011228503659367561, -0.010667523369193077, -0.05225127562880516, -0.07636450976133347, 0.018966466188430786, 0.02334745228290558, -0.023935144767165184, 0.003697570413351059, 0.01837877184152603, 0.028209278360009193 ]
42,017
patch_ng
__init__
null
def __init__(self): self.startsrc=None #: line count starts with 1 self.linessrc=None self.starttgt=None self.linestgt=None self.invalid=False self.desc='' self.text=[]
(self)
[ -0.0025499388575553894, 0.007976732216775417, -0.019562607631087303, -0.0009714831248857081, -0.048017311841249466, -0.008935683406889439, -0.000470485509140417, 0.010975634679198265, 0.023503025993704796, -0.00345004559494555, -0.03420840948820114, 0.0672312080860138, -0.03581247478723526, 0.040485184639692307, -0.04240308701992035, 0.02866392768919468, 0.009049014188349247, -0.04003186151385307, -0.050004955381155014, -0.000010267182005918585, -0.02988441102206707, 0.03877650573849678, -0.007161623332649469, 0.057397596538066864, 0.011010505259037018, 0.06782401353120804, 0.011498698964715004, -0.061477500945329666, 0.007802376989275217, -0.03626579791307449, -0.0001911091967485845, -0.03689347580075264, -0.0222302358597517, -0.019039543345570564, -0.01001668255776167, -0.03745140880346298, -0.00531782116740942, -0.04372818395495415, -0.06123340502381325, 0.04215898737311363, 0.03044234775006771, 0.009179780259728432, 0.015691932290792465, 0.01111511792987585, -0.0039011884946376085, 0.018778011202812195, 0.01191715057939291, -0.010025400668382645, -0.013529932126402855, -0.07922682166099548, 0.0023668662179261446, 0.08585230261087418, -0.011019223369657993, -0.01938825286924839, -0.028036251664161682, 0.04819166660308838, 0.0010646539740264416, 0.126442089676857, -0.00031274891807697713, 0.022108187898993492, -0.05167876183986664, 0.02814086340367794, 0.03150591254234314, -0.011315626092255116, 0.02114923670887947, -0.0002175348490709439, 0.007549562491476536, -0.01792367361485958, 0.015840133652091026, 0.021846655756235123, 0.014297093264758587, 0.029134685173630714, -0.036440152674913406, 0.004929882008582354, 0.03082592785358429, -0.008212110958993435, -0.08187700808048248, 0.060535985976457596, 0.051085952669382095, -0.024723509326577187, 0.01926620490849018, 0.11353984475135803, 0.0376606360077858, -0.0029117250815033913, 0.057676564902067184, -0.05063263326883316, 0.02060873620212078, 0.0028703156858682632, 0.008857223205268383, 0.06029188632965088, -0.02665884792804718, 0.04296102002263069, -0.017601115629076958, -0.012135094031691551, 0.007118034642189741, 0.006930603180080652, 0.010217190720140934, -0.06304669380187988, -0.005073724314570427, 0.005731913726776838, -0.03356329724192619, 0.015003230422735214, -0.028088556602597237, -0.031436167657375336, -0.04613427817821503, -0.023363541811704636, -0.00916234403848648, -0.009903352707624435, 0.027007557451725006, 0.059420112520456314, 0.021166671067476273, -0.029186991974711418, 0.01473298016935587, 0.03916008770465851, 0.031157201156020164, -0.049725987017154694, -0.06921885162591934, -0.02128872089087963, 0.009946941398084164, -0.021218977868556976, 0.048017311841249466, -0.028873153030872345, -0.11556235700845718, 0.07971501350402832, 0.007610586937516928, -0.015369375236332417, 0.021846655756235123, -0.003796575590968132, 0.08187700808048248, -0.11367932707071304, 0.04296102002263069, -0.03982263430953026, 0.03436532989144325, 0.01258841622620821, -0.00461168447509408, -0.04791269823908806, -0.009694126434624195, 0.004977829288691282, -0.014863746240735054, -0.047180406749248505, 0.029657751321792603, 0.011123836040496826, 0.029849540442228317, -0.04278666526079178, -0.029553137719631195, 0.0296228788793087, 0.008303646929562092, -0.035882215946912766, -0.03162796050310135, 0.0005020872922614217, -0.016938569024205208, -0.06562714278697968, -0.024130703881382942, -0.0208877045661211, 0.027949074283242226, 0.005527046974748373, -0.04561121389269829, -0.0497957281768322, 0.02114923670887947, 0.014305810444056988, 0.013425319455564022, -0.054433565586805344, 0.011899714358150959, -0.0021445639431476593, -0.0004789308295585215, 0.04700605198740959, -0.0021314872428774834, -0.06513895094394684, -0.058757565915584564, -0.0018557888688519597, 0.012501238845288754, -0.021619994193315506, -0.015927311033010483, 0.026170654222369194, -0.007431873120367527, 0.05757195129990578, 0.006154724396765232, 0.08961836248636246, -0.006137288641184568, 0.04554147273302078, -0.02573476731777191, 0.030267992988228798, -0.028698798269033432, 0.045994795858860016, 0.05935037136077881, 0.006237542722374201, 0.04079902172088623, 0.0138088995590806, 0.04627376049757004, 0.0067170183174312115, 0.008299288339912891, -0.031157201156020164, -0.02367738075554371, -0.009711561724543571, -0.009179780259728432, 0.008024679496884346, 0.013041738420724869, 0.0023951989132910967, -0.012945843860507011, 0.02113180048763752, -0.022317413240671158, -0.011088964529335499, -0.01488118153065443, -0.001898287795484066, -0.0016792545793578029, 0.07085778564214706, -0.030337734147906303, 0.039787765592336655, -0.09108294546604156, 0.05830424278974533, -0.00989463459700346, -0.02920442819595337, 0.04522763192653656, -0.00834723562002182, 0.062140047550201416, -0.0713111087679863, -0.04878447204828262, 0.06262823939323425, -0.018882624804973602, 0.0350453145802021, 0.07957553118467331, -0.041914891451597214, -0.014445294626057148, -0.05213208496570587, 0.008704663254320621, 0.005213208496570587, 0.05753708258271217, 0.0003939328598789871, -0.012047916650772095, -0.016659600660204887, 0.01964978501200676, -0.03161052241921425, 0.02529888041317463, 0.042995892465114594, 0.03619605675339699, 0.033859699964523315, 0.013826334848999977, 0.024671202525496483, -0.08131907880306244, -0.03598682954907417, -0.05907140299677849, 0.03947392478585243, 0.003436968894675374, -0.033162280917167664, -0.006655994337052107, 0.04052005335688591, 0.021864091977477074, 0.01844673790037632, -0.04794756695628166, -0.02048668824136257, 0.007013421505689621, 0.028698798269033432, -0.0606057271361351, -0.02114923670887947, 0.004572454374283552, -0.010818715207278728, -0.0021957806311547756, -0.07706481963396072, 0.012536109425127506, -0.025194266811013222, 0.02920442819595337, -0.03175000846385956, -0.02855931594967842, 0.05858321115374565, 0.05223669484257698, 0.05220182612538338, -0.0022055881563574076, 0.03014594316482544, -0.0633256584405899, -0.0002958582772407681, 0.04010160267353058, 0.042891278862953186, -0.010164884850382805, 0.0010308726923540235, -0.043100506067276, 0.0013981075026094913, -0.029413653537631035, -0.0188303180038929, -0.006882655434310436, -0.013355577364563942, 0.04902856796979904, 0.044774312525987625, 0.011612028814852238, -0.015970898792147636, 0.0363704115152359, -0.06642917543649673, 0.0047773211263120174, -0.019056979566812515, -0.07985449582338333, -0.027687542140483856, 0.0011011594906449318, 0.041914891451597214, 0.027670105919241905, -0.013285835273563862, 0.11270293593406677, 0.009110038168728352, 0.0242353156208992, 0.042891278862953186, -0.05394537374377251, -0.005871397443115711, -0.03565555438399315, -0.04494866728782654, -0.0024148139636963606, 0.019632350653409958, -0.11012248694896698, -0.04010160267353058, -0.011699206195771694, 0.00686522014439106, 0.07085778564214706, -0.0780412033200264, 0.0646158829331398, 0.058618079870939255, 0.011472545564174652, 0.004413355607539415, -0.011289472691714764, 0.018115462735295296, 0.005435510538518429, -0.0042738718912005424, -0.02678089588880539, 0.049342405050992966, -0.04498353600502014, -0.06043137237429619, 0.01237918995320797, -0.05105108395218849, 0.07204340398311615, 0.008586973883211613, 0.04428611695766449, 0.0015659240307286382, -0.02491530030965805, 0.04212411865592003, 0.015508858487010002, 0.012466367334127426, -0.0075669982470571995, 0.014497601427137852, -0.054468438029289246, -0.011420238763093948, -0.03485352173447609, -0.041391827166080475, -0.015526294708251953, -0.09373313933610916, 0.03933444246649742, -0.021585123613476753, -0.03591708838939667, 0.02317175269126892, 0.07957553118467331, -0.03192436322569847, 0.015831414610147476, -0.05321308225393295, 0.06482511013746262, -0.007353413384407759, 0.00855646189302206, 0.048923954367637634, -0.01792367361485958, 0.031436167657375336, 0.06168672442436218, 0.016520116478204727, -0.006773683708161116, -0.021445639431476593, 0.014759133569896221, -0.004550660029053688, 0.04254256933927536, 0.034138668328523636, -0.035080183297395706, -0.00982489250600338, -0.05003982409834862, 0.008669791743159294, 0.0065775346010923386, 0.02503734827041626, 0.010286932811141014, 0.06346514821052551, -0.038462668657302856, 0.002077001379802823, -0.036440152674913406, -0.04257744178175926, 0.013529932126402855, -0.05680479109287262, -0.0021990498062223196, 0.0027024992741644382, -0.037346795201301575, -0.045715827494859695, -0.060535985976457596, 0.03140129894018173, 0.022160494700074196, 0.008761328645050526, -0.06485998630523682, -0.007545203901827335, -0.028472138568758965, 0.032377686351537704, 0.03255204111337662, 0.045018408447504044, 0.023729687556624413, -0.01792367361485958, -0.019946187734603882, -0.05139979347586632, 0.019022107124328613, -0.032517168670892715, 0.047319892793893814, 0.04090363532304764, -0.030128508806228638, -0.031122330576181412, 0.005862679798156023, 0.005888833198696375, -0.06151236966252327, 0.0578509196639061, -0.015395528636872768, -0.006385744083672762, 0.08278365433216095, -0.010365392081439495, 0.003395559499040246, -0.0038663174491375685, 0.024461977183818817, -0.008325441740453243, -0.013983254320919514, -0.05307359993457794, -0.03110489435493946, -0.02249176800251007, -0.04365843906998634, -0.021218977868556976, 0.006695223972201347, 0.036335539072752, -0.064650759100914, 0.04819166660308838, -0.009502336382865906, 0.025229139253497124, -0.016746778041124344, 0.025612719357013702, -0.010417698882520199, -0.04923779517412186, 0.030111072584986687, -0.031000282615423203, -0.016624730080366135, 0.04069440811872482, -0.03302279859781265, -0.005091160070151091, -0.007933143526315689, -0.03783499076962471, -0.021236414089798927, -0.03487095981836319, 0.007924425415694714, 0.00021331218886189163, 0.0040384926833212376, -0.014044278301298618, 0.05750221014022827, 0.06953269243240356, 0.028838282451033592, -0.04254256933927536, -0.040868762880563736, -0.043414343148469925, -0.03175000846385956, -0.02503734827041626, -0.04885421320796013, 0.07301978766918182, 0.021428203210234642, -0.025612719357013702, -0.01008642464876175, -0.008525948971509933, -0.009179780259728432, 0.006682147271931171, -0.032778702676296234, -0.0031056946609169245, -0.010592053644359112, 0.07371720671653748, 0.007366490084677935, -0.013041738420724869, 0.013233528472483158, 0.005840885452926159, 0.031959231942892075, 0.02341584861278534, -0.0672312080860138, -0.019440559670329094, -0.030756184831261635, -0.024322493001818657, -0.056490954011678696, 0.0006821631104685366, 0.029832106083631516, -0.006015240214765072, 0.006342155393213034, -0.024985041469335556, -0.014515036717057228, -0.01708677038550377, -0.011228448711335659, -0.06506920605897903, 0.01156844012439251, 0.021968703716993332, -0.03098284639418125, 0.014026843011379242, -0.01697343960404396, -0.09812688082456589, -0.0363006666302681, -0.00875261053442955, -0.01325968187302351, -0.014532472006976604, -0.05035366490483284, -0.01666831783950329, 0.00996437668800354, 0.061163660138845444, 0.03535915166139603, 0.038462668657302856, 0.003997083753347397, -0.0350453145802021, -0.004047210793942213, -0.04958650469779968, -0.021323591470718384, -0.023503025993704796, 0.03539402410387993, 0.041147731244564056, 0.017391890287399292, 0.006520869210362434, -0.061895951628685, 0.012013045139610767, 0.02179434895515442, 0.006307284813374281, 0.006538304965943098, 0.013216093182563782, 0.001110966899432242, -0.021480510011315346, -0.03692834451794624, 0.03293561935424805, -0.02665884792804718, 0.027216782793402672, 0.01723497174680233, 0.03825344145298004, -0.00815544556826353, -0.06970704346895218, -0.002041040686890483, 0.03860215097665787, -0.02463633194565773, -0.006952397525310516, 0.04602966457605362, 0.02003336511552334, 0.055654048919677734, -0.04669221490621567, 0.0014918232336640358, 0.00760622788220644, 0.05453817918896675, 0.051364921033382416, 0.03584734722971916, -0.04212411865592003, 0.023729687556624413, 0.009955658577382565, 0.03042491152882576, -0.00040946132503449917, 0.01096691656857729, -0.04672708362340927, -0.006146006286144257, 0.022177929058670998, 0.009720279835164547, -0.014096585102379322, 0.014706826768815517, 0.006106776650995016, 0.04118260368704796, -0.06032675877213478, -0.0578509196639061, -0.0511556975543499, 0.006259337067604065, 0.017836496233940125, 0.02329380065202713, -0.027147041633725166, 0.08041243255138397, 0.019893882796168327, 0.01910928450524807, -0.013373012654483318, -0.05234130844473839, -0.00004610867108567618, -0.011507416144013405, 0.017261125147342682, 0.005753708072006702, 0.01869083382189274, -0.01870827004313469, 0.016485245898365974, 0.033040232956409454, 0.015378092415630817, -0.03098284639418125, 0.047459375113248825, -0.03155821934342384, -0.0038663174491375685, -0.00531782116740942, 0.06130314618349075, -0.0052785915322601795, 0.0036723478697240353, 0.019841575995087624, -0.00007484996604034677, 0.024026090279221535, -0.011760231107473373, -0.0033672270365059376, 0.006398820783942938, -0.04149644076824188, -0.001328365528024733, -0.04240308701992035, -0.019562607631087303, 0.00609369995072484, 0.005117313005030155, -0.02168973721563816, 0.0011022492544725537, -0.022561511024832726, 0.007196493912488222, 0.07894784957170486, -0.03961341083049774, -0.03260434791445732, 0.029971588402986526, -0.04627376049757004, 0.00786776002496481, -0.04526250436902046, 0.06541791558265686, 0.019562607631087303, -0.0376955047249794, 0.00228840671479702, -0.011908432468771935, -0.02855931594967842, 0.0497957281768322, 0.031959231942892075, 0.018499042838811874, 0.023607639595866203, -0.044878922402858734, -0.0834113359451294, 0.00033427082234993577, 0.021166671067476273, 0.0323079414665699, 0.045959923416376114, 0.0018132898258045316, 0.03783499076962471, 0.028733670711517334, -0.030215686187148094, 0.04334460198879242, -0.03752114996314049, -0.001325096469372511, -0.02653679996728897, -0.043100506067276, -0.002054117387160659, 0.00420630956068635, 0.029448524117469788, -0.022962525486946106, 0.0043087429367005825, -0.020800527185201645, -0.015360657125711441, 0.016206277534365654, -0.016877543181180954, -0.033877138048410416, 0.03940418362617493, 0.046517860144376755, -0.013277117162942886, -0.013634544797241688, 0.01747906766831875, -0.02317175269126892, -0.054991502314805984, -0.006102417595684528, -0.04278666526079178, -0.025787074118852615, 0.009728997945785522, -0.01084486860781908, 0.03204641118645668, 0.05886217951774597, 0.03745140880346298, 0.015700649470090866, -0.012466367334127426, 0.05356179177761078, -0.01509040780365467, 0.002482376294210553, 0.022299978882074356, 0.01978926919400692, -0.04540198668837547, 0.011027940548956394, 0.08424823731184006, -0.030390040948987007, 0.03867189213633537, 0.007488538511097431, 0.04376305267214775, -0.008591332472860813, -0.01555244717746973, 0.003635297529399395, -0.04404202103614807, 0.06283746659755707, 0.004018878098577261, 0.028611620888113976, 0.014323246665298939, -0.029535701498389244, 0.02060873620212078, -0.044774312525987625, 0.01641550473868847, -0.014645802788436413, 0.0016890621045604348, 0.04512302204966545, 0.013791464269161224, -0.1290922909975052, 0.009746433235704899, 0.08982758969068527, -0.03671912103891373, -0.0037769607733935118, 0.037207312881946564, -0.018098028376698494, -0.04749424755573273, 0.04404202103614807, 0.02317175269126892, 0.0228927843272686, -0.003831446636468172, 0.022857913747429848, -0.0014602213632315397, -0.08682868629693985, 0.007157264277338982, -0.03738166764378548, 0.044251248240470886, 0.020765656605362892, -0.037346795201301575, 0.008852864615619183, -0.019231334328651428, -0.037486281245946884, -0.03929957002401352, -0.0014591317158192396, -0.04829627647995949, -0.003942597657442093, 0.04526250436902046, 0.07985449582338333, -0.00609369995072484, -0.006385744083672762, 0.014166327193379402, 0.008495436981320381, 0.03213358670473099, 0.017060616984963417, -0.016729341819882393, 0.013861206360161304, 0.03675398975610733, 0.012797641567885876, 0.009066449478268623, 0.0619308240711689, -0.025490671396255493, 0.039648279547691345, -0.0658712387084961, -0.031418733298778534, 0.01721753552556038, -0.04965624585747719, -0.02085283398628235, 0.018778011202812195, -0.039264701306819916, -0.012675593607127666, -0.03460942581295967, 0.0025848099030554295, 0.03159308806061745, -0.016581140458583832, 0.036126311868429184, 0.036405280232429504, -0.011315626092255116, -0.02583938091993332, -0.006817272398620844, 0.017069334164261818, -0.061442628502845764, 0.03082592785358429, 0.04379792511463165, 0.047040924429893494, -0.02653679996728897, 0.010696666315197945, 0.013495060615241528, -0.006263696122914553, -0.015491423197090626, 0.03110489435493946, 0.009798739105463028, -0.04362357035279274, 0.02908238023519516, 0.030355170369148254, -0.01015616673976183, 0.022021010518074036, -0.037207312881946564, -0.06161698326468468, 0.042856406420469284, 0.06140775978565216, 0.008626203052699566, 0.03853240981698036, -0.01151613425463438, 0.05816476047039032 ]
42,018
patch_ng
NullHandler
Copied from Python 2.7 to avoid getting `No handlers could be found for logger "patch"` http://bugs.python.org/issue16539
class NullHandler(logging.Handler): """ Copied from Python 2.7 to avoid getting `No handlers could be found for logger "patch"` http://bugs.python.org/issue16539 """ def handle(self, record): pass def emit(self, record): pass def createLock(self): self.lock = None
(level=0)
[ -0.03744950145483017, -0.007315716706216335, 0.0035533481277525425, 0.053613752126693726, -0.015153984539210796, -0.01759255677461624, -0.02004854753613472, 0.07775561511516571, 0.007498609367758036, -0.022452281787991524, -0.0046724784187972546, -0.03744950145483017, 0.023253528401255608, -0.027312008664011955, -0.006170458626002073, 0.020013710483908653, -0.01748804561793804, 0.026336578652262688, 0.00042321201181039214, -0.020954301580786705, 0.004139040596783161, 0.0012813390931114554, 0.04988621920347214, 0.04978170990943909, -0.05291701480746269, 0.029994437471032143, -0.02579660899937153, 0.016704218462109566, 0.06726975739002228, -0.019909199327230453, -0.010625206865370274, -0.02246970124542713, 0.020100802183151245, -0.01044231466948986, 0.022034240886569023, -0.03217173367738724, -0.006727846339344978, 0.028287436813116074, -0.061695877462625504, 0.011435161344707012, 0.05274283140897751, -0.009876217693090439, -0.021145904436707497, -0.043336912989616394, 0.011226140893995762, 0.043754953891038895, 0.05354407802224159, 0.04622836038470268, 0.004837953019887209, -0.030203457921743393, -0.008339045569300652, 0.09245672076940536, -0.031684018671512604, -0.01072100829333067, -0.014779489487409592, 0.056714221835136414, 0.0570974238216877, -0.026040466502308846, -0.05333505570888519, -0.01940406672656536, 0.012340917252004147, 0.05413630232214928, 0.03339102119207382, 0.020205311477184296, 0.0035751210525631905, -0.012445427477359772, 0.025831446051597595, 0.029889928176999092, 0.03748433664441109, -0.0032419946510344744, -0.07810398191213608, -0.05984952673316002, -0.01490141823887825, 0.0296983253210783, -0.0021076230332255363, 0.0056914533488452435, -0.03504576534032822, 0.020222730934619904, 0.05431048572063446, 0.00009818247053772211, 0.029889928176999092, -0.057132262736558914, -0.0024538133293390274, 0.054171137511730194, 0.015624280087649822, -0.024577323347330093, 0.012898304499685764, 0.02428121119737625, -0.04797019809484482, 0.014709815382957458, -0.08771892637014389, 0.0020640771836042404, -0.019909199327230453, -0.014326611533761024, 0.01592039316892624, 0.0056653255596756935, -0.034209683537483215, 0.01161805447191, -0.013377309776842594, 0.019247300922870636, -0.012741539627313614, -0.016347141936421394, -0.0008126759203150868, -0.006331578362733126, 0.006105139385908842, -0.05911795794963837, 0.0009253510506823659, -0.013098616153001785, 0.012846049852669239, 0.005290830507874489, 0.04915464669466019, -0.01558944396674633, -0.015232366509735584, -0.010189748369157314, -0.03807656094431877, 0.013133453205227852, -0.030307969078421593, 0.02790423296391964, 0.009449467062950134, 0.005652261897921562, -0.01666938327252865, 0.012332207523286343, -0.07322683930397034, -0.02388058975338936, 0.060615938156843185, -0.015423969365656376, -0.025204384699463844, 0.008600321598351002, 0.07907941192388535, 0.0029306411743164062, 0.02311418019235134, 0.03553348034620285, 0.02206907793879509, -0.018010597676038742, -0.016242632642388344, 0.004097672179341316, -0.0076118288561701775, 0.03215431421995163, 0.017906086519360542, 0.008482747711241245, -0.05124485120177269, -0.122555673122406, -0.013595039956271648, -0.01531945914030075, 0.046507056802511215, 0.0371011346578598, 0.010459733195602894, 0.04218729957938194, 0.03150983527302742, -0.004467812366783619, 0.051279690116643906, -0.006679946091026068, 0.023305783048272133, 0.07747691869735718, -0.03140532597899437, 0.03786754235625267, -0.0043480610474944115, 0.044277504086494446, 0.0034923837520182133, -0.026075303554534912, 0.0458451583981514, -0.07873104512691498, 0.03783270716667175, -0.08026386052370071, -0.023375455290079117, 0.028513876721262932, 0.0054954965598881245, -0.004711669869720936, 0.04180409386754036, 0.025082455947995186, -0.08855500817298889, 0.05253381282091141, -0.016373271122574806, 0.03783270716667175, 0.05462401732802391, 0.07580475509166718, -0.027538446709513664, 0.013377309776842594, -0.04347625747323036, -0.01396082527935505, 0.007285234518349171, -0.040062256157398224, -0.009823962114751339, -0.010607789270579815, 0.029680907726287842, 0.003326909150928259, 0.0067888107150793076, -0.045775484293699265, -0.029646070674061775, 0.014657560735940933, -0.011853202246129513, -0.06430862843990326, 0.004019289277493954, -0.025221804156899452, 0.07810398191213608, 0.07615312188863754, -0.03414000943303108, -0.03466256335377693, 0.01669551059603691, -0.039400357753038406, -0.010633916594088078, -0.0022153991740196943, -0.013229253701865673, -0.0050600371323525906, 0.0037253545597195625, 0.017853831872344017, 0.09301411360502243, 0.041002850979566574, -0.058072853833436966, 0.001876829657703638, 0.0458451583981514, 0.021877476945519447, -0.0581425279378891, 0.07413259148597717, 0.008800632320344448, 0.02534373290836811, -0.022992251440882683, 0.027416517958045006, -0.04020160436630249, 0.07134565711021423, -0.012610902078449726, -0.008979171514511108, -0.022016823291778564, 0.004424266517162323, -0.041525401175022125, 0.015937810763716698, 0.0714849978685379, -0.015345586463809013, 0.05239446461200714, -0.04190860316157341, 0.02246970124542713, 0.04922432079911232, -0.05922246724367142, 0.0072242701426148415, 0.02036207728087902, -0.0581425279378891, -0.028374528512358665, -0.033356182277202606, 0.039400357753038406, 0.030273132026195526, 0.013359892182052135, -0.02961123362183571, 0.031649183481931686, 0.023497384041547775, 0.08395655453205109, 0.0023122888524085283, -0.009632360190153122, 0.056365855038166046, 0.02206907793879509, 0.017366116866469383, -0.04866693168878555, 0.005181965883821249, -0.0031070022378116846, -0.02386317029595375, 0.006257550325244665, -0.07705888152122498, 0.03300781548023224, 0.04009709507226944, -0.03588184714317322, -0.011652891524136066, -0.04041062295436859, 0.0010358488652855158, -0.029454467818140984, -0.021163322031497955, 0.020518843084573746, -0.012323498725891113, 0.031213723123073578, -0.0581425279378891, 0.04257050156593323, 0.0742022693157196, 0.08040320873260498, -0.05131452530622482, -0.0013357714051380754, 0.007955841720104218, -0.01527591235935688, -0.013673422858119011, -0.013656004332005978, 0.04347625747323036, 0.009135936386883259, 0.06197457015514374, 0.058177363127470016, 0.045566461980342865, 0.04528776928782463, -0.01113904919475317, -0.010729717090725899, 0.014535631984472275, -0.02823518216609955, 0.00014628711505793035, 0.009005298838019371, -0.0362650528550148, 0.03574249893426895, 0.06657302379608154, -0.05030426010489464, 0.020431751385331154, -0.002758634742349386, 0.009850089438259602, -0.07103212177753448, -0.00694993045181036, 0.06308934837579727, 0.00005643961048917845, -0.022957414388656616, -0.04093317687511444, -0.03184078633785248, 0.006144330836832523, -0.010938738472759724, -0.06925544887781143, 0.00560000678524375, 0.04995589330792427, 0.021772965788841248, -0.0017080891411751509, -0.019160209223628044, 0.02523922175168991, -0.013716968707740307, -0.060615938156843185, 0.040062256157398224, 0.04594966769218445, 0.015363004989922047, 0.03098728507757187, 0.025204384699463844, 0.05514656752347946, -0.06396026164293289, 0.06434346735477448, 0.009188191965222359, 0.04030611366033554, -0.030412478372454643, -0.023793496191501617, 0.04319756478071213, 0.019909199327230453, -0.07308749109506607, 0.03943519666790962, -0.04486972838640213, -0.021267833188176155, -0.013838897459208965, -0.03953970596194267, -0.08590741455554962, -0.028792569413781166, 0.020605934783816338, -0.036857277154922485, -0.009466885589063168, -0.02809583581984043, -0.018062852323055267, -0.0029698326252400875, -0.00597014743834734, 0.03311232477426529, 0.012201569974422455, 0.01898602582514286, 0.059570834040641785, 0.006875902414321899, 0.052568648010492325, -0.009388502687215805, 0.07113663107156754, -0.04466070607304573, -0.0691857784986496, -0.03492383658885956, 0.04326723888516426, -0.07949744910001755, -0.005730644799768925, -0.0002046658773906529, 0.0033203773200511932, -0.013420856557786465, -0.012741539627313614, 0.03297298029065132, -0.042814359068870544, -0.012497682124376297, 0.0172964446246624, 0.015302040614187717, -0.0022818068973720074, -0.004467812366783619, -0.023044506087899208, 0.005878700874745846, -0.032833632081747055, -0.07089277356863022, 0.0151104386895895, 0.05615683272480965, -0.05336989462375641, 0.05950115993618965, 0.044834889471530914, 0.011025830172002316, -0.04974687099456787, -0.02757328376173973, 0.019560832530260086, -0.012488973326981068, -0.05121001601219177, -0.03657858073711395, -0.07552606612443924, -0.002449458697810769, 0.003376987064257264, 0.055738791823387146, 0.00048689794493839145, 0.02799132466316223, 0.043963972479104996, -0.05382277071475983, -0.03609086945652962, -0.047796014696359634, -0.010825518518686295, 0.03692695125937462, 0.0016678092069923878, 0.039713889360427856, -0.014657560735940933, -0.024542486295104027, 0.015415259636938572, -0.015676535665988922, -0.014030499383807182, -0.0002517499087844044, -0.014135009609162807, 0.016416816040873528, 0.04845791310071945, -0.01161805447191, 0.07782528549432755, -0.04413815587759018, 0.009327538311481476, -0.0026279969606548548, -0.02398509904742241, -0.043545931577682495, 0.0460541769862175, -0.040027420967817307, 0.06110364943742752, -0.029210610315203667, -0.006897675339132547, 0.028618386015295982, -0.030917610973119736, 0.027764886617660522, -0.002200158080086112, 0.01600748486816883, 0.04574064537882805, -0.024751506745815277, -0.07266945391893387, 0.018933771178126335, 0.012846049852669239, 0.028270019218325615, 0.008112606592476368, 0.0025779190473258495, 0.0018594112480059266, -0.01983952708542347, -0.02111106738448143, 0.026789456605911255, 0.0172964446246624, 0.03297298029065132, 0.0021827397868037224, 0.01002427376806736, -0.028270019218325615, 0.008147443644702435, 0.008156153373420238, -0.04034095257520676, 0.07489900290966034, -0.007598765194416046, 0.028409365564584732, 0.0362650528550148, 0.014300484210252762, -0.020414331927895546, -0.029837671667337418, 0.0011256623547524214, -0.027660375460982323, 0.01531945914030075, -0.007860040292143822, -0.07935810834169388, -0.06932512670755386, -0.005090519320219755, 0.03528962284326553, -0.02184263989329338, -0.011095503345131874, 0.04187376797199249, 0.0028653223998844624, -0.005238575395196676, -0.027312008664011955, 0.024559905752539635, 0.07852202653884888, -0.023497384041547775, -0.04985138401389122, -0.01224511582404375, 0.06197457015514374, 0.016956785693764687, -0.023096762597560883, -0.013865024782717228, -0.0687677338719368, -0.016225213184952736, -0.006566726602613926, -0.05117517709732056, 0.050443608313798904, 0.02429863065481186, -0.04783084988594055, 0.011922876350581646, 0.025605008006095886, 0.003771077608689666, -0.016887111589312553, -0.03821590915322304, 0.028409365564584732, -0.07831300050020218, 0.04682058468461037, -0.020867209881544113, -0.011600635945796967, -0.01592039316892624, 0.008003742434084415, -0.08284178376197815, 0.04044546186923981, -0.01421339251101017, -0.02215616963803768, 0.02778230421245098, 0.02271355874836445, 0.010947447270154953, -0.014117591083049774, -0.06507503986358643, -0.020605934783816338, -0.023183854296803474, 0.03386131674051285, -0.1131497472524643, 0.0013618989614769816, 0.005421468522399664, -0.033060070127248764, 0.022643884643912315, 0.019229883328080177, 0.03713596984744072, -0.015676535665988922, -0.006187876686453819, 0.004321933723986149, -0.020309822633862495, -0.04741280898451805, -0.04838823899626732, 0.007894877344369888, -0.009440758265554905, 0.04399880766868591, 0.049084972590208054, 0.032920725643634796, -0.010128783993422985, -0.047482483088970184, -0.03811139985918999, 0.015990065410733223, 0.028984172269701958, 0.048423074185848236, 0.007829558104276657, 0.012184151448309422, -0.030307969078421593, -0.07573508471250534, -0.003788496134802699, -0.02546566165983677, 0.0679316520690918, -0.012471554800868034, -0.043859463185071945, -0.03360003978013992, -0.0312659777700901, -0.011260977946221828, 0.04392913728952408, 0.0025126002728939056, -0.0010331271914765239, -0.007424581330269575, -0.018271872773766518, -0.10137493163347244, 0.05570395663380623, 0.036125704646110535, -0.03044731542468071, 0.01611199416220188, -0.013995662331581116, 0.09642811119556427, -0.017331281676888466, -0.006065948400646448, -0.06214875355362892, 0.041943442076444626, 0.008395656011998653, 0.0368921123445034, 0.03274654224514961, 0.00560000678524375, 0.009937181137502193, -0.04838823899626732, 0.01463143341243267, 0.02377607859671116, -0.028897080570459366, 0.05483303591609001, 0.03797205165028572, 0.02492569200694561, 0.02567468211054802, -0.046507056802511215, 0.04326723888516426, -0.01050327904522419, -0.00560000678524375, -0.04190860316157341, 0.007302652578800917, 0.03046473301947117, -0.011583217419683933, 0.012053513899445534, -0.04988621920347214, 0.009945890866219997, -0.031056959182024002, -0.04911981150507927, -0.04901530221104622, -0.0145878866314888, -0.061591364443302155, 0.014561759307980537, 0.054484669119119644, -0.03424452245235443, 0.07859169691801071, -0.02959381602704525, 0.012828631326556206, 0.009266573935747147, -0.057027753442525864, 0.0008861597161740065, 0.05208093300461769, -0.026284324005246162, -0.019020862877368927, 0.053404729813337326, 0.024559905752539635, -0.04518325999379158, 0.025535333901643753, -0.03373938798904419, -0.01113904919475317, 0.03363487869501114, -0.03170143812894821, 0.009850089438259602, -0.005425822921097279, -0.04072415456175804, -0.024873435497283936, -0.07322683930397034, 0.020936883985996246, 0.05622650682926178, 0.03170143812894821, -0.0036774538457393646, 0.014840453863143921, 0.005325667560100555, 0.0066625275649130344, -0.0037101134657859802, 0.059570834040641785, 0.008892078883945942, -0.004173877649009228, -0.03544638678431511, -0.026232069358229637, -0.02492569200694561, 0.0020989140029996634, 0.014309193007647991, 0.007385389879345894, -0.018306709825992584, 0.03391357138752937, -0.052046097815036774, -0.001115864492021501, -0.022765813395380974, 0.007389744743704796, -0.014439830556511879, 0.03391357138752937, -0.0229225791990757, -0.007516027893871069, 0.03340843692421913, 0.007350553292781115, 0.049503013491630554, -0.0731571614742279, -0.010877774097025394, -0.04295370727777481, -0.0014032676117494702, -0.011626764200627804, 0.002344948472455144, 0.0023623667657375336, -0.005033909808844328, -0.021407179534435272, -0.01648649014532566, 0.016477780416607857, -0.024263793602585793, 0.030917610973119736, -0.0020346837118268013, 0.012375753372907639, -0.03657858073711395, -0.04309305548667908, 0.0058874101378023624, 0.010416186414659023, -0.0012563001364469528, 0.004169522784650326, 0.02069302648305893, 0.0452180951833725, 0.03724047914147377, 0.0007974348845891654, 0.00044525714474730194, -0.01733998954296112, 0.037170808762311935, -0.006958639714866877, -0.017697066068649292, -0.000490708218421787, 0.0006569992401637137, -0.027660375460982323, -0.006510116625577211, -0.037588849663734436, 0.058177363127470016, 0.03225882723927498, 0.006875902414321899, -0.02821776457130909, 0.0065972087904810905, -0.003616489702835679, -0.004217423498630524, -0.05239446461200714, 0.010329094715416431, 0.07873104512691498, 0.002377607859671116, -0.046089012175798416, 0.04103768616914749, -0.05410146713256836, 0.029942182824015617, 0.007206851616501808, 0.014709815382957458, 0.03137049078941345, -0.06235777586698532, -0.013142162002623081, -0.023619312793016434, -0.032920725643634796, 0.00199549226090312, -0.006719137076288462, 0.04445168748497963, 0.011496125720441341, -0.007045731879770756, -0.048214055597782135, 0.006048529874533415, -0.030847938731312752, 0.0006635311292484403, 0.0027869397308677435, 0.034000664949417114, -0.010703589767217636, -0.009858799166977406, 0.033582624047994614, 0.02884482592344284, 0.015580734238028526, 0.03520252928137779, -0.02482118085026741, -0.08548936992883682, -0.040793828666210175, -0.00043600364006124437, 0.039504870772361755, -0.05633101612329483, -0.03807656094431877, -0.03349553048610687, -0.027712630107998848, 0.021407179534435272, 0.00805599708110094, -0.061033979058265686, -0.03373938798904419, 0.011504835449159145, 0.034000664949417114, -0.013986953534185886, 0.00021038128761574626, -0.060441754758358, 0.02388058975338936, 0.07204239070415497, -0.008434846997261047, 0.002667188411578536, -0.01416113693267107, 0.027817141264677048, 0.019369229674339294, -0.01214931532740593, -0.09935440123081207, 0.050757136195898056, 0.03344327583909035, 0.08799761533737183, -0.03765852004289627, 0.006318514700978994, 0.08820664137601852, -0.06187006086111069, 0.028270019218325615, 0.016416816040873528, 0.015528479591012001, 0.008739668875932693, 0.012227697297930717, -0.03032538667321205, -0.09001815319061279, -0.01633843407034874, 0.014178555458784103, -0.0013281508581712842, 0.0292802844196558, -0.06214875355362892, 0.03243301063776016, -0.021476853638887405, 0.029558978974819183, 0.02926286682486534, 0.028165508061647415, 0.05305636301636696, 0.0008616651175543666 ]
42,025
patch_ng
createLock
null
def createLock(self): self.lock = None
(self)
[ 0.03776945546269417, 0.03337685391306877, 0.0035668269265443087, 0.0348295234143734, -0.0364205464720726, 0.005105966702103615, -0.034034013748168945, 0.08280226588249207, -0.03168207034468651, -0.02846544049680233, 0.0028491381090134382, -0.007220122497528791, -0.020838916301727295, -0.011768367141485214, -0.05305709317326546, -0.016653839498758316, -0.0009441283182241023, -0.032062530517578125, -0.08176464587450027, -0.04461776465177536, 0.0035841206554323435, 0.027946630492806435, 0.0234848540276289, 0.024176601320505142, 0.005650718696415424, 0.014258661307394505, -0.023692378774285316, 0.02945118211209774, 0.04043268412351608, -0.004167783074080944, 0.02535257302224636, 0.013964667916297913, 0.04347637668251991, 0.0450328104197979, 0.060389623045921326, 0.0038694669492542744, -0.015927502885460854, 0.03330767899751663, -0.05143148452043533, -0.012442821636795998, 0.09691393375396729, 0.001866639475338161, -0.02962411940097809, -0.0204930417239666, -0.028794022276997566, -0.006524050608277321, 0.03756193071603775, -0.012053713202476501, 0.028724847361445427, -0.012442821636795998, 0.015659451484680176, 0.011898069642484188, -0.03942964971065521, 0.01727641373872757, -0.08377071470022202, 0.02255099266767502, 0.03342873603105545, 0.020856210961937904, -0.015694038942456245, 0.0035106223076581955, 0.009416422806680202, 0.03891083970665932, 0.02132314071059227, -0.005317814648151398, -0.03863414004445076, 0.0029961345717310905, -0.036143846809864044, 0.05167359486222267, 0.07657653093338013, 0.026978181675076485, 0.0036986914929002523, -0.013195098377764225, -0.014466185122728348, 0.009701769798994064, 0.025179637596011162, 0.02658042684197426, -0.05485563725233078, -0.006887218449264765, 0.020095286890864372, -0.03135348856449127, 0.016463609412312508, -0.02447059564292431, -0.02832709066569805, 0.04776521772146225, 0.02339838445186615, 0.027946630492806435, 0.022948749363422394, -0.009502891451120377, -0.022135945037007332, -0.04973670095205307, -0.03967176377773285, 0.08799038082361221, -0.027894748374819756, -0.004872501827776432, 0.07851342856884003, -0.030298573896288872, -0.012399587780237198, 0.001090584322810173, -0.01520981453359127, 0.021115615963935852, -0.029209069907665253, -0.01175107341259718, -0.0285000279545784, -0.04558620974421501, 0.012918398715555668, -0.07031621038913727, 0.00075768050737679, -0.04337261617183685, -0.02121937833726406, 0.004920059349387884, -0.01738882251083851, 0.013558265753090382, -0.036178432404994965, 0.07975857704877853, -0.01715535670518875, 0.03332497179508209, -0.0325467549264431, -0.01629931852221489, 0.04959835112094879, -0.012442821636795998, 0.007544379681348801, 0.015149286948144436, -0.04849155247211456, -0.022014888003468513, 0.0284135602414608, 0.06454011052846909, -0.020596804097294807, 0.06588902324438095, 0.07394789159297943, -0.01628202386200428, 0.012313119135797024, 0.04444482550024986, 0.04399519041180611, -0.017579052597284317, -0.04866449162364006, -0.0424041673541069, 0.004608772695064545, 0.014111664146184921, 0.0009127834346145391, 0.006467846222221851, -0.04859531670808792, -0.036143846809864044, 0.0061479127034544945, -0.038115330040454865, 0.04762686789035797, 0.012252590619027615, -0.07028162479400635, 0.057484280318021774, 0.03648972138762474, -0.010281108319759369, 0.0548902228474617, -0.027635343372821808, 0.05589326098561287, 0.018832845613360405, -0.014379717409610748, 0.04755769297480583, -0.054406002163887024, 0.0023303269408643246, 0.043061330914497375, -0.01365338172763586, 0.009796884842216969, -0.0005917689995840192, 0.039118364453315735, -0.05914447456598282, -0.004414218477904797, 0.0046217432245612144, 0.012987573631107807, -0.02964141219854355, 0.004174268338829279, -0.06284532696008682, -0.044098950922489166, 0.009572066366672516, -0.000609062728472054, 0.042265817523002625, -0.033982131630182266, 0.021132908761501312, -0.015157933346927166, -0.022257000207901, 0.003646810306236148, -0.010185993276536465, -0.04786897823214531, -0.010903681628406048, 0.002095781033858657, -0.0077173165045678616, 0.018763670697808266, -0.06270697712898254, 0.009286720305681229, -0.010116818360984325, 0.04402977600693703, -0.0032922893296927214, -0.05596243590116501, -0.008569031953811646, -0.004682270810008049, 0.012287178076803684, 0.018988490104675293, 0.03683559596538544, -0.01921330764889717, -0.02846544049680233, -0.018590735271573067, 0.044064365327358246, 0.00740170618519187, 0.007120683789253235, 0.027946630492806435, 0.002574600512161851, 0.07097337394952774, -0.06191147118806839, 0.009788237512111664, -0.03351520374417305, 0.02946847677230835, 0.021859245374798775, -0.017950868234038353, 0.019057665020227432, -0.007254709955304861, 0.0529533289372921, 0.050255510956048965, -0.012062360532581806, 0.016895951703190804, 0.051362309604883194, 0.006887218449264765, 0.029710587114095688, -0.021997595205903053, -0.014829353429377079, -0.06751462817192078, -0.07173429429531097, -0.04371849074959755, 0.0025962176732718945, 0.006459199357777834, -0.021011853590607643, -0.003824070794507861, 0.01744070276618004, 0.044168125838041306, 0.030955735594034195, -0.02830979786813259, -0.015512454323470592, -0.0102465208619833, -0.03963717445731163, -0.04600125923752785, -0.005019498523324728, -0.06865601241588593, -0.00914837047457695, 0.016601957380771637, 0.006178176496177912, 0.07339449226856232, 0.02426307089626789, 0.07346366345882416, 0.006731575354933739, -0.029918111860752106, 0.029848936945199966, 0.033048272132873535, -0.021599838510155678, -0.038149915635585785, 0.011483021080493927, -0.007803785149008036, -0.023190859705209732, -0.014742884784936905, -0.06007833778858185, 0.04479070007801056, -0.030021874234080315, -0.006818043999373913, 0.028742140159010887, -0.010592395439743996, -0.02640748955309391, -0.04562079906463623, -0.02334650419652462, 0.06353707611560822, -0.015581629239022732, 0.008966786786913872, 0.003212305950000882, -0.02127125859260559, 0.00008748183608986437, 0.122439444065094, -0.026995476335287094, 0.05046303570270538, -0.012814636342227459, 0.006199793890118599, -0.05457893759012222, 0.026113497093319893, 0.01929977722465992, -0.04268086701631546, 0.027912043035030365, 0.05378342792391777, 0.05461352691054344, 0.04458317533135414, 0.02637290209531784, -0.05350672826170921, -0.004466099664568901, 0.004470423329621553, 0.024124721065163612, -0.017743343487381935, -0.050082575529813766, -0.07872094959020615, 0.04472152516245842, 0.01950730010867119, -0.006212763953953981, 0.08833625167608261, -0.02855191007256508, -0.04250793159008026, 0.019611062481999397, 0.03353249654173851, 0.028915077447891235, 0.03742358088493347, 0.0014883396215736866, -0.08466998487710953, 0.006809397134929895, -0.0008663065964356065, -0.07491633296012878, -0.028188740834593773, 0.06924399733543396, -0.0014732076087966561, -0.008326919749379158, 0.007185535039752722, 0.037008531391620636, 0.022533699870109558, 0.022585580125451088, 0.054198477417230606, 0.019611062481999397, 0.00585391977801919, 0.017613640055060387, 0.011508962139487267, 0.05001340061426163, 0.009312661364674568, -0.022741224616765976, 0.013584206812083721, 0.026597721502184868, -0.03334226459264755, -0.01824486069381237, 0.014855293557047844, 0.0715959444642067, -0.0550631619989872, 0.057380519807338715, -0.08176464587450027, 0.015590276569128036, 0.011076618917286396, -0.018677202984690666, -0.0997501015663147, 0.02758346125483513, 0.006368407513946295, -0.07560808211565018, -0.02016446180641651, -0.025733035057783127, -0.015036878176033497, -0.0077129933051764965, -0.02737593650817871, -0.004539597779512405, -0.0592828243970871, -0.0051794652827084064, 0.05661959573626518, 0.0019531080033630133, 0.04392601549625397, -0.046381719410419464, -0.007561672944575548, 0.06758380681276321, -0.001962835667654872, 0.012200710363686085, 0.05011716112494469, -0.08501586318016052, -0.019092252478003502, -0.004241281654685736, -0.00072741654003039, -0.04254251718521118, -0.03176853805780411, -0.003984037786722183, -0.04437565058469772, -0.022602874785661697, -0.011569489724934101, 0.00557722058147192, -0.04752310365438461, 0.002756184432655573, 0.0008046978036873043, -0.0010646438458934426, -0.05371425300836563, -0.06741087138652802, 0.0033549789804965258, 0.07892847806215286, 0.00910513661801815, 0.011889423243701458, -0.0364205464720726, 0.004833591170608997, 0.001043026684783399, -0.031007615849375725, -0.0038586582522839308, -0.037976980209350586, 0.04572455957531929, -0.005538309458643198, -0.08397823572158813, -0.017475290223956108, 0.01480341237038374, -0.008430682122707367, 0.08951222151517868, 0.0607009083032608, 0.04444482550024986, -0.054302237927913666, 0.049287062138319016, 0.011344671249389648, 0.033100154250860214, 0.027203001081943512, 0.01931707002222538, -0.0022935778833925724, 0.01743205636739731, -0.0276180487126112, 0.01531357690691948, 0.011249556206166744, -0.03545209765434265, -0.043130505830049515, 0.0008571193320676684, -0.0059576816856861115, 0.04371849074959755, -0.005464811343699694, 0.04894119128584862, -0.0626378059387207, -0.0365934818983078, -0.029935406520962715, 0.019835881888866425, -0.031180553138256073, 0.042092882096767426, -0.012243944220244884, 0.05212322995066643, 0.004453129600733519, 0.004301809705793858, 0.029226364567875862, 0.003525754436850548, 0.02960682474076748, -0.001253793714568019, 0.004148327745497227, -0.06218816712498665, -0.0035797972232103348, -0.02637290209531784, 0.031145965680480003, 0.0027605078648775816, 0.016930539160966873, -0.01005629077553749, 0.04447941482067108, 0.04693511873483658, 0.02941659465432167, -0.039222124963998795, 0.01710347644984722, 0.00040694253402762115, -0.03977552428841591, -0.002410310320556164, 0.001600748742930591, 0.054440587759017944, -0.015538395382463932, 0.03173395246267319, -0.025975147262215614, 0.006424611900001764, 0.038219090551137924, -0.03138807788491249, 0.0489066019654274, 0.06471305340528488, 0.01730235293507576, 0.018815552815794945, 0.06336414068937302, 0.018642615526914597, 0.05803767964243889, -0.08411658555269241, -0.05001340061426163, -0.037976980209350586, -0.08231804519891739, 0.028621084988117218, -0.02739323116838932, -0.0004890876589342952, 0.05219240486621857, -0.012295825406908989, 0.05177735909819603, -0.00453527458012104, 0.005823655519634485, 0.03432800620794296, -0.012503350153565407, -0.017630934715270996, 0.0035279160365462303, 0.012563877739012241, -0.04807650297880173, -0.022032182663679123, -0.05613537132740021, -0.04288839176297188, -0.03759651631116867, 0.0365934818983078, -0.0019541888032108545, 0.03669724613428116, -0.01726776547729969, -0.032944511622190475, -0.022568287327885628, 0.03662807121872902, 0.03662807121872902, -0.043268851935863495, 0.022135945037007332, 0.03441447764635086, -0.04368390142917633, 0.0001340937742497772, -0.021997595205903053, -0.07450129091739655, -0.0388762503862381, 0.000669590721372515, 0.025819504633545876, 0.03346332162618637, -0.012027773074805737, -0.05302250385284424, -0.006675370503216982, -0.03794239088892937, -0.04648548364639282, -0.0151752270758152, -0.008863024413585663, -0.023121684789657593, -0.0008922471897676587, 0.04970211163163185, -0.02639019675552845, -0.043095916509628296, -0.058418139815330505, -0.02422848343849182, 0.021565252915024757, 0.054267652332782745, -0.011828895658254623, -0.012754108756780624, 0.010843154042959213, -0.0031366460025310516, 0.004803326912224293, -0.05274580419063568, -0.026234552264213562, -0.03936047479510307, -0.04797274246811867, 0.03477764502167702, 0.04254251718521118, 0.038219090551137924, -0.06644242256879807, -0.05696547031402588, -0.03450094535946846, 0.020873503759503365, -0.028690259903669357, 0.027998510748147964, 0.023156272247433662, 0.017613640055060387, -0.06768756359815598, -0.05257286876440048, -0.021634425967931747, 0.004396924749016762, 0.038115330040454865, -0.031249728053808212, -0.03749275580048561, -0.03477764502167702, -0.05599702149629593, 0.012581171467900276, 0.013783084228634834, 0.05482104793190956, -0.017691461369395256, 0.008465269580483437, 0.0754697322845459, -0.0365934818983078, 0.026009734719991684, -0.043199677020311356, 0.0015672422014176846, 0.06609654426574707, -0.008344213478267193, 0.018971195444464684, -0.07408624142408371, -0.014587241224944592, -0.017700107768177986, 0.03472576290369034, -0.06658077239990234, 0.06447093933820724, 0.02251640520989895, 0.022741224616765976, 0.053126268088817596, -0.03221817687153816, 0.01919601485133171, 0.021893832832574844, -0.0589369535446167, 0.04548244923353195, 0.007055832073092461, 0.08508503437042236, 0.04748851805925369, 0.009018667973577976, -0.04271545633673668, 0.05983622372150421, 0.013644734397530556, -0.010938269086182117, -0.01815839111804962, 0.016991065815091133, 0.025179637596011162, -0.0232254471629858, -0.03839202970266342, 0.04050185903906822, -0.038149915635585785, -0.07242604345083237, -0.10535325855016708, -0.05060138553380966, 0.005763127468526363, 0.006480816286057234, 0.050255510956048965, -0.00735847232863307, -0.016645193099975586, -0.04150489717721939, 0.0703853890299797, 0.027116531506180763, 0.00013916030002292246, -0.029831644147634506, 0.052296169102191925, 0.062464866787195206, -0.03631678223609924, -0.002054708544164896, 0.042334992438554764, 0.005092996638268232, 0.048249442130327225, -0.048180267214775085, 0.044514000415802, -0.011111206375062466, 0.04946000128984451, -0.033117447048425674, -0.04437565058469772, -0.021772775799036026, -0.023675084114074707, 0.008460945449769497, -0.03164748474955559, 0.018936607986688614, 0.046312544494867325, 0.025127755478024483, 0.01720723882317543, -0.03233923017978668, -0.018729083240032196, -0.01010817103087902, 0.019023077562451363, 0.011958598159253597, 0.004803326912224293, -0.007708669640123844, -0.030886560678482056, -0.010116818360984325, -0.033947546035051346, 0.05212322995066643, -0.005508045665919781, 0.022723929956555367, 0.014094370417296886, -0.027081944048404694, -0.04254251718521118, -0.022966042160987854, 0.015936151146888733, 0.05827978998422623, 0.04264628142118454, -0.0071120369248092175, 0.01523575559258461, 0.0483877919614315, -0.03346332162618637, -0.031042203307151794, -0.048214852809906006, 0.007898900657892227, -0.04472152516245842, -0.030298573896288872, -0.05679253116250038, 0.03249487280845642, -0.031249728053808212, -0.007086096331477165, -0.004971940536051989, -0.055374447256326675, 0.012373646721243858, 0.01734558679163456, -0.009917940944433212, -0.008383124135434628, -0.014198132790625095, -0.049356237053871155, -0.008508503437042236, 0.015901563689112663, 0.010125464759767056, -0.047142643481492996, 0.024764588102698326, -0.024591650813817978, 0.03358437865972519, 0.004850884899497032, 0.001950946287252009, -0.023882608860731125, 0.01826215349137783, -0.04295756667852402, 0.05897153913974762, -0.02223970741033554, -0.029831644147634506, -0.010661570355296135, -0.002321680076420307, 0.014085724018514156, -0.03047151118516922, 0.021963007748126984, -0.01943812519311905, -0.0038867604453116655, 0.057311344891786575, -0.0839090645313263, 0.015858327969908714, 0.021132908761501312, -0.0735328420996666, 0.0044747465290129185, 0.09760568290948868, -0.01263305265456438, -0.02730676345527172, 0.012494702823460102, -0.030990321189165115, 0.007561672944575548, -0.008409065194427967, 0.026736069470643997, -0.0010922056389972568, -0.08432411402463913, -0.035936322063207626, 0.006420288700610399, 0.015010937117040157, 0.009459657594561577, 0.0025962176732718945, 0.01933436468243599, -0.0342242456972599, 0.0013262111460790038, 0.005451840814203024, -0.015659451484680176, -0.008728998713195324, 0.009554772637784481, 0.010998797602951527, 0.016065852716565132, -0.007643818389624357, 0.047108057886362076, 0.003787321737036109, 0.05661959573626518, 0.04669300839304924, 0.07118089497089386, 0.01733694039285183, -0.0916566476225853, -0.03932588919997215, 0.032079827040433884, -0.039049189537763596, -0.006562961731106043, 0.04198911786079407, -0.004146166145801544, -0.04198911786079407, 0.03745816648006439, -0.01071345154196024, -0.03240840509533882, -0.0254217479377985, -0.002364914398640394, 0.021686308085918427, 0.00023859911016188562, 0.02728946879506111, -0.05582408607006073, -0.002252505160868168, 0.08598431199789047, -0.026096202433109283, 0.04271545633673668, 0.06329496949911118, 0.02625184692442417, 0.054267652332782745, -0.028171448037028313, -0.022689342498779297, -0.0019520270870998502, 0.02320815436542034, 0.014665063470602036, 0.01933436468243599, -0.010869094170629978, 0.03372272849082947, -0.03265051916241646, -0.011016091331839561, 0.00484656123444438, -0.007276326883584261, 0.0276180487126112, 0.046243369579315186, -0.029295539483428, -0.06125430762767792, 0.01021193340420723, 0.045309510082006454, 0.008746292442083359, 0.014846647158265114, -0.00005833248360431753, -0.009909293614327908, -0.01947271265089512, 0.011941304430365562, -0.03351520374417305, -0.023813433945178986, 0.046208783984184265, -0.007354148663580418 ]
42,026
patch_ng
emit
null
def emit(self, record): pass
(self, record)
[ -0.03347709774971008, 0.00386949279345572, -0.030126195400953293, 0.06465643644332886, 0.002858238760381937, -0.011632413603365421, -0.06867751479148865, 0.06012474000453949, -0.00497050303965807, -0.05221023038029671, -0.012127070687711239, -0.003923346754163504, 0.0635075494647026, 0.019004395231604576, 0.021046850830316544, 0.018589522689580917, -0.03912575915455818, 0.03341326862573624, 0.0240147914737463, 0.04442337527871132, -0.024238184094429016, -0.0059478492476046085, 0.03839175030589104, -0.0026807207614183426, -0.04254048690199852, 0.046689219772815704, -0.035711031407117844, -0.022626560181379318, 0.016786418855190277, 0.01231057196855545, -0.05460372939705849, -0.11603691428899765, 0.05198683589696884, -0.005469148978590965, 0.02383926697075367, -0.0053095826879143715, -0.052178315818309784, 0.05077413097023964, -0.045316945761442184, 0.019163962453603745, 0.010371836833655834, -0.008066097274422646, 0.006047578528523445, 0.0321526937186718, 0.014935445040464401, 0.04333832114934921, -0.004316279664635658, 0.04257240146398544, 0.005074221640825272, -0.06925195455551147, -0.005923914257436991, 0.07301773130893707, -0.02838691882789135, -0.009725591167807579, 0.0277805645018816, -0.008863931521773338, 0.043625541031360626, 0.006921206135302782, -0.0039512705989181995, 0.02323291450738907, -0.001562756486237049, 0.02248295024037361, 0.02060006372630596, -0.010698948055505753, 0.055178169161081314, 0.0011548640904948115, 0.01852569542825222, -0.019419269636273384, -0.008133913390338421, 0.02273825742304325, 0.03638121113181114, -0.05900777131319046, 0.029200708493590355, 0.01483970507979393, 0.017121508717536926, -0.005409311503171921, -0.06542235612869263, 0.04675304889678955, 0.03001450002193451, -0.0392853245139122, 0.03934915363788605, -0.023025477305054665, -0.012206853367388248, 0.027206124737858772, -0.05138048157095909, -0.008297469466924667, -0.03251969814300537, -0.030317675322294235, -0.09797396510839462, -0.003093599807471037, -0.009151151403784752, 0.007124654017388821, -0.04388084635138512, 0.05667809769511223, -0.015621581114828587, -0.04365745186805725, -0.035200417041778564, -0.023360567167401314, -0.03231225907802582, 0.05281658470630646, 0.00707279471680522, 0.014392917975783348, -0.030684679746627808, -0.021637246012687683, -0.015318404883146286, -0.030652767047286034, 0.03535998612642288, 0.0032033019233494997, 0.02186064049601555, 0.07084762305021286, 0.00621512345969677, 0.03784922510385513, -0.03909384459257126, -0.009709634818136692, -0.05859289690852165, -0.004814925603568554, 0.04187030717730522, 0.006550213787704706, -0.049625247716903687, -0.004663337487727404, 0.045061640441417694, -0.0016525128157809377, -0.04809340834617615, -0.014073784463107586, -0.009526132605969906, -0.01381049957126379, 0.032535653561353683, -0.017089596018195152, 0.0648479163646698, -0.03842366486787796, -0.013371691107749939, 0.011560608632862568, 0.005353463348001242, -0.0003884452162310481, 0.0035762889310717583, 0.05568878352642059, 0.07946422696113586, -0.0610821396112442, -0.03714713081717491, 0.02951984293758869, 0.009988876059651375, 0.0002257619780721143, 0.09325078874826431, 0.002363581908866763, 0.03398771211504936, -0.027078472077846527, -0.0392853245139122, 0.03344518318772316, -0.018988439813256264, -0.009566024877130985, 0.028706051409244537, -0.02179681323468685, 0.023631831631064415, 0.050550736486911774, -0.04684878885746002, 0.07888978719711304, -0.00707279471680522, -0.0056007918901741505, -0.027892261743545532, -0.039923593401908875, -0.012278659269213676, -0.045923300087451935, 0.023982876911759377, 0.05147622153162956, -0.015805082395672798, 0.07531549036502838, -0.0031833560205996037, 0.03299839794635773, -0.01467215921729803, -0.008281512185931206, -0.04981672763824463, -0.0024433652870357037, -0.009893136098980904, 0.019626706838607788, 0.0036381210666149855, 0.07786855846643448, -0.004755088128149509, 0.07078379392623901, -0.03762583062052727, -0.0036361266393214464, 0.011991438455879688, -0.01911609247326851, 0.007746964227408171, 0.04391276091337204, 0.033317528665065765, -0.007196458987891674, -0.008409165777266026, -0.006917217280715704, 0.0392853245139122, -0.025770025327801704, 0.04557225480675697, -0.040434207767248154, -0.02829117886722088, -0.06567765772342682, 0.03446641191840172, -0.015797104686498642, 0.0026508020237088203, 0.02942410297691822, -0.02358395978808403, 0.019690532237291336, -0.026041287928819656, -0.056646183133125305, -0.042317092418670654, -0.02160533331334591, -0.025339195504784584, 0.04081716760993004, 0.06644357740879059, 0.037179045379161835, -0.06899664551019669, -0.054252684116363525, 0.0505826473236084, -0.004228517878800631, 0.03867897391319275, 0.028434788808226585, 0.06481599807739258, -0.055018603801727295, -0.053901635110378265, -0.0012845121091231704, 0.0056047807447612286, 0.03079637698829174, 0.07678350061178207, 0.0017203286988660693, -0.0492422878742218, -0.031354859471321106, 0.05281658470630646, -0.00023286767827812582, 0.029631540179252625, -0.07142206281423569, -0.006506332661956549, -0.04365745186805725, 0.004427976440638304, 0.034689802676439285, -0.029296448454260826, 0.02248295024037361, 0.044455286115407944, 0.025371108204126358, -0.010451619513332844, 0.009621872566640377, -0.043178752064704895, 0.01436898298561573, 0.01436898298561573, 0.057316362857818604, 0.00763127813115716, -0.03535998612642288, -0.008129924535751343, 0.0071366215124726295, 0.07582610100507736, 0.07550697028636932, -0.02367970161139965, 0.02624872513115406, 0.04011507332324982, -0.035200417041778564, -0.008433100767433643, 0.012023352086544037, 0.03660460561513901, -0.02580193802714348, 0.03772157058119774, 0.01673854887485504, 0.032711178064346313, -0.013738694600760937, -0.037785399705171585, 0.08227259665727615, -0.01633165404200554, 0.0019427248043939471, 0.01629176177084446, -0.0034027602523565292, -0.040944818407297134, -0.022147860378026962, 0.009462306275963783, 0.10065468400716782, 0.028147568926215172, 0.005293625872582197, -0.045667994767427444, -0.005245755892246962, -0.03622164577245712, -0.028658181428909302, -0.011480825021862984, 0.030381502583622932, -0.01586093194782734, 0.009725591167807579, 0.001905824989080429, -0.009254870004951954, 0.011951547116041183, -0.015110967680811882, -0.022658472880721092, -0.03226438909769058, 0.06219910457730293, 0.09318695962429047, -0.03877471387386322, -0.08131519705057144, 0.03934915363788605, 0.025004103779792786, -0.0131163839250803, -0.011073930189013481, -0.03577485680580139, -0.007336079608649015, -0.03414727747440338, 0.06759246438741684, 0.015924759209156036, 0.03985976427793503, -0.04126395285129547, -0.019834142178297043, 0.01539818849414587, 0.0015198729233816266, -0.022323383018374443, 0.0196426622569561, 0.012055265717208385, 0.007240339647978544, -0.0246211439371109, -0.03052511252462864, -0.023695657029747963, 0.07142206281423569, -0.027892261743545532, 0.005560900084674358, 0.016403459012508392, 0.0598694309592247, -0.005114113446325064, 0.090953029692173, 0.039508718997240067, 0.051763441413640976, -0.06593296676874161, -0.01688215881586075, 0.02486049383878708, -0.0022419122979044914, 0.026647642254829407, -0.02411053143441677, -0.027812479063868523, 0.021892553195357323, -0.016914071515202522, -0.007328101433813572, -0.024413706734776497, -0.006123372819274664, 0.022195730358362198, 0.004567597061395645, -0.06526278704404831, -0.028083741664886475, -0.031514424830675125, -0.009071367792785168, 0.009773461148142815, 0.042157527059316635, -0.03184951841831207, 0.017727863043546677, 0.028099698945879936, 0.014217394404113293, 0.013379668816924095, -0.015310426242649555, -0.07257094234228134, 0.002547083655372262, 0.02951984293758869, 0.02701464481651783, 0.03334944322705269, -0.005245755892246962, 0.01707363873720169, 0.022243600338697433, 0.06580531597137451, -0.03078041970729828, 0.0020264973863959312, -0.0221319030970335, -0.07308155298233032, 0.0008746250532567501, -0.014089740812778473, -0.024748798459768295, 0.038647059351205826, -0.013922195881605148, 0.04260431230068207, 0.03449832275509834, -0.03095594234764576, 0.004112832248210907, -0.006997000426054001, 0.009629851207137108, -0.07123058289289474, -0.03266330808401108, -0.03267926350235939, 0.03113146685063839, 0.0026488075964152813, 0.028450746089220047, 0.024062661454081535, 0.02521154098212719, -0.050742216408252716, -0.048412542790174484, -0.014528549276292324, -0.008863931521773338, -0.008744255639612675, -0.007623299956321716, 0.006661910563707352, -0.0016983882524073124, -0.006282939575612545, 0.044806335121393204, -0.033923882991075516, 0.05773123726248741, 0.038806624710559845, 0.03240799903869629, -0.08105989545583725, -0.08910205215215683, -0.042412832379341125, -0.02272230014204979, -0.011416998691856861, -0.0044519114308059216, -0.031594209372997284, -0.05859289690852165, -0.03251969814300537, -0.013634975999593735, -0.05208257585763931, 0.041040558367967606, -0.0006706788553856313, -0.024812623858451843, 0.007228372152894735, -0.024238184094429016, 0.014991292729973793, -0.06810307502746582, 0.0399555042386055, -0.02659977227449417, -0.03922149911522865, -0.03103572688996792, 0.026711467653512955, -0.01862143538892269, 0.0374024398624897, -0.036572691053152084, -0.03491319715976715, 0.05584835261106491, -0.00960591621696949, 0.0760175809264183, 0.0598694309592247, 0.0418383926153183, 0.07512401044368744, -0.06424155831336975, -0.03303030878305435, 0.035200417041778564, 0.022355297580361366, 0.02186064049601555, -0.015310426242649555, -0.015326383523643017, -0.04831680282950401, 0.01277331542223692, 0.03510467708110809, 0.012964795343577862, 0.03663651645183563, -0.014759921468794346, 0.021892553195357323, 0.06720950454473495, 0.04684878885746002, 0.019275659695267677, 0.011855807155370712, -0.06835838407278061, 0.04487016052007675, -0.01611623913049698, -0.0019876030273735523, -0.002630856353789568, -0.02495623379945755, -0.004559618886560202, 0.06526278704404831, 0.009238912723958492, 0.045667994767427444, -0.05833759158849716, 0.026105115190148354, -0.0630926787853241, 0.004587543196976185, -0.08303851634263992, 0.017121508717536926, -0.041902218014001846, -0.03226438909769058, -0.007515592500567436, -0.044136155396699905, -0.053742069751024246, -0.021030893549323082, 0.009031476452946663, -0.04337023198604584, 0.022881867364048958, -0.04573182016611099, 0.003664050716906786, 0.04723174870014191, -0.01748851127922535, -0.055273909121751785, -0.025626415386795998, -0.012103135697543621, 0.0024573274422436953, 0.002279809443280101, -0.03842366486787796, 0.009454327635467052, -0.022865910083055496, -0.05603983253240585, -0.02848265878856182, 0.011233496479690075, 0.03347709774971008, 0.030126195400953293, 0.04761470854282379, 0.05067839100956917, -0.06401816755533218, 0.03052511252462864, -0.04072142764925957, -0.0033050256315618753, 0.04212561249732971, 0.02411053143441677, -0.06028430536389351, -0.012605770491063595, 0.002076361794024706, 0.0012645662063732743, 0.02487645111978054, -0.042763881385326385, -0.002936027478426695, -0.012581835500895977, -0.01368284597992897, -0.02572215534746647, -0.019786272197961807, -0.016203999519348145, -0.013730715960264206, 0.03698756545782089, 0.034945111721754074, -0.03883853927254677, 0.00469923997297883, -0.014480679295957088, 0.06989022344350815, -0.0296634528785944, 0.040625687688589096, -0.019690532237291336, -0.024206271395087242, -0.015852952376008034, 0.007280231453478336, -0.07410278171300888, -0.0071645453572273254, 0.03405153751373291, -0.006953119765967131, -0.025770025327801704, -0.030126195400953293, 0.0040669566951692104, -0.031514424830675125, -0.08265555649995804, 0.009757504798471928, 0.0011648370418697596, 0.0131163839250803, -0.030748507007956505, -0.018940569832921028, 0.008600645698606968, -0.025259410962462425, -0.005792271811515093, 0.04716791957616806, 0.037434350699186325, 0.0022698366083204746, -0.09267634898424149, -0.000657714088447392, -0.029886845499277115, 0.0037996824830770493, -0.044806335121393204, -0.08999563008546829, 0.013172232545912266, 0.00823364220559597, -0.01956287957727909, -0.021302156150341034, 0.034338757395744324, -0.007810790557414293, -0.056295137852430344, -0.02736569195985794, 0.055018603801727295, 0.027924176305532455, -0.008129924535751343, 0.03145059943199158, 0.010196313261985779, -0.002836298430338502, 0.024413706734776497, 0.019594792276620865, 0.027222082018852234, 0.023807354271411896, 0.010794688016176224, 0.02908901311457157, 0.007431820034980774, 0.043689366430044174, 0.042253267019987106, 0.008983606472611427, 0.009933028370141983, -0.03561529144644737, 0.004164691083133221, 0.010371836833655834, -0.004838860593736172, 0.0026667588390409946, 0.000566960487049073, 0.05894394591450691, 0.026057245209813118, 0.008425123058259487, 0.020823456346988678, -0.06823072582483292, -0.003640115726739168, 0.056390877813100815, 0.01662685163319111, -0.033221788704395294, -0.029870890080928802, -0.026296595111489296, -0.018493782728910446, 0.018477825447916985, 0.04011507332324982, -0.0020604052115231752, -0.019866056740283966, -0.04716791957616806, -0.08942119032144547, 0.020967066287994385, 0.03089211694896221, -0.015501906163990498, -0.02934431843459606, 0.017967212945222855, -0.017217248678207397, -0.05297615006566048, -0.008101999759674072, 0.03909384459257126, 0.01860547997057438, -0.05900777131319046, 0.015438079833984375, -0.01937139965593815, -0.056390877813100815, 0.053295284509658813, -0.011225518770515919, 0.05738019198179245, -0.03087615966796875, 0.0071645453572273254, -0.009151151403784752, -0.01956287957727909, -0.004507759585976601, -0.03341326862573624, -0.031338904052972794, 0.04949759691953659, -0.00015744747361168265, 0.03934915363788605, 0.04056185856461525, 0.0011079914402216673, -0.05106135085225105, 0.01016439963132143, -0.028434788808226585, 0.024046704173088074, 0.031099552288651466, -0.023998834192752838, 0.01827038824558258, -0.004396062809973955, -0.05533773824572563, 0.00008152861846610904, 0.022514862939715385, -0.026647642254829407, 0.041455432772636414, -0.03963637351989746, -0.037434350699186325, -0.002758509712293744, 0.017089596018195152, -0.01793529838323593, 0.03507276251912117, 0.014608332887291908, -0.001266560866497457, -0.07652819901704788, 0.02915283851325512, 0.027253994718194008, -0.03347709774971008, -0.006270972080528736, -0.04273196682333946, -0.04260431230068207, 0.03411536291241646, 0.011432955041527748, -0.04598712921142578, 0.06283736974000931, 0.08846379071474075, 0.059741780161857605, 0.008927757851779461, -0.03197716921567917, 0.025849808007478714, 0.024908363819122314, -0.016235914081335068, 0.011640392243862152, 0.01801508292555809, -0.0723794624209404, 0.05706105753779411, 0.025323238223791122, -0.023216957226395607, -0.0077190399169921875, -0.04605095461010933, 0.01175208855420351, 0.0020334783475846052, -0.02074367366731167, 0.013403603807091713, 0.03154633939266205, 0.055178169161081314, -0.07461339980363846, 0.03858323022723198, -0.008975627832114697, -0.007543516345322132, -0.04391276091337204, 0.00879212561994791, -0.022610602900385857, 0.05240171030163765, -0.024317966774106026, -0.017344901338219643, 0.012502051889896393, 0.004739131312817335, -0.004487813916057348, 0.062390584498643875, -0.08450653403997421, 0.04056185856461525, -0.01539020985364914, -0.05718871206045151, 0.013355733826756477, -0.05616748332977295, -0.0025630404707044363, -0.029823020100593567, -0.11456890404224396, -0.002955973381176591, 0.031961213797330856, 0.03577485680580139, 0.014751942828297615, 0.033828143030405045, -0.022578690201044083, 0.020823456346988678, 0.014193459413945675, -0.03184951841831207, -0.025594500824809074, 0.03373240306973457, -0.020264973863959312, 0.0014999271370470524, 0.042157527059316635, -0.04037037864327431, 0.026966774836182594, 0.01084255799651146, -0.03791305050253868, -0.009709634818136692, 0.09248486906290054, 0.0016375534469261765, 0.06006091088056564, -0.046178609132766724, -0.0635075494647026, -0.019148005172610283, -0.0036042132414877415, 0.014855661429464817, 0.006266982760280371, -0.02699868753552437, -0.006578138098120689, 0.013499343767762184, 0.03909384459257126, 0.017376815900206566, -0.03679608553647995, -0.012685554102063179, -0.0052058640867471695, 0.019515009596943855, 0.03184951841831207, -0.06063535064458847, -0.05310380458831787, 0.049625247716903687, 0.003727877512574196, -0.02427009679377079, -0.031195292249321938, 0.05453990399837494, -0.025785980746150017, -0.0221319030970335, 0.007483678869903088, 0.06334798783063889, 0.04965716227889061, -0.009534111246466637, 0.01153667364269495, 0.036413125693798065, 0.07799620926380157, -0.0028961359057575464, 0.032471828162670135, 0.0312112495303154, 0.017632123082876205, 0.0087123429402709, 0.028706051409244537, -0.03759391978383064, -0.003971216734498739, -0.021748943254351616, 0.03172186389565468, -0.0171534214168787, 0.0030237892642617226, -0.003989167977124453, 0.03574294596910477, 0.03146655485033989, 0.05718871206045151 ]
42,031
patch_ng
handle
null
def handle(self, record): pass
(self, record)
[ -0.017640655860304832, 0.010622846893966198, -0.0751129761338234, 0.0802401453256607, -0.011303798295557499, -0.04124164208769798, -0.016967713832855225, 0.11388716846704483, 0.01271376945078373, -0.0456317774951458, -0.05771265923976898, -0.0034087642561644316, 0.02010810375213623, -0.00643299100920558, -0.017240095883607864, 0.011848559603095055, -0.023008156567811966, 0.029545294120907784, 0.004145794082432985, 0.01183253712952137, -0.05713585391640663, 0.006360890343785286, 0.026100479066371918, 0.011159596964716911, -0.029673472046852112, 0.07081897556781769, -0.008900439366698265, 0.0013709160266444087, 0.034159742295742035, -0.0006734412163496017, -0.009621446952223778, -0.08927677571773529, 0.04540746286511421, 0.047650597989559174, 0.004882824141532183, -0.008027219213545322, -0.06258346885442734, 0.037011727690696716, -0.06479455530643463, 0.008596014231443405, -0.027478404343128204, 0.005527725908905268, 0.025780031457543373, 0.0034848705399781466, 0.004221900831907988, 0.06386525928974152, 0.002413372974842787, 0.011760436929762363, 0.020540708675980568, -0.05729607865214348, -0.017544521018862724, 0.07319029420614243, -0.04277978837490082, -0.023649051785469055, -0.006765455473214388, -0.03065083920955658, 0.025956276804208755, 0.033486802130937576, -0.013747213408350945, 0.007125959265977144, -0.010270354337990284, 0.004546354059129953, 0.020604798570275307, -0.013298586010932922, 0.038165342062711716, -0.024930844083428383, 0.03957531228661537, -0.009381111711263657, 0.012337243184447289, -0.002916075522080064, 0.023344626650214195, -0.04771468788385391, 0.023649051785469055, 0.027846919372677803, -0.005507697816938162, -0.044029537588357925, -0.05537339299917221, 0.05662313848733902, 0.018826311454176903, 0.014564355835318565, 0.04076096788048744, -0.00016473022697027773, 0.0022891995031386614, 0.04329250752925873, -0.04194662719964981, -0.03624265268445015, 0.005647893529385328, 0.0021249698475003242, -0.10254331678152084, 0.07357483357191086, -0.026468994095921516, -0.03177240490913391, -0.039543267339468, 0.040504612028598785, -0.010550745762884617, -0.04851580783724785, -0.006693354807794094, -0.01590222492814064, -0.026565128937363625, -0.0030262295622378588, -0.03204478695988655, 0.023344626650214195, 0.009549346752464771, -0.010358477011322975, -0.028776219114661217, -0.06665315479040146, 0.054059553891420364, -0.0437411330640316, 0.026468994095921516, 0.07222894579172134, 0.0027097873389720917, -0.030971286818385124, -0.06742223352193832, 0.014988948591053486, -0.039543267339468, -0.03339066728949547, 0.048676032572984695, 0.029993919655680656, -0.06812721490859985, -0.03617856279015541, 0.009869794361293316, -0.04130572825670242, -0.06082100421190262, -0.021502051502466202, 0.006677332334220409, 0.008539935573935509, 0.026292746886610985, -0.033614981919527054, 0.04277978837490082, -0.007418368011713028, -0.009989961981773376, 0.01929096132516861, -0.00040306334267370403, 0.011311809532344341, -0.000024628170649521053, 0.060372378677129745, 0.0970316156744957, -0.031852517277002335, -0.008804305456578732, 0.02078104391694069, 0.028728151693940163, -0.000016022393538150936, 0.05774470418691635, -0.045247238129377365, 0.022303171455860138, -0.017544521018862724, -0.0017654674593359232, -0.014876792207360268, -0.020604798570275307, 0.0021069447975605726, 0.020011968910694122, -0.01691964641213417, 0.04608040302991867, 0.07293393462896347, -0.03560175746679306, 0.05566179379820824, 0.011151585727930069, 0.0012537522707134485, -0.023953478783369064, -0.019339028745889664, 0.017640655860304832, -0.00783094484359026, -0.006817528512328863, 0.019419141113758087, -0.01081511564552784, 0.07158805429935455, -0.01722407341003418, -0.0014460210222750902, -0.01651908829808235, -0.017111916095018387, -0.04832353815436363, 0.016471020877361298, -0.029272912070155144, 0.04370908811688423, -0.008652091957628727, 0.08761044591665268, 0.016759423539042473, 0.04008802771568298, 0.025828098878264427, -0.014299985952675343, 0.02512311190366745, 0.002815935527905822, 0.001974760089069605, 0.07235712558031082, 0.057552438229322433, -0.0018676102627068758, -0.003160417079925537, -0.0201401486992836, 0.005131171550601721, -0.0005142187001183629, 0.01743236370384693, -0.026709329336881638, -0.020364461466670036, -0.05739221349358559, 0.05617450922727585, -0.0003001695149578154, 0.024402104318141937, 0.03678741678595543, -0.04072892293334007, 0.020252306014299393, 0.010134163312613964, -0.04829149320721626, -0.04547155275940895, -0.027173979207873344, 0.010951305739581585, 0.04841967299580574, 0.05075894296169281, 0.04559973254799843, -0.10728594660758972, -0.03390338271856308, -0.006501086056232452, -0.006076492834836245, 0.004378119017928839, 0.05309821292757988, 0.0747925341129303, -0.0402802973985672, -0.07665112614631653, 0.005736016668379307, 0.02366507425904274, 0.018185416236519814, 0.052841853350400925, 0.021470006555318832, -0.052297092974185944, -0.0590585432946682, 0.08652092516422272, -0.009260943159461021, 0.041722312569618225, -0.02912871167063713, 0.0019156774505972862, -0.01807325892150402, -0.043004103004932404, -0.006701366044580936, -0.038325563073158264, 0.03560175746679306, 0.10004382580518723, 0.01183253712952137, -0.007883017882704735, 0.014900825917720795, -0.04848376289010048, 0.021646253764629364, 0.053450703620910645, 0.03688354790210724, 0.0005803110543638468, -0.04656107351183891, -0.0402802973985672, -0.02813532203435898, 0.063993439078331, 0.07665112614631653, -0.008523913100361824, -0.013330630958080292, 0.038165342062711716, -0.0009192848228849471, -0.0030622798949480057, -0.006597220432013273, -0.020364461466670036, -0.04473452270030975, 0.01858597621321678, -0.016503065824508667, 0.029032576829195023, -0.027574539184570312, -0.013202452100813389, 0.049957823008298874, 0.040536653250455856, 0.039479177445173264, 0.011928671970963478, 0.031419914215803146, -0.010414555668830872, -0.030154144391417503, 0.062070753425359726, 0.04918874800205231, 0.04912465810775757, 0.015926258638501167, -0.032942041754722595, -0.01022228691726923, -0.04511905834078789, -0.049861688166856766, -0.01640693098306656, 0.05591815337538719, -0.0560142882168293, 0.01712793856859207, 0.0026256695855408907, -0.005820134188979864, 0.02105342410504818, -0.008772260509431362, -0.0050350371748209, -0.02287997677922249, 0.037043772637844086, 0.0828678160905838, -0.05146392807364464, -0.0651470497250557, -0.005155205260962248, 0.0379730723798275, -0.009284976869821548, -0.00428999587893486, -0.043452732264995575, -0.015485643409192562, -0.0744720846414566, 0.017400318756699562, 0.02800714410841465, 0.04547155275940895, -0.06264755874872208, -0.007218088023364544, 0.04684947803616524, -0.013306597247719765, -0.040600743144750595, 0.0017404324607923627, 0.04861194267868996, -0.0038714108522981405, -0.02190261147916317, -0.038197387009859085, 0.01877824403345585, 0.10587597638368607, -0.028904397040605545, 0.03431996703147888, 0.018906423822045326, 0.049445103853940964, -0.010398533195257187, 0.0889563262462616, 0.013306597247719765, 0.0636729896068573, -0.05960330367088318, -0.015389508567750454, 0.007374306675046682, 0.014275952242314816, 0.05252140387892723, -0.010622846893966198, -0.03428792208433151, 0.021470006555318832, -0.02600434422492981, 0.0289524644613266, -0.031115487217903137, 0.02062082104384899, 0.01664726622402668, -0.001964746043086052, -0.04749037325382233, -0.046913567930459976, -0.05021417886018753, 0.004153805319219828, -0.0018295570043846965, -0.0038754164706915617, -0.0055517591536045074, -0.03515313193202019, 0.03867805749177933, -0.010214275680482388, 0.013875392265617847, -0.017448386177420616, -0.014564355835318565, -0.028295546770095825, 0.07870199531316757, 0.010975339449942112, -0.0003805318265222013, -0.08331644535064697, -0.00003414146704017185, 0.018201438710093498, 0.034832682460546494, -0.06825539469718933, -0.013338642194867134, -0.03190058469772339, -0.03781284764409065, -0.01212094072252512, 0.026965687051415443, -0.05303412303328514, 0.007129964884370565, -0.014540322124958038, 0.005163216032087803, 0.03656310215592384, -0.042299117892980576, 0.022014768794178963, -0.005207277834415436, 0.02783089689910412, -0.04191458225250244, -0.01532541960477829, -0.029320979490876198, 0.042363207787275314, -0.009749626740813255, 0.04082505777478218, 0.03919077292084694, 0.01732020638883114, -0.05960330367088318, 0.004133777692914009, 0.007334250491112471, 0.029977897182106972, 0.006769461091607809, -0.025651851668953896, -0.027542494237422943, -0.06030828878283501, -0.0418504923582077, 0.07838154584169388, -0.06463433802127838, 0.01627875119447708, 0.01837768591940403, -0.0077067711390554905, -0.05556565895676613, -0.08267554640769958, -0.012809903360903263, -0.052777763456106186, 0.0007144985720515251, -0.006885623559355736, -0.0054756528697907925, -0.031035376712679863, -0.03515313193202019, -0.022527484223246574, -0.0785738155245781, 0.03694763779640198, -0.007346267346292734, 0.031035376712679863, -0.00020240788580849767, 0.048163313418626785, 0.029032576829195023, -0.07062671333551407, 0.06876811385154724, -0.011912649497389793, -0.03137184679508209, -0.059891704469919205, 0.02275179885327816, 0.005427585914731026, 0.04543950781226158, -0.0010795088019222021, -0.05268162861466408, 0.06072486937046051, 0.012641668319702148, 0.09639071673154831, 0.015349452383816242, 0.0312596894800663, 0.0330381765961647, -0.018185416236519814, -0.0044502196833491325, 0.009437189437448978, 0.051143478602170944, -0.0051471940241754055, -0.04431793838739395, -0.008900439366698265, -0.026901599019765854, -0.010975339449942112, 0.01752849854528904, 0.014748613350093365, -0.020973313599824905, -0.0036070412024855614, 0.0014990951167419553, 0.03730013221502304, 0.03637083247303963, 0.01406766101717949, -0.01215298566967249, -0.06460229307413101, 0.08620047569274902, -0.06479455530643463, 0.020220261067152023, -0.022607596591114998, 0.010078085586428642, -0.03172433748841286, -0.009821726940572262, 0.0033406689763069153, 0.059346944093704224, -0.06559567898511887, -0.013619034551084042, -0.048740118741989136, -0.008972540497779846, -0.06463433802127838, 0.036466967314481735, -0.021502051502466202, -0.038325563073158264, 0.010702958330512047, -0.044125672429800034, -0.06498682498931885, -0.00973360426723957, 0.02712591178715229, 0.008199459873139858, 0.030522659420967102, -0.04973350837826729, -0.017961103469133377, 0.02712591178715229, -0.036531057208776474, -0.04370908811688423, -0.0008041238761506975, -0.01227315329015255, -0.003659114008769393, 0.049348972737789154, -0.01651908829808235, 0.016150573268532753, -0.014708557166159153, -0.011888615787029266, -0.05434795841574669, 0.01725611835718155, 0.03406360745429993, 0.021582163870334625, 0.0007190048927441239, 0.0441577173769474, -0.04566382244229317, 0.03854987770318985, -0.04832353815436363, 0.010999373160302639, 0.03457632288336754, 0.024930844083428383, -0.010751025751233101, 0.029385069385170937, -0.01877824403345585, 0.01898653618991375, 0.021886589005589485, -0.019755611196160316, -0.0289524644613266, -0.009341055527329445, -0.03919077292084694, -0.01877824403345585, -0.04124164208769798, -0.00555977039039135, -0.027542494237422943, 0.029240867123007774, 0.04547155275940895, -0.02861599437892437, -0.0218705665320158, -0.038870327174663544, 0.075946144759655, 0.004898846615105867, 0.02451426163315773, -0.030090054497122765, 0.006885623559355736, -0.01962743140757084, -0.0017754815053194761, -0.06889629364013672, 0.04912465810775757, 0.08222692459821701, -0.06123758852481842, 0.016775446012616158, -0.03508904203772545, 0.009541335515677929, -0.023745186626911163, -0.0651470497250557, 0.02254350669682026, 0.022303171455860138, 0.016599198803305626, 0.01828155107796192, -0.00466251652687788, 0.04617653787136078, -0.015541721135377884, -0.019547319039702415, 0.05290594324469566, 0.006669321097433567, -0.04745832830667496, -0.08773862570524216, 0.004874813370406628, 0.0008892428013496101, -0.022863954305648804, -0.11151585727930069, -0.060468513518571854, 0.016350852325558662, -0.011399933136999607, -0.03071492724120617, -0.030779017135500908, 0.01149606704711914, -0.02180647663772106, -0.009973939508199692, -0.0444781631231308, 0.05210482329130173, 0.0016372883692383766, -0.002181048272177577, 0.013715168461203575, 0.03861396759748459, -0.021149558946490288, 0.021950678899884224, -0.01587017998099327, 0.002667728578671813, -0.011439988389611244, -0.021950678899884224, 0.05671927332878113, 0.000057267538068117574, 0.004738622810691595, 0.03601834177970886, 0.04319637268781662, -0.01090323831886053, -0.019162781536579132, 0.017929058521986008, -0.014275952242314816, 0.04310023784637451, 0.002130978275090456, -0.0010534723987802863, 0.03669128194451332, 0.0013779258588328958, 0.0049429084174335, 0.0022471407428383827, -0.04451020807027817, 0.006769461091607809, -0.00032820869819261134, -0.008087302558124065, -0.02536344900727272, -0.07556160539388657, -0.0625193789601326, -0.02536344900727272, 0.021550118923187256, 0.012841948308050632, 0.019242893904447556, -0.019146759063005447, -0.039991892874240875, -0.0506628081202507, -0.02092524617910385, 0.03071492724120617, 0.013811303302645683, -0.017656678333878517, -0.024626418948173523, -0.014612422324717045, -0.010831138119101524, -0.013595000840723515, 0.02594025433063507, 0.014003572054207325, -0.005719994194805622, 0.029849719256162643, -0.026773419231176376, -0.015333430841565132, -0.0009368092869408429, -0.035345397889614105, 0.018185416236519814, -0.023953478783369064, -0.017576565966010094, 0.031131509691476822, 0.045920178294181824, -0.01847381889820099, 0.0038513827603310347, -0.007975146174430847, 0.025539694353938103, 0.024466194212436676, 0.046336762607097626, 0.0319967195391655, -0.02356894128024578, -0.018201438710093498, 0.025107089430093765, -0.018185416236519814, -0.0054756528697907925, 0.0218705665320158, -0.055181123316287994, -0.022895999252796173, 0.00643299100920558, -0.04832353815436363, 0.006136576645076275, 0.024674486368894577, -0.0011816514888778329, 0.04316432774066925, -0.018089281395077705, -0.0013248516479507089, -0.010262343101203442, 0.005311423446983099, -0.004229911603033543, 0.029977897182106972, -0.01186458207666874, -0.030234256759285927, -0.05415568873286247, 0.04973350837826729, 0.04220298305153847, -0.021005356684327126, -0.03614651784300804, -0.0026877564378082752, 0.004233917221426964, 0.01149606704711914, 0.02078104391694069, -0.0770997554063797, 0.047586508095264435, 0.05848173424601555, 0.058738093823194504, 0.03903055191040039, 0.006537136621773243, 0.016967713832855225, 0.01901858113706112, -0.04310023784637451, -0.01010211929678917, 0.02533140406012535, -0.04598426818847656, 0.026965687051415443, 0.026805464178323746, -0.020572753623127937, 0.01252951193600893, -0.014612422324717045, -0.0006789489416405559, 0.025828098878264427, 0.0033586942590773106, 0.030698904767632484, 0.038229431957006454, 0.04659311845898628, -0.055149078369140625, 0.016358863562345505, -0.011456010863184929, 0.03129173442721367, -0.011800493113696575, 0.016807490959763527, 0.010502678342163563, 0.0033947445917874575, -0.03489677235484123, 0.05293798819184303, 0.020492641255259514, 0.014484243467450142, -0.006537136621773243, 0.05649495869874954, -0.06928082555532455, 0.00932503305375576, -0.03284590691328049, -0.03307022154331207, 0.023617006838321686, -0.11478442698717117, -0.001718401676043868, -0.017240095883607864, -0.09119946509599686, 0.02475459687411785, 0.05937898904085159, 0.034736547619104385, 0.003795304335653782, 0.04098528251051903, -0.03656310215592384, 0.0464649423956871, -0.03013812191784382, -0.04749037325382233, -0.0025495633017271757, 0.025619806721806526, -0.01847381889820099, -0.013787269592285156, 0.024562329053878784, -0.0010905241360887885, 0.010294388048350811, 0.006445007864385843, 0.045215193182229996, -0.03970349207520485, 0.0552772581577301, 0.024594374001026154, 0.04162617772817612, -0.04973350837826729, -0.048195358365774155, 0.008788282983005047, -0.0136110233142972, 0.008459823206067085, -0.005383524112403393, -0.055084988474845886, 0.00428999587893486, 0.019483231008052826, 0.03630674257874489, 0.019210848957300186, -0.06360889971256256, -0.07953516393899918, 0.02211090363562107, 0.00036526049370877445, -0.01242536585777998, -0.002054871991276741, -0.03034641221165657, 0.07870199531316757, 0.01831359602510929, -0.01406766101717949, -0.019066648557782173, 0.04492679238319397, -0.0027097873389720917, -0.003935500513762236, 0.015637855976819992, 0.04018416255712509, 0.03903055191040039, 0.006733410991728306, 0.010182230733335018, 0.031852517277002335, 0.0495091937482357, 0.02047661878168583, 0.029897786676883698, -0.004169827792793512, 0.009725593030452728, 0.00031744365696795285, 0.03396747261285782, -0.024113701656460762, 0.023136336356401443, -0.022319193929433823, 0.03617856279015541, -0.011103518307209015, 0.04499087855219841, -0.016695333644747734, 0.01301819458603859, 0.03380725160241127, 0.06130167841911316 ]
42,038
patch_ng
Patch
Patch for a single file. If used as an iterable, returns hunks.
class Patch(object): """ Patch for a single file. If used as an iterable, returns hunks. """ def __init__(self): self.source = None self.target = None self.hunks = [] self.hunkends = [] self.header = [] self.type = None def __iter__(self): for h in self.hunks: yield h
()
[ 0.036756809800863266, -0.059128981083631516, -0.06499592959880829, -0.0186788197606802, -0.07655312120914459, -0.06845955550670624, -0.03239193558692932, 0.11387541890144348, 0.030766155570745468, 0.00929523166269064, -0.0045680939219892025, -0.05499383807182312, -0.04396679624915123, 0.055948104709386826, -0.03498965501785278, -0.002308345166966319, -0.053544774651527405, 0.0936591774225235, -0.024899203330278397, 0.008217266760766506, 0.010116958059370518, 0.058846235275268555, 0.00687422975897789, 0.039937686175107956, 0.0017461692914366722, 0.06421838700771332, 0.029741205275058746, -0.01307694148272276, 0.045062433928251266, -0.04771316424012184, 0.005805101711302996, -0.05545330047607422, 0.010399702936410904, 0.001224858802743256, -0.01749482750892639, -0.02786802314221859, -0.03961959853768349, 0.05969446897506714, -0.037675727158784866, 0.022813960909843445, 0.05545330047607422, 0.012582138180732727, -0.004320692270994186, -0.03101355768740177, 0.015294719487428665, 0.03004162199795246, -0.0203046016395092, 0.0122287068516016, 0.007121631409972906, -0.002231032121926546, 0.003947380930185318, 0.0132624926045537, 0.020410630851984024, -0.03629734739661217, -0.0026374775916337967, 0.05937638133764267, 0.0007803090265952051, 0.036615435034036636, 0.006913991179317236, 0.049303602427244186, -0.0034194434992969036, -0.0030196248553693295, 0.0548878088593483, -0.04530983418226242, -0.00492594251409173, -0.04195224121212959, -0.020198572427034378, -0.04230567067861557, -0.01174273993819952, 0.03848861902952194, -0.027514591813087463, 0.01573650911450386, 0.02113516442477703, 0.03373497352004051, 0.024651801213622093, 0.04364870861172676, -0.0182193610817194, 0.021629968658089638, 0.06754063814878464, -0.06570279598236084, -0.056407563388347626, 0.06025996059179306, -0.04046783223748207, -0.00018002884462475777, 0.027903364971280098, -0.037392985075712204, 0.07535145431756973, -0.019774455577135086, -0.015383077785372734, 0.007417629938572645, -0.0489148274064064, 0.050363894551992416, 0.004459855612367392, -0.0493742898106575, 0.01261748094111681, 0.02099379152059555, -0.001653393730521202, 0.017980793491005898, -0.0099225714802742, -0.007090706378221512, 0.005314716137945652, 0.02735554799437523, -0.026277583092451096, 0.03058943897485733, 0.011495338752865791, 0.013721952214837074, 0.00939242448657751, -0.045698609203100204, -0.03894807770848274, 0.007263003848493099, -0.02168298326432705, -0.049303602427244186, -0.03589090332388878, -0.013739624060690403, 0.0364387221634388, -0.06941381841897964, -0.01781291514635086, 0.01509149745106697, 0.04333062097430229, -0.03235659375786781, 0.013898667879402637, 0.006622410379350185, -0.04679424315690994, 0.08234938979148865, 0.02131187915802002, -0.017238589003682137, 0.031720418483018875, 0.028486525639891624, 0.04499174654483795, -0.04067989066243172, -0.03408840671181679, 0.05015183612704277, -0.034494850784540176, 0.01402236893773079, -0.009516125544905663, -0.03654475137591362, -0.025500034913420677, -0.046758901327848434, 0.03778175637125969, -0.07022670656442642, 0.03299276903271675, -0.04831399768590927, 0.024245355278253555, 0.005942055955529213, -0.10913944244384766, -0.01409305538982153, 0.005350059363991022, -0.03119027242064476, -0.0011729486286640167, 0.051212128251791, -0.008972725830972195, -0.006534053012728691, 0.03133164346218109, 0.053721487522125244, -0.0026043434627354145, -0.007316018454730511, -0.05184830352663994, 0.0041152602061629295, -0.006498709786683321, 0.004411258734762669, 0.014552515000104904, -0.058669522404670715, 0.01079731248319149, 0.03756969794631004, -0.030801497399806976, -0.011044713668525219, -0.02864556945860386, -0.09570907056331635, -0.005403073970228434, 0.005031971726566553, 0.014658544212579727, 0.0015042900340631604, -0.00489059928804636, 0.030518753454089165, 0.054004233330488205, 0.08178389817476273, -0.00280756619758904, 0.018290046602487564, -0.014676216058433056, 0.021117493510246277, -0.00881368201225996, -0.020269259810447693, -0.02906968630850315, 0.034724581986665726, 0.009445439092814922, 0.0406092032790184, -0.019491711631417274, -0.012467273510992527, 0.04626409709453583, -0.0037043970078229904, 0.033982377499341965, -0.021294208243489265, 0.009427768178284168, 0.06107284873723984, 0.008234938606619835, -0.02967051975429058, -0.042058270424604416, 0.005456088576465845, 0.060047902166843414, 0.005637221969664097, -0.10030367225408554, -0.013571744784712791, -0.00017616318655200303, 0.03954891115427017, -0.026843072846531868, 0.047501105815172195, 0.0433659665286541, -0.03225056454539299, -0.10998767614364624, 0.04470900073647499, 0.010072778910398483, -0.012838375754654408, 0.014976631850004196, -0.012237543240189552, 0.037216268479824066, -0.046440813690423965, 0.0066577536053955555, 0.01720324717462063, -0.04686493054032326, 0.026083197444677353, -0.007351361680775881, 0.013421536423265934, -0.06075476109981537, 0.00916269514709711, -0.030483409762382507, 0.030942870303988457, 0.012926733121275902, 0.03242728114128113, -0.01910293661057949, -0.044638317078351974, 0.0161517895758152, -0.04728904739022255, 0.012997419573366642, -0.0031256540678441525, 0.01091217715293169, -0.0010122479870915413, -0.009630990214645863, -0.014057711698114872, 0.0024386728182435036, 0.008804845623672009, 0.008888785727322102, -0.007050945423543453, 0.06132025271654129, 0.00761201698333025, 0.013792638666927814, -0.036792151629924774, 0.013474551029503345, -0.001007830142043531, 0.020198572427034378, 0.03159671649336815, 0.0003531547263264656, 0.016690772026777267, 0.014888274483382702, 0.045981355011463165, 0.06252191960811615, -0.03606761619448662, 0.016646593809127808, -0.07400842010974884, 0.04470900073647499, 0.0020134514197707176, -0.005509103182703257, 0.010647104121744633, 0.06347618252038956, 0.02984723448753357, -0.002701536985114217, 0.008804845623672009, -0.016072267666459084, 0.009198037907481194, -0.022955333814024925, 0.030801497399806976, 0.085813008248806, -0.017636198550462723, -0.022001070901751518, 0.013987026177346706, -0.03004162199795246, 0.03260399401187897, 0.0313846580684185, 0.0295291468501091, 0.041598811745643616, -0.018749507144093513, 0.055523987859487534, -0.009551468305289745, -0.0074971518479287624, -0.024068640545010567, 0.019350338727235794, -0.02140023745596409, -0.054463692009449005, 0.07238263636827469, -0.005456088576465845, -0.03529006987810135, 0.05517055466771126, 0.03133164346218109, -0.02403329685330391, -0.06103750690817833, 0.06754063814878464, 0.034159090369939804, -0.07192317396402359, -0.02293766289949417, 0.05654893442988396, -0.05927035212516785, -0.018926221877336502, -0.05103541538119316, 0.010116958059370518, 0.006578231696039438, -0.0830562487244606, 0.0000864248868310824, 0.03557281568646431, 0.006428023334592581, -0.07185249030590057, -0.00040672157774679363, 0.06520798802375793, -0.008318878710269928, -0.038135189563035965, -0.03972562775015831, -0.012370079755783081, -0.07308950275182724, -0.013827982358634472, 0.04728904739022255, -0.01381914597004652, 0.055948104709386826, -0.05679633840918541, 0.008376311510801315, 0.021930383518338203, 0.03539609909057617, 0.059906527400016785, -0.011221429333090782, 0.05919966846704483, -0.00040672157774679363, -0.03696886822581291, 0.014446485787630081, -0.01324482075870037, -0.047183018177747726, 0.004340572748333216, 0.05078801140189171, -0.02754993364214897, 0.02113516442477703, 0.01697351597249508, -0.03235659375786781, 0.01633734069764614, -0.07952193915843964, 0.02671937271952629, -0.014640873298048973, -0.0037132329307496548, 0.02454577200114727, -0.00025899853790178895, 0.014481828548014164, -0.011239101178944111, -0.02680772915482521, 0.016726115718483925, 0.044355571269989014, 0.062451232224702835, 0.01818401739001274, 0.016319669783115387, 0.01250261627137661, 0.05481712520122528, -0.029052015393972397, -0.03387634828686714, -0.01725626178085804, -0.022177785634994507, 0.013456879183650017, 0.04601669684052467, 0.05856349319219589, 0.017176739871501923, 0.0036116214469075203, -0.006463366560637951, -0.04255307465791702, -0.0406092032790184, 0.020127886906266212, -0.06149696558713913, -0.0004293632518965751, -0.055842075496912, 0.030978213995695114, -0.03749901428818703, -0.06499592959880829, 0.034583207219839096, -0.07570488750934601, 0.0059243845753371716, 0.043754737824201584, -0.030660126358270645, 0.05697305127978325, -0.033982377499341965, 0.039937686175107956, 0.001527483924292028, 0.016089938580989838, -0.04082126170396805, -0.025305649265646935, 0.01993349939584732, -0.022760946303606033, 0.03500732406973839, 0.05980049818754196, 0.024581115692853928, -0.06959053128957748, -0.00881368201225996, 0.009843048639595509, -0.040856607258319855, -0.05276722460985184, 0.01596623845398426, 0.008411654271185398, -0.06011858582496643, -0.03331085667014122, 0.06973190605640411, -0.04442625865340233, -0.01646987721323967, 0.05849280580878258, 0.03124328702688217, -0.08616644144058228, 0.05453437939286232, -0.005305880680680275, 0.014340456575155258, 0.012970912270247936, -0.0008592787198722363, -0.019527053460478783, 0.010143465362489223, -0.05743251368403435, 0.015550957061350346, 0.010956356301903725, -0.0015385287115350366, -0.03345223143696785, 0.008553026244044304, 0.02436905726790428, 0.033664289861917496, -0.00809798389673233, 0.02984723448753357, 0.051742274314165115, -0.007046527694910765, -0.04665287211537361, 0.01753900572657585, 0.00022572634043172002, -0.06252191960811615, 0.049904435873031616, -0.012970912270247936, -0.03636803478002548, 0.010823819786310196, 0.03870067745447159, 0.051000069826841354, -0.052025020122528076, -0.018396075814962387, -0.001084590912796557, 0.026418955996632576, 0.032497964799404144, 0.023980282247066498, 0.05545330047607422, 0.04803125187754631, -0.027196504175662994, 0.010346688330173492, -0.02606552466750145, -0.021983398124575615, 0.004881763365119696, 0.015506778843700886, 0.017282769083976746, -0.01970377005636692, -0.016549399122595787, 0.03855930641293526, -0.02961750514805317, 0.023679867386817932, -0.026136212050914764, 0.027761993929743767, 0.00029296104912646115, -0.031031228601932526, -0.02044597454369068, 0.04746576398611069, 0.030766155570745468, 0.05177761986851692, -0.03295742720365524, 0.01033785194158554, -0.060472019016742706, -0.0013198433443903923, 0.0010486956452950835, -0.04216429963707924, -0.020428303629159927, 0.05587741732597351, -0.015833701938390732, -0.024475086480379105, 0.003836933523416519, -0.02804473787546158, 0.0212235227227211, -0.039195481687784195, 0.05467575043439865, -0.04308322072029114, -0.06800009310245514, -0.04018508642911911, -0.07308950275182724, 0.0009498454164713621, -0.0035674425307661295, 0.007338108029216528, -0.06527867913246155, 0.06372357904911041, -0.0530499704182148, 0.01540958508849144, -0.05347408726811409, 0.004881763365119696, -0.017777571454644203, -0.04986909404397011, -0.03394703194499016, 0.02330876514315605, 0.03087218478322029, 0.005142418667674065, 0.03802916035056114, 0.02311437763273716, -0.06252191960811615, 0.01725626178085804, -0.05389820411801338, 0.00326923537068069, -0.03894807770848274, 0.024050969630479813, -0.011009370908141136, 0.02468714490532875, -0.027373218908905983, -0.019226638600230217, 0.030059292912483215, -0.0101523008197546, -0.0228316318243742, -0.0017152440268546343, 0.008853442966938019, 0.018537448719143867, 0.0198451429605484, -0.04075057804584503, 0.021895041689276695, -0.022990677505731583, 0.0452038049697876, 0.016726115718483925, -0.000565489346627146, 0.03841793164610863, -0.06280466169118881, 0.012396587058901787, -0.01647871360182762, 0.016681935638189316, -0.016832144930958748, 0.04022043198347092, -0.0373576395213604, -0.014066548086702824, -0.01784825697541237, -0.012361244298517704, -0.025500034913420677, 0.00342607032507658, -0.009118515998125076, 0.05043458193540573, -0.00694491621106863, -0.00485525606200099, -0.01287371851503849, 0.02841584011912346, 0.05729113891720772, -0.0015042900340631604, -0.05004580691456795, -0.007479480467736721, 0.0014026786666363478, -0.06294603645801544, -0.050081152468919754, 0.009034575894474983, -0.02606552466750145, -0.03331085667014122, -0.03514869883656502, -0.06845955550670624, 0.06308740377426147, -0.03189713507890701, -0.02279628999531269, 0.027691306546330452, -0.022778617218136787, 0.009860720485448837, 0.028574883937835693, 0.013536401093006134, 0.049480319023132324, -0.0006820110720582306, -0.017839422449469566, -0.003965052310377359, 0.052343107759952545, 0.020269259810447693, 0.062309857457876205, -0.03364661708474159, 0.012891390360891819, 0.03081917017698288, 0.04280047491192818, 0.037074897438287735, 0.00883577112108469, 0.02984723448753357, 0.0031742507126182318, 0.00019839066953863949, 0.00805380567908287, 0.02343246527016163, -0.08984211832284927, 0.01552444975823164, -0.014632036909461021, 0.03718092665076256, -0.09620387852191925, -0.0052617015317082405, -0.03622666001319885, -0.039054106920957565, 0.05980049818754196, 0.03728695586323738, 0.05290859937667847, -0.016681935638189316, -0.05679633840918541, -0.031402330845594406, -0.044002141803503036, -0.030112307518720627, -0.009551468305289745, 0.018343061208724976, -0.05107075721025467, -0.04576929286122322, 0.028133096173405647, 0.015188690274953842, -0.03700421005487442, -0.03145534545183182, 0.03179110586643219, 0.018767178058624268, -0.04852605611085892, 0.013969354331493378, -0.03604994714260101, 0.009198037907481194, -0.02740856260061264, 0.007682702969759703, 0.012856046669185162, 0.025305649265646935, -0.03525472804903984, -0.027991723269224167, -0.002370195696130395, 0.012537959031760693, 0.04743041843175888, 0.00602157786488533, -0.0022818378638476133, -0.01446415763348341, -0.03756969794631004, -0.02339712157845497, 0.01679680123925209, -0.0012734555639326572, 0.0009034575778059661, -0.01213151402771473, 0.012590973637998104, -0.016849815845489502, -0.054322320967912674, 0.009034575894474983, 0.0013839026214554906, 0.025818122550845146, -0.0063970983028411865, -0.006507545243948698, 0.020004186779260635, 0.0027258354239165783, -0.07206454873085022, -0.04986909404397011, 0.053862862288951874, -0.00009367297752760351, -0.056407563388347626, 0.020887762308120728, -0.012962075881659985, -0.0715344026684761, -0.03256865218281746, -0.010196479968726635, -0.044355571269989014, 0.017698049545288086, -0.06375892460346222, 0.012025484815239906, 0.06584416329860687, -0.02362685278058052, 0.01711488887667656, -0.01887320727109909, 0.07605832070112228, -0.005297044757753611, -0.0029555654618889093, 0.012608645483851433, 0.0037353222724050283, 0.03260399401187897, 0.01973911188542843, 0.049939777702093124, -0.026560328900814056, 0.006825633347034454, 0.009860720485448837, 0.0051556723192334175, -0.029122700914740562, 0.028115423396229744, 0.03778175637125969, -0.0466175302863121, 0.04280047491192818, -0.05145953223109245, -0.01850210502743721, -0.007249750196933746, -0.09358848631381989, 0.019456367939710617, 0.033522915095090866, 0.028256796300411224, 0.010461552999913692, -0.017910107970237732, 0.022089427337050438, 0.01072662603110075, 0.015983909368515015, -0.004709465894848108, 0.0872267335653305, -0.012997419573366642, -0.015983909368515015, 0.02990024909377098, 0.007987537421286106, 0.0438254252076149, 0.0071878996677696705, 0.05608947575092316, 0.04421420022845268, -0.027708979323506355, 0.0613555945456028, 0.01794545166194439, -0.048879485577344894, 0.0009989943355321884, -0.032639339566230774, 0.037993814796209335, 0.015171019360423088, 0.0017417514463886619, 0.0242276843637228, -0.003439323976635933, -0.010081615298986435, -0.058104030787944794, 0.021258864551782608, -0.04333062097430229, -0.003976096864789724, -0.00277885003015399, 0.0733722448348999, 0.02159462496638298, -0.0327453687787056, 0.0834803655743599, -0.05287325382232666, -0.005729997530579567, -0.03672146424651146, 0.042093612253665924, 0.034353479743003845, 0.008044969290494919, 0.05018718168139458, -0.011566024273633957, 0.06626828014850616, -0.03408840671181679, -0.009233380667865276, -0.01739763282239437, -0.011009370908141136, -0.029829563573002815, 0.04174018278717995, 0.011654382571578026, 0.00754133053123951, -0.030448067933321, -0.05085869878530502, 0.01363359484821558, -0.03940754011273384, -0.026931431144475937, 0.019668426364660263, 0.07386704534292221, 0.017273932695388794, -0.03394703194499016, -0.037074897438287735, -0.0678233802318573, 0.051212128251791, -0.018714163452386856, -0.012370079755783081, 0.07111028581857681, 0.042058270424604416, -0.038276560604572296, 0.04181087017059326, 0.020127886906266212, -0.02334410697221756, -0.033151812851428986, 0.0036160394083708525, 0.0576799139380455, -0.016717279329895973, 0.052166394889354706, -0.038135189563035965, 0.015630479902029037, 0.020198572427034378, -0.01942102424800396, -0.056584279984235764, 0.017326947301626205, 0.03497198224067688, 0.008853442966938019, 0.037993814796209335, -0.005986235104501247, 0.028504198417067528 ]
42,039
patch_ng
__init__
null
def __init__(self): self.source = None self.target = None self.hunks = [] self.hunkends = [] self.header = [] self.type = None
(self)
[ -0.01302922610193491, -0.01693357713520527, -0.04314219579100609, -0.041163522750139236, -0.06985431909561157, -0.04452020302414894, -0.03907884657382965, 0.05953693762421608, -0.025228114798665047, -0.016536075621843338, -0.03418515622615814, 0.02271943725645542, -0.031234808266162872, 0.048124220222234726, -0.027507124468684196, 0.04346019774675369, -0.010220212861895561, 0.03635816648602486, -0.013506228104233742, -0.003297056769952178, -0.02353210747241974, 0.0371001698076725, -0.017463579773902893, 0.04921955615282059, 0.004730271641165018, 0.04914889112114906, -0.01155405305325985, -0.04342486336827278, 0.011969220824539661, -0.05257624015212059, -0.020670093595981598, -0.06533163040876389, -0.024715779349207878, -0.009089541621506214, -0.008603706024587154, -0.01784341409802437, 0.003862392622977495, 0.02627045288681984, -0.0684409812092781, 0.02365577407181263, 0.02280777134001255, -0.04929022490978241, -0.029185466468334198, 0.0058079431764781475, 0.004321727901697159, 0.034008488059043884, -0.006002277135848999, -0.006479279603809118, -0.0037475586868822575, -0.026871122419834137, -0.034344155341386795, 0.03399082273244858, 0.016677409410476685, 0.014389565214514732, -0.03195914626121521, 0.05105689913034439, 0.014027397148311138, 0.07455367594957352, 0.009283876046538353, 0.0744830071926117, -0.017110245302319527, 0.06501363217830658, 0.061162278056144714, -0.03453849256038666, 0.021217763423919678, -0.009513542987406254, -0.03943217918276787, 0.003407473908737302, -0.0023872191086411476, 0.06151561439037323, 0.030369138345122337, 0.010211380198597908, 0.02217176742851734, 0.054872915148735046, 0.05600358918309212, -0.024397777393460274, -0.04586287587881088, 0.023938441649079323, 0.027047790586948395, -0.0702429860830307, -0.0021807390730828047, 0.08918173611164093, -0.0635649561882019, -0.008943790569901466, 0.04427286982536316, -0.028266794979572296, 0.03259515017271042, -0.00027038404368795455, -0.030969807878136635, -0.020811427384614944, -0.0684409812092781, 0.0377008393406868, -0.04102218523621559, 0.010988716967403889, 0.005777026526629925, 0.009858044795691967, 0.0020592801738530397, -0.06681563705205917, -0.009133708663284779, -0.013470894657075405, -0.02651778794825077, 0.009451709687709808, -0.04646354541182518, 0.03287781774997711, -0.03180014342069626, 0.010873883031308651, -0.0038866843096911907, -0.02112942934036255, -0.021482763811945915, 0.01410689763724804, -0.012940892018377781, -0.023620441555976868, 0.008550705388188362, 0.03812484070658684, 0.04709954932332039, -0.07455367594957352, -0.030263137072324753, 0.005110106430947781, -0.010918050073087215, -0.0011958179529756308, 0.02761312574148178, -0.005127773154526949, -0.082115039229393, 0.04123418778181076, 0.027012456208467484, -0.00472143804654479, 0.03570449724793434, -0.016642075031995773, 0.03897284343838692, -0.08275104314088821, 0.003478140803053975, -0.009040958248078823, -0.06483696401119232, 0.04444953426718712, -0.018744418397545815, -0.03798350691795349, 0.004535937216132879, -0.050491563975811005, 0.013223560526967049, -0.042647529393434525, 0.02740112505853176, -0.0009363375720568001, 0.0635649561882019, -0.07126765698194504, -0.04904289171099663, 0.046357546001672745, -0.00492460560053587, -0.05395424738526344, -0.013002726249396801, -0.02572278305888176, -0.0034008489456027746, -0.07900569587945938, -0.027895793318748474, 0.004460853524506092, -0.01578523777425289, -0.009902211837470531, -0.059678271412849426, -0.02146509848535061, -0.016809910535812378, 0.04141085594892502, -0.005083606578409672, -0.07879368960857391, -0.010555881075561047, -0.01197805441915989, -0.03858417645096779, -0.010070045478641987, 0.007662951480597258, -0.07126765698194504, -0.021359097212553024, 0.009354542940855026, -0.03646416589617729, -0.047876883298158646, -0.04593354091048241, 0.04872488975524902, 0.005419274792075157, 0.053989578038454056, -0.018585417419672012, 0.027330458164215088, -0.03847817704081535, -0.00963721051812172, 0.007031365297734737, -0.011836720630526543, -0.04444953426718712, 0.01922142133116722, 0.02803712710738182, -0.007450950797647238, 0.02407977730035782, -0.006907698232680559, 0.06759297102689743, 0.03298381716012955, 0.0437781997025013, -0.025881784036755562, -0.015696905553340912, 0.037842173129320145, 0.0395381785929203, -0.02104109525680542, 0.0034295571967959404, 0.009619544260203838, -0.0007061177748255432, 0.0258464515209198, -0.034344155341386795, 0.0005758255138061941, -0.009054208174347878, 0.017384078353643417, -0.042894862592220306, 0.04861888661980629, 0.0284257959574461, 0.01976908929646015, -0.05402491241693497, 0.013841896317899227, 0.003427349030971527, -0.014159898273646832, 0.04137552157044411, 0.006117111071944237, 0.0522935725748539, -0.07462433725595474, -0.09631910920143127, 0.041764188557863235, 0.00022345675097312778, 0.029026465490460396, 0.06388295441865921, -0.0013481936184689403, -0.05978427082300186, -0.029450466856360435, -0.02642945386469364, 0.02669445425271988, -0.00034008489456027746, 0.0010335047263652086, -0.015087402425706387, -0.061162278056144714, 0.01872675120830536, -0.038760844618082047, -0.01927442103624344, 0.021147096529603004, 0.03939684480428696, 0.06165694817900658, 0.00768503500148654, 0.0018826127052307129, -0.07688568532466888, -0.06285828351974487, -0.0072433664463460445, -0.02271943725645542, 0.009186708368360996, -0.06257561594247818, 0.0005824505933560431, 0.021447431296110153, 0.027471791952848434, 0.03605782985687256, -0.04671087861061096, -0.008603706024587154, -0.0009760877583175898, -0.0015325903659686446, -0.007265449967235327, 0.00037459025043062866, 0.014592733234167099, -0.06935965269804001, 0.013082226738333702, -0.06784030795097351, 0.03752417117357254, -0.034503158181905746, -0.014654566533863544, -0.041340187191963196, 0.03250681608915329, 0.05444891378283501, 0.008868707343935966, 0.043742865324020386, -0.0024578862357884645, 0.02812546119093895, -0.05155156925320625, -0.03167647868394852, 0.09752044081687927, 0.00953121017664671, -0.04946689307689667, 0.0000680100783938542, -0.02256043627858162, -0.025864118710160255, 0.00674428092315793, -0.012932059355080128, 0.01167771965265274, 0.010061212815344334, 0.07582567632198334, -0.024892447516322136, 0.005966943688690662, -0.001838445896282792, 0.000024343535187654197, -0.03490949422121048, -0.013285393826663494, 0.013285393826663494, -0.029697801917791367, -0.03263048082590103, 0.017136745154857635, 0.07165632396936417, -0.0037166420370340347, -0.004434353671967983, 0.11589386314153671, 0.048760220408439636, -0.02457444556057453, 0.042647529393434525, 0.0349624939262867, -0.02976846881210804, -0.015679238364100456, -0.03798350691795349, 0.03213581442832947, -0.029945136979222298, -0.09073641151189804, -0.0008215037523768842, 0.03280714899301529, 0.014177564531564713, 0.012967392802238464, -0.040916185826063156, 0.07992436736822128, 0.04194085672497749, 0.02445077896118164, 0.03040447272360325, 0.006077360827475786, -0.02669445425271988, -0.00593602703884244, -0.014159898273646832, -0.001948863035067916, 0.09829778224229813, -0.05557958781719208, -0.013470894657075405, 0.010776715353131294, -0.01650957576930523, 0.0772390216588974, -0.03149981051683426, 0.03967951238155365, -0.02466277964413166, -0.024433111771941185, 0.01855008490383625, -0.042011525481939316, -0.03335481882095337, 0.031022807583212852, 0.012296056374907494, -0.044590868055820465, 0.01555557083338499, -0.032913148403167725, 0.008639039471745491, -0.012896724976599216, -0.05720492824912071, 0.02888513170182705, -0.004747938364744186, -0.016474241390824318, 0.056356921792030334, 0.07098498940467834, -0.04900755733251572, -0.015405403450131416, -0.054413583129644394, 0.037842173129320145, 0.03068714030086994, 0.01353272795677185, 0.04497953876852989, 0.04144619032740593, 0.0835990458726883, 0.10691915452480316, -0.01918608695268631, -0.024150444194674492, -0.00991104543209076, -0.011562885716557503, 0.012287222780287266, 0.09038307517766953, 0.015502570196986198, -0.04126952216029167, 0.006307028699666262, -0.0250867810100317, -0.022489769384264946, -0.004330561496317387, 0.02323177270591259, -0.008131120353937149, 0.01760491356253624, -0.04784155264496803, -0.053742244839668274, -0.05953693762421608, 0.013117560185492039, 0.01909775286912918, -0.01770208030939102, 0.015794072300195694, 0.023461440578103065, -0.031641144305467606, -0.042223524302244186, -0.04497953876852989, 0.06123294681310654, -0.013541561551392078, 0.03243614733219147, -0.03199448063969612, 0.007848452776670456, 0.005701942835003138, 0.015652738511562347, 0.05384824424982071, 0.07278700172901154, 0.023726440966129303, -0.03584583103656769, -0.019203754141926765, -0.027206791564822197, 0.028478795662522316, 0.01410689763724804, 0.012375556863844395, 0.04321286454796791, -0.05360091105103493, -0.033796485513448715, 0.055932920426130295, -0.07568434625864029, -0.02980380319058895, 0.0763203501701355, -0.00974321085959673, -0.023461440578103065, 0.07412967085838318, 0.0016915909945964813, 0.019875090569257736, -0.010838549584150314, 0.023585107177495956, -0.010714882053434849, -0.03568682819604874, -0.04837155342102051, -0.02888513170182705, -0.0018815086223185062, 0.029733136296272278, -0.0013106517726555467, 0.03702950105071068, 0.01764024794101715, -0.00586977694183588, 0.04755888506770134, 0.015131568536162376, 0.042647529393434525, 0.00915137492120266, 0.009469376876950264, 0.00694744847714901, 0.0018903419841080904, 0.01526406966149807, 0.010282047092914581, -0.03967951238155365, 0.053106240928173065, 0.006148028187453747, -0.02347910776734352, 0.024733446538448334, 0.002065905136987567, -0.016491908580064774, -0.03883150964975357, 0.01709257811307907, 0.05384824424982071, -0.008714122697710991, 0.017463579773902893, 0.025440115481615067, 0.03907884657382965, -0.016580242663621902, -0.03755950555205345, -0.07306966930627823, 0.0008364100358448923, -0.014495566487312317, -0.01872675120830536, -0.018991753458976746, -0.00335668190382421, 0.02347910776734352, -0.0349624939262867, 0.029662469401955605, -0.03575749695301056, -0.030457472428679466, 0.03639350086450577, 0.002923846710473299, -0.0501735620200634, 0.0036415583454072475, 0.0380188412964344, 0.02727745845913887, -0.007795452140271664, 0.005401608068495989, 0.014522066339850426, 0.026129119098186493, -0.010767882689833641, -0.039184845983982086, -0.00632469542324543, 0.011333218775689602, -0.004845105577260256, -0.031093474477529526, -0.0010859528556466103, 0.030086470767855644, -0.020776094868779182, 0.0020272592082619667, -0.003930851351469755, -0.06784030795097351, -0.07589634507894516, 0.007914702408015728, -0.094269759953022, 0.0023783857468515635, 0.012640557251870632, -0.02091742865741253, 0.02031675912439823, 0.01178371999412775, -0.06434229016304016, 0.014204064384102821, -0.032277148216962814, -0.05190490186214447, -0.010750215500593185, -0.06398896127939224, -0.05257624015212059, 0.029415134340524673, 0.06773430854082108, 0.023602774366736412, 0.026994789019227028, -0.005684276111423969, -0.021235430613160133, 0.02538711577653885, -0.03989151492714882, -0.05020889639854431, -0.0659676343202591, 0.005291190929710865, -0.007371450308710337, 0.018532417714595795, -0.031022807583212852, -0.05762892961502075, 0.04335419833660126, 0.02070542797446251, -0.0025351783260703087, 0.00523819075897336, 0.019168419763445854, 0.018497085198760033, 0.03946751356124878, -0.04434353485703468, 0.04028018191456795, -0.03964418172836304, 0.04081018641591072, 0.011624719947576523, 0.05130423232913017, 0.038690175861120224, -0.05437824875116348, -0.0036945585161447525, 0.0395381785929203, -0.0301041379570961, -0.00912487506866455, 0.042011525481939316, -0.00805603712797165, 0.01794058084487915, -0.05628625676035881, -0.05798226594924927, 0.03752417117357254, 0.02049342729151249, 0.05600358918309212, 0.07801635563373566, -0.009725544601678848, -0.0017832373268902302, -0.04603954404592514, 0.023090438917279243, -0.0030740140937268734, -0.015440736897289753, -0.05155156925320625, 0.009566543623805046, -0.014486732892692089, -0.02685345523059368, -0.009071874432265759, -0.00019654256175272167, 0.0038138090167194605, -0.02150043100118637, -0.05232890695333481, -0.03646416589617729, -0.006011110730469227, 0.02386777475476265, 0.005843276623636484, 0.03950284793972969, -0.03128780797123909, 0.06462495774030685, 0.05822959914803505, 0.0008253683336079121, -0.005392774473875761, -0.016253408044576645, 0.023585107177495956, -0.01275539118796587, 0.03460915759205818, 0.011695386841893196, 0.022207101806998253, -0.02627045288681984, 0.01867375150322914, 0.014592733234167099, 0.03111114166676998, 0.0038778509479016066, 0.03213581442832947, 0.001855008420534432, -0.009381042793393135, -0.0031976811587810516, 0.08218570798635483, 0.019362755119800568, -0.06547296792268753, 0.051162898540496826, 0.02107642963528633, 0.005966943688690662, -0.041516855359077454, -0.006585279945284128, -0.0019665297586470842, -0.025139780715107918, 0.010926882736384869, 0.013612228445708752, -0.0139125632122159, 0.0012996101286262274, -0.02301977202296257, -0.04861888661980629, 0.03462682291865349, -0.010803216136991978, 0.00781311932951212, 0.05974894016981125, -0.0416581891477108, -0.008126704022288322, 0.02955646812915802, -0.0019521755166351795, -0.01184555422514677, -0.02125309593975544, 0.0483362190425396, 0.03840750828385353, -0.01842641644179821, -0.0190094206482172, 0.021412096917629242, -0.0067354473285377026, -0.016350574791431427, 0.04727621376514435, 0.00772478524595499, 0.00925737526267767, -0.058123599737882614, -0.06317628920078278, -0.03427349030971527, 0.036322832107543945, 0.04268286004662514, 0.04144619032740593, 0.0155820706859231, 0.01596190594136715, -0.024433111771941185, -0.027436457574367523, 0.031305477023124695, -0.02031675912439823, -0.02065242826938629, -0.028478795662522316, -0.03713550418615341, 0.0022514062002301216, 0.010679548606276512, 0.06105627864599228, -0.04642821103334427, 0.016986576840281487, -0.03533349558711052, -0.023938441649079323, 0.027895793318748474, 0.016792243346571922, -0.027507124468684196, 0.018355749547481537, 0.058794934302568436, -0.02259576879441738, 0.0073979501612484455, 0.06190428137779236, 0.0019510714337229729, -0.05360091105103493, -0.020440425723791122, -0.03943217918276787, -0.02761312574148178, -0.0043570613488554955, -0.02770145982503891, 0.01590890623629093, 0.06670963764190674, 0.010555881075561047, 0.01562623865902424, 0.002087988657876849, 0.04879555478692055, -0.05342424288392067, 0.024804113432765007, 0.04017418250441551, 0.0008099099504761398, -0.03217114508152008, 0.03499782457947731, 0.11511652171611786, -0.023426106199622154, 0.0250867810100317, 0.017887581139802933, 0.016032572835683823, -0.039114177227020264, -0.019239088520407677, 0.04452020302414894, -0.038760844618082047, 0.014098064042627811, -0.014142231084406376, 0.004228977486491203, 0.01068838220089674, -0.0526115745306015, 0.053141575306653976, -0.007583451457321644, 0.034132156521081924, -0.02748945914208889, 0.008979124017059803, 0.0577702634036541, 0.016898242756724358, -0.08692039549350739, 0.029344467446208, 0.10282047092914581, -0.04717021435499191, -0.0009159104083664715, 0.05232890695333481, -0.02803712710738182, -0.010767882689833641, -0.010502881370484829, 0.050491563975811005, 0.0526115745306015, -0.023337772116065025, 0.021571097895503044, -0.022913770750164986, -0.11186584085226059, -0.016138574108481407, -0.009381042793393135, 0.04999689385294914, 0.011439219117164612, -0.043707530945539474, -0.003303681733086705, -0.01760491356253624, -0.007689451798796654, -0.0328424833714962, 0.010653048753738403, -0.004580104257911444, -0.035351160913705826, 0.042011525481939316, 0.05430757999420166, -0.019345087930560112, -0.008603706024587154, 0.04540354013442993, 0.003427349030971527, -0.023761775344610214, 0.04031551629304886, -0.04017418250441551, 0.020299091935157776, 0.031729478389024734, 0.02664145454764366, 0.04490887001156807, 0.07278700172901154, 0.002111176261678338, 0.007194782607257366, -0.014036230742931366, -0.03277181461453438, 0.000405231025069952, -0.0038933095056563616, 0.010741381905972958, 0.027931127697229385, -0.03439715504646301, -0.022401435300707817, -0.015414237044751644, -0.029203133657574654, 0.02867313101887703, 0.01505206897854805, 0.053989578038454056, 0.06727497279644012, -0.047028880566358566, -0.02457444556057453, -0.010087712667882442, 0.048760220408439636, -0.028072461485862732, 0.022913770750164986, 0.040880851447582245, 0.0073979501612484455, -0.01052054762840271, 0.044590868055820465, 0.007698284927755594, 0.004231186117976904, 0.014133397489786148, 0.0004424968210514635, 0.032489147037267685, -0.0352804958820343, 0.005507608409970999, 0.020051758736371994, -0.013541561551392078, -0.04946689307689667, -0.05338890850543976, -0.07342299818992615, 0.01243739016354084, 0.009213208220899105, 0.02128843031823635, 0.048760220408439636, 0.0014795900788158178, 0.013400227762758732 ]
42,040
patch_ng
__iter__
null
def __iter__(self): for h in self.hunks: yield h
(self)
[ 0.021141553297638893, -0.07088436186313629, -0.08222861588001251, -0.017841408029198647, -0.047027066349983215, -0.005328359082341194, -0.03066384792327881, 0.06772172451019287, 0.04895215108990669, 0.035442180931568146, -0.011645043268799782, -0.016002265736460686, 0.009719958528876305, 0.04417381435632706, -0.030749788507819176, 0.0029606770258396864, -0.022018155083060265, 0.04328002780675888, -0.024665147066116333, -0.001993837533518672, -0.013277927413582802, 0.014206092804670334, 0.008826169185340405, 0.010381706058979034, -0.028154361993074417, 0.04152682423591614, -0.006101830396801233, -0.005551806651055813, 0.018185174092650414, -0.026143336668610573, -0.04716457054018974, -0.02402918040752411, 0.017669526860117912, 0.0011881381506100297, 0.03336240351200104, -0.014446728862822056, -0.051977284252643585, 0.0188898928463459, -0.03410149738192558, 0.07253443449735641, 0.07975350320339203, -0.005474459379911423, 0.017024965956807137, -0.006454189773648977, 0.005921354051679373, 0.007898002862930298, 0.026469912379980087, 0.02980443462729454, 0.046820808202028275, -0.022980697453022003, -0.012083343230187893, 0.007975350134074688, 0.008366383612155914, -0.02138219028711319, -0.005324061959981918, 0.0433831550180912, -0.002044328022748232, -0.014558452181518078, 0.03530467674136162, 0.0535929799079895, -0.03846731409430504, -0.027363702654838562, 0.06201522424817085, -0.001982020679861307, 0.04242061451077461, -0.031213872134685516, -0.04943342134356499, -0.015624123625457287, -0.0018692227313295007, 0.03527029976248741, 0.0201618243008852, 0.02239629626274109, 0.0336889810860157, 0.0627715066075325, -0.029941940680146217, 0.011120800860226154, -0.060193270444869995, 0.014652987942099571, 0.06641542166471481, -0.0847037211060524, -0.030096635222434998, 0.05383361503481865, -0.08050978928804398, -0.01188567839562893, -0.016706984490156174, -0.02695118449628353, 0.05813067778944969, -0.036404725164175034, -0.058818209916353226, 0.04352066293358803, -0.04658017307519913, 0.04369254410266876, 0.01705074869096279, -0.020436836406588554, 0.011645043268799782, 0.030045069754123688, -0.04138932004570961, 0.000836316030472517, -0.010691095143556595, -0.027312137186527252, 0.007597208954393864, 0.04833337292075157, 0.01959461160004139, 0.05063660070300102, -0.0006590621778741479, 0.013621692545711994, -0.030388835817575455, -0.056618113070726395, -0.02322133257985115, 0.018339868634939194, -0.05991825833916664, 0.011756766587495804, -0.022430673241615295, 0.008362086489796638, 0.0016156960045918822, -0.10134195536375046, -0.002122749574482441, 0.009161340072751045, 0.030388835817575455, -0.0054787565022706985, -0.023341650143265724, -0.01613117754459381, -0.010966107249259949, 0.03241704776883125, 0.018718009814620018, 0.03853606805205345, 0.022636931389570236, 0.003570860018953681, 0.0010312952799722552, -0.04077054187655449, 0.003164787543937564, 0.06311527639627457, -0.010364517569541931, -0.006660448852926493, -0.025696441531181335, -0.04303939267992973, 0.025369863957166672, -0.060399528592824936, 0.03757352754473686, 0.014249064028263092, 0.006643260829150677, -0.024510452523827553, 0.0347030870616436, 0.0357171930372715, -0.05094598978757858, -0.019989941269159317, -0.010519212111830711, 0.016818707808852196, 0.060296397656202316, -0.01873519830405712, -0.002894072560593486, 0.006002997979521751, 0.09879808872938156, 0.07404700666666031, -0.07322196662425995, 0.023032262921333313, -0.048505257815122604, 0.024682333692908287, -0.006454189773648977, -0.0020163971930742264, -0.008787495084106922, -0.044723838567733765, -0.014652987942099571, 0.02026495337486267, -0.06541849672794342, 0.008297630585730076, -0.014850652776658535, -0.03884545713663101, 0.04046115279197693, -0.009823087602853775, 0.00594713632017374, -0.044380076229572296, -0.040701787918806076, 0.020385270938277245, -0.034015558660030365, 0.07796592265367508, -0.0037878616712987423, 0.04307376593351364, 0.00834060087800026, 0.01954304613173008, -0.03643910214304924, -0.050292834639549255, -0.0790659710764885, -0.047027066349983215, 0.0018660000059753656, 0.02071184664964676, 0.03853606805205345, -0.010880165733397007, 0.012624773196876049, 0.015796005725860596, -0.015804599970579147, -0.05287107452750206, 0.021725954487919807, 0.04740520939230919, 0.014704552479088306, -0.013406839221715927, -0.024940159171819687, 0.057890042662620544, -0.01482487004250288, 0.02750120870769024, -0.09006645530462265, -0.010673906654119492, -0.04754271358251572, -0.009393381886184216, 0.01359590981155634, 0.04558325186371803, 0.01632884331047535, -0.032588932663202286, -0.02408074587583542, -0.010295764543116093, -0.02378854528069496, -0.026762112975120544, 0.007627288345247507, 0.02011025883257389, 0.04823024570941925, -0.02275725081562996, -0.045033227652311325, -0.04926154017448425, -0.02045402303338051, -0.012332573533058167, -0.029048152267932892, -0.010871571488678455, -0.062187109142541885, -0.021141553297638893, -0.027157442644238472, 0.007498376537114382, -0.0016522210789844394, -0.012564614415168762, -0.041148681193590164, -0.019560234621167183, -0.017583584412932396, 0.019199281930923462, 0.021210307255387306, -0.020643094554543495, 0.0029456373304128647, 0.06153395399451256, -0.022516613826155663, -0.011851302348077297, -0.03592345491051674, 0.027209008112549782, 0.005650639068335295, -0.03908609226346016, 0.020402459427714348, -0.03953298553824425, -0.02791372686624527, 0.01100048329681158, -0.0006875302060507238, 0.06758421659469604, 0.014601422473788261, 0.033603038638830185, -0.005349844228476286, -0.025541746988892555, 0.031059177592396736, -0.00614909827709198, 0.04420819133520126, -0.08174734562635422, -0.031867023557424545, -0.04836774989962578, 0.053971122950315475, -0.03439369797706604, 0.015203012153506279, 0.03473746404051781, 0.00045253452844917774, 0.06772172451019287, -0.030749788507819176, 0.06957805901765823, -0.008228877559304237, 0.009857464581727982, 0.002479405840858817, 0.014506887644529343, 0.06359654664993286, -0.028205927461385727, -0.06521224230527878, 0.0033517098054289818, -0.027999667450785637, 0.06411219388246536, 0.024562016129493713, -0.02373697981238365, -0.09776679426431656, -0.007197581697255373, 0.03977362439036369, 0.0004154723428655416, -0.012366949580609798, -0.022138472646474838, 0.008228877559304237, -0.0022903350181877613, -0.01785859651863575, 0.038398563861846924, 0.05022408068180084, -0.03991112858057022, 0.03898296132683754, 0.0031475992873311043, -0.008559751324355602, -0.03429057076573372, 0.10904229432344437, -0.03643910214304924, -0.06253087520599365, 0.01638040691614151, 0.0070342933759093285, -0.018460186198353767, 0.04262687265872955, -0.07507830113172531, -0.030956048518419266, 0.018614880740642548, -0.04761146754026413, 0.03822667896747589, 0.07253443449735641, 0.0642840713262558, -0.03193577751517296, 0.004011309240013361, 0.039567362517118454, -0.0006359654362313449, 0.012951350770890713, -0.0341874398291111, 0.004636531695723534, -0.11646761745214462, -0.013845139183104038, 0.03514998033642769, -0.006785063538700342, 0.08429120481014252, -0.02408074587583542, 0.014498293399810791, 0.02387448586523533, 0.028188738971948624, 0.03815792500972748, -0.008460918441414833, 0.016775736585259438, 0.02555893547832966, -0.028205927461385727, -0.01618274301290512, -0.014025616459548473, -0.08628503978252411, 0.006750687025487423, 0.042179979383945465, -0.021811895072460175, 0.04022051766514778, 0.026108959689736366, 0.0510147400200367, 0.011997401714324951, -0.08305364847183228, 0.0011107909958809614, -0.005092020612210035, -0.004266984295099974, 0.014025616459548473, 0.017824221402406693, 0.04362379014492035, -0.062187109142541885, -0.02480265311896801, 0.01497956458479166, 0.06593414396047592, 0.04383005201816559, 0.03269205987453461, 0.07865345478057861, 0.018666444346308708, 0.08126606792211533, -0.014352193102240562, -0.013329491950571537, 0.041561201214790344, -0.05747752636671066, 0.04273000359535217, 0.04637391120195389, -0.009530887939035892, -0.01964617520570755, 0.007240552455186844, -0.018614880740642548, -0.04242061451077461, -0.04633953794836998, 0.03537343069911003, -0.03633597120642662, -0.007635882589966059, -0.05163351818919182, 0.017686715349555016, -0.0479552336037159, -0.010287170298397541, 0.06012451648712158, -0.02944348193705082, 0.017274197190999985, 0.06431844830513, -0.019886812195181847, 0.04200809448957443, 0.030852917581796646, 0.03394680470228195, 0.01657807268202305, 0.006660448852926493, -0.012719308957457542, -0.03932672739028931, 0.028755951672792435, -0.01602804847061634, 0.018718009814620018, 0.014042804948985577, -0.007163205184042454, -0.0602276474237442, -0.014799087308347225, 0.04025489464402199, -0.0438988022506237, -0.04352066293358803, 0.028790326789021492, -0.036507852375507355, -0.042695626616477966, -0.03527029976248741, 0.050705354660749435, -0.03808917477726936, -0.01873519830405712, 0.03846731409430504, 0.012349761091172695, -0.09419164061546326, 0.004224013537168503, 0.016698390245437622, 0.017231225967407227, -0.016346029937267303, -0.03612971305847168, -0.03698912635445595, -0.01434359885752201, -0.06290901452302933, 0.008980863727629185, -0.010570776648819447, 0.014171716757118702, 0.015452241525053978, 0.024011991918087006, 0.05036158859729767, 0.03490934520959854, -0.03410149738192558, 0.04517073556780815, 0.05022408068180084, -0.030749788507819176, -0.02353072166442871, -0.02112436480820179, -0.025937076658010483, -0.02265411987900734, -0.023513533174991608, -0.03224516659975052, -0.08154108375310898, 0.014781899750232697, 0.0072491466999053955, 0.051358506083488464, -0.028412185609340668, -0.0448957234621048, -0.022636931389570236, -0.013338086195290089, 0.03832980990409851, 0.028704386204481125, 0.059127599000930786, 0.037126630544662476, -0.03234829753637314, 0.0882788822054863, -0.006492863409221172, -0.015503806062042713, 0.02939191646873951, 0.07239693403244019, 0.018649257719516754, -0.024630770087242126, -0.03527029976248741, 0.00936759915202856, -0.03898296132683754, 0.03239985927939415, 0.0048728701658546925, -0.004490431863814592, -0.02659022994339466, -0.027638714760541916, 0.02306663803756237, 0.028910646215081215, 0.03664536029100418, 0.005216635297983885, -0.009324628859758377, 0.01933678798377514, -0.011688013561069965, -0.021399376913905144, 0.0091871228069067, -0.012891191057860851, -0.01985243521630764, 0.03456558287143707, 0.006712013855576515, -0.021365001797676086, -0.057030629366636276, -0.02194940112531185, -0.020402459427714348, -0.035201545804739, 0.04417381435632706, -0.024888593703508377, -0.06002138555049896, -0.012538832612335682, -0.019096150994300842, 0.022361919283866882, -0.04420819133520126, 0.004988891072571278, -0.015194417908787727, 0.052080415189266205, -0.04888339713215828, 0.005998700857162476, -0.038914211094379425, 0.010716876946389675, -0.046923935413360596, -0.05238980054855347, -0.02052277699112892, 0.0211759302765131, 0.022894756868481636, 0.029099715873599052, 0.03045758791267872, 0.02949504554271698, -0.059471361339092255, -0.00952229369431734, 0.014326410368084908, 0.019216468557715416, -0.013724821619689465, -0.015675688162446022, 0.0316435769200325, 0.04468946531414986, -0.030337270349264145, -0.015572559088468552, 0.02153688296675682, 0.035339053720235825, -0.04107993096113205, -0.028841892257332802, -0.02052277699112892, 0.010269982740283012, -0.02373697981238365, -0.06002138555049896, 0.013045885600149632, -0.025593312457203865, 0.057580653578042984, 0.06211835518479347, -0.0028167252894490957, 0.035201545804739, 0.013999833725392818, -0.023290086537599564, 0.02561050094664097, 0.00733508775010705, -0.00406931946054101, 0.0018187322420999408, -0.011430189944803715, -0.0108457887545228, -0.031402941793203354, -0.054005496203899384, 0.03441088646650314, -0.048711515963077545, -0.004546293523162603, 0.020127447322010994, -0.0242354404181242, -0.014042804948985577, 0.06813424080610275, 0.028137173503637314, -0.027638714760541916, 0.02208690717816353, -0.06043390557169914, -0.006789360661059618, 0.009934811852872372, -0.05558681860566139, -0.037332888692617416, -0.010536400601267815, -0.015254576690495014, -0.05067097768187523, -0.03667973726987839, -0.006724904756993055, 0.033499907702207565, 0.016603855416178703, 0.003888842649757862, 0.018047668039798737, 0.0006671191658824682, -0.01400842797011137, 0.05352422595024109, 0.038501691073179245, 0.060708917677402496, -0.02684805542230606, -0.05170227214694023, 0.029099715873599052, 0.022258790209889412, -0.00044474611058831215, 0.07494079321622849, 0.0016414783895015717, 0.05792441964149475, -0.014249064028263092, 0.032537367194890976, 0.0024235439486801624, 0.025283923372626305, 0.010794224217534065, 0.0423518605530262, -0.013028697110712528, -0.010536400601267815, 0.0265386663377285, -0.12258663773536682, 0.01222084928303957, -0.024630770087242126, 0.03389523923397064, -0.030543530359864235, -0.017067937180399895, -0.031265437602996826, -0.07267194241285324, 0.06803111732006073, -0.009255875833332539, 0.05032721161842346, 0.041011177003383636, -0.03936110436916351, -0.07734715193510056, -0.010278576985001564, 0.015331923961639404, -0.04919278621673584, -0.0008046252187341452, -0.07521580159664154, -0.06902803480625153, 0.03688599541783333, 0.04379567503929138, 0.029512234032154083, -0.0039812298491597176, 0.054108627140522, 0.04843650385737419, -0.008160124532878399, 0.01842580921947956, 0.0034204628318548203, -0.0050705354660749435, -0.007300711236894131, -0.04221435636281967, 0.008817574940621853, 0.04867713898420334, -0.043658167123794556, -0.03501247614622116, -0.002588980831205845, 0.04458633437752724, 0.033345215022563934, -0.004533402156084776, 0.007296414580196142, 0.016973402351140976, -0.01801329106092453, -0.03557968884706497, 0.060708917677402496, -0.014592829160392284, -0.07494079321622849, 0.04458633437752724, -0.0022838893346488476, 0.036232840269804, -0.016045236960053444, -0.0010984368855133653, -0.0006730275927111506, 0.0036825835704803467, -0.03459995612502098, -0.028566880151629448, 0.031506072729825974, 0.00801402423530817, -0.012126314453780651, -0.03606095910072327, -0.019938375800848007, -0.027363702654838562, 0.003171232994645834, 0.011060642078518867, 0.012573208659887314, -0.05500241741538048, -0.006441298872232437, -0.028790326789021492, 0.025438617914915085, -0.016002265736460686, -0.05991825833916664, 0.030491964891552925, 0.05043034255504608, 0.015194417908787727, 0.01785859651863575, -0.022619744762778282, -0.006776469759643078, 0.021811895072460175, 0.0047353641130030155, 0.002679219236597419, 0.018511751666665077, 0.02392605133354664, 0.016870273277163506, 0.013149015605449677, -0.031093554571270943, 0.05479615926742554, 0.03802042081952095, -0.012659150175750256, -0.022774437442421913, -0.02719181962311268, 0.013879516161978245, -0.03657660633325577, 0.016749953851103783, -0.07060935348272324, -0.03832980990409851, -0.051461637020111084, -0.04052990674972534, -0.019061775878071785, 0.01709371991455555, 0.02311820350587368, -0.014893623068928719, -0.037986043840646744, 0.028945021331310272, -0.00733508775010705, 0.02224160172045231, -0.00936759915202856, 0.04812711477279663, -0.02970130555331707, -0.0382610559463501, 0.026263654232025146, -0.06462784111499786, 0.009823087602853775, -0.06528099626302719, 0.02674492448568344, 0.03595782816410065, -0.02801685594022274, 0.07404700666666031, 0.03226235508918762, -0.08814137428998947, 0.03588907793164253, -0.011387218721210957, 0.04341753199696541, 0.02995912916958332, 0.020436836406588554, 0.012684931978583336, 0.008284739218652248, 0.011198148131370544, -0.004945920314639807, 0.028360622003674507, 0.005268200300633907, 0.025902701541781425, -0.0036804352421313524, 0.0591963492333889, -0.033809296786785126, -0.024579204618930817, 0.05782129243016243, -0.0551055446267128, 0.020385270938277245, 0.026040207594633102, 0.046614550054073334, 0.03274362534284592, 0.042523741722106934, -0.0010216268710792065, 0.006561616435647011, 0.09130401164293289, -0.04623640701174736, 0.010656718164682388, -0.006948352325707674, 0.03076697699725628, -0.02726057358086109, 0.05283669754862785, -0.003669692436233163, -0.03325927257537842, -0.04121743515133858, -0.00516507076099515, 0.008134341798722744, -0.04637391120195389, -0.00984887033700943, 0.04496447741985321, 0.06500598043203354, 0.01985243521630764, -0.014506887644529343, -0.031110741198062897, -0.010218418203294277, 0.010716876946389675, 0.04097680002450943, -0.0014814127935096622, 0.05390236899256706, 0.038811080157756805, 0.008615612983703613, 0.029993506148457527, 0.033912427723407745, -0.006815143395215273, 0.026865242049098015, 0.03260612115263939, 0.053971122950315475, 0.031093554571270943, 0.007876518182456493, -0.05778691545128822, -0.03239985927939415, 0.010312953032553196, -0.029838811606168747, -0.019577423110604286, 0.012272413820028305, 0.02684805542230606, -0.030148198828101158, 0.0331905223429203, 0.07418450713157654, 0.0070729670114815235 ]
42,041
patch_ng
PatchSet
PatchSet is a patch parser and container. When used as an iterable, returns patches.
class PatchSet(object): """ PatchSet is a patch parser and container. When used as an iterable, returns patches. """ def __init__(self, stream=None): # --- API accessible fields --- # name of the PatchSet (filename or ...) self.name = None # patch set type - one of constants self.type = None # list of Patch objects self.items = [] self.errors = 0 # fatal parsing errors self.warnings = 0 # non-critical warnings # --- /API --- if stream: self.parse(stream) def __len__(self): return len(self.items) def __iter__(self): for i in self.items: yield i def parse(self, stream): """ parse unified diff return True on success """ lineends = dict(lf=0, crlf=0, cr=0) nexthunkno = 0 #: even if index starts with 0 user messages number hunks from 1 p = None hunk = None # hunkactual variable is used to calculate hunk lines for comparison hunkactual = dict(linessrc=None, linestgt=None) class wrapumerate(enumerate): """Enumerate wrapper that uses boolean end of stream status instead of StopIteration exception, and properties to access line information. """ def __init__(self, *args, **kwargs): # we don't call parent, it is magically created by __new__ method self._exhausted = False self._lineno = False # after end of stream equal to the num of lines self._line = False # will be reset to False after end of stream def next(self): """Try to read the next line and return True if it is available, False if end of stream is reached.""" if self._exhausted: return False try: self._lineno, self._line = compat_next(super(wrapumerate, self)) except StopIteration: self._exhausted = True self._line = False return False return True @property def is_empty(self): return self._exhausted @property def line(self): return self._line @property def lineno(self): return self._lineno # define states (possible file regions) that direct parse flow headscan = True # start with scanning header filenames = False # lines starting with --- and +++ hunkhead = False # @@ -R +R @@ sequence hunkbody = False # hunkskip = False # skipping invalid hunk mode hunkparsed = False # state after successfully parsed hunk # regexp to match start of hunk, used groups - 1,3,4,6 re_hunk_start = re.compile(b"^@@ -(\d+)(,(\d+))? \+(\d+)(,(\d+))? @@") self.errors = 0 # temp buffers for header and filenames info header = [] srcname = None tgtname = None # start of main cycle # each parsing block already has line available in fe.line fe = wrapumerate(stream) while fe.next(): # -- deciders: these only switch state to decide who should process # -- line fetched at the start of this cycle if hunkparsed: hunkparsed = False if re_hunk_start.match(fe.line): hunkhead = True elif fe.line.startswith(b"--- "): filenames = True else: headscan = True # -- ------------------------------------ # read out header if headscan: while not fe.is_empty and not fe.line.startswith(b"--- "): header.append(fe.line) fe.next() if fe.is_empty: if p is None: debug("no patch data found") # error is shown later self.errors += 1 else: info("%d unparsed bytes left at the end of stream" % len(b''.join(header))) self.warnings += 1 # TODO check for \No new line at the end.. # TODO test for unparsed bytes # otherwise error += 1 # this is actually a loop exit continue headscan = False # switch to filenames state filenames = True line = fe.line lineno = fe.lineno # hunkskip and hunkbody code skipped until definition of hunkhead is parsed if hunkbody: # [x] treat empty lines inside hunks as containing single space # (this happens when diff is saved by copy/pasting to editor # that strips trailing whitespace) if line.strip(b"\r\n") == b"": debug("expanding empty line in a middle of hunk body") self.warnings += 1 line = b' ' + line # process line first if re.match(b"^[- \\+\\\\]", line): # gather stats about line endings if line.endswith(b"\r\n"): p.hunkends["crlf"] += 1 elif line.endswith(b"\n"): p.hunkends["lf"] += 1 elif line.endswith(b"\r"): p.hunkends["cr"] += 1 if line.startswith(b"-"): hunkactual["linessrc"] += 1 elif line.startswith(b"+"): hunkactual["linestgt"] += 1 elif not line.startswith(b"\\"): hunkactual["linessrc"] += 1 hunkactual["linestgt"] += 1 hunk.text.append(line) # todo: handle \ No newline cases else: warning("invalid hunk no.%d at %d for target file %s" % (nexthunkno, lineno+1, p.target)) # add hunk status node hunk.invalid = True p.hunks.append(hunk) self.errors += 1 # switch to hunkskip state hunkbody = False hunkskip = True # check exit conditions if hunkactual["linessrc"] > hunk.linessrc or hunkactual["linestgt"] > hunk.linestgt: warning("extra lines for hunk no.%d at %d for target %s" % (nexthunkno, lineno+1, p.target)) # add hunk status node hunk.invalid = True p.hunks.append(hunk) self.errors += 1 # switch to hunkskip state hunkbody = False hunkskip = True elif hunk.linessrc == hunkactual["linessrc"] and hunk.linestgt == hunkactual["linestgt"]: # hunk parsed successfully p.hunks.append(hunk) # switch to hunkparsed state hunkbody = False hunkparsed = True # detect mixed window/unix line ends ends = p.hunkends if ((ends["cr"]!=0) + (ends["crlf"]!=0) + (ends["lf"]!=0)) > 1: warning("inconsistent line ends in patch hunks for %s" % p.source) self.warnings += 1 if debugmode: debuglines = dict(ends) debuglines.update(file=p.target, hunk=nexthunkno) debug("crlf: %(crlf)d lf: %(lf)d cr: %(cr)d\t - file: %(file)s hunk: %(hunk)d" % debuglines) # fetch next line continue if hunkskip: if re_hunk_start.match(line): # switch to hunkhead state hunkskip = False hunkhead = True elif line.startswith(b"--- "): # switch to filenames state hunkskip = False filenames = True if debugmode and len(self.items) > 0: debug("- %2d hunks for %s" % (len(p.hunks), p.source)) if filenames: if line.startswith(b"--- "): if srcname != None: # XXX testcase warning("skipping false patch for %s" % srcname) srcname = None # XXX header += srcname # double source filename line is encountered # attempt to restart from this second line # Files dated at Unix epoch don't exist, e.g.: # '1970-01-01 01:00:00.000000000 +0100' # They include timezone offsets. # .. which can be parsed (if we remove the nanoseconds) # .. by strptime() with: # '%Y-%m-%d %H:%M:%S %z' # .. but unfortunately this relies on the OSes libc # strptime function and %z support is patchy, so we drop # everything from the . onwards and group the year and time # se
(stream=None)
[ 0.027681764215230942, -0.031000396236777306, -0.07277144491672516, 0.05651610717177391, -0.0405191071331501, -0.04820958897471428, -0.018093500286340714, 0.07940870523452759, -0.02346888929605484, -0.0426454171538353, -0.011625148355960846, -0.019256016239523888, -0.028436901047825813, 0.029827944934368134, -0.025018909946084023, 0.020965011790394783, -0.02925165556371212, 0.060927700251340866, -0.016603097319602966, -0.018053757026791573, -0.02992730587720871, -0.010860074311494827, -0.02887408621609211, 0.07535480707883835, 0.02033904194831848, 0.011674828827381134, 0.02958948165178299, -0.007069481536746025, 0.009523679502308369, -0.0341799221932888, -0.009493871591985226, -0.042565926909446716, -0.006478287745267153, -0.027959972620010376, -0.04503006115555763, -0.041731301695108414, -0.006716752424836159, 0.0001221044221892953, -0.0476929172873497, -0.0025734303053468466, 0.037120986729860306, 0.019236143678426743, 0.013373889029026031, -0.013185104355216026, -0.004292362369596958, 0.024204155430197716, -0.039863329380750656, 0.04542750492691994, 0.027125347405672073, 0.004605347290635109, -0.026906754821538925, -0.011386684142053127, 0.0007439598557539284, 0.012380286119878292, 0.005005272105336189, 0.023349657654762268, -0.012618751265108585, 0.029490120708942413, -0.00003718246807693504, -0.0198422409594059, -0.03485557436943054, 0.026986243203282356, 0.0337626114487648, 0.03827356547117233, -0.026628544554114342, -0.03382222726941109, 0.028635622933506966, -0.06386876851320267, -0.04471211135387421, -0.00829161237925291, -0.016016870737075806, 0.035094037652015686, 0.04952114447951317, -0.005052468273788691, 0.012131885625422001, 0.02211759053170681, -0.024999037384986877, 0.015808215364813805, 0.04709675535559654, -0.018967870622873306, -0.0043942066840827465, 0.07920998334884644, 0.030702315270900726, 0.008629437536001205, 0.0536147877573967, -0.030801676213741302, 0.10325516760349274, 0.03439851477742195, -0.01637456752359867, 0.0035322566982358694, -0.029649097472429276, 0.04212874174118042, 0.025058653205633163, -0.048527542501688004, 0.032272208482027054, -0.008117731660604477, -0.01882876642048359, -0.010452697984874249, -0.0066819763742387295, -0.04828907921910286, 0.0010283784940838814, 0.026628544554114342, -0.07873305678367615, 0.010164553299546242, -0.008654276840388775, 0.006423639599233866, -0.018242541700601578, 0.01133700367063284, -0.035729944705963135, -0.020527826622128487, -0.024363132193684578, -0.08934473246335983, -0.028178565204143524, -0.01836177334189415, 0.06200079247355461, -0.06251746416091919, -0.044513389468193054, 0.021581044420599937, 0.03022538684308529, -0.028814470395445824, 0.02219707891345024, -0.030761931091547012, -0.04546724632382393, 0.06800214946269989, 0.00953858345746994, -0.06053026020526886, 0.04681854695081711, -0.0046575115993618965, 0.0789317786693573, -0.029728585854172707, -0.029649097472429276, 0.0548865981400013, -0.017676187679171562, -0.008624468930065632, -0.04363901913166046, -0.02523750253021717, -0.04693777859210968, -0.016275208443403244, 0.01259887870401144, -0.06824061274528503, 0.05790714919567108, -0.03555109724402428, 0.011595340445637703, -0.032232463359832764, -0.09292170405387878, 0.006046070717275143, 0.022216951474547386, -0.03825369477272034, 0.01881883107125759, 0.031218988820910454, -0.010929626412689686, -0.051985278725624084, -0.02241567149758339, 0.028178565204143524, 0.06251746416091919, 0.007412274368107319, -0.06072898209095001, -0.025933023542165756, -0.008733765222132206, 0.020666930824518204, 0.011048858985304832, -0.08032282441854477, 0.04626213014125824, 0.024383004754781723, -0.02064705826342106, 0.01374152209609747, -0.019484544172883034, -0.0907755196094513, -0.026906754821538925, 0.030424106866121292, 0.03491519019007683, 0.06692905724048615, -0.0013736553955823183, 0.03553122282028198, 0.005544301588088274, 0.08489339053630829, 0.006910504773259163, 0.009980736300349236, -0.03412030637264252, 0.025853535160422325, -0.03151706978678703, -0.003030487336218357, -0.033325426280498505, 0.041214630007743835, -0.01534122135490179, 0.03320619463920593, 0.029748456552624702, -0.048686519265174866, 0.05381350964307785, 0.028099076822400093, -0.02005089819431305, -0.03912806510925293, 0.032689519226551056, 0.06279567629098892, 0.0185704305768013, 0.002782086841762066, 0.008793381974101067, 0.03521326929330826, 0.090298593044281, -0.037379324436187744, -0.08664213120937347, 0.008222060278058052, -0.013870690017938614, -0.005703277885913849, -0.055443014949560165, 0.01928582414984703, 0.003842757549136877, 0.02553558349609375, -0.09514737129211426, 0.0675649642944336, -0.0341799221932888, -0.04785189405083656, 0.009349798783659935, 0.04582494497299194, 0.020965011790394783, -0.060212306678295135, -0.004930752329528332, 0.043162088841199875, -0.02456185221672058, 0.020825907588005066, -0.008306516334414482, 0.017417849972844124, -0.07607020437717438, -0.003996765706688166, -0.03072218783199787, 0.02249515987932682, 0.04610315337777138, 0.0730496495962143, 0.035173527896404266, -0.02029929868876934, 0.018292220309376717, -0.02609200030565262, 0.04057872295379639, 0.044592875987291336, 0.029867690056562424, 0.023647738620638847, 0.007392402272671461, 0.00031888429657556117, 0.013731585815548897, 0.00349748064763844, -0.039783842861652374, -0.05921870470046997, 0.05770843103528023, -0.03185489401221275, -0.016980666667222977, -0.0016344760078936815, 0.045189037919044495, 0.01057192962616682, -0.0064683519303798676, 0.024661213159561157, 0.012569070793688297, 0.029827944934368134, 0.021978486329317093, 0.020249618217349052, 0.0234291460365057, -0.05087244510650635, -0.010909754782915115, -0.06987012177705765, 0.06621366739273071, -0.027204835787415504, 0.02760227583348751, 0.021084243431687355, 0.006289503537118435, 0.013304336927831173, -0.003892437554895878, 0.011366811580955982, 0.006831016857177019, -0.0067068166099488735, -0.035431861877441406, -0.0033633443526923656, 0.047931380569934845, -0.0035744847264140844, -0.0713406577706337, 0.021938741207122803, -0.06398800015449524, 0.009255406446754932, 0.046699315309524536, -0.012797599658370018, 0.018590301275253296, -0.005951678846031427, 0.026708032935857773, 0.017626507207751274, 0.013284464366734028, 0.009066622704267502, 0.009747239761054516, -0.014268130995333195, -0.04506980627775192, -0.007705386728048325, -0.036743417382240295, -0.03980371356010437, 0.011764252558350563, -0.025674687698483467, 0.023270169273018837, -0.03624661639332771, 0.05051474645733833, 0.06378927826881409, -0.028059333562850952, -0.04105565324425697, -0.03414018079638481, -0.04757368564605713, -0.02823818102478981, -0.032013870775699615, 0.07412274181842804, -0.008579757064580917, -0.07591122388839722, -0.0084406528621912, 0.03412030637264252, -0.009081526659429073, -0.0036738449707627296, -0.039227426052093506, 0.05703277885913849, 0.009831695817410946, -0.004719611722975969, -0.03549147769808769, 0.011108475737273693, -0.03706137090921402, 0.008947390131652355, 0.054807111620903015, 0.018888382241129875, 0.046659570187330246, -0.011456236243247986, -0.014933845028281212, 0.03483569994568825, 0.04411594942212105, 0.05393274128437042, -0.0536147877573967, 0.07917024195194244, -0.013691841624677181, -0.020110514014959335, -0.009151078760623932, -0.029192039743065834, -0.034458134323358536, -0.04105565324425697, 0.041850533336400986, -0.011555596254765987, -0.018550558015704155, -0.027165090665221214, -0.06597520411014557, 0.025018909946084023, -0.0776599645614624, 0.06041102856397629, 0.039147935807704926, -0.023150937631726265, 0.000034582022635731846, 0.07841510325670242, -0.024383004754781723, 0.027045859023928642, -0.014804676175117493, -0.006582616362720728, 0.08998063951730728, 0.04228771850466728, 0.028218308463692665, -0.02114385925233364, 0.010244040749967098, 0.03676329180598259, -0.026986243203282356, -0.022952215746045113, -0.03318632021546364, 0.007039673160761595, 0.014009794220328331, -0.00138731743209064, 0.04530826956033707, 0.00018350595200899988, 0.03930691257119179, -0.037498556077480316, -0.04789163917303085, -0.028715111315250397, 0.003807981265708804, -0.026906754821538925, 0.009374639019370079, -0.04582494497299194, 0.007019801065325737, 0.0014432074967771769, -0.07328811287879944, 0.016861433163285255, -0.02507852576673031, 0.0337824821472168, 0.022137463092803955, -0.05051474645733833, 0.019345439970493317, -0.011684765107929707, 0.06537903845310211, -0.041214630007743835, 0.018043819814920425, -0.036445338279008865, -0.01802394911646843, -0.013542801141738892, -0.0476929172873497, 0.03582930564880371, 0.008535045199096203, 0.030761931091547012, -0.010820331051945686, 0.06716752797365189, 0.010542121715843678, -0.011853677220642567, -0.005961614660918713, 0.019643520936369896, 0.00734272226691246, -0.035988278687000275, -0.02895357459783554, 0.04276464879512787, -0.022475287318229675, -0.007178777828812599, 0.06140463054180145, 0.02613174356520176, -0.043917227536439896, 0.07626892626285553, 0.03380235657095909, -0.02883434295654297, 0.04503006115555763, -0.0061205909587442875, -0.002265413524582982, -0.014496659860014915, -0.053336579352617264, -0.041135139763355255, 0.01070109847933054, -0.029609352350234985, -0.03664405643939972, 0.029768329113721848, 0.01532134972512722, 0.004774259869009256, 0.032232463359832764, 0.03457736596465111, 0.056039176881313324, -0.010303657501935959, -0.028079204261302948, -0.025396479293704033, -0.022892599925398827, -0.08290618658065796, 0.043241579085588455, 0.009563423693180084, -0.027741380035877228, 0.0004688561602961272, 0.028218308463692665, 0.008286644704639912, -0.026867009699344635, -0.00014477098011411726, -0.008654276840388775, 0.018590301275253296, 0.02696637064218521, 0.00442153075709939, 0.060808468610048294, 0.06859831511974335, 0.01015461701899767, 0.04081718996167183, -0.012638622894883156, -0.030960652977228165, -0.027880484238266945, -0.0696713998913765, 0.025396479293704033, -0.039565250277519226, -0.01280753593891859, -0.03225233405828476, -0.011525788344442844, -0.025297118350863457, -0.0158280860632658, 0.0031894638668745756, 0.07273169606924057, -0.016305016353726387, -0.008788413368165493, 0.008659245446324348, 0.08330363035202026, 0.03185489401221275, 0.0333452969789505, 0.01241009496152401, -0.02549583837389946, 0.003375764237716794, -0.0008203430334106088, -0.06319311261177063, -0.010204297490417957, -0.006955217104405165, -0.02418428286910057, -0.045268528163433075, 0.0337824821472168, -0.022892599925398827, -0.01517230924218893, -0.012708174996078014, 0.017119770869612694, -0.049242936074733734, -0.03553122282028198, -0.047295477241277695, -0.055443014949560165, 0.015460453927516937, -0.010159584693610668, -0.005330677144229412, -0.029351016506552696, 0.07956768572330475, -0.07289067655801773, -0.0012916831765323877, -0.05667508393526077, -0.02152142859995365, -0.048050615936517715, -0.017318490892648697, -0.020567569881677628, 0.0013475733576342463, 0.002558526350185275, -0.012569070793688297, 0.03354401886463165, 0.07114193588495255, -0.09196784347295761, 0.008058115839958191, -0.012469710782170296, -0.015182245522737503, -0.026409953832626343, 0.03338504210114479, 0.030781803652644157, 0.048130102455616, 0.003271436085924506, -0.0058274781331419945, -0.005370421335101128, -0.021163731813430786, -0.021501556038856506, 0.035014551132917404, 0.01865985430777073, -0.008838093839585781, 0.046580083668231964, 0.030066410079598427, 0.030781803652644157, -0.04542750492691994, 0.024303516373038292, 0.01975281722843647, -0.006910504773259163, 0.04057872295379639, -0.06303413957357407, -0.007263233885169029, 0.03652482479810715, 0.007491762284189463, 0.00488603999838233, 0.014208515174686909, -0.03950563445687294, -0.011694700457155704, -0.005295901093631983, 0.014466851949691772, -0.029152296483516693, 0.04292362555861473, -0.01220143772661686, 0.03274913504719734, -0.045268528163433075, -0.009180886670947075, -0.024999037384986877, -0.0021871672943234444, 0.007148969452828169, 0.007417242042720318, -0.03787612542510033, -0.026032384485006332, 0.008564853109419346, -0.0040290579199790955, -0.0096031678840518, -0.021898997947573662, -0.02376697026193142, -0.012221310287714005, -0.008485364727675915, -0.0015388417523354292, 0.04089667648077011, -0.0023436597548425198, 0.012469710782170296, 0.04765317216515541, 0.004781711846590042, 0.01759669929742813, 0.0030255194287747145, 0.02156117372214794, 0.02760227583348751, -0.003743397304788232, -0.03869087994098663, -0.017467530444264412, 0.015142501331865788, -0.013115552254021168, 0.03904857486486435, -0.05496608838438988, 0.04212874174118042, -0.007516602519899607, 0.04491082951426506, 0.011168091557919979, -0.0006669556605629623, -0.023985562846064568, -0.030742060393095016, -0.0015115176793187857, 0.049242936074733734, 0.04109539836645126, -0.028516389429569244, 0.04161207005381584, 0.006821080576628447, 0.04332106560468674, -0.05377376452088356, 0.015063012950122356, 0.012986384332180023, -0.012241181917488575, 0.07356632500886917, 0.017785483971238136, 0.050792958587408066, -0.03668380156159401, -0.04542750492691994, -0.023190680891275406, -0.04836856573820114, -0.026668289676308632, 0.030622826889157295, 0.060212306678295135, -0.025316990911960602, 0.004754387773573399, 0.03155681490898132, -0.007596090901643038, -0.030742060393095016, -0.04880575090646744, 0.010482505895197392, 0.024323387071490288, -0.027542660012841225, 0.014089282602071762, -0.013691841624677181, -0.008371100760996342, -0.021243220195174217, 0.022296437993645668, 0.027502914890646935, 0.009007005952298641, -0.04153258353471756, -0.04032038524746895, 0.01374152209609747, 0.05369427427649498, 0.023409273475408554, 0.04224797710776329, -0.007193681783974171, 0.025177886709570885, -0.001942492788657546, -0.01171457301825285, 0.00962303951382637, 0.030086282640695572, 0.0016382019966840744, -0.02249515987932682, 0.02140219695866108, -0.007625898811966181, -0.03620687127113342, -0.009806856513023376, 0.029033062979578972, -0.004076254088431597, 0.022256694734096527, 0.0052064768970012665, 0.043162088841199875, 0.008092892356216908, -0.08584725111722946, -0.03280875086784363, 0.05218400061130524, -0.007392402272671461, -0.08743701130151749, 0.01101905107498169, -0.019027486443519592, -0.05246220901608467, 0.005574109498411417, 0.0015400837874040008, -0.022395798936486244, 0.05766868591308594, 0.02166053280234337, 0.054051972925662994, 0.030324745923280716, 0.010621610097587109, -0.017864972352981567, -0.008236964233219624, 0.08560878783464432, -0.005310805048793554, 0.00968762394040823, 0.0008799591450951993, -0.003042907454073429, -0.013890562579035759, -0.0009619313641451299, 0.04200951009988785, 0.004982916172593832, 0.018471069633960724, 0.020885523408651352, 0.035988278687000275, -0.038432542234659195, 0.05091219022870064, 0.03511391207575798, -0.046699315309524536, -0.02553558349609375, -0.008639372885227203, 0.025774046778678894, -0.03726009279489517, -0.09268323332071304, 0.042486440390348434, 0.03316644951701164, 0.013642161153256893, -0.012708174996078014, -0.021620789542794228, 0.048567287623882294, -0.0073526580817997456, -0.03855177387595177, 0.007710354868322611, 0.09618071466684341, -0.010244040749967098, -0.03119911625981331, 0.037379324436187744, -0.02823818102478981, -0.0030354554764926434, 0.04483134299516678, 0.026906754821538925, 0.06041102856397629, -0.0802035927772522, -0.005161764565855265, -0.010050288401544094, -0.009901247918605804, -0.005469781346619129, -0.04638136178255081, 0.029947178438305855, 0.004895975813269615, 0.013711713254451752, 0.00011783504305640236, -0.002513814251869917, -0.001216541975736618, -0.08266772329807281, -0.004088674206286669, -0.06267644464969635, 0.012092141434550285, -0.015361093915998936, 0.05381350964307785, 0.022395798936486244, -0.022316310554742813, 0.06208027899265289, -0.034040819853544235, -0.026688162237405777, -0.0265888012945652, 0.008117731660604477, 0.0009755934006534517, -0.021422069519758224, 0.06386876851320267, 0.0010848896345123649, 0.06939319521188736, -0.046619825065135956, -0.0026305625215172768, -0.02140219695866108, -0.04057872295379639, -0.026568928733468056, 0.013105615973472595, 0.01124757993966341, 0.04272490367293358, -0.003485060529783368, -0.03559083864092827, 0.02819843776524067, -0.062279000878334045, 0.018053757026791573, -0.018411453813314438, 0.08743701130151749, 0.04212874174118042, -0.021879125386476517, -0.07626892626285553, -0.1228092610836029, 0.0018505845218896866, 0.0007793569238856435, 0.04063833877444267, 0.06486237049102783, 0.060093075037002563, -0.058781519532203674, 0.037379324436187744, 0.032610032707452774, -0.08584725111722946, -0.04820958897471428, 0.024840060621500015, 0.025893280282616615, 0.018351837992668152, 0.03330555558204651, -0.0036862650886178017, 0.0295497365295887, 0.028595877811312675, 0.008157475851476192, -0.057469964027404785, 0.009712464176118374, 0.048130102455616, 0.017417849972844124, 0.010621610097587109, -0.06196104735136032, 0.04061846807599068 ]
42,042
patch_ng
__init__
null
def __init__(self, stream=None): # --- API accessible fields --- # name of the PatchSet (filename or ...) self.name = None # patch set type - one of constants self.type = None # list of Patch objects self.items = [] self.errors = 0 # fatal parsing errors self.warnings = 0 # non-critical warnings # --- /API --- if stream: self.parse(stream)
(self, stream=None)
[ 0.04153307527303696, -0.023789402097463608, -0.030944108963012695, 0.010365381836891174, -0.07143975049257278, -0.049260158091783524, -0.01166217215359211, 0.04539661854505539, 0.01650054380297661, 0.02452275902032852, -0.02776026353240013, 0.011438587680459023, -0.06872095912694931, 0.04575435072183609, -0.0196575578302145, 0.04500310868024826, -0.06807703524827957, 0.029763581231236458, -0.02343166619539261, 0.022555213421583176, -0.002877533668652177, 0.030192863196134567, -0.008764516562223434, 0.08728742599487305, 0.04171194136142731, 0.06736157089471817, 0.02904811128973961, -0.022412119433283806, 0.0328579917550087, -0.03185633197426796, 0.012145115062594414, -0.0016601156676188111, -0.013745981268584728, 0.0015047243796288967, -0.0030675807502120733, -0.00796408299356699, -0.03096199594438076, 0.05262286961078644, -0.07462359219789505, 0.04006636142730713, 0.020176274701952934, 0.020909631624817848, -0.016911938786506653, -0.015284243039786816, 0.0226446483284235, 0.0414615273475647, 0.020247820764780045, 0.015847675502300262, 0.001852398389019072, 0.0015583846252411604, -0.015811903402209282, 0.06972262263298035, -0.026114681735634804, -0.03373444452881813, -0.047221068292856216, 0.04958212003111839, 0.036274366080760956, 0.071225106716156, 0.004062531981617212, 0.04439495876431465, -0.041890811175107956, 0.04035254940390587, 0.04468114674091339, -0.06582330912351608, -0.05798890069127083, -0.036739420145750046, 0.003121240995824337, -0.04629095643758774, -0.010651569813489914, 0.05770271271467209, 0.010517419315874577, 0.028082225471735, -0.04071028530597687, 0.025077247992157936, 0.0677550733089447, 0.031874220818281174, -0.03888583183288574, 0.011957304552197456, -0.019425028935074806, -0.009131195023655891, -0.004793653730303049, 0.09866341203451157, -0.011572739109396935, 0.007642121519893408, 0.04085337743163109, -0.0328579917550087, 0.06689651310443878, -0.012771151959896088, 0.0006629283307120204, 0.059205200523138046, -0.036703646183013916, 0.06449968367815018, 0.00639004772529006, -0.02328857220709324, 0.029763581231236458, 0.009587307460606098, -0.05180007964372635, -0.022769855335354805, -0.020802311599254608, -0.012359756976366043, -0.027170000597834587, -0.0166704673320055, -0.053087927401065826, -0.0035281649325042963, -0.01990797184407711, -0.004051352851092815, 0.050190269947052, -0.05183585360646248, -0.030944108963012695, 0.011241833679378033, 0.01567775197327137, 0.013629716821014881, -0.05201471969485283, 0.0811343789100647, 0.011590625159442425, -0.024075590074062347, -0.013406132347881794, -0.01539156399667263, 0.03412795439362526, -0.04761457443237305, -0.029674148187041283, 0.055448979139328, -0.037419117987155914, 0.11790957301855087, 0.02260887436568737, -0.011715833097696304, 0.013835415244102478, -0.021195819601416588, 0.08599957823753357, -0.0526944175362587, 0.01879899390041828, -0.013370359316468239, -0.025399209931492805, -0.0027053735684603453, 0.01306628342717886, -0.054340001195669174, 0.006027840543538332, -0.009533647447824478, -0.04450227692723274, -0.016858277842402458, 0.010893041267991066, 0.014282584190368652, 0.03507595136761665, -0.04113956540822983, -0.11583470553159714, 0.005889218300580978, -0.0030675807502120733, -0.03963707759976387, -0.051621213555336, 0.029423732310533524, -0.020784424617886543, -0.05280173942446709, 0.0157135259360075, 0.031051428988575935, 0.04464537277817726, -0.025828491896390915, -0.01166217215359211, -0.024182910099625587, 0.023020269349217415, 0.006940065883100033, -0.014121603220701218, -0.008612479083240032, -0.008523045107722282, 0.000761864532250911, -0.017797334119677544, -0.014774470590054989, -0.0009921566816046834, -0.11426067352294922, -0.026722831651568413, 0.009041761048138142, 0.017162352800369263, 0.02307393029332161, -0.026078907772898674, 0.042320091277360916, 0.037490665912628174, 0.06195976212620735, 0.04142575338482857, 0.05791735276579857, -0.0031592503655701876, 0.011724776588380337, -0.031427051872015, 0.029459506273269653, -0.015650922432541847, 0.04693488031625748, 0.02260887436568737, 0.026919584721326828, -0.027277320623397827, 0.012529680505394936, 0.00687746237963438, 0.026830151677131653, 0.020677102729678154, 0.012377643026411533, -0.000500550027936697, 0.03759798780083656, 0.01015074085444212, -0.014944394119083881, -0.013370359316468239, -0.04475269466638565, 0.008017743937671185, 0.014872847124934196, -0.026114681735634804, 0.03462878242135048, 0.011590625159442425, 0.007302273064851761, -0.025184569880366325, 0.042176999151706696, 0.027384640648961067, 0.0032151464838534594, -0.08163520693778992, 0.05001140385866165, -0.013656547293066978, -0.015597261488437653, 0.005840029567480087, -0.009073062799870968, 0.026222001761198044, -0.09351202100515366, 0.02858305536210537, -0.022054385393857956, -0.016437940299510956, 0.02207227237522602, 0.06378421187400818, 0.016616806387901306, -0.0010989182628691196, -0.0031592503655701876, -0.06299719959497452, 0.037919946014881134, 0.019746990874409676, -0.01638427935540676, -0.02058766968548298, -0.014246810227632523, -0.009560476988554, -0.06653877347707748, 0.00767789501696825, -0.01785099506378174, -0.022698309272527695, -0.005656690336763859, 0.0037562211509793997, 0.03192787989974022, -0.04739993438124657, -0.03103354200720787, 0.042284317314624786, -0.06424926966428757, 0.022662535309791565, 0.008952327072620392, -0.0653582513332367, -0.006005482282489538, -0.00017188065976370126, -0.029870903119444847, 0.010213344357907772, -0.007713668514043093, 0.053123701363801956, -0.004731050226837397, -0.0252740029245615, 0.021160045638680458, 0.02872614935040474, -0.041819263249635696, -0.004757880233228207, -0.04650559648871422, 0.07433740794658661, -0.047221068292856216, -0.0037674005143344402, -0.013093113899230957, 0.06954375654459, 0.08342388272285461, -0.02502358891069889, -0.006823801901191473, 0.005772954318672419, -0.022734081372618675, -0.019890086725354195, -0.004744464997202158, 0.0797034353017807, 0.017359107732772827, 0.013280925340950489, 0.0039037871174514294, -0.05144234374165535, -0.03802726790308952, 0.0020357377361506224, -0.010919871740043163, 0.020712876692414284, 0.019890086725354195, 0.06807703524827957, -0.01617858186364174, 0.060457274317741394, 0.01137598417699337, 0.06940066069364548, -0.06796971708536148, -0.012243492528796196, 0.08821754157543182, -0.06925756484270096, -0.06650300323963165, 0.005039596930146217, 0.013236207887530327, -0.031516484916210175, -0.07290646433830261, 0.05695146694779396, 0.022233251482248306, -0.037311796098947525, -0.01901363395154476, 0.03495074436068535, -0.05491237714886665, -0.022054385393857956, -0.07655536383390427, 0.05770271271467209, 0.028565168380737305, -0.05133502185344696, -0.02026570774614811, 0.01983642578125, -0.0048294272273778915, 0.014434621669352055, 0.014139490202069283, 0.06378421187400818, 0.07033076882362366, -0.04571857675909996, 0.00035466108238324523, -0.01530213002115488, 0.03343036770820618, -0.016679411754012108, 0.012180889025330544, -0.02631143480539322, 0.05673682689666748, -0.044573824852705, -0.029459506273269653, 0.037061382085084915, -0.023199137300252914, 0.04933170601725578, -0.0005785251269116998, 0.022734081372618675, -0.011304437182843685, -0.02271619439125061, 0.024093477055430412, -0.04106801748275757, -0.007950668223202229, 0.03784840181469917, 0.03638168424367905, 0.0013672198401764035, -0.006895348895341158, -0.015883449465036392, -0.06403462588787079, 0.002566751092672348, -0.1007382795214653, 0.06063614413142204, 0.0031860806047916412, -0.010177571326494217, 0.01100036222487688, 0.013236207887530327, 0.026007359847426414, 0.02307393029332161, -0.05823931470513344, 0.021088499575853348, -0.03470033034682274, 0.006917707622051239, -0.00023797785979695618, -0.029065998271107674, -0.005719293840229511, 0.043250203132629395, -0.036989834159612656, -0.03348403051495552, -0.0075348010286688805, 0.00044269749196246266, -0.020677102729678154, 0.03842077776789665, -0.006121746264398098, 0.014729753136634827, -0.006609160918742418, -0.015767185017466545, -0.03459300845861435, -0.015051715075969696, 0.008934440091252327, 0.00037674003397114575, -0.005880274809896946, -0.005281068384647369, 0.0003132979036308825, -0.058990560472011566, -0.08564184606075287, 0.00034124599187634885, 0.010687343776226044, 0.0055314828641712666, 0.024540646001696587, -0.05011872202157974, -0.007557159289717674, -0.02631143480539322, 0.031874220818281174, -0.014014282263815403, 0.01530213002115488, -0.03452146053314209, -0.03160591796040535, -0.03580930829048157, 0.005294483155012131, 0.07036654651165009, 0.077914759516716, 0.0414615273475647, -0.051621213555336, 0.03387753665447235, -0.037240251898765564, -0.004905445966869593, 0.013021566905081272, -0.01173372007906437, -0.007825461216270924, 0.012860585935413837, -0.0006578976754099131, 0.03999481350183487, -0.05745229870080948, 0.004395673051476479, 0.04543238878250122, 0.02516668289899826, -0.041819263249635696, 0.08013272285461426, -0.017752617597579956, -0.009837722405791283, 0.006434764713048935, 0.06789816915988922, -0.0491170659661293, 0.010338551364839077, -0.08435399830341339, -0.023843061178922653, 0.005768482573330402, 0.03271489962935448, -0.03056848607957363, 0.03924356773495674, -0.00899257231503725, -0.0027053735684603453, 0.09014931321144104, 0.030013997107744217, 0.015981826931238174, 0.011349154636263847, -0.023270685225725174, 0.017797334119677544, -0.023270685225725174, -0.009153553284704685, 0.03300108760595322, -0.021875517442822456, 0.04700642451643944, -0.01240447349846363, 0.007172593846917152, 0.03956552967429161, -0.021464120596647263, -0.04496733471751213, -0.019425028935074806, -0.016983486711978912, 0.026043133810162544, 0.03589874133467674, -0.008947855792939663, 0.049260158091783524, -0.009193798527121544, -0.009005988016724586, -0.034789763391017914, -0.027116339653730392, 0.011536965146660805, -0.0038009381387382746, -0.01295896340161562, -0.021911291405558586, -0.012332926504313946, 0.04138997942209244, -0.025434983894228935, 0.012234549038112164, -0.026865925639867783, 0.027348868548870087, 0.011188173666596413, -0.013674434274435043, -0.019067294895648956, -0.011876814067363739, 0.00519163440912962, 0.0020212046802043915, -0.034324705600738525, -0.037204477936029434, -0.028100112453103065, 0.028082225471735, 0.03103354200720787, -0.02786758355796337, -0.04700642451643944, 0.03580930829048157, 0.0006964660133235157, -0.019961632788181305, 0.03756221383810043, -0.048759330064058304, 0.012914245948195457, 0.0060859727673232555, -0.0040670037269592285, -0.06156625598669052, -0.05215781554579735, -0.04511042684316635, -0.03910047560930252, 0.027742376551032066, 0.025935813784599304, -0.007351461797952652, -0.08514101803302765, 0.03784840181469917, -0.060242634266614914, 0.030407505109906197, -0.006229066755622625, 0.02922697924077511, 0.016902996227145195, -0.036667872220277786, 0.00945315696299076, 0.019568124786019325, 0.02616834081709385, 0.037741079926490784, 0.041855037212371826, 0.02858305536210537, -0.04035254940390587, 0.00012192347639938816, -0.026472415775060654, 0.018011976033449173, -0.054018039256334305, 0.05598558485507965, -0.01038326881825924, -0.02051612176001072, -0.03978017345070839, 0.027259433642029762, -0.02044457569718361, -0.03650689125061035, -0.04446650296449661, -0.0013672198401764035, -0.0018948795041069388, -0.03300108760595322, 0.03244659677147865, -0.008612479083240032, 0.04961789399385452, -0.053874943405389786, 0.04539661854505539, 0.03970862552523613, 0.00033845118014141917, 0.022465780377388, -0.04042409360408783, -0.0036824382841587067, -0.042606279253959656, -0.0017652004025876522, -0.02872614935040474, 0.016089146956801414, -0.007767328992486, 0.04686333239078522, -0.07562525570392609, -0.03523693233728409, -0.02005106583237648, 0.05655796080827713, 0.053159475326538086, 0.0055314828641712666, -0.0029960335232317448, -0.02200072444975376, -0.01114345621317625, 0.018083522096276283, 0.06367689371109009, 0.005111143924295902, -0.02758139558136463, -0.0049948799423873425, -0.042355865240097046, -0.024898380041122437, 0.020927518606185913, 0.053839169442653656, -0.029101770371198654, 0.054447323083877563, -0.036345914006233215, -0.0632118359208107, 0.021642988547682762, -0.02620411477982998, -0.006644934415817261, 0.030872561037540436, -0.0008356474572792649, 0.02595370076596737, -0.0009653265005908906, -0.018834766000509262, 0.01418420672416687, -0.013593943789601326, 0.059312522411346436, -0.022340573370456696, 0.016259072348475456, 0.0004449333355296403, 0.017037145793437958, -0.03806304186582565, 0.01240447349846363, 0.03661421313881874, -0.0014532998902723193, 0.02452275902032852, 0.03952975571155548, 0.04511042684316635, -0.001015074085444212, 0.005594086833298206, 0.0937982127070427, -0.014729753136634827, -0.00950681697577238, 0.019067294895648956, -0.005339200142771006, 0.0071010468527674675, -0.08099128305912018, -0.029745694249868393, -0.012323983013629913, -0.013745981268584728, 0.002283916575834155, 0.011689002625644207, 0.043178658932447433, 0.004556654021143913, -0.06893560290336609, -0.007288857828825712, -0.01760057918727398, -0.05605712905526161, -0.0035930045414716005, 0.05094151571393013, -0.09973661601543427, -0.014291527681052685, 0.03643534705042839, -0.05280173942446709, 0.023020269349217415, -0.0491170659661293, 0.011161343194544315, 0.01785099506378174, -0.042892470955848694, -0.01969333179295063, 0.02026570774614811, -0.0015047243796288967, 0.009005988016724586, 0.03899315372109413, -0.026114681735634804, 0.010445872321724892, 0.01649159938097, -0.010723117738962173, -0.02520245499908924, 0.021410461515188217, 0.05273019149899483, -0.0005491796764545143, -0.09293964505195618, 0.020569782704114914, 0.006631519179791212, -0.008679553866386414, 0.019675444811582565, -0.04550393670797348, 0.02026570774614811, -0.01762741059064865, -0.041890811175107956, -0.013781754299998283, -0.07519597560167313, 0.07129665464162827, -0.012315039522945881, -0.014872847124934196, -0.030335959047079086, -0.00043515150900930166, 0.005607501603662968, 0.01749325916171074, -0.03157014399766922, -0.005352615378797054, 0.07040231674909592, 0.009372666478157043, -0.025399209931492805, 0.04031677544116974, -0.024093477055430412, -0.059205200523138046, -0.013307754881680012, -0.008393365889787674, -0.038241907954216, 0.04561125859618187, 0.01384435873478651, -0.01663469336926937, 0.0226446483284235, -0.0069803111255168915, 0.005182690918445587, -0.006555500440299511, 0.05044068396091461, 0.02285928837954998, 0.030067656189203262, 0.006434764713048935, -0.024486985057592392, -0.07405121624469757, -0.012100398540496826, 0.0523366816341877, 0.012628057971596718, 0.018351823091506958, 0.006014425773173571, 0.0045342957600951195, -0.010571079328656197, 0.018512804061174393, 0.06782662123441696, -0.03935088962316513, 0.04596899449825287, 0.029960336163640022, 0.027205774560570717, -0.020283594727516174, -0.025434983894228935, 0.008402309380471706, -0.012806925922632217, 0.041962359100580215, 0.037204477936029434, -0.025900039821863174, 0.04042409360408783, -0.02260887436568737, -0.02325279824435711, 0.010678400285542011, 0.06360534578561783, -0.010705230757594109, -0.013450849801301956, 0.045289296656847, 0.008630365133285522, 0.0007149117300286889, 0.014515112154185772, 0.011340211145579815, 0.054089587181806564, -0.009064119309186935, 0.037669532001018524, -0.03532636538147926, -0.04732838645577431, 0.04511042684316635, 0.002613703953102231, 0.047221068292856216, 0.008420196361839771, -0.014962281100451946, 0.02235846035182476, 0.008330762386322021, -0.02829686738550663, -0.078630231320858, 0.05673682689666748, 0.019478689879179, -0.0015416158130392432, 0.01562409196048975, 0.09902114421129227, 0.03139127790927887, -0.07294224202632904, 0.037311796098947525, 0.0023811759892851114, 0.009471043944358826, 0.0023789401166141033, -0.02196495048701763, -0.006461594719439745, -0.0008021097164601088, 0.01791359856724739, -0.008362064138054848, 0.03638168424367905, 0.042320091277360916, -0.0016031016130000353, -0.03935088962316513, -0.0023543457500636578, 0.003894843626767397, -0.0021072847303003073, -0.013128887861967087, 0.04342907294631004, -0.05201471969485283, -0.060421500355005264, 0.00031106206006370485, -0.07161861658096313, 0.014863903634250164, 0.01310205738991499, 0.07308533042669296, 0.03289376571774483, 0.001402993337251246, -0.06299719959497452, -0.053660303354263306, 0.03038961812853813, -0.08607112616300583, -0.009766175411641598, 0.05609290301799774, 0.00687746237963438, -0.04020945355296135, 0.01976487785577774, -0.026812264695763588, -0.03974439948797226, -0.02776026353240013, 0.054089587181806564, -0.002046917099505663, -0.06782662123441696, 0.02627566270530224, 0.0067611983977258205, 0.03834922984242439, 0.007056329865008593, -0.047221068292856216, -0.06296142190694809, 0.04596899449825287, 0.042463187128305435, 0.017403824254870415, 0.04579012468457222, -0.030514825135469437, -0.006872990634292364 ]
42,043
patch_ng
__iter__
null
def __iter__(self): for i in self.items: yield i
(self)
[ 0.03215348348021507, -0.0576428547501564, -0.09235034883022308, -0.02692706137895584, -0.023053759709000587, 0.009742454625666142, -0.032694730907678604, -0.0032199996057897806, 0.10946729779243469, 0.04844164848327637, 0.003486394649371505, 0.01665181666612625, 0.03142618015408516, 0.07631589472293854, -0.023578092455863953, 0.014182374812662601, -0.008638816885650158, 0.03744755685329437, -0.027366824448108673, 0.03995082899928093, -0.02175138145685196, 0.0296332985162735, 0.04218347370624542, 0.017336832359433174, -0.02428847923874855, 0.01700701005756855, 0.010630438104271889, -0.025624684989452362, 0.05476747825741768, -0.012930739670991898, -0.046648766845464706, -0.019670961424708366, 0.033591169863939285, 0.0020814770832657814, 0.03656803071498871, -0.03130778297781944, -0.08301382511854172, 0.024660587310791016, -0.028009556233882904, 0.061871349811553955, 0.0580487884581089, -0.00867687352001667, 0.012490976601839066, -0.0068628485314548016, 0.015315611846745014, 0.0026512667536735535, 0.03376030921936035, 0.01909588649868965, 0.04160839691758156, -0.04255558177828789, 0.016736386343836784, -0.006638738326728344, 0.02618284523487091, -0.02498195320367813, -0.024322306737303734, 0.08260789513587952, -0.021176306530833244, -0.006338515318930149, 0.007082730531692505, 0.08057821542024612, -0.03450452536344528, -0.07090342044830322, 0.021514587104320526, -0.039578720927238464, 0.03995082899928093, -0.042115818709135056, -0.07848088443279266, -0.002234759973362088, 0.003475823439657688, 0.01359038520604372, 0.017894994467496872, 0.013099879957735538, -0.0035223369486629963, 0.04360424727201462, -0.04434846341609955, 0.023408953100442886, -0.08781740069389343, 0.042318783700466156, 0.06576156616210938, -0.07239184528589249, -0.014630595222115517, 0.02044900506734848, -0.05463216453790665, -0.01755671389400959, -0.03333745896816254, 0.011619905941188335, 0.01585685834288597, -0.039984654635190964, -0.027248427271842957, 0.08484053611755371, -0.029447244480252266, 0.051147885620594025, 0.002841549227014184, 0.020059984177350998, -0.030935674905776978, 0.01394557859748602, -0.022258801385760307, -0.029903922230005264, -0.030309857800602913, -0.0009292119648307562, -0.019467994570732117, 0.024254651740193367, 0.021514587104320526, 0.011653734371066093, 0.0028542345389723778, -0.0038289029616862535, -0.0384962260723114, -0.06234494224190712, 0.019434167072176933, 0.022157317027449608, -0.03477514907717705, 0.04428080841898918, -0.007116558495908976, 0.011501508764922619, -0.012474062852561474, -0.036128267645835876, -0.01730300486087799, -0.020026156678795815, 0.03670334443449974, 0.012507890351116657, -0.03071579337120056, 0.031341612339019775, 0.0010962375672534108, 0.04675024747848511, 0.01845315471291542, 0.022106576710939407, -0.003917701542377472, 0.003342625917866826, 0.009903136640787125, -0.023764146491885185, -0.009640970267355442, -0.0005166693008504808, 0.016550332307815552, 0.0006237031193450093, 0.036635685712099075, -0.031595319509506226, 0.005691555328667164, -0.03467366471886635, -0.019078973680734634, 0.07340668886899948, 0.005738068837672472, 0.003630163613706827, 0.020279865711927414, 0.06694554537534714, -0.03413241729140282, -0.048407819122076035, -0.004002271220088005, 0.060518231242895126, 0.017489058896899223, -0.030986417084932327, -0.010579695925116539, 0.049355003982782364, 0.07279778271913528, 0.08937348425388336, -0.04428080841898918, 0.01765819825232029, -0.04634431377053261, 0.012558632530272007, -0.016423476859927177, -0.02303684502840042, -0.01975553296506405, -0.012584003619849682, 0.0044060926884412766, 0.00005539990161196329, -0.015256412327289581, 0.04160839691758156, -0.026250502094626427, -0.03156149387359619, 0.028144868090748787, -0.0073195262812078, 0.01246560551226139, -0.08923817425966263, -0.05361732468008995, -0.02254633978009224, -0.018892919644713402, 0.07232419401407242, -0.001620571012608707, 0.05676332861185074, 0.028398577123880386, 0.03142618015408516, -0.04654728248715401, -0.037278417497873306, -0.07225653529167175, -0.04384104534983635, 0.03135852515697479, 0.03660186007618904, 0.020736543461680412, 0.02070271596312523, 0.02763744816184044, -0.01329439040273428, -0.0007119729998521507, -0.03135852515697479, 0.0018023962620645761, -0.019467994570732117, -0.027755845338106155, -0.0021988179069012403, -0.04208198934793472, 0.02114247903227806, 0.004592146258801222, 0.07273012399673462, -0.07976634055376053, -0.05710160732269287, -0.022529425099492073, 0.021227048709988594, -0.009793195873498917, 0.028601545840501785, 0.012406406924128532, -0.06450992822647095, 0.024508360773324966, -0.009404174983501434, -0.02180212363600731, -0.029548728838562965, 0.017370659857988358, 0.010841863229870796, 0.024863554164767265, -0.011011002585291862, -0.02777276001870632, -0.08206664770841599, -0.022411027923226357, -0.0025688111782073975, 0.02518492005765438, -0.0014260602183640003, -0.026402726769447327, -0.05510575696825981, 0.014901218935847282, -0.02981935255229473, -0.003742218716070056, -0.045363303273916245, -0.08030758798122406, 0.0009810109622776508, 0.017116950824856758, 0.011146314442157745, 0.030140718445181847, 0.006774050183594227, 0.00010974267934216186, 0.00774237560108304, -0.011848244816064835, -0.019146628677845, -0.021057909354567528, 0.0292781051248312, 0.0051799071952700615, 0.024677501991391182, 0.008304765447974205, -0.009733997285366058, -0.05131702497601509, 0.03710927814245224, 0.008397792465984821, 0.07766900956630707, 0.010765749961137772, 0.023662662133574486, 0.028161780908703804, -0.03135852515697479, -0.012211895547807217, 0.005687326658517122, 0.05689863860607147, -0.047460637986660004, -0.040627386420965195, -0.04110097885131836, 0.039172783493995667, -0.018842177465558052, 0.05047132447361946, 0.010791121050715446, -0.020415177568793297, 0.07895447313785553, -0.002211503218859434, 0.0483739897608757, 0.023425865918397903, 0.008097569458186626, 0.0018837949028238654, 0.060382917523384094, 0.07212122529745102, -0.003152343677356839, -0.012634744867682457, 0.03326980397105217, -0.024068597704172134, 0.053143735975027084, 0.000551818695385009, -0.004074155818670988, -0.09789813309907913, -0.03142618015408516, 0.037481386214494705, 0.03724459186196327, -0.04309682920575142, -0.04066121578216553, 0.007442152593284845, -0.023764146491885185, 0.0013467759126797318, 0.042758550494909286, 0.022157317027449608, -0.005154536105692387, 0.06836631894111633, -0.004131240304559469, 0.0024525276385247707, -0.02574308216571808, 0.06870459765195847, -0.05141850933432579, -0.05233186483383179, 0.007421010173857212, 0.019146628677845, 0.006575311068445444, 0.019518736749887466, -0.04556627199053764, -0.06180369481444359, 0.02663952298462391, -0.004272894933819771, 0.04976093769073486, 0.03876684978604317, 0.0681295245885849, -0.046513453125953674, 0.033438943326473236, 0.00436380784958601, 0.011611449532210827, -0.004084726795554161, 0.004875455517321825, -0.02034752070903778, -0.08632896840572357, -0.011298540979623795, 0.04093183949589729, -0.0039029016625136137, 0.07367730885744095, -0.06609984487295151, 0.03063122369349003, 0.004294037353247404, -0.01151842251420021, -0.0013710897183045745, 0.040864184498786926, 0.018825262784957886, 0.04688556119799614, -0.016837870702147484, -0.003695705207064748, 0.03514725714921951, -0.05033601447939873, 0.002953604329377413, 0.050099216401576996, -0.016888612881302834, 0.04438229277729988, 0.03206891193985939, 0.026301244273781776, 0.038225602358579636, -0.09065894782543182, -0.01393712218850851, -0.03206891193985939, 0.005991778336465359, -0.011205513961613178, -0.0345214381814003, 0.01511264406144619, -0.02264782413840294, -0.006998160388320684, 0.042420268058776855, -0.0014038606313988566, 0.018842177465558052, 0.025624684989452362, 0.06288618594408035, 0.00684593478217721, 0.021007167175412178, -0.01786116696894169, -0.006693708710372448, -0.011306997388601303, -0.02692706137895584, 0.023679576814174652, 0.049355003982782364, 0.005475901998579502, -0.028111040592193604, -0.015400181524455547, 0.014757449738681316, -0.05635739117860794, -0.04133777320384979, -0.0073068407364189625, 0.01393712218850851, -0.022766221314668655, -0.003964214585721493, 0.0016660273540765047, -0.031646061688661575, -0.020212208852171898, 0.018081048503518105, -0.04417932406067848, -0.005966407712548971, 0.07239184528589249, -0.022022005170583725, 0.03102024458348751, 0.04495736584067345, -0.018267102539539337, 0.03042825497686863, 0.025151092559099197, 0.029092051088809967, -0.05280545353889465, 0.06921201944351196, -0.016093654558062553, -0.012812342494726181, 0.023882543668150902, -0.04563392698764801, -0.033134493976831436, -0.05669566988945007, 0.015670806169509888, -0.0578458234667778, -0.06586305052042007, 0.03392944857478142, -0.05185827240347862, -0.047900401055812836, -0.049557968974113464, 0.03396327793598175, -0.027451394125819206, -0.019975414499640465, 0.01799647882580757, 0.023611919954419136, -0.0695502981543541, 0.009412631392478943, -0.016279708594083786, 0.02728225477039814, 0.0033806823194026947, -0.01376798190176487, -0.021531499922275543, -0.01481664925813675, -0.050302185118198395, 0.024846641346812248, -0.05138467997312546, 0.00526024866849184, -0.002655495423823595, 0.035384051501750946, 0.05446302518248558, 0.02887216955423355, -0.030800363048911095, 0.030394427478313446, 0.043367452919483185, -0.027349909767508507, -0.06755445152521133, -0.005945264827460051, -0.017438316717743874, 0.01896057464182377, -0.034944288432598114, -0.02828017994761467, -0.08382569998502731, -0.009421088732779026, -0.01169601920992136, 0.05402326211333275, -0.03447069600224495, -0.05449685454368591, -0.03754904121160507, -0.025962963700294495, 0.03042825497686863, 0.0340140201151371, 0.024220824241638184, 0.027992641553282738, -0.06244642660021782, 0.06214197352528572, -0.02768819034099579, -0.011087115854024887, 0.05321139097213745, 0.052940767258405685, 0.020888768136501312, -0.002293959027156234, 0.028618458658456802, 0.026893233880400658, -0.047156184911727905, 0.026571867987513542, 0.03193359822034836, 0.00637234328314662, -0.047359153628349304, -0.0018890805076807737, 0.016524961218237877, 0.04769743233919144, -0.011729847639799118, 0.0032982267439365387, -0.05053897947072983, 0.006038291845470667, -0.011662191711366177, -0.02733299694955349, 0.056086767464876175, -0.011205513961613178, 0.023273641243577003, 0.02723151259124279, 0.01901131682097912, -0.04478822648525238, -0.09052363783121109, -0.010013078339397907, 0.016338907182216644, -0.031189383938908577, 0.021565327420830727, -0.05382029339671135, -0.06430696696043015, -0.01760745607316494, -0.034183159470558167, 0.029159706085920334, -0.020415177568793297, 0.002822520909830928, -0.019231198355555534, 0.0247958991676569, -0.02713002823293209, -0.006439999211579561, 0.004613288678228855, 0.034842804074287415, -0.024474533274769783, -0.039984654635190964, 0.024051683023571968, 0.04191284999251366, -0.006418856326490641, 0.004921969026327133, 0.024576017633080482, -0.0025074980221688747, -0.03754904121160507, 0.010063819587230682, 0.009953878819942474, 0.05121554061770439, 0.007564778905361891, -0.008596532046794891, 0.04434846341609955, -0.00391347287222743, -0.04414549469947815, -0.018892919644713402, -0.04028910771012306, 0.022224973887205124, -0.018689950928092003, -0.04045824706554413, -0.043570421636104584, 0.032390277832746506, -0.07360965758562088, -0.05943573638796806, 0.0024356136564165354, -0.012524804100394249, 0.029396502301096916, 0.05811644718050957, -0.03595912829041481, -0.005497044418007135, 0.03201816976070404, -0.034386128187179565, 0.03575615957379341, -0.01945107989013195, -0.012567088939249516, 0.010216046124696732, -0.0005512901116162539, 0.008516190573573112, -0.006118633318692446, -0.006867077201604843, 0.026943974196910858, -0.03047899715602398, -0.016939353197813034, 0.03450452536344528, -0.015467837452888489, -0.02139618806540966, 0.11237650364637375, 0.06251408159732819, 0.02782350219786167, 0.03376030921936035, -0.04560009762644768, 0.011805959977209568, 0.0021131907124072313, -0.05831941217184067, -0.04597220569849014, 0.012127325870096684, -0.011712932959198952, -0.07110638171434402, -0.010960261337459087, -0.01293919701129198, 0.02618284523487091, -0.0037485614884644747, -0.0038563881535083055, 0.00800454244017601, -0.002427156548947096, -0.02594604901969433, 0.03660186007618904, 0.044111669063568115, 0.057575199753046036, -0.08240492641925812, -0.046107519418001175, 0.024576017633080482, 0.043062999844551086, 0.008769900538027287, 0.07875150442123413, 0.014757449738681316, 0.04499119520187378, -0.0015169729012995958, 0.014199288561940193, -0.010216046124696732, -0.0035773073323071003, 0.038733020424842834, 0.03724459186196327, -0.02748522162437439, -0.01671101525425911, -0.023172156885266304, -0.11860084533691406, -0.0020169925410300493, 0.01311679370701313, 0.05564700439572334, -0.028094125911593437, -0.017370659857988358, -0.0489828959107399, -0.05838707089424133, 0.049794767051935196, -0.011129400692880154, 0.022055834531784058, 0.015450923703610897, -0.028449319303035736, -0.07327137142419815, -0.02034752070903778, 0.023882543668150902, -0.05402326211333275, -0.028347834944725037, -0.06376571953296661, -0.08700552582740784, 0.011780588887631893, 0.02728225477039814, 0.04522798955440521, 0.005167221650481224, 0.06450992822647095, 0.029362674802541733, -0.010013078339397907, 0.006905133370310068, 0.024660587310791016, 0.03267781436443329, 0.025810737162828445, -0.059029798954725266, -0.00880372803658247, 0.053786467760801315, -0.049355003982782364, -0.00036259350599721074, -0.002634352771565318, -0.013057595118880272, 0.06295384466648102, -0.0022157318890094757, 0.0035117657389491796, -0.012076583690941334, -0.027705105021595955, -0.05253482982516289, 0.06637047231197357, -0.046513453125953674, -0.044619087129831314, 0.03430155664682388, -0.015366354025900364, 0.03450452536344528, -0.029447244480252266, 0.0007061588112264872, -0.02214040420949459, 0.04049207642674446, -0.04996390640735626, -0.023155242204666138, 0.0029980035033077, -0.004528719000518322, 0.018825262784957886, -0.04543095827102661, 0.016947811469435692, 0.014655966311693192, 0.009319604374468327, -0.024728242307901382, -0.0017632826929911971, -0.03815794736146927, 0.007881916128098965, -0.038124118000268936, 0.013556557707488537, 0.03342203050851822, -0.060179952532052994, -0.0072518703527748585, 0.05371880903840065, -0.003632277948781848, 0.01710849441587925, -0.027569793164730072, -0.04603986069560051, 0.03435229882597923, -0.019078973680734634, 0.010461298748850822, 0.010461298748850822, 0.01819944567978382, 0.017370659857988358, 0.020719628781080246, -0.053448185324668884, 0.06068737059831619, -0.0021671040449291468, -0.023273641243577003, -0.002866920083761215, 0.006220117211341858, -0.008359735831618309, 0.007649349048733711, 0.03392944857478142, -0.056628014892339706, -0.03535022586584091, -0.03886833414435387, 0.02853388898074627, -0.010562782175838947, -0.009877766482532024, 0.04962562769651413, -0.016617989167571068, -0.04793422669172287, 0.009767824783921242, -0.024948125705122948, 0.05625590682029724, -0.045904550701379776, -0.03076653555035591, -0.009319604374468327, -0.014275401830673218, -0.0123472074046731, -0.09485361725091934, 0.029142793267965317, -0.05510575696825981, 0.0035159941762685776, -0.02139618806540966, -0.02339203841984272, 0.05551169067621231, 0.012922283262014389, -0.043265968561172485, 0.054293885827064514, 0.00537441810593009, 0.03521491214632988, 0.009835480712354183, 0.06288618594408035, 0.008469676598906517, 0.03335437551140785, 0.02838166430592537, -0.01501115970313549, 0.03582381457090378, 0.022580167278647423, 0.027045458555221558, 0.007294155191630125, 0.08071352541446686, -0.05564700439572334, -0.04069504141807556, 0.03296535462141037, -0.03886833414435387, 0.01765819825232029, 0.030851105228066444, 0.042623236775398254, 0.03551936522126198, 0.026064448058605194, -0.0019461652263998985, -0.015636976808309555, 0.07022685557603836, -0.007632434833794832, 0.011755217798054218, -0.02403477020561695, 0.04729149490594864, -0.016880154609680176, 0.0489828959107399, 0.01346353068947792, -0.034233901649713516, -0.032796211540699005, 0.020127639174461365, -0.03193359822034836, -0.01814870350062847, -0.030259115621447563, 0.05317756161093712, 0.00720535684376955, 0.030800363048911095, -0.024102425202727318, 0.031849030405282974, 0.014089347794651985, 0.035384051501750946, -0.023324383422732353, -0.028364749625325203, 0.04607369005680084, 0.029261190444231033, -0.009251948446035385, -0.01040209922939539, 0.0378873236477375, 0.014926590025424957, 0.012550175189971924, 0.03886833414435387, 0.04350276291370392, 0.012863083742558956, 0.008482362143695354, -0.059976983815431595, -0.03052973933517933, 0.013548100367188454, -0.03785349428653717, -0.020110726356506348, 0.034436870366334915, 0.021531499922275543, -0.026791749522089958, 0.04286003112792969, 0.08524647355079651, 0.009810110554099083 ]
42,044
patch_ng
__len__
null
def __len__(self): return len(self.items)
(self)
[ -0.001122093410231173, -0.027232462540268898, -0.030826428905129433, 0.008311047218739986, 0.017251038923859596, 0.029764575883746147, -0.019178710877895355, -0.027640867978334427, 0.08259587734937668, -0.0016550623113289475, -0.007049074862152338, -0.03337487950921059, 0.02479836717247963, -0.002215598477050662, 0.004925367422401905, 0.03262341395020485, 0.014196166768670082, 0.006420130841434002, 0.028964100405573845, 0.03727923333644867, -0.027771558612585068, 0.053190700709819794, 0.06505078822374344, -0.0126687316223979, -0.035841647535562515, 0.008543837815523148, 0.03695250675082207, -0.024112246930599213, 0.0978865697979927, 0.019276728853583336, -0.10304881632328033, 0.011312825605273247, 0.015405046753585339, 0.036756474524736404, 0.027069101110100746, -0.004218826536089182, -0.013395692221820354, -0.02809828147292137, -0.0017326592933386564, 0.037965353578329086, -0.02226625569164753, -0.04740768298506737, 0.024618668481707573, -0.020093539729714394, 0.05671932175755501, 0.0025974574964493513, 0.00847032479941845, 0.02223358303308487, -0.013640735298395157, -0.03953363001346588, -0.00856834277510643, 0.04753837361931801, 0.017790133133530617, 0.025860222056508064, -0.03937026858329773, 0.07756432890892029, 0.019178710877895355, 0.021955866366624832, -0.02135142683982849, 0.06380923837423325, -0.030793756246566772, -0.021220738068223, 0.020534615963697433, -0.09024122357368469, 0.025108754634857178, -0.012815756723284721, -0.04061181843280792, 0.045022595673799515, 0.043944407254457474, 0.005815690848976374, 0.029748238623142242, 0.03731190413236618, -0.022576643154025078, 0.0728594958782196, -0.024945393204689026, -0.0004318885621614754, -0.011296489275991917, 0.010953429155051708, 0.06926552951335907, -0.05426889285445213, 0.02324642799794674, 0.005325604695826769, 0.02594190277159214, 0.051622424274683, 0.02749384194612503, -0.0035919242072850466, 0.0003790511400438845, 0.012080627493560314, -0.041167251765728, 0.05920242518186569, -0.04015440493822098, 0.11265450716018677, 0.0280329380184412, -0.000521227193530649, -0.039827682077884674, -0.024945393204689026, -0.015421383082866669, -0.07547329366207123, 0.0039206906221807, -0.03280311077833176, -0.03450207784771919, 0.04979277029633522, 0.02904578298330307, 0.008106844499707222, -0.010920756496489048, -0.0024973980616778135, -0.009573019109666348, -0.05087095871567726, -0.027983928099274635, 0.02270733192563057, 0.048289839178323746, 0.03345656022429466, 0.016989659518003464, 0.026203282177448273, 0.034763455390930176, 0.006685594096779823, 0.005697253160178661, -0.04031776636838913, 0.0073512946255505085, -0.00027133425464853644, 0.007298201788216829, 0.03185560926795006, 0.003250905778259039, -0.033652592450380325, 0.07566932588815689, 0.013828601688146591, -0.049237336963415146, -0.021269746124744415, 0.032541729509830475, -0.016082998365163803, 0.04583940654993057, -0.01672828011214733, -0.010700217448174953, 0.01533153373748064, 0.059692513197660446, -0.02911112643778324, 0.055543117225170135, -0.01767577975988388, -0.03427337110042572, 0.06625966727733612, -0.000432143802754581, 0.03411000594496727, 0.042441476136446, 0.029470523819327354, -0.02077965997159481, 0.005292932037264109, -0.014098149724304676, 0.02853935956954956, 0.0005181641899980605, -0.021972203627228737, -0.0033999737352132797, -0.011500691995024681, 0.025223108008503914, -0.0001294134126510471, -0.033685266971588135, -0.0035857982002198696, -0.04842052608728409, -0.057568807154893875, -0.009728213772177696, -0.07874053716659546, -0.046166129410266876, -0.0036348067224025726, -0.028425006195902824, -0.015290693379938602, -0.048093803226947784, 0.03126750513911247, 0.005885120015591383, -0.03531888872385025, -0.04247414693236351, 0.0684160515666008, 0.030418023467063904, -0.05057690665125847, -0.039860352873802185, -0.021743496879935265, 0.0062036761082708836, 0.04891061410307884, -0.025027073919773102, 0.03607035428285599, 0.012325670570135117, -0.03855345770716667, -0.04966207966208458, -0.05596785619854927, -0.029470523819327354, -0.04793044179677963, 0.03134918957948685, 0.02492905780673027, 0.01059403270483017, 0.041984062641859055, 0.015192675404250622, 0.047309666872024536, -0.03943561017513275, -0.038945525884628296, -0.012391015887260437, -0.03551492094993591, -0.024438971653580666, -0.027444833889603615, -0.009042092598974705, 0.02001185715198517, -0.02540280669927597, 0.01499664131551981, -0.09187484532594681, -0.05678466707468033, -0.023556815460324287, -0.023034056648612022, -0.0011129042832180858, 0.013534550555050373, -0.016989659518003464, -0.015478559769690037, 0.00956485141068697, -0.04064449295401573, -0.05090363323688507, -0.02654634229838848, 0.016613926738500595, 0.026203282177448273, 0.05560845881700516, -0.07246743142604828, -0.02138409949839115, -0.05714406445622444, -0.007420723792165518, -0.01582161895930767, 0.09115605056285858, -0.012317502871155739, -0.03509017825126648, -0.03819406032562256, -0.01808418519794941, -0.03301548212766647, -0.00020190534996800125, 0.026807721704244614, -0.009973256848752499, -0.01811685785651207, 0.008049667812883854, 0.050152167677879333, 0.047080960124731064, 0.06109742820262909, 0.007653514388948679, -0.005182662978768349, -0.011672222055494785, -0.008650023490190506, -0.029911601915955544, -0.019652461633086205, -0.03727923333644867, -0.022315263748168945, 0.013412028551101685, 0.028686385601758957, -0.05113233998417854, 0.028457678854465485, -0.002511692466214299, 0.05867966637015343, 0.01957078091800213, 0.0007759699947200716, -0.023997893556952477, -0.04766906052827835, -0.048289839178323746, -0.0197994876652956, 0.04747302830219269, -0.07802174240350723, -0.033619921654462814, -0.019897503778338432, -0.004974375944584608, -0.029274489730596542, 0.04557802528142929, -0.007853632792830467, -0.007098083384335041, 0.053419407457113266, -0.02989526465535164, 0.04525130242109299, 0.06260035932064056, 0.0373772494494915, -0.061554841697216034, 0.06302510201931, 0.027787894010543823, -0.017349055036902428, -0.008086424320936203, -0.0379980243742466, -0.03427337110042572, 0.012864765711128712, 0.009344312362372875, 0.003052829299122095, -0.05616389214992523, 0.00644463486969471, 0.03740992024540901, -0.0029058034997433424, -0.04789776727557182, -0.02860470488667488, -0.0421147495508194, 0.023899875581264496, 0.006518147885799408, 0.03391397371888161, -0.059627167880535126, 0.002879257081076503, 0.023017721250653267, -0.017332719638943672, 0.020485607907176018, 0.03265608474612236, 0.048289839178323746, -0.03835742175579071, -0.02476569451391697, 0.046198803931474686, 0.04038311168551445, 0.03404466435313225, -0.06710915267467499, -0.023197418078780174, -0.07782571017742157, -0.023654833436012268, 0.003236611606553197, -0.00024351163301616907, 0.04675423353910446, 0.03620104119181633, 0.026137936860322952, 0.019913841038942337, -0.011459851637482643, 0.050119493156671524, 0.00763309421017766, 0.06011725589632988, 0.07011501491069794, 0.017937159165740013, -0.05456294119358063, 0.012807589024305344, -0.021482117474079132, 0.07906726002693176, -0.04476121813058853, 0.03327685967087746, -0.012284830212593079, -0.025451816618442535, -0.002695474773645401, -0.012145972810685635, 0.03433871269226074, 0.023524142801761627, 0.01422067079693079, -0.0004198916722089052, 0.011084118857979774, -0.04067716374993324, 0.02857203222811222, -0.023736514151096344, -0.04325828701257706, -0.007882221601903439, 0.04678690806031227, 0.03012397140264511, -0.013730584643781185, -0.0067591071128845215, 0.006489559542387724, -0.019309401512145996, -0.011794744059443474, 0.021449444815516472, 0.02017522044479847, -0.037900008261203766, 0.013028128072619438, -0.013109808787703514, 0.04936802759766579, -0.004610895179212093, 0.011043278500437737, 0.003830841276794672, 0.04597009718418121, 0.027003755792975426, 0.030516041442751884, -0.036821819841861725, 0.023230090737342834, 0.05498768389225006, 0.020256901159882545, 0.061718203127384186, 0.02705276384949684, 0.009728213772177696, -0.031120480969548225, -0.015168171375989914, 0.023328108713030815, -0.016654767096042633, 0.0019766814075410366, -0.0636785477399826, -0.0232791006565094, -0.035808973014354706, -0.01957078091800213, -0.05936579033732414, -0.022413279861211777, -0.017659444361925125, 0.042964234948158264, -0.0027261050418019295, -0.0338812991976738, 0.061620187014341354, -0.024063238874077797, -0.017594099044799805, -0.0017132600769400597, -0.01290560606867075, -0.024128582328557968, -0.014767934568226337, 0.010128450579941273, 0.022315263748168945, -0.0598558746278286, -0.03322785347700119, -0.009671036154031754, 0.02679138444364071, -0.03597233444452286, 0.009311639703810215, -0.10082709044218063, -0.029372505843639374, -0.0886729508638382, 0.010798235423862934, 0.01663026213645935, -0.038814835250377655, -0.007992491126060486, -0.020763322710990906, 0.07181397825479507, -0.040807854384183884, 0.03760595619678497, 0.04678690806031227, -0.014792438596487045, 0.012423687614500523, 0.012358343228697777, 0.005313352216035128, -0.031512551009655, -0.013632567599415779, 0.042996905744075775, 0.02077965997159481, -0.03760595619678497, -0.047211647033691406, -0.010651209391653538, -0.07789105176925659, 0.01398379635065794, -0.010683882050216198, 0.08547105640172958, 0.04365035519003868, 0.010871748439967632, 0.046198803931474686, 0.024308281019330025, 0.08161570876836777, -0.03218233585357666, -0.023099401965737343, -0.05103432014584541, 0.024063238874077797, 0.029127463698387146, -0.042964234948158264, -0.005002964287996292, -0.007375799119472504, 0.01875397004187107, -0.022592978551983833, -0.004296423401683569, -0.007057243026793003, -0.010406166315078735, -0.082334503531456, -0.025794876739382744, 0.0579608753323555, 0.043977078050374985, 0.006665173918008804, 0.01862327940762043, 0.04737500846385956, 0.05724208056926727, -0.05691535770893097, 0.004892695229500532, -0.038880180567502975, 0.02657901495695114, -0.0414939746260643, -0.036854490637779236, 0.010471510700881481, 0.03161056712269783, -0.028588367626070976, -0.00951584242284298, -0.007396219298243523, -0.06639035791158676, -0.005268428009003401, -0.028931429609656334, -0.05113233998417854, -0.00557473162189126, 0.05802622064948082, -0.025549832731485367, -0.01426967978477478, -0.012382847256958485, -0.023491470143198967, -0.03275410085916519, 0.03652776777744293, -0.015641922131180763, 0.0608033761382103, 0.03319517895579338, -0.006383374333381653, -0.06472406536340714, -0.08449088037014008, 0.014212503097951412, 0.016042158007621765, 0.014620908536016941, 0.03144720569252968, -0.02853935956954956, -0.03185560926795006, 0.0017918781377375126, -0.009336144663393497, 0.016385219991207123, 0.00910743698477745, -0.013477373868227005, -0.014343192800879478, -0.07357829064130783, -0.012595218606293201, 0.026497334241867065, 0.0061873397789895535, 0.01221131719648838, -0.051622424274683, -0.02603991888463497, 0.00663658557459712, 0.0639725998044014, -0.004884527064859867, 0.025549832731485367, -0.01491495966911316, -0.016491403803229332, -0.010675713419914246, -0.008066004142165184, 0.02891509234905243, 0.051328372210264206, -0.0011578289559111, -0.041101906448602676, -0.04057914763689041, 0.037834662944078445, -0.024046901613473892, 0.01422067079693079, -0.050119493156671524, 0.002135959453880787, 0.003465318586677313, 0.011615045368671417, 0.00612199492752552, 0.05593518540263176, 0.015707265585660934, -0.020501943305134773, 0.0059790532104671, 0.010324484668672085, 0.06217561662197113, 0.03281944617629051, -0.02347513474524021, -0.006967393681406975, -0.027673540636897087, -0.05665397644042969, 0.04136328399181366, -0.027199789881706238, -0.02982991933822632, 0.048257164657115936, 0.05779751390218735, 0.01572360284626484, -0.005350108724087477, -0.011353665962815285, 0.016336210072040558, 0.005011132452636957, 0.038716819137334824, -0.024635005742311478, -0.038749489933252335, -0.013746920973062515, 0.10527054220438004, 0.04227811098098755, -0.022119229659438133, 0.047963112592697144, -0.06037863343954086, -0.05364811420440674, 0.028310652822256088, -0.007318622432649136, -0.04316026717424393, 0.01565825752913952, -0.0037328239995986223, -0.07527726143598557, 0.007535077165812254, 0.03714854270219803, -0.03897819668054581, 0.07468915730714798, 0.018296556547284126, -0.0015835914527997375, -0.04430380091071129, 0.034534748643636703, 0.01707134023308754, 0.016115671023726463, -0.010716553777456284, -0.01649957336485386, 0.012791252695024014, -0.010308148339390755, 0.011982610449194908, -0.012374679557979107, 0.05792820081114769, 0.015739938244223595, 0.03708319738507271, -0.022494962438941002, 0.004247414879500866, -0.056425269693136215, 0.007784204091876745, 0.03499216213822365, -0.010348989628255367, -0.025582505390048027, 0.015641922131180763, -0.007269613444805145, -0.11520295590162277, -0.011361834593117237, 0.0361030250787735, 0.035808973014354706, 0.0051704104989767075, -0.013730584643781185, 0.0020124169532209635, -0.05207983776926994, 0.00330195645801723, -0.04387906193733215, 0.021596470847725868, -0.04152664542198181, 0.016842633485794067, -0.04672156274318695, -0.027216127142310143, 0.045055270195007324, 0.020599961280822754, -0.016842633485794067, -0.029160136356949806, -0.047211647033691406, 0.02625229023396969, 0.059431131929159164, 0.03933759406208992, -0.02344246208667755, 0.047080960124731064, 0.032067980617284775, -0.0189990121871233, -0.005268428009003401, 0.08769277483224869, 0.021204400807619095, -0.002967064268887043, -0.03195362910628319, -0.017381727695465088, 0.03845543786883354, -0.08259587734937668, -0.03943561017513275, -0.0185252632945776, -0.0006386437453329563, 0.0456106998026371, 0.06449536234140396, 0.05309268459677696, -0.0000014038930657989113, 0.01906435750424862, -0.007481984328478575, 0.0579608753323555, -0.05518371984362602, -0.03597233444452286, -0.010937092825770378, 0.016385219991207123, -0.00509281363338232, -0.044238459318876266, 0.016164680942893028, -0.03306448832154274, 0.07847915589809418, -0.024373626336455345, 0.009442329406738281, -0.019113365560770035, -0.046198803931474686, 0.006338449660688639, 0.010022264905273914, 0.030891774222254753, 0.01121480856090784, -0.00020828668493777514, -0.03626638650894165, 0.020567288622260094, -0.013199658133089542, 0.005223503336310387, -0.0196361243724823, 0.01801883988082409, 0.04332362860441208, -0.049270011484622955, -0.001130261574871838, 0.008829722180962563, 0.019244056195020676, -0.005501219071447849, -0.022609315812587738, -0.05939846113324165, 0.04136328399181366, -0.020224228501319885, -0.04155931994318962, -0.05609854683279991, -0.01926039159297943, -0.02857203222811222, 0.004045254085212946, -0.064626045525074, 0.11572571843862534, -0.02594190277159214, 0.00883788987994194, 0.005717673804610968, 0.02125340886414051, 0.008829722180962563, 0.01398379635065794, 0.06377656757831573, -0.013942955993115902, 0.01560108084231615, -0.010389829985797405, 0.026530005037784576, -0.008543837815523148, -0.011280152946710587, 0.06021527200937271, -0.002722020959481597, -0.014906791970133781, 0.01430235244333744, -0.07057242840528488, 0.007098083384335041, 0.019995521754026413, 0.02537013404071331, -0.054170873016119, 0.002924181753769517, 0.04476121813058853, -0.06197958067059517, -0.008429484441876411, -0.087431401014328, 0.0011517028324306011, 0.024030566215515137, -0.017283709719777107, 0.0007780120358802378, -0.012415519915521145, 0.00633436581119895, 0.03835742175579071, -0.013624399900436401, 0.029192807152867317, 0.03164323791861534, 0.030924446880817413, -0.03701785206794739, -0.004304591566324234, 0.016475068405270576, -0.06789328902959824, 0.01319148950278759, -0.025174099951982498, -0.009932415559887886, -0.006938805337995291, 0.12219485640525818, -0.004794677719473839, -0.09906277805566788, -0.03430604189634323, -0.005542059428989887, 0.05502035841345787, 0.050054147839546204, -0.012366510927677155, 0.02223358303308487, 0.0045945593155920506, 0.01690797694027424, 0.013869442977011204, 0.03249272331595421, -0.006093406584113836, 0.008739872835576534, -0.003687899559736252, -0.018410909920930862, -0.03345656022429466, -0.0015335617354139686, 0.03224768117070198, -0.04485923424363136, -0.0062240962870419025, 0.00410651508718729, -0.014759765937924385, 0.019391082227230072, 0.00341631006449461, 0.02473302185535431, 0.026072591543197632, 0.04548000916838646, 0.0791979506611824, 0.006640669424086809, 0.03907621651887894, 0.011998946778476238, 0.023540480062365532, -0.05508570000529289, 0.008527501486241817, 0.05730742588639259, -0.03144720569252968, -0.031561557203531265, 0.04469587281346321, 0.048093803226947784, 0.021237073466181755, -0.0351555235683918, 0.02986259199678898, 0.04012173414230347, -0.021335091441869736, -0.04786509647965431, -0.025762204080820084, -0.005807522684335709, -0.036821819841861725, -0.034534748643636703, 0.0037409921642392874, 0.05096897482872009, -0.028735393658280373, 0.07593070715665817, 0.016826296225190163, 0.01498030498623848 ]
42,045
patch_ng
_detect_type
detect and return type for the specified Patch object analyzes header and filenames info NOTE: must be run before filenames are normalized
def _detect_type(self, p): """ detect and return type for the specified Patch object analyzes header and filenames info NOTE: must be run before filenames are normalized """ # check for SVN # - header starts with Index: # - next line is ===... delimiter # - filename is followed by revision number # TODO add SVN revision if (len(p.header) > 1 and p.header[-2].startswith(b"Index: ") and p.header[-1].startswith(b"="*67)): return SVN # common checks for both HG and GIT DVCS = ((p.source.startswith(b'a/') or p.source == b'/dev/null') and (p.target.startswith(b'b/') or p.target == b'/dev/null')) # GIT type check # - header[-2] is like "diff --git a/oldname b/newname" # - header[-1] is like "index <hash>..<hash> <mode>" # TODO add git rename diffs and add/remove diffs # add git diff with spaced filename # TODO http://www.kernel.org/pub/software/scm/git/docs/git-diff.html # Git patch header len is 2 min if len(p.header) > 1: # detect the start of diff header - there might be some comments before for idx in reversed(range(len(p.header))): if p.header[idx].startswith(b"diff --git"): break if p.header[idx].startswith(b'diff --git a/'): if (idx+1 < len(p.header) and re.match(b'(?:index \\w{7}..\\w{7} \\d{6}|new file mode \\d*)', p.header[idx+1])): if DVCS: return GIT # HG check # # - for plain HG format header is like "diff -r b2d9961ff1f5 filename" # - for Git-style HG patches it is "diff --git a/oldname b/newname" # - filename starts with a/, b/ or is equal to /dev/null # - exported changesets also contain the header # # HG changeset patch # # User [email protected] # ... # TODO add MQ # TODO add revision info if len(p.header) > 0: if DVCS and re.match(b'diff -r \\w{12} .*', p.header[-1]): return HG if DVCS and p.header[-1].startswith(b'diff --git a/'): if len(p.header) == 1: # native Git patch header len is 2 return HG elif p.header[0].startswith(b'# HG changeset patch'): return HG return PLAIN
(self, p)
[ 0.03748811408877373, -0.04230116680264473, -0.021955953910946846, 0.02905089035630226, -0.016212889924645424, -0.11167814582586288, 0.029990490525960922, 0.05530215799808502, -0.03888792544603348, -0.052195727825164795, 0.044333770871162415, -0.033806417137384415, -0.04563770443201065, -0.05023982375860214, -0.011754585430026054, -0.01039312407374382, -0.05576236918568611, 0.04862908273935318, 0.03610747680068016, -0.04582946002483368, 0.009913736023008823, 0.027497675269842148, 0.010680756531655788, 0.027823658660054207, 0.03815925493836403, 0.013365327380597591, 0.07819771021604538, -0.038274310529232025, 0.015512984246015549, -0.03346125781536102, -0.026270443573594093, -0.01891663670539856, 0.006016314961016178, 0.007056585978716612, -0.0372963584959507, -0.0183126088231802, 0.020613668486475945, 0.07148628681898117, -0.017746930941939354, 0.001659879693761468, -0.07432425767183304, 0.015407518483698368, -0.033403731882572174, -0.00593002513051033, -0.04322158917784691, -0.020479440689086914, -0.101016566157341, -0.01592525839805603, 0.0017329863039776683, 0.043068185448646545, -0.021840900182724, -0.0477086566388607, -0.031735461205244064, -0.02291473001241684, -0.016289591789245605, -0.01673062890768051, 0.03064245730638504, 0.05714300647377968, -0.031735461205244064, 0.06324081867933273, 0.016423821449279785, 0.03142865374684334, 0.0011559234699234366, -0.022339463233947754, -0.047325149178504944, -0.0450240857899189, 0.04015350714325905, -0.02778530865907669, -0.04709504172205925, 0.021476566791534424, -0.06722932308912277, 0.010143842548131943, 0.02444876916706562, 0.007425714749842882, 0.05384482070803642, 0.0022878774907439947, 0.0363951101899147, 0.013768012635409832, 0.10293411463499069, 0.01725795492529869, 0.008101651445031166, 0.03829348459839821, 0.021073881536722183, -0.02398855797946453, 0.070335753262043, -0.00288831046782434, 0.06247379630804062, 0.026538899168372154, 0.007871544919908047, -0.023566696792840958, -0.036740269511938095, 0.003626567544415593, 0.04410366341471672, -0.022128533571958542, -0.0014837047783657908, 0.0030992410611361265, 0.010786222293972969, -0.0020469853188842535, -0.02843727543950081, -0.021073881536722183, -0.003406049218028784, 0.054189980030059814, -0.022281937301158905, 0.012464079074561596, 0.014602147974073887, 0.005105478223413229, 0.0032957899384200573, 0.014966482296586037, -0.07938659191131592, -0.027075814083218575, -0.010930038057267666, -0.12141930311918259, -0.022742150351405144, -0.041073933243751526, 0.09595423191785812, -0.06335587054491043, -0.052195727825164795, -0.021553268656134605, -0.02124646119773388, -0.03257918357849121, -0.028475625440478325, 0.03555138781666756, -0.020671194419264793, 0.02398855797946453, 0.012512017041444778, -0.01772775501012802, 0.035071998834609985, -0.029070066288113594, 0.010172605514526367, 0.015052772127091885, -0.007070967927575111, 0.04602121189236641, -0.06527341902256012, 0.02558012492954731, -0.003298186929896474, 0.03938648849725723, -0.06983719021081924, -0.006797716952860355, 0.04011515900492668, -0.06822644919157028, -0.0019954510498791933, -0.03302022069692612, -0.01871529407799244, -0.046596478670835495, -0.08698009699583054, 0.04283807799220085, 0.02924264594912529, -0.04483233392238617, 0.0018036960391327739, 0.05886880308389664, -0.011102617718279362, -0.05537886172533035, 0.025292491540312767, -0.02205183170735836, 0.007837987504899502, -0.02164914645254612, -0.052464183419942856, -0.06745942682027817, -0.014372041448950768, 0.03378723934292793, 0.0563376359641552, -0.06523507088422775, 0.03037400171160698, 0.01292429119348526, 0.020671194419264793, 0.000020973209757357836, 0.013518731109797955, -0.07068091630935669, -0.0033389348536729813, 0.0151198860257864, -0.0005770628922618926, 0.05909890681505203, -0.02544589526951313, 0.021227285265922546, 0.030987616628408432, 0.07102607190608978, 0.009233006276190281, -0.016673102974891663, -0.030086368322372437, 0.01925220713019371, 0.02651972509920597, -0.010431475006043911, -0.030527405440807343, 0.09342306107282639, -0.013298213481903076, 0.038657817989587784, 0.01791951060295105, -0.04387355595827103, 0.024678876623511314, 0.026730654761195183, -0.04134238883852959, -0.031754638999700546, -0.010019201785326004, 0.0351678766310215, 0.02891666255891323, 0.011764172464609146, 0.018360545858740807, 0.02097800374031067, 0.059520769864320755, -0.01605948619544506, -0.04774700850248337, -0.005843735300004482, -0.008370107971131802, 0.04920434579253197, -0.04809216782450676, 0.004585342947393656, 0.04736349731683731, 0.026232091709971428, -0.049127645790576935, 0.020268509164452553, -0.034132398664951324, -0.01885911077260971, -0.019472725689411163, 0.04575275629758835, 0.02304895780980587, -0.05986592918634415, 0.03938648849725723, 0.020862950012087822, -0.035397984087467194, 0.03555138781666756, -0.018092090263962746, 0.05334625765681267, -0.003233469557017088, 0.044793982058763504, 0.012166858650743961, -0.012042217887938023, -0.017027849331498146, 0.07842782139778137, 0.035685617476701736, -0.05576236918568611, -0.014333690516650677, -0.054650191217660904, 0.029357699677348137, 0.024793928489089012, 0.0005497977253980935, 0.00751200458034873, 0.0011721027549356222, 0.004633281379938126, 0.015206175856292248, -0.007564736995846033, 0.019002925604581833, -0.006567610893398523, 0.007104524876922369, 0.031812164932489395, -0.029280997812747955, -0.10377783328294754, 0.012991405092179775, -0.026232091709971428, 0.0010151033056899905, -0.0032718207221478224, -0.033480431884527206, -0.013394090346992016, 0.004913723561912775, -0.04042196646332741, 0.016069073230028152, -0.013116045854985714, -0.03269423544406891, -0.03129442408680916, 0.06408453732728958, -0.018686531111598015, -0.029089242219924927, -0.00288831046782434, 0.06761283427476883, 0.027056638151407242, -0.04682658612728119, -0.07524468749761581, 0.06350927799940109, 0.025273315608501434, -0.01565680094063282, 0.02044108882546425, 0.04003845527768135, -0.002794829895719886, -0.030527405440807343, 0.01202304195612669, -0.01872488111257553, -0.03031647391617298, 0.028724906966090202, 0.02837974764406681, 0.05921396240592003, 0.008489955216646194, 0.00955898966640234, -0.0006100207683630288, 0.018811171874403954, 0.023892680183053017, -0.006160131189972162, 0.020095929503440857, -0.03484189510345459, -0.04372015222907066, -0.040997229516506195, 0.016596399247646332, -0.0012206407263875008, 0.014439155347645283, -0.007545561529695988, -0.03091091476380825, -0.012042217887938023, 0.09557072073221207, 0.025330843403935432, -0.057986728847026825, 0.03484189510345459, -0.059329014271497726, -0.05863869562745094, 0.03585819527506828, 0.04790041223168373, -0.03616500273346901, -0.05760321766138077, 0.006107398774474859, 0.015177412889897823, -0.06868666410446167, -0.003319759387522936, -0.02697993628680706, 0.033480431884527206, 0.03192721679806709, -0.0022878774907439947, 0.0029506308492273092, 0.021936777979135513, 0.006126574240624905, 0.020402738824486732, 0.007622263394296169, -0.036548513919115067, 0.04483233392238617, -0.03131360188126564, 0.056721147149801254, 0.02186007611453533, 0.029491927474737167, 0.05008642002940178, -0.05035487934947014, -0.006697045173496008, -0.013154396787285805, -0.01186005026102066, 0.05748816579580307, -0.052195727825164795, -0.012368201278150082, 0.0603644922375679, 0.03689367324113846, 0.02485145628452301, -0.0175264123827219, 0.0030992410611361265, -0.06381608545780182, -0.003116019768640399, -0.041188985109329224, 0.0649666115641594, -0.02431454136967659, 0.0060354904271662235, 0.014515858143568039, 0.051467057317495346, 0.003288599196821451, 0.039731647819280624, -0.023835154250264168, 0.012876352295279503, 0.028744082897901535, -0.020210983231663704, -0.039271436631679535, -0.04283807799220085, -0.012559955939650536, 0.008739236742258072, -0.021610794588923454, -0.023758452385663986, -0.049856316298246384, 0.0287824347615242, 0.01698949746787548, 0.04256962239742279, 0.05288604646921158, 0.02905089035630226, 0.0038422918878495693, -0.04245457053184509, -0.04970291256904602, -0.0014525445876643062, 0.03823595866560936, -0.01786198280751705, -0.030201422050595284, -0.028801608830690384, 0.01992334984242916, 0.012080568820238113, -0.11374910175800323, -0.006615549325942993, -0.03390229493379593, 0.004611709155142307, -0.011677882634103298, -0.035800669342279434, -0.002504800446331501, -0.012713360600173473, 0.06362432986497879, -0.059329014271497726, 0.04475563019514084, -0.04057537019252777, -0.0245829988270998, -0.024678876623511314, -0.010460237972438335, 0.03018224611878395, 0.018082501366734505, -0.0005737670580856502, -0.01395976822823286, 0.026155389845371246, -0.00739695131778717, -0.024141961708664894, 0.0021332749165594578, -0.010306834243237972, 0.017756517976522446, -0.07037410885095596, 0.02571435272693634, 0.07700882852077484, -0.021361513063311577, 0.03957824409008026, 0.05641433596611023, -0.0260403361171484, 0.0002744494122453034, 0.06408453732728958, 0.02404608391225338, -0.035685617476701736, 0.009304913692176342, -0.012646245770156384, 0.01819755509495735, 0.0014357659965753555, -0.049664560705423355, -0.012751711532473564, 0.03744976222515106, 0.0025599300861358643, 0.0038422918878495693, 0.007842781953513622, 0.009266562759876251, -0.00011205686314497143, 0.017842808738350868, 0.02617456577718258, 0.06611714512109756, 0.000829939846880734, 0.023739276453852654, -0.010489001870155334, -0.003926184959709644, -0.06956873834133148, 0.042147763073444366, 0.015091123059391975, 0.028418099507689476, 0.0066347247920930386, 0.01791951060295105, 0.02044108882546425, -0.024199487641453743, -0.020479440689086914, 0.022416166961193085, -0.017334656789898872, 0.010201369412243366, -0.0028691350016742945, 0.04046031832695007, -0.003693681675940752, 0.019769946113228798, 0.057718273252248764, -0.030009666457772255, -0.004592533688992262, -0.05541720986366272, -0.04717174544930458, -0.029127592220902443, -0.008739236742258072, 0.03491859510540962, 0.012138094753026962, 0.002993775764480233, 0.014055646024644375, -0.029798734933137894, -0.07037410885095596, 0.1037011370062828, -0.010019201785326004, -0.002066160785034299, -0.03604995086789131, 0.04046031832695007, 0.06458310037851334, 0.0059923455119132996, 0.01232985034584999, -0.09043168276548386, 0.018609827384352684, -0.014602147974073887, -0.021572444587945938, 0.020364386960864067, -0.0033868737518787384, -0.02797706238925457, -0.004475083667784929, 0.10477495938539505, -0.054458435624837875, 0.034400857985019684, -0.02072872221469879, 0.028475625440478325, -0.036280058324337006, -0.04701834172010422, 0.010297246277332306, 0.010009613819420338, -0.04003845527768135, 0.009707599878311157, 0.008700885809957981, -0.06972213834524155, 0.02297225594520569, -0.01002878975123167, -0.009319296106696129, -0.0691085234284401, -0.017746930941939354, -0.01465008594095707, -0.01555133517831564, 0.01491854339838028, 0.03436250612139702, 0.025791054591536522, 0.008959755301475525, -0.0019055658485740423, 0.005345172248780727, -0.01978912204504013, 0.03457343578338623, -0.011361487209796906, 0.033346205949783325, -0.04441047087311745, 0.029089242219924927, -0.06136161834001541, 0.027862010523676872, 0.0007885926752351224, -0.00865774042904377, 0.026673128828406334, -0.07796760648488998, -0.0357239656150341, 0.05537886172533035, 0.03110267035663128, 0.019884999841451645, 0.047325149178504944, 0.024333717301487923, 0.0036553307436406612, -0.04268467426300049, 0.022416166961193085, -0.0022123740054666996, -0.06891676783561707, 0.009669248946011066, -0.09043168276548386, 0.03792915120720863, 0.03336538001894951, 0.002368174958974123, -0.005546514876186848, 0.04095888137817383, -0.06945367902517319, -0.002339411759749055, -0.0012763695558533072, 0.01838931068778038, -0.00288831046782434, 0.037545640021562576, -0.032368253916502, -0.028897486627101898, 0.007770873606204987, -0.035608913749456406, -0.036069124937057495, 0.0074448902159929276, -0.003576231887564063, -0.0030608901288360357, -0.0019954510498791933, -0.00007041006028885022, 0.014535033144056797, 0.01824549399316311, -0.029491927474737167, -0.04690328612923622, -0.01871529407799244, -0.0035139115061610937, 0.012205209583044052, -0.003231072798371315, 0.05234913155436516, -0.00048058610991574824, 0.07071926444768906, 0.0463663712143898, 0.004645266104489565, 0.0519656203687191, -0.023739276453852654, -0.017900334671139717, -0.018638592213392258, 0.0048034642823040485, 0.02565682679414749, -0.060863055288791656, 0.030489053577184677, 0.0421094112098217, 0.03204226866364479, -0.03325032815337181, -0.0008179551805369556, 0.015896493569016457, 0.026730654761195183, 0.01678815484046936, -0.017334656789898872, 0.025944458320736885, -0.011687470600008965, 0.0007172837504185736, 0.0363951101899147, 0.008044124580919743, 0.00045871405745856464, 0.025541773065924644, -0.03549386188387871, 0.0316971093416214, -0.027593553066253662, -0.04694163799285889, -0.023931030184030533, -0.0006160131306387484, 0.005580072291195393, 0.013566670008003712, 0.056529391556978226, -0.05227242782711983, -0.014074821025133133, 0.06481321156024933, -0.059980981051921844, -0.03137112781405449, 0.03957824409008026, -0.0004796872672159225, -0.024736402556300163, 0.009913736023008823, -0.012531192973256111, 0.018494775518774986, -0.04471727833151817, -0.029664507135748863, -0.008916609920561314, 0.05430503189563751, -0.049050942063331604, -0.003528292989358306, -0.00504315784201026, 0.009170685894787312, -0.057449813932180405, 0.050584983080625534, 0.007162051275372505, 0.019146742299199104, 0.001616734778508544, -0.009467906318604946, 0.03451590985059738, 0.04498573765158653, -0.000858703104313463, 0.009511050768196583, -0.03716212883591652, -0.027094990015029907, 0.04421871528029442, 0.044333770871162415, 0.010278071276843548, 0.0021440612617880106, 0.0028403718024492264, -0.04042196646332741, -0.044870682060718536, -0.01744971051812172, -0.0846790298819542, 0.027267569676041603, 0.016184126958251, 0.022933904081583023, -0.009654867462813854, 0.007061379961669445, 0.00724354712292552, 0.00846119225025177, -0.06021108850836754, -0.03298186883330345, 0.08076722919940948, 0.005143829621374607, -0.06216698884963989, 0.02770860493183136, 0.004175466485321522, -0.027459323406219482, 0.0018360547255724669, 0.013624196872115135, -0.0422244630753994, 0.07091102004051208, 0.01665392704308033, -0.011198495514690876, 0.04387355595827103, -0.0007514401222579181, -0.020095929503440857, -0.06220534071326256, 0.08329840004444122, 0.012080568820238113, -0.005599247757345438, -0.052387479692697525, -0.023605046793818474, 0.017401771619915962, 0.012866764329373837, 0.0518505685031414, 0.021419038996100426, 0.003772780764847994, 0.014832253567874432, 0.046788234263658524, -0.04444882273674011, 0.051927268505096436, 0.01671145297586918, -0.005949200596660376, 0.023796802386641502, 0.011275197379291058, -0.01369131077080965, -0.003907009493559599, -0.07221495360136032, 0.05894550308585167, 0.0562225840985775, 0.03844688832759857, -0.0032718207221478224, 0.007770873606204987, 0.021879252046346664, -0.018341371789574623, 0.003187927883118391, 0.04467892646789551, 0.06335587054491043, 0.013279037550091743, -0.02364339865744114, 0.050124771893024445, -0.021303987130522728, -0.02857150323688984, 0.020536966621875763, 0.02916594408452511, 0.036280058324337006, -0.04057537019252777, -0.015100711025297642, -0.02550342306494713, 0.02697993628680706, -0.0068983882665634155, -0.013748837634921074, 0.049856316298246384, -0.03909885510802269, -0.013739249669015408, 0.02791953645646572, -0.00959734059870243, 0.0032862022053450346, -0.04931940138339996, -0.02186007611453533, -0.030469877645373344, -0.02118893340229988, -0.05975087732076645, 0.02918512001633644, 0.040191859006881714, -0.04697998985648155, 0.07777585089206696, -0.016289591789245605, -0.04191765561699867, -0.0019247414311394095, 0.04628967121243477, -0.02072872221469879, -0.012051804922521114, 0.010805397294461727, 0.032349079847335815, 0.07773750275373459, 0.02598281018435955, -0.018303019925951958, 0.04540759697556496, -0.06684581190347672, -0.026960760354995728, 0.03269423544406891, -0.018552301451563835, 0.01697991043329239, 0.00935764703899622, -0.055532265454530716, 0.002236343454569578, -0.013835127465426922, 0.04709504172205925, -0.0026078687515109777, 0.012416140176355839, -0.001943916897289455, -0.018609827384352684, -0.01864817924797535, -0.08966466784477234, 0.003130401251837611, -0.013317388482391834, 0.012531192973256111, 0.0798468068242073, 0.016951147466897964, -0.04046031832695007, -0.013739249669015408, 0.0477086566388607, -0.08544605225324631, -0.026001986116170883, -0.041725900024175644, 0.018063325434923172, 0.0031999126076698303, 0.009626103565096855, 0.0006657495978288352, 0.0259252842515707, 0.05169716477394104, 0.04095888137817383, -0.02590610831975937, 0.025024034082889557, 0.0000663652244838886, 0.012147682718932629, -0.012972229160368443, -0.060594599694013596, 0.011907989159226418 ]
42,046
patch_ng
_match_file_hunks
null
def _match_file_hunks(self, filepath, hunks): matched = True fp = open(abspath(filepath), 'rb') class NoMatch(Exception): pass lineno = 1 line = fp.readline() try: for hno, h in enumerate(hunks): # skip to first line of the hunk while lineno < h.starttgt: if not len(line): # eof debug("check failed - premature eof before hunk: %d" % (hno+1)) raise NoMatch line = fp.readline() lineno += 1 for hline in h.text: if hline.startswith(b"-"): continue if not len(line): debug("check failed - premature eof on hunk: %d" % (hno+1)) # todo: \ No newline at the end of file raise NoMatch if line.rstrip(b"\r\n") != hline[1:].rstrip(b"\r\n"): debug("file is not patched - failed hunk: %d" % (hno+1)) raise NoMatch line = fp.readline() lineno += 1 except NoMatch: matched = False # todo: display failed hunk, i.e. expected/found fp.close() return matched
(self, filepath, hunks)
[ -0.001583376433700323, -0.047086600214242935, -0.02829342894256115, 0.07649216055870056, -0.0583210326731205, -0.03419339284300804, 0.03261001408100128, 0.06857527792453766, -0.04765209183096886, -0.00007028147228993475, 0.010800889693200588, 0.049838658422231674, 0.007723672315478325, -0.05255301669239998, -0.011620852164924145, -0.012638736516237259, -0.015466194599866867, 0.06744429469108582, 0.009113838896155357, -0.06258106976747513, -0.004502726718783379, 0.03298700973391533, -0.04267576336860657, 0.039659809321165085, -0.00607903441414237, 0.0383780300617218, 0.01927383802831173, 0.02490047924220562, 0.02495702914893627, -0.011366380378603935, -0.013826269656419754, -0.043278954923152924, -0.01483472902327776, 0.05613446608185768, -0.026672352105379105, -0.04214797168970108, 0.0074126520194113255, -0.027595989406108856, -0.011969571933150291, -0.009085564874112606, 0.038717322051525116, 0.0950779840350151, 0.021978773176670074, -0.014438885264098644, -0.0019108903361484408, 0.012817809358239174, -0.06763279438018799, 0.05066804587841034, -0.0015444988384842873, 0.055305078625679016, -0.002249007113277912, -0.02648385614156723, -0.03781253844499588, -0.01172452513128519, 0.049838658422231674, 0.008298588916659355, -0.01622960902750492, 0.03298700973391533, -0.011677401140332222, -0.013807419687509537, -0.02620111033320427, -0.015701815485954285, 0.05247762054204941, -0.01006575021892786, 0.0007492763688787818, 0.005287346430122852, 0.034325338900089264, -0.0913834422826767, -0.009033728390932083, -0.0069649713113904, 0.004971613641828299, 0.04561632126569748, 0.018501000478863716, -0.04180867597460747, 0.008849943056702614, 0.01789780892431736, 0.018642373383045197, 0.05700154975056648, 0.015136324800550938, 0.0013807419454678893, -0.06303346157073975, -0.006305231247097254, 0.03455153480172157, 0.00351782888174057, -0.00351782888174057, -0.0010396798606961966, 0.09025245904922485, -0.002311446936801076, -0.024919329211115837, -0.03285505995154381, -0.009905527345836163, 0.02727554365992546, 0.013015731237828732, -0.09108184278011322, 0.045201625674963, 0.015089200809597969, 0.05862262845039368, 0.00438727205619216, -0.04101698845624924, -0.010555842891335487, -0.021639477461576462, 0.015852613374590874, 0.023505600169301033, 0.020621592178940773, 0.031064337119460106, 0.011093059554696083, -0.017850684002041817, 0.015711240470409393, -0.07407939434051514, -0.007092206738889217, -0.018435025587677956, -0.12229698151350021, 0.02092318795621395, 0.04885847121477127, 0.06423984467983246, -0.07811323553323746, -0.013420999981462955, 0.031950272619724274, -0.014778180047869682, -0.031931426376104355, 0.04233647137880325, -0.03268541395664215, 0.01269528642296791, -0.012827234342694283, 0.0373978428542614, -0.039659809321165085, 0.024768531322479248, -0.00797343160957098, 0.026823149994015694, 0.026672352105379105, -0.03700200095772743, 0.037416692823171616, -0.016427529975771904, -0.025202075019478798, -0.0809783935546875, 0.0705733522772789, -0.006003635469824076, -0.016323857009410858, 0.06966856122016907, -0.037077397108078, 0.04678500443696976, -0.004066826775670052, 0.01580549031496048, -0.02554137073457241, -0.05941431596875191, 0.04750129207968712, -0.00591881200671196, 0.0021170591935515404, 0.06932926923036575, 0.011149609461426735, -0.009999776259064674, -0.06601171940565109, -0.024052241817116737, 0.02972600795328617, 0.004158719442784786, -0.01465565711259842, -0.013816844671964645, 0.00020911407773382962, -0.006017772946506739, -0.006352355238050222, 0.04354285076260567, -0.057190049439668655, 0.019886454567313194, 0.03136593475937843, -0.023637548089027405, 0.0015975136775523424, -0.05176132917404175, -0.06099769100546837, -0.012770685367286205, 0.0031102036591619253, -0.027954133227467537, 0.06480533629655838, 0.006833023391664028, 0.04859457537531853, 0.02092318795621395, 0.00032869199640117586, -0.027972983196377754, -0.02987680584192276, -0.017878958955407143, 0.0052072349935770035, -0.04900927096605301, -0.027087047696113586, 0.01255391351878643, 0.04561632126569748, -0.004726567305624485, 0.061525482684373856, -0.026163410395383835, -0.0356636680662632, 0.02633305825293064, 0.04870767518877983, 0.035248976200819016, -0.007436214480549097, 0.04844377934932709, 0.053872499614953995, 0.012874358333647251, -0.0064371791668236256, 0.05391019582748413, 0.04957476258277893, 0.019094765186309814, -0.03355250135064125, -0.03441958874464035, -0.034966230392456055, -0.0165877528488636, 0.02808608114719391, -0.005956511478871107, 0.028915470466017723, -0.0022890628315508366, 0.002127662068232894, -0.05266611650586128, 0.04735049605369568, -0.0487830750644207, -0.06540852785110474, -0.028972018510103226, 0.03261001408100128, 0.01760563813149929, 0.058132532984018326, -0.0018849719781428576, 0.0030230237171053886, -0.07498418539762497, 0.024071091786026955, 0.0006944943452253938, 0.042261071503162384, -0.07177972793579102, 0.035625968128442764, -0.022713912650942802, 0.05768014118075371, 0.01421268843114376, 0.0864071175456047, 0.01703072153031826, -0.0051883854903280735, -0.029122816398739815, 0.010329646058380604, 0.038717322051525116, 0.021696027368307114, -0.01998070254921913, 0.04919776692986488, -0.004307161085307598, -0.008204340003430843, 0.02900971844792366, 0.0308946892619133, -0.018538698554039, 0.00021780261886306107, 0.03285505995154381, -0.015098624862730503, 0.01890626922249794, -0.05010255426168442, -0.03658730536699295, -0.01067836582660675, 0.013430424965918064, 0.020470796152949333, 0.026578104123473167, 0.05432489141821861, 0.037774838507175446, -0.00646074116230011, 0.00687543535605073, -0.06194017827510834, -0.03694545105099678, -0.04719969630241394, 0.06284496188163757, -0.002516437554731965, 0.0619024783372879, 0.07076184451580048, 0.03336400166153908, -0.025654468685388565, -0.0750218853354454, 0.01425981242209673, -0.0041822814382612705, 0.011083634570240974, -0.01573009043931961, -0.018133429810404778, 0.09274061769247055, 0.012902633287012577, -0.04105468839406967, 0.021827975288033485, -0.047086600214242935, 0.016427529975771904, 0.08670870959758759, -0.03658730536699295, -0.008468236774206161, 0.012685861438512802, -0.02375064603984356, 0.0169647466391325, 0.05036645010113716, 0.027124745771288872, 0.034834280610084534, 0.01617305912077427, -0.026691202074289322, -0.004000852815806866, 0.008826381526887417, 0.004349572584033012, -0.02324170432984829, -0.0278598852455616, 0.04395754635334015, -0.053382404148578644, 0.0035319661255925894, 0.0600552074611187, 0.006423041690140963, -0.02454233542084694, -0.06194017827510834, -0.04286426305770874, -0.053721699863672256, 0.011865898035466671, 0.062467969954013824, -0.022035321220755577, -0.040941592305898666, -0.031120887026190758, 0.012506788596510887, -0.0007940444047562778, -0.026088012382388115, -0.032949309796094894, 0.03709624707698822, 0.014919552952051163, -0.021036287769675255, -0.07309921085834503, 0.03117743507027626, -0.047086600214242935, -0.00827031396329403, 0.009123263880610466, 0.016842223703861237, 0.0031149161513894796, 0.04855687543749809, -0.02987680584192276, 0.01079146470874548, 0.032157622277736664, 0.07396630197763443, -0.05941431596875191, 0.02640845626592636, -0.0706864446401596, -0.04742589592933655, 0.0048066782765090466, 0.02801068313419819, -0.08919687569141388, -0.005452281329780817, 0.005112986546009779, 0.01172452513128519, -0.00894890446215868, -0.03773713856935501, -0.023976843804121017, 0.014910127967596054, 0.0055465297773480415, 0.0375109426677227, -0.014052465558052063, -0.0009059646399691701, -0.0418463759124279, 0.06243027001619339, -0.010471018962562084, -0.021187083795666695, 0.00996207632124424, -0.0522514209151268, 0.06563472002744675, 0.03428763896226883, -0.023072056472301483, -0.019094765186309814, -0.0022949534468352795, 0.018953392282128334, 0.06800978630781174, -0.01884029433131218, 0.04848147928714752, -0.0024269013665616512, 0.04610641300678253, 0.011422930285334587, 0.0016587752616032958, -0.043128158897161484, -0.0028981443028897047, -0.042826563119888306, 0.0011203802423551679, 0.01551331952214241, 0.003345825243741274, -0.07509728521108627, 0.020659292116761208, -0.033590201288461685, 0.018058031797409058, -0.0023962706327438354, -0.02671005204319954, 0.06665261089801788, -0.042034875601530075, 0.015183448791503906, -0.016078811138868332, -0.0295940600335598, -0.004123376216739416, -0.043844446539878845, 0.034834280610084534, -0.008882930502295494, 0.0089159170165658, -0.05847182869911194, 0.022035321220755577, -0.031007789075374603, -0.048896171152591705, -0.002053441246971488, 0.016427529975771904, 0.045427825301885605, -0.023637548089027405, 0.024297287687659264, 0.0283499788492918, -0.0435805507004261, -0.0017377084586769342, 0.019396360963582993, 0.022035321220755577, -0.036775801330804825, -0.01425038743764162, 0.05349550396203995, -0.057114649564027786, -0.029895655810832977, 0.04452303797006607, -0.005296770948916674, 0.028670422732830048, -0.0043660663068294525, 0.042261071503162384, -0.004175212699919939, 0.0015515675768256187, -0.04207257553935051, -0.018793169409036636, 0.003162040375173092, -0.07102574408054352, -0.049122367054224014, 0.030366897583007812, -0.05933891609311104, -0.03406144306063652, 0.017860108986496925, -0.01912304013967514, 0.009933802299201488, -0.010998811572790146, 0.04497542977333069, 0.031007789075374603, -0.0028062518686056137, -0.04324125498533249, -0.00949083361774683, -0.024485785514116287, -0.034099142998456955, 0.003901891876012087, -0.006536140106618404, -0.015381370671093464, 0.04546552151441574, 0.043128158897161484, 0.025748716667294502, -0.04162018001079559, 0.009340035729110241, -0.03377869725227356, -0.019452910870313644, 0.015928013250231743, -0.051497433334589005, 0.04991405829787254, 0.0176716111600399, 0.027294393628835678, 0.0204896442592144, -0.021809125319123268, 0.014024191536009312, -0.0548526830971241, 0.022977808490395546, 0.02013150043785572, -0.07509728521108627, -0.02418418973684311, -0.07694455236196518, -0.021111685782670975, 0.01025424711406231, -0.004234118387103081, -0.05673765391111374, 0.05210062488913536, -0.021639477461576462, -0.01035792101174593, -0.0037887936923652887, 0.032157622277736664, 0.030272649601101875, -0.04293965920805931, 0.03204452246427536, -0.04063999652862549, -0.025202075019478798, -0.016757400706410408, -0.020960887894034386, -0.000815839390270412, 0.00898660346865654, -0.014768755063414574, -0.02727554365992546, -0.005692615173757076, -0.013901667669415474, -0.008788681589066982, 0.00489150220528245, 0.08226017653942108, -0.032647714018821716, 0.023863743990659714, -0.025296323001384735, -0.03681350126862526, -0.028331128880381584, -0.015598142519593239, 0.01711554452776909, -0.022355766966938972, 0.013128829188644886, -0.07166663557291031, -0.035757917910814285, -0.08919687569141388, 0.0025989050045609474, -0.06819828599691391, -0.0147970300167799, -0.0139299426227808, 0.004971613641828299, -0.012930907309055328, -0.014994951896369457, 0.08685950934886932, 0.024636583402752876, -0.02627650834619999, 0.03630455955862999, 0.014306937344372272, -0.025447120890021324, 0.053985595703125, -0.02324170432984829, -0.011856473982334137, 0.05952741578221321, -0.02691739983856678, -0.011130759492516518, 0.011432355269789696, 0.007492763455957174, -0.004877364728599787, -0.00653142761439085, 0.03364674746990204, 0.036040663719177246, 0.054664187133312225, 0.005923524498939514, -0.009627494029700756, -0.029103966429829597, 0.049838658422231674, -0.014014766551554203, -0.018642373383045197, 0.0391320176422596, -0.035475172102451324, -0.03406144306063652, 0.012054395861923695, 0.016408680006861687, 0.00877454411238432, -0.01703072153031826, -0.06597401946783066, -0.01010344922542572, 0.0028840070590376854, -0.04474923387169838, -0.019283263012766838, -0.02207302115857601, -0.0027826898731291294, 0.01984875462949276, -0.0027591276448220015, 0.00901959091424942, -0.033458251506090164, -0.043278954923152924, 0.012874358333647251, 0.018859144300222397, -0.021771425381302834, -0.017492540180683136, 0.00159280130174011, -0.05383479967713356, -0.050630345940589905, -0.03153558075428009, 0.006229832302778959, 0.008062967099249363, 0.0013029868714511395, 0.01912304013967514, 0.017049571499228477, 0.04169557988643646, 0.014486009255051613, 0.029424412176012993, -0.008708570152521133, -0.013732020743191242, 0.0016069385455921292, 0.07095034420490265, 0.03031034953892231, 0.03996140509843826, -0.03204452246427536, -0.06107309088110924, -0.016125934198498726, 0.008604897186160088, 0.04014990106225014, -0.06356125324964523, 0.047086600214242935, -0.054098695516586304, 0.05066804587841034, -0.01622960902750492, 0.022713912650942802, -0.04655880853533745, -0.020188050344586372, 0.038132984191179276, 0.027237843722105026, 0.0340425930917263, -0.0326288640499115, 0.025786416605114937, -0.01172452513128519, 0.004594618920236826, -0.010084600187838078, -0.00952382106333971, 0.013270202092826366, -0.04625721275806427, 0.08625631779432297, 0.00837398786097765, 0.04222337156534195, 0.013911092653870583, 0.0007757837884128094, -0.02635190822184086, -0.05345780402421951, -0.0004986340063624084, 0.047953687608242035, 0.05036645010113716, -0.0024386823642998934, 0.05775554105639458, 0.04648340865969658, 0.0308946892619133, -0.04324125498533249, -0.020696992054581642, -0.04768979176878929, 0.006550277583301067, 0.02663465403020382, 0.01891569420695305, -0.02294010855257511, -0.014325786381959915, -0.013402150943875313, -0.0013171241153031588, 0.011309831403195858, 0.03125283494591713, -0.0775100439786911, -0.019358661025762558, 0.05594596639275551, 0.010565267875790596, 0.03613491356372833, -0.007045082747936249, -0.0023185154423117638, 0.01638983190059662, -0.0015268272254616022, 0.014410610310733318, 0.014674506150186062, 0.07253371924161911, 0.007605861872434616, -0.01093283761292696, 0.038001034408807755, -0.00952382106333971, -0.007021520286798477, 0.011677401140332222, 0.053872499614953995, 0.01834077760577202, 0.017351167276501656, -0.0036851202603429556, 0.013072280213236809, 0.0012075601844117045, -0.0766429603099823, 0.01464623212814331, 0.011988421902060509, -0.05375939980149269, -0.11302291601896286, -0.018152279779314995, 0.027954133227467537, -0.020018402487039566, 0.0031832463573664427, -0.00894890446215868, -0.015975136309862137, 0.06393824517726898, -0.02028229832649231, 0.06767049431800842, 0.0308946892619133, -0.004097457975149155, -0.037718288600444794, 0.02900971844792366, 0.016870498657226562, 0.004573413170874119, 0.008100667037069798, -0.00433307932689786, 0.03206337243318558, 0.021846825256943703, 0.005702040158212185, -0.012751835398375988, -0.0000714595807949081, 0.01999955251812935, 0.013392725959420204, 0.06748199462890625, -0.09553037583827972, 0.02092318795621395, 0.06325966119766235, -0.02806723304092884, -0.013392725959420204, -0.005127123557031155, 0.02987680584192276, 0.002580055268481374, -0.06039449945092201, 0.013967642560601234, 0.03594641387462616, -0.004135156981647015, -0.02071584202349186, 0.0018519848817959428, 0.030913539230823517, 0.0066539510153234005, -0.02252541482448578, 0.0030206674709916115, 0.13142023980617523, -0.030856991186738014, -0.0028203893452882767, 0.0347965806722641, -0.012601037509739399, -0.017002446576952934, -0.03466463461518288, 0.027256693691015244, 0.08060140162706375, -0.07351390272378922, 0.028161481022834778, 0.01711554452776909, 0.041243184357881546, -0.011451204307377338, -0.013345601037144661, -0.02599376253783703, 0.038132984191179276, 0.008699145168066025, 0.0053910198621451855, -0.015164598822593689, -0.027332093566656113, -0.017049571499228477, -0.007949869148433208, -0.06408904492855072, 0.001563348574563861, -0.053231608122587204, -0.015381370671093464, 0.04655880853533745, -0.029839105904102325, 0.04026300087571144, -0.10382425785064697, -0.0019980701617896557, -0.04048919677734375, 0.0643906444311142, -0.047312796115875244, -0.032723113894462585, 0.050404150038957596, -0.060507599264383316, 0.03521127626299858, -0.03579561784863472, -0.030121851712465286, -0.002997105475515127, -0.05345780402421951, -0.01999955251812935, 0.013845118694007397, 0.009434284642338753, -0.0012935620034113526, 0.0130628552287817, -0.020395396277308464, 0.0025918364990502596, -0.022186119109392166, -0.00988667830824852, -0.04090389236807823, 0.10932837426662445, 0.03268541395664215, -0.004858515225350857, -0.042034875601530075, -0.02640845626592636, -0.041243184357881546, 0.03342055156826973, 0.0461818128824234, 0.026596954092383385, 0.043052759021520615, -0.026314208284020424, 0.07743464410305023, 0.028312278911471367, -0.04248726740479469, -0.04335435479879379, 0.014674506150186062, 0.04919776692986488, 0.01933981291949749, 0.00033900042762979865, -0.022676212713122368, 0.03932051360607147, 0.021827975288033485, -0.000989610212855041, -0.03313780575990677, -0.011960146948695183, 0.012930907309055328, -0.018962817266583443, -0.0038665486499667168, -0.052138324826955795, 0.03257231414318085 ]
42,047
patch_ng
_normalize_filenames
sanitize filenames, normalizing paths, i.e.: 1. strip a/ and b/ prefixes from GIT and HG style patches 2. remove all references to parent directories (with warning) 3. translate any absolute paths to relative (with warning) [x] always use forward slashes to be crossplatform (diff/patch were born as a unix utility after all) return None
def _normalize_filenames(self): """ sanitize filenames, normalizing paths, i.e.: 1. strip a/ and b/ prefixes from GIT and HG style patches 2. remove all references to parent directories (with warning) 3. translate any absolute paths to relative (with warning) [x] always use forward slashes to be crossplatform (diff/patch were born as a unix utility after all) return None """ if debugmode: debug("normalize filenames") for i,p in enumerate(self.items): if debugmode: debug(" patch type = %s" % p.type) debug(" source = %s" % p.source) debug(" target = %s" % p.target) if p.type in (HG, GIT): debug("stripping a/ and b/ prefixes") if p.source != b'/dev/null': if not p.source.startswith(b"a/"): warning("invalid source filename") else: p.source = p.source[2:] if p.target != b'/dev/null': if not p.target.startswith(b"b/"): warning("invalid target filename") else: p.target = p.target[2:] p.source = xnormpath(p.source) p.target = xnormpath(p.target) sep = b'/' # sep value can be hardcoded, but it looks nice this way # references to parent are not allowed if p.source.startswith(b".." + sep): warning("error: stripping parent path for source file patch no.%d" % (i+1)) self.warnings += 1 while p.source.startswith(b".." + sep): p.source = p.source.partition(sep)[2] if p.target.startswith(b".." + sep): warning("error: stripping parent path for target file patch no.%d" % (i+1)) self.warnings += 1 while p.target.startswith(b".." + sep): p.target = p.target.partition(sep)[2] # absolute paths are not allowed if (xisabs(p.source) and p.source != b'/dev/null') or \ (xisabs(p.target) and p.target != b'/dev/null'): warning("error: absolute paths are not allowed - file no.%d" % (i+1)) self.warnings += 1 if xisabs(p.source) and p.source != b'/dev/null': warning("stripping absolute path from source name '%s'" % p.source) p.source = xstrip(p.source) if xisabs(p.target) and p.target != b'/dev/null': warning("stripping absolute path from target name '%s'" % p.target) p.target = xstrip(p.target) self.items[i].source = p.source self.items[i].target = p.target
(self)
[ -0.0049440208822488785, 0.008637774735689163, -0.027914702892303467, 0.0473865382373333, -0.04966839402914047, -0.09142635762691498, 0.02620331197977066, 0.07214467227458954, 0.010363428853452206, -0.04860353097319603, -0.001630576211027801, -0.021924830973148346, 0.01776995323598385, 0.03219318389892578, -0.04346935451030731, 0.03337214142084122, -0.016438869759440422, 0.06864582747220993, 0.026735743507742882, 0.012578730471432209, -0.0026479035150259733, -0.017104411497712135, -0.00838582031428814, 0.06149601563811302, 0.0024720104411244392, 0.030462775379419327, 0.03772668167948723, -0.0022402594331651926, 0.017884045839309692, -0.0373273603618145, 0.012360052205622196, 0.029226770624518394, 0.07031919062137604, -0.031964998692274094, 0.01832140050828457, -0.034494053572416306, -0.0031922212801873684, 0.03314395621418953, -0.040160663425922394, -0.05259677767753601, -0.008162388578057289, 0.0024838950484991074, -0.0014214060502126813, -0.0031589441932737827, 0.024701088666915894, 0.008813668042421341, -0.04841337352991104, 0.023959485813975334, -0.026488542556762695, 0.00918446946889162, -0.03169878199696541, 0.01647690124809742, 0.00418340228497982, 0.031394533812999725, 0.004896482452750206, 0.06347362697124481, 0.04061703383922577, 0.03622446209192276, 0.000896698038559407, -0.024453887715935707, 0.0191485732793808, 0.041415683925151825, 0.022153018042445183, -0.06959660351276398, -0.007059491705149412, -0.0727912038564682, 0.032896753400564194, -0.02637444995343685, -0.04244251921772957, 0.04654986038804054, -0.06765702366828918, -0.008495159447193146, -0.0016662301495671272, -0.016248716041445732, 0.03846828639507294, 0.022894620895385742, 0.029569048434495926, 0.041757963597774506, 0.07400818914175034, -0.025043368339538574, -0.00952199473977089, 0.023408038541674614, 0.01828336901962757, -0.007967479526996613, 0.05339542776346207, -0.005110406316816807, 0.07088965177536011, 0.041795991361141205, 0.014223568141460419, 0.04841337352991104, -0.026279373094439507, 0.007634709123522043, 0.013615073636174202, -0.03198401257395744, -0.005338591989129782, 0.025746939703822136, -0.004456749651581049, -0.020707841962575912, 0.04023672640323639, -0.023065758869051933, -0.00845237448811531, -0.006070687435567379, -0.06453848630189896, 0.015155325643718243, 0.02588004805147648, 0.0073637389577925205, 0.0028237965889275074, -0.03135650232434273, -0.05879581719636917, -0.03846828639507294, -0.05484060198068619, -0.07978889346122742, -0.016847701743245125, -0.029550032690167427, 0.03190794959664345, -0.0854935348033905, -0.06476667523384094, -0.04461028054356575, 0.055258940905332565, -0.04099734500050545, -0.01310165598988533, 0.023236898705363274, -0.0892205610871315, 0.01983313076198101, 0.04677804559469223, -0.05111357197165489, 0.027572425082325935, 0.019776083528995514, -0.004722966346889734, 0.0053813764825463295, -0.04970642551779747, 0.02858024463057518, -0.05609562247991562, 0.019443312659859657, 0.016191668808460236, -0.023370007053017616, -0.03854434937238693, 0.01255020685493946, 0.08070163428783417, -0.03858238086104393, 0.029093662276864052, -0.04339329153299332, 0.0050153289921581745, -0.009155946783721447, -0.037441451102495193, 0.02348409965634346, 0.03662378713488579, 0.01392882876098156, -0.021050119772553444, 0.05244465172290802, 0.0060183946043252945, -0.0001917888002935797, -0.009003822691738605, -0.017608320340514183, 0.07088965177536011, -0.006084948778152466, -0.03909579664468765, -0.05704639479517937, 0.024796167388558388, 0.02588004805147648, 0.03593922778964043, -0.11797194927930832, 0.04168190062046051, -0.012683315202593803, 0.0034893378615379333, -0.0038601395208388567, -0.004837058950215578, -0.07244892418384552, -0.0006286988500505686, 0.02842812053859234, 0.008371558971703053, 0.037042126059532166, -0.009802472777664661, 0.02804781123995781, 0.01713293418288231, 0.03841124102473259, 0.023883424699306488, 0.016239207237958908, -0.041757963597774506, 0.021430429071187973, 0.004392572678625584, -0.017608320340514183, 0.04864155873656273, 0.03932398185133934, 0.0013275172095745802, 0.05172206461429596, -0.007572908885776997, -0.02823796682059765, 0.03236432373523712, 0.04685410484671593, -0.011780080385506153, 0.000579674553591758, -0.010886354371905327, 0.05164600536227226, 0.0046754274517297745, -0.006850321311503649, -0.009579041041433811, -0.031242409721016884, 0.059822652488946915, -0.06244678795337677, -0.08336380124092102, -0.03785979002714157, 0.020156392827630043, 0.005595300812274218, -0.03076702356338501, -0.003522614948451519, -0.021791722625494003, 0.008262219838798046, -0.022685449570417404, 0.07237286120653152, 0.017779460176825523, -0.010772260837256908, -0.02129732072353363, -0.010163766331970692, -0.02730620838701725, -0.053623612970113754, 0.028865477070212364, 0.051988281309604645, -0.03932398185133934, 0.07533927261829376, -0.03652871027588844, 0.03352426365017891, -0.0009079884621314704, -0.024986321106553078, -0.012350544333457947, 0.013795720413327217, 0.030310651287436485, 0.10032559186220169, 0.0764041393995285, -0.02167763002216816, 0.0007196165388450027, -0.0947730764746666, -0.01609659194946289, 0.019795099273324013, 0.016239207237958908, -0.04282282665371895, 0.005224498920142651, -0.028675321489572525, 0.021202243864536285, -0.0209550429135561, -0.03970429301261902, -0.0400085374712944, 0.025937095284461975, 0.000227145676035434, 0.021525505930185318, -0.08267924189567566, 0.02203892357647419, -0.014641907997429371, 0.0040407865308225155, -0.025537770241498947, 0.01503172516822815, 0.05864369496703148, -0.014632401056587696, 0.01730407401919365, 0.016239207237958908, -0.015982499346137047, -0.01055358350276947, -0.027020975947380066, 0.023959485813975334, -0.01564972847700119, -0.0209550429135561, -0.015982499346137047, 0.016800163313746452, -0.007240138482302427, -0.021905815228819847, -0.05225449800491333, 0.03301084786653519, 0.009878533892333508, -0.02713506855070591, 0.042708735913038254, -0.01475600153207779, -0.017018841579556465, -0.04772881790995598, 0.06084948778152466, -0.05807323008775711, 0.026640666648745537, 0.017998138442635536, 0.00527203781530261, 0.0709657147526741, 0.001442798413336277, 0.025404661893844604, 0.012445622123777866, 0.0031518132891505957, 0.047234416007995605, 0.03057686798274517, -0.052862994372844696, -0.04902186989784241, -0.055639252066612244, -0.060925550758838654, 0.00831451267004013, 0.032839708030223846, 0.012768885120749474, 0.011352232657372952, -0.045066654682159424, -0.011181093752384186, 0.04791897162795067, -0.02859926037490368, -0.05879581719636917, -0.005276791751384735, -0.05936628207564354, -0.062332697212696075, 0.04426800459623337, 0.03875351697206497, 0.02369326911866665, -0.035768091678619385, -0.002937889425083995, -0.01792207546532154, -0.04126356169581413, -0.0014736985322088003, -0.017418166622519493, 0.06103964522480965, -0.0318509042263031, 0.021791722625494003, 0.026507558301091194, 0.06936841458082199, -0.015231387689709663, 0.040312785655260086, 0.017161456868052483, -0.028504183515906334, 0.061648137867450714, -0.04042688012123108, 0.05061917006969452, 0.001618691487237811, 0.049250055104494095, 0.01429012231528759, -0.01881580241024494, 0.04784291237592697, 0.007891418412327766, 0.0030400974210351706, 0.01613462157547474, -0.0227424968034029, 0.0006786144222132862, -0.018521063029766083, -0.005761685781180859, -0.012844947166740894, -0.012730853632092476, -0.022837573662400246, -0.07887615263462067, 0.03656673803925514, -0.046169549226760864, 0.021240275353193283, 0.04099734500050545, 0.0036129383370280266, 0.0015794720966368914, -0.00541940750554204, -0.022267110645771027, 0.027211131528019905, 0.004471011459827423, -0.015316957607865334, -0.02129732072353363, 0.027819626033306122, 0.010591614060103893, -0.08709083497524261, 0.009636087343096733, -0.006579351145774126, -0.01840697042644024, -0.07731688022613525, -0.030177542939782143, 0.029435940086841583, 0.041795991361141205, 0.05244465172290802, 0.014233076013624668, 0.03932398185133934, 0.004264218267053366, 0.024263733997941017, -0.04750063270330429, 0.020897995680570602, -0.03150862455368042, -0.033048879355192184, -0.039780352264642715, -0.027439316734671593, 0.01707588881254196, 0.02878941409289837, -0.11302792280912399, -0.020802918821573257, 0.00024972655228339136, 0.029607079923152924, -0.002838058164343238, -0.03943807631731033, 0.011266663670539856, 0.004535188432782888, 0.07256301492452621, -0.047424569725990295, 0.03943807631731033, -0.029626095667481422, -0.021943846717476845, 0.04092128202319145, -0.017247026786208153, 0.02913169376552105, -0.005267283879220486, -0.0034441761672496796, -0.02913169376552105, 0.05388982966542244, 0.021734677255153656, 0.00036159096634946764, -0.04666395112872124, 0.04693016782402992, -0.0027952734380960464, -0.045979395508766174, -0.015231387689709663, 0.03226924315094948, -0.006412965711206198, -0.005804470740258694, 0.050923414528369904, -0.010144750587642193, -0.011257155798375607, 0.06271300464868546, 0.05784504488110542, -0.005628577899187803, 0.06765702366828918, -0.010772260837256908, 0.01384325884282589, 0.02384539321064949, -0.061267830431461334, 0.00754913967102766, 0.021411413326859474, -0.043697539716959, -0.03403768315911293, 0.03420882299542427, -0.02692589908838272, -0.01664803922176361, -0.006940644700080156, 0.0033158217556774616, 0.03622446209192276, 0.018340416252613068, -0.046169549226760864, -0.021335352212190628, -0.020859966054558754, -0.031185362488031387, 0.05255874618887901, -0.017427673563361168, 0.009907057508826256, -0.011903680860996246, -0.009926073253154755, 0.02530958503484726, -0.0327826626598835, 0.010306382551789284, 0.029226770624518394, 0.009693133644759655, 0.0034085221122950315, -0.038696471601724625, 0.018530571833252907, 0.0355399064719677, -0.03675689548254013, 0.027268176898360252, -0.003955216612666845, -0.0492120236158371, -0.010705706663429737, -0.05948037654161453, 0.025537770241498947, -0.014109475538134575, 0.030709976330399513, 0.025708910077810287, -0.03510254994034767, -0.04677804559469223, -0.016847701743245125, -0.00950297899544239, 0.03681394085288048, -0.021563537418842316, 0.01511729508638382, 0.0017197111155837774, 0.04198614880442619, 0.0818425640463829, -0.0001456614409107715, 0.018464017659425735, -0.02386440895497799, 0.02983526512980461, -0.0003847660555038601, -0.026868851855397224, 0.011685003526508808, 0.04065506532788277, -0.02588004805147648, 0.004102586768567562, 0.1074754074215889, -0.051988281309604645, -0.014118983410298824, -0.06313134729862213, 0.027591440826654434, -0.007344723679125309, -0.0545743852853775, -0.04206220805644989, -0.033429186791181564, 0.005462192464619875, 0.0309761930257082, 0.0031161594670265913, -0.06138192117214203, 0.03533073514699936, -0.0492120236158371, 0.022685449570417404, -0.010144750587642193, 0.030538836494088173, -0.009232008829712868, -0.02042260952293873, 0.0014499292010441422, -0.05172206461429596, 0.020859966054558754, -0.013158702291548252, 0.0063606733456254005, 0.04095931351184845, -0.05164600536227226, 0.037403419613838196, -0.058187324553728104, 0.005062867421656847, -0.011627957224845886, 0.04263267293572426, 0.04662591964006424, 0.0009864273015409708, -0.0017589305061846972, -0.05020082741975784, -0.030652930960059166, -0.04263267293572426, -0.034113746136426926, 0.07020509988069534, -0.0016400838503614068, 0.028827445581555367, 0.025442693382501602, -0.015725789591670036, 0.009464947506785393, 0.02728719264268875, 0.0318509042263031, -0.00918446946889162, -0.050733260810375214, -0.005395638290792704, -0.05868172645568848, 0.004169140942394733, -0.015678251162171364, 0.014594369567930698, 0.02420668676495552, 0.03301084786653519, -0.0236362237483263, -0.012882977724075317, -0.001548571977764368, 0.05423210561275482, -0.05769292265176773, 0.048337314277887344, 0.06210450828075409, 0.003570153610780835, -0.03932398185133934, 0.004982051905244589, -0.008343035355210304, 0.023959485813975334, 0.02567087858915329, 0.01009721215814352, -0.016914255917072296, 0.019414789974689484, -0.01737062819302082, -0.030139513313770294, -0.000012293201507418416, -0.00913217756897211, -0.01930069737136364, 0.008642529137432575, 0.020156392827630043, 0.004725343082100153, 0.0728292316198349, 0.015069756656885147, -0.04605545848608017, 0.06335952877998352, 0.011960728093981743, -0.0004204200522508472, -0.0033609834499657154, -0.05111357197165489, -0.014137998223304749, 0.001606806879863143, -0.045256808400154114, -0.03536876663565636, 0.06624988466501236, -0.005970856174826622, 0.03837320953607559, -0.0022462017368525267, -0.006579351145774126, -0.0031232901383191347, 0.037574559450149536, 0.03076702356338501, 0.008542697876691818, -0.03696606308221817, -0.024453887715935707, 0.027933718636631966, -0.012179405428469181, -0.008623513393104076, -0.008457127958536148, 0.061648137867450714, -0.0026027418207377195, 0.028504183515906334, -0.015953974798321724, -0.017399150878190994, -0.05480257049202919, 0.032098107039928436, 0.039970509707927704, 0.04807109758257866, -0.01301608607172966, -0.05008673667907715, -0.07066147029399872, 0.03443700820207596, -0.03244038298726082, -0.004891728516668081, -0.027762578800320625, -0.020498672500252724, -0.05042901262640953, 0.04152977466583252, 0.0032777907326817513, 0.0355399064719677, -0.03656673803925514, 0.013786212541162968, 0.03417079150676727, 0.04989658296108246, -0.07050934433937073, 0.022476280108094215, -0.04346935451030731, -0.0472724474966526, 0.014803539961576462, 0.019433805719017982, 0.03548285737633705, 0.050733260810375214, -0.030253605917096138, -0.0033039371483027935, 0.023027729243040085, 0.01757979765534401, 0.004939266946166754, 0.011580418795347214, -0.0052435146644711494, -0.038354191929101944, -0.0382971465587616, -0.02677377499639988, 0.006531812250614166, -0.01039195153862238, -0.009251023642718792, 0.012892485596239567, 0.010971923358738422, -0.058871880173683167, -0.03768865391612053, 0.0218487698584795, -0.041948117315769196, 0.010943400673568249, -0.013776704668998718, 0.00406693248078227, 0.01301608607172966, 0.04677804559469223, -0.0563998706638813, -0.042898889631032944, 0.07918039709329605, 0.06624988466501236, -0.1290769726037979, -0.007306692656129599, 0.00859974417835474, -0.06830355525016785, 0.020993074402213097, -0.029569048434495926, -0.058187324553728104, 0.022172031924128532, 0.039057765156030655, 0.00845237448811531, 0.02842812053859234, -0.0364716611802578, -0.02713506855070591, -0.005947086960077286, 0.12991365790367126, -0.015849390998482704, -0.04654986038804054, -0.03658575564622879, 0.006379688624292612, 0.014641907997429371, 0.015126802958548069, 0.03514058142900467, 0.0454849936068058, -0.0007065433892421424, 0.01662902534008026, 0.041757963597774506, -0.01590643636882305, 0.03386654332280159, -0.00323500600643456, -0.01668607071042061, -0.0030091973021626472, -0.04685410484671593, 0.0021772708278149366, -0.013111162930727005, -0.05111357197165489, 0.05118963122367859, 0.06598366796970367, 0.009802472777664661, -0.02475813589990139, -0.027610456570982933, -0.006294119171798229, -0.026469528675079346, -0.009464947506785393, 0.04327920079231262, 0.029778217896819115, 0.0014071444747969508, 0.03582513704895973, 0.029397908598184586, 0.01346294954419136, -0.004413964692503214, 0.029892312362790108, 0.01265479251742363, 0.03169878199696541, -0.056171685457229614, 0.010268351063132286, -0.000016053583749453537, -0.007316200528293848, 0.006988183595240116, -0.023712284862995148, 0.07351379096508026, 0.021449444815516472, -0.0068265520967543125, -0.008875468745827675, 0.04073112830519676, -0.03226924315094948, -0.0800931379199028, 0.001729218871332705, -0.048147156834602356, 0.010325397364795208, -0.003981363028287888, 0.014727477915585041, 0.008799406699836254, -0.057959139347076416, 0.07066147029399872, -0.06282709538936615, -0.04023672640323639, -0.07697460055351257, 0.06396802514791489, -0.03652871027588844, -0.0015438180416822433, 0.01300657819956541, 0.023997517302632332, 0.029778217896819115, 0.002868958283215761, 0.010258843190968037, 0.012179405428469181, -0.07606185972690582, -0.017722412943840027, 0.016277238726615906, -0.011761065572500229, 0.03717523440718651, 0.0029545279685407877, 0.003375245025381446, 0.03000640496611595, -0.020821934565901756, 0.05004870519042015, 0.022856589406728745, 0.021886801347136497, 0.035045500844717026, 0.015412034466862679, -0.05773095414042473, -0.08891631662845612, 0.006113471928983927, -0.061990417540073395, 0.03582513704895973, 0.08077769726514816, 0.011475833132863045, -0.04065506532788277, -0.017912568524479866, 0.035444825887680054, -0.03135650232434273, -0.05446029454469681, -0.004211925435811281, 0.018055183812975883, -0.0355018749833107, 0.04327920079231262, 0.01656247116625309, 0.0419100858271122, -0.0005039098323322833, 0.03601529076695442, -0.01173254195600748, 0.018616139888763428, 0.0601269006729126, 0.04073112830519676, 0.035026486963033676, -0.04297495260834694, 0.028884492814540863 ]
42,048
patch_ng
_reverse
reverse patch direction (this doesn't touch filenames)
def _reverse(self): """ reverse patch direction (this doesn't touch filenames) """ for p in self.items: for h in p.hunks: h.startsrc, h.starttgt = h.starttgt, h.startsrc h.linessrc, h.linestgt = h.linestgt, h.linessrc for i,line in enumerate(h.text): # need to use line[0:1] here, because line[0] # returns int instead of bytes on Python 3 if line[0:1] == b'+': h.text[i] = b'-' + line[1:] elif line[0:1] == b'-': h.text[i] = b'+' +line[1:]
(self)
[ 0.023852797225117683, 0.01029885932803154, -0.03274645656347275, 0.041444458067417145, -0.06766296923160553, -0.08196397870779037, -0.043543361127376556, 0.10878725349903107, 0.047349847853183746, -0.03881193324923515, -0.02579161524772644, -0.02404845878481865, -0.02655647136271, 0.03295990452170372, -0.022002916783094406, 0.05243702232837677, -0.0194771159440279, 0.038491763174533844, -0.011499502696096897, -0.05521184578537941, 0.03770912066102028, 0.0006336733349598944, 0.013651768676936626, 0.018658900633454323, 0.01013877335935831, -0.003392931539565325, -0.024955611675977707, -0.02104240097105503, -0.014007515273988247, -0.04649605602025986, 0.004228935576975346, -0.04880841076374054, 0.05830683931708336, -0.013402746059000492, -0.021060187369585037, -0.048381514847278595, -0.007252780254930258, 0.021789468824863434, -0.02082895301282406, 0.018285365775227547, 0.04706525057554245, -0.022803345695137978, 0.025720465928316116, -0.0071327160112559795, 0.034240592271089554, 0.01141946017742157, -0.035805877298116684, -0.025773828849196434, 0.032675307244062424, -0.033066630363464355, 0.005887603387236595, -0.03585923835635185, 0.024688802659511566, 0.010930309072136879, -0.023923946544528008, 0.02342590130865574, 0.018836773931980133, 0.06734279543161392, -0.004704746417701244, 0.015074755065143108, -0.02324802801012993, -0.028246266767382622, -0.04777674376964569, -0.017618341371417046, 0.004026604816317558, -0.020526569336652756, 0.024599865078926086, -0.04311646521091461, -0.004718087147921324, -0.00038659630808979273, -0.03470306470990181, 0.036250561475753784, 0.016337653622031212, -0.012326613999903202, -0.010556775145232677, 0.003928774502128363, 0.014923562295734882, 0.04962662607431412, 0.044575028121471405, -0.028352990746498108, -0.057026151567697525, 0.025631530210375786, 0.04315204173326492, 0.016809018328785896, -0.00021386473963502795, -0.03881193324923515, 0.10117428004741669, -0.03360024839639664, -0.003524112980812788, 0.002034424804151058, -0.049768924713134766, -0.048559386283159256, -0.044219281524419785, -0.07193192839622498, 0.02198512852191925, 0.00026778256869874895, -0.005162769928574562, -0.018232004716992378, -0.034507401287555695, -0.033208929002285004, 0.03180373087525368, 0.028939971700310707, -0.05802224203944206, 0.014621177688241005, 0.02673434279859066, -0.008368934504687786, -0.009516216814517975, -0.030078360810875893, -0.07307031750679016, -0.004453500732779503, -0.024688802659511566, -0.0022723302245140076, 0.010796903632581234, -0.042974166572093964, 0.05279276892542839, -0.0631449893116951, -0.03319114074110985, 0.02065107971429825, 0.07570283859968185, 0.004042168613523245, 0.016693400219082832, -0.032390713691711426, -0.06044131889939308, 0.030736491084098816, -0.04845266416668892, -0.0038176036905497313, 0.04880841076374054, 0.04866611212491989, -0.007590739522129297, -0.05524741858243942, -0.0250801220536232, 0.021344784647226334, -0.08459649980068207, 0.035894814878702164, 0.015386032871901989, -0.0032328455708920956, 0.0021066858898848295, -0.02440420538187027, 0.07413755357265472, 0.03269309550523758, 0.045784566551446915, -0.02307015471160412, 0.07968720048666, 0.03735337406396866, -0.05795109272003174, -0.001974392682313919, 0.007581845857203007, 0.028246266767382622, 0.0034018252044916153, 0.012024229392409325, -0.012042016722261906, 0.03930997848510742, 0.05681270360946655, 0.005514069460332394, 0.05421575531363487, -0.0008915895014069974, -0.057204026728868484, 0.0058075604028999805, -0.024920037016272545, 0.04795461893081665, 0.0413021594285965, -0.04123101010918617, 0.022643260657787323, -0.023657137528061867, -0.009160470217466354, -0.03402714431285858, 0.07563169300556183, -0.10629703104496002, 0.012104271911084652, 0.025773828849196434, -0.0014418846694752574, -0.007377291563898325, -0.029758188873529434, 0.010281071998178959, 0.03603711351752281, 0.04816806688904762, -0.01732484996318817, 0.02018860913813114, -0.011864143423736095, 0.03594817593693733, -0.003337346250191331, -0.013224873691797256, -0.026574257761240005, -0.000738173839636147, 0.02292785607278347, 0.004984896630048752, 0.011392779648303986, -0.006803650408983231, 0.014256537891924381, -0.02655647136271, -0.00960515346378088, -0.004731427412480116, 0.034365102648735046, 0.002761481562629342, 0.03505881130695343, -0.022643260657787323, 0.009347237646579742, 0.03107444941997528, 0.06399878114461899, -0.021860618144273758, -0.05933850258588791, -0.04009262099862099, 0.027428049594163895, 0.018463239073753357, -0.018303154036402702, 0.01634654775261879, 0.03376033529639244, -0.007017098367214203, -0.04656720533967018, 0.0135717261582613, 0.0569550022482872, -0.00647013820707798, 0.025489231571555138, -0.09690532833337784, -0.010441157966852188, -0.049235306680202484, -0.0610816590487957, 0.06044131889939308, 0.007639654446393251, 0.03022065944969654, -0.06446125358343124, 0.04137330874800682, -0.04375680908560753, -0.02812175452709198, -0.022981218993663788, 0.03980802372097969, 0.006505712866783142, 0.029526952654123306, 0.0022345322649925947, 0.009791919961571693, 0.010103198699653149, -0.053575411438941956, -0.0355568565428257, -0.010974776931107044, 0.05439362674951553, -0.023835010826587677, -0.07299916446208954, -0.02381722256541252, 0.0013518363703042269, 0.016133099794387817, -0.006572415120899677, 0.014443304389715195, 0.02561374194920063, 0.017253700643777847, -0.012904701754450798, 0.01206869725137949, 0.06805428862571716, -0.04389910772442818, 0.015323776751756668, 0.014007515273988247, 0.026609832420945168, 0.003895423375070095, 0.00647013820707798, 0.06648900359869003, 0.017315957695245743, -0.07705467194318771, 0.0009955341229215264, -0.07513364404439926, 0.02363934926688671, 0.016826806589961052, -0.0003688089782372117, -0.009031512774527073, -0.0021422605495899916, -0.01130384299904108, 0.03379591181874275, 0.007430653553456068, -0.03048746846616268, -0.008844745345413685, -0.003661964787170291, 0.01310036238282919, 0.027072302997112274, -0.07499134540557861, -0.11312736570835114, 0.04133773595094681, -0.019815076142549515, 0.1141946017742157, 0.07040221989154816, -0.010868052951991558, -0.014096451923251152, -0.03795814514160156, 0.040732964873313904, -0.01862332597374916, 0.006376754492521286, -0.006861458998173475, 0.015732886269688606, -0.0007676340756006539, -0.014469985850155354, -0.017618341371417046, -0.003633060259744525, -0.017982982099056244, 0.0976879671216011, 0.05208127573132515, 0.026360809803009033, -0.007306142244488001, 0.05659925565123558, -0.00627892417833209, 0.0050827269442379475, -0.02915341965854168, 0.028406351804733276, -0.008742468431591988, -0.030611978843808174, -0.0489862821996212, 0.06350073963403702, 0.0003663076495286077, -0.028690949082374573, 0.01072575431317091, 0.010636817663908005, 0.01323376689106226, -0.015528331510722637, -0.010796903632581234, -0.003428506199270487, -0.019512690603733063, -0.048203639686107635, 0.009640728123486042, -0.03653515875339508, -0.01817864179611206, 0.012095378711819649, 0.03706877678632736, 0.035574641078710556, 0.0460335873067379, -0.03966572508215904, -0.02785494551062584, -0.016337653622031212, 0.029224568977952003, 0.03980802372097969, -0.03906095772981644, -0.0063678608275949955, 0.009614046663045883, 0.054962821304798126, -0.012015335261821747, 0.023941734805703163, -0.0014474432682618499, -0.0023612668737769127, 0.015323776751756668, -0.02534693293273449, -0.006181094329804182, 0.014114239253103733, 0.01664893329143524, -0.0007070460123941302, -0.026005063205957413, 0.05033811926841736, 0.02641417272388935, -0.0145322410389781, -0.003488538321107626, 0.07264342159032822, 0.052188001573085785, -0.006683585699647665, -0.0010394465643912554, -0.008302232250571251, 0.06165085360407829, 0.031110024079680443, -0.041088711470365524, -0.025862764567136765, 0.01692463643848896, -0.004284521099179983, 0.017573872581124306, -0.014007515273988247, -0.05186782777309418, -0.007537377532571554, -0.00877359602600336, 0.03036295808851719, -0.027428049594163895, -0.029900487512350082, 0.030789852142333984, -0.02122027426958084, -0.063749760389328, -0.01294027641415596, -0.012833552435040474, -0.004722533747553825, 0.04450387880206108, -0.040946412831544876, 0.002990493318066001, 0.05368213355541229, -0.024599865078926086, -0.03881193324923515, 0.008297785185277462, 0.014256537891924381, 0.031234536319971085, 0.010201028548181057, -0.019726138561964035, -0.010112091898918152, 0.032177265733480453, -0.034276168793439865, 0.06296711415052414, -0.014781263656914234, 0.0037375609390437603, -0.0074039725586771965, -0.0015630607958883047, 0.04411255568265915, -0.031590282917022705, -0.033333439379930496, -0.03520110994577408, 0.05122748389840126, -0.011819674633443356, 0.006012114696204662, -0.007395078893750906, 0.0061188386753201485, 0.0169691052287817, -0.011953080072999, -0.00840006209909916, 0.032799821346998215, -0.024208543822169304, -0.01616867445409298, 0.04585571214556694, 0.020473206415772438, -0.0025702679995447397, 0.039736874401569366, 0.08545029163360596, 0.019494904205203056, 0.0005714176804758608, -0.05741747096180916, 0.022572111338377, -0.006243349518626928, -0.06791198998689651, 0.024066245183348656, -0.03470306470990181, -0.009187151677906513, 0.021255848929286003, -0.022821133956313133, 0.008346700109541416, -0.014674539677798748, 0.03845618665218353, 0.001221766578964889, -0.011721844784915447, 0.0047936830669641495, -0.019494904205203056, 0.012255464680492878, 0.014461091719567776, -0.0817505270242691, 0.11291391402482986, -0.007461781147867441, -0.056848280131816864, 0.041622333228588104, 0.00005068691825727001, 0.05005352199077606, 0.029526952654123306, 0.05005352199077606, -0.006483478471636772, 0.0035307833459228277, 0.02865537442266941, 0.011624014005064964, 0.03411608189344406, 0.013509470038115978, -0.039523426443338394, 0.044752899557352066, 0.016061950474977493, -0.0074039725586771965, -0.08246202021837234, 0.005878709722310305, 0.025471443310379982, -0.016782337799668312, 0.0419069305062294, 0.00015133118722587824, -0.044575028121471405, -0.023888371884822845, -0.039914749562740326, 0.01974392682313919, 0.022376449778676033, -0.03966572508215904, 0.009596259333193302, 0.013714024797081947, 0.02516905963420868, 0.014007515273988247, -0.0040933070704340935, 0.022287514060735703, -0.011641801334917545, -0.010521200485527515, -0.021433722227811813, -0.08480994403362274, -0.006256690248847008, -0.0008143258164636791, -0.053219664841890335, 0.0013674002839252353, 0.026858855038881302, -0.019405966624617577, 0.03367139771580696, -0.012691253796219826, -0.0022289736662060022, -0.034631915390491486, -0.044752899557352066, -0.06862348318099976, -0.10658162832260132, -0.051654379814863205, 0.01625761203467846, 0.01594633422791958, -0.0209534652531147, -0.011881930753588676, -0.03671303018927574, 0.035716939717531204, -0.059623099863529205, 0.04016377031803131, -0.019174732267856598, -0.07029549032449722, 0.030202871188521385, 0.02404845878481865, 0.004342329688370228, -0.06446125358343124, -0.05225915089249611, -0.013491682708263397, -0.06417665630578995, 0.010485625825822353, -0.0321594774723053, 0.021077975630760193, -0.06805428862571716, -0.0015352681512013078, 0.045286521315574646, 0.029438016936182976, 0.02162938192486763, 0.0003824274172075093, 0.021967342123389244, -0.008386721834540367, -0.013313810341060162, 0.032266199588775635, -0.0036464007571339607, -0.01077022310346365, 0.06122395768761635, -0.0348275750875473, 0.021344784647226334, 0.017982982099056244, 0.03963015228509903, 0.010521200485527515, -0.02806839346885681, -0.00893368199467659, -0.04549996927380562, 0.018730049952864647, 0.010423370636999607, -0.02785494551062584, 0.012344401329755783, 0.05030254274606705, -0.02130920998752117, -0.016737869009375572, -0.009018171578645706, 0.0560656376183033, -0.023354751989245415, 0.021931767463684082, 0.042511697858572006, -0.0015474969986826181, -0.008569042198359966, -0.021487083286046982, 0.01835651509463787, 0.01912136934697628, 0.0060254549607634544, -0.039736874401569366, -0.07275014370679855, -0.013340490870177746, 0.02248317375779152, -0.024742163717746735, -0.03760239854454994, -0.012575635686516762, 0.037175502628088, -0.08673097938299179, 0.006456797476857901, -0.016711188480257988, 0.048737261444330215, -0.01921030692756176, 0.019850650802254677, -0.02413739450275898, 0.04034164547920227, 0.0321594774723053, 0.0026925557758659124, 0.006483478471636772, 0.01808970607817173, 0.016631145030260086, -0.018925709649920464, -0.04240497201681137, 0.08189282566308975, 0.005167216993868351, 0.06211332604289055, -0.032390713691711426, 0.04539324343204498, 0.028352990746498108, -0.01599080115556717, 0.04727869853377342, -0.013918578624725342, -0.011944185942411423, -0.036197200417518616, 0.06627555936574936, 0.0028370777145028114, 0.05645695701241493, -0.032088328152894974, 0.011704057455062866, -0.00480257673189044, 0.005496282130479813, -0.028637586161494255, 0.0003874301037285477, -0.007741931360214949, 0.05172552913427353, 0.09740336984395981, 0.06791198998689651, -0.04382795840501785, -0.0599076971411705, -0.04546439275145531, 0.005269493907690048, -0.06364303827285767, -0.009649621322751045, -0.017529405653476715, 0.009044853039085865, 0.0051538762636482716, -0.025987276807427406, 0.0102543905377388, 0.0599076971411705, -0.03411608189344406, 0.009480642154812813, 0.013980834744870663, -0.016284292563796043, -0.031056663021445274, 0.02440420538187027, -0.05553201586008072, -0.04831036552786827, -0.009952005930244923, 0.05197455361485481, 0.014496666379272938, 0.03013172186911106, -0.05186782777309418, -0.014434411190450191, -0.010370008647441864, 0.025418082252144814, -0.0355568565428257, -0.022020703181624413, 0.018836773931980133, 0.0013107032282277942, -0.020579930394887924, -0.03927440568804741, 0.03721107542514801, -0.043329913169145584, 0.046104736626148224, 0.018818985670804977, 0.05311294272542, 0.013580619357526302, -0.03859848529100418, 0.0054651545360684395, -0.02767707221210003, -0.008404509164392948, 0.029349079355597496, -0.0740664079785347, 0.013829641975462437, -0.009978687390685081, -0.04539324343204498, -0.016595570370554924, 0.01305589359253645, 0.036197200417518616, -0.06666687875986099, -0.007661888375878334, -0.0009299434022977948, -0.09491314738988876, 0.04183578118681908, 0.024920037016272545, -0.04140888527035713, -0.06873020529747009, 0.00014466095308307558, -0.00022303633159026504, 0.05314851552248001, 0.0036552944220602512, -0.00036547385388985276, -0.04254727065563202, 0.08744247257709503, 0.024368630722165108, -0.020046310499310493, 0.0035930387675762177, -0.014043089933693409, -0.006674692500382662, 0.014407729730010033, 0.02664540708065033, -0.036072686314582825, 0.054749373346567154, 0.03301326930522919, 0.030789852142333984, 0.021255848929286003, 0.05421575531363487, -0.0342228077352047, -0.006016561295837164, -0.0284775011241436, -0.0646391287446022, 0.011881930753588676, -0.014007515273988247, -0.05403788015246391, 0.044539451599121094, 0.027303537353873253, 0.06951285153627396, -0.011392779648303986, -0.03913210704922676, -0.014665646478533745, 0.007203864865005016, -0.010868052951991558, 0.021700531244277954, 0.08744247257709503, -0.0088180648162961, 0.06559964269399643, -0.017342638224363327, -0.007186077535152435, -0.004295637831091881, -0.023123517632484436, -0.002045542001724243, 0.0006236679619178176, 0.03287097066640854, -0.020313121378421783, 0.007323929574340582, -0.06246907263994217, 0.06157970428466797, -0.020722229033708572, 0.06004999577999115, -0.028584225103259087, 0.022643260657787323, -0.021344784647226334, 0.034507401287555695, 0.0031972709111869335, 0.033422376960515976, -0.04464617744088173, -0.08046983927488327, 0.016595570370554924, -0.033066630363464355, 0.06997532397508621, 0.004709193482995033, -0.04706525057554245, 0.0843830481171608, 0.016399910673499107, -0.06143740564584732, -0.030736491084098816, -0.016622250899672508, 0.021113550290465355, -0.020135248079895973, 0.034009359776973724, 0.014834625646471977, 0.020224183797836304, 0.007203864865005016, -0.050978463143110275, -0.044575028121471405, -0.01504807360470295, -0.09989359229803085, 0.008715786971151829, -0.0472075492143631, -0.00038214947562664747, 0.03116338700056076, -0.020704442635178566, -0.005594112444669008, 0.039736874401569366, 0.0274458359926939, -0.011045926250517368, 0.034187231212854385, 0.07114928215742111, -0.030683128163218498, 0.010859159752726555, -0.07427985221147537, 0.07890455424785614, 0.016053058207035065, 0.04411255568265915, 0.03157249465584755, 0.03514774516224861, -0.0377802699804306, -0.012993638403713703, 0.06937055289745331, 0.003753124736249447, -0.03182151913642883, -0.023799436166882515, 0.021860618144273758, 0.012273252010345459, 0.06232677400112152, 0.009053746238350868, -0.0009054858237504959, -0.010378901846706867, -0.0021622711792588234, -0.04884398356080055, -0.028548650443553925, 0.06040574237704277, -0.005900943651795387, 0.018836773931980133, -0.002599172294139862, 0.020562143996357918 ]
42,049
patch_ng
_strip_prefix
null
def _strip_prefix(self, filename): if filename.startswith(b'a/') or filename.startswith(b'b/'): return filename[2:] return filename
(self, filename)
[ -0.08053649216890335, 0.07748953998088837, 0.009313979186117649, 0.0476086288690567, -0.02816699631512165, -0.049789972603321075, 0.010058404877781868, 0.09244730323553085, 0.06280876696109772, -0.08289095014333725, 0.029378851875662804, 0.014022905379533768, -0.03472833335399628, 0.006102560553699732, -0.02030724473297596, -0.009634255431592464, 0.03053877130150795, 0.07032227516174316, -0.009270698763430119, 0.0036182559560984373, -0.027890000492334366, 0.023856252431869507, 0.007162934634834528, 0.04618902876973152, -0.012940891087055206, 0.017130451276898384, -0.02243664860725403, -0.019060764461755753, 0.005197996739298105, -0.034780267626047134, 0.03310098126530647, -0.008764316327869892, 0.049928467720746994, 0.0118935015052557, 0.05411802977323532, -0.010785519145429134, 0.019476257264614105, 0.03877939283847809, -0.08469142764806747, -0.03680579736828804, -0.011789628304541111, 0.008167044259607792, 0.020999733358621597, -0.024462180212140083, 0.029880907386541367, 0.017632504925131798, 0.03270279988646507, -0.003220074577257037, 0.005842877551913261, 0.08946959674358368, 0.016308119520545006, 0.038363900035619736, -0.024704551324248314, 0.003758917795494199, -0.0002748316328506917, -0.019943688064813614, 0.028218934312462807, -0.010621052235364914, -0.05955406650900841, 0.049928467720746994, 0.0069378758780658245, -0.009582318365573883, -0.010283463634550571, -0.09265504777431488, 0.04625827446579933, -0.02499885857105255, 0.04265733063220978, -0.0005556143587455153, -0.02927497960627079, 0.0018188661197200418, -0.007478883024305105, -0.015459820628166199, 0.017104482278227806, -0.004470882937312126, 0.019303135573863983, 0.02943078987300396, 0.0036723564844578505, 0.032806675881147385, 0.001830768189392984, -0.03458983451128006, 0.01534729078412056, -0.031058138236403465, 0.024289056658744812, -0.028426680713891983, 0.00745724281296134, -0.0014444891130551696, 0.016351399943232536, 0.0023479710798710585, -0.002213801257312298, 0.0013535999460145831, -0.01074223779141903, -0.036528803408145905, -0.0015570186078548431, -0.007227855734527111, 0.013070733286440372, -0.03055608458817005, 0.003884431440383196, -0.007141294423490763, 0.0005531798233278096, -0.04428468272089958, -0.0010300775757059455, 0.019008828327059746, -0.036528803408145905, 0.0026509349700063467, 0.03656342625617981, 0.02674739435315132, -0.011832908727228642, -0.0035425149835646152, -0.0222115907818079, 0.020134123042225838, -0.05051708593964577, -0.11751540750265121, 0.003927711863070726, -0.009218761697411537, 0.026799330487847328, -0.05165969207882881, -0.007613052614033222, -0.035732440650463104, 0.02728407271206379, 0.009391884319484234, 0.025379728525877, -0.03919488564133644, -0.07278060913085938, -0.02063617669045925, 0.03285861015319824, -0.02816699631512165, 0.048681989312171936, 0.017442069947719574, 0.013555475510656834, 0.004994578193873167, 0.012205121107399464, 0.04798949882388115, -0.04667377099394798, -0.05744197592139244, 0.007379337679594755, 0.021553725004196167, 0.021622974425554276, 0.05854995921254158, 0.007626037113368511, 0.03053877130150795, 0.04584278166294098, 0.017268948256969452, 0.027786128222942352, -0.00599003117531538, -0.023613881319761276, 0.003882267279550433, 0.01352085079997778, -0.009279354475438595, 0.01019690278917551, 0.014594209380447865, -0.008915797807276249, 0.01253405399620533, -0.014931797981262207, 0.005427383817732334, 0.014594209380447865, -0.06395137310028076, -0.017035232856869698, -0.02157103829085827, 0.016515865921974182, -0.04348831996321678, 0.0611121691763401, -0.04747013375163078, -0.012906266376376152, -0.10671257972717285, -0.019545506685972214, -0.02799387462437153, -0.016083061695098877, 0.017035232856869698, 0.020030248910188675, -0.014767331071197987, 0.01491448562592268, 0.04650064557790756, 0.013235199265182018, 0.0626356452703476, 0.01178097166121006, 0.02363119274377823, 0.022730957716703415, 0.013927687890827656, -0.013070733286440372, 0.048681989312171936, 0.03981812670826912, 0.001182641601189971, -0.011036545969545841, 0.034866828471422195, 0.05848070979118347, 0.009816033765673637, 0.0074182902462780476, -0.012767769396305084, 0.07894376665353775, -0.011201011948287487, -0.0043237293139100075, 0.03774065896868706, 0.001878376817330718, -0.010335400700569153, 0.02380431443452835, -0.028184309601783752, 0.07797428220510483, 0.005128747783601284, -0.017710410058498383, -0.06415911763906479, -0.05384103208780289, -0.005860189441591501, -0.014040217734873295, 0.009660223498940468, 0.02323301136493683, 0.03111007623374462, 0.030002092942595482, 0.04210334271192551, -0.08039799332618713, 0.04217258840799332, 0.0030859047546982765, -0.05848070979118347, 0.04165322333574295, 0.0009932891698554158, -0.008409415371716022, -0.07548131793737411, -0.03704816848039627, 0.07915151119232178, 0.009885283187031746, 0.04823186993598938, -0.050967201590538025, 0.06620196253061295, 0.021120918914675713, -0.031058138236403465, 0.019770566374063492, 0.005358134862035513, 0.027024390175938606, 0.07589681446552277, 0.0475740060210228, 0.0017496171640232205, -0.005717363674193621, -0.06973365694284439, 0.002711527980864048, -0.01740744709968567, 0.033447228372097015, -0.03226999565958977, -0.006531038321554661, -0.03531694784760475, 0.03950650617480278, -0.05848070979118347, 0.008288229815661907, -0.0007006042869761586, 0.04663914442062378, 0.018922265619039536, 0.00124431645963341, -0.013339072465896606, 0.015364603139460087, 0.031698692589998245, -0.006734457332640886, 0.03857164457440376, 0.010421961545944214, 0.0776972845196724, -0.001360091962851584, 0.031213948503136635, 0.023510007187724113, 0.000785542419180274, -0.032477740198373795, -0.00991125125437975, -0.022246213629841805, 0.07444258779287338, -0.03159481659531593, -0.02077467553317547, 0.010820142924785614, -0.027786128222942352, 0.025639411062002182, 0.005223965272307396, 0.0025513898581266403, 0.0404413677752018, 0.017173731699585915, 0.04670839384198189, 0.008379118517041206, -0.07305760681629181, 0.0337069109082222, 0.0021759308874607086, -0.01732088439166546, -0.012265713885426521, -0.011971406638622284, -0.00211750203743577, 0.043592192232608795, -0.002183504868298769, -0.012326306663453579, 0.010439273901283741, 0.009530382230877876, 0.047954875975847244, 0.03117932379245758, -0.05210980772972107, 0.06616733968257904, -0.09784872084856033, -0.00309456093236804, 0.01983981393277645, 0.009660223498940468, -0.03663267567753792, 0.004972937982529402, -0.053356289863586426, -0.06225477531552315, -0.03559394180774689, 0.027318697422742844, -0.037013545632362366, -0.008318525739014149, -0.009893938899040222, -0.03545544669032097, 0.03555931895971298, -0.02681664377450943, -0.0017615193501114845, -0.026314588263630867, 0.002943078987300396, 0.008708051405847073, 0.006357916165143251, -0.020878547802567482, 0.00956500694155693, -0.041133854538202286, -0.048820484429597855, -0.03315291926264763, -0.022038467228412628, 0.024219809100031853, 0.036840423941612244, 0.04217258840799332, 0.06827943027019501, 0.01416140329092741, 0.0341050922870636, -0.01807396672666073, 0.05515676364302635, -0.029292291030287743, 0.044146183878183365, -0.03545544669032097, -0.012715832330286503, -0.028097746893763542, 0.004488195292651653, -0.022661708295345306, 0.009218761697411537, -0.01983981393277645, 0.028859486803412437, -0.04785099998116493, -0.050724830478429794, -0.04622365161776543, -0.025275854393839836, 0.015052983537316322, -0.004354025702923536, 0.009002359583973885, 0.0077472226694226265, 0.0035208745393902063, -0.015485788695514202, 0.04141085222363472, 0.013849783688783646, -0.0329105481505394, -0.0018794588977470994, -0.03521307557821274, 0.026851266622543335, 0.0028846501372754574, -0.04213796555995941, 0.05221368372440338, 0.015797408297657967, -0.0048387679271399975, 0.009339947253465652, 0.05249067768454552, 0.0015018358826637268, -0.07963625341653824, 0.02847861684858799, -0.003860627068206668, 0.07548131793737411, 0.047400884330272675, -0.023700442165136337, -0.0007866243831813335, -0.03149094432592392, 0.037879157811403275, 0.004635349381715059, -0.010326744988560677, -0.03857164457440376, -0.04179172217845917, -0.018420211970806122, -0.02721482329070568, -0.022904079407453537, -0.0029906874988228083, -0.11287573724985123, -0.006318963598459959, -0.019857127219438553, 0.01154725719243288, -0.04695076495409012, -0.015321322716772556, 0.03926413506269455, 0.030590709298849106, 0.04338444769382477, -0.04085686057806015, 0.05442964658141136, -0.09154706448316574, 0.00567408325150609, -0.004631021060049534, -0.050897952169179916, -0.016550490632653236, -0.005851533263921738, 0.025916406884789467, 0.006916235666722059, 0.03600943833589554, 0.006050623953342438, -0.012464804574847221, -0.05100182816386223, -0.05460277199745178, -0.040822237730026245, 0.04805874824523926, 0.009919906966388226, -0.02293870411813259, 0.0020168747287243605, -0.019251199439167976, 0.07894376665353775, 0.0222115907818079, 0.032079558819532394, 0.04805874824523926, 0.010837455280125141, 0.010846111923456192, 0.028530552983283997, -0.04639677330851555, -0.015996498987078667, -0.017277603968977928, -0.034503273665905, 0.05352941155433655, 0.05044783651828766, -0.019805189222097397, -0.06703294813632965, -0.011071170680224895, -0.033533789217472076, -0.05103645101189613, 0.03381078317761421, 0.006808034144341946, -0.013139981776475906, 0.06308576464653015, -0.002570865908637643, -0.003581467317417264, -0.024687238037586212, 0.028617113828659058, 0.04532341659069061, -0.04179172217845917, -0.04210334271192551, -0.03749828785657883, -0.004760862793773413, 0.016792861744761467, 0.005206652916967869, 0.023146450519561768, 0.0029777034651488066, -0.003774065990000963, -0.03639030456542969, -0.006552678532898426, 0.033447228372097015, -0.013391009531915188, -0.021692223846912384, 0.02228083834052086, 0.010482554323971272, -0.04012974724173546, -0.008647458627820015, -0.02260977029800415, 0.0017950617475435138, -0.037636786699295044, -0.0020947796292603016, -0.009426509030163288, -0.04300357773900032, 0.006678192410618067, -0.03815615177154541, -0.05449889600276947, -0.008777299895882607, -0.019891751930117607, -0.028894109651446342, -0.016403337940573692, 0.07873601466417313, 0.032650865614414215, -0.034139715135097504, 0.03739441558718681, 0.026453085243701935, 0.014109467156231403, 0.04487329721450806, -0.048127997666597366, 0.008240620605647564, 0.013538163155317307, -0.049374476075172424, 0.017745034769177437, 0.022575147449970245, -0.014724050648510456, 0.05609162151813507, -0.04456167668104172, 0.057788219302892685, 0.08926185220479965, 0.006349259987473488, -0.03246042877435684, -0.010733582079410553, -0.04895898327231407, 0.024410242214798927, 0.07125713676214218, -0.006526710465550423, -0.030209839344024658, 0.00033812946639955044, 0.014819268137216568, -0.055260635912418365, 0.0388486422598362, 0.05990031361579895, -0.02896335907280445, 0.035109199583530426, 0.039471883326768875, -0.014421086758375168, 0.030815767124295235, 0.054464273154735565, 0.0076000685803592205, 0.023354196920990944, -0.008855205029249191, -0.06640971451997757, -0.04314207658171654, 0.015078951604664326, -0.00979872141033411, 0.028703676536679268, -0.09113157540559769, -0.009495757520198822, -0.030486835166811943, -0.0038671190850436687, -0.002283050213009119, 0.04688151553273201, 0.02745719626545906, 0.05432577431201935, -0.006301651243120432, 0.050413209944963455, -0.048993609845638275, -0.013044764287769794, 0.048439618200063705, -0.00228954222984612, -0.041376229375600815, -0.06734456866979599, 0.004196051508188248, -0.00004243524745106697, -0.024392930790781975, -0.029967468231916428, -0.017173731699585915, 0.0056005059741437435, -0.005669754929840565, 0.02951735071837902, -0.015537725761532784, 0.007491867057979107, 0.03149094432592392, -0.03600943833589554, 0.00638821255415678, 0.03940263390541077, -0.043903812766075134, -0.04141085222363472, 0.06384750455617905, -0.022748269140720367, 0.04258808493614197, -0.006669536232948303, 0.03159481659531593, -0.011304885149002075, -0.017745034769177437, 0.07520432025194168, -0.0507940798997879, 0.04719313606619835, 0.003810854395851493, 0.033031731843948364, 0.005604834295809269, -0.01357278786599636, 0.004328057169914246, -0.0027310040313750505, 0.06211627647280693, -0.06751769036054611, -0.029967468231916428, 0.003267683321610093, -0.05418727546930313, -0.00021613236458506435, -0.009236074052751064, -0.006440149154514074, 0.04566965997219086, 0.027162887156009674, -0.05363328754901886, 0.03957575559616089, -0.009435164742171764, 0.0002480517723597586, 0.019632067531347275, 0.003955844324082136, -0.008504632860422134, 0.01601381227374077, 0.040822237730026245, 0.014256620779633522, -0.09625599533319473, 0.040649112313985825, 0.09964919090270996, -0.06225477531552315, 0.00781647115945816, 0.004570428282022476, 0.056195493787527084, -0.050101589411497116, 0.041306979954242706, 0.0014466531574726105, -0.02688589133322239, -0.0507940798997879, 0.012715832330286503, -0.011244292370975018, 0.041306979954242706, -0.06776006519794464, -0.030400274321436882, -0.013693973422050476, 0.05404878035187721, -0.09023133665323257, -0.02823624573647976, -0.01649855449795723, 0.027353322133421898, -0.017268948256969452, 0.008309870027005672, 0.030123278498649597, 0.04747013375163078, -0.0005396546330302954, 0.04650064557790756, 0.06592496484518051, 0.04220721498131752, 0.029136480763554573, -0.03497070446610451, -0.002237605629488826, -0.07098013907670975, -0.015278042294085026, -0.006067936308681965, 0.024098623543977737, 0.0011869696900248528, -0.043661441653966904, 0.014550928957760334, 0.043349821120500565, 0.04480404779314995, -0.07818202674388885, -0.06419374793767929, 0.003685340750962496, -0.06443611532449722, -0.031127387657761574, -0.02714557573199272, 0.036217182874679565, -0.019303135573863983, 0.010058404877781868, 0.05744197592139244, 0.002360955346375704, 0.0002680690377019346, -0.009374571964144707, -0.004250152036547661, -0.05138269439339638, -0.018420211970806122, -0.023215699940919876, 0.03483220562338829, -0.009634255431592464, -0.03950650617480278, 0.004354025702923536, -0.046777643263339996, -0.01411812286823988, 0.03474564477801323, -0.09341678768396378, -0.02783806435763836, -0.013079388998448849, -0.039956625550985336, -0.01460286509245634, -0.015615630894899368, -0.026366524398326874, -0.03363766148686409, -0.008915797807276249, 0.005717363674193621, -0.008335838094353676, -0.01791815645992756, 0.009374571964144707, 0.01959744282066822, 0.0610775426030159, 0.055260635912418365, -0.005912126041948795, 0.0031162011437118053, -0.035490069538354874, 0.036217182874679565, -0.051763564348220825, -0.008236292749643326, 0.06685982644557953, -0.0039017435628920794, -0.02411593496799469, 0.030261777341365814, -0.07188037782907486, -0.013425633311271667, -0.02150178886950016, -0.017035232856869698, 0.0261760912835598, -0.08233696222305298, -0.06859105080366135, 0.034866828471422195, -0.003217910649254918, 0.02070542611181736, 0.020757362246513367, 0.06554409861564636, -0.005314854439347982, -0.017554599791765213, -0.03426090255379677, 0.06318963319063187, -0.04411156103014946, 0.06533635407686234, 0.011919469572603703, -0.03874476999044418, 0.030971577391028404, -0.0011523452121764421, -0.0003124316281173378, -0.023388821631669998, -0.006020327564328909, -0.00851328857243061, 0.0586884580552578, -0.06789856404066086, 0.048578113317489624, 0.03822540119290352, 0.019787877798080444, -0.011677098460495472, -0.03126588463783264, 0.037809908390045166, 0.04719313606619835, 0.015849346294999123, -0.030400274321436882, 0.0026357867754995823, 0.00022614099725615233, -0.02832280658185482, -0.05138269439339638, -0.07174187898635864, 0.0603158064186573, 0.011772315949201584, -0.010473898611962795, -0.007963625714182854, -0.004297760780900717, 0.021363290026783943, -0.017701754346489906, -0.06713682413101196, -0.07742028683423996, 0.08212921768426895, 0.0039428602904081345, -0.03150825574994087, -0.00238908757455647, -0.0049859220162034035, 0.08296020328998566, -0.012040655128657818, -0.052871547639369965, 0.005098451394587755, -0.0396796278655529, -0.0984027087688446, 0.06156228482723236, -0.016931360587477684, 0.01352950744330883, -0.04459630325436592, 0.012386900372803211, 0.03909101337194443, 0.01935507170855999, 0.022263526916503906, 0.01951088197529316, 0.03429552540183067, -0.011841564439237118, 0.0016100372886285186, -0.0023198386188596487, -0.01968400366604328, 0.05567612871527672, -0.013711285777390003, 0.027249448001384735, 0.06443611532449722, -0.0043107448145747185, 0.009616943076252937, 0.029101857915520668, 0.012066624127328396, 0.0026033264584839344, -0.029136480763554573, -0.002813237253576517, -0.0313524454832077, -0.0713956356048584, -0.017745034769177437, 0.0076346928253769875, 0.010785519145429134, -0.03562856838107109, -0.0054014152847230434, 0.014594209380447865, 0.01926851086318493, 0.06544022262096405, 0.02664352022111416, 0.011997374705970287, 0.0005080057308077812, 0.002239769557490945 ]
42,050
patch_ng
apply
Apply parsed patch, optionally stripping leading components from file paths. `root` parameter specifies working dir. :param strip: Strip patch path :param root: Folder to apply the patch :param fuzz: Accept fuzzy patches return True on success
def apply(self, strip=0, root=None, fuzz=False): """ Apply parsed patch, optionally stripping leading components from file paths. `root` parameter specifies working dir. :param strip: Strip patch path :param root: Folder to apply the patch :param fuzz: Accept fuzzy patches return True on success """ items = [] for item in self.items: source = self.decode_clean(item.source, "a/") target = self.decode_clean(item.target, "b/") if "dev/null" in source: target = self.strip_path(target, root, strip) hunks = [s.decode("utf-8") for s in item.hunks[0].text] new_file = "".join(hunk[1:] for hunk in hunks) save(target, new_file) elif "dev/null" in target: source = self.strip_path(source, root, strip) safe_unlink(source) else: items.append(item) self.items = items if root: prevdir = os.getcwd() os.chdir(root) total = len(self.items) errors = 0 if strip: # [ ] test strip level exceeds nesting level # [ ] test the same only for selected files # [ ] test if files end up being on the same level try: strip = int(strip) except ValueError: errors += 1 warning("error: strip parameter '%s' must be an integer" % strip) strip = 0 #for fileno, filename in enumerate(self.source): for i,p in enumerate(self.items): if strip: debug("stripping %s leading component(s) from:" % strip) debug(" %s" % p.source) debug(" %s" % p.target) old = p.source if p.source == b'/dev/null' else pathstrip(p.source, strip) new = p.target if p.target == b'/dev/null' else pathstrip(p.target, strip) else: old, new = p.source, p.target filenameo, filenamen = self.findfiles(old, new) if not filenameo or not filenamen: error("source/target file does not exist:\n --- %s\n +++ %s" % (old, new)) errors += 1 continue if not isfile(filenameo): error("not a file - %s" % filenameo) errors += 1 continue # [ ] check absolute paths security here debug("processing %d/%d:\t %s" % (i+1, total, filenamen)) # validate before patching f2fp = open(filenameo, 'rb') hunkno = 0 hunk = p.hunks[hunkno] hunkfind = [] hunkreplace = [] validhunks = 0 canpatch = False for lineno, line in enumerate(f2fp): if lineno+1 < hunk.startsrc: continue elif lineno+1 == hunk.startsrc: hunkfind = [x[1:].rstrip(b"\r\n") for x in hunk.text if x[0] in b" -"] hunkreplace = [x[1:].rstrip(b"\r\n") for x in hunk.text if x[0] in b" +"] #pprint(hunkreplace) hunklineno = 0 # todo \ No newline at end of file # check hunks in source file if lineno+1 < hunk.startsrc+len(hunkfind): if line.rstrip(b"\r\n") == hunkfind[hunklineno]: hunklineno += 1 else: warning("file %d/%d:\t %s" % (i+1, total, filenamen)) warning(" hunk no.%d doesn't match source file at line %d" % (hunkno+1, lineno+1)) warning(" expected: %s" % hunkfind[hunklineno]) warning(" actual : %s" % line.rstrip(b"\r\n")) if fuzz: hunklineno += 1 else: # not counting this as error, because file may already be patched. # check if file is already patched is done after the number of # invalid hunks if found # TODO: check hunks against source/target file in one pass # API - check(stream, srchunks, tgthunks) # return tuple (srcerrs, tgterrs) # continue to check other hunks for completeness hunkno += 1 if hunkno < len(p.hunks): hunk = p.hunks[hunkno] continue else: break # check if processed line is the last line if len(hunkfind) == 0 or lineno+1 == hunk.startsrc+len(hunkfind)-1: debug(" hunk no.%d for file %s -- is ready to be patched" % (hunkno+1, filenamen)) hunkno+=1 validhunks+=1 if hunkno < len(p.hunks): hunk = p.hunks[hunkno] else: if validhunks == len(p.hunks): # patch file canpatch = True break else: if hunkno < len(p.hunks): error("premature end of source file %s at hunk %d" % (filenameo, hunkno+1)) errors += 1 f2fp.close() if validhunks < len(p.hunks): if self._match_file_hunks(filenameo, p.hunks): warning("already patched %s" % filenameo) else: if fuzz: warning("source file is different - %s" % filenameo) else: error("source file is different - %s" % filenameo) errors += 1 if canpatch: backupname = filenamen+b".orig" if exists(backupname): warning("can't backup original file to %s - aborting" % backupname) errors += 1 else: shutil.move(filenamen, backupname) if self.write_hunks(backupname if filenameo == filenamen else filenameo, filenamen, p.hunks): info("successfully patched %d/%d:\t %s" % (i+1, total, filenamen)) safe_unlink(backupname) if new == b'/dev/null': # check that filename is of size 0 and delete it. if os.path.getsize(filenamen) > 0: warning("expected patched file to be empty as it's marked as deletion:\t %s" % filenamen) safe_unlink(filenamen) else: errors += 1 warning("error patching file %s" % filenamen) shutil.copy(filenamen, filenamen+".invalid") warning("invalid version is saved to %s" % filenamen+".invalid") # todo: proper rejects shutil.move(backupname, filenamen) if root: os.chdir(prevdir) # todo: check for premature eof return (errors == 0)
(self, strip=0, root=None, fuzz=False)
[ 0.024469073861837387, -0.004634676966816187, -0.03647124767303467, 0.0714876800775528, -0.053787510842084885, -0.06797189265489578, -0.025984499603509903, 0.07754938304424286, -0.015214874409139156, -0.020054133608937263, -0.00926430243998766, -0.04384631663560867, -0.0019814190454781055, 0.019720740616321564, -0.017720378935337067, 0.030732834711670876, -0.019134774804115295, 0.054595738649368286, 0.011092916131019592, -0.0175385270267725, -0.01494209747761488, -0.006289016921073198, -0.03406677022576332, 0.07940831035375595, 0.04764498397707939, 0.01329533476382494, 0.025499563664197922, 0.019387345761060715, 0.0237012580037117, -0.047281283885240555, -0.005470687057822943, -0.03301607444882393, 0.035844869911670685, -0.009991707280278206, -0.016972769051790237, -0.04425043240189552, 0.00734476326033473, -0.00617283396422863, -0.02584305964410305, -0.03622877597808838, 0.055525198578834534, 0.009375433437526226, -0.0015154257416725159, -0.004366951994597912, 0.02412557788193226, 0.03893633931875229, -0.040128473192453384, 0.07298289984464645, 0.011618264019489288, 0.045220304280519485, -0.04319973662495613, 0.01139600109308958, 0.008360099047422409, 0.02057948149740696, 0.027964655309915543, 0.05071624740958214, -0.03843119740486145, 0.021357400342822075, 0.03368286415934563, -0.04344220459461212, 0.01786181703209877, 0.01419448759406805, 0.051807355135679245, 0.0005357661284506321, -0.015780633315443993, -0.02378208190202713, 0.008956165984272957, -0.033945538103580475, -0.030833862721920013, 0.029661932960152626, -0.042997680604457855, 0.025863265618681908, 0.03685515373945236, 0.007026523817330599, 0.026610875502228737, 0.05269640311598778, 0.04707922786474228, 0.011648572050035, 0.0573032982647419, -0.05144365131855011, -0.010320048779249191, 0.031177358701825142, 0.028106095269322395, 0.004859465174376965, 0.03234928846359253, -0.004758436698466539, 0.09383516013622284, 0.009001628495752811, 0.007516511715948582, -0.0269139613956213, -0.03093489073216915, 0.022731386125087738, 0.040876083076000214, -0.08316656202077866, 0.04022950306534767, -0.010779728181660175, 0.011678881011903286, -0.017346573993563652, 0.012941735796630383, -0.018912512809038162, -0.017912331968545914, 0.0037734101060777903, -0.06162731349468231, 0.0007779185543768108, 0.05984921380877495, 0.00004214777800370939, -0.0070366268046200275, -0.00684972433373332, -0.055525198578834534, -0.017498115077614784, -0.057990290224552155, -0.10296812653541565, 0.000008287484888569452, -0.027863627299666405, 0.018861999735236168, -0.07500346750020981, -0.06138484552502632, 0.027782805263996124, 0.02279200218617916, -0.004058815073221922, 0.03331916034221649, -0.019306523725390434, -0.03137941658496857, 0.03380409628152847, 0.026954371482133865, -0.05948550999164581, 0.03281401842832565, 0.02097349241375923, 0.07395277917385101, -0.02707560732960701, -0.03580445796251297, 0.024145783856511116, -0.035359933972358704, 0.0012994775315746665, -0.03982538729906082, -0.01151723600924015, -0.032712988555431366, -0.03053077682852745, 0.050999127328395844, -0.05762659013271332, 0.05621219053864479, -0.05883892998099327, 0.013638831675052643, -0.02921740896999836, -0.061021141707897186, 0.0120526859536767, 0.014659218490123749, -0.018781175836920738, 0.003068737220019102, 0.0338849201798439, 0.009441101923584938, -0.026449229568243027, -0.022994060069322586, -0.0006058545550331473, 0.05491902679204941, -0.0028010117821395397, -0.03315751627087593, -0.029318436980247498, 0.0050413161516189575, -0.01539672538638115, 0.030066046863794327, -0.08090353012084961, 0.04946349561214447, 0.04295726865530014, 0.00014578079571947455, 0.00008958375838119537, -0.03333936631679535, -0.06663832068443298, -0.0038542328402400017, 0.02699478343129158, 0.006475919391959906, 0.02715642936527729, 0.010830242186784744, 0.012891221791505814, 0.004730653949081898, 0.06223348155617714, -0.00734476326033473, -0.05621219053864479, -0.02305467613041401, 0.017548630014061928, -0.04075485095381737, 0.006652718875557184, 0.00889554899185896, 0.05293887108564377, -0.029156791046261787, 0.05673753842711449, -0.003937581088393927, -0.03087427280843258, 0.014325824566185474, 0.005586869549006224, 0.005970777478069067, -0.00872885249555111, 0.036410629749298096, 0.04614976420998573, 0.0008202241733670235, -0.004306335002183914, 0.012658855877816677, 0.013073072768747807, 0.09456256777048111, -0.02626737952232361, -0.09278446435928345, -0.022044392302632332, 0.028025273233652115, -0.004101752303540707, -0.039562713354825974, 0.008956165984272957, 0.010168506763875484, 0.026287585496902466, -0.06752736866474152, 0.07019452005624771, 0.023337556049227715, -0.031056124716997147, -0.00880967453122139, -0.0038845413364470005, 0.014366235584020615, -0.020185470581054688, 0.03408697620034218, 0.017720378935337067, -0.057747822254896164, 0.07565005123615265, -0.07411441951990128, 0.03245031461119652, -0.06530474871397018, 0.005703052040189505, -0.006960855331271887, 0.040128473192453384, 0.04509906843304634, 0.08720769733190536, 0.05706083029508591, -0.03358183428645134, 0.025984499603509903, -0.0677698403596878, 0.023398173972964287, 0.007258889265358448, 0.01489158347249031, -0.03742091357707977, -0.0030914684757590294, -0.015326005406677723, -0.0015861456049606204, -0.005114561878144741, -0.02764136530458927, -0.058798518031835556, 0.05318133905529976, 0.0015154257416725159, 0.011800114996731281, -0.011426310054957867, 0.02238789014518261, -0.04384631663560867, 0.02881329506635666, 0.001396717387251556, 0.04263397678732872, 0.06182936951518059, -0.007506408728659153, 0.03331916034221649, 0.03063180483877659, -0.051807355135679245, 0.02172110229730606, -0.0615869015455246, 0.051403239369392395, -0.013558008708059788, 0.01828613691031933, 0.0057485150173306465, 0.0011353064328432083, -0.007380123250186443, -0.030389336869120598, -0.00822371058166027, -0.0008126470493152738, -0.0032960509415715933, -0.03519828990101814, 0.01209309697151184, 0.04380590468645096, -0.027217045426368713, -0.05289845913648605, 0.06174854561686516, -0.05455532670021057, 0.027014989405870438, 0.03746132552623749, 0.020559275522828102, 0.06098072975873947, -0.01069890521466732, 0.04716004803776741, 0.020286498591303825, 0.010628186166286469, 0.014002533629536629, -0.0037431016098707914, -0.0023476469796150923, -0.05200941115617752, -0.004389683250337839, -0.033298954367637634, -0.005985931493341923, 0.02477215975522995, -0.013143792748451233, 0.013224614784121513, -0.0395020991563797, 0.0030384284909814596, 0.03277360647916794, -0.01468952652066946, -0.057990290224552155, -0.01259823888540268, -0.07427606731653214, -0.060859497636556625, -0.029985222965478897, 0.056252602487802505, 0.014255104586482048, -0.03594589978456497, -0.015770530328154564, 0.03253113850951195, -0.03012666292488575, -0.027257457375526428, 0.013062969781458378, 0.03824934363365173, -0.03679453581571579, 0.004111855290830135, -0.04186616092920303, 0.04570524021983147, -0.05698000639677048, 0.019134774804115295, 0.05039295554161072, 0.013062969781458378, 0.008951114490628242, -0.038895927369594574, 0.01761934906244278, 0.023660847917199135, 0.055686842650175095, 0.04570524021983147, -0.035683225840330124, 0.08082270622253418, -0.008905651979148388, -0.021458428353071213, -0.02608552761375904, -0.03053077682852745, 0.0023097614757716656, -0.0009825009619817138, 0.016346393153071404, -0.04287644475698471, 0.015204771421849728, -0.008597515523433685, -0.07181097567081451, 0.04647305607795715, -0.024731747806072235, 0.05277722701430321, 0.046634700149297714, -0.02271118015050888, 0.007748876698315144, 0.03194517269730568, 0.01494209747761488, 0.016760608181357384, -0.0014472316252067685, -0.009663364849984646, 0.060132093727588654, 0.04914020374417305, -0.010345306247472763, -0.020690612494945526, 0.01736677810549736, 0.0054353270679712296, -0.0058141835033893585, -0.018781175836920738, 0.005192858632653952, 0.015033023431897163, 0.0030055944807827473, -0.013396363705396652, 0.03471335023641586, -0.007137655280530453, 0.044735368341207504, -0.006349633913487196, -0.0307934507727623, -0.01859932579100132, -0.0012173920404165983, -0.06817395240068436, -0.020559275522828102, 0.008506589569151402, -0.018377061933279037, 0.01474004052579403, -0.0752459391951561, 0.03277360647916794, -0.01760924607515335, 0.01069890521466732, 0.02675231546163559, -0.024549897760152817, 0.02616635151207447, -0.011709189042448997, 0.04970596358180046, -0.06073826178908348, 0.008541950024664402, -0.036168161779642105, -0.02254953421652317, -0.008097425103187561, -0.047523751854896545, 0.04598812013864517, -0.007314454764127731, 0.021761514246463776, -0.034531500190496445, 0.05192858725786209, -0.0021215961314737797, 0.004654882475733757, -0.0004934605094604194, 0.04115896299481392, -0.00839040707796812, -0.07193221151828766, -0.010067477822303772, 0.047362104058265686, -0.05103953927755356, -0.006622410379350185, 0.05289845913648605, 0.024549897760152817, -0.039562713354825974, 0.06477940082550049, 0.021418016403913498, 0.0006074331467971206, 0.07629663497209549, -0.03786543756723404, 0.03232908248901367, -0.016356494277715683, -0.04360384866595268, -0.04509906843304634, 0.028591031208634377, -0.06174854561686516, -0.0386938713490963, 0.03259175643324852, -0.018983233720064163, 0.024064959958195686, 0.01369944866746664, 0.03861304745078087, 0.026853343471884727, -0.004513442981988192, -0.04841279983520508, 0.005187807604670525, -0.00991088431328535, -0.09335022419691086, 0.06461775302886963, 0.024832775816321373, -0.02849000319838524, 0.007940830662846565, 0.049423083662986755, 0.024307427927851677, -0.018912512809038162, 0.0008240127353928983, -0.011193945072591305, 0.016588861122727394, 0.005119613371789455, 0.003172291209921241, 0.027116017416119576, 0.06425405293703079, -0.0002326809917576611, 0.0005818603094667196, -0.024650925770401955, -0.026226967573165894, -0.033218130469322205, -0.08930908888578415, 0.034188006073236465, -0.021842336282134056, -0.012689164839684963, -0.01835685782134533, 0.0041800495237112045, -0.020114751532673836, -0.012477004900574684, -0.02527730166912079, 0.04627100005745888, -0.028995145112276077, 0.010279637761414051, 0.0005821760278195143, 0.05415121465921402, 0.06942670047283173, 0.0046952939592301846, 0.026146145537495613, 0.007718568202108145, -0.0026469435542821884, -0.02166048437356949, -0.055525198578834534, -0.0012344405986368656, 0.02665128745138645, -0.07637745887041092, -0.059970445930957794, 0.049261439591646194, -0.040795259177684784, -0.002136750379577279, -0.04938267171382904, 0.0452607162296772, 0.002183475997298956, -0.01111312210559845, -0.03202599659562111, -0.03966374322772026, 0.011133328080177307, 0.014214693568646908, -0.0025534923188388348, -0.06595132499933243, 0.05002925544977188, -0.05980880185961723, 0.0007918099290691316, -0.051888175308704376, 0.013679242692887783, -0.058232758194208145, 0.004445248749107122, -0.01234566792845726, -0.06643626093864441, 0.0041800495237112045, -0.0366935096681118, 0.02766157127916813, 0.024570101872086525, -0.08389396965503693, 0.03523869812488556, -0.02980337291955948, -0.05750535428524017, -0.005561612546443939, 0.0052888356149196625, -0.008102476596832275, 0.009001628495752811, -0.01374996267259121, -0.010880757123231888, 0.0025206580758094788, -0.024650925770401955, -0.033218130469322205, 0.04760457202792168, 0.01966012269258499, 0.0516861192882061, 0.037966467440128326, 0.011992068961262703, 0.02295364812016487, -0.04328056052327156, 0.006041497457772493, 0.0027100862935185432, -0.025903677567839622, 0.036006513983011246, -0.044735368341207504, -0.001996573293581605, -0.005177704617381096, 0.047038815915584564, 0.012982146814465523, 0.03570343181490898, -0.03887572139501572, -0.01543713640421629, 0.004584162961691618, 0.023984137922525406, -0.055686842650175095, 0.04412919655442238, -0.0017970423214137554, 0.026853343471884727, -0.062395129352808, 0.009956346824765205, -0.04675593599677086, -0.002124121645465493, 0.03523869812488556, 0.019447963684797287, -0.04534153640270233, -0.02164028026163578, -0.01570991426706314, -0.026388613507151604, -0.04501824826002121, -0.018296239897608757, -0.02584305964410305, -0.024650925770401955, -0.011375796049833298, 0.02295364812016487, 0.10506951808929443, 0.02733827941119671, -0.018649838864803314, 0.05520190671086311, 0.0037734101060777903, 0.009577490389347076, 0.010022015310823917, -0.01777089200913906, 0.035097260028123856, 0.05479779466986656, -0.0516861192882061, -0.011648572050035, 0.016265569254755974, -0.016598964110016823, 0.0474025160074234, -0.03285443037748337, -0.004702871199697256, -0.001187714864499867, 0.049988843500614166, -0.00010205445141764358, 0.00011618263670243323, -0.02715642936527729, -0.05289845913648605, -0.0053039900958538055, 0.015821045264601707, 0.011042402125895023, -0.03220784664154053, 0.0183467548340559, 0.006900238338857889, 0.044977836310863495, -0.043240148574113846, 0.0007697099936194718, -0.027722187340259552, -0.004867042414844036, 0.08348985761404037, 0.030672216787934303, 0.034188006073236465, -0.053706686943769455, -0.03635001182556152, -0.028873911127448082, -0.07977201044559479, -0.034430474042892456, 0.023519407957792282, 0.01909436471760273, -0.04469495639204979, 0.018377061933279037, 0.029742754995822906, 0.021054314449429512, -0.0439271405339241, -0.012628547847270966, 0.014800657518208027, -0.0067689018324017525, -0.012133508920669556, -0.016598964110016823, -0.026893755421042442, -0.02008444257080555, 0.014709732495248318, 0.024711541831493378, 0.03697638958692551, 0.044816188514232635, -0.08607618510723114, -0.031056124716997147, 0.018973130732774734, 0.0016088769771158695, 0.0279848612844944, 0.039138395339250565, 0.02246871218085289, -0.030146868899464607, -0.020852258428931236, -0.023438584059476852, 0.024893393740057945, 0.026530053466558456, 0.009617902338504791, -0.01539672538638115, 0.005778823513537645, -0.04602853208780289, -0.003073788480833173, -0.011224253103137016, 0.020064236596226692, 0.028247535228729248, 0.020791640505194664, -0.02780301123857498, 0.019548991695046425, 0.03408697620034218, -0.06603214889764786, -0.03657227382063866, 0.05673753842711449, 0.032975662499666214, -0.1146065965294838, 0.029358847066760063, -0.010830242186784744, -0.049503907561302185, -0.02822732925415039, -0.0183467548340559, -0.05043336749076843, 0.025863265618681908, -0.003217753954231739, 0.01304276380687952, -0.007203323766589165, -0.04158328101038933, -0.04121958091855049, 0.01711420714855194, 0.06098072975873947, 0.03162188455462456, -0.0033288851846009493, -0.015841251239180565, 0.025236889719963074, -0.01349739171564579, 0.012426490895450115, 0.04255315288901329, 0.0017515795771032572, 0.011527338065207005, 0.03259175643324852, 0.06607256084680557, -0.04849362373352051, 0.02822732925415039, 0.024873187765479088, -0.037481531500816345, -0.006834569852799177, -0.03505684807896614, 0.011891040951013565, -0.03327874839305878, -0.07468017935752869, 0.04716004803776741, 0.0602533258497715, 0.012365873903036118, -0.00532924709841609, -0.0045260717160999775, 0.014002533629536629, -0.013426671735942364, 0.00042937061516568065, 0.027782805263996124, 0.1119394451379776, -0.021034108474850655, -0.00686992984265089, 0.006162731442600489, -0.0034829534124583006, 0.007329609245061874, 0.042755212634801865, 0.02501462772488594, 0.024327633902430534, -0.06324376910924911, -0.000806964177172631, -0.01588166132569313, 0.0046700369566679, -0.005374710075557232, -0.028247535228729248, 0.03519828990101814, 0.02600470557808876, 0.018124490976333618, -0.029520493000745773, 0.015588679350912571, -0.010001810267567635, -0.0889049768447876, 0.0021228587720543146, -0.0760541632771492, -0.012184022925794125, -0.005763669032603502, 0.039865799248218536, 0.015134051442146301, -0.026469435542821884, 0.026449229568243027, -0.05269640311598778, -0.03515787795186043, -0.07399318367242813, 0.034046564251184464, -0.012608341872692108, -0.02988419495522976, 0.05572725459933281, -0.030833862721920013, 0.018569016829133034, 0.009521924890577793, -0.011507133021950722, -0.024711541831493378, -0.06591091305017471, -0.04845321178436279, 0.01686163619160652, 0.019528785720467567, 0.021862542256712914, 0.01490168645977974, -0.029237613081932068, 0.02913658507168293, -0.033703070133924484, 0.044088784605264664, 0.015457342378795147, 0.056171782314777374, 0.030328720808029175, -0.002153167501091957, -0.06231430545449257, -0.08753099292516708, 0.016679786145687103, 0.03643083572387695, 0.05306010693311691, 0.07520552724599838, 0.029985222965478897, -0.07512470334768295, 0.044088784605264664, 0.04166410490870476, -0.02747971937060356, -0.0222262442111969, 0.037582557648420334, 0.03911818936467171, 0.021276576444506645, 0.031157152727246284, 0.0022314644884318113, 0.058313582092523575, 0.021680690348148346, 0.02501462772488594, -0.054029978811740875, 0.013305437751114368, 0.04065382108092308, 0.07641787081956863, 0.026732109487056732, -0.059727977961301804, 0.03808769956231117 ]
42,051
patch_ng
can_patch
Check if specified filename can be patched. Returns None if file can not be found among source filenames. False if patch can not be applied clearly. True otherwise. :returns: True, False or None
def can_patch(self, filename): """ Check if specified filename can be patched. Returns None if file can not be found among source filenames. False if patch can not be applied clearly. True otherwise. :returns: True, False or None """ filename = abspath(filename) for p in self.items: if filename == abspath(p.source): return self._match_file_hunks(filename, p.hunks) return None
(self, filename)
[ 0.0826534628868103, -0.03178979083895683, -0.018586190417408943, 0.054042648524045944, -0.02628076635301113, -0.05241703242063522, -0.007482341956347227, 0.024041030555963516, 0.029947429895401, 0.006683081388473511, -0.017592759802937508, -0.03417402505874634, 0.03234972432255745, -0.017583729699254036, -0.027021324262022972, -0.017637915909290314, -0.009952372871339321, 0.06383245438337326, 0.007261077407747507, -0.02501639910042286, 0.004709766246378422, 0.023661719635128975, 0.03213297575712204, 0.04132673144340515, 0.020898176357150078, 0.0661444440484047, 0.05332015082240105, -0.0023481096141040325, 0.03016417846083641, 0.006150241009891033, -0.025124773383140564, 0.017583729699254036, 0.03991786390542984, 0.04132673144340515, -0.007261077407747507, 0.0024316480848938227, -0.025666644796729088, -0.02369784563779831, -0.051116541028022766, -0.05064691975712776, 0.02906237170100212, 0.09219039976596832, 0.000473290856461972, -0.013501630164682865, 0.012065671384334564, 0.0019484794465824962, -0.08684393018484116, 0.04602294787764549, 0.02261410281062126, 0.022397354245185852, 0.011135458946228027, 0.023282410576939583, -0.010458119213581085, -0.016102613881230354, 0.001767855603247881, 0.03807550296187401, -0.00328283803537488, 0.09219039976596832, 0.01774629019200802, -0.027834130451083183, 0.0035537737421691418, -0.012499168515205383, 0.04952705278992653, -0.09659761935472488, -0.006484394893050194, -0.030543487519025803, 0.03505908325314522, -0.07615100592374802, -0.0033776655327528715, 0.05570438504219055, -0.03742525726556778, 0.02261410281062126, 0.00015423580771312118, 0.00976271741092205, 0.015623960644006729, 0.023679783567786217, 0.03587188944220543, -0.0028064425569027662, 0.0409654825925827, -0.04591457545757294, -0.05393427237868309, -0.024474527686834335, 0.024980274960398674, -0.0015917473938316107, -0.010412963107228279, -0.0005339691415429115, 0.0606173537671566, 0.02017568051815033, 0.011288988403975964, -0.029965491965413094, -0.010295557789504528, 0.04425283521413803, 0.023661719635128975, -0.09139565378427505, 0.034878458827733994, 0.008177743293344975, 0.056101758033037186, -0.010223308578133583, -0.0378587543964386, -0.007274624425917864, -0.0063173179514706135, 0.02134973555803299, 0.03178979083895683, 0.004425283521413803, 0.06845642626285553, 0.06018385663628578, -0.009871091693639755, 0.02194579318165779, -0.051477789878845215, 0.003585382830351591, -0.03545645624399185, -0.07911323010921478, 0.036793071776628494, 0.009500812739133835, 0.04248272255063057, -0.05310340225696564, -0.06495232880115509, -0.012363700196146965, -0.006800486706197262, -0.0027251618448644876, 0.026316890493035316, 0.01174054853618145, 0.009816904552280903, -0.009545968845486641, 0.03495071083307266, -0.041579604148864746, 0.001753179938532412, -0.013339068740606308, 0.04580619931221008, -0.01266172993928194, -0.035998325794935226, 0.031139547005295753, -0.03574545308947563, 0.02899012342095375, -0.028791436925530434, 0.006249584257602692, 0.014287344180047512, -0.018513942137360573, 0.07752374559640884, -0.03829225152730942, 0.0242035910487175, -0.0028132160659879446, 0.03800325095653534, -0.010909678414463997, -0.07564525306224823, -0.030796362087130547, -0.02113298699259758, 0.023607533425092697, 0.009880122728645802, 0.030778298154473305, 0.02178323268890381, -0.042807843536138535, -0.03110342100262642, -0.011794735677540302, 0.009618218056857586, -0.010449088178575039, 0.0010549559956416488, 0.004535915795713663, 0.010683898814022541, -0.03800325095653534, 0.03206072747707367, -0.037100132554769516, -0.015325930900871754, 0.04284397140145302, -0.0031631747260689735, -0.03962886705994606, -0.07286364585161209, -0.0644465759396553, 0.0196518711745739, 0.03587188944220543, 0.0066559878177940845, 0.03648601099848747, 0.053898148238658905, 0.046492572873830795, 0.06910667568445206, 0.04389158636331558, -0.0004117658536415547, -0.006421176716685295, -0.012390794232487679, 0.011614111252129078, 0.003917279187589884, -0.020500803366303444, 0.0027206463273614645, 0.09999334812164307, -0.021241361275315285, 0.04042360931634903, -0.04609519988298416, -0.008159681223332882, 0.021114924922585487, 0.039953988045454025, 0.019091937690973282, -0.01118964608758688, 0.028213441371917725, 0.025197023525834084, -0.03883412107825279, -0.02810506708920002, 0.027707694098353386, 0.020374367013573647, 0.016987670212984085, -0.03352377936244011, -0.04042360931634903, -0.06748105585575104, 0.004800077993422747, 0.06758943200111389, -0.025269271805882454, 0.026226578280329704, 0.013935127295553684, -0.006272162310779095, 0.0014427327550947666, 0.031952355057001114, -0.0019879909232258797, -0.06513294577598572, -0.011018052697181702, 0.01842362992465496, 0.04558945074677467, 0.02781606838107109, -0.03074217401444912, 0.013302944600582123, -0.09161239862442017, 0.02604595571756363, -0.009356314316391945, 0.02906237170100212, -0.030543487519025803, 0.04118223115801811, 0.012417887337505817, 0.05089979246258736, 0.0507914163172245, 0.12159595638513565, 0.01827009953558445, 0.023083724081516266, -0.016183894127607346, -0.03948436677455902, 0.01327585056424141, -0.01914612576365471, 0.018893251195549965, -0.02544989623129368, -0.005919945891946554, 0.026515576988458633, 0.031952355057001114, 0.04233822226524353, 0.058522116392850876, 0.03551064431667328, 0.06245971843600273, -0.02333659678697586, -0.013474537059664726, -0.06527744978666306, -0.012752041220664978, -0.012146951630711555, 0.0032263929024338722, -0.0006829838384874165, 0.05509026348590851, 0.040387485176324844, -0.03440883755683899, 0.04562557861208916, -0.03570932894945145, -0.059425238519907, -0.0007682156865485013, -0.03500489518046379, 0.05263378098607063, 0.018694564700126648, 0.004522368777543306, 0.031663354486227036, 0.03991786390542984, 0.011713454499840736, -0.0457700751721859, -0.019579622894525528, -0.00884153600782156, 0.04439733549952507, -0.033794716000556946, 0.007130125071853399, -0.008755739778280258, -0.02700326032936573, 0.0022487665992230177, -0.0015319157391786575, -0.016545141115784645, 0.014901464805006981, 0.042157597839832306, 0.0352216437458992, 0.03572739288210869, 0.012444981373846531, 0.014838246628642082, 0.01841459795832634, 0.030362864956259727, 0.025883393362164497, -0.010268463753163815, -0.0579802468419075, -0.03991786390542984, 0.03222328796982765, -0.011352207511663437, 0.03110342100262642, -0.0018163982313126326, 0.017339887097477913, 0.010241370648145676, -0.06986529380083084, -0.012481105513870716, 0.03644988685846329, 0.041868600994348526, -0.05899173766374588, 0.013041039928793907, -0.02458290196955204, -0.04710669070482254, 0.02913462184369564, 0.044939205050468445, -0.00007986959826666862, -0.046998318284749985, 0.010259432718157768, -0.03336121886968613, -0.03793100267648697, -0.04006236419081688, 0.016102613881230354, 0.029459744691848755, 0.023896532133221626, -0.02729225903749466, -0.050827544182538986, 0.06982916593551636, -0.028520500287413597, 0.02393265627324581, 0.006118631921708584, -0.03110342100262642, 0.02494414895772934, -0.03608863800764084, 0.03962886705994606, -0.000248216645559296, 0.018839064985513687, 0.05024954676628113, -0.026316890493035316, 0.09240714460611343, -0.05494576692581177, -0.0028561141807585955, 0.008665427565574646, -0.0022036104928702116, -0.035691265016794205, 0.05357302352786064, -0.03560095652937889, -0.020157618448138237, 0.005653525702655315, -0.04298846796154976, -0.044577959924936295, 0.050827544182538986, -0.007690059021115303, 0.03148273006081581, -0.029550056904554367, -0.003242197446525097, -0.02281278930604458, 0.032909661531448364, 0.013302944600582123, 0.013944159261882305, 0.03236778825521469, -0.003946630284190178, -0.0009369860636070371, -0.01672576554119587, -0.009356314316391945, -0.01247207447886467, 0.024817712604999542, -0.018152693286538124, -0.006940470077097416, -0.010078809224069118, 0.0385812483727932, -0.005906398873776197, 0.02604595571756363, 0.06581932306289673, -0.0359441414475441, -0.031139547005295753, -0.003939857240766287, -0.04356646537780762, 0.009717561304569244, 0.03634151071310043, -0.04071260988712311, -0.07730699330568314, -0.03104923479259014, -0.027490945532917976, 0.018161725252866745, -0.015027902089059353, -0.07326102256774902, 0.02707551047205925, -0.08005248010158539, 0.0045968759804964066, 0.007662965450435877, 0.013113289140164852, 0.033939216285943985, 0.005518057849258184, 0.03287353366613388, -0.020356304943561554, 0.0378587543964386, -0.029676493257284164, -0.005527088884264231, -0.03112148493528366, -0.05707712844014168, -0.012201138772070408, -0.0019202569965273142, 0.05855824053287506, -0.015976177528500557, -0.021476171910762787, 0.003072862746194005, -0.06018385663628578, -0.03375859186053276, 0.0029441681690514088, 0.011722485534846783, -0.0371362566947937, 0.0028741764836013317, 0.03321671858429909, -0.028087003156542778, -0.022632164880633354, 0.03388502821326256, -0.008295148611068726, 0.018532004207372665, 0.027906380593776703, 0.02003118209540844, 0.0017757578752934933, 0.022270917892456055, -0.0339030921459198, -0.00384277175180614, -0.02171098254621029, -0.06986529380083084, -0.04884067922830582, 0.06202622130513191, -0.04320521652698517, -0.05733000114560127, 0.005856727249920368, -0.0003268162254244089, 0.029550056904554367, -0.020157618448138237, 0.0076539344154298306, 0.017376011237502098, -0.018315255641937256, -0.05686037987470627, -0.010340713895857334, -0.002849340671673417, -0.0469621941447258, 0.04006236419081688, -0.04454183578491211, 0.012851384468376637, 0.060725729912519455, 0.007346873637288809, 0.06271258741617203, -0.07066003978252411, 0.009365345351397991, -0.02891787327826023, -0.03052542544901371, -0.018378473818302155, -0.014287344180047512, 0.041868600994348526, -0.00924342405050993, 0.003488297574222088, 0.006583738140761852, -0.020663365721702576, -0.00035927206045016646, -0.03843674808740616, -0.016779953613877296, 0.0025896939914673567, -0.06921504437923431, 0.047720812261104584, 0.008448679000139236, -0.027418695390224457, -0.008502866141498089, 0.014061564579606056, -0.05863049253821373, -0.0033257361501455307, -0.032476164400577545, 0.030868610367178917, -0.018622316420078278, 0.0051613254472613335, 0.05566826090216637, -0.034878458827733994, 0.025883393362164497, -0.029983554035425186, -0.049563176929950714, 0.006407630164176226, 0.0039330837316811085, 0.04931030422449112, 0.04331359267234802, -0.02868306264281273, -0.029622307047247887, -0.006272162310779095, -0.04085710644721985, 0.02530539780855179, -0.01819784939289093, 0.09724786132574081, 0.000017859532817965373, 0.015425274148583412, -0.06675856560468674, -0.04071260988712311, -0.01628323644399643, 0.014684716239571571, 0.04331359267234802, -0.10310007631778717, -0.011577987112104893, -0.026154330000281334, -0.018730690702795982, -0.0553431399166584, 0.0074958885088562965, -0.05736612528562546, 0.028014754876494408, 0.020934300497174263, -0.02209029346704483, 0.008064853958785534, 0.0066559878177940845, 0.07289977371692657, 0.003982755355536938, -0.015064026229083538, 0.019760245457291603, 0.015976177528500557, -0.022794725373387337, 0.049490924924612045, 0.00025174443726427853, -0.02678651176393032, -0.01679801568388939, -0.01346550602465868, -0.00014718019519932568, 0.031067296862602234, -0.004777499940246344, 0.0037005303893238306, 0.05657137930393219, 0.04439733549952507, 0.07326102256774902, 0.06549419462680817, 0.00498973298817873, 0.03410177677869797, -0.013628067448735237, 0.012634635902941227, 0.021259423345327377, -0.09240714460611343, 0.061520472168922424, -0.0682758018374443, -0.00942856352776289, 0.008119041100144386, 0.016183894127607346, -0.006994657218456268, -0.0012192107969895005, -0.039664991199970245, 0.004100160673260689, 0.016843171790242195, 0.002341336337849498, -0.04764856398105621, 0.0001914894673973322, 0.02956811897456646, 0.011144489981234074, 0.0046781571581959724, -0.09211815148591995, -0.04118223115801811, -0.0014427327550947666, 0.02656976319849491, 0.06188172101974487, -0.0333070307970047, 0.008710583671927452, -0.012408856302499771, -0.051766786724328995, -0.09659761935472488, 0.02949586883187294, -0.025793081149458885, 0.04717894271016121, 0.034300465136766434, -0.016129707917571068, 0.012580448761582375, 0.05985873565077782, -0.0016673835925757885, 0.06787843257188797, -0.01819784939289093, -0.016192926093935966, 0.0021324900444597006, 0.01001559104770422, -0.002316500525921583, 0.06513294577598572, -0.04454183578491211, -0.06560257077217102, -0.027779944241046906, -0.016247112303972244, 0.06376020610332489, -0.012083733454346657, -0.0110812708735466, 0.024763526394963264, 0.05761899799108505, 0.029116559773683548, -0.006077991332858801, -0.025793081149458885, -0.02788831852376461, 0.04988829791545868, -0.00038523675175383687, -0.028520500287413597, -0.020049244165420532, -0.0028899810276925564, -0.014576341956853867, 0.02530539780855179, -0.0004557929059956223, -0.03361409157514572, -0.026154330000281334, -0.027545131742954254, 0.051983535289764404, 0.05805249512195587, 0.011460581794381142, -0.02487190067768097, -0.003558289259672165, 0.006132178474217653, -0.06722818315029144, 0.009356314316391945, 0.04338584095239639, 0.012616573832929134, 0.0025896939914673567, 0.033939216285943985, 0.04316909238696098, 0.022415416315197945, -0.0802692249417305, -0.01478405948728323, -0.047359567135572433, 0.011632174253463745, -0.011442518793046474, -0.015822647139430046, -0.028068941086530685, -0.007739730644971132, -0.008891207166016102, -0.008728645741939545, -0.0043214247561991215, 0.035474516451358795, -0.10396707057952881, 0.027942504733800888, 0.04558945074677467, -0.003948888275772333, 0.03558289259672165, 0.029152683913707733, -0.04902130365371704, -0.012363700196146965, 0.021169111132621765, 0.018766814842820168, 0.030471239238977432, 0.048696182668209076, -0.005436777137219906, -0.013926096260547638, 0.017574697732925415, -0.043927714228630066, -0.011866984888911247, 0.04418058693408966, 0.008155165240168571, 0.03148273006081581, -0.022180605679750443, 0.003664405783638358, -0.010367807000875473, 0.00259420950897038, -0.06040060520172119, -0.01133414451032877, 0.05985873565077782, -0.008349335752427578, -0.10851879417896271, -0.02068142779171467, 0.01643676683306694, -0.03695563226938248, 0.04483083263039589, 0.00039426793227903545, -0.037172380834817886, 0.05400652065873146, -0.03984561562538147, -0.011270926333963871, 0.005752868484705687, -0.02378815785050392, -0.01834234967827797, 0.031211795285344124, 0.027201946824789047, -0.02752706967294216, -0.022686351090669632, -0.025287333875894547, 0.008353851735591888, 0.031591106206178665, -0.009907216764986515, -0.006764362100511789, -0.007423638831824064, 0.020880114287137985, -0.02378815785050392, 0.04967154935002327, -0.10114933550357819, -0.025630520656704903, 0.1114087700843811, -0.03764200583100319, 0.0022544111125171185, -0.022577976807951927, -0.0021945794578641653, 0.056679755449295044, -0.03477008640766144, -0.024962211027741432, 0.03448108583688736, 0.03200653940439224, -0.017511479556560516, -0.003641827730461955, 0.00576189998537302, -0.00024539438891224563, 0.019182249903678894, 0.0141970319673419, 0.09262389689683914, -0.003400243353098631, 0.010412963107228279, 0.001617712085135281, 0.02393265627324581, -0.009536937810480595, 0.0030548004433512688, -0.013059101998806, 0.08142521977424622, -0.04067648574709892, 0.0014664396876469254, 0.0037231084425002337, 0.060508981347084045, -0.019561558961868286, -0.013908034190535545, -0.01558783557265997, 0.052489280700683594, 0.01900162547826767, -0.0007326553459279239, -0.013564849272370338, -0.008024212904274464, -0.09052865952253342, -0.005269699729979038, -0.02992936782538891, -0.030760236084461212, -0.04754018783569336, 0.005387105513364077, 0.0685286745429039, -0.04100160673260689, 0.028087003156542778, -0.09161239862442017, -0.0385812483727932, -0.0658915713429451, 0.10497856140136719, -0.03397534042596817, -0.02194579318165779, 0.05848599225282669, -0.08380945026874542, 0.005915429908782244, -0.007369451690465212, -0.004583329427987337, -0.023083724081516266, -0.07709024846553802, -0.04558945074677467, 0.03148273006081581, 0.0033257361501455307, 0.021530359983444214, -0.021259423345327377, -0.010801304131746292, 0.016256144270300865, -0.014720841310918331, -0.017059920355677605, 0.011054177768528461, 0.031825918704271317, 0.007080453913658857, 0.00555869797244668, -0.048407182097435, -0.016057457774877548, -0.04620357230305672, 0.02413134276866913, 0.028339877724647522, -0.0006795971421524882, 0.02832181565463543, -0.02875531278550625, 0.021530359983444214, 0.042952343821525574, -0.012968789786100388, -0.03764200583100319, -0.0070443288423120975, 0.04873230680823326, -0.010873554274439812, -0.04056810960173607, -0.003860834054648876, 0.0409654825925827, 0.007161734625697136, -0.047142818570137024, -0.004407220985740423, -0.007419123314321041, 0.0507914163172245, 0.0009251325973309577, -0.019778307527303696, -0.030543487519025803, 0.039592742919921875 ]
42,052
patch_ng
decode_clean
null
def decode_clean(self, path, prefix): path = path.decode("utf-8").replace("\\", "/") if path.startswith(prefix): path = path[2:] return path
(self, path, prefix)
[ -0.029441531747579575, 0.11368411034345627, -0.014210513792932034, 0.0228082574903965, -0.04619479924440384, -0.056399837136268616, 0.00903145782649517, 0.08048372715711594, 0.12477358430624008, -0.043643541634082794, 0.050957150757312775, 0.033744655549526215, -0.005136535037308931, 0.003948073834180832, 0.015418109484016895, 0.041772618889808655, -0.004190443083643913, 0.026073869317770004, -0.012212027795612812, 0.018845301121473312, -0.06037980318069458, -0.024049870669841766, -0.009652264416217804, 0.041636548936367035, -0.015392596833407879, 0.022638173773884773, 0.003393174847587943, -0.018403083086013794, 0.02602284401655197, -0.06238679215312004, 0.07061885297298431, 0.05129731819033623, 0.006178299430757761, 0.035887714475393295, 0.020750241354107857, -0.027587616816163063, 0.00441367831081152, -0.014907858334481716, -0.1003495305776596, -0.0440177246928215, -0.03629591315984726, 0.03806478902697563, -0.009439659304916859, -0.008644516579806805, 0.07619760930538177, 0.02102237567305565, -0.012756296433508396, -0.0035590066108852625, -0.006382400169968605, 0.060141682624816895, 0.014508160762488842, -0.005302367266267538, -0.03393174707889557, -0.022961333394050598, -0.007985441014170647, -0.035105325281620026, 0.04398370906710625, 0.022927315905690193, -0.02194082923233509, 0.024202946573495865, -0.0026022843085229397, -0.024083886295557022, -0.018522141501307487, -0.006361139472573996, 0.020852291956543922, 0.013224027119576931, 0.025869768112897873, -0.029509564861655235, -0.026499079540371895, 0.0008977243560366333, -0.030853228643536568, -0.006471693981438875, -0.011208532378077507, 0.014185001142323017, 0.0744287371635437, -0.025257466360926628, 0.0029084354173392057, -0.0015849698102101684, -0.014856833033263683, -0.018658209592103958, 0.018981369212269783, -0.056842055171728134, 0.012951892800629139, -0.03949349373579025, 0.0072073074989020824, 0.0052640982903540134, 0.05759042501449585, 0.00636539189144969, 0.000987018458545208, 0.05864494666457176, 0.023250475525856018, -0.03650001436471939, -0.04418781027197838, -0.0038311409298330545, 0.005425678100436926, -0.024253971874713898, 0.035105325281620026, -0.007305105682462454, -0.021481603384017944, -0.06980245560407639, 0.017255015671253204, 0.041704583913087845, -0.09041662514209747, 0.019559653475880623, 0.052964139729738235, 0.03333645313978195, 0.02660113014280796, -0.028199918568134308, -0.028284961357712746, -0.028948288410902023, -0.010434649884700775, -0.0572502575814724, -0.0029360740445554256, 0.0391533263027668, 0.023267483338713646, -0.011965406127274036, -0.04323533922433853, -0.0795992910861969, 0.02762163244187832, 0.011012936010956764, -0.0027617381419986486, 0.013487656600773335, -0.09341010451316833, -0.004054375924170017, 0.04037792980670929, 0.03331944718956947, 0.01287535484880209, 0.057556409388780594, 0.01944059506058693, 0.03143151476979256, 0.002283377107232809, 0.07524514198303223, -0.061570387333631516, -0.02439003810286522, -0.016515150666236877, 0.02374371886253357, -0.0070925005711615086, 0.0097883315756917, -0.002434326568618417, 0.029509564861655235, 0.018658209592103958, 0.032877225428819656, 0.0355815626680851, -0.010876868851482868, -0.03476515784859657, 0.013181505724787712, 0.06218269094824791, -0.0015371337067335844, -0.02309739962220192, -0.025206441059708595, -0.015605201944708824, -0.01806291565299034, 0.03435695916414261, -0.011174515821039677, 0.04122835025191307, -0.046364884823560715, -0.017960865050554276, -0.03605779632925987, 0.03240099176764488, -0.014219017699360847, 0.029220422729849815, -0.0388471744954586, 0.0038077544886618853, -0.07592547684907913, -0.003165687434375286, 0.018454108387231827, 0.08245670050382614, -0.02345457673072815, -0.01563921943306923, 0.0009625688544474542, 0.02137955278158188, 0.004724081605672836, -0.017518647015094757, 0.022910308092832565, -0.007449676748365164, -0.014142480678856373, 0.023403551429510117, -0.016957368701696396, -0.010068969801068306, 0.02575070969760418, 0.02144758589565754, 0.01287535484880209, 0.0250873826444149, 0.03442499041557312, 0.04024186357855797, -0.011650750413537025, -0.02194082923233509, 0.01233959011733532, 0.0827968642115593, -0.012331086210906506, -0.04826982319355011, 0.03163561597466469, -0.013853337615728378, 0.010307087562978268, 0.01836906559765339, -0.045514464378356934, 0.10538401454687119, 0.0013904363149777055, -0.03476515784859657, -0.04061604663729668, -0.0012448019115254283, 0.020903317257761955, -0.01765471324324608, -0.013751287013292313, -0.027519581839442253, 0.00810024794191122, 0.009405642747879028, 0.06953031569719315, -0.058338794857263565, 0.012645741924643517, 0.02229800634086132, -0.012220531702041626, 0.035683613270521164, -0.03246902674436569, 0.006378148216754198, -0.04520831257104874, -0.043643541634082794, 0.06582248955965042, 0.039051275700330734, 0.06058390066027641, -0.03348952904343605, 0.029917767271399498, -0.002963712904602289, -0.03379568085074425, -0.017552662640810013, -0.04582061618566513, -0.027706675231456757, 0.057488374412059784, 0.04374559223651886, -0.025563618168234825, 0.02367568574845791, -0.08749118447303772, 0.008040718734264374, -0.002147309947758913, 0.04670505225658417, 0.03820085525512695, 0.03143151476979256, -0.05670598894357681, 0.020818274468183517, -0.0207162257283926, 0.01287535484880209, -0.07476890087127686, 0.037112317979335785, 0.005115274805575609, 0.021328527480363846, 0.07810255140066147, 0.038983240723609924, 0.009082483127713203, 0.0433373898267746, 0.010460162535309792, -0.018811285495758057, 0.09599538147449493, 0.0070925005711615086, 0.05942733213305473, 0.028063850477337837, 0.003901300486177206, -0.06116218864917755, -0.018964359536767006, -0.01606442965567112, 0.05990356579422951, -0.06854382902383804, -0.0446300283074379, 0.012696766294538975, 0.0007255143136717379, 0.0001649017067393288, -0.026499079540371895, 0.002542755100876093, 0.032162874937057495, 0.01449115201830864, 0.005247090011835098, -0.04408575966954231, -0.06374746561050415, -0.0024555870331823826, -0.02115844376385212, -0.00014231243403628469, 0.013147489167749882, -0.004447695333510637, 0.002617166843265295, 0.04017382860183716, -0.02403286099433899, -0.04354149103164673, -0.02381175197660923, 0.02740052342414856, 0.0018571041291579604, 0.019202478229999542, -0.005825375206768513, 0.051671504974365234, -0.08687888085842133, 0.012977405451238155, 0.02229800634086132, 0.044493962079286575, -0.04704521968960762, -0.047861624509096146, -0.002759612165391445, -0.020699216052889824, 0.0019463981734588742, 0.0024555870331823826, -0.05272602289915085, -0.018845301121473312, -0.010094482451677322, -0.050446897745132446, 0.026192927733063698, -0.013036934658885002, 0.01068127155303955, 0.008406398817896843, 0.0012788187013939023, -0.02345457673072815, -0.015094950795173645, 0.012900867499411106, 0.06844177842140198, -0.03018990159034729, -0.03399978205561638, -0.02302936650812626, -0.003486720845103264, -0.008147020824253559, 0.08014355599880219, 0.024219954386353493, 0.014822816476225853, 0.01423602644354105, 0.035887714475393295, 0.036397963762283325, 0.03585369512438774, -0.023182442411780357, 0.04568454995751381, -0.05850887671113014, -0.026652155444025993, -0.020274005830287933, 0.03867708891630173, 0.014533673413097858, 0.0056637953966856, -0.00730085326358676, -0.017110444605350494, -0.01801189035177231, -0.0854501724243164, 0.07306806743144989, -0.028710169717669487, 0.00789189524948597, -0.029917767271399498, -0.004379661753773689, -0.003992720507085323, 0.058985114097595215, -0.025835752487182617, 0.02811487577855587, 0.016693739220499992, -0.0228082574903965, 0.026056861504912376, -0.03275816887617111, 0.037180349230766296, -0.03379568085074425, -0.0010444216895848513, 0.014355084858834743, 0.011667759157717228, 0.015094950795173645, 0.012058951891958714, 0.01083434745669365, -0.02617591992020607, -0.04670505225658417, 0.004656048025935888, 0.003288998268544674, 0.05054894834756851, 0.047011204063892365, -0.037112317979335785, 0.00863601267337799, -0.034169863909482956, 0.06231875717639923, -0.021481603384017944, -0.05143338441848755, -0.027995817363262177, -0.013793808408081532, 0.013844833709299564, -0.0015647723339498043, 0.0018443478038534522, 0.003569636959582567, -0.0711631253361702, -0.0003635544271674007, 0.007449676748365164, 0.041262365877628326, -0.013878850266337395, 0.002396057592704892, 0.05395062640309334, 0.045276347547769547, 0.03005383349955082, -0.042418938130140305, -0.008164029568433762, -0.010383624583482742, -0.013759790919721127, -0.00237692310474813, -0.031244421377778053, -0.021056393161416054, -0.017238007858395576, -0.006922416854649782, -0.0028446540236473083, 0.07953125238418579, -0.04728333652019501, -0.02704334817826748, -0.00932059995830059, 0.00040899874875321984, -0.016438612714409828, 0.06398557871580124, 0.03291124477982521, -0.02171972021460533, 0.0043966700322926044, -0.0014010665472596884, 0.06504010409116745, 0.045616514980793, -0.006008215248584747, 0.03752052038908005, 0.04541241377592087, -0.010171020403504372, 0.030955279245972633, -0.027638642117381096, -0.03360858932137489, 0.030428018420934677, -0.00475384620949626, 0.033302437514066696, 0.026414036750793457, -0.046432916074991226, -0.07844271510839462, 0.012075960636138916, -0.00365042663179338, -0.04588864743709564, 0.026567112654447556, -0.01906641013920307, -0.01995084621012211, 0.00410540122538805, -0.03134647011756897, -0.00016636335931252688, -0.004147922154515982, 0.033744655549526215, 0.03636394813656807, -0.006216568406671286, -0.08000748604536057, -0.05939331278204918, -0.03935742378234863, -0.024356020614504814, 0.024968324229121208, 0.012433136813342571, 0.01517148781567812, -0.008852869272232056, -0.025478575378656387, -0.016166478395462036, 0.028199918568134308, 0.0394594743847847, -0.0215156190097332, 0.05816870927810669, 0.019168460741639137, -0.04925630986690521, 0.034305933862924576, -0.021413568407297134, 0.009261070750653744, -0.056467872112989426, -0.033676620572805405, -0.028012827038764954, -0.033880721777677536, 0.02064819075167179, -0.03871110826730728, -0.01050268393009901, 0.002015494741499424, -0.004694317001849413, -0.007109508849680424, -0.027927784249186516, 0.06684298813343048, 0.03721436858177185, -0.029492557048797607, -0.00571907265111804, 0.026856254786252975, -0.017084931954741478, 0.045446429401636124, -0.027162406593561172, 0.002787250792607665, -0.06810161471366882, -0.03979964554309845, 0.002587402006611228, 0.06813562661409378, 0.003833266906440258, 0.07082295417785645, -0.01466123666614294, 0.02967964857816696, 0.016294041648507118, 0.029441531747579575, 0.01801189035177231, -0.052964139729738235, -0.0148823456838727, 0.030223917216062546, 0.03146553039550781, -0.030955279245972633, -0.04156851768493652, 0.032366976141929626, -0.006573744583874941, 0.011769808828830719, 0.05391661077737808, 0.08266080170869827, -0.07075492292642593, 0.022212963551282883, 0.03212885931134224, -0.05330431088805199, -0.021991854533553123, 0.047215305268764496, 0.027162406593561172, -0.004843140486627817, 0.0042478465475142, -0.011948397383093834, -0.01899837702512741, 0.030802203342318535, -0.016540663316845894, 0.03973161056637764, -0.04071809723973274, -0.007789844647049904, 0.0015679614152759314, 0.019559653475880623, -0.04282713681459427, 0.030223917216062546, 0.03721436858177185, 0.026124894618988037, -0.04398370906710625, 0.06929220259189606, -0.04684111848473549, 0.02302936650812626, 0.06044783443212509, 0.024628154933452606, -0.05507318302989006, -0.012968900613486767, 0.021175451576709747, -0.03163561597466469, -0.03986767679452896, -0.04275910556316376, -0.030734170228242874, -0.005995459388941526, -0.000108494954474736, 0.0033060067798942327, -0.018913334235548973, 0.012679758481681347, 0.048882126808166504, 0.006148534826934338, 0.012467153370380402, 0.04840589314699173, 0.008329861797392368, -0.06735324114561081, -0.001950650243088603, 0.0035994015634059906, 0.01598789170384407, 0.041772618889808655, -0.029101364314556122, 0.012824329547584057, -0.013419623486697674, 0.0873551145195961, -0.01763770543038845, 0.055549416691064835, -0.0043392665684223175, 0.04095621407032013, -0.05609368532896042, -0.0032379732001572847, -0.009244062937796116, 0.040275879204273224, 0.04381362348794937, -0.06293106079101562, -0.004996215924620628, 0.04010579362511635, -0.022842274978756905, 0.016123957931995392, -0.03745248541235924, -0.0005931677878834307, -0.01409145537763834, 0.039255376905202866, -0.06058390066027641, 0.04218081757426262, -0.040854163467884064, -0.0417385995388031, -0.003142300993204117, 0.028744187206029892, -0.0018751755123957992, -0.007811105344444513, 0.06007365137338638, 0.010485675185918808, -0.07068689167499542, 0.02666916325688362, 0.06350934505462646, -0.03735043480992317, 0.022893300279974937, 0.005833879578858614, 0.06095808744430542, 0.00392893934622407, 0.0355815626680851, 0.0007053168956190348, -0.004707073327153921, -0.05143338441848755, 0.024781230837106705, 0.0016189866000786424, 0.014822816476225853, -0.0764017105102539, -0.033880721777677536, -0.03758855164051056, 0.024849263951182365, -0.0491882786154747, 0.026499079540371895, -0.017586680129170418, -0.00328262010589242, -0.014933370985090733, -0.022723214700818062, 0.00043344832374714315, 0.01743360422551632, 0.016515150666236877, 0.05041288211941719, 0.06153637170791626, 0.002059078775346279, -0.008584987372159958, 0.0215156190097332, 0.012586211785674095, -0.04483412951231003, -0.03454405069351196, -0.003016863949596882, 0.022978341206908226, -0.011905875988304615, 0.02035904861986637, 0.024628154933452606, 0.02510439045727253, 0.04024186357855797, -0.0815722644329071, -0.0976962223649025, 0.04466404393315315, -0.04408575966954231, -0.062080640345811844, -0.03240099176764488, 0.015545672737061977, 0.019389569759368896, 0.012518178671598434, 0.03537746146321297, 0.010366616770625114, 0.010766314342617989, -0.04922229424118996, 0.024356020614504814, -0.03204381465911865, -0.02200886234641075, 0.01284133829176426, 0.02660113014280796, -0.050582967698574066, -0.017603687942028046, 0.010485675185918808, -0.010366616770625114, 0.003860905533656478, -0.03457806631922722, -0.05136535316705704, -0.07320412993431091, 0.03134647011756897, -0.09721998125314713, -0.006837374530732632, -0.006382400169968605, -0.04343944042921066, -0.01727202534675598, -0.01785881444811821, 0.02704334817826748, 0.026346003636717796, 0.0008594554383307695, 0.026056861504912376, 0.058202728629112244, 0.033302437514066696, 0.1061323806643486, -0.007224315777420998, 0.0003518611774779856, -0.0194235872477293, -0.0075559793040156364, -0.033387478440999985, -0.03772461786866188, 0.045616514980793, -0.01186335552483797, 0.014023421332240105, 0.0258867759257555, -0.015035420656204224, 0.008499945513904095, -0.04221483692526817, 0.00500472029671073, 0.005702064372599125, -0.07483693957328796, -0.047011204063892365, -0.01387034635990858, -0.021753737702965736, 0.020495114848017693, -0.03197578340768814, 0.08497393876314163, 0.047793589532375336, -0.050310831516981125, -0.03364260494709015, 0.009210045449435711, 0.016804294660687447, 0.047589488327503204, 0.03939144313335419, -0.006973441690206528, 0.008236315101385117, 0.007845122367143631, 0.004953694995492697, -0.005651039071381092, -0.05269200727343559, 0.0008148084161803126, -0.00405012397095561, -0.1100102961063385, 0.05201167240738869, 0.04394969344139099, 0.015094950795173645, 0.012467153370380402, -0.015732765197753906, 0.00807048287242651, 0.0077558280900120735, 0.011242548935115337, -0.03874512389302254, 0.008844365365803242, -0.0038077544886618853, -0.024509096518158913, -0.05333832651376724, -0.08939612656831741, 0.06262490898370743, 0.013513169251382351, 0.010137002915143967, -0.021175451576709747, -0.07837468385696411, 0.05844084545969963, -0.015392596833407879, -0.0662987232208252, -0.08034765720367432, 0.05986955016851425, -0.022536123171448708, 0.0019400200108066201, -0.019542645663022995, -0.020274005830287933, 0.0631011426448822, -0.007828113622963428, -0.043643541634082794, 0.014431622810661793, -0.02309739962220192, -0.06806759536266327, 0.04456199333071709, -0.034969259053468704, 0.05830477550625801, -0.01937256194651127, 0.017909839749336243, -0.003316636895760894, -0.013326077722012997, -0.015418109484016895, 0.016608698293566704, 0.03054707683622837, 0.024424055591225624, 0.0014000034425407648, 0.020546140149235725, 0.025138407945632935, 0.08572231233119965, 0.016897840425372124, -0.0007138210930861533, 0.02158365212380886, 0.00042255231528542936, -0.014474144205451012, 0.003754603210836649, 0.010137002915143967, 0.02581874281167984, -0.04061604663729668, 0.0015158732421696186, -0.024900289252400398, -0.08558624237775803, -0.024934306740760803, -0.009626751765608788, -0.012603220529854298, -0.014967387542128563, -0.04129638150334358, 0.006577996537089348, 0.030530069023370743, -0.011319086886942387, 0.0005203505861572921, 0.02309739962220192, -0.007938668131828308, -0.037758637219667435 ]
42,053
patch_ng
diffstat
calculate diffstat and return as a string Notes: - original diffstat ouputs target filename - single + or - shouldn't escape histogram
def diffstat(self): """ calculate diffstat and return as a string Notes: - original diffstat ouputs target filename - single + or - shouldn't escape histogram """ names = [] insert = [] delete = [] delta = 0 # size change in bytes namelen = 0 maxdiff = 0 # max number of changes for single file # (for histogram width calculation) for patch in self.items: i,d = 0,0 for hunk in patch.hunks: for line in hunk.text: if line.startswith(b'+'): i += 1 delta += len(line)-1 elif line.startswith(b'-'): d += 1 delta -= len(line)-1 names.append(patch.target) insert.append(i) delete.append(d) namelen = max(namelen, len(patch.target)) maxdiff = max(maxdiff, i+d) output = '' statlen = len(str(maxdiff)) # stats column width for i,n in enumerate(names): # %-19s | %-4d %s format = " %-" + str(namelen) + "s | %" + str(statlen) + "s %s\n" hist = '' # -- calculating histogram -- width = len(format % ('', '', '')) histwidth = max(2, 80 - width) if maxdiff < histwidth: hist = "+"*insert[i] + "-"*delete[i] else: iratio = (float(insert[i]) / maxdiff) * histwidth dratio = (float(delete[i]) / maxdiff) * histwidth # make sure every entry gets at least one + or - iwidth = 1 if 0 < iratio < 1 else int(iratio) dwidth = 1 if 0 < dratio < 1 else int(dratio) #print(iratio, dratio, iwidth, dwidth, histwidth) hist = "+"*int(iwidth) + "-"*int(dwidth) # -- /calculating +- histogram -- output += (format % (tostr(names[i]), str(insert[i] + delete[i]), hist)) output += (" %d files changed, %d insertions(+), %d deletions(-), %+d bytes" % (len(names), sum(insert), sum(delete), delta)) return output
(self)
[ 0.039641156792640686, -0.06099751219153404, 0.00026240921579301357, 0.012719860300421715, 0.033371564000844955, -0.04957854747772217, -0.010425226762890816, 0.025728808715939522, -0.035901084542274475, -0.005601075012236834, -0.025981759652495384, -0.000993739115074277, -0.003277080599218607, -0.024951884523034096, -0.039532747119665146, 0.027300722897052765, 0.025240972638130188, 0.008681666105985641, -0.023741330951452255, -0.020236141979694366, 0.043327026069164276, -0.017977643758058548, -0.04538677632808685, -0.001987478230148554, 0.02291020378470421, 0.009359215386211872, 0.00852357130497694, -0.07010377943515778, 0.04712130129337311, -0.0012478200951591134, -0.0268670916557312, -0.052613966166973114, 0.017282025888562202, -0.04047228395938873, -0.07126012444496155, -0.04629017412662506, 0.0390629805624485, 0.02056136541068554, -0.04766334220767021, -0.00040031876415014267, 0.03492541238665581, -0.0487835556268692, 0.027409130707383156, -0.00391849409788847, 0.05142148211598396, 0.023813601583242416, -0.036930959671735764, 0.007543383166193962, -0.04361611232161522, -0.0362263061106205, 0.020236141979694366, -0.02417496219277382, -0.008762972429394722, 0.033606451004743576, -0.008604876697063446, 0.06609268486499786, 0.026108236983418465, 0.0388823002576828, 0.030715571716427803, 0.02415689453482628, -0.00454635638743639, 0.02665027603507042, 0.05705869197845459, -0.05077103525400162, -0.051566023379564285, -0.03404008224606514, 0.02659607119858265, -0.034491781145334244, -0.021049201488494873, 0.0018847165629267693, 0.009792846627533436, 0.010145172476768494, 0.035955287516117096, -0.008239000104367733, 0.003995283041149378, 0.02066977322101593, 0.0302638728171587, -0.029830241575837135, 0.08137819916009903, 0.003428399795666337, 0.009368249215185642, -0.006554161198437214, 0.11809234321117401, -0.0084829181432724, 0.05322827771306038, -0.04524223133921623, 0.01703810878098011, 0.007556933909654617, 0.013063152320683002, 0.03405814990401268, -0.051566023379564285, -0.012737927958369255, 0.03405814990401268, -0.053047601133584976, -0.01402978878468275, -0.04715743660926819, -0.053842589259147644, -0.009368249215185642, 0.026469595730304718, -0.020543297752738, 0.005989536643028259, 0.04607335850596428, 0.010045798495411873, 0.023524515330791473, 0.00486028753221035, -0.008934617973864079, 0.00910174660384655, -0.03387746959924698, -0.0513492077589035, 0.006956173572689295, -0.04036387428641319, -0.030028987675905228, 0.034853141754865646, -0.05601074919104576, 0.06977855414152145, -0.024969954043626785, -0.0183841735124588, -0.013605191372334957, 0.04278498515486717, -0.02410268969833851, 0.014038823544979095, 0.008080905303359032, -0.01699293777346611, 0.03261271119117737, -0.0031460875179618597, -0.006359930150210857, 0.027120042592287064, -0.0013426770456135273, 0.022819863632321358, 0.04596494883298874, 0.01208748109638691, -0.006450270302593708, -0.015204207971692085, 0.05915457755327225, 0.09966299682855606, -0.02666834369301796, -0.004828668665140867, 0.028294462710618973, 0.056480515748262405, 0.014345979318022728, 0.04354384168982506, -0.02446405030786991, 0.02070590853691101, 0.006495439913123846, -0.060057975351810455, 0.020181937143206596, 0.0038552558980882168, 0.003423882881179452, 0.01818542554974556, 0.0132528655230999, -0.02919786050915718, -0.012629520148038864, -0.008966236375272274, -0.039460476487874985, 0.07964367419481277, 0.009223705157637596, -0.040508419275283813, -0.02319929003715515, -0.017869235947728157, -0.006224420387297869, 0.03725618124008179, -0.016487034037709236, 0.05976888909935951, -0.05087944120168686, -0.007254295516759157, 0.011346694082021713, -0.01581851951777935, -0.0038778409361839294, -0.05297532677650452, 0.014129162766039371, 0.009250807575881481, -0.007023928686976433, -0.016225049272179604, 0.04629017412662506, 0.04361611232161522, 0.05713096261024475, -0.02811378240585327, 0.00794539600610733, 0.0041917720809578896, 0.023488378152251244, 0.01324383169412613, -0.050626490265131, -0.0192604698240757, 0.04278498515486717, -0.01030778419226408, -0.016577374190092087, 0.042893391102552414, -0.0316370390355587, 0.023705193772912025, -0.007371737156063318, -0.01823059469461441, -0.041989993304014206, -0.012168786488473415, 0.03201646730303764, 0.04451951012015343, -0.010894994251430035, -0.038267988711595535, 0.017815031111240387, 0.07639143615961075, -0.0463985800743103, -0.057600732892751694, -0.016288287937641144, -0.004049486946314573, 0.0048738387413322926, 0.02314508706331253, -0.0061882841400802135, 0.036930959671735764, -0.01562880538403988, -0.03736459091305733, 0.004108207765966654, 0.0053481231443583965, -0.017209753394126892, -0.019676033407449722, -0.023416105657815933, -0.027065839618444443, -0.034564051777124405, 0.017833098769187927, 0.04766334220767021, -0.03499768301844597, -0.01393041480332613, 0.017498841509222984, -0.007949912920594215, -0.005086137447506189, 0.030155465006828308, -0.029613424092531204, 0.026415392756462097, 0.09019537270069122, 0.045675862580537796, 0.02928820066154003, -0.0004680737038142979, 0.023398037999868393, -0.03385940194129944, 0.04462791979312897, -0.01030778419226408, 0.0056372107937932014, -0.012647588737308979, -0.030083192512392998, -0.0007187669398263097, 0.04043614864349365, -0.028493210673332214, -0.04520609602332115, 0.00916046742349863, 0.04751879721879959, 0.05127693712711334, -0.010235512629151344, -0.11144331842660904, -0.00043391392682679, -0.008171245455741882, -0.07187443971633911, -0.0053436062298715115, -0.006237971130758524, 0.004788015503436327, -0.013740701600909233, -0.027625946328043938, 0.03993024304509163, -0.00918305292725563, -0.06078069657087326, -0.014842848293483257, 0.02791503444314003, -0.016288287937641144, 0.04957854747772217, -0.035955287516117096, -0.0063237943686544895, -0.009440521709620953, 0.0014714114367961884, -0.0012907315976917744, 0.03049875609576702, 0.0010818204609677196, -0.04701289162039757, 0.055360302329063416, -0.02422916516661644, -0.0182034932076931, -0.07798141986131668, -0.0037694331258535385, -0.07725869864225388, 0.013731667771935463, 0.097205750644207, -0.01684839464724064, 0.046615395694971085, -0.05297532677650452, -0.03037228062748909, -0.040689099580049515, -0.000741916592232883, 0.014815746806561947, 0.00047908388660289347, 0.027625946328043938, -0.03985797241330147, -0.07368123531341553, -0.03729231655597687, 0.019874781370162964, 0.05543257296085358, 0.0070916833356022835, -0.034491781145334244, -0.032142940908670425, 0.0033787128049880266, 0.046868350356817245, 0.06692381203174591, -0.03790662810206413, -0.0028841018211096525, 0.05727550759911537, -0.08296818286180496, -0.03660573437809944, 0.028294462710618973, -0.017580147832632065, -0.09185762703418732, 0.00003945313437725417, 0.03286566212773323, -0.052686240524053574, 0.02670447900891304, -0.025078361853957176, 0.004390520043671131, 0.0414479523897171, 0.03176351636648178, 0.047916293144226074, 0.029486948624253273, 0.028800366446375847, -0.02786082960665226, 0.027264587581157684, 0.013596157543361187, 0.05835958570241928, -0.0243917778134346, 0.0607084259390831, -0.0039907656610012054, 0.03396780788898468, 0.04159249737858772, -0.03526870533823967, 0.04105046018958092, 0.01684839464724064, 0.055251892656087875, 0.0009000114514492452, -0.0018914920510724187, -0.0577814094722271, 0.0434715673327446, -0.015592670068144798, 0.007543383166193962, 0.028312530368566513, 0.0387016199529171, -0.038267988711595535, -0.03646118938922882, -0.021392492577433586, 0.08145046979188919, 0.019694101065397263, -0.0183841735124588, 0.01568301022052765, 0.016739986836910248, -0.014273706823587418, 0.03743686154484749, -0.007308499421924353, -0.022837931290268898, -0.008180279284715652, -0.007263329345732927, 0.004214357119053602, -0.08123365044593811, 0.01152737345546484, 0.04260430485010147, -0.00667611975222826, -0.012873438186943531, -0.07378964126110077, -0.002963149221614003, 0.014996426180005074, -0.039496611803770065, 0.03725618124008179, 0.020940793678164482, -0.002615340519696474, -0.010009663179516792, -0.052722375839948654, 0.01703810878098011, -0.023940078914165497, -0.01804991625249386, 0.01277406420558691, -0.017733726650476456, 0.02693936415016651, 0.03552165627479553, -0.05463758111000061, -0.00908367894589901, -0.00581337371841073, -0.017751794308423996, -0.005849509499967098, -0.03432916849851608, -0.040580689907073975, -0.0279692392796278, 0.0662010908126831, -0.04379679262638092, 0.06836924701929092, -0.009476657025516033, 0.003087366698309779, -0.012837301939725876, -0.06208159029483795, 0.020290344953536987, 0.019874781370162964, -0.022494640201330185, -0.03234168887138367, -0.009874152950942516, 0.06396066397428513, -0.035666197538375854, -0.0091920867562294, 0.0289810448884964, -0.004720260854810476, -0.05196351930499077, 0.013307069428265095, 0.04133954644203186, -0.05463758111000061, -0.03270304948091507, 0.03673221170902252, -0.033606451004743576, -0.043182481080293655, 0.011951970867812634, 0.03523256629705429, -0.04245975986123085, 0.006536093074828386, -0.04632630944252014, 0.035955287516117096, -0.023922009393572807, 0.019657965749502182, 0.00548814982175827, -0.0047338115982711315, -0.0808722972869873, -0.05731164291501045, -0.005257782991975546, 0.011337659321725368, -0.008496468886733055, 0.0060076043009757996, 0.03772594779729843, 0.013713599182665348, 0.03523256629705429, 0.009368249215185642, -0.01103953830897808, 0.022819863632321358, -0.06453883647918701, 0.05254169553518295, 0.06526155769824982, 0.039532747119665146, -0.02413882501423359, -0.039315931499004364, 0.03550358861684799, -0.024680865928530693, 0.034527916461229324, 0.005090654361993074, 0.0559384785592556, 0.02917979285120964, -0.021663513034582138, 0.03132988512516022, 0.06945332884788513, 0.019874781370162964, -0.025981759652495384, -0.03302827477455139, -0.022259755060076714, -0.06215386465191841, -0.020543297752738, -0.041881587356328964, 0.018917178735136986, 0.025204837322235107, 0.0036926441825926304, -0.027644013985991478, -0.017245890572667122, -0.03550358861684799, -0.0002076406526612118, 0.035991422832012177, -0.06526155769824982, 0.056119155138731, -0.014761542901396751, 0.07993275672197342, -0.017291059717535973, -0.006387032102793455, -0.04105046018958092, -0.10667337477207184, 0.0579620897769928, 0.0049822465516626835, -0.041809312999248505, 0.03306441009044647, 0.05189124867320061, -0.016478000208735466, -0.023705193772912025, 0.0654783695936203, -0.044447239488363266, 0.006599330808967352, -0.01803184673190117, 0.01266565639525652, -0.03385940194129944, -0.023470310494303703, -0.026361187919974327, -0.0336606539785862, -0.008144143968820572, 0.005867577623575926, 0.018447410315275192, 0.022332027554512024, 0.005632693879306316, -0.044122014194726944, 0.0052758511155843735, -0.04954241216182709, -0.029468880966305733, -0.0043159895576536655, -0.03617210313677788, -0.012837301939725876, -0.015005460008978844, 0.035702336579561234, 0.03380519524216652, -0.009115297347307205, -0.014309843070805073, -0.026306983083486557, 0.04206226393580437, -0.052939191460609436, 0.023307697847485542, -0.012277195230126381, -0.016658680513501167, 0.039315931499004364, 0.033606451004743576, 0.03669607266783714, -0.023759398609399796, -0.0338413342833519, -0.04881969094276428, -0.06056388095021248, 0.03017353266477585, 0.06905583292245865, -0.025728808715939522, -0.06641791015863419, -0.009164984337985516, 0.010452328249812126, 0.0041872551664710045, 0.028439005836844444, -0.018700363114476204, 0.010732382535934448, -0.03532290831208229, -0.08441361784934998, -0.02314508706331253, -0.030643299221992493, -0.010271648876369, -0.005592040717601776, 0.012394636869430542, -0.034527916461229324, -0.005863060709089041, 0.030751707032322884, 0.07339214533567429, -0.03783435747027397, 0.05622756481170654, 0.04600108414888382, 0.0028547414112836123, -0.04574813321232796, -0.03909911587834358, 0.0006035835831426084, 0.02932433784008026, -0.023723261430859566, 0.02171771600842476, -0.03055296093225479, -0.008934617973864079, 0.04592881351709366, 0.030914319679141045, -0.022639183327555656, 0.08022184669971466, -0.018483547493815422, -0.003941078670322895, 0.0279692392796278, -0.01152737345546484, -0.019115926697850227, -0.0487835556268692, 0.05947980284690857, 0.025963691994547844, -0.022295892238616943, 0.05066262558102608, 0.0010902899084612727, 0.002757625887170434, 0.00426178565248847, 0.04130341112613678, 0.015610737726092339, -0.01598113216459751, 0.06876674294471741, 0.03725618124008179, 0.06764653325080872, -0.08080001920461655, 0.0006623045192100108, -0.02912558987736702, 0.09106263518333435, -0.022801795974373817, -0.07053741067647934, -0.0022562395315617323, -0.03398587554693222, -0.00604825746268034, 0.005158409476280212, 0.046832211315631866, 0.0157733503729105, -0.03125761076807976, 0.0021579947788268328, -0.003419365966692567, 0.03505188971757889, 0.008762972429394722, 0.06168409436941147, -0.023777466267347336, 0.05218033492565155, 0.04130341112613678, 0.02894490957260132, -0.08983401209115982, -0.08043866604566574, -0.012394636869430542, -0.043254751712083817, 0.007900225929915905, 0.004390520043671131, -0.03743686154484749, -0.028366733342409134, -0.0440136082470417, 0.018646158277988434, 0.0069110034964978695, -0.047952428460121155, -0.037147775292396545, 0.024626661092042923, 0.01693873479962349, 0.004706709645688534, 0.0678633451461792, -0.045567452907562256, -0.07259716093540192, 0.004142085090279579, 0.0023510963656008244, 0.03895457088947296, 0.011491237208247185, -0.016595443710684776, 0.0005739408079534769, 0.009056576527655125, 0.03286566212773323, -0.002895394340157509, 0.002856999868527055, 0.028818434104323387, -0.008013150654733181, 0.03873775526881218, -0.021609308198094368, 0.008460333570837975, -0.011581577360630035, 0.005176477134227753, -0.01823059469461441, 0.05586620420217514, -0.0003591011627577245, -0.09865119308233261, -0.02079624868929386, -0.014635066501796246, 0.022386232390999794, -0.028637753799557686, 0.03252236917614937, -0.007687926758080721, 0.001159738632850349, -0.03179965168237686, -0.011870665475726128, 0.0722719356417656, 0.08361862599849701, -0.05738391727209091, 0.0015109351370483637, -0.008663598448038101, -0.017399467527866364, 0.008103490807116032, -0.013876210898160934, 0.0007198962266556919, 0.008762972429394722, -0.001977314939722419, 0.02554812841117382, 0.0146712027490139, -0.004788015503436327, -0.020272277295589447, -0.01400268729776144, 0.031167270615696907, -0.013469682075083256, -0.04972308874130249, -0.006770976819097996, 0.007552416995167732, 0.0005578490090556443, -0.007240744307637215, 0.012575316242873669, 0.009305011481046677, 0.032179079949855804, -0.020543297752738, 0.01694776862859726, 0.018718430772423744, 0.03920752555131912, -0.03543131425976753, 0.04741038754582405, 0.03297406807541847, -0.030787844210863113, 0.011807426810264587, -0.058793216943740845, -0.04972308874130249, 0.0555771179497242, 0.10963652282953262, 0.04141181707382202, -0.01940501481294632, 0.009219188243150711, 0.04477246478199959, -0.006030189339071512, -0.018664227798581123, 0.0337509922683239, 0.07971594482660294, -0.015312615782022476, -0.013180593959987164, -0.01160867977887392, 0.0057094828225672245, -0.0707903578877449, -0.005176477134227753, 0.021175676956772804, 0.01094919815659523, -0.005271334201097488, 0.009323079138994217, -0.008333857171237469, -0.012069412507116795, 0.020940793678164482, -0.04751879721879959, 0.057745274156332016, -0.005465564783662558, 0.012990879826247692, 0.027065839618444443, 0.017399467527866364, -0.01686646230518818, -0.02422916516661644, -0.046868350356817245, -0.0757409855723381, -0.0026559936814010143, -0.013650361448526382, 0.06179250404238701, 0.009277909062802792, 0.00856422446668148, 0.040797505527734756, -0.017977643758058548, -0.027029702439904213, -0.039460476487874985, 0.027065839618444443, -0.011816461570560932, -0.02533131279051304, 0.029884444549679756, 0.060166385024785995, 0.05225260928273201, -0.04524223133921623, 0.017562080174684525, 0.057492323219776154, -0.003301924094557762, -0.07368123531341553, -0.010072900913655758, -0.0463985800743103, -0.01954955793917179, 0.0029812173452228308, -0.016197947785258293, 0.021500900387763977, 0.05221647396683693, 0.023361902683973312, -0.04939786717295647, 0.08007730543613434, 0.047988563776016235, 0.02912558987736702, -0.007552416995167732, -0.08007730543613434, 0.04094205051660538, 0.016586408019065857, -0.02787889912724495, 0.01938694715499878, 0.06544223427772522, -0.04292953014373779, -0.004124017432332039, 0.05348123237490654, -0.057673003524541855, -0.03673221170902252, 0.0015007718466222286, 0.049325596541166306, 0.0051629263907670975, 0.05265010520815849, -0.027246519923210144, 0.031203407794237137, 0.02807764708995819, 0.06414134055376053, -0.0388823002576828, -0.003771691583096981, 0.011771291494369507, 0.00849195197224617, 0.04224294424057007, -0.06985082477331161, 0.022819863632321358 ]
42,054
patch_ng
dump
null
def dump(self): for p in self.items: for headline in p.header: print(headline.rstrip('\n')) print('--- ' + p.source) print('+++ ' + p.target) for h in p.hunks: print('@@ -%s,%s +%s,%s @@' % (h.startsrc, h.linessrc, h.starttgt, h.linestgt)) for line in h.text: print(line.rstrip('\n'))
(self)
[ -0.005595688708126545, -0.011254554614424706, -0.04454890266060829, -0.027130065485835075, 0.005843884777277708, -0.04743700101971626, -0.020270833745598793, -0.022617412731051445, -0.0002869764866773039, 0.005952188279479742, -0.0720941349864006, -0.049855783581733704, -0.0048736645840108395, 0.07288835942745209, -0.02629973739385605, 0.027599381282925606, 0.0009138120803982019, 0.024169765412807465, 0.010812315158545971, 0.03628172352910042, -0.01341160200536251, 0.03222033753991127, 0.015469372272491455, -0.007445876020938158, -0.002398474607616663, -0.02055964432656765, -0.01666071265935898, -0.04530702903866768, -0.0025631864555180073, -0.015622802078723907, -0.06451287865638733, -0.09458518773317337, 0.02891707606613636, -0.013158894143998623, -0.06574031710624695, -0.004950379487127066, -0.0012037500273436308, -0.015758180990815163, -0.03467521816492081, 0.020072277635335922, 0.026371939107775688, 0.0525994747877121, -0.015722081065177917, -0.012148059904575348, 0.00012621324276551604, -0.0006864872411824763, 0.046137355268001556, 0.023772651329636574, 0.031859323382377625, -0.0337185375392437, -0.027202267199754715, 0.006213922053575516, -0.006177820730954409, -0.000688743544742465, -0.02157047763466835, -0.01809573546051979, 0.02386290580034256, -0.0013199507957324386, 0.029982062056660652, 0.04812292382121086, -0.026119230315089226, 0.03572215512394905, 0.006814104970544577, -0.029891807585954666, 0.03175102174282074, -0.0525994747877121, -0.03451276570558548, -0.024169765412807465, -0.04440449923276901, -0.0025022656191140413, 0.037364762276411057, -0.028664367273449898, 0.037039849907159805, 0.035018179565668106, -0.000568876217585057, -0.011985604651272297, -0.032202284783124924, -0.0198917705565691, 0.03891711309552193, -0.05162474140524864, -0.0438268780708313, 0.0071525536477565765, -0.035288941115140915, -0.004801461938768625, 0.013583083637058735, -0.058411769568920135, 0.056534506380558014, 0.0016031196573749185, 0.016507280990481377, 0.0027143603656440973, -0.012220262549817562, 0.05768974497914314, -0.032256439328193665, 0.008781621232628822, -0.04407958686351776, 0.009079456329345703, -0.006444067228585482, -0.02272571623325348, -0.031317807734012604, 0.025288904085755348, -0.027653532102704048, -0.006674212869256735, -0.07566815614700317, 0.031588565558195114, -0.05855617672204971, 0.04191351309418678, -0.012463945895433426, 0.04407958686351776, -0.028140898793935776, 0.0431409552693367, -0.033195070922374725, -0.0017949073808267713, 0.03249109536409378, -0.03747306391596794, 0.12043366581201553, -0.11032532155513763, -0.004819512367248535, 0.019061442464590073, 0.01913364604115486, -0.031985677778720856, 0.022545211017131805, -0.02043328993022442, 0.002861021552234888, 0.014521715231239796, -0.056462306529283524, -0.0390976183116436, -0.028483860194683075, 0.008398045785725117, 0.030288921669125557, -0.07166092097759247, 0.000060815040342276916, -0.018276240676641464, -0.04299655184149742, 0.005004531238228083, 0.035487499088048935, -0.04490991681814194, -0.020324986428022385, -0.08245518058538437, 0.05725653097033501, -0.00016175037308130413, -0.02548746019601822, -0.07129990309476852, -0.0005666199140250683, 0.008695880882441998, -0.04805072024464607, -0.04079437628388405, -0.009837581776082516, 0.01072206161916256, 0.02756327949464321, -0.04509042203426361, 0.03424200415611267, -0.007206705864518881, -0.007265370339155197, -0.020198632031679153, 0.014909802936017513, -0.006389915477484465, -0.029241986572742462, 0.010406175628304482, -0.018474798649549484, 0.027473026886582375, -0.0014271262334659696, -0.053754713386297226, 0.05736483633518219, 0.030631883069872856, -0.04646226763725281, 0.008921513333916664, 0.015785258263349533, -0.05299658700823784, 0.01759934425354004, 0.003280698088929057, -0.015379118733108044, -0.04913375899195671, -0.07855624705553055, 0.034603018313646317, 0.03236474096775055, 0.026714900508522987, -0.0019607474096119404, 0.061985790729522705, -0.021191414445638657, 0.009129095822572708, -0.014575866982340813, -0.039133720099925995, -0.0431409552693367, 0.03779797628521919, 0.002732411026954651, -0.04072217270731926, 0.006385402753949165, -0.030054263770580292, 0.03808678314089775, 0.006665187422186136, 0.038808807730674744, -0.010234694927930832, 0.007346597965806723, 0.03646222874522209, 0.03189542517066002, -0.030180618166923523, 0.013104742392897606, -0.022545211017131805, 0.06960314512252808, -0.0249459408223629, -0.027653532102704048, -0.042635537683963776, -0.03581240773200989, 0.03398929536342621, -0.029639100655913353, 0.022328604012727737, -0.014837600290775299, -0.009210322983562946, -0.020722098648548126, -0.007459414191544056, 0.02115531452000141, -0.0009329908643849194, -0.01480149943381548, -0.07855624705553055, 0.0023330412805080414, -0.055307064205408096, -0.07790642976760864, 0.015460346825420856, -0.023032577708363533, 0.018826784566044807, -0.026606597006320953, -0.013429652899503708, -0.055307064205408096, 0.008370970375835896, -0.06498219072818756, 0.04938646778464317, 0.05101102218031883, -0.011633617803454399, 0.009891733527183533, -0.022563261911273003, 0.06787028908729553, -0.025794319808483124, -0.061588678508996964, 0.04407958686351776, -0.02339359000325203, 0.031227553263306618, -0.057400938123464584, -0.02095675654709339, -0.014819550327956676, -0.016408003866672516, -0.030794339254498482, 0.007775299716740847, 0.023339437320828438, -0.04476550966501236, 0.007504540495574474, -0.0053926194086670876, 0.020379137247800827, -0.043177057057619095, 0.01799645647406578, 0.031642716377973557, 0.027256419882178307, -0.013375501148402691, 0.04563193768262863, 0.04018065705895424, 0.014774423092603683, -0.06660674512386322, -0.02258131094276905, -0.05068610981106758, 0.018844835460186005, 0.0035266377963125706, -0.0026917969807982445, 0.039747439324855804, -0.023899005725979805, 0.02250910922884941, 0.06682335585355759, 0.03884490951895714, -0.035631902515888214, -0.024296119809150696, -0.012527122162282467, -0.008226565085351467, 0.08216637372970581, 0.004900740459561348, -0.062455106526613235, 0.04010845348238945, -0.05772584676742554, 0.03848389908671379, -0.007084864191710949, 0.019332202151417732, -0.03577630594372749, -0.037978481501340866, 0.07537934184074402, -0.007319522090256214, -0.0048601264134049416, -0.024422474205493927, 0.061841387301683426, -0.025451358407735825, -0.015225688926875591, 0.002040846971794963, -0.010009062476456165, -0.03355608135461807, 0.03411564975976944, 0.020036175847053528, 0.02790624089539051, -0.006746415048837662, 0.08144434541463852, 0.049783580005168915, 0.02075820043683052, 0.025469409301877022, -0.05418792739510536, -0.008871874772012234, 0.012310515157878399, -0.05971141532063484, 0.0721302330493927, 0.01590258628129959, -0.05310489237308502, 0.06971145421266556, -0.007599306292831898, 0.033736586570739746, -0.014016297645866871, -0.045884646475315094, -0.0054061575792729855, -0.028935126960277557, 0.06534320116043091, 0.07942268252372742, -0.04057776927947998, -0.03128170594573021, -0.06880892068147659, 0.016570458188652992, 0.02805064618587494, 0.041010983288288116, -0.04808682203292847, 0.05028899759054184, 0.03527088835835457, 0.020000074058771133, 0.09870073199272156, -0.053502004593610764, 0.0069359466433525085, 0.010279822163283825, -0.013005463406443596, -0.03180517256259918, 0.025252802297472954, -0.03216618672013283, 0.015451321378350258, 0.06588472425937653, 0.010956719517707825, 0.05559587478637695, -0.029241986572742462, 0.019332202151417732, -0.01132675725966692, -0.05148033797740936, 0.05877278372645378, 0.01772569864988327, 0.012211237102746964, -0.008704906329512596, 0.033935144543647766, 0.009278013370931149, -0.06595692783594131, 0.013709437102079391, -0.04400738328695297, 0.033808790147304535, 0.038447797298431396, 0.031913477927446365, 0.043646372854709625, 0.025180598720908165, 0.03263550251722336, -0.016182370483875275, -0.002626363653689623, -0.05563197657465935, -0.042238425463438034, 0.06368254870176315, 0.06703995913267136, 0.01907949335873127, -0.03182322531938553, 0.006195871625095606, 0.008249128237366676, -0.045740243047475815, 0.04429619386792183, -0.0038492924068123102, 0.0424550324678421, 0.011010871268808842, -0.06613743305206299, -0.033339474350214005, 0.0069359466433525085, -0.032184235751628876, -0.025451358407735825, 0.006683237850666046, 0.04848393425345421, 0.011092099361121655, -0.023610197007656097, -0.04032506048679352, 0.02129971794784069, 0.04256333410739899, 0.0045532663352787495, -0.005821321625262499, 0.0018140862230211496, -0.04126369208097458, 0.0026308761443942785, 0.006638111546635628, -0.006213922053575516, 0.01907949335873127, 0.020126428455114365, 0.007148040924221277, -0.019963974133133888, -0.0014632274396717548, -0.01148921251296997, -0.03007231466472149, -0.000012656579201575369, 0.007757249288260937, -0.05783415213227272, -0.03888101130723953, 0.052346765995025635, -0.09018084406852722, -0.07407969981431961, -0.012066831812262535, 0.03184127435088158, -0.06996416300535202, -0.0039553395472466946, -0.005947675555944443, 0.028754619881510735, 0.041769109666347504, 0.050180692225694656, 0.0008162259473465383, -0.02541525661945343, 0.009187759831547737, 0.009368265978991985, -0.027527179569005966, 0.0077888378873467445, 0.02043328993022442, -0.0012894903775304556, 0.009611949324607849, 0.005798758007586002, 0.02211199514567852, 0.00879967212677002, 0.01418777834624052, 0.025794319808483124, -0.07891726493835449, -0.08043351024389267, 0.025866523385047913, 0.059025492519140244, 0.0451626218855381, -0.006895332597196102, -0.0438268780708313, -0.0003934468550141901, 0.05223846063017845, 0.05963921174407005, 0.005451283883303404, 0.024115612730383873, -0.013907994143664837, 0.04407958686351776, 0.05270777642726898, 0.038989316672086716, 0.015108359977602959, 0.02723836898803711, -0.013537956401705742, 0.049242060631513596, 0.043646372854709625, -0.009278013370931149, -0.035415295511484146, -0.02016253024339676, 0.07176922261714935, -0.049783580005168915, 0.00213222810998559, 0.021552426740527153, -0.07223853468894958, -0.013294273056089878, -0.007833964191377163, 0.04747310280799866, 0.0076308948919177055, -0.027960393577814102, 0.0037725772708654404, 0.032725755125284195, 0.024639081209897995, 0.018628228455781937, 0.03633587434887886, 0.017175154760479927, -0.0471842922270298, -0.032671600580215454, 0.04509042203426361, -0.052743878215551376, 0.003675555344671011, 0.02758133038878441, 0.061841387301683426, -0.06660674512386322, -0.005320416763424873, -0.01152531336992979, 0.02346579171717167, -0.003533406648784876, -0.008537937887012959, -0.04375467449426651, -0.0296571496874094, -0.0687728226184845, -0.06765368580818176, -0.020667947828769684, -0.005807783454656601, -0.002951274625957012, 0.03227448835968971, 0.02351994439959526, -0.05083051323890686, -0.011083073914051056, -0.039133720099925995, 0.016651686280965805, -0.057798050343990326, -0.09812311083078384, -0.06263561546802521, -0.00946754403412342, -0.0166877880692482, -0.028971226885914803, 0.04220232367515564, -0.0037251943722367287, -0.06747317314147949, 0.020252782851457596, 0.012057806365191936, 0.01527081523090601, -0.02857411466538906, 0.012256363406777382, 0.04267163947224617, 0.10678740590810776, 0.026877356693148613, 0.0029084044508635998, 0.0242600180208683, 0.030108416453003883, -0.014368284493684769, -0.03581240773200989, 0.033736586570739746, -0.022635463625192642, 0.015478396788239479, -0.03732866048812866, 0.047148190438747406, 0.02070404775440693, 0.04296045005321503, 0.01338452659547329, -0.01590258628129959, 0.0006103361956775188, -0.019765416160225868, -0.02420586720108986, 0.0700724646449089, -0.04501821845769882, 0.08787036687135696, -0.035830460488796234, -0.0051940628327429295, 0.034747421741485596, 0.011588490568101406, 0.02743692509829998, -0.05162474140524864, -0.015126409940421581, 0.05682331696152687, 0.04241893067955971, -0.007278908044099808, -0.027671582996845245, 0.021335819736123085, 0.06227460131049156, 0.005762656684964895, -0.025848472490906715, -0.05433233454823494, 0.03180517256259918, -0.00473377201706171, -0.005000018514692783, -0.037653569132089615, -0.005442258436232805, 0.012951311655342579, 0.01935025304555893, -0.03386294096708298, -0.00896212738007307, 0.0032987487502396107, 0.010270796716213226, 0.0347113199532032, -0.001004065154120326, 0.030992895364761353, 0.05472944676876068, 0.01947660744190216, 0.04342976585030556, 0.004796949215233326, -0.016408003866672516, 0.017418837174773216, -0.018700430169701576, 0.043177057057619095, -0.01527081523090601, 0.045595839619636536, -0.045740243047475815, 0.029025379568338394, 0.012933261692523956, 0.008975665085017681, 0.022797919809818268, -0.011110150255262852, 0.009729278273880482, -0.038989316672086716, 0.0033754638861864805, 0.09025304764509201, 0.024693233892321587, -0.03862830251455307, -0.0036710426211357117, 0.01913364604115486, 0.06747317314147949, -0.021949540823698044, -0.0030392713379114866, 0.004453987814486027, -0.00008313151192851365, -0.025902623310685158, 0.05916989594697952, -0.010234694927930832, -0.02655244618654251, -0.06252730637788773, -0.030036212876439095, -0.029350290074944496, 0.03725645691156387, -0.026191433891654015, 0.04050556570291519, -0.0035130998585373163, -0.002991888439282775, 0.02736472338438034, 0.01627262309193611, 0.021426072344183922, 0.005753631703555584, -0.012030730955302715, 0.01792425476014614, 0.02001812495291233, 0.06234680488705635, 0.0004405476793181151, 0.04093877971172333, 0.010658884420990944, -0.034964028745889664, 0.019368303939700127, 0.017319560050964355, -0.07537934184074402, -0.0774732157588005, -0.017843026667833328, 0.06256341189146042, 0.012843008153140545, -0.007224756292998791, 0.02703981287777424, 0.04953087121248245, -0.01796938106417656, -0.06653454154729843, 0.027400825172662735, 0.015063232742249966, 0.057328734546899796, -0.03938642889261246, 0.0009228374110534787, 0.04707598686218262, -0.006295149680227041, 0.028357505798339844, 0.0031746509484946728, -0.005555075127631426, 0.021480225026607513, -0.05722042918205261, -0.0053384676575660706, 0.0037477577570825815, -0.03754526749253273, -0.05216626077890396, 0.03424200415611267, -0.032184235751628876, -0.008091185241937637, -0.00754966726526618, 0.002267607720568776, -0.021624630317091942, 0.017310533672571182, -0.06263561546802521, -0.03007231466472149, 0.042491134256124496, -0.04025285691022873, 0.017048800364136696, 0.025162549689412117, -0.007139015942811966, 0.04902545362710953, -0.018844835460186005, 0.08722054213285446, -0.003977903164923191, -0.0010638578096404672, 0.0026534395292401314, 0.019368303939700127, -0.02440442331135273, 0.003790627932175994, 0.036029014736413956, -0.05158863961696625, 0.022202249616384506, 0.010189568623900414, -0.02115531452000141, 0.03270770236849785, -0.019223898649215698, 0.004891715012490749, 0.013826766051352024, 0.010631809011101723, -0.03862830251455307, -0.014079474844038486, -0.032202284783124924, -0.03848389908671379, 0.04707598686218262, 0.01364626083523035, 0.02223834954202175, -0.08007249981164932, 0.030054263770580292, 0.0008438659715466201, 0.016092117875814438, -0.059278201311826706, -0.020649896934628487, 0.06263561546802521, -0.05574028193950653, 0.015117385424673557, -0.045740243047475815, -0.00009850273636402562, -0.04429619386792183, -0.043321460485458374, 0.04400738328695297, 0.038195088505744934, 0.018917039036750793, 0.0316968709230423, 0.0977621003985405, -0.08837578445672989, 0.018059633672237396, -0.0545850433409214, -0.003402539761736989, -0.015577675774693489, 0.04072217270731926, 0.007030711974948645, 0.009165196679532528, 0.023826804012060165, 0.02514449879527092, 0.017463963478803635, -0.06129986792802811, 0.008935051038861275, 0.013528931885957718, 0.06523489952087402, -0.006065004505217075, -0.032870158553123474, 0.037112053483724594, -0.049242060631513596, -0.03348388150334358, -0.0070081488229334354, 0.011588490568101406, -0.011588490568101406, -0.03120950236916542, 0.048159025609493256, -0.016263598576188087, 0.023140881210565567, 0.040758274495601654, 0.05992802232503891, -0.031173402443528175, -0.020180581137537956, -0.0057671694085001945, 0.008497323840856552, 0.018213065341114998, 0.007445876020938158, -0.01826721616089344, -0.032653551548719406, -0.022400805726647377, 0.042635537683963776, -0.011001845821738243, 0.00662457337602973, 0.07797863334417343, 0.007662483491003513, -0.012933261692523956, 0.0066335988231003284, 0.021750984713435173, 0.03655248135328293, -0.004530702717602253, 0.0022495570592582226, 0.03747306391596794, 0.05501825734972954, -0.05906159430742264, 0.05003628879785538, 0.03873660787940025, 0.02433222159743309, -0.052888285368680954, 0.00322654633782804, 0.024982042610645294, 0.0242780689150095, 0.05574028193950653, -0.025866523385047913, 0.017518116161227226, -0.036227572709321976, -0.028357505798339844, -0.05671501159667969, -0.024115612730383873, 0.05505435913801193, 0.028664367273449898, 0.035631902515888214, -0.015180561691522598, 0.01183217391371727 ]
42,055
patch_ng
findfiles
return tuple of source file, target file
def findfiles(self, old, new): """ return tuple of source file, target file """ if old == b'/dev/null': handle, abspath = tempfile.mkstemp(suffix='pypatch') abspath = abspath.encode() # The source file must contain a line for the hunk matching to succeed. os.write(handle, b' ') os.close(handle) if not exists(new): handle = open(new, 'wb') handle.close() return abspath, new elif exists(old): return old, old elif exists(new): return new, new elif new == b'/dev/null': return None, None else: # [w] Google Code generates broken patches with its online editor debug("broken patch from Google Code, stripping prefixes..") if old.startswith(b'a/') and new.startswith(b'b/'): old, new = old[2:], new[2:] debug(" %s" % old) debug(" %s" % new) if exists(old): return old, old elif exists(new): return new, new return None, None
(self, old, new)
[ 0.013178686611354351, -0.03690032288432121, -0.013957632705569267, 0.02007145620882511, -0.0666995495557785, -0.07948876917362213, 0.00824686884880066, 0.08608263731002808, 0.017879538238048553, -0.05170030519366264, 0.022933632135391235, -0.028458716347813606, -0.017245512455701828, 0.03876617178320885, 0.012535602785646915, 0.03300559148192406, -0.00839178916066885, 0.054236408323049545, -0.03682786226272583, -0.03175565227866173, 0.006670861039310694, 0.045504964888095856, -0.007522267289459705, 0.056265294551849365, 0.014917729422450066, 0.06554018706083298, 0.037461888045072556, -0.03825895115733147, 0.04028783366084099, -0.035215623676776886, 0.0031633377075195312, -0.02706385962665081, 0.06568510830402374, -0.008210638538002968, -0.048258449882268906, 0.02407487854361534, 0.05619283393025398, 0.047461386770009995, 0.017625927925109863, -0.03912847116589546, -0.01354098692536354, -0.03934585303068161, 0.009745887480676174, -0.014872441999614239, 0.017163993790745735, 0.006607458461076021, -0.062243252992630005, -0.03825895115733147, 0.009954210370779037, 0.08245962858200073, 0.03579530492424965, 0.02253510057926178, -0.009365472011268139, -0.021393854171037674, 0.027661655098199844, 0.03162884712219238, -0.01777084730565548, 0.03333166241645813, -0.04130227491259575, 0.054490018635988235, 0.05709858611226082, 0.006720677483826876, 0.04057767242193222, -0.0018477333942428231, -0.047968607395887375, -0.02684647962450981, 0.010008555836975574, -0.09079254418611526, -0.03077744133770466, 0.08463343232870102, -0.07166307419538498, 0.022209031507372856, -0.021846730262041092, -0.01454637199640274, 0.043947070837020874, 0.04811352863907814, 0.05756957456469536, 0.016222011297941208, 0.039200931787490845, -0.0476425364613533, 0.004397424403578043, -0.01517134066671133, 0.016140494495630264, -0.0011163388844579458, 0.024219799786806107, 0.02905651368200779, 0.01878528855741024, -0.012091784738004208, 0.017861422151327133, -0.028911592438817024, -0.050214871764183044, 0.0395994633436203, 0.015714790672063828, -0.018133148550987244, 0.06919942796230316, -0.04677301645278931, -0.0057469941675662994, 0.028223222121596336, 0.03938208147883415, -0.007979672402143478, 0.011865346692502499, 0.05438132956624031, -0.041229814291000366, 0.023477083072066307, 0.055250849574804306, -0.0421355664730072, -0.019419316202402115, 0.02659286931157112, -0.014356163330376148, -0.009474162012338638, -0.04680924490094185, -0.08753184229135513, 0.01601368933916092, 0.02630302868783474, 0.009610025212168694, -0.05456247925758362, 0.002017561811953783, 0.024654559791088104, -0.019636696204543114, -0.041193585842847824, 0.011937806382775307, 0.021973535418510437, -0.06238817423582077, 0.018749060109257698, 0.07717004418373108, -0.04485282301902771, 0.07184422016143799, 0.018749060109257698, 0.031683191657066345, 0.00042117451084777713, -0.009818348102271557, -0.005257888231426477, -0.010207821615040302, 0.0370633564889431, -0.03416495397686958, 0.0173089150339365, -0.031212201341986656, 0.03478086367249489, 0.042751479893922806, -0.020850403234362602, 0.014328991062939167, -0.02182861417531967, 0.009836463257670403, 0.01755346730351448, -0.10441505163908005, 0.0008836739580146968, 0.012870730832219124, -0.023132897913455963, 0.0431862398982048, 0.06260555237531662, -0.01956423558294773, -0.03679163381457329, -0.057460885494947433, 0.011620793491601944, 0.013042823411524296, -0.03358527272939682, 0.01830524019896984, -0.032190412282943726, -0.01542495097965002, -0.015334375202655792, 0.035215623676776886, -0.07477885484695435, 0.04485282301902771, -0.00388341024518013, 0.05680874362587929, 0.014156898483633995, -0.046229563653469086, 0.01505359262228012, 0.021937305107712746, -0.005099381785839796, -0.03778795897960663, 0.06510543078184128, 0.025234241038560867, -0.01538872066885233, -0.00462839100509882, -0.007572083733975887, 0.01824183762073517, -0.05833040550351143, 0.007812107913196087, -0.010950537398457527, 0.02052433229982853, -0.004383837804198265, 0.014854326844215393, 0.08231470733880997, 0.011566448956727982, 0.06883712857961655, -0.026103762909770012, -0.005153726786375046, 0.007866453379392624, 0.013214916922152042, -0.00812459271401167, 0.0177889633923769, -0.01179288700222969, 0.044454291462898254, -0.02052433229982853, 0.01501736231148243, -0.01958235166966915, 0.043983299285173416, 0.007413577288389206, 0.026194337755441666, -0.06474313139915466, -0.01465506199747324, 0.01707341894507408, 0.035197507590055466, 0.021375739946961403, -0.012445027939975262, 0.018169378861784935, 0.0008972602081485093, -0.08354653418064117, 0.05731596425175667, 0.02929200790822506, 0.010216878727078438, 0.012399740517139435, -0.058982547372579575, 0.020723598077893257, 0.023513313382864, 0.027154434472322464, 0.036682941019535065, -0.08948826044797897, 0.03691843897104263, -0.007662659045308828, -0.03106728196144104, -0.0016020482871681452, 0.0361032597720623, 0.03599457070231438, -0.002007372211664915, 0.01777084730565548, 0.06438082456588745, 0.026629099622368813, -0.04079505428671837, 0.02005334198474884, -0.05264228582382202, 0.015361548401415348, -0.02007145620882511, 0.015560813248157501, 0.00325844157487154, -0.0024115638807415962, -0.025995071977376938, 0.004655563738197088, -0.029491273686289787, -0.05532331019639969, 0.004204952158033848, 0.04865697771310806, 0.07688020169734955, 0.07235144078731537, -0.08398129045963287, -0.002438736381009221, -0.031737539917230606, -0.003471293253824115, 0.01830524019896984, 0.031954918056726456, 0.04173703491687775, -0.004227595869451761, -0.00626327283680439, 0.05459871143102646, -0.04441806301474571, -0.022915516048669815, -0.020596792921423912, 0.036175720393657684, 0.004465355537831783, 0.031248431652784348, 0.03699089586734772, -0.003552810987457633, -0.03059629164636135, -0.023259703069925308, -0.02831379696726799, 0.00401700846850872, 0.024201683700084686, -0.048729438334703445, 0.04090374335646629, -0.0010653904173523188, -0.013450412079691887, -0.062243252992630005, 0.04090374335646629, -0.017182108014822006, -0.05188145488500595, 0.012725810520350933, 0.03177376836538315, 0.07191668450832367, -0.0345272533595562, -0.018413931131362915, 0.017453834414482117, -0.030904246494174004, 0.02079605869948864, -0.009673427790403366, -0.027371814474463463, -0.05756957456469536, -0.0590912364423275, -0.01215518731623888, -0.003589040832594037, 0.019129475578665733, 0.00851406529545784, -0.03110351227223873, -0.0516640730202198, -0.009546622633934021, 0.07535853981971741, -0.010579179041087627, -0.024944400414824486, 0.022390181198716164, -0.036682941019535065, -0.04677301645278931, 0.0030999351292848587, -0.005588487721979618, 0.01705530285835266, -0.04532381147146225, -0.028857247903943062, -0.005778695456683636, -0.04561365395784378, -0.022118454799056053, -0.0046080113388597965, -0.014301818795502186, -0.053729187697172165, 0.0355779267847538, -0.024111108854413033, 0.011675138957798481, -0.015071707777678967, -0.020651137456297874, 0.052968356758356094, -0.029165202751755714, 0.03298747539520264, -0.02728123962879181, 0.03389322757720947, -0.013387009501457214, 0.060794051736593246, 0.03383888304233551, -0.030759327113628387, -0.005910029634833336, -0.006630102172493935, 0.010977709665894508, 0.05264228582382202, -0.024980630725622177, 0.009573794901371002, 0.011847231537103653, 0.04691793769598007, -0.02476325072348118, 0.010615409351885319, -0.022118454799056053, -0.07336588203907013, 0.03104916773736477, -0.030723096802830696, 0.06561265140771866, -0.026230568066239357, -0.015914056450128555, -0.011493988335132599, 0.04590349271893501, 0.021937305107712746, 0.03534242883324623, -0.005117496941238642, -0.02229960635304451, -0.022390181198716164, 0.04481659084558487, -0.02655663900077343, -0.07434409856796265, -0.001705077476799488, 0.05405525863170624, 0.06557641923427582, -0.02579580806195736, -0.0023617474362254143, 0.04503397271037102, -0.015008305199444294, -0.005149198230355978, 0.0491279698908329, 0.006258743815124035, -0.025614656507968903, -0.006159111391752958, -0.016348818317055702, 0.006453480571508408, 0.0042592971585690975, -0.08666232228279114, -0.021738039329648018, -0.01266240794211626, -0.005665476433932781, 0.013794598169624805, -0.06492427736520767, -0.011149803176522255, -0.07043124735355377, -0.02632114291191101, 0.0025293114595115185, -0.04517889395356178, 0.013568160124123096, -0.011611736379563808, 0.007698888890445232, -0.06445328891277313, 0.04126604646444321, -0.019908420741558075, -0.030125299468636513, 0.008079304359853268, -0.028965938836336136, 0.04963519051671028, 0.04387461021542549, -0.0028304739389568567, -0.025107435882091522, 0.04988880082964897, -0.013242089189589024, 0.014600716531276703, -0.041954416781663895, 0.04612087458372116, 0.009727773256599903, -0.07336588203907013, -0.0278428066521883, 0.017653100192546844, 0.006127410102635622, -0.040251605212688446, 0.03930962085723877, -0.029455043375492096, -0.007549440022557974, 0.0696704164147377, 0.0017005486879497766, 0.00865898560732603, -0.005941730923950672, -0.07477885484695435, -0.0022734366357326508, -0.011983094736933708, -0.06231571361422539, 0.002939164172858, 0.03938208147883415, -0.08456097543239594, -0.003731696866452694, 0.04032406210899353, 0.002143234945833683, -0.030143415555357933, -0.0506134033203125, 0.0062768589705228806, 0.006575757171958685, 0.03387511149048805, -0.029744883999228477, -0.005484326276928186, 0.022227145731449127, -0.034201182425022125, 0.050214871764183044, 0.039454542100429535, -0.001899814116768539, 0.006842953618615866, 0.013377952389419079, 0.007119208108633757, -0.036175720393657684, 0.028857247903943062, -0.009691542945802212, 0.06035929173231125, 0.013984805904328823, -0.009052988141775131, -0.00928395427763462, 0.032951246947050095, 0.014682234264910221, -0.0361032597720623, -0.07543099671602249, -0.04992503300309181, -0.03731696680188179, -0.0001968594588106498, 0.028422487899661064, 0.021719925105571747, -0.01731797121465206, -0.015261915512382984, 0.005162784364074469, 0.060721591114997864, -0.051736533641815186, -0.06633725017309189, 0.015252857469022274, -0.05593922361731529, -0.0025723346043378115, 0.014356163330376148, 0.061265043914318085, 0.08963318169116974, 0.004904645029455423, 0.016484679654240608, -0.1113712266087532, 0.01581442356109619, -0.0680038332939148, -0.029201433062553406, -0.02008957229554653, 0.038186490535736084, -0.07470639795064926, -0.06155488267540932, 0.025958841666579247, -0.04112112522125244, -0.001705077476799488, -0.023603888228535652, 0.03162884712219238, 0.015732906758785248, -0.024183569476008415, -0.027516735717654228, -0.0906476229429245, -0.004146078135818243, 0.03713581711053848, 0.007092035375535488, -0.05880139768123627, 0.022734366357326508, -0.04311377927660942, -0.061518654227256775, -0.02780657634139061, 0.061011429876089096, -0.023205356672406197, -0.02007145620882511, -0.04340361803770065, -0.05836663767695427, 0.006698033306747675, 0.0012714489130303264, 0.03008906915783882, -0.03057817555963993, -0.04456298053264618, 0.03713581711053848, -0.09434309601783752, -0.004170986358076334, 0.006059478502720594, 0.00014223132166080177, -0.05684497579932213, 0.03354904055595398, -0.028694212436676025, -0.040939975529909134, 0.030270220711827278, 0.017671214416623116, -0.006566699594259262, 0.020107686519622803, 0.012752983719110489, 0.04090374335646629, -0.0007710211211815476, -0.006838425062596798, 0.012689581140875816, -0.008785790763795376, 0.035487350076436996, -0.03887486085295677, 0.005393750965595245, 0.05307704582810402, -0.06481558829545975, -0.016466565430164337, -0.022951746359467506, -0.02157500386238098, 0.0019960501231253147, -0.0000036973065107304137, -0.026864593848586082, 0.0005898707895539701, -0.008292156271636486, 0.02133950963616371, -0.08840136229991913, 0.03277009353041649, 0.03876617178320885, 0.029219549149274826, -0.00037730217445641756, 0.025433506816625595, -0.049272891134023666, 0.0280601866543293, 0.05807679519057274, -0.01701907441020012, 0.0415196567773819, -0.016837922856211662, 0.02681024931371212, -0.0690545067191124, -0.018875865265727043, 0.00570623530074954, -0.018413931131362915, 0.010244050994515419, -0.00037164121749810874, 0.01328737661242485, 0.06619232892990112, -0.016837922856211662, -0.007775878068059683, 0.013993863016366959, 0.01376742497086525, -0.04539627209305763, 0.023368392139673233, -0.0158234816044569, 0.008862780407071114, 0.016212955117225647, 0.037932880222797394, -0.04934535175561905, 0.0022406030911952257, 0.041229814291000366, 0.01854979433119297, 0.030976707115769386, -0.012055554427206516, 0.02200976572930813, 0.09224174916744232, -0.00558395916596055, -0.017942940816283226, 0.01799728535115719, -0.0535842664539814, 0.018912093713879585, -0.030179645866155624, -0.0015918585704639554, -0.01624918542802334, 0.016077091917395592, -0.0168288666754961, 0.04688170552253723, -0.007205254398286343, -0.027625424787402153, -0.031157856807112694, -0.028748556971549988, 0.035958342254161835, 0.013957632705569267, 0.02030695229768753, -0.023114781826734543, -0.015080764889717102, 0.002828209660947323, -0.0455411933362484, -0.018622254952788353, -0.008382732048630714, -0.04010668396949768, 0.002995773684233427, -0.020723598077893257, 0.002447793958708644, 0.0033444880973547697, -0.03478086367249489, 0.011992151848971844, -0.005307704675942659, 0.020198261365294456, -0.027987726032733917, -0.0017265890492126346, -0.07434409856796265, -0.029219549149274826, 0.04329492896795273, 0.04286016896367073, -0.01824183762073517, 0.05238867551088333, -0.028893478214740753, -0.002370805013924837, 0.06405475735664368, 0.029654309153556824, 0.027226895093917847, -0.01267146598547697, 0.03606703132390976, -0.05354803800582886, 0.005629246588796377, 0.007535853888839483, 0.0017401754157617688, 0.012988478876650333, 0.025125550106167793, -0.00558395916596055, 0.024201683700084686, -0.01958235166966915, -0.013314549811184406, -0.03391134366393089, 0.0021726717241108418, 0.08564787358045578, -0.013314549811184406, -0.02932823821902275, 0.0021330451127141714, 0.034744635224342346, -0.06814875453710556, -0.02606753259897232, 0.06865597516298294, 0.005629246588796377, -0.021248934790492058, 0.013731195591390133, -0.029690539464354515, -0.032208528369665146, -0.03651990741491318, -0.00259950733743608, -0.033204857259988785, 0.04793237894773483, -0.012934133410453796, 0.03034268133342266, 0.055504459887742996, -0.03630252555012703, -0.018151262775063515, 0.011937806382775307, 0.03507070243358612, -0.002465908881276846, -0.011249435134232044, 0.035722844302654266, -0.0005100513808429241, 0.044707901775836945, 0.0172636266797781, 0.08035828918218613, -0.0053846933878958225, -0.009274897165596485, 0.04818598926067352, 0.04604841396212578, -0.03862125054001808, 0.027661655098199844, 0.007979672402143478, -0.015443066135048866, -0.008486893028020859, -0.012734868563711643, -0.011865346692502499, -0.01606803387403488, -0.06912696361541748, 0.0677502229809761, 0.05304081737995148, 0.006467066705226898, -0.031556386500597, 0.016421277076005936, 0.020397527143359184, 0.0004998617223463953, -0.015597043558955193, 0.02452775463461876, 0.10782067477703094, -0.037461888045072556, 0.038186490535736084, 0.05945353955030441, -0.002796508138999343, -0.002737634349614382, -0.01750817894935608, 0.023603888228535652, 0.03978061303496361, -0.04010668396949768, 0.04007045179605484, -0.02157500386238098, 0.02081417292356491, -0.012762040831148624, -0.028621751815080643, 0.028458716347813606, 0.031139742583036423, -0.007662659045308828, -0.03664671257138252, -0.0017933882772922516, -0.040686365216970444, -0.03833141177892685, -0.029436929151415825, -0.08021336793899536, -0.013314549811184406, -0.03354904055595398, -0.036447446793317795, 0.024636445567011833, -0.02228149026632309, 0.05242490768432617, -0.0586564764380455, -0.020162031054496765, -0.07514115422964096, 0.06698939204216003, 0.020415643230080605, -0.02327781729400158, -0.016647715121507645, 0.028893478214740753, 0.016611484810709953, 0.0005474136560223997, -0.012499372474849224, -0.00738187599927187, -0.07477885484695435, -0.04793237894773483, 0.06271424144506454, -0.020904747769236565, 0.031212201341986656, 0.00462839100509882, 0.007626428734511137, 0.0016507323598489165, -0.00475972518324852, 0.020252607762813568, -0.004786897450685501, 0.04173703491687775, 0.03235344961285591, 0.009170735254883766, 0.04583103209733963, -0.012390682473778725, 0.03235344961285591, -0.011122629977762699, -0.007726061623543501, 0.062279485166072845, 0.004302320536226034, -0.08050321042537689, 0.025614656507968903, 0.04641071334481239, -0.014917729422450066, 0.016385046765208244, 0.0165661983191967, 0.002454587025567889, -0.033440351486206055, 0.06006944924592972, 0.004746138583868742, 0.042461637407541275, 0.044454291462898254, -0.003385246731340885, 0.014609774574637413, 0.009619082324206829, 0.047244004905223846, 0.032969359308481216, 0.016638657078146935, -0.07032255828380585, 0.041483424603939056 ]
42,056
patch_ng
parse
parse unified diff return True on success
def parse(self, stream): """ parse unified diff return True on success """ lineends = dict(lf=0, crlf=0, cr=0) nexthunkno = 0 #: even if index starts with 0 user messages number hunks from 1 p = None hunk = None # hunkactual variable is used to calculate hunk lines for comparison hunkactual = dict(linessrc=None, linestgt=None) class wrapumerate(enumerate): """Enumerate wrapper that uses boolean end of stream status instead of StopIteration exception, and properties to access line information. """ def __init__(self, *args, **kwargs): # we don't call parent, it is magically created by __new__ method self._exhausted = False self._lineno = False # after end of stream equal to the num of lines self._line = False # will be reset to False after end of stream def next(self): """Try to read the next line and return True if it is available, False if end of stream is reached.""" if self._exhausted: return False try: self._lineno, self._line = compat_next(super(wrapumerate, self)) except StopIteration: self._exhausted = True self._line = False return False return True @property def is_empty(self): return self._exhausted @property def line(self): return self._line @property def lineno(self): return self._lineno # define states (possible file regions) that direct parse flow headscan = True # start with scanning header filenames = False # lines starting with --- and +++ hunkhead = False # @@ -R +R @@ sequence hunkbody = False # hunkskip = False # skipping invalid hunk mode hunkparsed = False # state after successfully parsed hunk # regexp to match start of hunk, used groups - 1,3,4,6 re_hunk_start = re.compile(b"^@@ -(\d+)(,(\d+))? \+(\d+)(,(\d+))? @@") self.errors = 0 # temp buffers for header and filenames info header = [] srcname = None tgtname = None # start of main cycle # each parsing block already has line available in fe.line fe = wrapumerate(stream) while fe.next(): # -- deciders: these only switch state to decide who should process # -- line fetched at the start of this cycle if hunkparsed: hunkparsed = False if re_hunk_start.match(fe.line): hunkhead = True elif fe.line.startswith(b"--- "): filenames = True else: headscan = True # -- ------------------------------------ # read out header if headscan: while not fe.is_empty and not fe.line.startswith(b"--- "): header.append(fe.line) fe.next() if fe.is_empty: if p is None: debug("no patch data found") # error is shown later self.errors += 1 else: info("%d unparsed bytes left at the end of stream" % len(b''.join(header))) self.warnings += 1 # TODO check for \No new line at the end.. # TODO test for unparsed bytes # otherwise error += 1 # this is actually a loop exit continue headscan = False # switch to filenames state filenames = True line = fe.line lineno = fe.lineno # hunkskip and hunkbody code skipped until definition of hunkhead is parsed if hunkbody: # [x] treat empty lines inside hunks as containing single space # (this happens when diff is saved by copy/pasting to editor # that strips trailing whitespace) if line.strip(b"\r\n") == b"": debug("expanding empty line in a middle of hunk body") self.warnings += 1 line = b' ' + line # process line first if re.match(b"^[- \\+\\\\]", line): # gather stats about line endings if line.endswith(b"\r\n"): p.hunkends["crlf"] += 1 elif line.endswith(b"\n"): p.hunkends["lf"] += 1 elif line.endswith(b"\r"): p.hunkends["cr"] += 1 if line.startswith(b"-"): hunkactual["linessrc"] += 1 elif line.startswith(b"+"): hunkactual["linestgt"] += 1 elif not line.startswith(b"\\"): hunkactual["linessrc"] += 1 hunkactual["linestgt"] += 1 hunk.text.append(line) # todo: handle \ No newline cases else: warning("invalid hunk no.%d at %d for target file %s" % (nexthunkno, lineno+1, p.target)) # add hunk status node hunk.invalid = True p.hunks.append(hunk) self.errors += 1 # switch to hunkskip state hunkbody = False hunkskip = True # check exit conditions if hunkactual["linessrc"] > hunk.linessrc or hunkactual["linestgt"] > hunk.linestgt: warning("extra lines for hunk no.%d at %d for target %s" % (nexthunkno, lineno+1, p.target)) # add hunk status node hunk.invalid = True p.hunks.append(hunk) self.errors += 1 # switch to hunkskip state hunkbody = False hunkskip = True elif hunk.linessrc == hunkactual["linessrc"] and hunk.linestgt == hunkactual["linestgt"]: # hunk parsed successfully p.hunks.append(hunk) # switch to hunkparsed state hunkbody = False hunkparsed = True # detect mixed window/unix line ends ends = p.hunkends if ((ends["cr"]!=0) + (ends["crlf"]!=0) + (ends["lf"]!=0)) > 1: warning("inconsistent line ends in patch hunks for %s" % p.source) self.warnings += 1 if debugmode: debuglines = dict(ends) debuglines.update(file=p.target, hunk=nexthunkno) debug("crlf: %(crlf)d lf: %(lf)d cr: %(cr)d\t - file: %(file)s hunk: %(hunk)d" % debuglines) # fetch next line continue if hunkskip: if re_hunk_start.match(line): # switch to hunkhead state hunkskip = False hunkhead = True elif line.startswith(b"--- "): # switch to filenames state hunkskip = False filenames = True if debugmode and len(self.items) > 0: debug("- %2d hunks for %s" % (len(p.hunks), p.source)) if filenames: if line.startswith(b"--- "): if srcname != None: # XXX testcase warning("skipping false patch for %s" % srcname) srcname = None # XXX header += srcname # double source filename line is encountered # attempt to restart from this second line # Files dated at Unix epoch don't exist, e.g.: # '1970-01-01 01:00:00.000000000 +0100' # They include timezone offsets. # .. which can be parsed (if we remove the nanoseconds) # .. by strptime() with: # '%Y-%m-%d %H:%M:%S %z' # .. but unfortunately this relies on the OSes libc # strptime function and %z support is patchy, so we drop # everything from the . onwards and group the year and time # separately. re_filename_date_time = b"^--- ([^\t]+)(?:\s([0-9-]+)\s([0-9:]+)|.*)" match = re.match(re_filename_date_time, line) # todo: support spaces in filenames if match: srcname = match.group(1).strip() date = match.group(2) time = match.group(3) if (date == b'1970-01-01' or date == b'1969-12-31') and time.split(b':',1)[1] == b'00:00': srcname = b'/dev/null' else: warning("skipping invalid filename at line %d" % (lineno+1)) self.errors += 1 # XXX p.header += line # switch back to headscan state filenames = False headscan = True elif not line.startswith(b"+++ "): if srcname != None: warning("skipping invalid patch with no target for %s" % srcname) self.errors += 1 srcname = None # XXX header += srcname # XXX header += line else: # this should be unreachable warning("skipping invalid
(self, stream)
[ 0.017215656116604805, -0.012181660160422325, -0.062286775559186935, 0.05926433578133583, -0.05044207721948624, -0.053301144391298294, -0.009215380065143108, 0.0941040888428688, -0.041905727237463, -0.047011200338602066, -0.005544544197618961, -0.011180986650288105, -0.0169297493994236, 0.028304744511842728, -0.018052954226732254, 0.031306762248277664, -0.01823675073683262, 0.05734467878937721, -0.031756043434143066, -0.01443827897310257, -0.03582000359892845, -0.021463410928845406, -0.03929172456264496, 0.07760319858789444, 0.014223849400877953, 0.01531642023473978, 0.02130003459751606, -0.018747298046946526, 0.006897494662553072, -0.029999762773513794, -0.005314798094332218, -0.034247517585754395, -0.00511568458750844, -0.024935131892561913, -0.052811019122600555, -0.02826390042901039, -0.012028495781123638, -0.017389243468642235, -0.06306280940771103, -0.0012591374106705189, 0.04096632078289986, 0.007295721676200628, -0.003882712684571743, -0.004370285198092461, -0.012334823608398438, 0.019829658791422844, -0.03974100574851036, 0.028304744511842728, 0.02577243000268936, 0.014356591738760471, -0.02828432247042656, -0.006953654810786247, -0.010445798747241497, 0.011252463795244694, -0.007326354272663593, 0.02176973968744278, -0.01448933407664299, 0.0330834686756134, -0.005345430690795183, -0.01799168810248375, -0.034492578357458115, 0.02638508751988411, 0.034839749336242676, 0.05346451699733734, -0.02211691066622734, -0.031163809821009636, 0.049380138516426086, -0.07155831903219223, -0.05150401592254639, -0.014724185690283775, -0.020227886736392975, 0.03800514340400696, 0.047011200338602066, -0.004962520208209753, 0.014744607731699944, 0.01083381474018097, -0.029530059546232224, 0.022443661466240883, 0.03878117725253105, -0.020442316308617592, 0.010251791216433048, 0.06281774491071701, 0.026650572195649147, 0.014274903573095798, 0.052484266459941864, -0.026201289147138596, 0.10790928453207016, 0.027283649891614914, -0.03853611275553703, 0.009159219451248646, -0.03465595468878746, 0.024526694789528847, 0.020421894267201424, -0.0461534820497036, 0.03285882622003555, -0.006667748559266329, -0.010052677243947983, -0.017981477081775665, -0.007229350507259369, -0.04946182668209076, -0.0009962054900825024, 0.025711163878440857, -0.08397483080625534, -0.002121324185281992, -0.0074999406933784485, 0.0009572762646712363, -0.022423239424824715, 0.019268056377768517, -0.0256498996168375, -0.027937151491642, -0.03394118696451187, -0.09663639962673187, -0.03016313724219799, -0.008439348079264164, 0.0733145996928215, -0.07025131583213806, -0.03586084768176079, 0.028325166553258896, 0.011967229656875134, -0.01047643180936575, 0.02697732113301754, -0.023342225700616837, -0.04815482720732689, 0.04223247617483139, 0.006693275645375252, -0.06759647279977798, 0.047746386379003525, -0.013284442014992237, 0.0941040888428688, -0.017981477081775665, -0.03467637673020363, 0.04803229495882988, -0.011211619712412357, -0.015816757455468178, -0.04835904389619827, -0.023138005286455154, -0.03463553264737129, -0.0027977994177490473, 0.017001226544380188, -0.06886262446641922, 0.05158570408821106, -0.038740333169698715, 0.007224244996905327, -0.04799145087599754, -0.07482582330703735, 0.013733724132180214, 0.022688724100589752, -0.03136802837252617, 0.017307555302977562, 0.04243669658899307, 0.007285510655492544, -0.058855898678302765, -0.023403489962220192, 0.03275671973824501, 0.05656864494085312, 0.0027671665884554386, -0.06159243360161781, -0.033655282109975815, -0.013386551290750504, 0.028958246111869812, 0.027304071933031082, -0.09034645557403564, 0.050809673964977264, 0.02236197330057621, -0.018155064433813095, 0.007586733438074589, -0.025997070595622063, -0.06155158951878548, -0.020227886736392975, 0.030101871117949486, 0.03551367297768593, 0.07221181690692902, -0.001324870390817523, 0.03769881650805473, -0.006871967110782862, 0.07372304052114487, 0.009348122403025627, 0.0008443176629953086, -0.043702851980924606, 0.025139352306723595, -0.027120275422930717, 0.0031449715606868267, -0.029509637504816055, 0.04648023098707199, -0.01295769214630127, 0.041231803596019745, 0.02957090176641941, -0.05007448419928551, 0.05048292130231857, 0.03157224878668785, -0.019441643729805946, -0.04084378853440285, 0.024465428665280342, 0.05485320836305618, 0.023403489962220192, 0.010792970657348633, 0.02258661389350891, 0.03865864500403404, 0.0953294038772583, -0.048685796558856964, -0.07572438567876816, 0.009925040416419506, -0.029713856056332588, -0.015684014186263084, -0.06155158951878548, 0.019074048846960068, 0.005513911601155996, 0.04664360731840134, -0.07417231798171997, 0.06824997067451477, -0.0338594987988472, -0.04795060679316521, 0.0029637273401021957, 0.055302489548921585, 0.012794316746294498, -0.06947528570890427, -0.016582578420639038, 0.042885977774858475, -0.019952191039919853, 0.032123640179634094, 0.009011160582304, 0.019370166584849358, -0.08405651897192001, -0.021197926253080368, -0.023709818720817566, 0.021851425990462303, 0.044887322932481766, 0.06841334700584412, 0.028713183477520943, -0.026793524622917175, 0.02366897463798523, -0.023403489962220192, 0.03498270362615585, 0.05350536108016968, 0.03610590845346451, 0.0338594987988472, 0.002733981003984809, -0.002504234667867422, 0.004196699243038893, -0.002920330734923482, -0.03722911328077316, -0.06089808791875839, 0.04733794927597046, -0.02734491601586342, 0.001997516490519047, -0.013509082607924938, 0.041354335844516754, 0.014765029773116112, -0.015592115931212902, 0.019390588626265526, 0.012242925353348255, 0.02910119853913784, 0.018726876005530357, 0.011385206133127213, 0.0043217833153903484, -0.046806979924440384, 0.0028871451504528522, -0.06935275346040726, 0.06686127930879593, -0.02969343401491642, 0.026180868968367577, 0.004737879615277052, -0.0077092647552490234, -0.008327026851475239, -0.005825345404446125, 0.010241580195724964, 0.010435587726533413, -0.007423358503729105, -0.034370046108961105, -0.009807614609599113, 0.046316854655742645, -0.0071936119347810745, -0.0783383846282959, 0.029836386442184448, -0.060857243835926056, -0.00862825009971857, 0.04390707239508629, -0.024873867630958557, 0.024792179465293884, -0.00259230425581336, 0.016449835151433945, 0.017236078158020973, 0.028651917353272438, 0.006157201249152422, 0.0027722720988094807, -0.018052954226732254, -0.02848854288458824, -0.02697732113301754, -0.044519729912281036, -0.029999762773513794, 0.010629596188664436, -0.02556821145117283, 0.01917615905404091, -0.02734491601586342, 0.041354335844516754, 0.07078228145837784, -0.02164720743894577, -0.024649225175380707, -0.04811398312449455, -0.044070448726415634, -0.031776465475559235, -0.018839197233319283, 0.06053049489855766, -0.013304864056408405, -0.07507088035345078, -0.0017396900802850723, 0.022892942652106285, -0.005794712342321873, 0.01725650019943714, -0.05183076858520508, 0.05134064331650734, 0.008755886927247047, 0.009302172809839249, -0.01696038246154785, 0.015541061758995056, -0.02638508751988411, 0.018747298046946526, 0.05893758684396744, 0.023832350969314575, 0.050360389053821564, -0.012988324277102947, 0.0008692068513482809, 0.03138845041394234, 0.05138148367404938, 0.04496901109814644, -0.053546205163002014, 0.07907357066869736, -0.018951518461108208, -0.025976648554205894, -0.0011225659400224686, -0.019952191039919853, -0.022913364693522453, -0.029836386442184448, 0.023342225700616837, -0.025997070595622063, -0.020575057715177536, -0.03663687780499458, -0.06220508739352226, 0.031184231862425804, -0.06167411804199219, 0.05616020783782005, 0.031020857393741608, -0.022504927590489388, -0.0034257727675139904, 0.08740570396184921, -0.028304744511842728, 0.02683436870574951, -0.015622748993337154, 0.001322317635640502, 0.0847100168466568, 0.027487868443131447, 0.03359401598572731, -0.021361300721764565, 0.01342739537358284, 0.03367570415139198, -0.027875885367393494, -0.03110254369676113, -0.0338594987988472, 0.01389709860086441, 0.01105845533311367, -0.013846044428646564, 0.05256595462560654, -0.012140816077589989, 0.03988396003842354, -0.021933114156126976, -0.049747735261917114, -0.02779419720172882, 0.02272956818342209, -0.022688724100589752, 0.018083587288856506, -0.04884916916489601, -0.0018226540414616466, -0.0039056872483342886, -0.07037384808063507, 0.010139469988644123, -0.012447144836187363, 0.029244152829051018, 0.022627457976341248, -0.05575177073478699, 0.006928127724677324, -0.0032087902072817087, 0.0661669373512268, -0.05154486000537872, 0.012559465132653713, -0.032940514385700226, -0.010895080864429474, -0.011834487318992615, -0.04161981865763664, 0.03357359394431114, -0.0002985106548294425, 0.030837059020996094, -0.0003883350873365998, 0.0567728653550148, 0.0017205445328727365, 0.004434103611856699, 0.011987651698291302, 0.021442988887429237, 0.012630941346287727, -0.04000648856163025, -0.03798472136259079, 0.04337610304355621, -0.027610400691628456, -0.00849040225148201, 0.06253183633089066, 0.023934459313750267, -0.03310389071702957, 0.08111575990915298, 0.040884632617235184, -0.036841098219156265, 0.044887322932481766, -0.004278386943042278, -0.006596271879971027, -0.023628130555152893, -0.04349863529205322, -0.044519729912281036, 0.020595479756593704, -0.025384414941072464, -0.023260537534952164, 0.028427276760339737, 0.013172121718525887, -0.0008711214177310467, 0.03169478103518486, 0.029489215463399887, 0.049992796033620834, 0.008255550637841225, -0.018675822764635086, -0.03292009234428406, -0.03144971653819084, -0.06931190937757492, 0.04092547670006752, 0.01967649534344673, -0.00979740358889103, 0.006009142380207777, 0.026425931602716446, 0.0209528636187315, -0.012181660160422325, -0.0027135591953992844, -0.007918589748442173, 0.024056991562247276, 0.034370046108961105, 0.010359006002545357, 0.05228004977107048, 0.06334871798753738, 0.009046899154782295, 0.04427466541528702, -0.009914829395711422, -0.029611745849251747, -0.039087504148483276, -0.07727644592523575, 0.02083033137023449, -0.04021070897579193, -0.011569002643227577, -0.04119095951318741, -0.01762409508228302, -0.024690069258213043, -0.025833696126937866, -0.007847112603485584, 0.08634376525878906, -0.01282494980841875, -0.008321921341121197, -0.015510428696870804, 0.09001971036195755, 0.028447698801755905, 0.04080294445157051, 0.01938037760555744, -0.024935131892561913, -0.002943305531516671, -0.006958760321140289, -0.06612609326839447, -0.019829658791422844, -0.013682669028639793, -0.03865864500403404, -0.054485611617565155, 0.04799145087599754, -0.030612418428063393, -0.026773102581501007, -0.0073518818244338036, 0.0028999089263379574, -0.045499980449676514, -0.026528039947152138, -0.04758301377296448, -0.05309692397713661, 0.013794989325106144, -0.00015970559616107494, -0.00019608209549915045, -0.024526694789528847, 0.0693935975432396, -0.06976118683815002, -0.0009260052465833724, -0.061919182538986206, -0.03230743482708931, -0.0440296046435833, -0.014713974669575691, -0.023097161203622818, -0.01070107240229845, -0.0024467981420457363, -0.023280959576368332, 0.030489888042211533, 0.06036711856722832, -0.08430157601833344, 0.010415165685117245, -0.01604139804840088, -0.013325286097824574, -0.01531642023473978, 0.022300709038972855, 0.03820936381816864, 0.05856999382376671, -0.00409714225679636, -0.01389709860086441, -0.00019321026047691703, -0.022219020873308182, -0.00502378586679697, 0.023260537534952164, 0.03516650199890137, -0.014560810290277004, 0.026711836457252502, 0.0260379146784544, 0.02979554422199726, -0.04010859876871109, 0.012763683684170246, 0.02154509723186493, -0.011946807615458965, 0.036718565970659256, -0.059427712112665176, -0.010905290953814983, 0.030101871117949486, 0.006667748559266329, 0.007959432899951935, 0.019788814708590508, -0.05146317183971405, -0.01910468190908432, -0.013161910697817802, 0.017072703689336777, -0.02979554422199726, 0.046439386904239655, -0.018124431371688843, 0.03147013857960701, -0.052933547645807266, -0.030959591269493103, -0.026548461988568306, 0.0027135591953992844, -0.017664939165115356, -0.0009828036418184638, -0.03749459609389305, -0.019666284322738647, 0.013999207876622677, -0.0066422210074961185, 0.0017511773621663451, -0.024342898279428482, -0.01846139132976532, -0.02614002488553524, -0.020442316308617592, 0.008071753196418285, 0.04533660411834717, 0.0010115219047293067, 0.03134760633111, 0.04304935410618782, 0.012967902235686779, 0.032246172428131104, -0.0055955988354980946, 0.019686706364154816, 0.019931768998503685, -0.01389709860086441, -0.030571576207876205, -0.02779419720172882, 0.018369494006037712, -0.010925712995231152, 0.03739248961210251, -0.044887322932481766, 0.05076882988214493, -0.015939287841320038, 0.051749080419540405, 0.004063956905156374, 0.006254205014556646, -0.018206117674708366, -0.04247754067182541, 0.006769857835024595, 0.06539090722799301, 0.0415177121758461, -0.015939287841320038, 0.050687141716480255, 0.00606019701808691, 0.05166739225387573, -0.03065326251089573, 0.004234990105032921, 0.0194722767919302, -0.0017690465319901705, 0.06751478463411331, 0.029734278097748756, 0.031756043434143066, -0.041824039071798325, -0.050115328282117844, -0.017297344282269478, -0.034472156316041946, -0.02897866815328598, 0.030367355793714523, 0.07037384808063507, -0.028549807146191597, 0.007806268986314535, 0.04139517992734909, -0.012314402498304844, -0.020023666322231293, -0.03512565791606903, 0.007295721676200628, 0.020401472225785255, -0.027059009298682213, 0.017838524654507637, 0.003030098509043455, -0.011487315408885479, -0.008408715017139912, 0.0393938347697258, 0.022770412266254425, 0.012671785429120064, -0.046602763235569, -0.034717220813035965, 0.018502235412597656, 0.061714962124824524, 0.01917615905404091, 0.04104800522327423, 0.0014920745743438601, 0.016449835151433945, 0.010966557078063488, -0.0165417343378067, 0.014019629918038845, 0.029182886704802513, 0.007596944458782673, -0.014948826283216476, 0.013754145242273808, -0.006683064624667168, -0.03867906704545021, -0.0011436260538175702, 0.024914709851145744, -0.009950567968189716, 0.02166762948036194, 0.002525933086872101, 0.03871991112828255, 0.014560810290277004, -0.08724232763051987, -0.030122293159365654, 0.05444476753473282, -0.0021494042593985796, -0.09361395984888077, 0.018277594819664955, -0.022178176790475845, -0.04554082453250885, 0.00010290720092598349, 0.00009461080480832607, -0.019635651260614395, 0.05383211374282837, 0.03571789339184761, 0.059100959450006485, 0.031286340206861496, 0.010149681009352207, -0.008255550637841225, -0.007770530879497528, 0.07098650187253952, 0.0007887956453487277, 0.008352554403245449, 0.0048527526669204235, 0.0029867019038647413, -0.01083381474018097, 0.0004109906149096787, 0.04978857934474945, 0.0057487632147967815, 0.010935924015939236, 0.02448585070669651, 0.037453752011060715, -0.03974100574851036, 0.040537457913160324, 0.016766374930739403, -0.05195329710841179, -0.019717339426279068, -0.0018315885681658983, 0.021483832970261574, -0.01804274320602417, -0.08176926523447037, 0.06469655781984329, 0.020850753411650658, 0.01230419147759676, -0.02332180365920067, -0.023485178127884865, 0.04652107506990433, 0.0037908139638602734, -0.060857243835926056, -0.003127102507278323, 0.09704484045505524, -0.009894407354295254, -0.021933114156126976, 0.043457791209220886, -0.04045577347278595, -0.017042070627212524, 0.03786219283938408, 0.010200736112892628, 0.06073471158742905, -0.08058479428291321, -0.0043268888257443905, -0.022892942652106285, -0.009052004665136337, -0.013100644573569298, -0.04541829228401184, 0.02638508751988411, -0.008112597279250622, 0.01999303512275219, -0.004730221349745989, -0.0036070169880986214, -0.004720010329037905, -0.0678415298461914, -0.01018031407147646, -0.06874009221792221, 0.006141884718090296, -0.011803855188190937, 0.027018165215849876, 0.016715319827198982, -0.008776308968663216, 0.06089808791875839, -0.03230743482708931, -0.023219693452119827, -0.022913364693522453, 0.019605018198490143, -0.0036682826466858387, -0.0281617920845747, 0.04260006919503212, 0.007806268986314535, 0.08005382120609283, -0.045132387429475784, -0.006877072621136904, -0.03077579475939274, -0.05044207721948624, -0.016500890254974365, 0.015959709882736206, 0.013110855594277382, 0.044887322932481766, -0.003270055865868926, -0.037106581032276154, 0.027875885367393494, -0.05616020783782005, 0.040047332644462585, -0.012375667691230774, 0.09794340282678604, 0.05003364011645317, -0.019839869812130928, -0.07327375560998917, -0.1214694231748581, 0.0013184885028749704, 0.0006988116656430066, 0.04008817672729492, 0.06935275346040726, 0.05501658096909523, -0.0601220540702343, 0.03498270362615585, 0.03122507594525814, -0.09010139852762222, -0.04795060679316521, 0.019615229219198227, 0.013458028435707092, 0.022647880017757416, 0.026916056871414185, 0.0018175485311076045, 0.0256498996168375, 0.026936478912830353, 0.018175486475229263, -0.044764790683984756, 0.015214310958981514, 0.0461534820497036, 0.02497597597539425, 0.006616693455725908, -0.06277690082788467, 0.043947916477918625 ]
42,057
patch_ng
patch_stream
Generator that yields stream patched with hunks iterable Converts lineends in hunk lines to the best suitable format autodetected from input
def patch_stream(self, instream, hunks): """ Generator that yields stream patched with hunks iterable Converts lineends in hunk lines to the best suitable format autodetected from input """ # todo: At the moment substituted lineends may not be the same # at the start and at the end of patching. Also issue a # warning/throw about mixed lineends (is it really needed?) hunks = iter(hunks) srclineno = 1 lineends = {b'\n':0, b'\r\n':0, b'\r':0} def get_line(): """ local utility function - return line from source stream collecting line end statistics on the way """ line = instream.readline() # 'U' mode works only with text files if line.endswith(b"\r\n"): lineends[b"\r\n"] += 1 elif line.endswith(b"\n"): lineends[b"\n"] += 1 elif line.endswith(b"\r"): lineends[b"\r"] += 1 return line for hno, h in enumerate(hunks): debug("hunk %d" % (hno+1)) # skip to line just before hunk starts while srclineno < h.startsrc: yield get_line() srclineno += 1 for hline in h.text: # todo: check \ No newline at the end of file if hline.startswith(b"-") or hline.startswith(b"\\"): get_line() srclineno += 1 continue else: if not hline.startswith(b"+"): yield get_line() srclineno += 1 continue line2write = hline[1:] # detect if line ends are consistent in source file if sum([bool(lineends[x]) for x in lineends]) == 1: newline = [x for x in lineends if lineends[x] != 0][0] yield line2write.rstrip(b"\r\n")+newline else: # newlines are mixed yield line2write for line in instream: yield line
(self, instream, hunks)
[ -0.022113967686891556, -0.05104375630617142, -0.02971622906625271, 0.026345768943428993, -0.039584189653396606, -0.055799853056669235, -0.015813078731298447, 0.13399454951286316, 0.02129007689654827, 0.008852140977978706, -0.016000326722860336, -0.013416306115686893, -0.02730073221027851, 0.052916236221790314, -0.018294112756848335, 0.057260382920503616, -0.012807751074433327, 0.021252628415822983, -0.03020307421684265, -0.021889271214604378, -0.013088623061776161, -0.00029959651874378324, -0.048010341823101044, 0.030165623873472214, -0.006216627545654774, 0.053590327501297, 0.0137439901009202, 0.0014359568012878299, -0.019361425191164017, -0.045426320284605026, -0.0013856339501217008, -0.07340114563703537, 0.029079586267471313, -0.024098794907331467, -0.0076303486712276936, -0.04913382977247238, -0.036700572818517685, 0.010270543396472931, -0.04347894340753555, 0.019380150362849236, 0.05958225578069687, 0.0506318099796772, 0.019267801195383072, -0.02037256397306919, -0.011365942656993866, 0.027244558557868004, -0.06130493804812431, 0.04838483780622482, 0.008398065343499184, 0.015719454735517502, -0.0014851093292236328, -0.014174660667777061, 0.021758196875452995, -0.00938111636787653, 0.0265517421066761, -0.0005263419006951153, -0.02475416287779808, 0.020447462797164917, 0.0008303270442411304, 0.008707024157047272, -0.013266508467495441, -0.010841649025678635, 0.045051828026771545, 0.0033189677633345127, -0.01320097129791975, -0.04819758981466293, 0.001066142343915999, -0.09272512048482895, -0.03939694166183472, 0.026102347299456596, -0.00384560227394104, 0.002579338848590851, 0.01769491843879223, 0.004713964182883501, -0.01791025511920452, 0.05123100429773331, -0.03696272149682045, 0.04119452089071274, 0.0807412639260292, -0.04276740178465843, 0.029435357078909874, 0.06430090218782425, 0.04347894340753555, 0.009512189775705338, 0.04183116555213928, -0.057110585272312164, 0.08403681963682175, 0.012320906855165958, -0.01619693636894226, -0.01864052005112171, -0.04808524250984192, 0.04044552892446518, 0.058383870869874954, -0.07280195504426956, 0.04482712969183922, 0.01375335268676281, -0.020484911277890205, -0.0063102515414357185, 0.005313157103955746, -0.023274904116988182, 0.016084587201476097, 0.05752253159880638, -0.04228055849671364, 0.011225506663322449, 0.01659015752375126, -0.012217920273542404, 0.00760226184502244, -0.0019204604905098677, -0.05231704190373421, -0.018153676763176918, 0.006230671424418688, -0.06744666397571564, -0.057822126895189285, -0.028255697339773178, 0.031064413487911224, -0.07201551645994186, -0.0011176354018971324, 0.03256239742040634, 0.03203810378909111, -0.02730073221027851, 0.00043564377119764686, -0.011497016064822674, -0.039771437644958496, 0.0590205155313015, 0.026439392939209938, -0.06212882697582245, 0.036812923848629, 0.00537869380787015, 0.10905313491821289, -0.010682488791644573, -0.028742540627717972, 0.013266508467495441, 0.0018830109620466828, 0.009942859411239624, -0.06021890044212341, -0.009250042028725147, -0.03576433286070824, 0.002408475149422884, 0.031588707119226456, -0.042355459183454514, 0.046512357890605927, -0.04501437768340111, -0.008089105598628521, -0.01375335268676281, -0.08373722434043884, 0.004821631591767073, 0.02041001245379448, -0.016412271186709404, 0.03389185667037964, 0.03509024158120155, 0.008772560395300388, -0.0063898321241140366, -0.008875546976923943, 0.08875546604394913, 0.02765650302171707, 0.00778014725074172, -0.043628741055727005, -0.009690075181424618, -0.022338666021823883, 0.03407910466194153, -0.008061018772423267, -0.04681195691227913, 0.0601065531373024, 0.01855625957250595, -0.034341249614953995, 0.027244558557868004, -0.019071191549301147, -0.07291430234909058, 0.022507188841700554, -0.025353355333209038, 0.015607106499373913, 0.051792748272418976, 0.027263283729553223, 0.016992740333080292, 0.054564014077186584, 0.0701804831624031, -0.010485878214240074, 0.023181280121207237, -0.018500084057450294, 0.008945764973759651, -0.012704764492809772, -0.019380150362849236, -0.03024052269756794, 0.007897176779806614, -0.02898596227169037, 0.025952547788619995, 0.011010171845555305, -0.05227959156036377, 0.012751576490700245, -0.013959324918687344, 0.007152867037802935, -0.018247300758957863, 0.01947377435863018, 0.05021986737847328, 0.014277646318078041, 0.020896857604384422, -0.030877165496349335, 0.03767426311969757, 0.0625782236456871, -0.005771914031356573, -0.09422310441732407, 0.023892821744084358, -0.03020307421684265, 0.0128545630723238, -0.017535759136080742, 0.028911063447594643, 0.019586121663451195, 0.019548673182725906, -0.11122521013021469, 0.07141631841659546, -0.010813562199473381, -0.03636352717876434, 0.013912512920796871, -0.016253111883997917, 0.0289672389626503, -0.01945504918694496, 0.007293302565813065, 0.04063277691602707, -0.04149411618709564, 0.016168849542737007, 0.02074705809354782, 0.0022106945980340242, -0.08441131561994553, 0.036869097501039505, 0.010055208578705788, 0.03947184234857559, 0.060555946081876755, 0.022319940850138664, 0.017563845962285995, 0.008927039802074432, 0.02694496139883995, 0.015447945334017277, 0.04010848328471184, 0.06969363987445831, 0.015157711692154408, 0.019623572006821632, -0.02673899009823799, -0.03164488077163696, -0.027750127017498016, 0.01667441800236702, -0.06725941598415375, -0.024997584521770477, 0.04456498101353645, 0.0019848269876092672, -0.015682004392147064, -0.04426538571715355, 0.021739471703767776, -0.00827635359019041, 0.007040518335998058, 0.043404046446084976, 0.014820665121078491, 0.030558845028281212, 0.012143021449446678, 0.029060862958431244, 0.027993550524115562, -0.039621639996767044, -0.014146572910249233, -0.08021696656942368, 0.03477191925048828, -0.030109450221061707, 0.004367555491626263, 0.0392845943570137, -0.018752869218587875, -0.017900891602039337, 0.027600329369306564, 0.0017168284393846989, -0.02911703661084175, -0.0011111987987533212, -0.011487654410302639, 0.030540119856595993, 0.04478967934846878, 0.003534302581101656, -0.07999227195978165, 0.024117520079016685, -0.03400420397520065, 0.027750127017498016, 0.061454735696315765, 0.009708799421787262, 0.05175529792904854, -0.03443487361073494, 0.014979826286435127, 0.05531300604343414, -0.00045202794717624784, -0.012339632026851177, 0.04422793537378311, -0.009680712595582008, -0.028368044644594193, -0.044377733021974564, 0.005907668732106686, -0.062016479671001434, 0.027712678536772728, -0.017423409968614578, -0.006993706338107586, -0.03516514226794243, 0.04407813772559166, 0.06448815017938614, -0.03623245283961296, -0.040520429611206055, -0.01951122283935547, -0.06321486830711365, -0.025091208517551422, -0.033948030322790146, 0.05355287715792656, 0.03829218074679375, -0.04478967934846878, -0.024679264053702354, -0.009441971778869629, -0.042505256831645966, -0.043441496789455414, -0.02952898107469082, 0.02840549498796463, -0.010289267636835575, 0.0173204243183136, -0.07239000499248505, -0.003176191123202443, -0.016430996358394623, -0.02041001245379448, 0.11137500405311584, 0.014876839704811573, 0.06699727475643158, -0.027619054540991783, -0.004156901501119137, 0.06310251355171204, 0.04329169541597366, 0.02331235446035862, -0.026476841419935226, 0.055612605065107346, 0.008309122174978256, -0.02239483967423439, -0.011497016064822674, -0.05403972044587135, -0.030877165496349335, -0.04771074652671814, 0.05516320839524269, -0.0346408486366272, 0.024360941722989082, -0.021364977583289146, -0.04126942157745361, 0.03078354150056839, -0.08298823237419128, 0.05808427557349205, 0.02406134456396103, 0.016983376815915108, 0.003475787816569209, 0.025746576488018036, 0.00019602506654337049, -0.016805492341518402, -0.032861992716789246, -0.0419435128569603, 0.10051462799310684, 0.06003165245056152, -0.010513965040445328, 0.013144797645509243, -0.0075414059683680534, 0.029603881761431694, 0.03698144480586052, -0.01788216643035412, -0.05100630596280098, -0.02164584770798683, -0.0013938259799033403, 0.0007782487664371729, 0.048347387462854385, 0.031045688316226006, 0.03020307421684265, -0.034509774297475815, -0.004358192905783653, -0.02349960245192051, 0.013229059055447578, -0.024304768070578575, 0.046737056225538254, -0.06504989415407181, 0.01966102235019207, -0.0058187260292470455, -0.043067000806331635, 0.010776111856102943, -0.014773853123188019, 0.01767619512975216, 0.009104925207793713, -0.039808887988328934, 0.03458467125892639, 0.00003366437886143103, 0.06598613411188126, -0.05138080194592476, 0.01905246637761593, -0.0430295504629612, -0.018378373235464096, -0.014642779715359211, -0.037412114441394806, 0.012976273894309998, -0.003031074069440365, -0.0075554498471319675, -0.018631158396601677, 0.06194157898426056, 0.006076192017644644, -0.03147635981440544, -0.042505256831645966, 0.020147865638136864, 0.03162615746259689, -0.016833579167723656, -0.03555836156010628, 0.018986929208040237, -0.01657143235206604, 0.005205489695072174, 0.055425357073545456, 0.03076481819152832, -0.06984344124794006, 0.05568750202655792, 0.01886521838605404, 0.024716712534427643, 0.004110089503228664, -0.030296698212623596, -0.03582051023840904, 0.005931074731051922, -0.050182417035102844, 0.0023452790919691324, -0.01547603216022253, -0.037618089467287064, -0.04201840981841087, -0.007213722448796034, 0.02552187815308571, 0.03220662474632263, 0.007766103371977806, 0.030165623873472214, 0.04804779216647148, 0.0027361589018255472, -0.07298920303583145, -0.01356610469520092, -0.02424859255552292, -0.06628572940826416, 0.04516417533159256, 0.024529464542865753, -0.047785643488168716, 0.004105408675968647, 0.05066926032304764, 0.012910737656056881, -0.02673899009823799, 0.023181280121207237, 0.010860374197363853, 0.0403706319630146, 0.01838773675262928, 0.024548189714550972, 0.03846070170402527, 0.043404046446084976, 0.017339147627353668, 0.02258208766579628, -0.007115417160093784, 0.0014172319788485765, -0.026664089411497116, -0.025278456509113312, 0.03480936959385872, -0.04842228814959526, -0.03535239025950432, -0.04662470892071724, -0.026926236227154732, -0.01677740551531315, -0.04149411618709564, 0.057822126895189285, 0.006357063539326191, -0.032880716025829315, 0.006563036236912012, 0.03714996948838234, 0.05156804993748665, 0.014895563945174217, 0.010429703630506992, 0.020147865638136864, -0.01984826847910881, -0.005771914031356573, -0.02258208766579628, -0.06935659050941467, 0.00473736971616745, 0.05411462113261223, 0.0003733253397513181, -0.022188866510987282, 0.007227765861898661, -0.01932397484779358, -0.0105607770383358, -0.025428254157304764, 0.06100533902645111, -0.008674255572259426, 0.003922841977328062, -0.056548841297626495, -0.03400420397520065, 0.004339468199759722, -0.01248006708920002, -0.029435357078909874, -0.044902026653289795, 0.051979996263980865, -0.0863586962223053, 0.005313157103955746, -0.0035038748756051064, 0.04879678413271904, -0.02911703661084175, -0.03149508312344551, -0.046886853873729706, 0.001464043976739049, -0.008800648152828217, 0.004723326303064823, 0.001767151290550828, 0.05797192454338074, -0.07606006413698196, -0.015981601551175117, -0.03347991034388542, -0.018687332049012184, -0.02331235446035862, 0.049096379429101944, 0.054189521819353104, 0.021458599716424942, -0.00984923541545868, -0.011899598874151707, 0.02838676981627941, 0.018528172746300697, -0.0008543182048015296, -0.024829061701893806, -0.006773690227419138, -0.00046139032929204404, 0.005533173214644194, 0.014268283732235432, 0.04523907229304314, -0.03533366322517395, -0.008505732752382755, 0.026308318600058556, -0.005275707226246595, 0.02804972417652607, -0.04516417533159256, -0.007335433270782232, 0.002558273496106267, 0.02494141086935997, -0.02510993368923664, 0.023256178945302963, -0.06931914389133453, 0.0012440277496352792, 0.0039415666833519936, -0.021552223712205887, -0.0419435128569603, 0.04512672498822212, -0.005828088615089655, 0.03078354150056839, -0.019061828032135963, -0.014333820901811123, -0.0008847459685057402, -0.010111382231116295, 0.01538240909576416, -0.03387312963604927, -0.003031074069440365, -0.020316388458013535, 0.02072833478450775, -0.02348087728023529, -0.026664089411497116, -0.007990800775587559, -0.03587668389081955, -0.05613689869642258, -0.013435031287372112, 0.01609395071864128, 0.07003068923950195, -0.021776922047138214, -0.010991447605192661, -0.0008841608068905771, -0.004980792291462421, -0.009456015191972256, 0.042355459183454514, 0.029098311439156532, 0.07160356640815735, -0.0018912029918283224, -0.05257919058203697, -0.03662567585706711, 0.02657046541571617, 0.01393123809248209, 0.056361593306064606, -0.03218790143728256, 0.0754983201622963, 0.005739145912230015, 0.05448911711573601, -0.003988378681242466, 0.01932397484779358, -0.013369495049118996, -0.01673995517194271, 0.013706540688872337, 0.03516514226794243, 0.0638515055179596, -0.05958225578069687, 0.015663281083106995, 0.011693626642227173, 0.022975308820605278, -0.06613592803478241, 0.02093430608510971, -0.04531397297978401, -0.057822126895189285, 0.059095412492752075, 0.035202592611312866, 0.0844862163066864, -0.02091558277606964, -0.02658919058740139, -0.04830993711948395, -0.072052963078022, -0.006558354943990707, -0.020990481600165367, 0.053440529853105545, -0.019024379551410675, -0.033049240708351135, 0.028836164623498917, -0.04786054417490959, -0.005130590405315161, -0.05426441878080368, 0.0013715903041884303, 0.037580639123916626, -0.021552223712205887, -0.006132366135716438, -0.03203810378909111, -0.006703472230583429, 0.0068719950504601, -0.006221308838576078, 0.07306410372257233, 0.02114027924835682, -0.04018338397145271, -0.009175143204629421, 0.00972752459347248, 0.024829061701893806, -0.013313320465385914, 0.03211300075054169, -0.006127684842795134, 0.06797096133232117, -0.011178694665431976, -0.000778833928052336, -0.0018713079625740647, 0.003595158224925399, 0.03838580474257469, -0.015747541561722755, 0.021346252411603928, -0.015054725110530853, -0.06931914389133453, -0.02020403929054737, 0.024473290890455246, 0.009526233188807964, -0.001204237574711442, -0.007517999969422817, 0.05849622189998627, -0.047972891479730606, -0.06538694351911545, -0.016159487888216972, 0.04149411618709564, 0.03220662474632263, -0.07227765768766403, 0.024117520079016685, -0.02951025776565075, -0.054901063442230225, -0.01529814675450325, 0.02057853527367115, -0.023967720568180084, -0.0126579524949193, -0.018715420737862587, 0.060930442065000534, 0.054002273827791214, 0.0008385191322304308, -0.011169333010911942, 0.04149411618709564, 0.051792748272418976, 0.015550931915640831, 0.0075414059683680534, 0.032506223767995834, -0.007986119948327541, 0.043254248797893524, 0.009563682600855827, 0.021776922047138214, 0.018874580040574074, 0.015972239896655083, 0.015625830739736557, -0.009479421190917492, 0.010298630222678185, 0.037580639123916626, -0.01193704828619957, -0.021084105595946312, 0.015429221093654633, -0.07444973289966583, -0.009338985197246075, -0.031607434153556824, -0.09856725484132767, 0.018518809229135513, 0.008154642768204212, -0.002656578551977873, -0.014389995485544205, -0.022507188841700554, 0.006029380019754171, -0.002197821391746402, -0.024697987362742424, -0.027806302532553673, 0.08134045451879501, -0.02569040097296238, -0.0638515055179596, -0.01201194804161787, -0.04130686819553375, 0.05025731399655342, 0.0016232045600190759, -0.0018865218153223395, 0.023780474439263344, -0.03891009837388992, -0.030727367848157883, 0.0015974580310285091, -0.037075068801641464, 0.015344958752393723, -0.0392845943570137, 0.030558845028281212, -0.010158194229006767, 0.030708642676472664, 0.006703472230583429, -0.030914615839719772, -0.025222280994057655, -0.05830897390842438, -0.0036419702228158712, -0.015691367909312248, 0.03319903835654259, -0.01986699365079403, 0.04078257456421852, 0.014071674086153507, -0.036138828843832016, 0.09272512048482895, -0.046362560242414474, -0.030839717015624046, -0.015110899694263935, 0.009240680374205112, -0.0051071844063699245, -0.008861503563821316, 0.04789799451828003, -0.03147635981440544, 0.04819758981466293, -0.06137983500957489, -0.018706057220697403, -0.051455702632665634, 0.01986699365079403, -0.03130783513188362, -0.010813562199473381, 0.017226800322532654, 0.01967974565923214, -0.02512865699827671, -0.0184064619243145, 0.02567167580127716, 0.015363683924078941, -0.05845877155661583, -0.017208075150847435, 0.08156514912843704, -0.00008287178934551775, -0.023817922919988632, -0.031064413487911224, -0.07381309568881989, 0.019192902371287346, 0.0126579524949193, 0.021215178072452545, 0.07909347862005234, 0.04774819314479828, -0.04299210011959076, 0.04475222900509834, 0.0560619980096817, -0.053815025836229324, -0.03883519768714905, 0.016833579167723656, 0.04830993711948395, -0.012236645445227623, 0.030184349045157433, -0.007583536673337221, 0.008627443574368954, 0.05643649399280548, 0.014155935496091843, -0.01274221483618021, 0.04774819314479828, 0.04677450656890869, 0.016084587201476097, 0.007719291374087334, -0.05460146442055702, 0.05976950377225876 ]
42,058
patch_ng
revert
apply patch in reverse order
def revert(self, strip=0, root=None): """ apply patch in reverse order """ reverted = copy.deepcopy(self) reverted._reverse() return reverted.apply(strip, root)
(self, strip=0, root=None)
[ 0.00949816219508648, 0.01839853823184967, 0.03242991492152214, 0.02336348593235016, -0.046594131737947464, -0.05091147869825363, -0.04519929736852646, 0.06788197159767151, 0.11105543375015259, -0.007173437159508467, 0.0026589042972773314, -0.02147049643099308, -0.030354266986250877, -0.0030740336515009403, -0.03299449011683464, 0.04735796898603439, -0.003244236810132861, 0.00715683214366436, -0.012711264193058014, -0.030437292531132698, 0.0574871301651001, -0.021005550399422646, 0.011615322902798653, 0.07385983318090439, -0.018498169258236885, -0.019560901448130608, -0.008991704322397709, -0.007879157550632954, 0.011507389135658741, -0.04277494177222252, 0.004371313378214836, -0.023463116958737373, 0.0191623754799366, -0.007061352487653494, 0.03194836527109146, -0.06296683847904205, -0.039155010133981705, 0.019145771861076355, -0.008223715238273144, -0.03342622518539429, 0.05705539509654045, -0.03985242918133736, -0.01666329614818096, 0.013450195081532001, 0.01766791008412838, 0.005961259361356497, 0.044900402426719666, 0.03676386550068855, 0.009672516956925392, 0.0262029729783535, 0.027182677760720253, 0.0058284178376197815, 0.015119015239179134, 0.030918842181563377, 0.003935427404940128, -0.01972695253789425, 0.017966803163290024, 0.012852407991886139, 0.02693359926342964, -0.007281370926648378, 0.011092259548604488, -0.010361631400883198, -0.03135057911276817, -0.017036912962794304, 0.020723262801766396, -0.029905926436185837, -0.002036210149526596, -0.003673895727843046, 0.03898895904421806, 0.03233028203248978, -0.06685245037078857, -0.0017393925227224827, 0.004616239573806524, 0.008908678777515888, -0.0028104265220463276, -0.003111395286396146, 0.0873432382941246, 0.03759412467479706, 0.006035982631146908, -0.0394539050757885, -0.07478972524404526, -0.0019064821535721421, -0.009265690110623837, 0.07020669430494308, -0.0529705211520195, -0.03736165165901184, 0.06934322416782379, -0.04891885817050934, 0.014994476921856403, 0.006467717234045267, -0.06887828558683395, 0.0321144163608551, -0.041147634387016296, -0.053236205130815506, 0.03702954947948456, 0.002382843056693673, -0.005782753694802523, -0.024492638185620308, 0.012669751420617104, -0.03639855235815048, -0.0055295247584581375, 0.09797055274248123, -0.07585245370864868, 0.007796131540089846, 0.06376388669013977, 0.028643934056162834, -0.002683812053874135, -0.06373067945241928, -0.03961995616555214, 0.007571961730718613, -0.017717726528644562, 0.007306278683245182, -0.010428052395582199, -0.03201478347182274, 0.01758488453924656, -0.06379709392786026, -0.05854986235499382, -0.010726945474743843, 0.05479709059000015, 0.03440593183040619, 0.027680832892656326, 0.006737551186233759, -0.03872327879071236, -0.0002939635596703738, -0.06213657930493355, 0.04685981571674347, 0.02474171668291092, 0.045265719294548035, 0.01548432931303978, -0.024957584217190742, 0.01055259071290493, -0.02062363177537918, -0.06037643179297447, 0.017651304602622986, 0.02389485202729702, 0.016812743619084358, 0.009996317327022552, 0.0012453884119167924, 0.0025426680222153664, 0.03583397716283798, 0.04420298710465431, -0.0070032342337071896, 0.06270115822553635, 0.07372699677944183, -0.05303694307804108, -0.014546136371791363, 0.0028851497918367386, 0.06333215534687042, -0.027381939813494682, 0.05629155784845352, 0.00875092949718237, 0.04778970405459404, 0.067915178835392, -0.017086729407310486, -0.02454245463013649, 0.03626571223139763, -0.04868638515472412, -0.003632382955402136, -0.010178974829614162, -0.032778624445199966, -0.0015328655717894435, 0.017452042549848557, 0.043605200946331024, -0.060907796025276184, 0.020042451098561287, -0.017850566655397415, 0.026335813105106354, -0.1149742603302002, -0.020025845617055893, 0.026501866057515144, -0.010178974829614162, -0.03427308797836304, -0.010145763866603374, 0.014280454255640507, -0.008908678777515888, 0.021238023415207863, 0.008344102650880814, -0.006857939064502716, -0.03852401673793793, 0.04333951696753502, -0.007974636740982533, -0.010428052395582199, -0.008232017047703266, -0.0020683826878666878, 0.028594117611646652, -0.028394855558872223, -0.024442823603749275, -0.019876400008797646, 0.0031155466567724943, -0.034140247851610184, -0.03150002285838127, 0.024309981614351273, 0.10600746423006058, 0.022649463266134262, 0.017070123925805092, -0.0253561083227396, -0.01198893878608942, 0.013134696520864964, 0.07093732059001923, -0.03573434427380562, -0.05599266290664673, -0.054963141679763794, 0.07990412414073944, 0.010120856575667858, -0.012038754299283028, -0.03417345881462097, -0.039121802896261215, -0.0338081456720829, -0.031433604657649994, 0.03942069411277771, 0.077778659760952, 0.02879337966442108, 0.05619192495942116, -0.07067164033651352, -0.011316429823637009, -0.03736165165901184, 0.03643176332116127, -0.004248850047588348, 0.06502588093280792, 0.0103533286601305, -0.04891885817050934, 0.013242630288004875, -0.004371313378214836, -0.01628968119621277, -0.06336536258459091, -0.012603330425918102, -0.014006468467414379, -0.031798917800188065, 0.020308133214712143, -0.016306284815073013, 0.016962191089987755, -0.0673506036400795, -0.06598898023366928, -0.0735277310013771, 0.05283767729997635, -0.03789301961660385, -0.06615503132343292, -0.03257936239242554, 0.04685981571674347, -0.018265696242451668, -0.0059778643772006035, -0.00996310729533434, 0.04333951696753502, 0.04407014325261116, 0.0030574286356568336, 0.02930814027786255, 0.01325923576951027, -0.0448007732629776, 0.0371956005692482, 0.0006460452568717301, 0.049749117344617844, -0.007464027963578701, -0.012512002140283585, 0.05429893359541893, 0.045431770384311676, -0.016630087047815323, -0.009954804554581642, -0.006089949514716864, -0.00012577125744428486, 0.013549826107919216, 0.04891885817050934, -0.05619192495942116, 0.03759412467479706, -0.03918822109699249, -0.006567348260432482, -0.01997603103518486, -0.022948356345295906, -0.019560901448130608, 0.02623618207871914, 0.0648266151547432, -0.0021462193690240383, -0.07206647843122482, -0.04798896610736847, 0.06562366336584091, -0.017236175015568733, 0.07850928604602814, 0.01665499433875084, 0.025887474417686462, -0.009149453602731228, -0.013358866795897484, 0.016953887417912483, -0.03613286837935448, -0.0016636314103379846, 0.007443271577358246, 0.008460338227450848, 0.012893921695649624, -0.017335806041955948, -0.019760163500905037, 0.020607026293873787, -0.013973258435726166, 0.10242073982954025, 0.053236205130815506, 0.005317808594554663, -0.03536903113126755, 0.027149466797709465, -0.037627335637807846, -0.06406278163194656, -0.04981553554534912, 0.019195586442947388, 0.012985249981284142, -0.03189854696393013, -0.056059084832668304, -0.0007498275954276323, -0.0036842741537839174, 0.03510334715247154, 0.011955728754401207, 0.034638404846191406, 0.02231736108660698, 0.017651304602622986, 0.017169754952192307, -0.0156420785933733, -0.005886536091566086, -0.06011074781417847, -0.035601504147052765, -0.02826201356947422, -0.03722881153225899, 0.039121802896261215, -0.02753138728439808, 0.007762921042740345, 0.03166607767343521, -0.06887828558683395, -0.007381001953035593, -0.030155004933476448, 0.03679707646369934, 0.00021054847456980497, 0.005575188901275396, -0.009365321137011051, 0.01218820083886385, 0.012702961452305317, -0.008232017047703266, -0.0005723597714677453, 0.005865779239684343, 0.012005544267594814, 0.04264209792017937, -0.035202980041503906, -0.00921587459743023, 0.06379709392786026, -0.0007420439505949616, 0.00856827199459076, 0.010892997495830059, 0.09710708260536194, 0.005413288250565529, -0.03516976907849312, -0.03096865862607956, -0.022250939160585403, 0.07027311623096466, -0.016547061502933502, 0.04778970405459404, 0.0024762472603470087, 0.02947419323027134, -0.005541978403925896, -0.0721329003572464, -0.03332659229636192, 0.010859786532819271, -0.005342716351151466, 0.013093183748424053, -0.010884694755077362, 0.020955735817551613, 0.019228797405958176, -0.08422146737575531, 0.004059966187924147, -0.008485246449708939, -0.02983950637280941, 0.03399080038070679, 0.006567348260432482, -0.04905169829726219, -0.008439581841230392, -0.01358303613960743, -0.029457587748765945, -0.013732482679188251, 0.004707568325102329, -0.026335813105106354, 0.07087090611457825, -0.03573434427380562, -0.016364403069019318, 0.03516976907849312, -0.037062760442495346, -0.01921219192445278, 0.049549855291843414, 0.0017591111827641726, 0.03845759481191635, 0.021487101912498474, -0.000059901885833824053, 0.0037922076880931854, 0.016422521322965622, -0.00024427776224911213, 0.016879163682460785, -0.02279891073703766, 0.07631739974021912, 0.00047662053839303553, -0.0252232663333416, -0.04181183874607086, 0.005965410731732845, 0.01404798123985529, -0.025970499962568283, 0.00540913688018918, 0.03457198292016983, 0.015990788117051125, -0.02073986828327179, -0.027000021189451218, 0.025173451751470566, -0.010560893453657627, 0.02062363177537918, -0.0014986173482611775, 0.0008250698447227478, -0.01977676711976528, 0.028527697548270226, 0.07279710471630096, 0.024210350587964058, -0.00905812531709671, -0.04539855942130089, 0.02414393052458763, 0.019428059458732605, -0.034107036888599396, 0.04742439091205597, -0.02093913033604622, 0.05572697892785072, 0.034140247851610184, 0.0033770783338695765, -0.04333951696753502, 0.027830280363559723, 0.05453140661120415, 0.028610723093152046, 0.014687281101942062, 0.02758120186626911, 0.002492852509021759, 0.0025634244084358215, -0.003333489643409848, -0.10660524666309357, 0.09285616129636765, 0.020524000748991966, -0.08628050982952118, 0.039121802896261215, -0.018531380221247673, 0.0246586911380291, -0.011756466701626778, -0.000730627856682986, -0.03942069411277771, -0.034140247851610184, 0.05722144618630409, 0.01217159628868103, 0.01024539489299059, 0.012138385325670242, -0.01927861198782921, 0.023928062990307808, -0.007214950397610664, -0.019577505066990852, -0.026103341951966286, -0.04011811316013336, -0.01346679963171482, -0.0017923214472830296, 0.002499079331755638, 0.007343640550971031, -0.022632859647274017, -0.09013291448354721, -0.02975648082792759, -0.054963141679763794, 0.006094100419431925, -0.026169762015342712, 0.07565319538116455, -0.003910519648343325, -0.011391152627766132, 0.029225114732980728, -0.03829154372215271, -0.006413750350475311, 0.022533228620886803, 0.018265696242451668, -0.03696312755346298, -0.06442809104919434, -0.024592269212007523, 0.029856111854314804, -0.077778659760952, -0.0014342722715809941, -0.0017881701933220029, -0.009697424247860909, 0.041014790534973145, -0.03158304840326309, -0.029324745759367943, -0.0030719581991434097, -0.008742626756429672, -0.08747608214616776, -0.002115084556862712, -0.032562755048274994, 0.0071609835140407085, -0.022649463266134262, -0.01024539489299059, 0.007592718116939068, -0.004798896610736847, 0.07067164033651352, 0.0008971985662356019, -0.0058201150968670845, -0.004728324711322784, -0.04463472217321396, 0.08036906272172928, -0.024492638185620308, 0.0056042480282485485, -0.03985242918133736, -0.04573066160082817, -0.011233403347432613, -0.05061258375644684, 0.006945115979760885, -0.0333930142223835, 0.006588104646652937, 0.01831551268696785, -0.012777685187757015, 0.021885626018047333, -0.0718672126531601, 0.009855173528194427, 0.014305361546576023, -0.009672516956925392, -0.03133397176861763, -0.014662372879683971, 0.035402242094278336, 0.02510702982544899, -0.010527683421969414, 0.023097803816199303, -0.017983408644795418, 0.005878233350813389, 0.012711264193058014, -0.013549826107919216, -0.0023454814217984676, -0.011191890574991703, -0.02090591937303543, -0.00021015929814893752, 0.031715892255306244, -0.00023312114353757352, -0.018464958295226097, -0.004483398515731096, 0.07047238200902939, -0.018581194803118706, 0.00016734906239435077, 0.002007151022553444, 0.06290041655302048, 0.0034123642835766077, 0.0088754678145051, 0.03262917697429657, -0.013940047472715378, -0.07279710471630096, 0.019228797405958176, -0.017734330147504807, 0.004832107108086348, -0.0077006518840789795, -0.03573434427380562, -0.01851477473974228, -0.0622694194316864, 0.019594110548496246, -0.01758488453924656, -0.003549356944859028, -0.06608860939741135, 0.006476019974797964, -0.09631003439426422, -0.04078231751918793, 0.035236191004514694, 0.0622694194316864, 0.0044958521611988544, -0.0312841571867466, -0.028942827135324478, 0.049549855291843414, 0.018083039671182632, 0.00879244226962328, -0.010394842363893986, 0.002814577892422676, 0.06273436546325684, -0.0030761093366891146, 0.015434513799846172, 0.058118127286434174, 0.024077508598566055, 0.023180829361081123, -0.0019106334075331688, 0.028926221653819084, 0.036000028252601624, -0.043040622025728226, 0.03799264878034592, 0.011714953929185867, 0.001967713702470064, 0.03898895904421806, 0.03563471511006355, -0.05051295459270477, 0.0063514807261526585, -0.006712643429636955, 0.019444664940238, -0.023662379011511803, -0.014380085282027721, -0.03296127915382385, -0.030902238562703133, 0.014006468467414379, 0.004213564097881317, 0.10574177652597427, 0.04496682435274124, -0.048453912138938904, -0.054000042378902435, 0.023546144366264343, -0.0007892649155110121, -0.05509598180651665, 0.008867165073752403, -0.04390409216284752, -0.0431070439517498, -0.04260889068245888, -0.01139945536851883, 0.00891698058694601, 0.032081205397844315, -0.025206660851836205, 0.06980817019939423, 0.03028784692287445, -0.05217347294092178, -0.018896693363785744, -0.03370851278305054, -0.04277494177222252, -0.03164947032928467, 0.023313671350479126, 0.051210369914770126, -0.02786348946392536, 0.048254650086164474, -0.05041332170367241, 0.004520759917795658, -0.04290778189897537, -0.01927861198782921, -0.0039727892726659775, -0.03742807358503342, 0.0032753716222941875, -0.01839853823184967, -0.02397787757217884, -0.033542461693286896, 0.044136565178632736, -0.0712694302201271, 0.05951296165585518, 0.028477881103754044, 0.010486170649528503, 0.00025867755175568163, 0.012852407991886139, 0.021154997870326042, -0.03453877195715904, 0.03679707646369934, 0.044535089284181595, -0.05652402713894844, -0.034870874136686325, 0.03942069411277771, 0.011133772321045399, 0.0013948350679129362, -0.04782291501760483, 0.05463103950023651, -0.059413328766822815, 0.01892990432679653, -0.013790600933134556, -0.08063475042581558, 0.012586725875735283, 0.034671612083911896, -0.038191910833120346, -0.03377493470907211, -0.016787836328148842, -0.04948343336582184, 0.0005157983396202326, -0.018780456855893135, -0.0024617176968604326, -0.013167906552553177, 0.066786028444767, 0.04692623391747475, 0.03500371798872948, 0.00023402924125548452, 0.014811819419264793, -0.005404985509812832, 0.018896693363785744, -0.024210350587964058, 0.004529062658548355, 0.04240962862968445, 0.04755723103880882, 0.005811812821775675, 0.06432846188545227, 0.03799264878034592, -0.05612550303339958, -0.005558583419770002, 0.018166065216064453, -0.06243547424674034, 0.005338564980775118, -0.04187826067209244, -0.07598529756069183, 0.0025156845804303885, 0.05572697892785072, 0.03609965741634369, -0.013940047472715378, -0.03360888361930847, 0.001693728263489902, -0.017485253512859344, -0.014346874319016933, 0.016771230846643448, 0.059014804661273956, -0.01864761672914028, 0.07645024359226227, -0.004500003531575203, -0.046594131737947464, -0.013309051282703876, -0.049915168434381485, 0.05785244330763817, 0.018780456855893135, 0.01892990432679653, -0.006874544080346823, -0.021055366843938828, -0.06771592050790787, 0.03683028742671013, -0.006986629217863083, 0.08023622632026672, 0.0024119021836668253, 0.02595389448106289, -0.01936163939535618, 0.0650923028588295, -0.010428052395582199, -0.006588104646652937, -0.0333930142223835, -0.06881186366081238, 0.027232494205236435, 0.001522487378679216, 0.054000042378902435, 0.024891162291169167, -0.005077033303678036, 0.046594131737947464, 0.03443914279341698, -0.006231093313544989, -0.06569008529186249, -0.03247972950339317, 0.018083039671182632, -0.05582661181688309, 0.00584087148308754, 0.030869027599692345, 0.025522159412503242, 0.04108121246099472, 0.014678978361189365, 0.017535068094730377, -0.007327035069465637, -0.05854986235499382, -0.004491700790822506, -0.027913305908441544, -0.018531380221247673, 0.06167163327336311, -0.01941145397722721, 0.056789711117744446, -0.007443271577358246, 0.05393362045288086, 0.03825833275914192, -0.030271241441369057, -0.026169762015342712, -0.0016563666285946965, -0.019843189045786858, -0.04755723103880882, 0.08780818432569504, -0.006712643429636955, 0.024575665593147278, 0.018464958295226097, 0.018016619607806206, -0.00454981904476881, -0.036332130432128906, 0.055129192769527435, 0.0019490328850224614, 0.007928973063826561, 0.026352418586611748, 0.03626571223139763, 0.005043823271989822, 0.028079356998205185, 0.005857476964592934, 0.017402227967977524, -0.020640237256884575, 0.022865330800414085, -0.03379153832793236, -0.03060334548354149, 0.03299449011683464, 0.04755723103880882, 0.012437279336154461, 0.03619929030537605, 0.021238023415207863 ]
42,059
patch_ng
strip_path
null
def strip_path(self, path, base_path, strip=0): tokens = path.split("/") if len(tokens) > 1: tokens = tokens[strip:] path = "/".join(tokens) if base_path: path = os.path.join(base_path, path) return path # account for new and deleted files, upstream dep won't fix them
(self, path, base_path, strip=0)
[ -0.03142176941037178, 0.05697955563664436, 0.0016095046885311604, 0.04020008444786072, -0.04239024594426155, -0.07510139048099518, 0.06877817213535309, 0.09742692112922668, -0.0005075238295830786, -0.037374068051576614, 0.06662333756685257, 0.01888132281601429, -0.004592276643961668, -0.00014778631157241762, -0.04588744044303894, 0.0179628673940897, 0.06983793526887894, 0.02663520537316799, 0.00231380108743906, -0.034742340445518494, -0.0022199684754014015, -0.029090307652950287, -0.026882480829954147, 0.043344028294086456, -0.014695285819470882, 0.023756200447678566, -0.007899599149823189, 0.018934309482574463, 0.020983172580599785, -0.09968773275613785, 0.02223721705377102, 0.01507503166794777, 0.02195461466908455, 0.01994107849895954, 0.04104788973927498, 0.011886931955814362, -0.002044446300715208, 0.018581058830022812, -0.06531630456447601, -0.028843030333518982, 0.013653191737830639, -0.023190997540950775, 0.008076225407421589, 0.0035325204953551292, 0.00453928904607892, 0.011312897317111492, -0.004543704446405172, 0.032022297382354736, -0.018863659352064133, 0.0739709809422493, -0.030944880098104477, 0.027836261317133904, -0.022767094895243645, 0.026122989133000374, 0.04804227873682976, -0.037444718182086945, 0.03050331585109234, -0.02186630293726921, -0.015887511894106865, 0.013723842799663544, 0.005528394598513842, -0.016682328656315804, -0.004420066252350807, -0.04910203441977501, 0.06937870383262634, -0.0017552211647853255, -0.005365015473216772, 0.002058797050267458, 0.009219878353178501, -0.0003822297730948776, -0.029761485755443573, 0.003274204907938838, -0.031121505424380302, 0.007692063692957163, 0.052846506237983704, 0.012664086185395718, 0.06891947984695435, 0.020047053694725037, 0.05535459890961647, -0.055460572242736816, -0.007559594232589006, -0.035166241228580475, -0.028454452753067017, -0.029337583109736443, -0.00044046115363016725, 0.007365305442363024, 0.01770675927400589, -0.05295248329639435, -0.008001158945262432, 0.009166890755295753, -0.02073589526116848, -0.005819827783852816, -0.012160701677203178, -0.009643780998885632, 0.03871642425656319, -0.028260163962841034, 0.009325854480266571, -0.029673172160983086, 0.02841912768781185, -0.020930184051394463, -0.003453038865700364, 0.02216656692326069, -0.10322025418281555, -0.039069678634405136, 0.06404459476470947, 0.006649970076978207, 0.018263131380081177, -0.025522461161017418, -0.028454452753067017, -0.022184228524565697, -0.0619957372546196, -0.07616114616394043, -0.03698549047112465, -0.027253396809101105, -0.005713852122426033, -0.015295813791453838, -0.04853683337569237, -0.04917268827557564, 0.03491896763443947, 0.01874002255499363, -0.015198669396340847, -0.009502480737864971, -0.06747114658355713, -0.0060273632407188416, 0.03924630209803581, 0.008614934980869293, -0.006632307544350624, 0.024886608123779297, 0.0047556557692587376, 0.009634950198233128, -0.02045329473912716, 0.02146006189286709, -0.06280821561813354, -0.041295167058706284, 0.0038592787459492683, 0.039069678634405136, -0.011816280893981457, 0.009308191947638988, 0.0399174839258194, 0.04239024594426155, 0.051256872713565826, -0.01937587559223175, 0.009882226586341858, 0.007405046373605728, 0.04659394547343254, 0.05998219922184944, 0.001818144228309393, 0.04069463536143303, -0.03627898544073105, 0.01143653504550457, -0.026829494163393974, 0.02179565280675888, 0.02015303075313568, -0.03677354007959366, 0.019905753433704376, -0.009785082191228867, -0.025628436356782913, 0.010553405620157719, 0.013467734679579735, -0.03354128450155258, 0.046841222792863846, -0.06030012667179108, 0.04472171142697334, -0.0605827271938324, -0.01492489967495203, 0.024533355608582497, 0.03172203525900841, -0.003556806594133377, 0.026599880307912827, 0.041083212941884995, -0.008345579728484154, 0.000986897968687117, 0.018280794844031334, 0.0062348986975848675, -0.02414477802813053, -0.007722972892224789, 0.02179565280675888, 0.0237208753824234, 0.0016503494698554277, 0.02970849722623825, 0.04595809429883957, -0.013882805593311787, 0.019464189186692238, 0.027412360534071922, 0.01988808996975422, 0.019623151049017906, -0.024180103093385696, -0.05178675055503845, 0.06591683626174927, 0.04839553311467171, -0.019552500918507576, 0.049843866378068924, 0.0655282586812973, -0.02251981943845749, 0.07008520513772964, -0.033099718391895294, 0.08442724496126175, -0.007939339615404606, -0.027659635990858078, -0.0063806152902543545, -0.029885124415159225, -0.01988808996975422, 0.007537515833973885, -0.04058866202831268, -0.006393862422555685, 0.006795686669647694, -0.023632561787962914, 0.017291687428951263, -0.016329076141119003, 0.07411228120326996, 0.0434500016272068, 0.00461435504257679, 0.03712679073214531, -0.03184567391872406, -0.001454956945963204, -0.059028420597314835, -0.004839553032070398, 0.04800695553421974, 0.013026169501245022, 0.09608455747365952, -0.037939272820949554, 0.0022806834895163774, 0.041295167058706284, -0.031457096338272095, 0.022219553589820862, -0.032675813883543015, -0.018757684156298637, 0.041577767580747604, 0.03878707438707352, -0.058392565697431564, 0.022537481039762497, -0.03027370199561119, 0.00041065551340579987, -0.012725905515253544, 0.033311668783426285, 0.006689711008220911, -0.004852800164371729, -0.09085643291473389, 0.00783336441963911, -0.041860368102788925, -0.01178978756070137, -0.04465106129646301, -0.002616273006424308, -0.005863984115421772, -0.03995280712842941, 0.03022071346640587, -0.01196641381829977, 0.003958630841225386, 0.029160957783460617, 0.002576532308012247, 0.00994404498487711, 0.06814232468605042, -0.033241018652915955, 0.032587502151727676, 0.038009922951459885, 0.014774767681956291, -0.03825719654560089, -0.026970794424414635, -0.03977617993950844, 0.01525165792554617, -0.022537481039762497, -0.031174493953585625, -0.04394455626606941, -0.02893134392797947, 0.006906077731400728, -0.045781467109918594, 0.0023954904172569513, -0.019852764904499054, 0.004751240368932486, 0.06725919246673584, -0.001945094089023769, -0.030114738270640373, 0.008018821477890015, -0.003614210058003664, 0.014792430214583874, 0.02629961632192135, -0.03959955647587776, 0.032463863492012024, 0.029514210298657417, 0.03355894610285759, -0.0354665070772171, -0.02179565280675888, 0.0022210723254829645, 0.027765611186623573, -0.010244309902191162, -0.0024396469816565514, 0.03219892457127571, -0.05977024883031845, -0.04083593934774399, 0.023455936461687088, 0.05722683295607567, -0.02229020558297634, -0.029549535363912582, -0.0021206161472946405, -0.03705614060163498, 0.03133345767855644, 0.036155346781015396, -0.0012816425878554583, -0.04892541095614433, -0.06793037056922913, -0.0025809479411691427, 0.07054443657398224, -0.055107321590185165, 0.017106231302022934, -0.0009532286203466356, -0.061289232224226, 0.03306439146399498, 0.000021405556253739633, -0.001045405282638967, 0.007568425498902798, -0.03318803012371063, -0.0634087473154068, -0.034389086067676544, 0.019481850787997246, 0.05387093871831894, 0.03970552980899811, -0.003101994516327977, 0.0356961190700531, -0.0380452461540699, 0.03271114081144333, -0.0514334999024868, 0.06736516952514648, -0.021901628002524376, 0.03534286841750145, -0.059169720858335495, -0.005969959776848555, -0.027112094685435295, -0.00709153525531292, -0.03350595757365227, 0.04708850011229515, -0.019287561997771263, 0.05556654930114746, -0.017406495288014412, -0.02195461466908455, 0.029107969254255295, -0.009767419658601284, 0.045922767370939255, -0.013476566411554813, -0.012717073783278465, 0.037797968834638596, 0.024780631065368652, 0.006345290224999189, 0.03306439146399498, 0.038151223212480545, -0.04631134495139122, -0.0233676228672266, -0.037374068051576614, 0.03656158968806267, 0.015507765114307404, -0.03278179094195366, 0.027023782953619957, -0.0057889181189239025, -0.04857215657830238, 0.014942562207579613, 0.004715914838016033, -0.018722359091043472, -0.06104195490479469, 0.08350878953933716, -0.019976403564214706, 0.01866937056183815, 0.022926058620214462, 0.020188355818390846, 0.05662630498409271, 0.032304901629686356, 0.01851040869951248, 0.00014171478687785566, 0.00940533634275198, -0.0037135621532797813, -0.017185712233185768, 0.023279311135411263, -0.0003811258648056537, -0.02151305042207241, 0.04772435128688812, -0.06768309324979782, 0.0030136816203594208, 0.02820717729628086, 0.03536053001880646, -0.04899606108665466, 0.015401789918541908, 0.04726512357592583, 0.01944652572274208, 0.049419961869716644, -0.03249919041991234, 0.028737055137753487, -0.03212827444076538, 0.03177502378821373, 0.0561317503452301, -0.059946876019239426, 0.025045569986104965, -0.042213622480630875, -0.02871939167380333, -0.031880997121334076, 0.024427380412817, 0.01782156713306904, -0.02423309162259102, -0.0871119573712349, 0.01930522546172142, -0.03917565196752548, 0.05697955563664436, -0.012072389014065266, -0.012231352739036083, 0.03631431236863136, 0.03433610126376152, 0.038221873342990875, -0.010279634967446327, -0.025469472631812096, 0.031457096338272095, 0.062313664704561234, 0.01211654581129551, -0.023491261526942253, -0.046487972140312195, 0.008376489393413067, 0.003201346844434738, 0.005289949476718903, 0.03599638491868973, 0.04048268496990204, -0.0008886497234925628, -0.04012943431735039, 0.005351768806576729, -0.05185740068554878, 0.0034287527669221163, 0.032022297382354736, -0.026652866974473, 0.012849543243646622, 0.004693836905062199, 0.0014991133939474821, -0.0136796860024333, 0.004007203038781881, 0.04765370115637779, 0.01677064225077629, 0.024709980934858322, -0.06266691535711288, -0.06701191514730453, 0.0031858920119702816, -0.019146261736750603, 0.0035987552255392075, 0.023614900186657906, -0.0029916034545749426, -0.042072318494319916, -0.015560752712190151, -0.045074962079524994, 0.014509827829897404, -0.011621993035078049, -0.012390315532684326, 0.04118919000029564, 0.006217236164957285, -0.061253905296325684, 0.01972912810742855, -0.0361730121076107, -0.06150118261575699, -0.04030606150627136, -0.037939272820949554, 0.013829817995429039, 0.009096240624785423, -0.05450679361820221, -0.06376199424266815, -0.006301133427768946, -0.017927542328834534, 0.028666405007243156, 0.025239858776330948, 0.009431829676032066, 0.07616114616394043, 0.05786268785595894, -0.03691484034061432, 0.02015303075313568, 0.0016922981012612581, 0.02886069379746914, -0.008363242261111736, -0.00585956871509552, -0.024604005739092827, 0.03984683379530907, -0.020206017419695854, 0.012549279257655144, 0.07849260419607162, 0.004110971000045538, 0.03610236197710037, -0.044439107179641724, 0.03684419021010399, 0.025628436356782913, -0.0018667163094505668, -0.013918130658566952, -0.003093163250014186, -0.03959955647587776, -0.005828659050166607, 0.028101202100515366, 0.0070032221265137196, -0.037868618965148926, 0.026776505634188652, 0.027059108018875122, -0.0028922511264681816, 0.06747114658355713, 0.045852117240428925, -0.059240370988845825, -0.006460097152739763, -0.03868110105395317, -0.03200463578104973, -0.022201891988515854, 0.04387390613555908, 0.07524269074201584, 0.012487459927797318, 0.02271410822868347, -0.08365008980035782, -0.038645774126052856, 0.05878114327788353, -0.016638172790408134, 0.057120855897665024, -0.05676760524511337, 0.04712382331490517, -0.03129813075065613, 0.007285823579877615, -0.0100411893799901, 0.00226964452303946, -0.002572116442024708, 0.020576931536197662, 0.03541351854801178, 0.003592131892219186, 0.006398277822881937, 0.010350285097956657, 0.045710816979408264, -0.023261647671461105, -0.0354665070772171, 0.015136850997805595, -0.06174845993518829, 0.030044088140130043, -0.04288480058312416, -0.029107969254255295, -0.030874229967594147, -0.0052016363479197025, 0.02841912768781185, 0.04804227873682976, 0.02045329473912716, 0.024392055347561836, 0.04525158926844597, 0.0056961895897984505, 0.05132752284407616, 0.06662333756685257, -0.021283436566591263, -0.09149228036403656, 0.035448845475912094, -0.062101710587739944, 0.0052016363479197025, -0.02992044948041439, -0.0012540448224171996, 0.015260488726198673, -0.04422715678811073, 0.030397338792681694, -0.008941692300140858, 0.04065931215882301, 0.006243729963898659, 0.007466865237802267, -0.08110667020082474, 0.00024161889450624585, 0.04786565527319908, 0.06531630456447601, 0.04638199508190155, -0.09467155486345291, -0.03142176941037178, 0.034865979105234146, -0.0615365095436573, 0.01803351752460003, -0.04090658947825432, -0.014015275053679943, 0.061960410326719284, 0.06305549293756485, -0.03149241954088211, 0.06725919246673584, -0.03071526624262333, -0.008884289301931858, 0.037939272820949554, -0.03597872331738472, -0.0019638605881482363, -0.016479209065437317, -0.024462705478072166, 0.0460287444293499, -0.05309378355741501, 0.03970552980899811, 0.07298187166452408, -0.04253154620528221, 0.05274053290486336, 0.03361193463206291, -0.011692643165588379, 0.003943176008760929, 0.0359257347881794, 0.01196641381829977, -0.02963784709572792, -0.04881943389773369, 0.03235789015889168, -0.0025279601104557514, 0.027253396809101105, -0.02493959479033947, -0.03506026789546013, -0.05150415003299713, 0.03790394589304924, -0.0052590398117899895, -0.03050331585109234, -0.0347600020468235, -0.0116838114336133, -0.06379732489585876, 0.012796555645763874, 0.034742340445518494, -0.019464189186692238, 0.013706180267035961, 0.06588150560855865, 0.07658504694700241, -0.013600204139947891, 0.0021780196111649275, -0.02992044948041439, -0.019128598272800446, -0.08075342327356339, -0.006499838083982468, 0.009012343361973763, 0.06266691535711288, 0.033806223422288895, 0.007590503431856632, -0.004596692509949207, 0.030450327321887016, 0.023703213781118393, -0.020188355818390846, -0.06577553600072861, 0.004927866160869598, -0.06888414919376373, -0.09502480179071426, -0.03375323489308357, 0.00503825768828392, -0.04800695553421974, 0.049843866378068924, 0.0460287444293499, 0.009334685280919075, -0.05457744374871254, 0.023561911657452583, 0.0006468928186222911, -0.06517500430345535, -0.026317277923226357, 0.04034138470888138, -0.00113482226151973, -0.05221065506339073, 0.00034386879997327924, 0.010933151468634605, 0.029461221769452095, -0.013140976428985596, 0.04638199508190155, -0.07976431399583817, -0.01815715618431568, -0.006963481195271015, -0.04083593934774399, -0.012946687638759613, -0.06135988235473633, -0.03885772451758385, -0.010412104427814484, 0.004009410738945007, 0.014898405410349369, -0.055460572242736816, -0.02158370055258274, -0.024957258254289627, 0.01937587559223175, 0.05535459890961647, 0.07224004715681076, -0.011763293296098709, 0.005974375642836094, 0.014960224740207195, 0.024109452962875366, 0.02066524513065815, -0.0027995225973427296, 0.061960410326719284, -0.016293751075863838, 0.019835103303194046, -0.00007789483788656071, -0.029461221769452095, -0.00036787890712730587, -0.10788317769765854, 0.033099718391895294, -0.008226357400417328, -0.07778610289096832, -0.06415057182312012, 0.014068263582885265, -0.026652866974473, 0.04447443410754204, 0.04383857920765877, 0.009272866882383823, 0.012699411250650883, -0.017035581171512604, -0.025239858776330948, 0.022343192249536514, -0.017512470483779907, 0.04917268827557564, -0.0036164179909974337, -0.029673172160983086, 0.045710816979408264, -0.011904594488441944, -0.004768902901560068, -0.0568382553756237, -0.06333809345960617, 0.014553984627127647, -0.003890188178047538, -0.04048268496990204, -0.0008444932173006237, 0.019605489447712898, -0.025981688871979713, 0.006738283205777407, -0.004742409102618694, 0.0257167499512434, 0.016805967316031456, 0.027942238375544548, -0.01517217606306076, 0.06047675386071205, -0.028313152492046356, -0.0025632851757109165, -0.04069463536143303, -0.035872746258974075, 0.014342033304274082, -0.0052016363479197025, -0.04429780691862106, -0.022184228524565697, -0.02301437221467495, 0.06863687187433243, 0.0009107279474847019, -0.05457744374871254, -0.0725579708814621, -0.0012430056231096387, -0.018263131380081177, 0.009272866882383823, -0.0702265053987503, 0.030326688662171364, 0.04352065175771713, -0.011339390650391579, 0.002417568815872073, 0.06174845993518829, -0.04525158926844597, -0.006742698606103659, 0.05984089896082878, -0.038575123995542526, 0.00018242157239001244, -0.0034949874971061945, -0.009149228222668171, 0.02223721705377102, 0.02778327465057373, 0.017556626349687576, 0.04292012378573418, -0.005625538993626833, -0.03297607973217964, -0.012593436054885387, -0.03769199550151825, -0.010270803235471249, 0.007228420116007328, -0.01568439044058323, 0.04560483992099762, 0.07333512604236603, -0.0007501086802221835, -0.046205367892980576, 0.04306142404675484, 0.018581058830022812, -0.002682507736608386, -0.03606703504920006, 0.01730935089290142, -0.021195122972130775, -0.06711789220571518, -0.015083862468600273, -0.00748452777042985, 0.0138563122600317, -0.027412360534071922, 0.03684419021010399, 0.020541606470942497, 0.01707090623676777, 0.0077450512908399105, 0.0920574888586998, 0.04125984013080597, -0.030874229967594147, -0.012399147264659405 ]
42,060
patch_ng
write_hunks
null
def write_hunks(self, srcname, tgtname, hunks): src = open(srcname, "rb") tgt = open(tgtname, "wb") debug("processing target file %s" % tgtname) tgt.writelines(self.patch_stream(src, hunks)) tgt.close() src.close() # [ ] TODO: add test for permission copy shutil.copymode(srcname, tgtname) return True
(self, srcname, tgtname, hunks)
[ -0.039182502776384354, -0.04741831496357918, -0.05205318704247475, 0.016863806173205376, -0.0561889186501503, -0.046455688774585724, -0.049521833658218384, 0.10025586187839508, -0.009831278584897518, 0.002202678704634309, -0.017960133031010628, -0.01905645802617073, 0.0011319785844534636, 0.03363848105072975, -0.009706493467092514, -0.0035808850079774857, 0.00775449862703681, 0.03062581457197666, -0.0032756072469055653, 0.003384794108569622, -0.013770920224487782, 0.019929952919483185, -0.014492890797555447, -0.05298016220331192, 0.001998788909986615, 0.05761503428220749, 0.014261147007346153, 0.02037561498582363, -0.01738077402114868, -0.04000251740217209, -0.012130888178944588, -0.09890105575323105, 0.07401535660028458, 0.011453484185039997, 0.012237846851348877, -0.013708528131246567, -0.00008725203952053562, -0.006524474825710058, -0.0023887420538812876, -0.02665051817893982, 0.03789899870753288, 0.04299736022949219, 0.01781752146780491, -0.00044956037891097367, -0.0013314117677509785, 0.03590243682265282, -0.055083680897951126, 0.042177341878414154, 0.03886162489652634, 0.017229247838258743, -0.05729416012763977, 0.02788054198026657, 0.004478891380131245, 0.008485382422804832, 0.08050417900085449, -0.0010183349950239062, -0.001455082674510777, 0.028878822922706604, -0.04848790168762207, -0.00664480309933424, -0.00969757977873087, -0.01909211091697216, 0.09027305990457535, -0.03527851402759552, 0.003527405671775341, 0.006199142429977655, -0.010544335469603539, -0.05700893700122833, -0.02504613995552063, 0.030429722741246223, -0.01916341669857502, -0.005967398639768362, 0.019822994247078896, 0.029698839411139488, -0.020928233861923218, 0.08521035313606262, 0.001458425191231072, 0.0027051614597439766, 0.05454888939857483, -0.03237280249595642, -0.01898515224456787, -0.017024245113134384, -0.01779969409108162, -0.016605323180556297, -0.021766075864434242, -0.0036031680647283792, 0.055119335651397705, -0.02948492206633091, -0.01472463458776474, -0.06406820565462112, -0.01923472248017788, 0.03344238921999931, 0.009006805717945099, -0.0936957374215126, 0.053800176829099655, 0.011391091160476208, -0.031820185482501984, 0.008133310824632645, 0.024600479751825333, 0.04659830033779144, -0.02661486528813839, 0.022675223648548126, -0.015767481178045273, 0.02814793959259987, 0.014127449132502079, -0.021766075864434242, -0.0012957588769495487, 0.03292542323470116, -0.09276876598596573, -0.013298519887030125, 0.00732666440308094, -0.043246928602457047, 0.01622205413877964, -0.04182081297039986, 0.04695482552051544, -0.08756344765424728, 0.02082127518951893, 0.025901809334754944, 0.0006573497666977346, -0.0034583283122628927, 0.05408539995551109, -0.03772073611617088, 0.03690071776509285, 0.006105553824454546, 0.014323540031909943, 0.006787414662539959, 0.030447550117969513, 0.043139971792697906, 0.022586092352867126, -0.01025019958615303, -0.05429931730031967, 0.018111657351255417, -0.024119164794683456, 0.014305713586509228, 0.011934797279536724, 0.00043786177411675453, -0.038897279649972916, -0.015143555589020252, 0.0813598483800888, -0.06649260222911835, 0.04142863303422928, -0.08114592730998993, -0.012692420743405819, -0.008124397136271, -0.04378172382712364, -0.012291326187551022, 0.004982488229870796, -0.04114340990781784, 0.062463823705911636, 0.003453871700912714, 0.017443165183067322, 0.006341753993183374, -0.08428338170051575, 0.03697202354669571, -0.01760360412299633, -0.01604379154741764, -0.025563105940818787, -0.019502118229866028, 0.0011041247053071856, 0.03524285927414894, 0.01539312582463026, -0.0687030777335167, 0.012300239875912666, 0.009528229013085365, -0.012041755951941013, -0.04278344288468361, -0.008627993986010551, -0.014911811798810959, 0.03961033746600151, 0.006560127716511488, 0.006952309049665928, 0.0498427078127861, 0.04852355271577835, 0.027399228885769844, 0.07701019197702408, 0.008552231825888157, -0.007491558790206909, -0.07219705730676651, -0.009956063702702522, -0.013565916568040848, -0.05593935027718544, 0.011578269302845001, -0.033299777656793594, 0.08328510075807571, -0.010481943376362324, 0.043603457510471344, -0.034440670162439346, -0.002800978487357497, -0.008356140926480293, 0.007023614831268787, 0.0060342480428516865, -0.0006506648496724665, 0.01595465838909149, 0.03682941198348999, 0.015678348019719124, -0.000017582713553565554, 0.014180928468704224, 0.02957405336201191, 0.023174364119768143, 0.026008768007159233, -0.07148399949073792, 0.04135732725262642, -0.008882020600140095, 0.025616586208343506, 0.06649260222911835, 0.03114278055727482, 0.07048571854829788, 0.0014394845347851515, -0.061394236981868744, -0.024457868188619614, 0.030091021209955215, -0.018147310242056847, -0.0031976166646927595, 0.00878397561609745, 0.034565456211566925, 0.01261220220476389, -0.05030619725584984, 0.02215825766324997, -0.037542469799518585, 0.04759657755494118, -0.09497924149036407, 0.06413950771093369, -0.08820519596338272, 0.05305146798491478, -0.006533388048410416, 0.02071431651711464, 0.02076779492199421, 0.04246256500482559, 0.046206116676330566, -0.015277254395186901, -0.002754183951765299, 0.037399858236312866, 0.028522294014692307, 0.020019086077809334, 0.0054593454115092754, 0.03559938818216324, -0.0264187753200531, -0.015491170808672905, 0.007072637788951397, 0.021801728755235672, -0.03732855245471001, -0.06257078051567078, 0.04563567042350769, 0.010223460383713245, 0.027399228885769844, -0.062428172677755356, 0.006520018447190523, -0.025777023285627365, 0.02342393435537815, 0.03362065553665161, 0.053657565265893936, 0.02335262857377529, -0.03996686637401581, -0.0027207594830542803, 0.0077455854043364525, -0.024350909516215324, -0.0069211130030453205, -0.07865022867918015, 0.06328383833169937, -0.04823832958936691, -0.03212323412299156, 0.02659703977406025, 0.0004893913283012807, -0.027595320716500282, -0.021569985896348953, -0.00012095514102838933, -0.004652699455618858, -0.007424709852784872, -0.07836500555276871, -0.03128539025783539, 0.019573424011468887, 0.04281909391283989, -0.09718971699476242, -0.005018141120672226, -0.018789062276482582, -0.023940900340676308, 0.07879284024238586, 0.0005565189640037715, 0.043460845947265625, 0.0007086007390171289, 0.06228556111454964, 0.018200788646936417, 0.025367015972733498, -0.012558722868561745, 0.034743718802928925, -0.011471310630440712, -0.00736231729388237, -0.04873747006058693, 0.02340610697865486, -0.0727318525314331, -0.021498680114746094, 0.024243950843811035, 0.006791871506720781, -0.016792500391602516, 0.018236441537737846, 0.05251667648553848, -0.02215825766324997, -0.032408457249403, -0.04153558984398842, -0.05180361866950989, -0.04599219933152199, -0.0035987114533782005, 0.029770145192742348, 0.014564196579158306, -0.07879284024238586, -0.036098528653383255, 0.018557317554950714, -0.011203913949429989, -0.05305146798491478, 0.01757686398923397, 0.021766075864434242, -0.037435512989759445, -0.04848790168762207, -0.02085692808032036, 0.05305146798491478, -0.009751059114933014, -0.0019096567993983626, 0.05454888939857483, 0.0037970305420458317, 0.027541840448975563, -0.004995858296751976, -0.012915251776576042, 0.01033041812479496, 0.020179523155093193, 0.05790025740861893, -0.07772324979305267, 0.05872027203440666, -0.010089761577546597, -0.03269368037581444, -0.0468478687107563, -0.06157250329852104, -0.0175679512321949, 0.04299736022949219, 0.026775304228067398, -0.026953568682074547, -0.0096886670216918, -0.016605323180556297, -0.016614235937595367, 0.01539312582463026, -0.0065512144938111305, -0.004166929051280022, 0.02091040648519993, 0.009849105030298233, 0.0029569596517831087, 0.07091355323791504, 0.056795019656419754, -0.07144834846258163, -0.008931043557822704, -0.028557946905493736, 0.06474560499191284, 0.05775764584541321, 0.016658803448081017, 0.04741831496357918, -0.01402049046009779, 0.025937462225556374, 0.030144499614834785, 0.01943081244826317, -0.02345958724617958, -0.018361227586865425, -0.012817205861210823, 0.02492135390639305, 0.024190470576286316, 0.006595780607312918, -0.014510717242956161, -0.04388868063688278, -0.00958170834928751, 0.02497483417391777, -0.019609076902270317, -0.046206116676330566, 0.0020611814688891172, -0.05308711901307106, -0.002526897005736828, -0.006823067553341389, -0.006497735157608986, -0.005013684742152691, -0.00551282474771142, 0.013770920224487782, -0.011453484185039997, -0.023227844387292862, 0.022782182320952415, -0.02185520902276039, 0.043246928602457047, -0.01900297775864601, 0.021053018048405647, 0.017986871302127838, -0.027078352868556976, -0.024618305265903473, -0.02057170495390892, 0.03292542323470116, 0.0030928864143788815, 0.06595780700445175, -0.0027519557625055313, 0.03272933140397072, -0.006805241107940674, -0.029948409646749496, -0.01476920023560524, -0.0328541174530983, 0.055440209805965424, -0.03360283002257347, 0.04538610205054283, 0.01636466570198536, -0.018806887790560722, -0.018610797822475433, 0.05187492445111275, -0.020072564482688904, -0.008939956314861774, 0.018592970445752144, 0.027399228885769844, 0.037613775581121445, 0.03570634871721268, -0.03224802017211914, 0.026882262900471687, -0.014983117580413818, -0.01925254799425602, -0.01476028747856617, -0.002558093285188079, -0.01923472248017788, -0.07216140627861023, -0.010339331813156605, 0.0013069004053249955, 0.012086322531104088, 0.04278344288468361, 0.07052136957645416, 0.018067091703414917, -0.005111730191856623, -0.05244537070393562, -0.013868966139853, 0.0006389662739820778, -0.045029573142528534, 0.016837066039443016, 0.028468815609812737, 0.0018951727543026209, 0.017933392897248268, 0.05722285434603691, 0.09077220410108566, -0.008489838801324368, 0.01781752146780491, -0.007794608362019062, 0.013120255433022976, 0.02957405336201191, 0.005967398639768362, -0.004173614084720612, 0.010143240913748741, 0.010196720249950886, -0.010651294142007828, -0.027720104902982712, -0.01755903661251068, -0.05123317241668701, 0.044886961579322815, 0.052124492824077606, -0.027203138917684555, 0.00814667996019125, -0.0679900199174881, -0.0026873350143432617, 0.011346525512635708, 0.0018015840323641896, 0.01642705872654915, -0.012603288516402245, -0.04274778813123703, -0.01776404120028019, 0.01465332880616188, 0.014475064352154732, 0.05112621188163757, 0.033032383769750595, 0.016516191884875298, -0.01748773269355297, -0.0466696061193943, -0.004051057156175375, 0.007594061084091663, -0.02495700679719448, 0.037364207208156586, 0.0033469130285084248, 0.021320415660738945, 0.02941361628472805, -0.039004236459732056, -0.013601569458842278, -0.03850509598851204, 0.08164507150650024, -0.005490541458129883, 0.06649260222911835, -0.023103058338165283, -0.03379891812801361, 0.0009993944549933076, -0.007946132682263851, -0.008400707505643368, -0.011542616412043571, 0.04289039969444275, -0.05358625948429108, 0.03233715146780014, -0.027024874463677406, 0.04888008162379265, -0.09626274555921555, -0.02634746953845024, -0.04431651532649994, -0.03807726129889488, -0.00031809043139219284, -0.031588442623615265, 0.02629399113357067, 0.0030795165803283453, -0.04556436464190483, -0.029877103865146637, -0.021569985896348953, -0.06032465398311615, -0.04909399896860123, 0.003848281456157565, 0.024172645062208176, 0.06513778865337372, -0.04510087892413139, -0.02796967513859272, 0.01759468950331211, -0.005147382616996765, -0.014974204823374748, -0.05027054250240326, 0.04075122997164726, 0.044922612607479095, 0.01768382266163826, 0.011391091160476208, -0.0026672801468521357, -0.07130573689937592, 0.004169157240539789, 0.01934168115258217, -0.021142151206731796, 0.056830670684576035, -0.03110712766647339, -0.006457625888288021, -0.029787970706820488, 0.023958727717399597, 0.055119335651397705, 0.0062659913673996925, -0.006199142429977655, -0.02203347161412239, -0.035920266062021255, -0.036241140216588974, -0.04363911226391792, 0.02039344049990177, 0.0621786005795002, -0.021659117192029953, -0.0387546680867672, 0.03076842427253723, 0.00742025300860405, -0.007032528053969145, -0.014778113923966885, -0.013298519887030125, -0.04010947793722153, -0.05429931730031967, 0.01891384646296501, -0.04909399896860123, -0.027737932279706, 0.007077094167470932, -0.03661549463868141, -0.00129130226559937, 0.00872603990137577, 0.0007737786509096622, 0.0264187753200531, 0.03395935520529747, 0.010597814805805683, 0.021391721442341805, -0.006087727379053831, -0.02190868742763996, 0.05205318704247475, 0.0496644452214241, -0.0017926708096638322, 0.08406946063041687, 0.009804538451135159, -0.02208695188164711, -0.00022283042198978364, -0.011355438269674778, 0.03871901333332062, -0.016944024711847305, 0.015892265364527702, 0.013191561214625835, 0.06895264983177185, 0.013601569458842278, 0.020286481827497482, 0.02798750065267086, -0.0494861826300621, 0.05044880881905556, 0.035884611308574677, 0.016881633549928665, -0.034654587507247925, -0.025563105940818787, 0.009296485222876072, -0.008525491692125797, -0.027720104902982712, 0.01755012385547161, 0.001640031929127872, -0.038968585431575775, 0.04306866601109505, 0.020143870264291763, 0.03697202354669571, -0.021712597459554672, 0.024760916829109192, -0.03707898408174515, -0.07765194773674011, -0.0048042237758636475, -0.009768885560333729, 0.014902899041771889, -0.01465332880616188, 0.001839465112425387, 0.064638651907444, 0.0069211130030453205, -0.03825552761554718, -0.04470869526267052, -0.004249376244843006, 0.0033625110518187284, 0.01317373476922512, -0.02659703977406025, -0.03704332932829857, 0.010303678922355175, 0.010981082916259766, 0.003939642105251551, 0.05404974892735481, 0.044922612607479095, -0.04520783573389053, -0.027470534667372704, 0.050983600318431854, 0.04010947793722153, 0.02353089302778244, 0.005062707234174013, 0.05358625948429108, 0.0530158132314682, -0.043353889137506485, 0.0005058250389993191, 0.0022840118035674095, 0.009599534794688225, -0.04242691397666931, 0.0059763118624687195, 0.0563671849668026, -0.011328699067234993, -0.0024622762575745583, -0.04007382318377495, 0.026240510866045952, 0.028771864250302315, 0.03932511433959007, -0.0036900718696415424, 0.019519945606589317, -0.02076779492199421, -0.05754372850060463, -0.015642695128917694, 0.024065686389803886, -0.002218276960775256, -0.04613481089472771, 0.05608196184039116, -0.007446992676705122, -0.05298016220331192, -0.022586092352867126, 0.018004698678851128, -0.02189086191356182, -0.03704332932829857, -0.04239125922322273, 0.04592089354991913, 0.010223460383713245, 0.027399228885769844, 0.0077455854043364525, 0.08563818782567978, 0.03126756474375725, 0.005423692520707846, -0.004510087892413139, 0.025616586208343506, 0.01617748849093914, 0.0064888219349086285, -0.021552158519625664, 0.056973282247781754, -0.007959502749145031, 0.0443878211081028, 0.059611596167087555, -0.0035184924490749836, -0.07893545180559158, -0.03103582188487053, 0.011007823050022125, -0.05747242271900177, -0.01339656487107277, -0.06738392263650894, -0.02666834555566311, -0.019965605810284615, -0.09041567146778107, 0.0847112163901329, 0.029770145192742348, -0.005575217306613922, -0.04731135442852974, -0.06652825325727463, 0.008645820431411266, 0.06592215597629547, -0.0713413879275322, 0.0025068423710763454, 0.11679879575967789, -0.06214294955134392, -0.018076004460453987, 0.0038371398113667965, 0.0013882335042580962, 0.028433162719011307, 0.014902899041771889, 0.023976553231477737, 0.043139971792697906, -0.04998531937599182, 0.03545677661895752, 0.05451323464512825, -0.017327293753623962, -0.03843379020690918, -0.005922832526266575, -0.03572417423129082, 0.03982425481081009, 0.018236441537737846, -0.04428086057305336, -0.025456147268414497, -0.03262237459421158, -0.01599922403693199, -0.014849419705569744, -0.014787026681005955, -0.04410259798169136, -0.028486641123890877, -0.01886036805808544, 0.035777654498815536, -0.008026352152228355, 0.01918124221265316, -0.07900675386190414, -0.044958267360925674, -0.012228934094309807, 0.04267648234963417, -0.03693637251853943, 0.005120642948895693, 0.046491339802742004, -0.02493918128311634, -0.010865211486816406, -0.0702718049287796, -0.09419487416744232, -0.029805798083543777, -0.03419110178947449, 0.03627679497003555, -0.0002160062431357801, 0.026917915791273117, 0.007861457765102386, -0.006283817812800407, -0.004857703112065792, -0.028629252687096596, 0.004541283939033747, -0.0012010559439659119, -0.014902899041771889, 0.09718971699476242, 0.023958727717399597, 0.017291640862822533, -0.012309152632951736, -0.018058177083730698, -0.03846944496035576, 0.06695608794689178, 0.019840821623802185, 0.05023489147424698, 0.04535044729709625, -0.05280189588665962, 0.06788305938243866, 0.07829369604587555, 0.0018138396553695202, -0.034529801458120346, 0.003576428396627307, 0.09697580337524414, 0.01090977806597948, 0.023031752556562424, -0.018058177083730698, 0.01935950666666031, 0.014492890797555447, 0.008650276809930801, -0.016863806173205376, -0.021694770082831383, -0.012166541069746017, 0.015927918255329132, 0.006074357312172651, -0.029021434485912323, 0.009153873659670353 ]
42,062
posixpath
abspath
Return an absolute path.
def abspath(path): """Return an absolute path.""" path = os.fspath(path) if not isabs(path): if isinstance(path, bytes): cwd = os.getcwdb() else: cwd = os.getcwd() path = join(cwd, path) return normpath(path)
(path)
[ 0.02568209171295166, 0.039825599640607834, -0.022203033789992332, 0.04678371548652649, 0.01751766912639141, -0.0807700902223587, 0.032745104283094406, -0.007119831163436174, 0.028863944113254547, -0.024563198909163475, 0.05230825021862984, 0.024458302184939384, -0.030140182003378868, 0.02227296493947506, -0.04416130855679512, 0.012386495247483253, 0.048776742070913315, 0.009423177689313889, 0.028671633452177048, -0.006953745614737272, 0.0663643404841423, -0.054720863699913025, -0.03853188082575798, 0.0025459188036620617, -0.004368490539491177, 0.06395173072814941, -0.012727408669888973, -0.008435404859483242, -0.015236176550388336, -0.04486061632633209, 0.08097988367080688, -0.02043728157877922, 0.03305979445576668, -0.0035752130206674337, -0.03026255965232849, 0.02627650462090969, 0.013452940620481968, -0.037098295986652374, -0.025542229413986206, -0.09545556455850601, 0.003754410659894347, -0.004388158675283194, 0.028094705194234848, 0.0036211051046848297, 0.055105481296777725, -0.014711694791913033, -0.0077142431400716305, -0.040909525007009506, -0.009510590694844723, 0.03250034525990486, 0.031101729720830917, 0.008916178718209267, -0.03339196369051933, 0.011320050805807114, -0.013129510916769505, 0.008474740199744701, -0.011547326110303402, -0.00012224234524182975, -0.03297238051891327, -0.050245288759469986, -0.006739582400768995, -0.042168281972408295, 0.040420010685920715, -0.016591085121035576, 0.02517509274184704, 0.013164475560188293, -0.03082200698554516, -0.0800008550286293, -0.011862014420330524, 0.011879497207701206, -0.0720287412405014, 0.06797274947166443, -0.03776264190673828, -0.06611958891153336, 0.03489547595381737, -0.016888292506337166, -0.005209845490753651, 0.06818254292011261, 0.016285138204693794, 0.026538744568824768, -0.0515739768743515, -0.0315038338303566, -0.00792840588837862, 0.004833967424929142, -0.014755401760339737, -0.005039389245212078, 0.012080548331141472, 0.03335699811577797, 0.0007096885237842798, 0.010279829613864422, 0.07804279029369354, -0.020157556980848312, -0.0006097092991694808, 0.026993295177817345, 0.025717057287693024, -0.015218693763017654, 0.01531484816223383, -0.023199547082185745, -0.018409287557005882, -0.0005927729071117938, -0.03776264190673828, 0.025909366086125374, 0.0046941060572862625, -0.018444253131747246, 0.0016783395549282432, 0.06101463735103607, 0.01818201132118702, -0.008444146253168583, 0.04181862622499466, -0.04895156994462013, -0.08293794840574265, -0.02372402884066105, -0.022937307134270668, 0.0011085126316174865, -0.020175039768218994, -0.015970449894666672, 0.0005638172151520848, -0.027465326711535454, 0.04307738319039345, -0.000674723123665899, 0.018321873620152473, 0.04223821312189102, -0.0007075031753629446, -0.026766018941998482, 0.07073502242565155, 0.08496593683958054, -0.018793907016515732, 0.02479047328233719, -0.054615966975688934, -0.007604976184666157, -0.017683755606412888, -0.002539362758398056, -0.03416120260953903, 0.02491285279393196, -0.021084140986204147, 0.05755306035280228, 0.02500026673078537, 0.04559488967061043, -0.000488969380967319, 0.04832219332456589, 0.059860777109861374, -0.017369065433740616, 0.02802477404475212, -0.022710032761096954, 0.04482565075159073, 0.030804524198174477, 0.020594624802470207, -0.02412613108754158, -0.046259235590696335, 0.019388318061828613, 0.03222062438726425, -0.05181873217225075, -0.023671580478549004, 0.038182225078344345, 0.03923118859529495, -0.05912650376558304, -0.005734326783567667, -0.036224160343408585, 0.06419648975133896, -0.043741725385189056, -0.03590947389602661, -0.00841355137526989, 0.030594730749726295, -0.06412655860185623, -0.009702900424599648, 0.03386399894952774, -0.06524544954299927, 0.024440819397568703, 0.008404809981584549, -0.008090120740234852, -0.011757118627429008, -0.006560384761542082, -0.0599307082593441, -0.015498416498303413, -0.04755295440554619, 0.0006484990590251982, -0.05192362889647484, 0.03772767633199692, 0.05468589812517166, -0.021521208807826042, 0.0018553519621491432, 0.0009162029600702226, 0.024668095633387566, 0.045874614268541336, 0.03062969632446766, 0.009886468760669231, -0.004938863683491945, 0.0037653374020010233, 0.07101473957300186, 0.054511070251464844, -0.06741330772638321, 0.0792316123843193, 0.05454603582620621, -0.0008271504193544388, -0.021748483180999756, -0.04933619126677513, 0.07566513866186142, -0.011660963296890259, -0.07706376165151596, 0.025314955040812492, 0.007609346881508827, -0.005069984123110771, -0.000640850339550525, -0.005817369557917118, 0.04982570558786392, -0.029108701273798943, 0.0219932422041893, 0.0028431247919797897, -0.0725182518362999, 0.03842698410153389, -0.004707218147814274, -0.03103179857134819, -0.014860298484563828, -0.08398690819740295, -0.00661720335483551, 0.016110312193632126, -0.03519268333911896, 0.07699383050203323, 0.015638278797268867, 0.08377711474895477, -0.03326958417892456, -0.049860671162605286, 0.025524746626615524, -0.006971227936446667, 0.021328898146748543, -0.009117229841649532, -0.009396953508257866, 0.049545980989933014, 0.04048994183540344, -0.024161096662282944, 0.0029676889535039663, -0.02636391669511795, 0.008500964380800724, -0.053462106734514236, 0.02206317149102688, 0.013208182528614998, 0.0009746607393026352, -0.059965673834085464, 0.00934450514614582, -0.04143400862812996, 0.049161363393068314, -0.028479324653744698, 0.045769717544317245, 0.039545875042676926, -0.03489547595381737, -0.041189249604940414, 0.006070869043469429, -0.02148624323308468, 0.008347990922629833, -0.06010553613305092, -0.018793907016515732, 0.07657424360513687, -0.005931007210165262, -0.0189687330275774, 0.02636391669511795, -0.01847921870648861, -0.06783288717269897, 0.023758994415402412, -0.03365420550107956, 0.04356689751148224, 0.01478162594139576, -0.01760508306324482, -0.020839381963014603, -0.06489579379558563, -0.03377658501267433, -0.0538816936314106, -0.0527278333902359, 0.0083086546510458, 0.04349696636199951, 0.0022345080506056547, -0.015918001532554626, 0.016669757664203644, 0.003658255795016885, -0.02295478992164135, 0.008404809981584549, 0.02501774951815605, -0.008334878832101822, 0.015489675104618073, 0.01703689433634281, 0.003295489586889744, -0.07699383050203323, 0.046259235590696335, -0.0051661389879882336, -0.03403882309794426, 0.005021906457841396, -0.03278006985783577, -0.007626829668879509, -0.019021181389689445, -0.010882982984185219, 0.04797253757715225, 0.0933576375246048, -0.008251836523413658, 0.008339249528944492, -0.029703114181756973, -0.003315157722681761, 0.020786935463547707, 0.04055987298488617, -0.05132921785116196, -0.007294658105820417, -0.06349717825651169, -0.007950259372591972, 0.0644412487745285, -0.005441491492092609, 0.0390913262963295, 0.00958926323801279, -0.014650505967438221, -0.01868901029229164, 0.017369065433740616, 0.0036910357885062695, 0.05867195501923561, -0.038287121802568436, -0.055490102618932724, -0.013846301473677158, 0.031363971531391144, 0.0241086483001709, 0.039650771766901016, 0.022517722100019455, -0.045524962246418, -0.016075346618890762, -0.020192522555589676, -0.024161096662282944, 0.03695843741297722, 0.03533254563808441, 0.016958221793174744, -0.08272815495729446, -0.046748749911785126, 0.014431972056627274, 0.009903951548039913, 0.025542229413986206, 0.013802594505250454, 0.022307930514216423, 0.02363661490380764, -0.012508874759078026, -0.021328898146748543, 0.05328728258609772, -0.0029349089600145817, -0.012622511945664883, -0.026975812390446663, -0.04223821312189102, 0.010935431346297264, 0.054720863699913025, -0.0002936547971330583, 0.00870201550424099, -0.0013778555439785123, 0.022150585427880287, 0.04521027207374573, -0.0383220873773098, 0.07524555921554565, -0.012421460822224617, -0.05290266126394272, 0.0379374660551548, -0.034860510379076004, -0.060175467282533646, -0.0010500549105927348, -0.03912629187107086, 0.07832251489162445, 0.008273689076304436, 0.024475784972310066, 0.005795516073703766, 0.05755306035280228, 0.07181894779205322, -0.03664374724030495, -0.012963424436748028, -0.019510697573423386, -0.03218565881252289, 0.04895156994462013, -0.032238107174634933, 0.024335922673344612, 0.014991418458521366, 0.05755306035280228, 0.0295807346701622, 0.00019026098016183823, 0.07076998800039291, -0.012508874759078026, 0.034598272293806076, -0.008518447168171406, -0.016669757664203644, -0.04597951099276543, -0.016092829406261444, 0.03550736978650093, 0.04465082660317421, -0.02451075054705143, -0.019720489159226418, -0.03590947389602661, -0.016486190259456635, 0.01011374406516552, 0.040629804134368896, -0.05241314694285393, -0.028933875262737274, -0.03695843741297722, 0.029842974618077278, -0.004707218147814274, 0.04486061632633209, -0.05664395913481712, -0.03751788288354874, 0.008728239685297012, 0.07797285914421082, 0.01654737815260887, 0.05881181359291077, 0.010821793228387833, -0.007373330183327198, 0.03958084061741829, 0.00732088228687644, -0.018793907016515732, -0.02335689216852188, 0.05129425227642059, -0.0014008015859872103, 0.03776264190673828, -0.03451085835695267, 0.004206775687634945, -0.023024721071124077, -0.022797444835305214, 0.01270118448883295, 0.004276706371456385, 0.04825226217508316, -0.009318280965089798, -0.02587440237402916, -0.07426652312278748, 0.05542017146945, -0.04660888761281967, -0.04874177649617195, -0.02480795606970787, -0.09188909083604813, 0.01293720118701458, 0.05049004778265953, -0.028828978538513184, -0.05206349119544029, 0.027395397424697876, 0.038566842675209045, 0.005926636513322592, -0.0022661953698843718, -0.05437120795249939, -0.03874167054891586, -0.0394759438931942, -0.014117282815277576, 0.011398722417652607, 0.02625902183353901, -0.005939748603850603, -0.0032452268060296774, -0.025699574500322342, -0.02403871715068817, 0.02159113995730877, -0.013592801988124847, -0.019196009263396263, 0.02713315561413765, -0.0020039549563080072, -0.03972070291638374, 0.03335699811577797, 0.06118946149945259, 0.003243041457608342, -0.003489984665066004, -0.0591614693403244, 0.05164390802383423, 0.04381165653467178, -0.04213331639766693, -0.05622437596321106, -0.04681868106126785, -0.00918716099113226, 0.017876064404845238, 0.013531612232327461, -0.02265758439898491, 0.01847921870648861, 0.09279818832874298, -0.07881202548742294, 0.06335731595754623, 0.006014049984514713, -0.012141738086938858, 0.024458302184939384, 0.013793853111565113, 0.013435457833111286, 0.023566683754324913, -0.03271013870835304, -0.010419690981507301, 0.016695981845259666, 0.09042054414749146, -0.014510643668472767, 0.00171549036167562, 0.018321873620152473, -0.0147903673350811, 0.0138550428673625, -0.007342735771089792, -0.017150532454252243, -0.021084140986204147, 0.02208065427839756, 0.01779739186167717, -0.00025896253646351397, -0.035367511212825775, 0.02092679589986801, -0.016372552141547203, -0.006503565702587366, 0.08335752785205841, 0.11028089374303818, -0.02227296493947506, -0.01605786383152008, -0.00972038321197033, -0.047517988830804825, -0.027080707252025604, 0.08636455982923508, -0.003234300296753645, -0.016695981845259666, 0.00739518366754055, -0.027080707252025604, -0.04377669095993042, 0.03958084061741829, -0.08272815495729446, 0.06101463735103607, -0.02870659902691841, -0.06384683400392532, -0.008959885686635971, -0.009003592655062675, 0.0015548679511994123, -0.008361103013157845, -0.005288518033921719, 0.010375984944403172, 0.006105834152549505, -0.001015635789372027, 0.014292110688984394, -0.01769249700009823, 0.06370697170495987, 0.01935335248708725, -0.05258797109127045, -0.005712473299354315, -0.0478326790034771, -0.02218555100262165, -0.07265811413526535, -0.02909121848642826, 0.014650505967438221, 0.040420010685920715, -0.03472064808011055, 0.046538956463336945, -0.010629483498632908, 0.0066390568390488625, 0.047028474509716034, 0.08286801725625992, 0.09063033759593964, 0.10084023326635361, -0.04734316095709801, -0.05751809477806091, -0.057832784950733185, -0.018916284665465355, 0.0025349920615553856, -0.021224001422524452, 0.0061582825146615505, -0.04709840565919876, -0.005712473299354315, 0.01905614696443081, -0.042273178696632385, -0.0049082692712545395, 0.04944108799099922, 0.024283476173877716, -0.012482650578022003, -0.008142569102346897, 0.036154232919216156, 0.0879729688167572, -0.00856652483344078, -0.02830449678003788, -0.0012456426629796624, 0.005192363169044256, -0.056958649307489395, -0.023881373926997185, -0.05318238586187363, -0.0067614358849823475, 0.016110312193632126, 0.029335977509617805, -0.015830587595701218, 0.01177460141479969, -0.012106772512197495, 0.06535034626722336, 0.03566471487283707, -0.05213342234492302, -0.017666272819042206, 0.018461735919117928, 0.016713464632630348, -0.044021446257829666, -0.01517498679459095, 0.041294146329164505, 0.020874347537755966, -0.06895178556442261, 0.05688871815800667, 0.05486072599887848, 0.011835790239274502, -0.04895156994462013, -0.018444253131747246, -0.0017657530261203647, -0.006057756952941418, -0.003675738349556923, 0.020786935463547707, 0.03433603048324585, -0.06283283978700638, -0.07832251489162445, 0.011215154081583023, -0.016958221793174744, 0.005537646356970072, 0.039825599640607834, 0.018514182418584824, -0.055105481296777725, -0.021870862692594528, -0.02527998946607113, -0.010515846312046051, 0.012797338888049126, 0.02131141535937786, 0.01104032713919878, 0.016888292506337166, 0.05028025433421135, -0.0075831227004528046, 0.008378585800528526, 0.008618973195552826, 0.0025677720550447702, -0.06059505045413971, 0.04842709004878998, -0.044021446257829666, 0.027587706223130226, -0.0205072108656168, 0.01624143123626709, 0.01215922087430954, 0.02568209171295166, -0.02148624323308468, -0.031748589128255844, -0.04688861221075058, 0.04241304099559784, -0.013007131405174732, -0.028951358050107956, -0.004554244223982096, 0.025472300127148628, -0.022395342588424683, 0.0030245077796280384, 0.04230814427137375, 0.001773401745595038, -0.025891883298754692, 0.03192341700196266, 0.05437120795249939, 0.027989808470010757, 0.0020170670468360186, 0.009021075442433357, 0.03685354068875313, -0.030804524198174477, -0.00855341274291277, 0.04055987298488617, 0.05269286781549454, 0.03318217024207115, -0.06926647573709488, -0.03305979445576668, -0.019528180360794067, -0.04132911190390587, 0.020000213757157326, 0.035157717764377594, -0.056469131261110306, -0.02608419395983219, -0.014519385062158108, -0.03821719065308571, 0.04143400862812996, -0.044301170855760574, -0.011101516894996166, 0.0034593900199979544, 0.048671845346689224, 0.01372392289340496, 0.08419670164585114, -0.01760508306324482, 0.02361913211643696, -0.019615594297647476, 0.010944172739982605, -0.028269531205296516, -0.02391633950173855, 0.033514343202114105, -0.00866268016397953, 0.011215154081583023, -0.027203086763620377, 0.008002707734704018, 0.007757949642837048, -0.005629430525004864, 0.0018793906783685088, 0.016809619963169098, -0.06755317002534866, -0.01770997978746891, -0.0007255321834236383, 0.025472300127148628, 0.007993966341018677, 0.03814725950360298, 0.01347042340785265, -0.013959938660264015, 0.017045635730028152, 0.00856652483344078, -0.005935377907007933, -0.03248286247253418, 0.051119424402713776, -0.03211572766304016, 0.01449316181242466, 0.07734347879886627, 0.017561376094818115, -0.06702868640422821, -0.04297248646616936, -0.039825599640607834, 0.02325199544429779, 0.019091112539172173, 0.0008517354726791382, 0.005222957581281662, 0.026433847844600677, 0.05045508220791817, -0.01298964861780405, 0.014912745915353298, 0.05437120795249939, 0.021765965968370438, 0.0017373437294736505, -0.03538499400019646, 0.04905646666884422, 0.013540353626012802, -0.0034681314136832952, 0.0004275067476555705, -0.07650431245565414, 0.02839191071689129, -0.018444253131747246, -0.01856663078069687, -0.0075525278225541115, -0.054231345653533936, 0.0948961153626442, -0.05751809477806091, -0.029912905767560005, -0.012884752824902534, -0.017001928761601448, -0.012010617181658745, -0.03015766479074955, -0.04825226217508316, 0.042168281972408295, -0.035944439470767975, -0.015515899285674095, -0.014091059565544128, -0.042448002845048904, 0.011494877748191357, 0.04094449058175087, 0.03241293132305145, -0.027552740648388863, -0.04758791998028755, 0.004536761436611414, 0.05594465136528015, -0.002771008526906371, 0.00986898597329855, -0.006438005715608597, -0.008457258343696594, 0.0061582825146615505, -0.003085697302594781, 0.03288496658205986, 0.0069887107238173485, 0.021381346508860588, -0.011346274986863136, 0.0023317555896937847, -0.004320413339883089, -0.0034987260587513447, -0.0003056741552427411, -0.010332277975976467, 0.01625017262995243, 0.003234300296753645, 0.018042150884866714, 0.04248296841979027, 0.024668095633387566, 0.031468868255615234, -0.06825247406959534, -0.03559478372335434, 0.002906499430537224, -0.011302568018436432, -0.010690673254430294, -0.007854104973375797, 0.0015362926060333848, -0.04458089545369148, -0.01517498679459095, 0.03727312386035919, -0.0074170371517539024, -0.06688882410526276, 0.014947711490094662 ]
42,064
patch_ng
<lambda>
null
compat_next = lambda gen: gen.__next__()
(gen)
[ 0.024817610159516335, -0.05140790715813637, -0.010039540939033031, 0.022550616413354874, -0.048237524926662445, 0.01314174197614193, 0.014471257105469704, 0.024971015751361847, 0.03777185454964638, -0.042135391384363174, 0.03299923986196518, 0.019482504576444626, 0.03913545981049538, 0.052328336983919144, -0.005935942754149437, 0.0029786245431751013, -0.01188040804117918, 0.06494168192148209, 0.004284702241420746, 0.030169758945703506, -0.03899909928441048, 0.06616892665624619, -0.016738250851631165, -0.003700908971950412, -0.009349215775728226, 0.13888315856456757, 0.019277963787317276, 0.003155467100441456, 0.01909046806395054, -0.05314650014042854, -0.02074383944272995, -0.06582802534103394, 0.025720998644828796, 0.008164584636688232, 0.050146572291851044, -0.011352011002600193, -0.05024884268641472, 0.07349830865859985, -0.07663459330797195, -0.027476638555526733, 0.07704367488622665, -0.0398513525724411, -0.02355627529323101, -0.025294872000813484, -0.03722641244530678, 0.004080161452293396, 0.01869843155145645, 0.01650814153254032, 0.012911634519696236, -0.01731778308749199, 0.0791572630405426, -0.011173037812113762, 0.047078460454940796, 0.018920017406344414, 0.004035418387502432, 0.08386170119047165, -0.006962907500565052, 0.009894657880067825, 0.03243675082921982, 0.06903249770402908, 0.010141811333596706, -0.0013753233943134546, 0.014633185230195522, -0.01690017804503441, 0.017982540652155876, -0.015996789559721947, -0.048919327557086945, -0.047964803874492645, -0.02485170029103756, 0.0447603315114975, -0.03841956704854965, 0.010167378932237625, -0.03308446332812309, 0.011803705245256424, -0.019056377932429314, -0.007704367861151695, -0.10472485423088074, -0.024357393383979797, 0.09879317879676819, -0.09674777090549469, -0.007384772878140211, -0.023113103583455086, -0.03855592757463455, -0.002693119691684842, -0.018647296354174614, -0.03134586662054062, 0.020385893061757088, -0.02128928154706955, -0.04949885979294777, 0.009374783374369144, -0.05546462908387184, 0.018647296354174614, -0.007175970822572708, 0.04332854598760605, -0.0047300043515861034, -0.022618796676397324, 0.0024289211723953485, 0.01242585014551878, 0.027698224410414696, -0.02128928154706955, 0.04578303545713425, -0.0008016505744308233, -0.0705665573477745, 0.008573666214942932, 0.030084533616900444, -0.0014158054254949093, 0.004352882504463196, 0.006362069398164749, 0.005948726553469896, -0.03066406585276127, -0.06023724749684334, -0.06650982797145844, 0.0014541568234562874, 0.008518269285559654, -0.033237870782613754, -0.0371241420507431, 0.017829135060310364, 0.011923020705580711, 0.01113042514771223, -0.012229831889271736, 0.0034899762831628323, -0.008445828221738338, -0.09040700644254684, 0.01655927672982216, 0.04196494072675705, -0.02210744470357895, 0.0855662077665329, 0.0037158234044909477, 0.043158095329999924, -0.0014190013753250241, 0.026811880990862846, 0.057816848158836365, -0.019005242735147476, 0.01965295523405075, -0.023385824635624886, -0.026249393820762634, -0.02655620500445366, 0.028720928356051445, -0.06507804244756699, -0.015911564230918884, -0.03380035609006882, 0.022431300953030586, 0.014718410558998585, 0.02321537397801876, 0.00834781862795353, -0.011718479916453362, -0.04383989796042442, 0.06279400736093521, 0.014351941645145416, 0.004563815426081419, 0.018101856112480164, 0.020624523982405663, 0.016533710062503815, 0.0842026025056839, -0.03047657012939453, 0.05065792426466942, -0.00876116193830967, 0.012920157052576542, -0.029726587235927582, -0.03352763503789902, 0.02301083318889141, 0.009894657880067825, -0.024425573647022247, -0.05689641460776329, 0.040908146649599075, 0.04346490651369095, -0.01897115260362625, -0.021579047664999962, 0.018579116091132164, 0.03216402977705002, -0.033237870782613754, -0.02875501848757267, 0.04401034861803055, 0.011190082877874374, -0.003899057861417532, 0.06637346744537354, 0.011488371528685093, 0.06889613717794418, -0.005377716850489378, 0.024289213120937347, 0.009817955084145069, 0.00045648805098608136, -0.05304422974586487, -0.05215788632631302, 0.03845365718007088, 0.09190697222948074, 0.031209507957100868, -0.004849319811910391, 0.015996789559721947, -0.05048747360706329, -0.005458680912852287, 0.02280629239976406, 0.005514077376574278, 0.01710471883416176, 0.012996858917176723, -0.02280629239976406, -0.049260228872299194, 0.04404443874955177, 0.010576460510492325, 0.025243736803531647, -0.0345332957804203, 0.030715201050043106, 0.003276912961155176, 0.004900455009192228, -0.026249393820762634, 0.05127154663205147, 0.04458988085389137, 0.03674915432929993, -0.029385685920715332, 0.004026895854622126, 0.0420331209897995, -0.010576460510492325, -0.0021860292181372643, 0.06483941525220871, -0.0015415127854794264, 0.0019505942473188043, 0.05331695079803467, -0.03674915432929993, -0.01897115260362625, 0.027919810265302658, 0.07445282489061356, -0.008036746643483639, 0.014803635887801647, -0.04182858020067215, 0.09783865511417389, -0.049328409135341644, -0.013900247402489185, -0.04765799269080162, -0.02875501848757267, -0.03243675082921982, 0.016482574865221977, -0.02423807792365551, 0.055703260004520416, 0.024152852594852448, 0.05999861657619476, -0.008036746643483639, 0.039544541388750076, -0.0019814884290099144, -0.03688551485538483, 0.04977158084511757, -0.042408112436532974, 0.06804388761520386, -0.00041387538658455014, 0.03613553196191788, 0.041521769016981125, 0.04704437032341957, -0.0051518697291612625, 0.018715476617217064, -0.02526078186929226, 0.025908494368195534, -0.005701573099941015, -0.02416989766061306, 0.0005891199107281864, -0.028635703027248383, -0.019687045365571976, -0.02635166421532631, 0.024186942726373672, -0.03599917143583298, 0.031737904995679855, -0.00008376049663638696, 0.005774014629423618, 0.041658129543066025, -0.05986225605010986, 0.052328336983919144, -0.028107305988669395, -0.022073354572057724, 0.008335035294294357, -0.021613137796521187, -0.00426339590921998, 0.0390331894159317, 0.11113379895687103, 0.0187666118144989, -0.016346214339137077, 0.03678324446082115, 0.0020230356603860855, -0.028669793158769608, -0.03569236025214195, 0.014351941645145416, -0.01235766988247633, -0.04793071374297142, 0.04949885979294777, 0.024255122989416122, -0.03380035609006882, 0.01943136937916279, -0.056248702108860016, 0.012800841592252254, -0.040158163756132126, -0.03407307714223862, 0.01992567628622055, -0.04840797558426857, 0.04411261901259422, 0.009323648177087307, 0.013900247402489185, 0.016866087913513184, 0.0843389630317688, 0.01375536434352398, -0.0394422709941864, 0.01482068095356226, 0.013780931942164898, -0.04032861441373825, 0.015553618781268597, -0.04370353743433952, -0.03400489687919617, 0.04527168348431587, -0.006140483543276787, -0.010107721202075481, 0.023880131542682648, -0.04401034861803055, -0.05110109597444534, 0.007563746068626642, -0.024834655225276947, 0.02280629239976406, 0.025703953579068184, -0.015084879472851753, 0.03627189248800278, -0.014215581119060516, -0.039953622967004776, 0.04223766177892685, 0.040976326912641525, 0.055635079741477966, -0.06831660866737366, 0.042339932173490524, 0.013993995264172554, -0.018647296354174614, -0.02294265292584896, -0.014761023223400116, -0.049805670976638794, -0.026726655662059784, -0.05420329421758652, 0.007802376989275217, -0.077248215675354, -0.03869228810071945, 0.04401034861803055, 0.06020315736532211, -0.02689710631966591, 0.0824299156665802, 0.0443512499332428, -0.03838547691702843, 0.004563815426081419, -0.07158926129341125, 0.030152713879942894, -0.026453934609889984, -0.0018706955015659332, 0.026522114872932434, -0.043158095329999924, 0.0031171157024800777, 0.041862670332193375, -0.026266438886523247, 0.06913477182388306, -0.028976604342460632, 0.0023841778747737408, -0.05965771526098251, 0.024186942726373672, 0.02265288680791855, 0.07758911699056625, 0.0011825010878965259, -0.013763886876404285, 0.014121833257377148, -0.011982678435742855, 0.007700106594711542, 0.030715201050043106, -0.013542301021516323, 0.004280440974980593, 0.03906727954745293, 0.048373885452747345, -0.00044583488488569856, -0.06739617139101028, 0.03593099117279053, -0.017709819599986076, -0.010908839292824268, -0.03461851924657822, 0.030374299734830856, 0.003636989975348115, 0.0006583654903806746, -0.0432603657245636, -0.03393671661615372, -0.018988197669386864, 0.052191976457834244, -0.051987435668706894, -0.0012315056519582868, 0.03184017539024353, 0.024544889107346535, 0.015042266808450222, 0.06306672841310501, 0.018510937690734863, -0.06327126920223236, 0.05096473544836044, 0.011258263140916824, -0.0038372694980353117, 0.00273147108964622, -0.016278034076094627, -0.023471049964427948, -0.03681733459234238, -0.0057441857643425465, -0.010116243734955788, -0.041658129543066025, -0.016653025522828102, -0.002887007314711809, -0.04595348611474037, -0.03743095323443413, 0.022073354572057724, 0.05621461197733879, 0.0029871470760554075, 0.017760954797267914, -0.007674538996070623, -0.018510937690734863, 0.07758911699056625, 0.019260918721556664, 0.004504157695919275, 0.01657632179558277, -0.05348740145564079, -0.012408805079758167, -0.06122586131095886, -0.0876116156578064, 0.021800633519887924, 0.008151800371706486, 0.024800565093755722, 0.019192738458514214, 0.021067695692181587, 0.014650230295956135, 0.025840314105153084, -0.014573527500033379, -0.023027878254652023, 0.041862670332193375, -0.004291094373911619, -0.03838547691702843, 0.0030020615085959435, 0.020181352272629738, -0.03501055762171745, 0.012263922020792961, -0.02936864085495472, -0.05311241000890732, 0.0007792789256200194, -0.013286625035107136, 0.04983976110816002, -0.0742482841014862, -0.0719301626086235, 0.0064771235920488834, 0.010099198669195175, 0.020249532535672188, 0.0379423052072525, 0.018374577164649963, -0.006251276470720768, -0.04169221967458725, 0.020777929574251175, -0.018050720915198326, -0.026198258623480797, 0.06449851393699646, 0.02573804371058941, -0.028789108619093895, -0.021255191415548325, -0.008326512761414051, 0.01765868440270424, 0.0066646188497543335, 0.0825662761926651, -0.04414670914411545, 0.03027202934026718, -0.03206175938248634, -0.008880477398633957, 0.0009023229358717799, 0.015357600525021553, 0.011718479916453362, 0.05376012250781059, -0.0006210794090293348, -0.03678324446082115, 0.022721067070961, 0.004363535903394222, 0.028635703027248383, -0.03518100827932358, 0.00035261971061117947, 0.06388489156961441, -0.019533639773726463, -0.002309605944901705, -0.042680833488702774, -0.01468432042747736, -0.00273147108964622, -0.003884143428876996, 0.013542301021516323, 0.0387604683637619, -0.05324877053499222, 0.017445620149374008, -0.021340416744351387, 0.06749844551086426, 0.013218444772064686, -0.06490759551525116, 0.00427617970854044, 0.01924387365579605, -0.03339127451181412, -0.009281035512685776, 0.032760608941316605, -0.03460147604346275, 0.041862670332193375, 0.003438841085880995, -0.017087673768401146, 0.02451079897582531, 0.004751310683786869, 0.02553350292146206, 0.03270947188138962, 0.03226630017161369, -0.0418967604637146, 0.020897245034575462, -0.04602166637778282, -0.009281035512685776, -0.015016699209809303, 0.06258946657180786, -0.01650814153254032, -0.016593366861343384, -0.039271820336580276, -0.06296445429325104, 0.001626737997867167, 0.027203917503356934, 0.020351802930235863, -0.047283001244068146, -0.009417396038770676, 0.056180521845817566, -0.021510867401957512, 0.003992805723100901, -0.025448277592658997, -0.0384877473115921, 0.015314987860620022, 0.02566986344754696, -0.009246946312487125, -0.010985542088747025, -0.006656096316874027, 0.00447006756439805, -0.03715823218226433, -0.020556343719363213, -0.00614474480971694, 0.04731709137558937, 0.0010035280138254166, 0.01594565436244011, -0.003850053297355771, 0.009962838143110275, -0.016653025522828102, -0.04915795847773552, -0.016465529799461365, -0.003496368182823062, 0.011028154753148556, 0.03552190959453583, 0.011138947680592537, 0.018050720915198326, -0.010286694392561913, -0.031533364206552505, 0.05031702294945717, -0.019959766417741776, -0.017010971903800964, -0.020982470363378525, -0.023658545687794685, 0.017965495586395264, -0.0373968631029129, -0.08536166697740555, 0.012536643072962761, -0.0004322520981077105, 0.00734216021373868, -0.042749013751745224, -0.06470305472612381, 0.008023962378501892, 0.03073224611580372, -0.015783727169036865, 0.011317920871078968, -0.01956772990524769, 0.0746573656797409, -0.024544889107346535, -0.04414670914411545, 0.015698501840233803, 0.03681733459234238, 0.0395786315202713, 0.009153198450803757, 0.03460147604346275, -0.02607894316315651, -0.00286783161573112, -0.005356410518288612, 0.03189130872488022, 0.010516802780330181, -0.01910751312971115, 0.031209507957100868, -0.026385754346847534, -0.007764025591313839, 0.00554390624165535, -0.10895203053951263, -0.014232626184821129, 0.023726725950837135, 0.06940749287605286, -0.05376012250781059, 0.002752777421846986, -0.07990724593400955, -0.01314174197614193, 0.05832820013165474, -0.000197216693777591, 0.005974294152110815, -0.03531736880540848, -0.009349215775728226, -0.06258946657180786, -0.05710095539689064, 0.015894519165158272, -0.006643312517553568, -0.049328409135341644, 0.024152852594852448, -0.042135391384363174, -0.002350087743252516, -0.042339932173490524, 0.08767979592084885, 0.01806776598095894, 0.00013729264901485294, 0.057407766580581665, -0.0013295147800818086, -0.0027975207194685936, -0.05157835781574249, -0.00025327896582894027, 0.029811812564730644, -0.020113172009587288, 0.029794767498970032, 0.02287447266280651, -0.039953622967004776, -0.007231367286294699, -0.008752639405429363, -0.05004430189728737, 0.012255399487912655, -0.011164515279233456, 0.012596300803124905, -0.058566831052303314, 0.006264060270041227, -0.06105541065335274, -0.014991131611168385, -0.029112964868545532, 0.013780931942164898, 0.04752163216471672, -0.023471049964427948, 0.03080042637884617, -0.013261057436466217, -0.06886205077171326, -0.042953554540872574, 0.09081608802080154, -0.089520663022995, -0.01153950672596693, 0.0034537555184215307, 0.008343557827174664, 0.023266509175300598, -0.0410785973072052, -0.0007531786686740816, -0.013150264509022236, 0.002382047241553664, -0.0450330525636673, -0.013968427665531635, 0.006860637106001377, -0.024936925619840622, -0.030561795458197594, -0.01495704147964716, 0.056589603424072266, -0.03320378065109253, 0.009511143900454044, 0.0705665573477745, -0.0425785630941391, 0.03284583240747452, 0.023181283846497536, -0.03156745433807373, -0.020692704245448112, -0.03245379775762558, 0.0735664889216423, -0.008335035294294357, 0.02033475786447525, -0.029556136578321457, 0.04424897953867912, 0.023522185161709785, -0.030169758945703506, 0.024255122989416122, -0.017437098547816277, -0.031652677804231644, -0.01936318911612034, -0.05635097250342369, -0.02807321585714817, -0.023794906213879585, 0.0021498084533959627, -0.08563438802957535, -0.01965295523405075, -0.012851976789534092, 0.029539091512560844, 0.03746504336595535, 0.0201302170753479, 0.005573735106736422, -0.013218444772064686, 0.006685925181955099, -0.027851630002260208, -0.023113103583455086, -0.0797027051448822, -0.015170104801654816, -0.008177367970347404, 0.014462734572589397, 0.02757890895009041, -0.05996452644467354, 0.03373217582702637, -0.03705596551299095, -0.001373192761093378, 0.0010168444132432342, -0.07254378497600555, 0.010687253437936306, -0.04424897953867912, -0.0731574073433876, -0.026249393820762634, -0.016755295917391777, 0.0433967262506485, -0.037260502576828, -0.001596909249201417, -0.02689710631966591, 0.015689978376030922, -0.004423193633556366, -0.004823752213269472, -0.00882934220135212, -0.01020146906375885, 0.0010456079617142677, 0.03415830433368683, 0.01895410753786564, -0.02561872825026512, -0.01527237519621849, 0.00804952997714281, -0.06872569024562836, -0.022073354572057724, 0.0756118893623352, -0.012664481066167355, 0.040567245334386826, -0.019192738458514214, -0.002103999722748995, 0.016823476180434227, -0.018868882209062576, -0.007299547549337149, 0.05512372776865959, 0.0008069771574810147, 0.033169690519571304, -0.03299923986196518, 0.03640825301408768, 0.05529417842626572, -0.00472574308514595, -0.04711255058646202, 0.007998394779860973, -0.040567245334386826, -0.01726664789021015, -0.013959905132651329, 0.0455784946680069, -0.012042336165904999, -0.03910136967897415, -0.07172562181949615, 0.014190013520419598, -0.012937202118337154, 0.05866910144686699, -0.00232878141105175, -0.018988197669386864, 0.04983976110816002, -0.0016064970986917615, 0.015493961051106453, 0.021936994045972824, 0.02527782693505287, 0.05703277513384819, 0.01847684755921364, 0.03531736880540848, -0.003291827393695712, -0.06620302051305771, 0.02232903055846691, 0.015195672400295734, -0.043021734803915024, -0.03402194380760193, -0.05369194224476814, 0.0697483941912651, 0.03906727954745293, 0.005164653528481722, 0.05478282645344734, 0.006289627868682146, 0.04465806111693382, 0.028567522764205933 ]
42,066
patch_ng
decode_text
null
def decode_text(text): encodings = {codecs.BOM_UTF8: "utf_8_sig", codecs.BOM_UTF16_BE: "utf_16_be", codecs.BOM_UTF16_LE: "utf_16_le", codecs.BOM_UTF32_BE: "utf_32_be", codecs.BOM_UTF32_LE: "utf_32_le", b'\x2b\x2f\x76\x38': "utf_7", b'\x2b\x2f\x76\x39': "utf_7", b'\x2b\x2f\x76\x2b': "utf_7", b'\x2b\x2f\x76\x2f': "utf_7", b'\x2b\x2f\x76\x38\x2d': "utf_7"} for bom in sorted(encodings, key=len, reverse=True): if text.startswith(bom): try: return text[len(bom):].decode(encodings[bom]) except UnicodeDecodeError: continue decoders = ["utf-8", "Windows-1252"] for decoder in decoders: try: return text.decode(decoder) except UnicodeDecodeError: continue logger.warning("can't decode %s" % str(text)) return text.decode("utf-8", "ignore") # Ignore not compatible characters
(text)
[ 0.08140424638986588, -0.023053355515003204, 0.020779700949788094, 0.018729686737060547, -0.038875747472047806, -0.05184675380587578, -0.024730641394853592, -0.010855763219296932, 0.06478048861026764, 0.012178955599665642, 0.01592489331960678, 0.04800763353705406, -0.04752308502793312, -0.0008456313516944647, 0.019922422245144844, 0.03865211084485054, -0.03224115073680878, 0.08393881469964981, 0.03479435294866562, -0.003692357335239649, -0.049945831298828125, -0.03425389528274536, -0.030545229092240334, 0.011778270825743675, 0.037459373474121094, 0.015486935153603554, -0.03184978663921356, -0.00004138614167459309, -0.04629307612776756, -0.05371040478348732, 0.04823127016425133, 0.0005104654701426625, 0.015403070487082005, 0.007915855385363102, -0.027414297685027122, 0.0068395971320569515, -0.0036550844088196754, -0.055760420858860016, -0.014294198714196682, -0.014154424890875816, -0.033955711871385574, 0.010855763219296932, 0.0024343933910131454, -0.012113727629184723, -0.04871582239866257, -0.0006377178942784667, -0.08028605580329895, -0.03429116681218147, -0.06697959452867508, 0.05195857211947441, 0.03697482496500015, -0.060195907950401306, 0.019139690324664116, -0.011740997433662415, 0.007901878096163273, -0.01925150863826275, -0.03337797895073891, 0.017630131915211678, -0.02998613566160202, -0.03906211256980896, 0.012971006333827972, -0.020723791792988777, 0.020239243283867836, 0.020034242421388626, -0.04979673773050308, 0.022568807005882263, 0.037086643278598785, -0.07857149839401245, -0.042752139270305634, 0.04957310110330582, 0.01517943199723959, 0.048566728830337524, -0.05248039588332176, -0.03895029425621033, 0.06284229457378387, -0.018860142678022385, 0.009327569976449013, -0.00488276407122612, 0.020518790930509567, 0.02558792009949684, 0.017415812239050865, 0.015673300251364708, 0.08155333995819092, -0.04707580804824829, 0.05248039588332176, -0.020034242421388626, 0.05728861317038536, 0.030135227367281914, 0.033713433891534805, -0.021226977929472923, 0.054903142154216766, -0.07782603800296783, 0.008847679942846298, 0.08848612010478973, -0.053934041410684586, -0.024935642257332802, 0.04584579914808273, 0.005399927031248808, -0.10197895020246506, -0.014638973399996758, -0.013856240548193455, 0.06314047425985336, -0.055760420858860016, -0.030377501621842384, 0.0041419630870223045, -0.06880597025156021, -0.023388812318444252, 0.004491397645324469, 0.02486109547317028, -0.06366229802370071, -0.002413427224382758, 0.016893990337848663, 0.03451480343937874, 0.008712565526366234, 0.027842937037348747, -0.030247045680880547, -0.04927491769194603, -0.02978113293647766, 0.027116112411022186, 0.004808218218386173, -0.036471638828516006, 0.02135743387043476, -0.04621852934360504, -0.04305032268166542, 0.020816974341869354, 0.036192089319229126, 0.010138258337974548, 0.008414381183683872, 0.051697660237550735, 0.052666760981082916, 0.05512677878141403, 0.0340302549302578, 0.004670773632824421, -0.025830194354057312, 0.006960734259337187, 0.004060428123921156, -0.0457339808344841, 0.03363889083266258, 0.024469729512929916, -0.032371606677770615, 0.00019626568246167153, -0.0035362765192985535, 0.014778747223317623, -0.005530382506549358, -0.1059298887848854, 0.03736618906259537, 0.020052878186106682, -0.054381318390369415, -0.009201773442327976, 0.022773807868361473, 0.00703062117099762, -0.028346123173832893, -0.02754475362598896, 0.05315130949020386, 0.018422184512019157, -0.062245924025774, -0.007189031224697828, -0.009038704447448254, 0.002091947477310896, 0.04387032985687256, 0.010361895896494389, 0.03695618733763695, 0.01898127980530262, 0.023127900436520576, -0.0051902662962675095, -0.019344691187143326, 0.0759996622800827, -0.08610064536333084, -0.027768390253186226, -0.0013266861205920577, -0.018478093668818474, 0.038018468767404556, -0.027731116861104965, -0.011526677757501602, -0.018971960991621017, -0.006350388750433922, 0.0015631368150934577, 0.0012800948461517692, 0.012421229854226112, 0.03788801282644272, 0.007827331312000751, -0.013530101627111435, -0.021543798968195915, -0.02124561369419098, 0.019512418657541275, -0.019214235246181488, -0.0022491931449621916, 0.0453985221683979, 0.0398821197450161, -0.020816974341869354, 0.012998961843550205, -0.04357214644551277, 0.0025532010477036238, 0.0006458713323809206, -0.0009067823993973434, -0.0019428555388003588, 0.03272569924592972, 0.026706110686063766, -0.03637845441699028, -0.0698123425245285, 0.04920037090778351, 0.0029259310103952885, 0.045063067227602005, 0.02901703678071499, -0.051660388708114624, -0.029725223779678345, -0.044131241738796234, -0.006751073524355888, -0.03140250965952873, 0.002037202939391136, -0.027358388528227806, 0.022401077672839165, 0.032446153461933136, 0.012821914628148079, 0.019102416932582855, -0.00032322685001417994, -0.018999915570020676, -0.022680625319480896, 0.07294327765703201, 0.01928878203034401, -0.037422098219394684, 0.010380532592535019, -0.0170151274651289, 0.049983102828264236, 0.01122849341481924, -0.013837603852152824, -0.0612022802233696, 0.015244659967720509, 0.09862437844276428, -0.013530101627111435, 0.02840203233063221, 0.03173796460032463, -0.0163348950445652, -0.04182031378149986, 0.09698436409235, 0.015375115908682346, -0.031234780326485634, -0.09198978543281555, -0.031197506934404373, -0.02771248109638691, -0.00015666311082895845, -0.02111515961587429, -0.01925150863826275, 0.0718623623251915, 0.004493726883083582, 0.025867467746138573, -0.01712694764137268, 0.06757596135139465, -0.006289820186793804, -0.03183114901185036, -0.026501107960939407, -0.009616436436772346, 0.030712958425283432, -0.011545314453542233, -0.020556064322590828, -0.03673255071043968, 0.017238765954971313, -0.06530231237411499, 0.03035886399447918, 0.09325706213712692, 0.03736618906259537, -0.011470767669379711, -0.04405669495463371, 0.05799679830670357, -0.02706020325422287, -0.07074417173862457, -0.04114940017461777, 0.020369699224829674, -0.04032939299941063, 0.003256729105487466, 0.10943355411291122, -0.0629168376326561, 0.029837042093276978, -0.04670307785272598, -0.04979673773050308, -0.010818490758538246, 0.016251031309366226, -0.008106878958642483, -0.012244182638823986, -0.016241712495684624, -0.02355654165148735, 0.01497443113476038, -0.045137614011764526, -0.01210440881550312, 0.06269320100545883, 0.003485026303678751, -0.02156243473291397, -0.09720800071954727, 0.01735990308225155, -0.0036713911686092615, 0.011983271688222885, -0.049088552594184875, -0.022550169378519058, 0.03283752128481865, 0.026035195216536522, 0.0502067431807518, 0.0010616983054205775, -0.02070515602827072, 0.011470767669379711, -0.04647944122552872, 0.028513850644230843, 0.05356131121516228, 0.04118667170405388, 0.019232872873544693, -0.014070560224354267, 0.006653232034295797, -0.03950938954949379, -0.013660557568073273, 0.014005332253873348, 0.0008549496415071189, -0.0033895140513777733, -0.04081394523382187, 0.004097701516002417, 0.04823127016425133, -0.0880388468503952, -0.02327699400484562, 0.03567026928067207, -0.0040627578273415565, 0.01912105269730091, -0.05494041368365288, 0.043758511543273926, -0.03999393805861473, -0.005194925237447023, -0.02310926467180252, 0.016763534396886826, -0.01212304551154375, 0.01041780598461628, 0.0005052239866927266, 0.041074853390455246, 0.01377237681299448, -0.053971316665410995, 0.05057946965098381, 0.05065401643514633, -0.013586011715233326, 0.04431760683655739, -0.009378820657730103, 0.0064249346032738686, -0.04823127016425133, 0.03270706534385681, -0.044578518718481064, 0.001864815130829811, -0.003932302352041006, -0.0336947999894619, 0.03827938064932823, 0.010688034817576408, 0.123075470328331, -0.004661455750465393, -0.0020931123290210962, 0.020816974341869354, -0.02747020684182644, -0.02303471788764, -0.06507866829633713, -0.0306011401116848, -0.022065620869398117, -0.09124432504177094, 0.015943529084324837, 0.01120985671877861, -0.05072856321930885, 0.009551208466291428, -0.03222251683473587, 0.0002054383367067203, 0.00397190498188138, -0.04446669667959213, -0.009364843368530273, 0.0008217533468268812, -0.03188705816864967, -0.020034242421388626, 0.05725134164094925, 0.025438828393816948, 0.0020208959467709064, -0.00424679322168231, 0.037496645003557205, -0.017592860385775566, 0.043348509818315506, -0.014023968949913979, -0.007990401238203049, -0.0016493306029587984, 0.010278032161295414, 0.018273092806339264, 0.07197418063879013, -0.05508950725197792, -0.025569282472133636, -0.041522130370140076, -0.05766134336590767, 0.02087288349866867, -0.020686518400907516, -0.009970529936254025, -0.04912582412362099, 0.033545706421136856, -0.032893430441617966, 0.032166603952646255, -0.0364343635737896, 0.04938673600554466, -0.0033475819509476423, 0.024059725925326347, 0.017201492562890053, 0.015673300251364708, 0.0292220376431942, 0.008698588237166405, 0.022326530888676643, -0.04129849374294281, 0.05989772453904152, -0.0004967792774550617, 0.010911673307418823, 0.05050492659211159, 0.07525420188903809, -0.00070585758658126, 0.04114940017461777, 0.001521204598248005, 0.03406753018498421, 0.04353487119078636, 0.028476577252149582, -0.012626231648027897, -0.07983878254890442, -0.020518790930509567, 0.005278789903968573, -0.028588397428393364, 0.026538381353020668, 0.010147576220333576, -0.0077248308807611465, 0.024600185453891754, 0.030377501621842384, -0.018832186236977577, -0.052070390433073044, -0.031122962012887, -0.023575177416205406, 0.025494737550616264, 0.03630391135811806, -0.020108787342905998, 0.04741126671433449, 0.06355047971010208, -0.09072250127792358, -0.03669527545571327, -0.10033893585205078, 0.006443571299314499, 0.016008757054805756, -0.03559572249650955, 0.02502882480621338, -0.012672822922468185, -0.03779482841491699, 0.006569367833435535, 0.04610671103000641, 0.02189789153635502, 0.008954839780926704, 0.057064976543188095, -0.019829239696264267, -0.0015794436912983656, 0.023947907611727715, -0.030526593327522278, -0.035334810614585876, 0.027041567489504814, 0.017285358160734177, -0.014741474762558937, 0.0045542954467237, 0.0062339105643332005, -0.04797036200761795, 0.036471638828516006, 0.018925368785858154, 0.039285749197006226, 0.07264509052038193, -0.044615790247917175, -0.036807093769311905, 0.021171068772673607, -0.037496645003557205, 0.019270144402980804, 0.03736618906259537, -0.033098429441452026, 0.007235622499138117, 0.03637845441699028, 0.024302000179886818, -0.048492182046175, 0.042379409074783325, 0.021189704537391663, -0.008656656369566917, -0.00976552814245224, -0.00672311894595623, -0.038428470492362976, -0.012151000089943409, 0.023295629769563675, -0.0024623479694128036, 0.05154857039451599, -0.045063067227602005, 0.013222599402070045, -0.03673255071043968, -0.0244138203561306, -0.05236857756972313, 0.040180303156375885, -0.018105363473296165, 0.003363888943567872, 0.042752139270305634, -0.0003704005212057382, -0.017098993062973022, 0.008223357610404491, 0.03665800392627716, 0.026799293234944344, -0.017695359885692596, -0.012626231648027897, 0.004260770510882139, 0.05326312780380249, -0.041037581861019135, 0.038465745747089386, 0.043348509818315506, -0.015421707183122635, -0.04044121503829956, -0.01739717647433281, -0.0002128638152498752, 0.013269190676510334, -0.0018158943857997656, 0.04040393978357315, 0.025699738413095474, -0.0312906913459301, 0.019400600343942642, 0.03719846159219742, -0.025811558589339256, -0.032651156187057495, 0.03397434577345848, -0.018235819414258003, -0.012728732079267502, 0.020854247733950615, 0.029445676133036613, -0.04260304942727089, -0.018096044659614563, 0.045920345932245255, -0.0261283777654171, 0.016875354573130608, -0.03527890145778656, -0.03902483731508255, 0.00823267549276352, 0.038465745747089386, -0.04394487664103508, -0.05371040478348732, -0.01456442754715681, 0.004325998481363058, -0.04047848656773567, -0.02059333585202694, -0.05952499434351921, -0.03939756751060486, 0.01912105269730091, -0.07708057761192322, 0.071526899933815, -0.001898593851365149, 0.05814589187502861, -0.021674254909157753, 0.012998961843550205, 0.014368744567036629, -0.02709747664630413, -0.03166342154145241, -0.01377237681299448, -0.008875634521245956, 0.04483942687511444, -0.013036234304308891, 0.03363889083266258, 0.022941535338759422, 0.004309691488742828, 0.016651716083288193, -0.03227842599153519, 0.028793398290872574, 0.05766134336590767, 0.00947666261345148, -0.01953105628490448, -0.01945650950074196, 0.02819702960550785, -0.06761323660612106, -0.008665974251925945, 0.015943529084324837, 0.02832748554646969, -0.037012096494436264, 0.017527632415294647, -0.029389766976237297, -0.03259524703025818, 0.043236687779426575, -0.034086164087057114, 0.0694768875837326, -0.029594767838716507, 0.006014931481331587, 0.023407448083162308, 0.03898756578564644, -0.030545229092240334, 0.02978113293647766, 0.016893990337848663, 0.05270403251051903, -0.0409257635474205, 0.018245136365294456, -0.02135743387043476, 0.005884476006031036, -0.02616565115749836, 0.044578518718481064, 0.0088569987565279, 0.01953105628490448, -0.033303432166576385, 0.006755732465535402, -0.02465609461069107, 0.07458329200744629, 0.004999242257326841, 0.016083301976323128, 0.0663832277059555, -0.009905301965773106, 0.05240584909915924, -0.007771422155201435, -0.06168682873249054, 0.017508994787931442, 0.0011636166600510478, 0.012952370569109917, -0.04245395585894585, 0.08736792951822281, 0.04871582239866257, -0.024842459708452225, 0.004745319951325655, 0.018971960991621017, 0.030489319935441017, 0.006494821514934301, -0.05285312607884407, -0.01997833140194416, -0.06332684308290482, 0.05471677705645561, 0.014433972537517548, 0.036192089319229126, -0.036807093769311905, -0.02571837604045868, 0.007920513860881329, 0.05453041195869446, 0.009322911500930786, -0.030414775013923645, 0.02706020325422287, 0.006811642087996006, 0.07350236922502518, -0.05341222137212753, -0.06433320790529251, -0.026501107960939407, 0.02624019794166088, 0.014238288626074791, 0.04618125781416893, 0.01120985671877861, 0.001878792536444962, -0.006322433706372976, 0.0287188533693552, -0.02950158528983593, -0.0004708629276137799, 0.030750231817364693, 0.0011176078114658594, -0.01131235808134079, 0.019344691187143326, -0.04577125236392021, 0.011219175532460213, -0.038465745747089386, 0.03205478563904762, 0.019419236108660698, -0.04920037090778351, 0.039285749197006226, -0.010771899484097958, -0.007515170145779848, 0.02588610351085663, 0.02795475535094738, 0.0020243902690708637, -0.013707148842513561, 0.05494041368365288, 0.011480086483061314, -0.02868157997727394, 0.00017559081607032567, 0.029930224642157555, 0.03259524703025818, -0.012700777500867844, -0.005041174124926329, 0.007855286821722984, 0.04118667170405388, -0.03076886758208275, -0.012561003677546978, 0.011815543286502361, 0.014117151498794556, -0.05803407356142998, 0.0615377351641655, 0.026463836431503296, 0.024842459708452225, -0.02417154610157013, -0.037254370748996735, -0.01826377399265766, 0.006364366039633751, -0.018748322501778603, 0.10712262243032455, 0.030750231817364693, -0.008833702653646469, 0.0006557719898410141, -0.06902960687875748, 0.01925150863826275, 0.009052681736648083, 0.03451480343937874, -0.032166603952646255, -0.010529624298214912, 0.07242145389318466, 0.014005332253873348, 0.016549214720726013, 0.00639698002487421, -0.0122069101780653, 0.0015491594094783068, -0.015151477418839931, 0.008847679942846298, 0.04569670930504799, -0.050877656787633896, -0.0065087988041341305, 0.033955711871385574, -0.010119621641933918, -0.06839597225189209, -0.0020348732359707355, -0.013036234304308891, -0.05374767631292343, 0.03581935912370682, -0.07413601130247116, -0.020127424970269203, -0.012915097177028656, -0.05177220702171326, -0.04360941797494888, -0.015263296663761139, -0.002218908630311489, -0.03414207324385643, 0.08296971768140793, 0.018925368785858154, -0.05520132556557655, 0.016661034896969795, -0.019922422245144844, 0.021506525576114655, 0.005003901198506355, 0.0009370667394250631, 0.004971287213265896, 0.04442942515015602, -0.0354279950261116, 0.05046765133738518, -0.01694989949464798, 0.01332509983330965, -0.005180947948247194, -0.0017425131518393755, 0.008805748075246811, 0.03447753190994263, -0.027116112411022186, 0.00045659433817490935, -0.06895506381988525, -0.0443548783659935, 0.023985181003808975, -0.00018840339907910675, 0.0018916050903499126, -0.0070352801121771336, -0.029072945937514305, -0.013073507696390152, -0.09698436409235, 0.06727778166532516, 0.002741895616054535, 0.0002696469018701464, 0.009923938661813736, 0.011815543286502361, 0.008097561076283455, 0.020779700949788094, 0.03723573312163353, -0.0029748519882559776, -0.0244138203561306, 0.015570798888802528, -0.03108568862080574, 0.03785073757171631, 0.0025299054104834795, -0.011526677757501602, -0.036192089319229126, -0.003554913215339184, -0.05956226587295532, 0.05065401643514633, 0.01780718006193638, -0.012029862962663174, -0.050393108278512955, -0.07271964102983475, 0.026463836431503296, -0.00637834332883358 ]
42,067
genericpath
exists
Test whether a path exists. Returns False for broken symbolic links
def exists(path): """Test whether a path exists. Returns False for broken symbolic links""" try: os.stat(path) except (OSError, ValueError): return False return True
(path)
[ 0.031964804977178574, -0.01162759680300951, -0.02659003436565399, -0.001547685475088656, 0.03703802078962326, 0.03106014057993889, 0.007977897301316261, -0.01200010534375906, -0.004064337350428104, 0.025827277451753616, 0.0639650896191597, 0.050199996680021286, 0.07911378145217896, -0.0489228256046772, -0.03781851381063461, 0.003015547525137663, 0.0384216234087944, 0.05889187008142471, 0.009587667882442474, -0.05073215439915657, -0.01294911652803421, 0.02738826721906662, 0.013711872510612011, -0.03584953770041466, 0.006363692227751017, 0.06520678102970123, 0.03586727753281593, 0.0019357154378667474, 0.0038137808442115784, 0.018066678196191788, -0.026377173140645027, 0.04831971600651741, 0.004984522704035044, 0.016629857942461967, 0.0019545627292245626, 0.05672777071595192, 0.0026496907230466604, -0.033579010516405106, -0.032656606286764145, -0.06428437680006027, -0.017250705510377884, 0.058324240148067474, -0.045658938586711884, 0.013499010354280472, 0.030794061720371246, -0.0399116575717926, -0.09287886321544647, -0.029445935040712357, -0.03948593512177467, -0.017756253480911255, 0.04377865418791771, 0.015601024031639099, 0.02506452240049839, -0.0285944864153862, -0.02047024667263031, -0.008017809130251408, 0.04094049334526062, 0.08110049366950989, -0.03810233250260353, -0.021037878468632698, 0.017099928110837936, -0.008226236328482628, -0.012186359614133835, -0.05765017494559288, -0.01725957542657852, -0.04377865418791771, -0.015601024031639099, -0.1370122879743576, -0.011734027415513992, -0.005556589923799038, -0.013250671327114105, 0.0872734934091568, -0.04604918509721756, -0.024425935000181198, 0.01963653601706028, 0.03224861994385719, 0.032567914575338364, 0.04771660640835762, 0.022456960752606392, 0.0006690746522508562, -0.061197876930236816, -0.0767722949385643, 0.0029135511722415686, 0.011760635301470757, -0.0022672039922326803, 0.0443817637860775, 0.07350840419530869, 0.0010072151198983192, -0.020452508702874184, 0.08677681535482407, 0.023095546290278435, 0.03169872611761093, -0.012301660142838955, -0.078191377222538, 0.028576748445630074, -0.024638798087835312, 0.054244380444288254, -0.022350529208779335, -0.01513095386326313, -0.03336614742875099, 0.0038071288727223873, -0.023131024092435837, 0.03125526383519173, 0.010953533463180065, 0.014918091706931591, 0.06332650035619736, -0.03152134269475937, -0.03109561651945114, -0.02190706692636013, -0.07421794533729553, -0.023184239864349365, -0.027193143963813782, 0.04186289757490158, -0.004090945236384869, 0.035991448909044266, -0.06300720572471619, 0.05449271947145462, -0.008243975229561329, -0.03796042129397392, -0.0451977364718914, 0.0436367467045784, 0.034040212631225586, 0.014997914433479309, -0.022066712379455566, 0.05537964403629303, -0.009410282596945763, -0.00014911439211573452, 0.02980070561170578, 0.009153073653578758, 0.011875935830175877, -0.048248760402202606, -0.012133144773542881, 0.014554452151060104, 0.05452819541096687, -0.04083406180143356, 0.0033725351095199585, -0.023060070350766182, 0.03091823309659958, -0.020629893988370895, 0.004904699511826038, 0.01232826802879572, -0.044772014021873474, -0.004980088211596012, 0.02850579470396042, 0.02431950531899929, 0.06868353486061096, -0.013117631897330284, 0.004669663961976767, 0.027725299820303917, 0.0338096097111702, 0.015627631917595863, -0.049454979598522186, 0.018022332340478897, 0.03728635981678963, -0.03336614742875099, -0.011290565133094788, -0.005286077503114939, 0.006133091636002064, -0.01162759680300951, -0.027778515592217445, 0.020665369927883148, 0.02543703094124794, -0.01883830316364765, -0.01293137762695551, -0.06570345908403397, 0.00791581254452467, -0.05672777071595192, -0.008141978643834591, 0.019476890563964844, 0.05286077409982681, 0.014589929021894932, -0.002940158825367689, 0.022989116609096527, -0.009871483780443668, -0.01276286132633686, -0.02715766616165638, 0.014536713249981403, 0.05009356886148453, -0.017064452171325684, 0.013898126780986786, 0.01211540587246418, -0.05144169554114342, 0.016558904200792313, -0.005920229479670525, -0.02112657204270363, 0.0323905274271965, -0.04122430831193924, -0.03526416793465614, 0.04324650019407272, 0.06708706170320511, -0.03849257901310921, 0.03689611330628395, 0.03863448649644852, 0.036967065185308456, 0.012159752659499645, -0.029445935040712357, 0.029037948697805405, 0.004000035114586353, -0.04878091812133789, 0.02251017652451992, 0.051406215876340866, -0.001974518410861492, -0.00856326799839735, 0.01944141276180744, -0.0034168814308941364, -0.03654134273529053, -0.04392056539654732, -0.013898126780986786, -0.03803137689828873, 0.04682968184351921, -0.025029044598340988, -0.07201837003231049, 0.03072310797870159, 0.06921568512916565, 0.02669646590948105, 0.04392056539654732, 0.021002402529120445, 0.026767419651150703, -0.00791137758642435, -0.000891360396053642, 0.03441271930932999, -0.0195478443056345, 0.03749922290444374, 0.016833851113915443, 0.003558789612725377, -0.02525964565575123, -0.011059964075684547, 0.04725540429353714, -0.015751801431179047, -0.018696395680308342, 0.012745123356580734, 0.02265208400785923, 0.025330599397420883, 0.010740671306848526, 0.002503348048776388, -0.035388339310884476, -0.0007028886466287076, 0.013782826252281666, -0.009969045408070087, -0.011485688388347626, -0.008669699542224407, 0.023219715803861618, 0.004638621583580971, 0.01030607707798481, 0.01271851547062397, -0.03551250696182251, -0.007232879754155874, 0.025170953944325447, -0.044026993215084076, -0.054102472960948944, -0.00949010532349348, 0.046439431607723236, -0.02084275521337986, -0.06573893874883652, -0.001606444246135652, -0.08088763058185577, -0.056798726320266724, -0.009534452110528946, 0.014518974348902702, 0.05218671262264252, -0.004829310812056065, -0.0012760644312947989, 0.013153108768165112, 0.03466105833649635, -0.04906473308801651, -0.06385865807533264, 0.019796183332800865, 0.03945045918226242, -0.030049044638872147, -0.02733505144715309, 0.06808042526245117, -0.008594310842454433, -0.0023104415740817785, -0.03324197605252266, 0.025649894028902054, 0.005299381446093321, 0.04558798298239708, -0.035725370049476624, 0.0632200688123703, 0.025845017284154892, -0.0399116575717926, 0.03547703102231026, 0.0063947346061468124, -0.00365635147318244, -0.05573441460728645, 0.04271434620022774, 0.013286148197948933, 0.05765017494559288, -0.019281765446066856, 0.046439431607723236, 0.05477653443813324, -0.013144239783287048, -0.01722409762442112, 0.01679837331175804, 0.04157907888293266, 0.1114688292145729, 0.006589858327060938, 0.011689681559801102, -0.013401448726654053, -0.04392056539654732, -0.02288268506526947, 0.04998713731765747, -0.05286077409982681, 0.021481342613697052, -0.007006713654845953, -0.027104452252388, -0.03017321415245533, 0.01981392130255699, -0.038173284381628036, 0.011228480376303196, -0.025969186797738075, -0.0048736571334302425, -0.01828840933740139, 0.03210671246051788, 0.11104310303926468, -0.010758409276604652, -0.04714897274971008, -0.07414699345827103, -0.061162400990724564, 0.029694274067878723, -0.01211540587246418, 0.05506035313010216, 0.03082953952252865, -0.014722967520356178, -0.05612466111779213, -0.00169402826577425, 0.01294911652803421, -0.01592031680047512, -0.02793816104531288, 0.061942894011735916, 0.009640882723033428, -0.057259928435087204, 0.09103406220674515, -0.032514698803424835, -0.0428917296230793, 0.009357066825032234, -0.03072310797870159, -0.034146640449762344, 0.02683837339282036, 0.011680812574923038, -0.014962437562644482, 0.016372648999094963, -0.03411116451025009, -0.036931589245796204, 0.04150812700390816, -0.023060070350766182, -0.004341501742601395, 0.034235335886478424, -0.007392526138573885, 0.00204879860393703, 0.018962472677230835, 0.04995165765285492, -0.03540607541799545, 0.029605582356452942, -0.01304667815566063, 0.06687420606613159, 0.03109561651945114, 0.017623214051127434, 0.006390300113707781, 0.014634274877607822, 0.032372791320085526, 0.011077702976763248, -0.03551250696182251, -0.031166572123765945, -0.015166430734097958, -0.017206359654664993, 0.016026748344302177, 0.03412890434265137, -0.03781851381063461, 0.03668325021862984, 0.050483815371990204, -0.01874961145222187, -0.003035503439605236, -0.03152134269475937, 0.03820876032114029, -0.05598275363445282, 0.06864805519580841, -0.040692154318094254, 0.024354981258511543, 0.0005291066481731832, -0.017862685024738312, -0.005033303517848253, -0.00013747350021731108, -0.029907137155532837, 0.08847971260547638, 0.016487950459122658, 0.031273003667593, -0.022031236439943314, -0.018359363079071045, -0.04917116463184357, -0.017720777541399002, -0.0184303168207407, 0.003988948650658131, -0.035210952162742615, -0.029836183413863182, -0.038173284381628036, 0.08032000064849854, 0.018252931535243988, -0.02492261491715908, 0.02483392134308815, 0.013215193524956703, 0.0058492752723395824, -0.004913568962365389, 0.03451915085315704, -0.013827173039317131, 0.03959236666560173, -0.0038204328157007694, 0.012549999170005322, 0.02339710108935833, -0.039521411061286926, -0.029073426499962807, -0.023290671408176422, -0.05573441460728645, -0.019672013819217682, -0.02075406350195408, 0.06105596944689751, -0.03505130484700203, -0.029534628614783287, 0.03577858582139015, -0.001215088297612965, 0.003838171251118183, -0.05552155151963234, -0.046865157783031464, 0.06864805519580841, 0.0008896974031813443, -0.011281696148216724, -0.05101596936583519, 0.005228427238762379, -0.0031330653000622988, 0.010075476951897144, -0.01981392130255699, -0.0602399967610836, 0.059069257229566574, -0.026714203879237175, -0.04995165765285492, -0.05076763033866882, -0.011725158430635929, -0.07255052775144577, -0.08755730837583542, -0.008133109658956528, -0.007476784288883209, 0.05694063380360603, -0.008017809130251408, 0.00004808800804312341, 0.02311328612267971, 0.010084345936775208, 0.010802756063640118, -0.016550034284591675, 0.09741992503404617, -0.012665299698710442, -0.05640847980976105, 0.003241713624447584, 0.03803137689828873, 0.00024196442973334342, -0.04413342475891113, -0.022581130266189575, -0.050341907888650894, 0.0002784115495160222, -0.0398407056927681, 0.031273003667593, -0.04324650019407272, 0.05729540437459946, 0.011565512046217918, -0.06368126720190048, 0.012479045428335667, -0.010128691792488098, 0.008576571941375732, 0.0034479238092899323, 0.07095406204462051, 0.03466105833649635, -0.0005964575684629381, 0.02455010451376438, -0.037853993475437164, 0.005915794987231493, 0.0315745584666729, -0.026448126882314682, -0.01139699574559927, 0.025915971025824547, -0.05768565088510513, 0.030563462525606155, 0.03318876028060913, -0.07634656876325607, -0.006643074098974466, 0.025312861427664757, 0.019086642190814018, -0.006949063390493393, -0.026235263794660568, 0.02744148299098015, -0.0035055740736424923, -0.047326359897851944, 0.04338840767741203, -0.05193837359547615, 0.017898162826895714, -0.034927137196063995, 0.041614558547735214, -0.030510246753692627, -0.056195616722106934, 0.08528678119182587, -0.011219611391425133, -0.05310911312699318, 0.008510053157806396, 0.017162013798952103, 0.02609335631132126, 0.05211575701832771, -0.02121526375412941, 0.03290494531393051, 0.04700706526637077, -0.01385377999395132, 0.0037672172766178846, -0.009862614795565605, -0.006598727777600288, 0.059956181794404984, -0.021144310012459755, 0.06265243887901306, 0.03625752404332161, 0.029694274067878723, -0.025170953944325447, -0.05527321249246597, 0.006594293285161257, 0.009410282596945763, 0.013383709825575352, 0.01468749064952135, 0.031592294573783875, -0.021055618301033974, -0.08095858246088028, 0.014332720078527927, 0.005223992746323347, 0.007796077523380518, 0.005450158845633268, 0.0038581271655857563, 0.02753017656505108, 0.02538381516933441, 0.012851553969085217, -0.00508208479732275, 0.0586790069937706, 0.053818654268980026, 0.036931589245796204, -0.017303921282291412, -0.030297383666038513, -0.039202120155096054, 0.01009321492165327, -0.013844911009073257, 0.029304027557373047, -0.01174289733171463, 0.0022106624674052, -0.0036075706593692303, -0.034040212631225586, -0.08393865078687668, 0.04353031516075134, -0.03212445229291916, 0.0008852627943269908, 0.03003130666911602, 0.0034878356382250786, -0.006909151561558247, 0.0609140619635582, 0.052754346281290054, 0.0267319418489933, -0.031113356351852417, -0.003906907979398966, 0.010616501793265343, -0.055024873465299606, -0.05992070585489273, -0.018394840881228447, -0.028700917959213257, 0.010962402448058128, -0.052612435072660446, -0.013800565153360367, -0.022581130266189575, 0.061942894011735916, -0.07712706178426743, 0.021640988066792488, 0.018785087391734123, 0.018306147307157516, -0.04264339059591293, -0.007884769700467587, -0.019228549674153328, 0.017933638766407967, 0.0011014508781954646, 0.04761017486453056, -0.0017283966299146414, -0.009525583125650883, -0.04278529807925224, -0.08308720588684082, 0.04423985630273819, -0.011308303102850914, -0.029907137155532837, -0.02139264903962612, 0.03466105833649635, -0.06502939760684967, -0.013782826252281666, -0.012709646485745907, -0.0142972432076931, 0.057863038033246994, -0.025933708995580673, 0.04878091812133789, 0.015255123376846313, 0.024390459060668945, -0.0632200688123703, 0.0011530035408213735, 0.0057206712663173676, -0.022758515551686287, -0.032142188400030136, 0.005046607460826635, -0.04931307211518288, -0.008811607025563717, 0.005294946953654289, 0.03286946937441826, 0.03370317816734314, -0.03171646595001221, -0.03937950357794762, -0.025224167853593826, 0.001488926587626338, -0.005090953782200813, 0.008283887058496475, 0.05037738382816315, 0.03412890434265137, -0.00243017659522593, -0.05037738382816315, -0.016097702085971832, 0.03077632375061512, -0.006807155441492796, -0.038740918040275574, 0.0237163957208395, 0.005467897281050682, -0.01629282720386982, 0.010678586550056934, 0.03976975008845329, 0.021853851154446602, -0.06212028115987778, -0.03352579474449158, 0.02905568853020668, -0.006762809120118618, 0.008217367343604565, -0.029871659353375435, -0.00313971727155149, -0.05112240090966225, -0.0048027029260993, -0.00043431646190583706, 0.09238218516111374, 0.04182741791009903, -0.08599632233381271, -0.03969879820942879, -0.04615561664104462, -0.01935272105038166, 0.015796147286891937, 0.03240826725959778, 0.013445794582366943, -0.00365635147318244, 0.0767013430595398, 0.014989045448601246, 0.024532366544008255, 0.003913559950888157, 0.009153073653578758, -0.019849399104714394, 0.08606727421283722, 0.01554780825972557, 0.011059964075684547, -0.037995900958776474, -0.0436367467045784, 0.005299381446093321, 0.039095688611269, -0.031450387090444565, -0.04480748996138573, 0.04455915093421936, -0.0075433035381138325, 0.011946890503168106, -0.009960176423192024, -0.01653229631483555, -0.03272756189107895, 0.03290494531393051, -0.0030022438149899244, 0.0338096097111702, -0.000995019800029695, -0.04168551042675972, 0.0027450353372842073, 0.022758515551686287, -0.0088426498696208, 0.0006147504318505526, 0.0018292843597009778, 0.016283957287669182, -0.03185837343335152, 0.020487984642386436, -0.009108727797865868, 0.014013427309691906, 0.006514469627290964, 0.0037006977945566177, 0.030598938465118408, 0.0017239619046449661, 0.01977844536304474, -0.02609335631132126, -0.02265208400785923, 0.001083712442778051, 0.010323815979063511, 0.07790756225585938, -0.06772565096616745, -0.02724635973572731, 0.02525964565575123, 0.09209837019443512, 0.013711872510612011, -0.04863901063799858, 0.03969879820942879, 0.03082953952252865, 0.03593823313713074, -0.013099893927574158, 0.01619526371359825, -0.03600918501615524, -0.064781054854393, -0.008696307428181171, -0.012044452130794525, 0.016736289486289024, -0.03524642810225487, -0.02813328616321087, 0.06332650035619736, -0.03657681867480278, 0.04122430831193924, -0.0842224732041359, 0.007281660567969084, -0.00726392213255167, 0.05218671262264252, -0.009392543695867062, 0.02612883225083351, -0.04906473308801651, -0.01912211999297142, -0.012195229530334473, -0.09841328114271164, -0.06261695921421051, -0.03150360286235809, -0.015423638746142387, 0.03292268514633179, 0.014581060037016869, -0.019476890563964844, 0.022456960752606392, -0.029978090897202492, 0.0933045893907547, 0.0068559362553060055, -0.005232862196862698, 0.011618727818131447, 0.057721130549907684, 0.022013496607542038, 0.04814232885837555, 0.01796911656856537, -0.02075406350195408, 0.03192932903766632, -0.08826684951782227, 0.011326042003929615, -0.021658727899193764, 0.031734202057123184, -0.00508208479732275, 0.0021197525784373283, 0.007844858802855015, 0.04104692488908768, -0.03419985622167587, -0.03849257901310921, 0.032975900918245316, 0.04636847972869873, -0.027228621765971184, -0.032514698803424835, 0.020736323669552803, 0.00972070638090372, -0.0006330432370305061, -0.05729540437459946, -0.014013427309691906, -0.03735731169581413, -0.02919759601354599, 0.03210671246051788, 0.003241713624447584, -0.05477653443813324, -0.0076586040668189526 ]
42,068
patch_ng
fromfile
Parse patch file. If successful, returns PatchSet() object. Otherwise returns False.
def fromfile(filename): """ Parse patch file. If successful, returns PatchSet() object. Otherwise returns False. """ patchset = PatchSet() debug("reading %s" % filename) fp = open(filename, "rb") res = patchset.parse(fp) fp.close() if res == True: return patchset return False
(filename)
[ 0.04644232988357544, -0.02279047854244709, -0.023974865674972534, 0.017972176894545555, -0.024423496797680855, -0.011673390865325928, -0.009573794901371002, 0.022503353655338287, 0.039120662957429886, 0.005652756430208683, -0.034042153507471085, -0.009066841565072536, -0.08025119453668594, 0.030991461127996445, -0.002454014029353857, -0.029717346653342247, -0.04701657593250275, 0.04113053157925606, -0.03294749557971954, -0.02932255156338215, -0.0071825897321105, 0.019362933933734894, 0.03289365768432617, 0.09920138865709305, 0.034042153507471085, 0.01970389299094677, 0.02996858023107052, -0.0010969039285555482, -0.004120680037885904, 0.003992820158600807, 0.0007991247694008052, 0.02934049628674984, -0.005549571011215448, 0.015038126148283482, -0.018223410472273827, -0.018331080675125122, -0.0001797329750843346, 0.030381321907043457, -0.015594429336488247, 0.0023306403309106827, 0.012974421493709087, 0.050713300704956055, 0.03126063942909241, 0.0172005295753479, -0.017900394275784492, -0.015379086136817932, -0.0019941667560487986, -0.00046657671919092536, 0.007092863321304321, 0.02427993342280388, 0.0728936418890953, 0.02056526578962803, -0.02869446761906147, -0.007209507282823324, -0.03872586786746979, -0.03086584433913231, 0.004179001785814762, 0.10314934700727463, 0.004827274475246668, 0.04446835070848465, -0.015495730563998222, -0.009286670945584774, 0.0054329270496964455, -0.09898604452610016, -0.03969491273164749, -0.016644226387143135, 0.023310890421271324, -0.0314759835600853, -0.0035127843730151653, 0.018483616411685944, -0.042207248508930206, 0.055056050419807434, -0.005639297422021627, -0.04881110042333603, 0.06873033940792084, 0.024585003033280373, 0.008748313412070274, -0.013692231848835945, -0.024854183197021484, -0.010623592883348465, -0.07020185142755508, 0.04884699359536171, 0.04909822717308998, 0.021767597645521164, -0.017918340861797333, -0.023167328909039497, 0.11348581314086914, 0.014203671365976334, -0.05189768597483635, 0.021570200100541115, 0.031888723373413086, 0.03904888033866882, 0.00760878948494792, -0.03414982557296753, 0.031888723373413086, -0.0023171815555542707, -0.00336249265819788, 0.028425289317965508, -0.04877521097660065, -0.04403766244649887, -0.03285776823759079, -0.01203229557722807, -0.024854183197021484, 0.007788241840898991, -0.004167786333709955, 0.03897710144519806, 0.040233269333839417, 0.019362933933734894, -0.007160157896578312, -0.0007161279791034758, -0.048057399690151215, -0.08570655435323715, -0.0019033189164474607, 0.08061009645462036, 0.032516807317733765, -0.06402868032455444, -0.012839832343161106, 0.017021076753735542, 0.012669351883232594, -0.03542393818497658, -0.013342299498617649, 0.033862702548503876, -0.004253026098012924, 0.09589946269989014, 0.01880663074553013, -0.03926422446966171, 0.024028699845075607, -0.052256591618061066, 0.07946160435676575, -0.03348585218191147, 0.024423496797680855, 0.006428888533264399, 0.00864961463958025, -0.020116634666919708, -0.01268729753792286, -0.047411371022462845, 0.012086131609976292, -0.011242704465985298, 0.02523103356361389, 0.01792731322348118, 0.06399279087781906, 0.023992810398340225, 0.005850153975188732, -0.020529374480247498, -0.1373888999223709, -0.050892751663923264, -0.018223410472273827, -0.035352159291505814, -0.07124267518520355, 0.08089722692966461, 0.01359353307634592, -0.07773885875940323, -0.012346337549388409, -0.020654991269111633, -0.0037797200493514538, -0.034490786492824554, 0.017873477190732956, -0.025446375831961632, 0.002185956807807088, -0.057711951434612274, -0.014069082215428352, 0.0631314218044281, 0.006348134949803352, 0.036715999245643616, 0.0010699860285967588, -0.03269626200199127, -0.05168234184384346, -0.06338265538215637, -0.062305934727191925, -0.009134136140346527, -0.02216239459812641, 0.050964534282684326, 0.023813357576727867, 0.059614147990942, 0.016958268359303474, -0.041956014931201935, 0.02889186516404152, 0.027205010876059532, 0.021570200100541115, 0.03563928231596947, -0.02894570119678974, -0.0030237759929150343, 0.037362027913331985, 0.05566618964076042, 0.06754595041275024, 0.02235979214310646, -0.008227900601923466, 0.026666654273867607, 0.03545983135700226, 0.023095546290278435, 0.04576040804386139, -0.03174516186118126, 0.011556746438145638, 0.04357108846306801, -0.022431572899222374, -0.06474649161100388, -0.005737996194511652, 0.02761775255203247, -0.04464780166745186, 0.012445036321878433, -0.03310900181531906, -0.04694479703903198, 0.0017967689782381058, 0.04838041588664055, -0.0186630692332983, 0.04601164162158966, -0.013198737055063248, -0.032965440303087234, 0.01859128661453724, 0.06934047490358353, -0.02456705830991268, -0.0639210119843483, -0.028568850830197334, 0.04177656024694443, 0.017702996730804443, -0.03876175731420517, 0.02298787608742714, 0.017388954758644104, -0.032570645213127136, 0.026774324476718903, 0.018734849989414215, 0.04511437937617302, 0.027635697275400162, 0.03371914103627205, -0.019847456365823746, 0.047196030616760254, 0.014499768614768982, 0.0846298336982727, -0.012418118305504322, 0.0304889939725399, 0.00722296629101038, -0.05480481684207916, 0.05979359894990921, -0.08412736654281616, 0.03393448144197464, -0.02627185732126236, 0.015899498015642166, 0.05387166514992714, 0.05868099257349968, 0.04877521097660065, 0.03915655240416527, 0.008721395395696163, 0.07450871169567108, 0.007397932466119528, -0.04206368327140808, -0.021857324987649918, 0.01533422339707613, -0.060116615146398544, -0.023131437599658966, 0.0015051584923639894, 0.04095108062028885, -0.021175405010581017, 0.009546876884996891, 0.05100042372941971, 0.005428440403193235, -0.014526686631143093, -0.013001339510083199, -0.05458947643637657, 0.05588153377175331, 0.014069082215428352, 0.02085239067673683, 0.011781061999499798, 0.10695374011993408, 0.029645565897226334, -0.03644682094454765, -0.05272316932678223, -0.025769390165805817, 0.024010755121707916, 0.027868986129760742, 0.0038380420301109552, 0.0504261739552021, 0.0053656320087611675, 0.020475540310144424, 0.002940779086202383, -0.03190666809678078, -0.020044853910803795, 0.02607445977628231, 0.0009393221116624773, 0.039982035756111145, 0.014051137492060661, -0.04597575217485428, 0.03312694653868675, 0.03793627396225929, 0.04622698575258255, 0.007160157896578312, -0.027653641998767853, -0.0322476290166378, 0.04001792520284653, -0.01575593650341034, 0.008573346771299839, 0.0026424392126500607, -0.0018539695302024484, 0.002355315024033189, -0.12970831990242004, -0.005370118655264378, 0.020421704277396202, -0.01799909397959709, -0.06410045921802521, 0.029430223628878593, 0.016742926090955734, -0.009789138101041317, -0.059614147990942, 0.04511437937617302, 0.017568407580256462, -0.0490623340010643, -0.02146252803504467, -0.0034118422772735357, -0.02523103356361389, -0.0024024213198572397, 0.026451310142874718, 0.012678325176239014, 0.054661255329847336, -0.09453561902046204, -0.06366977840662003, 0.032122012227773666, -0.006397484336048365, -0.022934040054678917, -0.03000447154045105, 0.048308633267879486, -0.03574695438146591, -0.04120231419801712, -0.016428884118795395, 0.02101389691233635, 0.01632121205329895, 0.008241360075771809, -0.0018719147192314267, 0.027671588584780693, -0.030776116997003555, -0.02036786824464798, 0.01532525010406971, 0.007438309490680695, -0.02427993342280388, 0.00791834481060505, 0.016940323635935783, 0.0006174290319904685, -0.04184834286570549, 0.0355675034224987, -0.04859576001763344, 0.016913406550884247, -0.05272316932678223, 0.08211749792098999, -0.03693133965134621, -0.023077601566910744, -0.04927767813205719, 0.003429787466302514, 0.029807073995471, 0.000809218967333436, -0.04030504822731018, -0.005114398431032896, -0.007254370488226414, -0.033826813101768494, -0.0005268615786917508, -0.006926869507879019, -0.012382227927446365, -0.017954230308532715, -0.005536112003028393, -0.015513675287365913, 0.06305963546037674, 0.0332346186041832, 0.019237317144870758, 0.01792731322348118, -0.01433826144784689, -0.006114846561104059, -0.024585003033280373, -0.01641991175711155, -0.029053373262286186, -0.007972180843353271, -0.008241360075771809, -0.05857332423329353, -0.041920121759176254, -0.012211748398840427, 0.04576040804386139, -0.04791383817791939, -0.06571553647518158, 0.007783755660057068, -0.039120662957429886, -0.028999537229537964, 0.006061010994017124, -0.021624036133289337, 0.06259305775165558, -0.014742029830813408, 0.03876175731420517, -0.0018461184808984399, 0.022826367989182472, -0.03729024529457092, -0.021624036133289337, -0.04550917446613312, -0.03682367131114006, 0.00047919448115862906, 0.010973525233566761, 0.04357108846306801, -0.024674730375409126, 0.0007161279791034758, 0.014266479760408401, -0.03310900181531906, 0.0007766932249069214, 0.0077972146682441235, -0.0053746048361063, 0.03617763891816139, 0.0008866079151630402, 0.015361141413450241, 0.01993718184530735, 0.023777466267347336, 0.016742926090955734, -0.020314032211899757, -0.01148496475070715, 0.0447554737329483, -0.017092857509851456, -0.052436042577028275, 0.0013638396048918366, 0.023131437599658966, 0.0065814233385026455, 0.005482276435941458, -0.07371912151575089, -0.036662161350250244, 0.04446835070848465, 0.011754143983125687, -0.05674290657043457, 0.039120662957429886, 0.003034991677850485, 0.01205921359360218, 0.014347233809530735, -0.00794526282697916, -0.005652756430208683, 0.014149836264550686, 0.002541497116908431, 0.03045310266315937, -0.016258403658866882, -0.05196946859359741, 0.038438741117715836, -0.03201434016227722, -0.027707478031516075, 0.05799907445907593, -0.015926416963338852, 0.03488558158278465, -0.07030951976776123, -0.04823685437440872, -0.0024315824266523123, -0.013494834303855896, 0.031206803396344185, 0.01447285059839487, 0.0036473737563937902, 0.012642434798181057, -0.023992810398340225, -0.026343638077378273, -0.0586451031267643, -0.014176754280924797, -0.04432478919625282, -0.02894570119678974, -0.03355763107538223, -0.06026017665863037, -0.00973530299961567, 0.047842059284448624, -0.039982035756111145, 0.015029153786599636, 0.03294749557971954, -0.025518156588077545, 0.03958724066615105, -0.024800347164273262, 0.05932702496647835, -0.013064147904515266, -0.014535658992826939, 0.006397484336048365, -0.02318527363240719, 0.00868999119848013, -0.03746969997882843, -0.02742035500705242, 0.07845667004585266, -0.015065044164657593, -0.024154316633939743, -0.01737998239696026, -0.0770210474729538, -0.008851498365402222, 0.0006006053299643099, -0.0746522769331932, 0.05842975899577141, 0.004943918436765671, 0.04450424015522003, -0.01880663074553013, 0.019362933933734894, -0.04073573648929596, -0.020870335400104523, -0.030776116997003555, 0.027528025209903717, 0.03958724066615105, -0.07766707986593246, 0.038905318826436996, -0.05017494037747383, -0.05965003743767738, -0.04597575217485428, 0.00015323568368330598, -0.03043515793979168, 0.027886930853128433, -0.041956014931201935, 0.04357108846306801, 0.02146252803504467, 0.03328845277428627, 0.07020185142755508, 0.052220702171325684, -0.020062798634171486, 0.020493485033512115, -0.004371913615614176, -0.0056931329891085625, 0.02564377337694168, 0.03743380680680275, 0.03021981380879879, -0.01624045893549919, -0.027707478031516075, 0.019668003544211388, -0.021301021799445152, -0.0280484389513731, -0.007012109737843275, 0.03278598561882973, 0.028353508561849594, 0.03633914887905121, 0.06377744674682617, 0.025733500719070435, 0.019560331478714943, -0.1051592156291008, 0.04924178868532181, -0.006267381366342306, -0.06765362620353699, 0.037792712450027466, -0.011161950416862965, -0.013073120266199112, -0.05322563648223877, -0.02103184163570404, -0.01237325556576252, 0.01565723679959774, -0.03436516970396042, 0.07824132591485977, -0.04005381464958191, -0.014266479760408401, -0.0201345793902874, -0.0072947475127875805, -0.022431572899222374, -0.0035441885702311993, 0.0040062787011265755, -0.041956014931201935, -0.03388064727187157, 0.024477332830429077, 0.022288011386990547, 0.033216673880815506, 0.010892772115767002, -0.032301463186740875, -0.004138625226914883, -0.039336007088422775, -0.025571992620825768, 0.02300582081079483, -0.02959172986447811, 0.05929113179445267, 0.020008962601423264, -0.014427987858653069, 0.0005633128457702696, 0.042817387729883194, -0.023292945697903633, 0.025356650352478027, 0.028640631586313248, -0.030937625095248222, -0.038438741117715836, 0.0054329270496964455, -0.0008080974221229553, 0.010471058078110218, 0.05631221830844879, -0.07318076491355896, 0.014795864932239056, -0.02363390475511551, 0.040161486715078354, -0.013414080254733562, -0.005733510013669729, 0.0394795686006546, -0.037541478872299194, 0.007761324290186167, 0.03858230635523796, 0.031404200941324234, 0.034078046679496765, 0.034939415752887726, 0.01445490587502718, -0.025895006954669952, 0.03178105130791664, 0.005024672485888004, -0.04708835855126381, 0.009564822539687157, -0.010103180073201656, -0.02648720145225525, 0.0473036989569664, -0.02693583257496357, 0.05868099257349968, 0.04224313795566559, 0.03158365562558174, 0.004616417456418276, -0.014957373030483723, 0.0236518494784832, -0.019219370558857918, -0.04274560511112213, 0.0019190210150554776, 0.04471958428621292, -0.015684155747294426, -0.017155665904283524, 0.053584542125463486, 0.006020633969455957, -0.038869429379701614, -0.004387615714222193, -0.02033197693526745, -0.014419014565646648, -0.03456256538629532, 0.002086136257275939, -0.016527581959962845, -0.009789138101041317, -0.019434714689850807, 0.021803488954901695, -0.06112154945731163, -0.0172992292791605, -0.029663512483239174, 0.04751904308795929, -0.0005649952217936516, 0.027976658195257187, 0.020008962601423264, -0.032104067504405975, -0.07644680142402649, 0.033378180116415024, 0.026343638077378273, 0.07027363032102585, 0.04816507175564766, 0.025123361498117447, 0.005284878425300121, 0.019237317144870758, -0.010964552871882915, -0.02603857032954693, -0.019632112234830856, 0.057927291840314865, 0.01336024422198534, -0.006083442363888025, -0.027922822162508965, 0.026146240532398224, -0.03876175731420517, 0.028515014797449112, -0.023274999111890793, -0.0002278206666233018, 0.0592193529009819, -0.021588144823908806, -0.09417671710252762, -0.005244501866400242, -0.031027350574731827, -0.00913862232118845, 0.024477332830429077, 0.011467020027339458, -0.02079855464398861, 0.08520408719778061, -0.0009320318349637091, 0.003757288446649909, 0.025105416774749756, -0.0322476290166378, -0.013261545449495316, 0.01117989607155323, 0.009125163778662682, 0.034095991402864456, 0.02304171212017536, -0.01447285059839487, 0.00933153461664915, -0.012741133570671082, 0.008663073182106018, 0.007375501096248627, 0.024208152666687965, -0.006805739365518093, 0.022934040054678917, 0.02209061197936535, -0.01532525010406971, 0.0026424392126500607, 0.07020185142755508, -0.023077601566910744, 0.04471958428621292, 0.001194481272250414, 0.011673390865325928, 0.04967247322201729, -0.05857332423329353, -0.05853743106126785, -0.0083086546510458, 0.04008970782160759, 0.0008866079151630402, 0.009834001772105694, 0.06410045921802521, 0.010112153366208076, 0.006554505322128534, -0.007963208481669426, 0.030183924362063408, 0.019847456365823746, -0.010596674866974354, 0.047626715153455734, 0.034293387085199356, -0.03594435378909111, 0.08075366169214249, -0.006312244571745396, 0.0709555521607399, -0.04913411661982536, 0.07138624042272568, -0.04967247322201729, 0.040197379887104034, -0.025464320555329323, 0.0308837890625, -0.007958722300827503, -0.01814265549182892, 0.003678777953609824, 0.024208152666687965, -0.021085677668452263, -0.0016251674387603998, -0.07608789205551147, 0.04159710928797722, -0.04468369111418724, -0.02099595218896866, 0.002853295998647809, 0.028586795553565025, 0.023956919088959694, -0.03301927447319031, 0.08211749792098999, -0.02562582865357399, -0.06492594629526138, -0.026325693354010582, 0.03393448144197464, -0.0073485830798745155, -0.06262894719839096, 0.019847456365823746, -0.07167336344718933, 0.04278149455785751, -0.0025706582237035036, 0.002251008292660117, -0.0046029589138925076, -0.035154759883880615, -0.0846298336982727, 0.011431129649281502, -0.01706594042479992, 0.002606548834592104, -0.008331086486577988, -0.011135032400488853, -0.012947503477334976, -0.045006707310676575, 0.00006792560452595353, -0.000404609483666718, 0.08362489938735962, -0.01650066487491131, -0.0001278599665965885, -0.04073573648929596, -0.048918772488832474, -0.014822782948613167, -0.024692675098776817, -0.007734406273812056, 0.04446835070848465, 0.023526232689619064, -0.05103631317615509, 0.027707478031516075, -0.03312694653868675, -0.0308837890625, 0.016348131000995636, 0.043283961713314056, 0.009995508939027786, -0.04881110042333603, -0.00816957838833332, 0.014607439748942852, 0.06668458133935928, -0.003133690683171153, -0.0328398235142231, -0.02937638759613037, -0.02603857032954693, 0.038474634289741516, -0.05125165730714798, -0.01685059815645218, -0.025733500719070435, 0.018968136981129646 ]
42,069
patch_ng
fromstring
Parse text string and return PatchSet() object (or False if parsing fails)
def fromstring(s): """ Parse text string and return PatchSet() object (or False if parsing fails) """ ps = PatchSet( StringIO(s) ) if ps.errors == 0: return ps return False
(s)
[ 0.037575509399175644, -0.005228912457823753, 0.009722576476633549, -0.008745129220187664, -0.047886285930871964, -0.016876110807061195, -0.006625884212553501, 0.07957980781793594, 0.05342227220535278, -0.02716093510389328, -0.03667591139674187, 0.05411427095532417, -0.09390417486429214, 0.04041270539164543, -0.009393877349793911, -0.01792275719344616, -0.08110220730304718, 0.048439886420965195, -0.0105616245418787, -0.0513116791844368, -0.023666344583034515, 0.0515538789331913, 0.04833608493208885, 0.130303293466568, 0.035672515630722046, 0.016806909814476967, 0.030292227864265442, -0.025828838348388672, 0.011677471920847893, -0.011755322106182575, 0.033665720373392105, -0.011392022483050823, -0.015890011563897133, 0.020794549956917763, -0.00020989715994801372, -0.016002461314201355, 0.015076913870871067, 0.023406844586133957, 0.009272778406739235, -0.007049733307212591, -0.044218696653842926, 0.04632928967475891, 0.016296561807394028, 0.010198325850069523, 0.02181524783372879, 0.002287919633090496, -0.052522674202919006, 0.03709111362695694, 0.0023917192593216896, 0.021797947585582733, 0.05273027345538139, 0.02546553872525692, -0.03902870789170265, -0.0258980393409729, -0.012352170422673225, -0.005423536989837885, 0.04584489017724991, 0.0925893783569336, 0.004978063050657511, 0.004645038861781359, 0.005220262799412012, -0.000018465678294887766, -0.03401171788573265, -0.054910071194171906, -0.038129109889268875, -0.013917816802859306, 0.05411427095532417, -0.0541834719479084, -0.01012047566473484, -0.011755322106182575, -0.07764221727848053, 0.028268132358789444, -0.024341043084859848, -0.052453476935625076, 0.05061968043446541, 0.024565942585468292, 0.01767190732061863, 0.023649044334888458, -0.02723013609647751, 0.0018143331399187446, -0.04670988768339157, 0.08850658684968948, 0.016054362058639526, -0.016711760312318802, -0.04491069167852402, 0.012473270297050476, 0.0723138302564621, 0.01773245818912983, -0.017767058685421944, 0.017213458195328712, 0.02678033709526062, -0.004943463485687971, 0.007356807589530945, 0.013511267490684986, 0.017905456945300102, 0.01339016854763031, 0.017213458195328712, -0.003431879449635744, -0.0024155068676918745, -0.037817709147930145, -0.012741419486701488, 0.020915649831295013, -0.06103425472974777, -0.03657211363315582, -0.03174542635679245, -0.009886926971375942, 0.02973862923681736, -0.019341353327035904, -0.0011461222311481833, -0.02188444882631302, -0.011469872668385506, -0.07134503126144409, -0.03871730715036392, 0.04030890390276909, 0.04055110365152359, -0.03733330965042114, 0.001313715591095388, -0.08034101128578186, 0.031157225370407104, -0.05577506870031357, -0.019704652950167656, 0.04183129966259003, -0.027143634855747223, 0.07120662927627563, 0.028700631111860275, 0.019202955067157745, 0.018562855198979378, 0.005177012644708157, 0.060515254735946655, -0.01684151031076908, 0.04231569916009903, 0.024669742211699486, -0.0056743863970041275, 0.006011735647916794, -0.05003147944808006, -0.013874567113816738, -0.02344144508242607, 0.020137151703238487, -0.006950258277356625, -0.02842383272945881, 0.04570649191737175, 0.035741716623306274, 0.0039768279530107975, -0.01267222035676241, -0.08345500379800797, 0.008810004219412804, -0.002731231041252613, -0.019635453820228577, -0.05217667669057846, 0.065636046230793, -0.010379975661635399, -0.059373460710048676, -0.02966943010687828, 0.01037132553756237, -0.050204481929540634, -0.025828838348388672, -0.010648124851286411, -0.06702004373073578, 0.042973097413778305, -0.0248254407197237, 0.008628354407846928, 0.012654920108616352, 0.002081401413306594, 0.03145132586359978, -0.004097927827388048, -0.024098843336105347, 0.020638851448893547, -0.08331660181283951, -0.08117140829563141, 0.01904725469648838, -0.00019881437765434384, 0.06580904126167297, 0.00018610971164889634, 0.02904663048684597, 0.05224587768316269, -0.011184423230588436, 0.04062030464410782, 0.0787494108080864, -0.014082166366279125, 0.03169352561235428, -0.016132211312651634, 0.046744488179683685, -0.01096817385405302, 0.051657676696777344, 0.06892303377389908, 0.013381518423557281, -0.030966926366090775, 0.04411489516496658, 0.016270611435174942, -0.010328075848519802, 0.011028723791241646, -0.008528879843652248, 0.03453071787953377, 0.05068888142704964, -0.01761135831475258, -0.010760574601590633, -0.029012031853199005, -0.029409930109977722, -0.04207349941134453, 0.013744817115366459, -0.034738317131996155, -0.029911629855632782, 0.010959523729979992, 0.0333024226129055, -0.007114608306437731, -0.023164644837379456, -0.016201412305235863, -0.005726286210119724, -0.003907628357410431, 0.04383809491991997, -0.06003085896372795, -0.01930675469338894, -0.012611670419573784, 0.04172750189900398, -0.0054884119890630245, -0.019133754074573517, 0.10379975289106369, 0.02145194821059704, 0.00798825640231371, 0.00921222846955061, 0.02930613048374653, 0.03626071289181709, 0.06840404123067856, 0.03501511737704277, -0.04601788893342018, 0.030880426988005638, -0.050446681678295135, 0.041208501905202866, -0.02451404184103012, 0.0018619081238284707, 0.061518654227256775, -0.029323430731892586, 0.08691499382257462, -0.043042298406362534, 0.04480689391493797, -0.030153827741742134, 0.026555437594652176, 0.019272154197096825, 0.05113867670297623, -0.004627739079296589, 0.012715470045804977, -0.005843061022460461, 0.00683780899271369, 0.026226738467812538, -0.04293849691748619, 0.014852014370262623, -0.002251157071441412, -0.03927090764045715, -0.0025366065092384815, -0.0398591049015522, 0.04231569916009903, -0.005626811645925045, 0.0074822320602834225, 0.007715781684964895, 0.02370094321668148, -0.0233895443379879, 0.03629531338810921, 0.004139014985412359, 0.06684704124927521, 0.005955510772764683, 0.0019073204603046179, 0.0017527020536363125, 0.07265982776880264, 0.060619056224823, -0.05407967045903206, -0.06359464675188065, -0.020984850823879242, 0.05684766545891762, -0.0014596839901059866, 0.024756241589784622, 0.021330850198864937, -0.018459055572748184, 0.02778373472392559, -0.015388313680887222, -0.024929240345954895, 0.004965088330209255, 0.03461721912026405, -0.02207474783062935, 0.06238365173339844, -0.017213458195328712, 0.009722576476633549, 0.04996228218078613, 0.04376889765262604, 0.018407156690955162, 0.07722701877355576, -0.026555437594652176, -0.004437439609318972, 0.007244357839226723, -0.05117327719926834, -0.01678095944225788, -0.009168977849185467, -0.05563666671514511, -0.012438670732080936, -0.07272902876138687, 0.007235707715153694, 0.07798821479082108, -0.011616921983659267, -0.08255540579557419, 0.013511267490684986, -0.051519278436899185, 0.015301813371479511, -0.06954583525657654, -0.0027593434788286686, 0.06812723726034164, -0.03778310865163803, -0.035118915140628815, -0.020604250952601433, -0.0066518341191112995, 0.0037476036231964827, -0.030447928234934807, -0.0013796717394143343, 0.054287269711494446, -0.09397337585687637, -0.04048190265893936, 0.0008347230032086372, 0.05335307493805885, -0.028873631730675697, -0.0489242821931839, -0.026884136721491814, -0.010198325850069523, -0.012724120169878006, -0.08428540080785751, 0.00999937579035759, -0.0322125218808651, -0.01313931867480278, -0.012654920108616352, 0.02627863734960556, -0.038440506905317307, -0.047298088669776917, 0.028458433225750923, 0.02980782836675644, -0.04871668294072151, 0.04691748693585396, 0.02138274908065796, 0.049443282186985016, -0.05055047944188118, -0.0032004923559725285, -0.10020136088132858, -0.011141173541545868, -0.06895763427019119, 0.09376578032970428, -0.0018986704526469111, 0.010137775912880898, -0.016365760937333107, 0.01566511206328869, 0.052280474454164505, -0.007080008275806904, -0.021278949454426765, 0.020327452570199966, -0.0018705580150708556, -0.002666356274858117, 0.006798883900046349, -0.02633053809404373, -0.02665923722088337, 0.00419523986056447, 0.02603643760085106, 0.008749454282224178, 0.05954645946621895, 0.04162370041012764, -0.0582316629588604, 0.01442816574126482, 0.002082482445985079, 0.02999812923371792, -0.041208501905202866, -0.03290452063083649, -0.027835633605718613, -0.016876110807061195, 0.03100152686238289, 0.010898973792791367, -0.03570711612701416, 0.005168362520635128, 0.043353695422410965, -0.02949642948806286, -0.09113617986440659, 0.013502618297934532, -0.023406844586133957, -0.02169414795935154, -0.00087418855400756, -0.017991958186030388, 0.017905456945300102, -0.028994731605052948, 0.0024263192899525166, -0.023181945085525513, 0.03491131588816643, 0.018009256571531296, -0.00940252747386694, -0.0462946891784668, -0.007495207246392965, 0.04792088642716408, 0.026140237227082253, 0.022040147334337234, -0.012352170422673225, 0.05241887643933296, 0.002999380463734269, -0.04172750189900398, -0.023060845211148262, 0.03086312673985958, 0.0010131289018318057, 0.02377014420926571, 0.014134066179394722, 0.04442629590630531, 0.009290077723562717, 0.0009196009486913681, 0.0224380474537611, 0.006950258277356625, 0.006171760149300098, 0.020673450082540512, -0.037817709147930145, -0.07646581530570984, 0.002832868369296193, 0.07349022477865219, -0.014341666363179684, 0.00804448127746582, -0.13113369047641754, -0.0608612559735775, 0.005713311489671469, 0.019704652950167656, -0.0008763510268181562, 0.01949705369770527, -0.014436815865337849, 0.017377808690071106, -0.020448550581932068, 0.005657086614519358, 0.020846450701355934, 0.018320657312870026, 0.020604250952601433, 0.014609815552830696, -0.024929240345954895, -0.025984538719058037, 0.012940369546413422, -0.024289142340421677, 0.008061780594289303, 0.05712446570396423, -0.03011922910809517, 0.0038903283420950174, -0.05625946819782257, -0.018753156065940857, -0.01294901967048645, -0.027714533731341362, 0.014947164803743362, 0.057747263461351395, -0.02721283584833145, -0.01811305619776249, 0.0053413622081279755, 0.03383871912956238, -0.03250662237405777, -0.03387331962585449, -0.0037130035925656557, -0.0029777553863823414, -0.0011266598012298346, -0.018943455070257187, -0.048128485679626465, 0.017749758437275887, 0.01835525594651699, 0.03242012485861778, 0.023943142965435982, 0.06435585021972656, 0.036053113639354706, -0.05255727469921112, 0.05300707370042801, -0.04968548193573952, 0.0037476036231964827, 0.0028912555426359177, 0.044599294662475586, -0.013364218175411224, -0.008818654343485832, -0.009886926971375942, 0.04148530215024948, 0.02345874346792698, -0.012568419799208641, -0.02332034520804882, -0.0723138302564621, 0.03816371038556099, 0.03093232586979866, -0.0563286654651165, 0.015933262184262276, -0.04280009865760803, 0.054737068712711334, -0.0355687141418457, 0.00597281102091074, -0.028683332726359367, -0.016867460682988167, -0.013961066491901875, 0.027887534350156784, 0.0012683032546192408, -0.08691499382257462, 0.07224462926387787, -0.05840466171503067, -0.028371931985020638, -0.013770767487585545, -0.013009568676352501, -0.008156931027770042, 0.04041270539164543, 0.0036243414506316185, 0.04802468419075012, 0.010181025601923466, 0.003873028326779604, 0.04501449316740036, 0.042281098663806915, -0.03264502063393593, 0.031970325857400894, 0.03252392262220383, -0.03577631339430809, -0.02257644571363926, 0.04584489017724991, 0.020829150453209877, 0.011686122044920921, -0.018874255940318108, -0.0145579157397151, -0.01502501405775547, -0.05958105996251106, 0.005531661678105593, 0.019410554319620132, 0.02778373472392559, 0.005138088017702103, 0.04044730216264725, 0.053975872695446014, -0.004299039952456951, -0.09217417985200882, 0.006919983774423599, -0.01572566293179989, -0.019964152947068214, -0.01577756181359291, -0.07473582029342651, 0.011193073354661465, -0.05072347819805145, -0.019894951954483986, -0.030569028109312057, 0.04214270040392876, -0.05307627469301224, 0.07335182279348373, 0.004141177516430616, -0.01723075844347477, -0.013225818984210491, 0.032541222870349884, -0.006063635461032391, 0.011400672607123852, -0.003505404107272625, -0.015794862061738968, -0.01329501811414957, 0.003764903638511896, 0.05712446570396423, 0.05183067545294762, 0.03767931088805199, 0.01210132148116827, 0.023614443838596344, -0.007668206933885813, -0.017836257815361023, -0.014324366115033627, -0.012533820234239101, 0.021400049328804016, 0.015578612685203552, -0.0759122222661972, 0.024064242839813232, -0.0025820189621299505, -0.06781584024429321, -0.00955822691321373, 0.026019137352705002, -0.02979052998125553, -0.012447320856153965, -0.024617841467261314, -0.019894951954483986, 0.007339507341384888, 0.044599294662475586, -0.0467790886759758, 0.019341353327035904, -0.009696627035737038, -0.012603020295500755, -0.00852022971957922, 0.009376578032970428, 0.06449424475431442, -0.07034163177013397, 0.026451637968420982, 0.03716031089425087, 0.030015429481863976, 0.03805990889668465, -0.002082482445985079, -0.024669742211699486, -0.02489464171230793, 0.07390542328357697, 0.00923817791044712, -0.0189780555665493, 0.03356191888451576, -0.009748526848852634, 0.02501573972404003, 0.0018683956004679203, -0.011141173541545868, 0.05971945822238922, -0.06691624224185944, 0.03584551438689232, -0.006470184773206711, -0.013191218487918377, 0.031105326488614082, 0.004052515607327223, -0.0670546442270279, -0.046052489429712296, 0.08643059432506561, -0.022282347083091736, 0.028250832110643387, 0.004779113456606865, -0.017490258440375328, 0.020846450701355934, -0.038751907646656036, -0.02553473971784115, 0.029565630480647087, -0.02269754558801651, -0.017334558069705963, 0.01765460893511772, 0.01830335706472397, -0.02835463359951973, 0.05757426470518112, -0.06746984273195267, -0.04345749691128731, -0.02672843635082245, 0.031347524374723434, -0.027247434481978416, -0.005622486583888531, 0.021953647956252098, 0.008217480033636093, -0.06041145697236061, 0.05055047944188118, 0.04113930091261864, 0.027264734730124474, 0.015569963492453098, -0.014497365802526474, 0.009757176972925663, -0.044668495655059814, 0.0018727205460891128, -0.0258980393409729, -0.09750256687402725, 0.025067640468478203, 0.00896137859672308, -0.005587886553257704, -0.025828838348388672, 0.027385834604501724, -0.007469257339835167, 0.02138274908065796, -0.010206975974142551, 0.027109036222100258, 0.05425267294049263, -0.023597143590450287, -0.03646831214427948, 0.019029954448342323, -0.0105616245418787, -0.016772309318184853, 0.031139926984906197, 0.01780165731906891, -0.030707426369190216, 0.08172500878572464, 0.01621006242930889, -0.014817414805293083, 0.052211277186870575, 0.0165301114320755, -0.03733330965042114, -0.010068575851619244, 0.05778186395764351, 0.019012654200196266, 0.012196470983326435, -0.03024032898247242, -0.030413327738642693, -0.048128485679626465, 0.017429709434509277, -0.00528081227093935, 0.06093045696616173, -0.00512511283159256, 0.029755929484963417, 0.038371309638023376, 0.028648732230067253, 0.011443923227488995, 0.020154451951384544, -0.02288784645497799, 0.02069075033068657, -0.006067960523068905, 0.009013278409838676, 0.03840591013431549, -0.04470309242606163, -0.029600229114294052, -0.05276487395167351, -0.0028371931985020638, 0.011011423543095589, -0.013563168235123158, 0.02300894446671009, -0.023476043716073036, -0.027385834604501724, -0.008874879218637943, 0.0034578293561935425, 0.04878588393330574, -0.024687040597200394, 0.049512483179569244, 0.00719678308814764, 0.012248370796442032, 0.047747887670993805, 0.022178547456860542, 0.05816246196627617, 0.02031015232205391, 0.07355942577123642, -0.04055110365152359, 0.0012693845201283693, 0.0029755928553640842, 0.014064867049455643, 0.038129109889268875, 0.01069137454032898, -0.045983292162418365, 0.024168042466044426, -0.006067960523068905, -0.046121690422296524, -0.07141423225402832, 0.024064242839813232, -0.022282347083091736, -0.01967005245387554, -0.009990726597607136, 0.0462946891784668, 0.021105950698256493, -0.037886910140514374, 0.05553286895155907, -0.05854305997490883, -0.0021603323984891176, -0.024911940097808838, 0.0061890603974461555, 0.009255478158593178, -0.018562855198979378, -0.01899535581469536, -0.03591471537947655, 0.026019137352705002, 0.0014337340835481882, -0.002067345194518566, -0.04286929965019226, 0.028562232851982117, -0.025119541212916374, -0.006067960523068905, -0.056086465716362, 0.009013278409838676, -0.031088026240468025, -0.00421037757769227, -0.038890305906534195, -0.04387269541621208, 0.00022138541680760682, -0.0004292552184779197, 0.04477229341864586, -0.015621863305568695, 0.01539696380496025, -0.01942785456776619, -0.0369873121380806, -0.012049421668052673, -0.07522021979093552, 0.019324054941534996, 0.013935117051005363, 0.03629531338810921, -0.04245409741997719, 0.030880426988005638, -0.013277718797326088, -0.0403435043990612, -0.021780649200081825, 0.05138087645173073, -0.003916278015822172, -0.04553349316120148, -0.009125728160142899, 0.05030827969312668, 0.014073516242206097, 0.03764471039175987, -0.0613456554710865, -0.022611046209931374, 0.01880505494773388, 0.04193510115146637, -0.0544256716966629, -0.004502314142882824, -0.059062059968709946, 0.030845826491713524 ]
42,070
patch_ng
fromurl
Parse patch from an URL, return False if an error occured. Note that this also can throw urlopen() exceptions.
def fromurl(url): """ Parse patch from an URL, return False if an error occured. Note that this also can throw urlopen() exceptions. """ ps = PatchSet( urllib_request.urlopen(url) ) if ps.errors == 0: return ps return False
(url)
[ 0.03421095758676529, -0.021622436121106148, -0.04813462868332863, 0.0329451709985733, -0.024240709841251373, -0.001091308775357902, 0.013204077258706093, 0.017070800065994263, -0.006103526335209608, 0.019819121807813644, -0.006415638606995344, -0.008344665169715881, -0.034505732357501984, 0.03911805525422096, -0.008609093725681305, -0.03199149668216705, 0.007499361410737038, 0.036655835807323456, 0.0054359533824026585, -0.04116412252187729, -0.019593706354498863, 0.029078448191285133, 0.02919982559978962, 0.0626651793718338, 0.007859157398343086, 0.03537271171808243, 0.05919726938009262, -0.02111958898603916, 0.008370674215257168, -0.009918230585753918, 0.08010878413915634, 0.05940534546971321, 0.010299701243638992, 0.010403738357126713, -0.018830766901373863, 0.0023365062661468983, 0.018431955948472023, 0.040123749524354935, -0.028142111375927925, -0.001737207523547113, -0.001262536970898509, 0.02651219256222248, -0.020772797986865044, 0.007742115296423435, 0.041684310883283615, 0.0064763268455863, -0.0975177064538002, 0.02072077803313732, -0.054827701300382614, -0.0386672280728817, 0.018327917903661728, 0.04678214341402054, 0.03901401907205582, -0.009415383450686932, -0.012605862691998482, 0.010611812584102154, 0.021223625168204308, 0.09724027663469315, -0.019038841128349304, 0.05763670802116394, 0.008860517293214798, 0.015605607070028782, -0.03911805525422096, -0.04192706570029259, -0.04119880497455597, -0.027361830696463585, 0.017313554883003235, -0.020027196034789085, -0.04886288940906525, -0.012996003031730652, -0.03481784462928772, 0.0479959137737751, -0.05118639022111893, -0.03755749389529228, 0.070294588804245, 0.005383934359997511, 0.05025005713105202, -0.03518197312951088, 0.0024275388568639755, 0.018431955948472023, -0.026997700333595276, 0.045741770416498184, 0.05451558902859688, -0.0179984662681818, -0.01564028672873974, -0.02883569523692131, 0.11021026968955994, -0.020356647670269012, -0.02106756903231144, 0.06606373935937881, -0.0015898211859166622, 0.025870628654956818, -0.005253887735307217, -0.08898664265871048, 0.010022267699241638, 0.04910564422607422, 0.025957327336072922, -0.005722056142985821, -0.016186483204364777, -0.0651274025440216, 0.018640030175447464, -0.011487460695207119, -0.0961998999118805, -0.04102540761232376, -0.011201358400285244, -0.018501315265893936, 0.016169143840670586, -0.001012196997180581, -0.026338797062635422, -0.003513429081067443, 0.0020059708040207624, -0.06193692237138748, -0.04352230578660965, 0.07022523134946823, 0.07511498779058456, -0.06616777181625366, -0.023755202069878578, -0.020755458623170853, 0.01740892231464386, -0.014322479255497456, -0.07150836288928986, 0.048446740955114365, -0.00009252283052774146, 0.04175366833806038, 0.056214865297079086, 0.0056093488819897175, 0.007768124341964722, -0.031211214140057564, 0.08101043850183487, -0.04466671496629715, 0.005245218053460121, 0.0348525233566761, -0.030066803097724915, 0.01954168826341629, -0.034887202084064484, -0.03244232386350632, -0.07310359925031662, 0.00958877895027399, 0.004568974953144789, -0.00734330527484417, -0.004469272680580616, 0.03344801813364029, -0.0035329360980540514, -0.02613072283565998, -0.08773819357156754, -0.06478060781955719, -0.03310122713446617, -0.02011389471590519, -0.02026994898915291, 0.06214499473571777, 0.03786960616707802, -0.04393845424056053, 0.03462710976600647, 0.010577133856713772, -0.03481784462928772, -0.020391326397657394, 0.004061792977154255, -0.04525626078248024, 0.023755202069878578, -0.05631890147924423, 0.021379681304097176, 0.03403756394982338, 0.03658647835254669, -0.0056266882456839085, -0.025870628654956818, -0.025627875700592995, 0.013941009528934956, -0.06769365817308426, -0.04868949577212334, 0.020373987033963203, 0.014062386006116867, 0.07019055634737015, 0.0204780250787735, 0.03443637490272522, 0.046886179596185684, 0.02243739552795887, 0.03329196199774742, 0.02535044215619564, 0.020027196034789085, 0.020200591534376144, -0.0017523796996101737, 0.042828723788261414, 0.005652697756886482, 0.08614294975996017, 0.009892220608890057, 0.013741604052484035, -0.0476144403219223, -0.017478279769420624, 0.013490180484950542, 0.05881579965353012, -0.01401036698371172, -0.029477259144186974, 0.04060925915837288, 0.01603042706847191, -0.013620227575302124, -0.046539388597011566, -0.0641910657286644, 0.024483464658260345, -0.014929364435374737, 0.027986055240035057, -0.029147805646061897, -0.04300211742520332, -0.04404249042272568, 0.04352230578660965, -0.014816656708717346, 0.0036348060239106417, -0.023720523342490196, -0.02574925124645233, 0.009753504768013954, 0.053440533578395844, -0.019784441217780113, 0.014547893777489662, -0.004647003021091223, 0.036239687353372574, -0.015813682228326797, -0.04262064769864082, 0.03977695852518082, -0.0028762000147253275, -0.05576403811573982, 0.005158520303666592, -0.02243739552795887, -0.005791414063423872, 0.08087172359228134, 0.01801580749452114, -0.0329451709985733, 0.04664342477917671, -0.0012137694284319878, 0.06963568925857544, -0.03287581354379654, -0.0160477664321661, 0.02439676597714424, -0.03091644123196602, 0.11582828313112259, -0.029928086325526237, 0.04140687733888626, -0.04241257160902023, -0.019108198583126068, 0.05399540066719055, 0.05122107267379761, 0.011288056150078773, 0.03095112182199955, 0.027327151969075203, 0.04022778943181038, 0.014131744392216206, -0.06165948882699013, 0.012519164942204952, 0.018119843676686287, -0.05083959922194481, -0.03887530043721199, -0.05867708474397659, 0.008929875679314137, 0.011582828126847744, 0.02401529625058174, 0.022177301347255707, 0.006454652640968561, -0.05045812949538231, -0.016593962907791138, -0.02994542568922043, 0.04376505687832832, 0.012137694284319878, 0.004503951873630285, -0.02205592580139637, 0.09231583774089813, 0.031436629593372345, -0.08524129539728165, -0.06696539372205734, 0.004469272680580616, 0.03554610535502434, 0.009146619588136673, 0.044423963874578476, 0.056180186569690704, -0.01548423059284687, 0.02767394296824932, -0.03655179962515831, -0.0007754036341793835, -0.016013087704777718, -0.007187249138951302, -0.013030681759119034, 0.0657169446349144, -0.0375228151679039, 0.0030452609062194824, 0.02280152589082718, 0.041892386972904205, 0.004276369698345661, 0.03157534450292587, -0.04841206222772598, -0.03327462449669838, 0.12103015184402466, -0.026390815153717995, 0.020391326397657394, 0.013602887280285358, -0.02068609930574894, 0.009926900267601013, -0.06276921927928925, -0.024830255657434464, 0.055590640753507614, 0.000887027068529278, -0.023287033662199974, -0.01267522107809782, -0.0026789626572281122, -0.025662554427981377, -0.04106008633971214, -0.0015215467428788543, 0.05704716593027115, -0.04522158205509186, -0.0259053073823452, 0.010369058698415756, -0.03020551986992359, -0.013360133394598961, 0.009996258653700352, 0.04886288940906525, 0.02593998797237873, -0.07518434524536133, -0.030656348913908005, -0.028783675283193588, 0.017825070768594742, -0.004811728838831186, -0.04705957695841789, 0.011591498740017414, -0.025229064747691154, -0.01896948181092739, -0.014339819550514221, 0.05468898266553879, 0.01403637696057558, -0.019281594082713127, -0.009363364428281784, 0.038979340344667435, -0.026546871289610863, -0.06072315201163292, 0.020807476714253426, -0.014478535391390324, 0.02262813039124012, 0.03329196199774742, 0.023685844615101814, -0.02011389471590519, -0.044770754873752594, -0.02727513387799263, -0.11034898459911346, 0.02649485319852829, -0.07449076324701309, 0.058469008654356, -0.038771264255046844, -0.047857195138931274, -0.04314083606004715, 0.03193947672843933, 0.014452526345849037, 0.010767868719995022, -0.011470121331512928, 0.03176607936620712, -0.0506662055850029, -0.019836461171507835, -0.006315935868769884, -0.06568226963281631, 0.027552567422389984, -0.010074286721646786, 0.033378660678863525, -0.0014370162971317768, -0.05531320720911026, 0.03773089125752449, -0.012293750420212746, 0.03693326935172081, 0.004037950653582811, -0.014833997003734112, -0.026650909334421158, -0.02070343866944313, -0.027015039697289467, 0.024604840204119682, 0.013715595006942749, -0.02861027978360653, -0.054654303938150406, -0.013273435644805431, 0.0773344561457634, 0.0032164889853447676, -0.053059063851833344, 0.01401903759688139, -0.04411185160279274, -0.011660856194794178, -0.023668505251407623, -0.009632127359509468, 0.05749799311161041, -0.006346280220896006, 0.00900790374726057, -0.02111958898603916, -0.010074286721646786, 0.03034423664212227, -0.04484011232852936, -0.051949333399534225, -0.0000742350093787536, -0.014912025071680546, 0.024119332432746887, 0.05607615038752556, -0.02150105871260166, 0.025801271200180054, 0.03728006035089493, -0.0236164852976799, 0.011019292287528515, 0.013941009528934956, 0.0033356985077261925, 0.022905563935637474, 0.017252866178750992, 0.05205336958169937, 0.023737862706184387, 0.018258560448884964, 0.014391837641596794, -0.008821503259241581, -0.020755458623170853, 0.021622436121106148, -0.016958093270659447, -0.04369569942355156, -0.05319778248667717, -0.006138205528259277, -0.028211470693349838, -0.02824614942073822, -0.0959918275475502, -0.020738117396831512, 0.02342575043439865, 0.0129526536911726, -0.029667994007468224, -0.005106501281261444, 0.005748065188527107, 0.06814448535442352, -0.005375264678150415, -0.00976217444986105, -0.003140628570690751, 0.0077377804554998875, -0.017946448177099228, 0.037661533802747726, -0.02668558806180954, -0.047094255685806274, 0.05590275302529335, 0.008773819543421268, -0.02106756903231144, 0.06842191517353058, 0.006255247630178928, 0.01081988774240017, -0.028367526829242706, 0.003548108274117112, 0.02380722016096115, -0.0249516312032938, 0.015154778957366943, 0.03169672191143036, 0.017660345882177353, -0.02382456138730049, 0.04175366833806038, 0.0649540051817894, -0.04983390495181084, 0.01801580749452114, -0.04851609840989113, -0.006333275698125362, -0.02571457251906395, -0.06155545264482498, -0.007091881707310677, 0.06346280127763748, 0.01545822061598301, -0.031610023230314255, 0.013993027620017529, -0.012536504305899143, 0.07754252851009369, -0.03710666671395302, 0.06377491354942322, 0.0034874198026955128, -0.014105735346674919, 0.010828557424247265, -0.0037280062679201365, -0.02013123407959938, -0.015146109275519848, 0.006376624573022127, 0.017547639086842537, 0.014816656708717346, -0.017946448177099228, -0.04026246815919876, -0.03348269686102867, 0.062006279826164246, 0.04425056651234627, -0.0712309256196022, 0.04841206222772598, -0.02150105871260166, 0.01820654235780239, 0.008357669226825237, -0.017929108813405037, -0.07143900543451309, -0.04986858367919922, 0.000743975630030036, 0.03358673304319382, -0.0019420310854911804, -0.0630466565489769, -0.02632145769894123, -0.043799739331007004, 0.018882784992456436, -0.03178342059254646, -0.007325965445488691, -0.022593451663851738, 0.04348762705922127, -0.03039625473320484, 0.014365828596055508, 0.004419421311467886, -0.0036066293250769377, 0.059231948107481, 0.053891364485025406, -0.025454480201005936, 0.04300211742520332, 0.022107943892478943, 0.026373475790023804, -0.015250146389007568, 0.03755749389529228, -0.015553588978946209, 0.01412307471036911, 0.014912025071680546, 0.013880320824682713, 0.022211981937289238, -0.0658903419971466, 0.06616777181625366, 0.04896692931652069, 0.05399540066719055, 0.02841954492032528, 0.02245473489165306, 0.050978317856788635, 0.0019116868497803807, -0.03206085413694382, 0.015544918365776539, 0.03845915198326111, -0.008773819543421268, 0.06960100680589676, -0.05243483930826187, -0.018327917903661728, -0.013602887280285358, 0.0013980022631585598, 0.02748320810496807, -0.038771264255046844, -0.023356392979621887, 0.10528583079576492, -0.005592009052634239, 0.005240883212536573, 0.004248192999511957, 0.020599402487277985, -0.01277925819158554, -0.013160728849470615, -0.029876068234443665, -0.06873402744531631, -0.0031102842185646296, 0.007902505807578564, 0.05722055956721306, 0.06651456654071808, 0.010845896787941456, -0.05160254240036011, 0.006003824062645435, -0.029251843690872192, 0.024812916293740273, -0.03429765626788139, -0.03252902254462242, 0.023945936933159828, 0.04425056651234627, 0.006831787992268801, -0.001046334276907146, 0.02032196894288063, 0.025437138974666595, 0.03325728327035904, 0.009623457677662373, 0.012553843669593334, -0.051567863672971725, -0.008357669226825237, -0.01703612133860588, -0.015787672251462936, 0.04705957695841789, -0.04185770824551582, 0.018796086311340332, -0.018535993993282318, 0.02051270380616188, -0.03204351291060448, -0.037834927439689636, 0.049036286771297455, -0.05895451828837395, -0.005639693234115839, 0.005284232087433338, 0.06564758718013763, 0.005219208542257547, 0.009987588971853256, 0.0011595833348110318, -0.00323816342279315, 0.022003905847668648, 0.010672501288354397, -0.03946484625339508, 0.020460685715079308, -0.03403756394982338, 0.01468661054968834, -0.03391618654131889, -0.021414361894130707, 0.045533694326877594, 0.02066875994205475, 0.014955373480916023, -0.01258852332830429, 0.0011368251871317625, 0.0020449848379939795, -0.0260960441082716, -0.03901401907205582, 0.004402081947773695, 0.014140414074063301, -0.04140687733888626, -0.021778492256999016, 0.0786522626876831, 0.025298424065113068, -0.019108198583126068, -0.002290989737957716, -0.05722055956721306, -0.021587757393717766, -0.022870885208249092, -0.044181209057569504, 0.008535400032997131, 0.030881762504577637, -0.059093233197927475, 0.06016828492283821, -0.05687376856803894, -0.03634372726082802, -0.022177301347255707, 0.0005247927037999034, -0.010195663198828697, -0.009189968928694725, 0.02264546975493431, -0.005154185462743044, -0.04487479105591774, 0.03870190680027008, 0.04029714688658714, 0.07088413834571838, 0.0170014426112175, 0.0023104967549443245, 0.022888224571943283, -0.03518197312951088, -0.0008453037007711828, -0.04334890842437744, -0.02163977548480034, 0.06537015736103058, 0.03076038509607315, 0.011496130377054214, -0.03410692140460014, 0.014183763414621353, -0.05042345076799393, 0.04192706570029259, -0.03225158900022507, 0.01995783858001232, 0.04487479105591774, -0.03651712089776993, -0.045394979417324066, -0.021778492256999016, -0.0022584781982004642, -0.01701878197491169, 0.01499005313962698, 0.0006171800778247416, 0.008179939351975918, 0.06405235081911087, -0.014071055687963963, 0.0011650018859654665, -0.008635102771222591, 0.056561656296253204, -0.008947215043008327, -0.012987333349883556, 0.02531576342880726, 0.005539990495890379, 0.02455282211303711, -0.038389794528484344, -0.0021620269399136305, -0.038424473255872726, -0.004451932851225138, -0.016680659726262093, 0.02649485319852829, -0.010056947357952595, 0.03887530043721199, 0.03115919604897499, -0.029130466282367706, -0.0070311930030584335, 0.024310069158673286, -0.03304920718073845, 0.05354457348585129, -0.028575601056218147, 0.025974666699767113, 0.06079250946640968, -0.06051507592201233, -0.07379718124866486, -0.054654303938150406, 0.00020699104061350226, 0.01237177848815918, -0.0003576285089366138, 0.0232350155711174, 0.007638077717274427, 0.04296743869781494, -0.022107943892478943, 0.05742863565683365, 0.018726728856563568, 0.0013448998797684908, 0.01064649224281311, 0.011079980991780758, 0.0010154482442885637, 0.0765715166926384, -0.015423541888594627, 0.02588796801865101, -0.029303861781954765, 0.06100058555603027, -0.020165912806987762, 0.046365994960069656, 0.015276155434548855, 0.02668558806180954, 0.03967292234301567, 0.004425923805683851, -0.01954168826341629, 0.029321203008294106, -0.02434474788606167, 0.01603909581899643, -0.04178834706544876, 0.027413850650191307, -0.08787690848112106, 0.012337099760770798, -0.047857195138931274, 0.004885422065854073, 0.021240966394543648, -0.05572935938835144, 0.04733701050281525, -0.009606118313968182, -0.030656348913908005, -0.03147130832076073, 0.01373293437063694, 0.06016828492283821, -0.038563188165426254, -0.03053497150540352, -0.013030681759119034, 0.0181892029941082, -0.02573191188275814, -0.0025727576576173306, -0.026581551879644394, -0.020547382533550262, -0.0002936888486146927, -0.015909049659967422, -0.05420347675681114, 0.04289808124303818, -0.008851847611367702, 0.005305906292051077, 0.00551831629127264, -0.04737168923020363, -0.023339051753282547, -0.0057827443815767765, 0.0794152021408081, -0.05125575140118599, -0.007443007547408342, -0.04643535241484642, -0.044978827238082886, -0.020356647670269012, -0.0305696502327919, -0.004894091747701168, 0.013126050122082233, -0.01500739250332117, -0.04078265279531479, 0.020616741850972176, -0.026217419654130936, -0.04466671496629715, 0.009961578994989395, 0.044562678784132004, 0.03773089125752449, -0.04969519004225731, -0.004993794485926628, 0.035719502717256546, 0.042447250336408615, 0.011721544899046421, -0.022576112300157547, 0.027396511286497116, 0.014079725369811058, 0.029286522418260574, -0.0599948912858963, 0.0004508286656346172, -0.07345039397478104, -0.03322260454297066 ]
42,071
genericpath
isfile
Test whether a path is a regular file
def isfile(path): """Test whether a path is a regular file""" try: st = os.stat(path) except (OSError, ValueError): return False return stat.S_ISREG(st.st_mode)
(path)
[ 0.05362867936491966, -0.02214857004582882, 0.03468897566199303, 0.011286365799605846, 0.03728926554322243, -0.0010436890879645944, 0.07472606748342514, -0.026150435209274292, -0.031295690685510635, 0.0010264000156894326, 0.09914297610521317, 0.0400555320084095, 0.0274413600564003, -0.015527973882853985, -0.03538976237177849, 0.02139245718717575, 0.02956216409802437, 0.021816618740558624, 0.01888437569141388, -0.014449129812419415, -0.025523414835333824, 0.0077132717706263065, 0.014015748165547848, -0.003358707996085286, 0.0029714307747781277, 0.060415249317884445, 0.016468504443764687, -0.0015733138425275683, 0.04710029065608978, -0.03727082535624504, -0.02316286787390709, 0.0067865727469325066, 0.00963582657277584, -0.013480937108397484, -0.047137174755334854, 0.013001450337469578, 0.006496114656329155, 0.01012453343719244, -0.027072524651885033, -0.03931786119937897, -0.0548827201128006, 0.07159096747636795, -0.05495648458600044, 0.05134189873933792, -0.03168296813964844, -0.020009323954582214, -0.05536220595240593, -0.005638572387397289, 0.0016159603837877512, 0.016616038978099823, 0.05171073228120804, 0.014430687762796879, -0.022554289549589157, -0.01042882353067398, 0.0036468608304858208, -0.030558019876480103, 0.011240261606872082, 0.06067343428730965, -0.033416494727134705, -0.01221767533570528, 0.035574182868003845, -0.014329258352518082, 0.01286313682794571, -0.09892167150974274, 0.00001209340916830115, -0.0299125574529171, -0.032973892986774445, -0.09722503274679184, -0.014781082049012184, 0.02355014532804489, -0.058866143226623535, 0.08719270676374435, 0.005057656671851873, 0.013333402574062347, 0.001051757368259132, 0.015509531833231449, -0.0010846068616956472, 0.013665354810655117, 0.02642706222832203, 0.00502999359741807, -0.03727082535624504, -0.03404351323843002, 0.05012474209070206, 0.047579776495695114, -0.005509479902684689, -0.012494301423430443, 0.03704952448606491, -0.004799471702426672, -0.015260567888617516, 0.04732159152626991, 0.05303854122757912, 0.022130127996206284, -0.008294187486171722, -0.053886864334344864, 0.007791649550199509, 0.005578636657446623, 0.03660692274570465, 0.0023190530482679605, -0.053222957998514175, -0.04562494903802872, -0.03625652566552162, 0.021890385076403618, 0.02037815935909748, -0.01584148406982422, 0.021908827126026154, 0.023623911663889885, -0.01351782027631998, 0.005550974048674107, -0.02709096670150757, -0.07575880736112595, -0.010281288996338844, -0.03304765745997429, 0.012466639280319214, 0.050973061472177505, 0.014476792886853218, -0.040608786046504974, 0.02421404980123043, -0.03360091149806976, -0.029433071613311768, -0.026961874216794968, 0.05089929699897766, 0.019695814698934555, 0.026353294029831886, 0.013093659654259682, 0.065025694668293, -0.016874223947525024, 0.02179817669093609, -0.001592908171005547, -0.005532531999051571, 0.008340292610228062, -0.04728470742702484, -0.009921674616634846, 0.002724772086367011, 0.0529278926551342, -0.05643182620406151, 0.03249440714716911, -0.007994509302079678, 0.011618317104876041, 0.024804186075925827, -0.016616038978099823, 0.027293825522065163, -0.024914836511015892, -0.03092685528099537, 0.011876502074301243, -0.020138416439294815, 0.015325114130973816, 0.015795379877090454, 0.032051801681518555, 0.05123124644160271, 0.0501985065639019, 0.002759350463747978, -0.02249896340072155, 0.01514991745352745, 0.034393906593322754, 0.023882096633315086, -0.03625652566552162, 0.007160018663853407, 0.019953999668359756, -0.03799005597829819, -0.027293825522065163, 0.0029483786784112453, 0.021632200106978416, -0.029359303414821625, 0.006823456380516291, 0.015592520125210285, 0.020138416439294815, -0.07384086400270462, -0.021982595324516296, 0.0022694908548146486, 0.015620182268321514, 0.01762111485004425, 0.0015145306242629886, 0.0286769587546587, 0.019400745630264282, 0.035574182868003845, 0.010410381481051445, 0.008575424551963806, 0.05484583601355553, 0.017879299819469452, 0.030244508758187294, 0.03441235050559044, -0.03961293026804924, -0.019658930599689484, 0.04949771985411644, 0.007796260062605143, 0.042194779962301254, -0.022867798805236816, -0.046251967549324036, 0.04728470742702484, 0.030373601242899895, -0.05359179526567459, 0.032309986650943756, 0.012300662696361542, -0.017150849103927612, -0.01140623725950718, 0.003538515418767929, 0.01888437569141388, 0.01976958103477955, -0.07015250623226166, 0.016754351556301117, 0.002860780106857419, -0.028437215834856033, -0.005938251037150621, -0.005661624483764172, -0.013600808568298817, 0.001424627029336989, 0.01023518480360508, -0.011350912041962147, -0.04027683287858963, 0.08055366575717926, -0.03489183634519577, -0.07752921432256699, 0.008059055544435978, 0.09302030503749847, 0.026980314403772354, 0.0374552421271801, 0.0021530771628022194, 0.062443844974040985, -0.057464566081762314, 0.014605884440243244, 0.06343970447778702, 0.03391442075371742, -0.022794032469391823, -0.010106092318892479, 0.04116204008460045, -0.02262805588543415, -0.002701719757169485, 0.05270658805966377, -0.021429341286420822, 0.012586510740220547, 0.006214877590537071, -0.026537712663412094, 0.0329001247882843, 0.025947576388716698, -0.062296312302351, -0.024380024522542953, 0.05879237502813339, -0.022609613835811615, -0.007856195792555809, -0.013776005245745182, 0.02272026613354683, 0.01329651940613985, -0.008372565731406212, -0.005532531999051571, -0.06764442473649979, -0.061521757394075394, 0.011913386173546314, 0.021060505881905556, -0.06934107095003128, -0.011212598532438278, 0.008501657284796238, 0.0496821403503418, -0.04001864790916443, -0.05237463861703873, -0.012300662696361542, -0.00047257044934667647, -0.03780563548207283, 0.021724410355091095, 0.019437629729509354, 0.038358889520168304, -0.010179859586060047, 0.014449129812419415, -0.004031832795590162, 0.004649632144719362, -0.002588764065876603, -0.052300870418548584, 0.0034624431282281876, 0.03876460716128349, -0.007971457205712795, -0.023587029427289963, 0.12053543329238892, -0.023716121912002563, 0.015850704163312912, -0.028215913102030754, -0.005527921486645937, -0.021410899236798286, 0.01841411180794239, -0.007109303958714008, 0.06952548772096634, 0.040830086916685104, -0.04732159152626991, 0.0422685444355011, 0.027275383472442627, 0.01230988372117281, -0.0425267294049263, 0.0425267294049263, -0.02148466743528843, 0.045772481709718704, -0.024914836511015892, 0.046251967549324036, 0.014264712110161781, -0.005200580228120089, -0.02439846657216549, -0.0053988294675946236, 0.01508537121117115, 0.0823240801692009, 0.026261085644364357, -0.04385453835129738, 0.003497021272778511, -0.06521011143922806, -0.026629921048879623, 0.03686510771512985, -0.035979900509119034, -0.013287298381328583, -0.01784241572022438, -0.024859510362148285, -0.036643803119659424, -0.03293700888752937, -0.059271860867738724, 0.03271570801734924, 0.020525693893432617, -0.024896394461393356, -0.028289681300520897, -0.013536262325942516, 0.06731247156858444, 0.03136945888400078, -0.012577289715409279, -0.059087444096803665, -0.021208040416240692, 0.003674523439258337, -0.027330709621310234, 0.030115416273474693, 0.02037815935909748, -0.02113427221775055, -0.010290510021150112, 0.00968193169683218, -0.005661624483764172, -0.06329216808080673, -0.03247596323490143, 0.04392830654978752, 0.007455087266862392, -0.021724410355091095, 0.06616908311843872, -0.010179859586060047, -0.02002776600420475, 0.009119457565248013, -0.016274865716695786, -0.03692043200135231, -0.015767715871334076, 0.02651927061378956, -0.008709128014743328, -0.0017266110517084599, 0.00010604019917082042, -0.025357438251376152, -0.014550559222698212, -0.02297845110297203, 0.0038935195188969374, 0.02214857004582882, 0.05285412445664406, -0.016376296058297157, 0.025947576388716698, -0.0033079932909458876, -0.06830833107233047, -0.014255491085350513, -0.05779651924967766, 0.05554662272334099, 0.008358733728528023, 0.05834977328777313, -0.011101948097348213, 0.06683298945426941, 0.08630750328302383, 0.04997720569372177, -0.013471716083586216, -0.0756850391626358, 0.003960371017456055, 0.002690193708986044, 0.027017198503017426, 0.06015706807374954, 0.003370234277099371, 0.011618317104876041, 0.04518234729766846, 0.033730003982782364, -0.02832656539976597, -0.03444923460483551, 0.026131993159651756, -0.06299710273742676, 0.03136945888400078, -0.07834065705537796, -0.01984334923326969, 0.02911956049501896, 0.00382666802033782, -0.012411314062774181, 0.03391442075371742, 0.005790716968476772, 0.016662143170833588, 0.023900538682937622, -0.0035984511487185955, -0.05576792359352112, -0.021908827126026154, -0.08202900737524033, 0.026666805148124695, -0.039981767535209656, 0.005389608442783356, -0.013351844623684883, -0.04396519064903259, -0.002119651297107339, 0.05178450047969818, 0.009280822239816189, -0.05126813054084778, 0.034080397337675095, 0.013434831984341145, 0.06207501143217087, -0.04643638804554939, -0.009299264289438725, -0.01704942062497139, 0.03653315454721451, 0.04794861376285553, 0.012964567169547081, 0.030060091987252235, -0.022074803709983826, 0.029433071613311768, -0.046915873885154724, -0.024250932037830353, -0.03802693635225296, 0.015361997298896313, 0.02130024880170822, -0.04507169499993324, -0.052669707685709, 0.0751686692237854, -0.03216245397925377, -0.007155408151447773, -0.00827113538980484, -0.041272688657045364, 0.024859510362148285, 0.034559883177280426, -0.001272482448257506, -0.0021622979547828436, -0.004223166033625603, 0.0057814959436655045, 0.04134645685553551, -0.06683298945426941, -0.001202173181809485, 0.0006529540405608714, -0.006164162885397673, -0.029396187514066696, -0.07988976687192917, -0.031387899070978165, -0.03964981436729431, -0.05134189873933792, 0.0036191982217133045, -0.03987111523747444, 0.07247617095708847, 0.002607205882668495, -0.022351430729031563, 0.0273122675716877, -0.011101948097348213, 0.008801336400210857, 0.022259220480918884, 0.10600331425666809, -0.01971425674855709, -0.039981767535209656, 0.03035515919327736, 0.032881684601306915, -0.0010321630397811532, -0.009174782782793045, 0.0008062513079494238, -0.011526108719408512, 0.02338416874408722, -0.008275746367871761, -0.015500310808420181, -0.05270658805966377, 0.08549606055021286, 0.02500704489648342, -0.08918441832065582, 0.05303854122757912, -0.01984334923326969, -0.0029668202623724937, -0.001569855958223343, 0.07111147791147232, 0.03321363404393196, -0.006911054719239473, 0.015454206615686417, -0.04451844096183777, -0.034781184047460556, 0.012199233286082745, 0.051636967808008194, -0.02430625818669796, 0.06377165764570236, -0.02915644459426403, 0.022351430729031563, 0.03374844789505005, -0.05130501464009285, -0.03931786119937897, 0.004022611770778894, 0.01202403660863638, -0.02113427221775055, -0.027810195460915565, 0.005896757356822491, -0.06237008050084114, -0.06598466634750366, 0.0447397418320179, -0.04248984530568123, 0.003029061248525977, -0.009764919057488441, 0.0347258597612381, 0.0009238176280632615, -0.05263282358646393, 0.11013427376747131, 0.01250352244824171, 0.021226482465863228, 0.015823042020201683, -0.029488395899534225, -0.016459282487630844, 0.0472109392285347, -0.013978864997625351, 0.0048501864075660706, 0.03564794734120369, -0.07642271369695663, -0.02972813881933689, -0.020968297496438026, -0.0300416499376297, 0.04193659499287605, -0.04385453835129738, 0.059566929936409, 0.05337049439549446, 0.011562991887331009, 0.0452561117708683, -0.014412246644496918, 0.02157687582075596, -0.020617902278900146, 0.002242980757728219, -0.03666224703192711, -0.017279941588640213, -0.028160588815808296, -0.01949295587837696, 0.008437111973762512, -0.010816100053489208, -0.013776005245745182, 0.021982595324516296, 0.021410899236798286, 0.03618276119232178, 0.01746436022222042, 0.023273518308997154, -0.01100973878055811, 0.022609613835811615, 0.0026002901140600443, 0.03976046293973923, 0.0025979848578572273, -0.01584148406982422, -0.0326419398188591, -0.015481868758797646, 0.033766888082027435, 0.04156775772571564, -0.0263348538428545, -0.019695814698934555, -0.02969125658273697, -0.0008869340526871383, -0.10010194778442383, 0.038580190390348434, -0.04440779238939285, -0.019658930599689484, -0.02329196035861969, -0.0356295071542263, 0.018958143889904022, 0.061964359134435654, 0.06233319640159607, 0.020359719172120094, -0.015564857050776482, -0.03317674994468689, -0.018119042739272118, -0.06956236809492111, -0.01971425674855709, -0.00271785631775856, 0.0014465266140177846, -0.06646415591239929, -0.012402093037962914, -0.014522897079586983, 0.02201947756111622, 0.024675093591213226, -0.03273414820432663, 0.03361935541033745, -0.03662536293268204, 0.020009323954582214, -0.03574015945196152, 0.04684210568666458, 0.003222699975594878, 0.0037851741071790457, 0.05171073228120804, -0.0019525227835401893, -0.01621953956782818, 0.012125466018915176, -0.0784144252538681, -0.029193328693509102, -0.02085764706134796, -0.0524115227162838, -0.024287816137075424, -0.04791172966361046, 0.0378425195813179, -0.05672689527273178, 0.03708640858530998, 0.01825735531747341, -0.034393906593322754, 0.05016162618994713, -0.04732159152626991, 0.004937784746289253, 0.037565894424915314, 0.027810195460915565, -0.008898155763745308, 0.006652869749814272, 0.024121839553117752, -0.01846943609416485, -0.019087236374616623, 0.007436645217239857, -0.06310775130987167, -0.040424369275569916, 0.005509479902684689, 0.02589225023984909, 0.039981767535209656, 0.011028180830180645, 0.00333104538731277, -0.01568472944200039, 0.03802693635225296, -0.004734925460070372, 0.01901346817612648, 0.07066887617111206, 0.1020936593413353, -0.039059676229953766, -0.019953999668359756, -0.005071487743407488, 0.005813769064843655, -0.03935474529862404, 0.007547296117991209, 0.057021964341402054, -0.00853854138404131, 0.01537121832370758, -0.018266577273607254, 0.010419602505862713, -0.03935474529862404, -0.03920721262693405, -0.039059676229953766, 0.020894529297947884, -0.02170596830546856, -0.013287298381328583, -0.018395669758319855, 0.03162764385342598, -0.116256944835186, -0.05753833428025246, 0.013158205896615982, 0.0331583097577095, 0.010419602505862713, -0.026832781732082367, -0.11256858706474304, -0.0029921778477728367, -0.022996891289949417, -0.036201201379299164, -0.000573712051846087, 0.008137432858347893, -0.005546363536268473, 0.11456029862165451, -0.027146290987730026, 0.04370700567960739, 0.03887525945901871, 0.0013082133373245597, -0.04901823401451111, 0.00502999359741807, 0.009239329025149345, 0.05923497676849365, -0.03697575628757477, -0.009543618187308311, -0.004582780878990889, 0.04588313400745392, -0.01707708276808262, -0.014605884440243244, 0.006523777265101671, 0.034301698207855225, 0.008026782423257828, -0.018644632771611214, -0.03479962795972824, 0.0004889951669611037, 0.03491027653217316, -0.015518752858042717, 0.06277579814195633, 0.011018959805369377, -0.040387485176324844, 0.04835433140397072, 0.0371970571577549, 0.005952082574367523, 0.005080708768218756, 0.038801491260528564, 0.03843265771865845, -0.03461521118879318, 0.05289100855588913, 0.020931413397192955, 0.003709101816639304, 0.002655615331605077, 0.003845109837129712, -0.037565894424915314, 0.005804548505693674, 0.043522585183382034, -0.0249701626598835, -0.030631786212325096, -0.009930895641446114, -0.005892146844416857, -0.004315374884754419, -0.04204724356532097, 0.00830340851098299, 0.04178905859589577, 0.1515176147222519, 0.0010079581988975406, 0.006058122497051954, 0.00060223916079849, 0.0074089826084673405, 0.03184894472360611, -0.04344882071018219, 0.012107024900615215, -0.04068255424499512, -0.05314919352531433, 0.012890799902379513, 0.0001402583293383941, -0.016938770189881325, -0.029488395899534225, 0.0011491529876366258, 0.02734914980828762, -0.018709179013967514, 0.04049813374876976, -0.05964069813489914, -0.0289351437240839, -0.04879693314433098, 0.05731703341007233, -0.028179030865430832, -0.019622046500444412, -0.0524115227162838, -0.04769042879343033, 0.03184894472360611, -0.08269291371107101, -0.03935474529862404, -0.022074803709983826, -0.0002511250786483288, 0.0375843346118927, -0.010179859586060047, 0.020636344328522682, 0.010327393189072609, -0.04957148805260658, 0.03476274386048317, -0.03891214355826378, -0.010152196511626244, -0.03662536293268204, 0.03146166726946831, -0.003328740131109953, 0.052743472158908844, -0.004877849016338587, 0.00274551915936172, -0.029230210930109024, -0.07214421778917313, -0.01373912114650011, -0.019400745630264282, 0.07701284438371658, 0.018294239416718483, 0.0031327963806688786, 0.04529299587011337, 0.004207029473036528, -0.04248984530568123, -0.024140281602740288, 0.013545483350753784, 0.020876087248325348, 0.02034127712249756, -0.05038292706012726, -0.018211251124739647, 0.04890758544206619, -0.010963634587824345, -0.014310816302895546, -0.0013036029413342476, -0.0035846198443323374, -0.035758599638938904, -0.024914836511015892, 0.005726170726120472, -0.07277123630046844, 0.01361002866178751 ]
42,072
patch_ng
load
Loads a file content
def load(path, binary=False): """ Loads a file content """ with open(path, 'rb') as handle: tmp = handle.read() return tmp if binary else decode_text(tmp)
(path, binary=False)
[ 0.05261824280023575, -0.02044161967933178, -0.01906508021056652, 0.020613687112927437, -0.005540573503822088, -0.01479780487716198, 0.008474324829876423, 0.07687976211309433, 0.030696842819452286, -0.016346413642168045, 0.0737825483083725, 0.06149692460894585, -0.044049281626939774, 0.011941485106945038, -0.022626876831054688, 0.008134490810334682, -0.02692856453359127, -0.003925289958715439, -0.04026379436254501, -0.022403188049793243, -0.0407111719250679, -0.011476902291178703, 0.00023135013179853559, 0.052515000104904175, 0.007287058513611555, -0.013834226876497269, -0.010952096432447433, -0.013240594416856766, -0.03733864799141884, -0.03415539860725403, 0.0943618193268776, -0.03234868869185448, -0.0207685474306345, 0.0270145982503891, -0.04962426796555519, 0.034602776169776917, 0.03833663836121559, 0.0034972720313817263, 0.01640663668513298, -0.018118707463145256, -0.04167474806308746, -0.0001451819553039968, 0.0007479559280909598, 0.011244610883295536, -0.04298246279358864, -0.01963290199637413, -0.012879252433776855, -0.042466260492801666, -0.03658154979348183, 0.04157150909304619, 0.06641805917024612, -0.03572121262550354, 0.009145387448370457, 0.015701159834861755, -0.00336176878772676, 0.02035558596253395, -0.04614850506186485, 0.07219952344894409, 0.0022454808931797743, 0.036099761724472046, 0.0069687338545918465, -0.06118720397353172, 0.013068526983261108, 0.005630908999592066, -0.004443643148988485, 0.024450791999697685, 0.03193572908639908, -0.06373380124568939, 0.003166042035445571, -0.0264123622328043, 0.009945501573383808, 0.04277598112821579, -0.010780028998851776, -0.0018615552689880133, 0.031712040305137634, 0.01546026486903429, -0.04776594042778015, -0.01035846397280693, 0.0044393413700163364, 0.06084306910634041, 0.0033058468252420425, -0.024691686034202576, 0.032228242605924606, 0.03510177135467529, -0.03229707106947899, -0.09642662853002548, 0.10737012326717377, 0.0015754930209368467, 0.01724976673722267, 0.02809862233698368, 0.03052477538585663, -0.009024940431118011, -0.03128187358379364, 0.03338109701871872, -0.0018475748365744948, -0.049452200531959534, 0.06197871267795563, 0.04298246279358864, -0.06376821547746658, -0.03881843015551567, -0.07715506851673126, 0.0411241315305233, -0.04903923720121384, -0.019770555198192596, 0.01588183082640171, 0.003819898469373584, 0.018359603360295296, -0.03193572908639908, 0.00822482630610466, -0.0532032735645771, -0.03463718667626381, -0.05857177823781967, -0.04236301779747009, 0.06201312690973282, 0.004787778481841087, -0.04480637609958649, 0.002765985205769539, -0.013627746142446995, -0.018015466630458832, 0.030455948784947395, -0.01878977194428444, -0.005704037845134735, -0.004056491423398256, 0.005820183083415031, 0.05196438729763031, 0.04700884222984314, 0.04019496962428093, -0.042397432029247284, 0.027152251452207565, 0.018376808613538742, 0.06545447558164597, -0.026343533769249916, -0.01571836695075035, -0.00803985446691513, -0.007850579917430878, -0.03341550752520561, -0.01076282188296318, 0.026704875752329826, 0.04301687702536583, 0.021714918315410614, 0.026188673451542854, -0.014290206134319305, 0.02665325626730919, -0.03178086876869202, 0.005549177061766386, -0.00422210618853569, 0.08087172359228134, -0.045701127499341965, -0.07226835191249847, 0.06342408061027527, 0.023211905732750893, -0.06803549081087112, -0.03229707106947899, 0.019374800845980644, 0.041261788457632065, -0.05010605603456497, -0.009291645139455795, 0.0016830352833494544, -0.02152564376592636, 0.006383704487234354, 0.01328361127525568, 0.047112081199884415, 0.0002938590187113732, -0.010470307432115078, 0.004250067286193371, 0.035377077758312225, 0.00640951469540596, -0.02870086021721363, -0.0179466400295496, -0.04091765359044075, -0.06153133884072304, -0.020613687112927437, -0.10165748000144958, 0.034413501620292664, 0.043361011892557144, -0.02878689393401146, 0.00993689801543951, 0.0035144786816090345, 0.024381965398788452, 0.040779996663331985, 0.011958691291511059, 0.017447644844651222, -0.00814739614725113, 0.02278173714876175, 0.04893599823117256, 0.0326584130525589, 0.019581282511353493, 0.02185257337987423, 0.09078281372785568, 0.01364495325833559, -0.002383135026320815, 0.005346997641026974, -0.026945771649479866, -0.003017633920535445, -0.007429014425724745, -0.06252933293581009, 0.023005425930023193, -0.02737594023346901, -0.04903923720121384, 0.012664168141782284, 0.029819298535585403, -0.008659296669065952, 0.052549414336681366, 0.013799813576042652, -0.026962976902723312, 0.01689702831208706, -0.019787762314081192, 0.044565483927726746, -0.059122394770383835, 0.052274107933044434, -0.013369644992053509, -0.022437602281570435, -0.028649238869547844, 0.020303964614868164, 0.05437333136796951, -0.009076560847461224, -0.136208638548851, 0.038439881056547165, -0.009136784821748734, 0.005751356482505798, 0.08045876771211624, 0.08155999332666397, -0.02894175425171852, 0.01636361889541149, 0.021714918315410614, -0.012079138308763504, -0.04752504453063011, -0.012414670549333096, -0.0282190702855587, 0.047077666968107224, 0.04614850506186485, -0.041261788457632065, 0.025311129167675972, -0.030490361154079437, 0.03861194849014282, 0.05760819837450981, 0.015348421409726143, 0.01935759373009205, 0.025896159932017326, -0.010143379680812359, 0.019615694880485535, -0.014066518284380436, -0.020389998331665993, 0.00112166500184685, -0.03234868869185448, 0.012603944167494774, 0.013300818391144276, -0.01665613427758217, -0.0503813661634922, -0.049280133098363876, 0.0179466400295496, 0.027238285169005394, 0.02100944146513939, 0.007549461908638477, 0.011029526591300964, 0.006590185221284628, 0.004447944927960634, -0.0963578000664711, 0.007342980708926916, 0.01858329027891159, -0.013576125726103783, -0.02185257337987423, 0.00013066375686321408, 0.0108832698315382, -0.015150543302297592, -0.04862627759575844, -0.045253753662109375, 0.03415539860725403, 0.028408344835042953, -0.03947228565812111, -0.011700590141117573, 0.022523635998368263, 0.0019174772314727306, -0.04576995596289635, -0.0006931094103492796, -0.04422134906053543, 0.04115854576230049, -0.025259509682655334, 0.06521358340978622, 0.019564075395464897, -0.07598500698804855, 0.03272723779082298, 0.021628884598612785, -0.02825348451733589, -0.019891003146767616, -0.00939488597214222, -0.05599076673388481, -0.06910230964422226, -0.057677026838064194, -0.003378975670784712, 0.03448232635855675, -0.021267542615532875, -0.047146495431661606, -0.011588746681809425, 0.024605652317404747, 0.004413531627506018, -0.07570970058441162, -0.035858865827322006, 0.045012857764959335, -0.049727506935596466, -0.0183423962444067, -0.025379955768585205, 0.04614850506186485, 0.006091189570724964, 0.006663314066827297, -0.033845677971839905, -0.03850870579481125, -0.05261824280023575, -0.023280732333660126, 0.06273581087589264, 0.0350673571228981, -0.037235409021377563, 0.02254084311425686, 0.07075415551662445, -0.006474039983004332, 0.02422710508108139, -0.01322338730096817, 0.0009103446500375867, 0.05310003086924553, -0.06256374716758728, -0.011562936007976532, 0.006461134646087885, -0.008835665881633759, 0.016836805269122124, 0.024209897965192795, -0.01076282188296318, 0.028924547135829926, -0.013292214833199978, 0.0503813661634922, 0.03954111039638519, 0.01777457259595394, 0.03902490809559822, 0.04060792922973633, 0.0012603944633156061, 0.009308852255344391, -0.007867786101996899, -0.005476048216223717, -0.013395454734563828, -0.009928294457495213, -0.039369042962789536, 0.07598500698804855, -0.027754487469792366, -0.009326058439910412, -0.0025724091101437807, 0.030025778338313103, 0.027152251452207565, 0.0021852573845535517, 0.025620851665735245, 0.01959848776459694, -0.0326584130525589, -0.022162294015288353, -0.06507592648267746, -0.034293051809072495, -0.024536825716495514, -0.10509882867336273, 0.000683968304656446, 0.026842530816793442, 0.045976437628269196, 0.02310866490006447, -0.04005731642246246, 0.005420126486569643, 0.008328067138791084, -0.06142809987068176, 0.018049880862236023, 0.006740744225680828, 0.010470307432115078, -0.024605652317404747, 0.044083695858716965, 0.01364495325833559, 0.029440749436616898, -0.004090904723852873, 0.01595926098525524, -0.029199855402112007, 0.057745855301618576, 0.0219730194658041, -0.010453101247549057, -0.023125872015953064, -0.022747322916984558, -0.015993675217032433, 0.05007164180278778, -0.006056776270270348, 0.03221103549003601, -0.018239155411720276, 0.006043870933353901, 0.015098923817276955, 0.008117284625768661, -0.006383704487234354, 0.003237019991502166, -0.012027518823742867, -0.05213645473122597, 0.032761652022600174, 0.0022411791142076254, 0.013937467709183693, -0.015606522560119629, -0.03833663836121559, 0.00949812587350607, 0.03482646122574806, 0.054648637771606445, 0.012285619974136353, 0.03499852865934372, -0.0053556011989712715, 0.056059591472148895, -0.03740747645497322, 0.006258955225348473, -0.05179231986403465, 0.0681043192744255, 0.0005791147123090923, -0.0029380526393651962, -0.022385982796549797, -0.0074118077754974365, 0.012483497150242329, 0.02692856453359127, 0.020510446280241013, -0.05994831770658493, 0.004138223361223936, 0.02326352708041668, -0.001360408728942275, -0.00739890243858099, 0.022196708247065544, -0.0272210780531168, -0.021663298830389977, 0.061703406274318695, -0.025620851665735245, -0.04841979593038559, -0.02728990651667118, 0.023039838299155235, 0.055336907505989075, -0.017464851960539818, -0.012199586257338524, 0.023934589698910713, -0.007046164013445377, -0.0600859709084034, -0.016346413642168045, -0.04659587889909744, 0.022592462599277496, -0.007476333063095808, -0.05970742180943489, -0.006770856212824583, -0.01689702831208706, 0.013180370442569256, -0.0022605368867516518, 0.04614850506186485, 0.01515914686024189, 0.0038349544629454613, 0.01987379603087902, -0.030421534553170204, -0.06270139664411545, 0.020338378846645355, 0.0399196594953537, -0.06104955077171326, -0.023848555982112885, -0.037441886961460114, 0.056541379541158676, -0.013137353584170341, 0.013395454734563828, 0.007962423376739025, 0.06149692460894585, 0.010866062715649605, 0.011356455273926258, 0.0383022278547287, -0.013275007717311382, 0.037269819527864456, 0.0491768904030323, -0.10124451667070389, 0.05003723129630089, -0.032796066254377365, -0.044049281626939774, 0.05547456443309784, 0.004512470215559006, 0.01322338730096817, -0.012991096824407578, -0.030954943969845772, -0.01652708277106285, -0.02524230256676674, 0.04012614116072655, 0.033122994005680084, 0.033036962151527405, 0.011829640716314316, -0.028270689770579338, -0.04848862066864967, 0.02987091802060604, -0.08259239792823792, -0.05172349140048027, 0.0017013173783198, -0.010668185539543629, -0.03274444490671158, 0.023917382583022118, 0.04188122972846031, 0.022523635998368263, 0.0021551453974097967, 0.02095782198011875, 0.0781874731183052, -0.054923947900533676, -0.03592769429087639, 0.014462273567914963, -0.02169771119952202, -0.03616859018802643, 0.012732994742691517, 0.004301687702536583, 0.00047399220056831837, -0.016509877517819405, -0.06803549081087112, -0.0018637061584740877, -0.005088896490633488, 0.00003441350054345094, 0.04212212562561035, 0.015933450311422348, -0.01966731622815132, 0.016957253217697144, 0.00042129651410505176, -0.05681668967008591, 0.03281327337026596, 0.009558349847793579, 0.00909376796334982, -0.011898468248546124, 0.06965292245149612, -0.019219940528273582, 0.07144242525100708, -0.003120874287560582, 0.022626876831054688, 0.0055921939201653, -0.01669054850935936, -0.022678496316075325, -0.026377948001027107, -0.003191852243617177, -0.05141377076506615, -0.06782901287078857, -0.05568104237318039, -0.00702465558424592, 0.01786060631275177, 0.015907641500234604, -0.017791779711842537, 0.026343533769249916, -0.01463434100151062, -0.0003667188575491309, 0.012526514008641243, 0.0015453812666237354, -0.003415539860725403, -0.025706885382533073, -0.009911088272929192, 0.02825348451733589, 0.01576138287782669, 0.003028388135135174, 0.0399196594953537, 0.01322338730096817, 0.0008350650896318257, -0.02728990651667118, 0.009188404306769371, 0.044531069695949554, 0.016028087586164474, -0.06342408061027527, -0.0259993989020586, -0.039816420525312424, -0.020131897181272507, 0.01163176354020834, -0.04859186336398125, -0.04201888293027878, -0.019684521481394768, -0.010203602723777294, -0.029217062518000603, 0.03661596402525902, -0.030696842819452286, -0.06259815394878387, 0.05268706753849983, -0.016311999410390854, 0.052515000104904175, -0.0025767108891159296, 0.0071537066251039505, 0.0038564628921449184, -0.019804969429969788, 0.0423286072909832, -0.012104948982596397, 0.025569230318069458, -0.0008264617063105106, 0.050691086798906326, 0.06063658744096756, 0.03100656345486641, 0.03905932232737541, 0.03692568466067314, 0.02443358488380909, 0.0183423962444067, -0.03716658055782318, -0.005407221149653196, 0.029457956552505493, 0.047593872994184494, 0.006611693650484085, -0.0018206893000751734, 0.0471809096634388, 0.004443643148988485, 0.001360408728942275, 0.01971893571317196, -0.004050038754940033, 0.008642090484499931, 0.006147111300379038, 0.04694001376628876, 0.0078032612800598145, 0.005609400570392609, 0.06132485717535019, -0.03011181205511093, -0.03257237747311592, 0.0021809556055814028, -0.05024370923638344, -0.011132767423987389, 0.0012668470153585076, -0.04683677479624748, 0.05943211540579796, 0.007218231912702322, 0.023573247715830803, 0.0155204888433218, 0.01193288154900074, -0.009644383564591408, -0.07030677795410156, 0.0185488760471344, 0.0022798944264650345, 0.06060217320919037, 0.02854599803686142, -0.013102940283715725, -0.06665895134210587, -0.0211643036454916, -0.016200155019760132, -0.02458844520151615, -0.017430437728762627, 0.02512185461819172, 0.04019496962428093, -0.008556056767702103, 0.03716658055782318, -0.013481488451361656, 0.015856020152568817, -0.01485802885144949, 0.01035846397280693, 0.032675620168447495, -0.004379117861390114, 0.025448784232139587, 0.046664707362651825, 0.037510715425014496, -0.060326866805553436, 0.043567489832639694, 0.008349575102329254, 0.07116711884737015, 0.02008027769625187, -0.02229994907975197, -0.04745621606707573, -0.059604182839393616, -0.02959560975432396, -0.03458556905388832, 0.013834226876497269, -0.004667330998927355, -0.0010555265471339226, 0.06817314773797989, 0.004256519954651594, 0.028838513419032097, 0.00021562208712566644, 0.010212206281721592, 0.02555202506482601, 0.01753367856144905, 0.012406066991388798, 0.15169471502304077, -0.026377948001027107, 0.018290774896740913, 0.017877813428640366, -0.009670193307101727, -0.01538283471018076, -0.037889264523983, 0.025620851665735245, 0.008482927456498146, 0.009326058439910412, -0.06359615176916122, 0.038439881056547165, 0.043361011892557144, -0.06793224811553955, 0.011081147007644176, 0.03472322225570679, -0.026154261082410812, -0.03954111039638519, -0.001155003090389073, -0.018634909763932228, -0.006547168362885714, -0.083074189722538, 0.05812440067529678, 0.0536162331700325, 0.0342586413025856, 0.050209298729896545, -0.005841691512614489, -0.02149123139679432, -0.024003416299819946, 0.050174884498119354, -0.024295931681990623, 0.03592769429087639, 0.07440198957920074, -0.04841979593038559, -0.05826205760240555, 0.03733864799141884, -0.004740459844470024, 0.004981354344636202, 0.0002943967410828918, 0.02950957603752613, 0.0624949187040329, -0.01813591457903385, 0.014599927701056004, 0.06999705731868744, -0.003273584181442857, -0.09642662853002548, 0.013429868966341019, -0.01918552629649639, -0.02806420996785164, -0.07357606291770935, -0.06504151970148087, 0.0045942021533846855, -0.04614850506186485, -0.004131770692765713, 0.019804969429969788, 0.006474039983004332, -0.008276446722447872, -0.04459989815950394, 0.06108396500349045, 0.013558919541537762, -0.08692850172519684, 0.013094336725771427, -0.03785485029220581, 0.0012270563747733831, -0.020785754546523094, -0.004576995503157377, 0.010272430256009102, 0.041950058192014694, -0.003699451219290495, 0.016836805269122124, -0.025706885382533073, -0.04040145128965378, 0.000008712597264093347, 0.04511610046029091, 0.00850443635135889, -0.005923423916101456, -0.03253796324133873, -0.01758529804646969, -0.07034119218587875, -0.04040145128965378, -0.02825348451733589, -0.02845996432006359, 0.050656672567129135, 0.021353576332330704, -0.02560364454984665, 0.012302826158702374, -0.010840252973139286, 0.041743576526641846, -0.024244310334324837, -0.08128468692302704, 0.08107820898294449, 0.004968449007719755, -0.016957253217697144, 0.08995688706636429, -0.038439881056547165, 0.02281615138053894, 0.002961711958050728, 0.10737012326717377, -0.007940915413200855, 0.014376239851117134, -0.025620851665735245, -0.041020892560482025, -0.014642944559454918, -0.023074252530932426, -0.003925289958715439, 0.006628900766372681, -0.03754512965679169, -0.04480637609958649, -0.016268981620669365, -0.028477171435952187, -0.036788031458854675, 0.06142809987068176 ]
42,074
patch_ng
main
null
def main(): from optparse import OptionParser from os.path import exists import sys opt = OptionParser(usage="1. %prog [options] unified.diff\n" " 2. %prog [options] http://host/patch\n" " 3. %prog [options] -- < unified.diff", version="python-patch %s" % __version__) opt.add_option("-q", "--quiet", action="store_const", dest="verbosity", const=0, help="print only warnings and errors", default=1) opt.add_option("-v", "--verbose", action="store_const", dest="verbosity", const=2, help="be verbose") opt.add_option("--debug", action="store_true", dest="debugmode", help="debug mode") opt.add_option("--diffstat", action="store_true", dest="diffstat", help="print diffstat and exit") opt.add_option("-d", "--directory", metavar='DIR', help="specify root directory for applying patch") opt.add_option("-p", "--strip", type="int", metavar='N', default=0, help="strip N path components from filenames") opt.add_option("--revert", action="store_true", help="apply patch in reverse order (unpatch)") opt.add_option("-f", "--fuzz", action="store_true", dest="fuzz", help="Accept fuuzzy patches") (options, args) = opt.parse_args() if not args and sys.argv[-1:] != ['--']: opt.print_version() opt.print_help() sys.exit() readstdin = (sys.argv[-1:] == ['--'] and not args) verbosity_levels = {0:logging.WARNING, 1:logging.INFO, 2:logging.DEBUG} loglevel = verbosity_levels[options.verbosity] logformat = "%(message)s" logger.setLevel(loglevel) streamhandler.setFormatter(logging.Formatter(logformat)) if options.debugmode: setdebug() # this sets global debugmode variable if readstdin: patch = PatchSet(sys.stdin) else: patchfile = args[0] urltest = patchfile.split(':')[0] if (':' in patchfile and urltest.isalpha() and len(urltest) > 1): # one char before : is a windows drive letter patch = fromurl(patchfile) else: if not exists(patchfile) or not isfile(patchfile): sys.exit("patch file does not exist - %s" % patchfile) patch = fromfile(patchfile) if options.diffstat: print(patch.diffstat()) sys.exit(0) if not patch: error("Could not parse patch") sys.exit(-1) #pprint(patch) if options.revert: patch.revert(options.strip, root=options.directory) or sys.exit(-1) else: patch.apply(options.strip, root=options.directory, fuzz=options.fuzz) or sys.exit(-1) # todo: document and test line ends handling logic - patch_ng.py detects proper line-endings # for inserted hunks and issues a warning if patched file has incosistent line ends
()
[ 0.0484124980866909, -0.01124271284788847, 0.011366995051503181, 0.026806605979800224, -0.025296105071902275, -0.0682210922241211, -0.04481789097189903, 0.016797149553894997, -0.023919446393847466, -0.022906072437763214, -0.028718631714582443, -0.03556368499994278, -0.08581172674894333, 0.04780065268278122, -0.010592624545097351, -0.020496919751167297, -0.03533424064517021, 0.044014837592840195, 0.005066868849098682, -0.009426288306713104, 0.030095290392637253, 0.007160537410527468, -0.007127076853066683, 0.08703542500734329, 0.016041899099946022, 0.015353568829596043, 0.027322852984070778, -0.06141427531838417, 0.044053081423044205, -0.025793232023715973, -0.005793438758701086, -0.02009539306163788, 0.009545790031552315, -0.02154853381216526, -0.034435588866472244, -0.0695977509021759, 0.009316346608102322, 0.04856546223163605, -0.009411947801709175, -0.007394760847091675, 0.01173027977347374, -0.019349703565239906, 0.008178691379725933, -0.011433916166424751, 0.03368989750742912, 0.024588655680418015, -0.015105005353689194, 0.02070724219083786, -0.0349709577858448, 0.000009681499250291381, 0.008565876632928848, 0.003477497259154916, 0.02420624904334545, 0.014034271240234375, -0.012906176038086414, 0.03883324936032295, 0.006204524543136358, 0.022867832332849503, 0.0007755655678920448, -0.024416573345661163, -0.0195026658475399, 0.012820134870707989, -0.01919674128293991, -0.0145409582182765, -0.05705485865473747, -0.04087911546230316, 0.02810678258538246, -0.007672004401683807, -0.002256190637126565, 0.005807779263705015, -0.07586919516324997, 0.02527698501944542, -0.009019983001053333, -0.047112323343753815, 0.0739571675658226, 0.060190580785274506, 0.029253998771309853, 0.013690106570720673, 0.0443590022623539, 0.0074425614438951015, -0.01623310148715973, 0.0433647520840168, 0.04022902622818947, 0.05223654955625534, 0.04355595260858536, -0.0050573088228702545, 0.07391892373561859, 0.003967454191297293, 0.04084087535738945, -0.010927229188382626, -0.0638616681098938, 0.001007996266707778, 0.030917461961507797, -0.049636196345090866, 0.030840979889035225, 0.02615651674568653, -0.009182505309581757, 0.030879219993948936, -0.007327839732170105, -0.0059416210278868675, 0.002858479041606188, 0.015573452226817608, -0.015420489944517612, 0.011854561045765877, 0.013776147738099098, -0.000822171219624579, 0.01990419067442417, 0.012418609112501144, -0.06619434058666229, 0.012399489060044289, -0.03133810684084892, -0.07892843335866928, -0.02416800893843174, -0.028431827202439308, 0.028125902637839317, -0.0039077033288776875, -0.03875676915049553, -0.006715991534292698, 0.06906238198280334, -0.007581183221191168, -0.02439745143055916, 0.023976806551218033, -0.0316057913005352, 0.04699759930372238, -0.0104205422103405, -0.01845105178654194, -0.004034374840557575, 0.029406961053609848, 0.04646223410964012, -0.010755146853625774, 0.014139432460069656, 0.026462439447641373, -0.037055063992738724, 0.01953134685754776, 0.02416800893843174, 0.007346960250288248, -0.0591580867767334, 0.016127940267324448, 0.08328785747289658, 0.030248252674937248, 0.01643386296927929, -0.05047748610377312, 0.009990336373448372, -0.0008305363007821143, -0.12512297928333282, -0.01909158006310463, -0.009952095337212086, -0.03210291638970375, -0.021567653864622116, 0.07812538743019104, 0.02181621640920639, 0.025831472128629684, -0.013231219723820686, -0.01879521645605564, 0.06087891012430191, 0.0052437311969697475, -0.02608003467321396, -0.06841228902339935, 0.015678614377975464, -0.0008078310056589544, 0.00215102918446064, -0.06164371967315674, 0.08558228611946106, 0.01879521645605564, 0.002784387907013297, -0.015974977985024452, 0.005052528809756041, -0.05942576751112938, -0.015716854482889175, 0.036691781133413315, -0.018709175288677216, 0.03374725952744484, 0.008460715413093567, 0.015525651164352894, 0.060114096850156784, 0.032791245728731155, 0.002817848464474082, 0.00750470208004117, -0.02074548229575157, -0.014818201772868633, -0.032619163393974304, 0.004918687045574188, 0.008173910900950432, 0.053766172379255295, -0.005884259939193726, -0.003955503925681114, -0.013613625429570675, -0.03942597657442093, -0.0012511820532381535, -0.038469962775707245, -0.014990284107625484, -0.01500940416008234, 0.00563091691583395, 0.06500888615846634, 0.03055417537689209, 0.02053515985608101, -0.026730123907327652, -0.008178691379725933, 0.11961635202169418, -0.07215986400842667, -0.07082144170999527, 0.003637629561126232, 0.01734207570552826, -0.013690106570720673, -0.00011770910350605845, 0.003245664294809103, 0.025162262842059135, 0.017389876767992973, -0.015525651164352894, 0.012409049086272717, 0.03258092328906059, -0.03741835057735443, 0.01514324638992548, -0.014244593679904938, -0.015267527662217617, -0.05946401134133339, 0.07976972311735153, 0.0014148992486298084, -0.08634709566831589, 0.05342200770974159, -0.0038192719221115112, -0.00993297528475523, 0.0257167499512434, 0.03892885148525238, -0.04780065268278122, 0.05307784304022789, 0.06080242618918419, 0.06948302686214447, 0.0052437311969697475, -0.045965105295181274, 0.025754990056157112, -0.058469757437705994, 0.04890962690114975, -0.008838340640068054, -0.022600147873163223, -0.04141448438167572, -0.035946089774370193, 0.02722725085914135, 0.03841260448098183, 0.018231168389320374, -0.011634678579866886, -0.012466410174965858, 0.08512339740991592, 0.03910093382000923, -0.0012655222089961171, -0.005755198188126087, 0.027992060407996178, -0.09193021059036255, 0.05162470415234566, 0.010439662262797356, -0.0003054760454688221, 0.004263818264007568, -0.006510448642075062, 0.06267621368169785, 0.01711263321340084, 0.005200710613280535, 0.030248252674937248, -0.051280539482831955, 0.06596489995718002, -0.005406253505498171, -0.016491224989295006, 0.0104205422103405, -0.006715991534292698, 0.0273993331938982, -0.015152806416153908, -0.05223654955625534, -0.00436897948384285, -0.027303731068968773, -0.0007576403440907598, 0.025888832286000252, -0.004823085851967335, 0.014971164055168629, -0.04818305745720863, 0.033670779317617416, -0.060725945979356766, 0.023690002039074898, 0.03843172267079353, 0.055945880711078644, 0.04252345860004425, -0.022408945485949516, 0.023001672700047493, 0.0000686014027451165, 0.02177797630429268, 0.022982552647590637, -0.01822160743176937, -0.009641391225159168, -0.0420263335108757, 0.011825880967080593, -0.05426329746842384, -0.05047748610377312, 0.05869919806718826, 0.015181486494839191, 0.019789470359683037, -0.07365124672651291, -0.0225236676633358, 0.04416780173778534, -0.02040131762623787, -0.10011368244886398, 0.03277212753891945, -0.05361321195960045, -0.04386187717318535, -0.08221711963415146, 0.047915372997522354, 0.03135722875595093, -0.05399561673402786, -0.01784876361489296, 0.008441595360636711, -0.05671069398522377, -0.008718838915228844, 0.0006297735963016748, 0.01334594190120697, 0.017265595495700836, -0.030057048425078392, -0.0265580415725708, 0.00014624011237174273, 0.02541082538664341, 0.009474089369177818, 0.02474161610007286, -0.009115584194660187, 0.014101192355155945, -0.059616971760988235, 0.03441646695137024, 0.0299232080578804, 0.08214063942432404, 0.009411947801709175, -0.01744723692536354, 0.04910082742571831, 0.00848939549177885, -0.0046318829990923405, -0.015879375860095024, -0.014846881851553917, 0.0020052373874932528, 0.022848710417747498, 0.04076439514756203, 0.0020028473809361458, 0.009411947801709175, 0.0023123566061258316, -0.1223696693778038, 0.0005957155954092741, -0.04726528376340866, 0.06975071132183075, 0.04615630954504013, -0.030764499679207802, -0.01064042467623949, 0.046844638884067535, 0.04198809340596199, 0.04439724609255791, 0.007523822598159313, -0.016720667481422424, 0.015315328724682331, 0.025869712233543396, 0.018871696665883064, -0.06680618971586227, 0.0016921430360525846, 0.021969178691506386, -0.024665135890245438, -0.023517919704318047, -0.07051552087068558, 0.024856338277459145, -0.015755094587802887, -0.05674893409013748, 0.000499516783747822, 0.03038209304213524, 0.003714110469445586, -0.034301746636629105, -0.06703563034534454, 0.033900219947099686, -0.028795111924409866, -0.04225577414035797, 0.04114679992198944, 0.028565669432282448, 0.019980672746896744, 0.0023733023554086685, -0.08466451615095139, -0.03240884095430374, -0.050171561539173126, -0.012877495028078556, 0.00563091691583395, -0.04286762326955795, 0.02927311882376671, -0.031108664348721504, 0.04879490286111832, -0.04359419271349907, 0.03720802813768387, -0.05441626161336899, -0.052083589136600494, -0.015334448777139187, -0.015353568829596043, 0.04550622031092644, 0.010659544728696346, 0.020611640065908432, -0.06711211055517197, 0.04948323220014572, -0.005315432325005531, -0.050974614918231964, 0.0027676576282829046, 0.00974655244499445, -0.0011645433260127902, -0.05636652931571007, 0.0038790227845311165, 0.017322955653071404, 0.007786726113408804, 0.026806605979800224, 0.04053495079278946, 0.05441626161336899, -0.032179396599531174, 0.05200710892677307, 0.0072609190829098225, -0.0002582728920970112, 0.02581235207617283, -0.03273388743400574, 0.014101192355155945, -0.029120156541466713, -0.01281057484447956, -0.013240780681371689, -0.022466305643320084, -0.0036973804235458374, -0.036557938903570175, 0.016663307324051857, -0.007934908382594585, 0.04978915676474571, 0.009201625362038612, 0.038336120545864105, 0.051012855023145676, 0.03145282715559006, -0.020248355343937874, 0.01321209967136383, 0.0029803705401718616, -0.08848856389522552, 0.06546777486801147, 0.010583064518868923, -0.0257167499512434, -0.013317261822521687, 0.04344123229384422, 0.030362972989678383, -0.02074548229575157, -0.007710244972258806, 0.03707418590784073, 0.047150563448667526, -0.0161374993622303, -0.0011651408858597279, -0.023479679599404335, 0.04443548619747162, -0.03550632297992706, 0.01660594530403614, -0.01656770519912243, 0.003687820164486766, -0.05674893409013748, -0.025353465229272842, 0.023135514929890633, 0.016997911036014557, -0.023976806551218033, 0.0010318965651094913, -0.008293412625789642, -0.0430205874145031, -0.020496919751167297, -0.023039914667606354, 0.054875146597623825, -0.06615610420703888, 0.03502831608057022, 0.017523718997836113, 0.005038188770413399, 0.052083589136600494, 0.04692111909389496, -0.02221774309873581, -0.025085780769586563, 0.053766172379255295, 0.004400049801915884, -0.09789573401212692, -0.010124177671968937, 0.03778163343667984, -0.04022902622818947, -0.0052963122725486755, 0.06814460456371307, -0.06393814831972122, 0.05204534903168678, -0.03269564360380173, -0.0036973804235458374, -0.051548220217227936, -0.03600345179438591, -0.07686344534158707, -0.01088898815214634, -0.009846934117376804, 0.07923436164855957, -0.021835336461663246, -0.10661457479000092, 0.03781987354159355, -0.052695438265800476, -0.0104205422103405, -0.0460415855050087, 0.030917461961507797, -0.041567444801330566, 0.025907952338457108, -0.013498904183506966, 0.00921118538826704, -0.002202414907515049, 0.0011699208989739418, -0.024550413712859154, 0.03835524246096611, -0.04913906753063202, 0.03038209304213524, -0.01660594530403614, 0.0257167499512434, -0.001843910082243383, 0.04978915676474571, 0.008403354324400425, 0.02323111705482006, 0.0022788960486650467, 0.000918370031286031, 0.008049629628658295, -0.035047437995672226, -0.02665364369750023, 0.060420021414756775, -0.0033723360393196344, 0.027609655633568764, 0.008761859498918056, 0.0463857501745224, -0.0014304345240816474, -0.02820238471031189, 0.01627134159207344, 0.027915580198168755, 0.012781893834471703, 0.0017435287591069937, -0.05384265258908272, 0.037533070892095566, -0.013087818399071693, 0.02887159399688244, 0.019789470359683037, 0.04531501606106758, -0.008207371458411217, 0.014560078270733356, 0.04451196640729904, 0.062064364552497864, -0.04760944843292236, 0.030898340046405792, 0.00514334999024868, -0.021395571529865265, -0.0157933346927166, -0.0036639198660850525, -0.0450473353266716, 0.00155471614561975, 0.04577390477061272, 0.008470275439321995, -0.016816269606351852, -0.031051302328705788, -0.018938617780804634, -0.011845001019537449, 0.0029755905270576477, -0.010009456425905228, -0.0356210432946682, 0.0011860536178573966, 0.03405318409204483, 0.009584030136466026, 0.07854603230953217, -0.06091715022921562, 0.022236863151192665, 0.04091735556721687, 0.0695595070719719, 0.03032473288476467, -0.021586773917078972, -0.015296208672225475, -0.007050596177577972, 0.014110752381384373, 0.017466356977820396, -0.007552502676844597, 0.04026727005839348, 0.020382197573781013, 0.034741513431072235, -0.052924878895282745, -0.012743653729557991, -0.006247545126825571, 0.05388089269399643, 0.008283852599561214, 0.011453036218881607, -0.009770452976226807, -0.022064780816435814, 0.029024554416537285, 0.026615401729941368, -0.0035946089774370193, -0.0050859893672168255, -0.014359315857291222, 0.005344112869352102, 0.016309581696987152, -0.05606060475111008, -0.010783826932311058, 0.0037332307547330856, 0.02275311015546322, 0.030076170340180397, 0.03407230228185654, -0.0023756923619657755, -0.07036256045103073, -0.07181569933891296, -0.010334501042962074, -0.060420021414756775, -0.06799164414405823, 0.0399995855987072, -0.005415813531726599, -0.03315453231334686, 0.055716440081596375, 0.04355595260858536, -0.03906269371509552, -0.03412966430187225, -0.01871873438358307, -0.038508202880620956, 0.03122338466346264, -0.05254247412085533, -0.0007857232121750712, -0.04699759930372238, -0.037800755351781845, -0.008967402391135693, 0.027915580198168755, 0.0026983467396348715, 0.011223592795431614, -0.016319142654538155, -0.006864173337817192, -0.03676826134324074, 0.023307597264647484, 0.04164392873644829, 0.03632849454879761, 0.01070734579116106, 0.0194931048899889, 0.020994046702980995, -0.0007934907916933298, -0.016089698299765587, 0.027208130806684494, 0.060114096850156784, -0.04313530772924423, -0.0007743705646134913, -0.025659389793872833, -0.022714870050549507, 0.03485623374581337, 0.010583064518868923, 0.010812507010996342, -0.02154853381216526, 0.026940446346998215, -0.023173755034804344, 0.04665343463420868, -0.05774318799376488, -0.03825964033603668, 0.04955971613526344, 0.01906289905309677, -0.08129934966564178, 0.025869712233543396, -0.03751395270228386, -0.01500940416008234, 0.015841135755181313, -0.031376346945762634, -0.01586025580763817, 0.06057298555970192, 0.011931042186915874, 0.0031357225961983204, 0.023919446393847466, -0.009622271172702312, 0.0037380110006779432, -0.04615630954504013, 0.03516215831041336, -0.006534349173307419, -0.007313499692827463, -0.0057265181094408035, 0.004438290372490883, -0.036481454968452454, 0.04309706762433052, 0.05728429928421974, -0.005960741080343723, -0.020516039803624153, 0.0007964783580973744, 0.04741824418306351, -0.06110835075378418, 0.059311047196388245, 0.026883086189627647, 0.0008281462942250073, 0.0017734041903167963, -0.0013181029353290796, 0.036519698798656464, -0.02753317542374134, -0.06401462852954865, 0.020190995186567307, 0.04286762326955795, 0.0037619112990796566, -0.03321189060807228, 0.005807779263705015, 0.020764602348208427, -0.0145409582182765, -0.012466410174965858, 0.017772281542420387, 0.06737979501485825, 0.02745669335126877, 0.007318279705941677, 0.0022263152059167624, 0.02518138289451599, -0.00007173832273110747, 0.01771492138504982, -0.00007248520705616102, -0.01593673788011074, -0.01963650807738304, 0.012753213755786419, -0.06944478303194046, -0.00946452934294939, -0.0010599794331938028, -0.03586960956454277, 0.06374695152044296, 0.01744723692536354, 0.00921118538826704, 0.03653881698846817, 0.01855621300637722, 0.03869940713047981, -0.07323059439659119, -0.0003133930149488151, -0.05219830945134163, -0.03418702632188797, 0.0011328754480928183, 0.03481799364089966, 0.05231303349137306, -0.03787723556160927, 0.04883314669132233, -0.03759043291211128, -0.04646223410964012, -0.015974977985024452, 0.01687362976372242, 0.0019885071087628603, -0.058469757437705994, 0.04244697839021683, -0.01500940416008234, -0.03172051161527634, 0.05701661482453346, -0.00244141835719347, -0.06091715022921562, -0.06470295786857605, -0.057131338864564896, 0.024588655680418015, -0.04229401424527168, -0.003047291422262788, 0.02101316675543785, -0.04279114305973053, 0.02191181853413582, -0.040687914937734604, 0.019349703565239906, -0.03388110175728798, 0.05980817601084709, -0.003795371623709798, 0.010439662262797356, -0.08045805245637894, -0.07384244352579117, 0.013011337257921696, 0.01724647544324398, 0.023250237107276917, 0.04527677595615387, 0.019512224942445755, -0.06783868372440338, 0.0012607421958819032, 0.020210115239024162, -0.052083589136600494, -0.04741824418306351, -0.00902476254850626, 0.03405318409204483, -0.018871696665883064, 0.06493240594863892, 0.00015124425408430398, 0.03508567810058594, 0.01514324638992548, 0.05055397003889084, -0.00700757559388876, 0.018298089504241943, 0.024148888885974884, 0.04003782570362091, 0.02217950113117695, -0.06917709857225418, 0.013431983068585396 ]
42,076
patch_ng
pathstrip
Strip n leading components from the given path
def pathstrip(path, n): """ Strip n leading components from the given path """ pathlist = [path] while os.path.dirname(pathlist[0]) != b'': pathlist[0:1] = os.path.split(pathlist[0]) return b'/'.join(pathlist[n:])
(path, n)
[ -0.09010524302721024, 0.08106019347906113, -0.03890751302242279, 0.03918369486927986, -0.015276462770998478, -0.026461942121386528, 0.025616126134991646, 0.04698591306805611, 0.01146166305989027, -0.06314271688461304, 0.08244111388921738, 0.05326911434531212, 0.001763913664035499, 0.03131243586540222, -0.015354139730334282, -0.022163817659020424, 0.05551311373710632, 0.04146222025156021, 0.01633804850280285, -0.02508101798593998, 0.002660434925928712, 0.008026616647839546, 0.02225012518465519, 0.05699760466814041, -0.026220278814435005, 0.022785233333706856, 0.008402055129408836, 0.023838186636567116, 0.01026198547333479, -0.045984745025634766, 0.038320619612932205, 0.019074002280831337, 0.01711481623351574, 0.006373823620378971, 0.022336432710289955, -0.0015060694422572851, 0.010814354754984379, 0.007569185458123684, -0.08755053579807281, -0.0006926193018443882, 0.029448186978697777, -0.00977003201842308, -0.0013798443833366036, -0.034712959080934525, -0.01565621793270111, -0.011228632181882858, 0.032503481954336166, -0.009675092995166779, -0.024045325815677643, 0.0702889934182167, 0.0007659808616153896, 0.04712400585412979, -0.02414889447391033, -0.01791747845709324, 0.022906063124537468, -0.01563895493745804, 0.001723996363580227, -0.021352525800466537, -0.0015621694037690759, -0.002414457965642214, -0.016096387058496475, -0.021076340228319168, 0.0005933654610998929, -0.025650648400187492, 0.02307868003845215, -0.05465003475546837, 0.012972047552466393, 0.012592293322086334, 0.004815969616174698, -0.05278579145669937, -0.013757447712123394, 0.05772259086370468, 0.008263962343335152, 0.003532142611220479, -0.01568210870027542, 0.022112032398581505, 0.037146832793951035, 0.07332701981067657, 0.052026282995939255, -0.02042040228843689, -0.011064647696912289, -0.037319451570510864, 0.00046012792154215276, -0.04001225158572197, 0.022457264363765717, 0.025512555614113808, 0.009994431398808956, -0.041600313037633896, -0.07084136456251144, 0.018176401033997536, -0.035662341862916946, -0.0007832424016669393, -0.05454646795988083, -0.013377693481743336, 0.013179185800254345, -0.019678154960274696, 0.04311932623386383, -0.0041427696123719215, -0.009502477943897247, -0.03542068228125572, 0.011185478419065475, -0.02685895748436451, -0.10888579487800598, -0.007366362493485212, 0.0138178626075387, 0.018072832375764847, -0.024511387571692467, 0.01260092481970787, -0.015190155245363712, -0.008156077936291695, -0.03239991143345833, -0.06462720781564713, 0.017442787066102028, -0.035938527435064316, 0.01711481623351574, 0.015095217153429985, -0.03673255816102028, -0.06656049937009811, 0.09397182613611221, -0.026444679126143456, 0.013783340342342854, -0.030708279460668564, -0.11164764314889908, 0.00784105435013771, 0.03680160269141197, 0.06873545050621033, 0.005001531448215246, 0.03990868106484413, 0.00657664705067873, -0.022077510133385658, -0.002215950284153223, 0.04494905099272728, -0.028377972543239594, -0.012367893941700459, -0.018711509183049202, 0.043257419019937515, -0.05699760466814041, 0.009692355059087276, 0.024338772520422935, -0.009286708198487759, 0.040599141269922256, -0.016674647107720375, 0.03245169669389725, 0.05882732942700386, 0.007590762339532375, 0.034039758145809174, 0.029724372550845146, -0.011746478267014027, -0.012644078582525253, 0.02275070920586586, -0.024942925199866295, 0.01698535494506359, 0.06593908369541168, -0.04494905099272728, 0.024459602311253548, -0.029672587290406227, 0.0042959656566381454, -0.024770310148596764, 0.04336098954081535, -0.08686006814241409, 0.020075172185897827, -0.04715852811932564, 0.03873489797115326, -0.07740074396133423, -0.049575142562389374, 0.009804555214941502, 0.00109772605355829, -0.016079124063253403, 0.005364023614674807, 0.03236538916826248, 0.03279692679643631, 0.0023928810842335224, 0.016415724530816078, -0.008039562031626701, -0.04733114317059517, 0.022457264363765717, -0.005130992736667395, -0.0057524084113538265, -0.011289047077298164, 0.025875048711895943, 0.028516065329313278, -0.02052397094666958, 0.01743415556848049, -0.016726432368159294, 0.023769140243530273, 0.025063756853342056, -0.017632663249969482, -0.019505539909005165, 0.07967927306890488, -0.006179631222039461, -0.007677069865167141, 0.04629544913768768, 0.048194222152233124, 0.011323570273816586, 0.053579822182655334, -0.0349200963973999, 0.0840291753411293, -0.02492566406726837, -0.04256695881485939, -0.04090984910726547, -0.018832340836524963, 0.03983963653445244, -0.002274208003655076, -0.04135864973068237, 0.016251740977168083, -0.014163093641400337, -0.02309594117105007, 0.04912634193897247, -0.0511632040143013, 0.080369733273983, 0.05109415948390961, -0.01326549332588911, 0.06203797459602356, -0.046744249761104584, -0.02836071141064167, -0.057515453547239304, 0.019229356199502945, 0.06314271688461304, 0.038251571357250214, 0.02773929573595524, -0.04122055694460869, 0.012851216830313206, 0.04505262151360512, -0.019712679088115692, -0.013636616989970207, -0.04104794189333916, -0.056686896830797195, 0.03559329733252525, 0.051750097423791885, -0.044431205838918686, 0.022215602919459343, -0.034367725253105164, 0.043809790164232254, 0.01886686310172081, 0.06863188743591309, 0.00792736280709505, -0.023959018290042877, -0.09763126820325851, 0.0032818503677845, -0.06314271688461304, -0.031053511425852776, -0.008164708502590656, 0.010365555062890053, 0.006002700421959162, 0.003661604132503271, 0.04767637327313423, 0.009537001140415668, -0.002100513782352209, 0.012505985796451569, 0.0018232502043247223, -0.019488278776407242, 0.06221058964729309, -0.014767247252166271, 0.02773929573595524, 0.004733977373689413, 0.038251571357250214, -0.04470738768577576, -0.014974386431276798, -0.042981233447790146, 0.05710117518901825, -0.01553538627922535, -0.07836738973855972, -0.04460382089018822, -0.05754997581243515, 0.03462665155529976, -0.018884124234318733, -0.015725262463092804, -0.0009353596833534539, 0.022163817659020424, 0.020851939916610718, 0.03559329733252525, -0.032054681330919266, 0.025926833972334862, 0.009795923717319965, -0.0014758616453036666, -0.005398546811193228, -0.04715852811932564, 0.0002707904204726219, 0.04273957386612892, 0.010175677947700024, -0.043257419019937515, -0.01651066355407238, -0.034488558769226074, -0.004449162166565657, -0.0063565620221197605, 0.033107634633779526, 0.056514281779527664, -0.07919594645500183, -0.018159139901399612, 0.01836627908051014, 0.07898880541324615, -0.020851939916610718, -0.006360877770930529, -0.04011581838130951, -0.017658555880188942, -0.022267386317253113, -0.017952002584934235, -0.027497634291648865, -0.022664401680231094, -0.057515453547239304, -0.005467592738568783, 0.01926387846469879, -0.04322289675474167, -0.005571162328124046, 0.017002617940306664, -0.06880450248718262, 0.02680717222392559, 0.03445403277873993, -0.02440781705081463, 0.02492566406726837, -0.06966757774353027, -0.06973662227392197, -0.01981624774634838, 0.007374993059784174, 0.0629701018333435, 0.012592293322086334, -0.01479313988238573, 0.06914973258972168, -0.026979787275195122, 0.020506709814071655, -0.007111754734069109, 0.04967871308326721, -0.05095606669783592, 0.05140486732125282, -0.07636505365371704, -0.018003785982728004, 0.004052146803587675, 0.024735787883400917, -0.047365665435791016, 0.029102956876158714, -0.030449356883764267, 0.04867754504084587, -0.039597973227500916, -0.013006570748984814, 0.00011314400035189465, -0.007055654656141996, 0.041151512414216995, -0.03440225124359131, -0.06359151750802994, 0.006050169933587313, 0.03745754063129425, -0.017227016389369965, -0.0027791080065071583, 0.020403141155838966, -0.01481903251260519, -0.005169831216335297, 0.01821092516183853, 0.028774987906217575, -0.015915140509605408, -0.030035080388188362, 0.05216437578201294, -0.0027165350038558245, -0.025771480053663254, -0.009839077480137348, 0.01406815554946661, 0.05862019211053848, -0.06738905608654022, 0.049195390194654465, -0.009597416035830975, 0.01981624774634838, 0.048021603375673294, 0.012454201467335224, 0.011366724036633968, -0.012048555538058281, 0.052751265466213226, 0.00728436978533864, 0.002660434925928712, 0.000736312591470778, -0.04812517389655113, 0.05199176073074341, -0.045984745025634766, -0.027428587898612022, 0.04277409613132477, -0.06542123854160309, 0.032486218959093094, 0.004017623607069254, 0.022008463740348816, -0.02452864870429039, -0.028895817697048187, 0.057135697454214096, -0.044534772634506226, 0.018331754952669144, -0.0075476085767149925, -0.003967996686697006, -0.07539840787649155, 0.04895372688770294, 0.025719694793224335, -0.022906063124537468, -0.009200400672852993, -0.02796369604766369, -0.023164987564086914, -0.0001498247729614377, 0.033660002052783966, -0.010529539547860622, 0.0017747021047398448, -0.03693969547748566, 0.04670972749590874, 0.011953616514801979, 0.04916086792945862, -0.0006969347014091909, 0.008298485539853573, 0.018797816708683968, 0.04491452872753143, 0.06921877712011337, -0.0167868472635746, 0.0021274848841130733, 0.04305028170347214, 0.02314772456884384, -0.0039162118919193745, -0.052198898047208786, -0.0024899772834032774, 0.018849601969122887, -0.018970433622598648, -0.019246617332100868, 0.09341945499181747, 0.004386588931083679, -0.02663455717265606, -0.045639511197805405, 0.013429478742182255, -0.022491786628961563, -0.029499972239136696, -0.03790634125471115, -0.06203797459602356, 0.0383896641433239, 0.04418954253196716, 0.006537808571010828, 0.007418146822601557, 0.01746004819869995, 0.036318279802799225, 0.08382204174995422, 0.0014316289452835917, -0.023941757157444954, -0.061623699963092804, 0.024545909836888313, -0.022767972201108932, -0.02540898695588112, 0.04895372688770294, -0.014724093489348888, -0.005657469853758812, -0.007025446742773056, -0.039425358176231384, 0.03412606567144394, 0.014767247252166271, -0.015440448187291622, 0.08616960793733597, 0.007746116258203983, -0.039701543748378754, 0.01146166305989027, -0.0015125424833968282, -0.04394788295030594, -0.057135697454214096, -0.05451194569468498, -0.0009639491327106953, -0.030760064721107483, -0.017227016389369965, -0.06359151750802994, -0.004462108016014099, -0.003894635010510683, -0.014680939726531506, 0.040702711790800095, -0.0010842405026778579, 0.09148616343736649, 0.04584665223956108, -0.02475304901599884, 0.0008749443222768605, 0.0012946155620738864, 0.011651539243757725, 0.005648838821798563, -0.0319683738052845, -0.026203017681837082, 0.008906954899430275, -0.023285817354917526, -0.021715017035603523, 0.05181914567947388, 0.04191102087497711, 0.027549417689442635, -0.013791970908641815, 0.021663233637809753, 0.08168160915374756, -0.009010523557662964, -0.011737847700715065, 0.00920903217047453, 0.0008560644928365946, 0.012100339867174625, 0.002098355907946825, -0.0028503118082880974, -0.046813298016786575, 0.02307868003845215, 0.027946433052420616, -0.04101341962814331, 0.05834400653839111, 0.04446572810411453, -0.04173840582370758, -0.019332924857735634, 0.03084637224674225, -0.00825533177703619, -0.035489726811647415, 0.011220001615583897, 0.053856004029512405, 0.010546800680458546, -0.018607940524816513, -0.04291218891739845, 0.030898157507181168, 0.00865666288882494, -0.02768751047551632, 0.06721644103527069, -0.05516788363456726, 0.021110864356160164, -0.029620803892612457, 0.0011317097814753652, 0.026220278814435005, 0.024494126439094543, 0.01661423221230507, 0.028291665017604828, 0.010374185629189014, 0.026427417993545532, -0.03880394250154495, -0.030104126781225204, 0.05371791496872902, 0.02886129543185234, -0.00337031576782465, 0.008039562031626701, -0.013386324048042297, -0.012005400843918324, -0.01440475508570671, -0.05050726607441902, -0.002433877205476165, -0.03317667916417122, 0.011125062592327595, 0.06725095957517624, 0.00019109064305666834, 0.05040369927883148, 0.02307868003845215, 0.033884402364492416, 0.03422963246703148, 0.039701543748378754, -0.0548226535320282, -0.04263600334525108, 0.06845926493406296, -0.03167492523789406, -0.014516955241560936, -0.034212373197078705, 0.012713124044239521, 0.005126677453517914, -0.010581323876976967, 0.05012751370668411, -0.00017868391296360642, 0.04346456006169319, 0.00020282309560570866, 0.020351355895400047, -0.05499526858329773, 0.0016635808860883117, 0.023044155910611153, 0.011323570273816586, 0.05862019211053848, -0.09141711890697479, 0.0019138732459396124, -0.027152402326464653, -0.056790467351675034, 0.0012493039248511195, -0.05033465102314949, -0.01603597030043602, 0.03167492523789406, -0.00561863137409091, -0.01651066355407238, 0.0548226535320282, 0.0008576827822253108, -0.027773818001151085, 0.023406649008393288, -0.034212373197078705, 0.0056358929723501205, 0.02963806502521038, -0.0003673471510410309, 0.015095217153429985, -0.048090651631355286, 0.003894635010510683, 0.05164652690291405, -0.07059969753026962, 0.06600812822580338, 0.018659725785255432, 0.043430034071207047, -0.013999109156429768, 0.025823263451457024, -0.00934712402522564, -0.004604516085237265, -0.012782170437276363, 0.020437663421034813, 0.003532142611220479, -0.011875939555466175, -0.05837852880358696, 0.0024446656461805105, -0.046813298016786575, 0.0794721320271492, -0.01601007767021656, 0.0021425886079669, 0.003456623526290059, -0.03279692679643631, -0.04967871308326721, -0.0047555542550981045, 0.026427417993545532, 0.008600562810897827, 0.011634278111159801, 0.04318837448954582, 0.115168996155262, 0.03041483461856842, -0.002196531044319272, -0.004971323534846306, -0.014534217305481434, -0.057239267975091934, -0.013999109156429768, 0.029223788529634476, 0.05133581906557083, 0.007935993373394012, -0.006904616020619869, -0.03780277445912361, 0.03642185032367706, 0.00800503883510828, -0.0589308999478817, -0.06500696390867233, 0.009994431398808956, -0.05899994447827339, -0.026444679126143456, -0.019781725481152534, 0.017606770619750023, -0.040702711790800095, 0.019712679088115692, 0.032279081642627716, -0.004006835166364908, -0.028343448415398598, -0.04156579077243805, 0.001744494424201548, -0.08154351264238358, -0.02703157253563404, 0.022388217970728874, -0.026254802942276, -0.05088702216744423, -0.040875326842069626, 0.011056016199290752, -0.006990924011915922, 0.04053009673953056, 0.015768416225910187, -0.06690572947263718, -0.05855114385485649, -0.05416671186685562, -0.016942201182246208, -0.00957152433693409, -0.028999388217926025, -0.06262487173080444, -0.00825533177703619, -0.011314939707517624, -0.007983461953699589, -0.033608220517635345, -0.01628626324236393, -0.021715017035603523, 0.01814187876880169, 0.04246338829398155, 0.08071496337652206, -0.006965031381696463, -0.011582493782043457, -0.040599141269922256, 0.047918036580085754, -0.0047167157754302025, 0.03239991143345833, 0.0666985884308815, -0.02730775624513626, 0.030760064721107483, 0.0042571271769702435, -0.05599643662571907, 0.030552925541996956, -0.08520296216011047, 0.004897961858659983, -0.03084637224674225, -0.022560833021998405, -0.05299292877316475, 0.009631939232349396, -0.0015341193648055196, 0.009882232174277306, 0.06732000410556793, 0.019056741148233414, 0.008099977858364582, -0.006494654342532158, -0.037043265998363495, 0.040599141269922256, -0.03983963653445244, 0.04639901965856552, -0.023786403238773346, -0.03542068228125572, 0.03880394250154495, 0.008531516417860985, 0.08244111388921738, -0.057860683649778366, -0.03783729672431946, 0.019074002280831337, 0.04235982149839401, -0.01664012484252453, -0.0018437482649460435, 0.04505262151360512, 0.01658833958208561, 0.02880951017141342, -0.027825603261590004, 0.03352191299200058, -0.020006125792860985, -0.012471462599933147, -0.03966701775789261, 0.007336154580116272, -0.013835124671459198, 0.014163093641400337, -0.05040369927883148, -0.07104849815368652, 0.051473911851644516, -0.021576926112174988, 0.02136978693306446, 0.01991981826722622, -0.03538615629076958, 0.027273233979940414, 0.028826771304011345, -0.05223342031240463, -0.05454646795988083, -0.0108488779515028, 0.00785400066524744, 0.006322039291262627, -0.04104794189333916, 0.029672587290406227, 0.04622640460729599, -0.034212373197078705, -0.01400773972272873, 0.04104794189333916, -0.005083523690700531, -0.04757280647754669, 0.059621360152959824, -0.05554763600230217, -0.03580043464899063, -0.012307478114962578, 0.0012244904646649957, 0.07519126683473587, 0.03628375753760338, 0.03966701775789261, 0.024822095409035683, -0.0017337059834972024, -0.04446572810411453, 0.009623308666050434, -0.0024252464063465595, 0.006878723856061697, 0.031157080084085464, 0.01695946417748928, 0.027929171919822693, 0.06621526926755905, -0.020955510437488556, -0.022284649312496185, -0.015336878597736359, 0.03523080423474312, 0.012454201467335224, -0.02801547944545746, -0.019557325169444084, -0.02181858755648136, -0.07381034642457962, -0.008069770410656929, 0.01256640162318945, -0.02325129508972168, -0.006063115783035755, -0.00346093880943954, 0.015354139730334282, -0.008509939536452293, 0.03483378887176514, 0.05199176073074341, 0.028377972543239594, 0.033435601741075516, -0.034212373197078705 ]
42,079
patch_ng
safe_unlink
null
def safe_unlink(filepath): os.chmod(filepath, stat.S_IWUSR | stat.S_IWGRP | stat.S_IWOTH) os.unlink(filepath)
(filepath)
[ -0.007833333685994148, 0.0663333311676979, 0.027516666799783707, 0.037433333694934845, 0.0400666669011116, -0.00925000011920929, -0.027799999341368675, 0.03983333334326744, -0.034466665238142014, -0.003022916615009308, 0.04569999873638153, 0.038633331656455994, 0.04296666756272316, -0.011850000359117985, -0.029016666114330292, -0.006175000220537186, -0.022333333268761635, 0.028966667130589485, 0.005170833319425583, 0.019033333286643028, 0.017550000920891762, -0.04806666821241379, -0.025333333760499954, -0.036400001496076584, 0.009925000369548798, 0.10973333567380905, -0.0007750000222586095, 0.07419999688863754, -0.009999999776482582, -0.034166667610406876, -0.02526666596531868, 0.028300000354647636, 0.04423333331942558, 0.017616666853427887, 0.02474999986588955, 0.013108333572745323, -0.005183333531022072, 0.026249999180436134, -0.03696666657924652, -0.010341666638851166, -0.006175000220537186, 0.06403333693742752, 0.020783333107829094, -0.05009999871253967, 0.004925000015646219, -0.013716666959226131, -0.02944999933242798, 0.02616666629910469, -0.023633332923054695, -0.05433333292603493, 0.02969999983906746, 0.021266667172312737, -0.013941667042672634, 0.008883333764970303, 0.04650000110268593, -0.02641666680574417, 0.016083333641290665, 0.07419999688863754, -0.0010864583309739828, -0.044199999421834946, 0.036766666918992996, 0.0015135416761040688, -0.0603666678071022, -0.06300000101327896, 0.0714000016450882, -0.040933333337306976, -0.050999999046325684, -0.020483333617448807, -0.005054166540503502, -0.006741666700690985, -0.0803999975323677, -0.01888333261013031, 0.025183333083987236, -0.017416667193174362, 0.031033333390951157, -0.0040687499567866325, 0.012808333151042461, -0.004895833320915699, 0.03803333267569542, -0.01133333332836628, 0.0019437499577179551, -0.08246666938066483, 0.03736666589975357, 0.053466666489839554, -0.00917499978095293, 0.006525000091642141, 0.07253333181142807, -0.048766665160655975, -0.0568000003695488, 0.02436666749417782, 0.03476666659116745, 0.02916666679084301, -0.04610000178217888, -0.08659999817609787, 0.035466667264699936, 0.0085916668176651, 0.05090000107884407, 0.013175000436604023, -0.0018739583902060986, -0.05543333292007446, -0.018533334136009216, -0.03403333202004433, 0.009566666558384895, -0.031550001353025436, 0.009491666220128536, 0.0028937500901520252, 0.010391666553914547, -0.013708333484828472, -0.04136666655540466, -0.028449999168515205, -0.08299999684095383, -0.015266667120158672, 0.04223333299160004, 0.01556666661053896, 0.011583332903683186, 0.014291666448116302, 0.0013437500456348062, -0.07253333181142807, 0.07000000029802322, -0.05820000171661377, 0.008858333341777325, -0.02433333359658718, -0.03503333404660225, -0.018066667020320892, 0.026116667315363884, 0.05290000140666962, 0.0011625000042840838, 0.038733333349227905, -0.013299999758601189, 0.016966667026281357, -0.12759999930858612, 0.03269999846816063, -0.00976666621863842, 0.007008333224803209, -0.0354333333671093, -0.03358333185315132, 0.01599166728556156, -0.027266666293144226, 0.049300000071525574, -0.003168750088661909, 0.0063333334401249886, -0.002591666765511036, 0.043166667222976685, -0.004366666544228792, 0.04573333263397217, -0.018433332443237305, -0.03189999982714653, 0.03343333303928375, -0.010591666214168072, -0.018333332613110542, 0.029066666960716248, 0.031833332031965256, -0.026983333751559258, 0.013433333486318588, 0.017666665837168694, 0.04176666587591171, -0.035066667944192886, 0.037300001829862595, -0.02071666717529297, -0.047833334654569626, -0.003281249897554517, 0.07440000027418137, -0.020400000736117363, -0.014991667121648788, -0.009033333510160446, -0.054666668176651, 0.04803333431482315, 0.048766665160655975, 0.017766667529940605, 0.04873333498835564, -0.04410000145435333, 0.004416666459292173, 0.05556666851043701, 0.0273333340883255, 0.026466665789484978, -0.015058333054184914, -0.001473958371207118, -0.010708332993090153, 0.01863333396613598, 0.024666666984558105, 0.01564166694879532, -0.04053333401679993, 0.0051750000566244125, -0.016566665843129158, 0.07306666672229767, 0.032999999821186066, -0.028866667300462723, 0.007008333224803209, -0.00393541669473052, -0.02459999918937683, -0.020483333617448807, 0.02253333292901516, 0.04583333432674408, 0.005425000097602606, 0.031033333390951157, -0.010125000029802322, 0.014341666363179684, -0.013858333230018616, -0.070333331823349, -0.0008953125216066837, 0.006029166746884584, 0.014750000089406967, 0.0209666658192873, -0.009516666643321514, 0.014024999924004078, -0.020766666159033775, 0.05079999938607216, -0.020866665989160538, -0.03153333440423012, 0.07646666467189789, 0.06043333187699318, -0.03476666659116745, 0.016741666942834854, 0.05106666684150696, 0.00429166667163372, 0.002577083418145776, -0.04886666685342789, 0.03433333337306976, -0.04386666789650917, 0.05263333395123482, -0.01759999990463257, 0.03550000116229057, -0.026983333751559258, -0.000538541644345969, 0.053833331912755966, -0.0015645832754671574, -0.02291666716337204, 0.032866667956113815, 0.007316666655242443, 0.012566667050123215, 0.053966667503118515, -0.0025312500074505806, 0.019616667181253433, -0.028850000351667404, 0.020483333617448807, -0.06653333455324173, 0.0032999999821186066, 0.00143333338201046, 0.012775000184774399, 0.03883333504199982, -0.024716665968298912, -0.03281666710972786, 0.04716666787862778, 0.057100001722574234, 0.06663333624601364, 0.020099999383091927, 0.00793750025331974, -0.000681250006891787, -0.013558333739638329, -0.09546666592359543, 0.046566665172576904, 0.0003013020905200392, -0.04886666685342789, 0.014683333225548267, 0.006195833440870047, -0.028950000181794167, -0.02188333310186863, -0.032366666942834854, -0.04476666823029518, 0.0357000008225441, 0.028083333745598793, -0.008150000125169754, 0.025483332574367523, -0.03669999912381172, 0.0015124999918043613, -0.014758333563804626, 0.01681666634976864, 0.05233333259820938, -0.023399999365210533, -0.005583333317190409, -0.025866666808724403, -0.027899999171495438, 0.04129999876022339, -0.008541666902601719, -0.013100000098347664, 0.00634583318606019, 0.01152500044554472, -0.008100000210106373, 0.0500333346426487, 0.05283333361148834, -0.02645000070333481, 0.011766666546463966, 0.06483333557844162, 0.03433333337306976, 0.0005729166441597044, 0.030433332547545433, 0.027266666293144226, -0.011625000275671482, 0.010516666807234287, 0.035233333706855774, 0.018266666680574417, -0.031050000339746475, 0.01759999990463257, 0.002966666594147682, 0.03216666728258133, 0.02641666680574417, -0.03323333337903023, -0.014758333563804626, 0.060633331537246704, -0.019616667181253433, -0.0424666665494442, 0.04233333468437195, -0.004304166883230209, 0.018449999392032623, 0.023016666993498802, -0.023016666993498802, -0.012849999591708183, -0.03343333303928375, -0.013199999928474426, 0.05923333391547203, 0.03776666522026062, -0.01119999960064888, -0.056699998676776886, 0.0351666659116745, 0.11726666986942291, 0.013225000351667404, 0.0050791664980351925, -0.0058708335272967815, 0.0023499999660998583, -0.019616667181253433, -0.009624999947845936, -0.008216666989028454, 0.02591666579246521, 0.004654166754335165, -0.0071749999187886715, -0.03180000185966492, -0.03058333322405815, -0.017133332788944244, -0.05090000107884407, 0.009200000204145908, 0.018850000575184822, 0.04873333498835564, 0.02775000035762787, -0.0432666651904583, -0.0036270832642912865, 0.03206666558980942, 0.03779999911785126, -0.041999999433755875, -0.014833332970738411, 0.06453333050012589, -0.052000001072883606, 0.028449999168515205, 0.019366666674613953, -0.009016666561365128, -0.056066665798425674, 0.04183333367109299, -0.0320499986410141, 0.0021562499459832907, -0.010049999691545963, -0.057466667145490646, 0.07180000096559525, 0.0714000016450882, -0.07259999960660934, 0.02135000005364418, -0.035733334720134735, -0.0006114583229646087, 0.008966666646301746, 0.050999999046325684, 0.010874999687075615, 0.007520833518356085, 0.029100000858306885, -0.06906666606664658, -0.01978333294391632, -0.03660000115633011, -0.017550000920891762, -0.022166667506098747, -0.016450000926852226, -0.021533332765102386, 0.007987500168383121, 0.0006010416545905173, 0.02498333342373371, -0.03466666489839554, 0.024516666308045387, 0.007679166737943888, 0.031700000166893005, 0.05456666648387909, 0.03193333372473717, -0.017483333125710487, 0.03486666828393936, 0.011816666461527348, -0.010575000196695328, 0.01690833270549774, 0.07039999961853027, -0.017933333292603493, -0.05503333359956741, 0.016558334231376648, 0.0006781250122003257, -0.025949999690055847, -0.011441666632890701, 0.02914999984204769, 0.019183333963155746, -0.01665833406150341, 0.03086666576564312, -0.051899999380111694, -0.009074999950826168, 0.03803333267569542, 0.03643333166837692, 0.0627666637301445, 0.03480000048875809, 0.027666667476296425, -0.07766667008399963, 0.013891667127609253, -0.07566666603088379, 0.004424999933689833, -0.009283333085477352, 0.08986666798591614, -0.040933333337306976, 0.019316665828227997, 0.0357000008225441, -0.05223333463072777, -0.009758333675563335, 0.040300000458955765, 0.02641666680574417, 0.010950000025331974, 0.08313333243131638, 0.03133333474397659, 0.015724999830126762, -0.050999999046325684, 0.04373333230614662, -0.01613333262503147, 0.018016666173934937, -0.00982499960809946, -0.03048333339393139, 0.006179166492074728, -0.05689999833703041, -0.008433333598077297, 0.01209999993443489, 0.012350000441074371, -0.0006671875016763806, 0.04723333194851875, 0.011549999937415123, -0.02905000001192093, 0.02068333327770233, -0.04479999840259552, -0.01873333379626274, -0.022183332592248917, -0.017383333295583725, 0.013975000008940697, -0.008166667073965073, 0.02501666732132435, 0.026116667315363884, -0.01067500002682209, -0.0029437500052154064, -0.07900000363588333, 0.013275000266730785, 0.004762500058859587, 0.0010906249517574906, 0.05620000138878822, 0.038066666573286057, 0.043299999088048935, 0.0002658854064065963, 0.007470833137631416, 0.014658333733677864, -0.013716666959226131, -0.05700000002980232, 0.007199999876320362, -0.07320000231266022, -0.016733333468437195, -0.01498333364725113, 0.012474999763071537, -0.035999998450279236, 0.045633334666490555, 0.031433332711458206, -0.08266666531562805, -0.03880000114440918, 0.022549999877810478, 0.025433333590626717, -0.013758333399891853, 0.006183333229273558, -0.008358333259820938, 0.009949999861419201, -0.08246666938066483, 0.027566665783524513, -0.007762500084936619, -0.04833333194255829, 0.08619999885559082, 0.011433333158493042, 0.070333331823349, 0.014341666363179684, 0.04690000042319298, -0.002073958283290267, -0.04349999874830246, -0.029516667127609253, 0.03826666623353958, 0.01668333262205124, 0.009425000287592411, -0.0676666647195816, -0.02878333255648613, -0.01074166689068079, -0.01951666735112667, 0.034466665238142014, -0.02889999933540821, -0.030416667461395264, -0.03813333436846733, 0.04729999974370003, -0.017416667193174362, -0.04399999976158142, 0.03590000048279762, -0.022199999541044235, -0.028233332559466362, 0.002339583355933428, -0.05920000001788139, -0.08540000021457672, 0.01756666600704193, 0.029400000348687172, 0.08739999681711197, 0.02981666661798954, -0.02800000086426735, -0.05556666851043701, -0.024800000712275505, -0.03656666725873947, 0.05183333158493042, 0.01419166661798954, 0.05183333158493042, 0.032099999487400055, 0.0004117187636438757, -0.011766666546463966, -0.027666667476296425, -0.03308333456516266, -0.01484999991953373, 0.0031812500674277544, -0.06053333356976509, -0.009633333422243595, 0.04213333502411842, 0.011891666799783707, -0.03388333320617676, -0.002168749924749136, 0.015549999661743641, 0.025350000709295273, 0.03440000116825104, 0.03476666659116745, 0.010166666470468044, -0.029516667127609253, -0.0478999987244606, 0.01613333262503147, -0.015699999406933784, -0.008024999871850014, -0.03779999911785126, 0.012875000014901161, -0.014875000342726707, -0.00989999994635582, -0.007887500338256359, 0.000907812500372529, 0.018549999222159386, -0.024150000885128975, -0.03200000151991844, -0.05000000074505806, -0.05923333391547203, 0.019366666674613953, 0.00936666689813137, -0.04470000043511391, 0.05373333394527435, 0.04286666586995125, 0.006904166657477617, 0.055166665464639664, -0.029600000008940697, 0.0002476562513038516, -0.03583333268761635, -0.02319999970495701, 0.022683333605527878, -0.025100000202655792, -0.022466666996479034, 0.043299999088048935, -0.028200000524520874, 0.0001682291622273624, -0.028200000524520874, -0.01431666687130928, 0.03680000081658363, 0.018666666001081467, -0.09213333576917648, -0.025433333590626717, 0.010883333161473274, 0.09359999746084213, -0.01509166695177555, 0.004529166501015425, -0.017100000753998756, 0.005595833528786898, -0.02044999971985817, 0.00840416643768549, 0.0273333340883255, -0.05130000039935112, -0.023916667327284813, -0.053833331912755966, -0.01665833406150341, -0.008816666901111603, -0.03750000149011612, 0.04699999839067459, 0.048633333295583725, -0.06013333424925804, -0.009033333510160446, 0.022050000727176666, -0.0037645832635462284, 0.000147135418956168, -0.05596666783094406, -0.006716666743159294, 0.003975000232458115, 0.02319999970495701, -0.010575000196695328, -0.010099999606609344, 0.05986666679382324, 0.038733333349227905, -0.07953333109617233, 0.054466668516397476, 0.025483332574367523, -0.031433332711458206, 0.06893333047628403, -0.01625833287835121, -0.021666666492819786, -0.028483333066105843, -0.00793333351612091, -0.08946666866540909, 0.03786666691303253, 0.038600001484155655, 0.01140000019222498, 0.054633334279060364, 0.05193333327770233, -0.06893333047628403, -0.023933332413434982, -0.022733332589268684, 0.00019713542133104056, -0.07353333383798599, -0.06939999759197235, 0.01503333356231451, 0.030533334240317345, -0.014674999751150608, 0.026783334091305733, 0.018683332949876785, 0.011474999599158764, -0.019333332777023315, 0.028866667300462723, -0.04983333498239517, -0.06756666302680969, 0.032616667449474335, 0.05909999832510948, 0.003441666718572378, -0.03766666725277901, -0.01860000006854534, -0.008708333596587181, 0.04936666786670685, -0.0484333336353302, 0.03358333185315132, -0.06893333047628403, -0.06430000066757202, -0.003547916654497385, -0.031950000673532486, 0.02459999918937683, 0.018666666001081467, 0.003312499960884452, -0.020633332431316376, -0.019300000742077827, 0.0004760416632052511, -0.001485416665673256, 0.018966667354106903, -0.05079999938607216, 0.04873333498835564, -0.02993333339691162, 0.038100000470876694, -0.06289999932050705, -0.020783333107829094, 0.017116665840148926, 0.02979999966919422, -0.00008717447781236842, 0.007833333685994148, 0.03550000116229057, 0.008875000290572643, 0.01795000024139881, 0.007229166571050882, -0.005350000225007534, -0.04749999940395355, 0.020766666159033775, 0.031833332031965256, 0.00984166655689478, -0.049400001764297485, 0.005337500013411045, 0.03411666676402092, 0.03766666725277901, 0.000049023437895812094, 0.03449999913573265, -0.03620000183582306, -0.018200000748038292, -0.04283333197236061, 0.03086666576564312, -0.00936666689813137, -0.04270000010728836, 0.002643750049173832, 0.01614999957382679, 0.01366666704416275, 0.057633332908153534, -0.036400001496076584, -0.03593333438038826, -0.033283334225416183, -0.001184375025331974, -0.029200000688433647, -0.04213333502411842, -0.06499999761581421, -0.035633333027362823, 0.011274999938905239, 0.11433333158493042, 0.038066666573286057, -0.008558332920074463, 0.019333332777023315, 0.047600001096725464, 0.03333333507180214, -0.001860416610725224, -0.011583332903683186, -0.048700001090765, -0.00039348957943730056, 0.0007338541909120977, 0.012666666880249977, -0.030133333057165146, 0.0007484374800696969, -0.04573333263397217, -0.007591666653752327, -0.016558334231376648, 0.02565000019967556, -0.05133333429694176, -0.04266666620969772, -0.03426666557788849, 0.023350000381469727, -0.061133332550525665, 0.010508333332836628, 0.03909999877214432, -0.017016666010022163, 0.026249999180436134, -0.009875000454485416, -0.07486666738986969, 0.00628749979659915, 0.04143333435058594, -0.06403333693742752, 0.0169166661798954, 0.04593333229422569, -0.033516667783260345, -0.0317833349108696, 0.040966667234897614, 0.01941666752099991, 0.01048333290964365, 0.014650000259280205, 0.04259999841451645, 0.03680000081658363, 0.01913333311676979, -0.03896666690707207, 0.0012416666140779853, -0.067133329808712, -0.07286666333675385, 0.03986666724085808, 0.006962500046938658, -0.01913333311676979, 0.0714000016450882, 0.014858333393931389, -0.006500000134110451, -0.020383333787322044, 0.014050000347197056, -0.020649999380111694, 0.029500000178813934, 0.06279999762773514, -0.014341666363179684, -0.051500000059604645, -0.02280000038444996, -0.01080000028014183, -0.030233332887291908, -0.0018572916742414236, 0.02135000005364418, -0.07440000027418137, -0.07893333584070206, 0.03790000081062317, -0.011308332905173302, 0.0009281249949708581, 0.0048500001430511475 ]
42,080
patch_ng
save
Saves a file with given content Params: path: path to write file to content: contents to save in the file only_if_modified: file won't be modified if the content hasn't changed
def save(path, content, only_if_modified=False): """ Saves a file with given content Params: path: path to write file to content: contents to save in the file only_if_modified: file won't be modified if the content hasn't changed """ try: os.makedirs(os.path.dirname(path)) except Exception: pass new_content = to_file_bytes(content) if only_if_modified and os.path.exists(path): old_content = load(path, binary=True) if old_content == new_content: return with open(path, "wb") as handle: handle.write(new_content)
(path, content, only_if_modified=False)
[ 0.06048257648944855, -0.020499248057603836, -0.04431114345788956, 0.013562273234128952, 0.05895091965794563, -0.03594047203660011, -0.025022974237799644, 0.0346759632229805, 0.03665286675095558, -0.02160346508026123, 0.04213833063840866, 0.01422124169766903, 0.0030900256242603064, -0.023081690073013306, -0.0014170038048177958, 0.017480460926890373, -0.0024466412141919136, -0.03971618041396141, -0.0077695888467133045, 0.045771561563014984, 0.023473508656024933, -0.036795347929000854, -0.006015309132635593, 0.022048713639378548, 0.053465455770492554, -0.020552678033709526, 0.013001260347664356, 0.02961793914437294, 0.01688382774591446, -0.02504078298807144, 0.040606677532196045, -0.04758817330002785, 0.031078355386853218, -0.014586345292627811, -0.057169925421476364, 0.029600130394101143, 0.02703549712896347, 0.055816370993852615, 0.008330602198839188, -0.03009880892932415, -0.05396413430571556, 0.01755170151591301, -0.01808599941432476, 0.019270360469818115, -0.008735778741538525, 0.015485747717320919, -0.02881649136543274, 0.011567560024559498, 0.02504078298807144, 0.0190744511783123, 0.04602089896798134, -0.03403480723500252, 0.008553226478397846, 0.003878115676343441, 0.002215112093836069, 0.00007805765199009329, 0.053073637187480927, 0.0967436283826828, -0.021745944395661354, 0.007017118856310844, 0.047481317073106766, -0.027551986277103424, 0.02236929163336754, -0.028015045449137688, 0.010694872587919235, 0.030882446095347404, -0.0499747060239315, -0.06283348798751831, -0.03939560055732727, 0.009047452360391617, -0.047481317073106766, -0.03261001035571098, 0.03604733198881149, 0.021140405908226967, -0.0005226106150075793, 0.06518439948558807, -0.02349131926894188, -0.028246574103832245, 0.011318220756947994, 0.04370560869574547, 0.013553368858993053, -0.10657471418380737, 0.01701740361750126, -0.0016975104808807373, -0.035334933549165726, -0.03747212514281273, 0.09645866602659225, 0.004741898272186518, 0.06953002512454987, 0.03843386471271515, 0.006883543916046619, 0.03553084284067154, 0.017435936257243156, -0.016376245766878128, 0.020143048837780952, -0.042601391673088074, 0.0025690847542136908, -0.01805928535759449, -0.041568413376808167, 0.050437767058610916, -0.05724116414785385, 0.06115935370326042, -0.01816614530980587, -0.042494531720876694, 0.03294840082526207, -0.017996950075030327, 0.00268039689399302, -0.00116209895350039, -0.028567152097821236, -0.08691253513097763, -0.045344121754169464, 0.004773065447807312, -0.048906110227108, 0.01781885139644146, 0.022493962198495865, -0.04822933301329613, 0.010864066891372204, -0.041247833520174026, -0.03718716651201248, 0.009902330115437508, 0.001208850066177547, -0.01973341964185238, 0.009795470163226128, 0.0357445627450943, 0.051791321486234665, -0.004741898272186518, 0.04655519872903824, 0.017694180831313133, -0.01661667972803116, -0.0017030760645866394, -0.012297767214477062, -0.024274956434965134, 0.001012384076602757, 0.018397673964500427, 0.008553226478397846, -0.0325031504034996, -0.01691054366528988, 0.0013646871084347367, -0.01808599941432476, 0.013865042477846146, -0.010525678284466267, -0.054106615483760834, 0.008735778741538525, 0.014782254584133625, 0.08256690949201584, -0.0352102629840374, 0.011353840120136738, -0.013437604531645775, 0.004719635471701622, 0.04231642931699753, 0.015031593851745129, 0.026038140058517456, -0.05417785421013832, -0.014034237712621689, -0.005334078799933195, -0.06429390609264374, 0.009078620001673698, -0.022778920829296112, -0.017427032813429832, -0.005797137506306171, 0.03460472449660301, 0.03992989659309387, 0.05777546390891075, 0.011790184304118156, 0.041568413376808167, 0.0553533099591732, -0.019822468981146812, 0.052539341151714325, 0.006834566593170166, -0.004265482071787119, -0.015646036714315414, 0.031363315880298615, -0.03417728468775749, -0.010276339016854763, -0.014230147004127502, -0.0017487140139564872, 0.03339364752173424, -0.029796039685606956, 0.050865206867456436, -0.004171979613602161, 0.041746512055397034, -0.0031701703555881977, -0.035014353692531586, 0.10023437440395355, 0.04833619296550751, 0.0013824970228597522, -0.044916681945323944, 0.043669987469911575, 0.04370560869574547, 0.040179237723350525, -0.00400946382433176, 0.025877851992845535, -0.014283576048910618, -0.02000056952238083, -0.021140405908226967, -0.027712276205420494, 0.010988736525177956, -0.0886935293674469, -0.054747771471738815, 0.11889919638633728, -0.013206074945628643, -0.047481317073106766, 0.047267597168684006, 0.002382080303505063, 0.01658996380865574, 0.04317130893468857, 0.0068746390752494335, 0.020036188885569572, -0.07480177283287048, 0.009136502631008625, -0.0204280074685812, -0.0014993748627603054, -0.008620013482868671, -0.025343552231788635, 0.03822014480829239, -0.027747895568609238, -0.05962769687175751, 0.0537504181265831, -0.04708949476480484, 0.01561041735112667, -0.04986784979701042, 0.05118578299880028, -0.07444557547569275, 0.05424909293651581, 0.045023541897535324, -0.03583361208438873, 0.012609441764652729, -0.007400032598525286, 0.018522342666983604, -0.01571727730333805, 0.06361712515354156, 0.05310925841331482, 0.07373317331075668, -0.05239685997366905, -0.03793518617749214, -0.03519245237112045, 0.000620565318968147, -0.024221526458859444, -0.039644937962293625, 0.005721445195376873, 0.00733769778162241, -0.019769039005041122, -0.005543345585465431, 0.03811328485608101, -0.008152502588927746, -0.052218761295080185, 0.015708371996879578, -0.05606570839881897, -0.022226812317967415, -0.018157240003347397, 0.021265074610710144, -0.009412555955350399, -0.05239685997366905, -0.023936567828059196, 0.03643915057182312, -0.006242386065423489, -0.003964939154684544, -0.02671491913497448, 0.0036955636460334063, 0.01480896957218647, -0.017427032813429832, -0.018949782475829124, -0.018771681934595108, -0.05236123874783516, -0.01536998338997364, -0.05923587828874588, -0.012422436848282814, 0.03510340303182602, -0.0028562699444592, 0.00023445123224519193, 0.01571727730333805, 0.039858657866716385, -0.0258066114038229, -0.0612662136554718, 0.005133716855198145, -0.04787313565611839, -0.008557679131627083, 0.02187061309814453, 0.04933355003595352, 0.03371422737836838, 0.004171979613602161, 0.03928874060511589, 0.026145000010728836, 0.0012678455095738173, -0.004082930274307728, 0.018522342666983604, -0.03889692202210426, 0.04331378638744354, 0.004750803112983704, 0.009848900139331818, 0.006001951638609171, 0.026002520695328712, -0.03499654307961464, 0.02461334504187107, 0.012814256362617016, 0.022048713639378548, -0.029849469661712646, -0.06461448222398758, 0.07277143746614456, -0.03084682673215866, -0.03278810903429985, 0.04780189320445061, -0.0003715043421834707, -0.018664823845028877, 0.016955068334937096, -0.02229805290699005, -0.020926686003804207, -0.043563127517700195, -0.04416866600513458, 0.08534526079893112, 0.04331378638744354, -0.08506029844284058, 0.022440532222390175, 0.06714349240064621, 0.02634090930223465, 0.054534055292606354, 0.009724230505526066, -0.02171032316982746, 0.008882710710167885, -0.01290330570191145, -0.018397673964500427, -0.005369698628783226, -0.022547392174601555, 0.042387671768665314, 0.016866018995642662, -0.05998389795422554, 0.018468914553523064, 0.020232098177075386, 0.02799723483622074, -0.027124546468257904, 0.01827300526201725, 0.05524645000696182, 0.0403217189013958, 0.010249624028801918, 0.008798113092780113, -0.014212336391210556, 0.013749278150498867, -0.03398137539625168, 0.033518318086862564, -0.002061501145362854, 0.057169925421476364, -0.010124954394996166, -0.008410747162997723, 0.0066030374728143215, 0.012297767214477062, 0.0050045945681631565, -0.03412385657429695, 0.058559101074934006, -0.011620990000665188, -0.01174565963447094, -0.012814256362617016, 0.007693896535784006, -0.020944496616721153, -0.020196478813886642, -0.04498792439699173, -0.01896759308874607, 0.04879925027489662, -0.03992989659309387, -0.029172690585255623, -0.031968854367733, 0.06461448222398758, 0.026999877765774727, 0.020410198718309402, -0.020552678033709526, -0.023776277899742126, 0.006749969441443682, -0.00929679162800312, 0.055175211280584335, 0.06041133776307106, -0.07109730690717697, 0.056849345564842224, 0.009145407006144524, 0.012199812568724155, 0.0143815316259861, 0.035780180245637894, -0.025165453553199768, -0.006500630173832178, -0.01531655341386795, -0.02101573534309864, 0.03462253510951996, 0.026839587837457657, -0.07059862464666367, 0.0013301803264766932, -0.03455129638314247, 0.02354474738240242, -0.004781970288604498, 0.09075948596000671, -0.011220266111195087, 0.008971760049462318, -0.07273581624031067, 0.013535559177398682, 0.007573679555207491, -0.012547106482088566, -0.04765941575169563, -0.017569512128829956, 0.022565200924873352, 0.006255743559449911, 0.07216589897871017, 0.0031590391881763935, 0.05895091965794563, -0.009528321214020252, 0.0612662136554718, -0.0220309030264616, 0.0019913746509701014, -0.03289496898651123, 0.0397874191403389, 0.010436628013849258, 0.05293115973472595, 0.06265538930892944, 0.02591347135603428, -0.02520107291638851, 0.014978164806962013, -0.020071808248758316, -0.034373193979263306, 0.04520164057612419, 0.00406289380043745, 0.018344243988394737, -0.0526818186044693, 0.02117602527141571, -0.03392794728279114, -0.03604733198881149, 0.0634390264749527, 0.024043425917625427, 0.012556011788547039, -0.01843329332768917, -0.029813848435878754, 0.008099072612822056, -0.021995283663272858, -0.04627024009823799, 0.05606570839881897, 0.029226120561361313, -0.061088114976882935, -0.07985979318618774, 0.00044218756374903023, 0.027961615473031998, 0.0028674013447016478, -0.0012533749686554074, -0.046092141419649124, -0.046733297407627106, 0.0118258036673069, -0.0016307231271639466, 0.03529931232333183, -0.026269670575857162, -0.035922661423683167, -0.03305526077747345, -0.00910978764295578, -0.015129548497498035, -0.00969751551747322, 0.0988808199763298, -0.007453462108969688, -0.00496006989851594, -0.001905664219520986, 0.06365274637937546, 0.01789899542927742, -0.00986670982092619, -0.01725783757865429, -0.0035731203388422728, -0.059413980692625046, 0.0328059196472168, -0.02602033130824566, 0.020766396075487137, 0.0357445627450943, 0.10685967653989792, -0.06383084505796432, 0.0365460105240345, -0.07227276265621185, -0.04648396000266075, -0.0013268409529700875, 0.04762379452586174, -0.009991379454731941, 0.012653966434299946, -0.004612775985151529, 0.017053022980690002, 0.01427467167377472, 0.05271743983030319, -0.002459998708218336, 0.002260749926790595, -0.017622942104935646, -0.03982304036617279, 0.010694872587919235, 0.049903467297554016, -0.00404285779222846, -0.06518439948558807, 0.00411632377654314, 0.028139714151620865, -0.05784670263528824, -0.034106045961380005, 0.002747184131294489, 0.010596917942166328, 0.03166608512401581, 0.007079453207552433, -0.014613060280680656, -0.031630463898181915, -0.05635066702961922, -0.00452149985358119, -0.037757083773612976, -0.07480177283287048, 0.027160167694091797, -0.029172690585255623, -0.043028827756643295, -0.01617143116891384, -0.06276224553585052, -0.028246574103832245, 0.017400316894054413, -0.005498820915818214, 0.03608294948935509, 0.02477363497018814, -0.08035847544670105, 0.010632537305355072, 0.015058308839797974, -0.06913820654153824, 0.03836262226104736, -0.006095454096794128, 0.015939900651574135, 0.007368864957243204, 0.020249908789992332, -0.012422436848282814, 0.024755824357271194, -0.015939900651574135, -0.026269670575857162, -0.05186256021261215, -0.008864900097250938, 0.029065830633044243, -0.018094904720783234, -0.04203147068619728, 0.01139836572110653, -0.010472248308360577, -0.04520164057612419, 0.0006728820153512061, 0.020570486783981323, 0.006131073925644159, -0.027213597670197487, 0.05204066261649132, 0.024274956434965134, 0.03401699662208557, 0.019323790445923805, 0.014230147004127502, -0.026572439819574356, 0.009412555955350399, -0.032164763659238815, 0.003911509178578854, 0.007627109065651894, -0.027961615473031998, -0.016661204397678375, -0.061088114976882935, 0.018344243988394737, 0.0006506195641122758, -0.03191542252898216, -0.002885211259126663, -0.048086851835250854, -0.05677810683846474, -0.007720611523836851, 0.04758817330002785, -0.023135120049118996, 0.016661204397678375, 0.0034239620435982943, -0.009875615127384663, 0.03180856257677078, 0.0446317233145237, 0.01542341336607933, -0.010801732540130615, -0.011612084694206715, 0.013954092748463154, 0.04106973484158516, -0.006309173069894314, 0.0386832021176815, 0.018718253821134567, 0.003176849102601409, 0.009163216687738895, -0.052111901342868805, 0.09859585762023926, 0.0564575269818306, 0.017427032813429832, -0.04160403460264206, 0.0645076259970665, 0.003348269732668996, -0.00703047588467598, 0.03704468533396721, 0.030437197536230087, 0.015583702363073826, -0.059307120740413666, -0.028246574103832245, -0.04552222043275833, 0.001565048936754465, 0.05082958564162254, -0.004033952485769987, 0.015859756618738174, 0.05489025264978409, -0.05446281284093857, 0.03423071652650833, 0.0026047045830637217, 0.06147993355989456, 0.029261741787195206, -0.06814084947109222, 0.029261741787195206, -0.010409913025796413, 0.011380555108189583, -0.047267597168684006, -0.02514764294028282, -0.0048665679059922695, -0.02096230536699295, -0.004991237074136734, -0.04349188879132271, 0.007328792475163937, -0.02833562344312668, 0.017569512128829956, -0.03412385657429695, 0.012190908193588257, 0.03073996677994728, 0.00697259372100234, -0.04110535606741905, 0.03800642490386963, 0.040927253663539886, 0.040606677532196045, 0.03398137539625168, 0.05724116414785385, -0.009706420823931694, -0.021193835884332657, -0.061942990869283676, -0.014363721013069153, -0.03155922517180443, -0.021888423711061478, 0.04427552595734596, -0.013464318588376045, -0.05342983826994896, -0.004577156156301498, -0.03510340303182602, -0.036902207881212234, -0.0012322255643084645, 0.030383767560124397, -0.0027961614541709423, -0.023455698043107986, 0.020089618861675262, 0.048300571739673615, 0.04181775078177452, -0.04919106885790825, -0.042067091912031174, -0.012992355041205883, 0.041461553424596786, 0.02322416938841343, -0.011807993985712528, -0.02634090930223465, 0.007515796925872564, -0.025112023577094078, -0.059307120740413666, 0.01749827153980732, 0.05079396441578865, -0.04000113904476166, -0.005632395390421152, -0.050651486963033676, 0.02961793914437294, -0.018210669979453087, 0.014924734830856323, 0.0023353290744125843, 0.03697344660758972, 0.0001003896541078575, 0.15402041375637054, -0.025165453553199768, 0.012199812568724155, -0.028780872002243996, 0.04057105630636215, -0.03382108733057976, 0.003455129452049732, -0.002669265726581216, 0.012128572911024094, 0.020232098177075386, -0.036243241280317307, 0.03337583690881729, 0.039644937962293625, -0.06728597730398178, 0.02322416938841343, 0.03950246050953865, -0.00239766389131546, -0.016892733052372932, 0.019252551719546318, -0.058345381170511246, 0.0025356910191476345, -0.004942259751260281, 0.021514413878321648, 0.011255885474383831, 0.013820517808198929, 0.032984018325805664, 0.01451510563492775, -0.026679297909140587, 0.010329768992960453, 0.004728540778160095, -0.0006773344939574599, 0.027445126324892044, -0.04972536861896515, -0.07658276706933975, -0.02268987149000168, 0.00037122605135664344, 0.0002773064188659191, -0.06187175214290619, 0.01050786767154932, 0.039431218057870865, 0.03289496898651123, 0.10144545137882233, 0.03822014480829239, -0.010846257209777832, -0.021140405908226967, 0.029706990346312523, 0.03879006206989288, 0.0082014799118042, -0.012226527556777, -0.097812220454216, -0.07772260159254074, -0.008851543068885803, 0.01486239954829216, -0.06197861209511757, 0.009252266958355904, -0.007613752037286758, 0.0005270630936138332, -0.029902899637818336, 0.004069572780281305, -0.03220038115978241, -0.026412149891257286, -0.037329647690057755, 0.011166836135089397, -0.023366648703813553, -0.015539177693426609, -0.05660000815987587, -0.0022640894167125225, -0.061194974929094315, -0.05015280842781067, -0.07351945340633392, -0.009154312312602997, -0.0357445627450943, 0.02498735301196575, 0.00708390586078167, 0.001344650867395103, 0.023687228560447693, -0.020712966099381447, 0.021745944395661354, -0.022707680240273476, 0.002228469355031848, -0.025183264166116714, -0.019110072404146194, 0.016269385814666748, 0.04887049272656441, 0.04520164057612419, 0.044702962040901184, 0.01731126755475998, -0.03090025670826435, 0.03704468533396721, -0.07109730690717697, 0.04220957309007645, 0.04691139608621597, -0.04954726994037628, 0.048906110227108, 0.0018744968110695481, -0.007351055275648832, -0.02181718312203884, 0.04858553037047386, 0.06803399324417114, 0.0397874191403389, -0.026412149891257286, 0.006384865380823612, 0.050224047154188156, -0.009546130895614624, -0.01685711368918419, -0.029600130394101143, -0.04046419635415077, -0.03499654307961464, 0.009078620001673698, 0.032004471868276596, -0.09809718281030655, 0.034907493740320206 ]
42,081
patch_ng
setdebug
null
def setdebug(): global debugmode, streamhandler debugmode = True loglevel = logging.DEBUG logformat = "%(levelname)8s %(message)s" logger.setLevel(loglevel) if streamhandler not in logger.handlers: # when used as a library, streamhandler is not added # by default logger.addHandler(streamhandler) streamhandler.setFormatter(logging.Formatter(logformat))
()
[ 0.004587424919009209, 0.009160785935819149, 0.015377367846667767, -0.016652563586831093, 0.05284563824534416, 0.02314106374979019, -0.024191224947571754, 0.012808222323656082, -0.03489912301301956, 0.01321140956133604, -0.06706032902002335, -0.05220803990960121, -0.022972287610173225, 0.00696669751778245, 0.005780577659606934, -0.041781432926654816, -0.03261127322912216, 0.01281759887933731, -0.018724758177995682, 0.02015935443341732, 0.027116674929857254, 0.04673219472169876, -0.01324891485273838, 0.009062333032488823, -0.0007026472594588995, 0.020553164184093475, 0.0012072171084582806, 0.02066568285226822, 0.02820434235036373, -0.007379261311143637, 0.011176721192896366, -0.04721977189183235, 0.0005066209705546498, -0.04999519884586334, -0.0430191233754158, -0.0048663741908967495, 0.0028035566210746765, 0.009704619646072388, -0.012892610393464565, 0.04159390553832054, -0.024172471836209297, 0.042494043707847595, -0.02509136311709881, 0.025916490703821182, 0.002939515048637986, 0.039006005972623825, 0.035236675292253494, 0.04189395159482956, -0.006254088133573532, 0.025691455230116844, 0.020196860656142235, 0.01575242541730404, 0.0215095616877079, 0.021772103384137154, -0.016802586615085602, 0.03311759978532791, 0.024903833866119385, -0.028523141518235207, -0.028035566210746765, -0.07294873148202896, -0.030529700219631195, 0.039868637919425964, 0.01261131651699543, 0.006005612201988697, -0.03471159562468529, -0.041368868201971054, -0.04013117775321007, 0.058734044432640076, -0.0034645958803594112, 0.011279861442744732, -0.05899658426642418, -0.018471594899892807, -0.02863566018640995, -0.06582263857126236, -0.02715418115258217, 0.0383121483027935, -0.10396600514650345, 0.039231039583683014, -0.006722910329699516, -0.010529746301472187, -0.022766005247831345, 0.03525542840361595, 0.023347344249486923, 0.06556009501218796, -0.010914180427789688, -0.00897794496268034, -0.01801214925944805, 0.05295815318822861, 0.07261118292808533, -0.01915607415139675, -0.021884620189666748, 0.010567252524197102, -0.02079695276916027, 0.02451002411544323, -0.05130790174007416, 0.046357136219739914, -0.01659630611538887, -0.007238614372909069, -0.005377390421926975, 0.00268166302703321, -0.0036122750025242567, 0.00511016184464097, 0.026122773066163063, -0.05734632909297943, -0.01549926120787859, -0.06638522446155548, 0.04309413582086563, 0.03641810640692711, 0.020121848210692406, 0.035874273627996445, -0.0002644450287334621, -0.05153293535113335, -0.012048730626702309, 0.046694688498973846, -0.007065150421112776, -0.017430808395147324, 0.048832520842552185, -0.005822771694511175, -0.004711662884801626, -0.03112979419529438, -0.04718226566910744, -0.01477727573364973, -0.009367067366838455, 0.008307529613375664, 0.044856905937194824, 0.013970901258289814, 0.04538198933005333, 0.07234863936901093, 0.054195843636989594, -0.0383121483027935, 0.014861663803458214, 0.006310346536338329, -0.005086720921099186, -0.018649747595191002, -0.0016748672351241112, -0.031879909336566925, -0.07654928416013718, -0.0018061375012621284, 0.006990138906985521, 0.0501452200114727, -0.08836360275745392, -0.05685875564813614, -0.026460323482751846, -0.033661432564258575, -0.007744942791759968, 0.050407763570547104, 0.010679769329726696, 0.06724785268306732, 0.013520832173526287, 0.022278429940342903, 0.036099307239055634, -0.009985912591218948, -0.033661432564258575, 0.015771178528666496, -0.020196860656142235, -0.011748683638870716, 0.035236675292253494, 0.06132194399833679, 0.06859806180000305, 0.01753395050764084, 0.006718222051858902, -0.02499759942293167, 0.021622078493237495, -0.03748702257871628, 0.016699446365237236, -0.012536305002868176, -0.006150946952402592, -0.018921663984656334, 0.009957782924175262, 0.0035208547487854958, -0.00876697525382042, 0.03328637406229973, -0.052470579743385315, 0.07666180282831192, 0.08453802019357681, 0.020703187212347984, 0.018696628510951996, 0.030679723247885704, -0.059821709990501404, 0.012104989029467106, -0.017543327063322067, 0.005518037360161543, -0.001669007004238665, 0.08213764429092407, 0.046207115054130554, -0.001123415189795196, 0.0027965244371443987, -0.020778199657797813, 0.02293478138744831, 0.009362379088997841, 0.033155106008052826, 0.010501616634428501, -0.06042180210351944, -0.0913640707731247, 0.015246097929775715, 0.0796622633934021, -0.01353958435356617, -0.11461764574050903, 0.04331916943192482, 0.015142956748604774, -0.028110578656196594, 0.026816628873348236, -0.054383374750614166, 0.016690069809556007, 0.041068822145462036, 0.02572896145284176, 0.002355831442400813, 0.013483325950801373, 0.05172046273946762, 0.009428014047443867, 0.007819954305887222, -0.026891641318798065, 0.038593441247940063, 0.011739308014512062, -0.008204388432204723, -0.03583676740527153, -0.05772138759493828, 0.010407852940261364, -0.04519445821642876, 0.01987806148827076, 0.02107824571430683, -0.01808715984225273, 0.0031809585634618998, -0.012067482806742191, -0.037655796855688095, 0.029835844412446022, 0.020478153601288795, -0.07167353481054306, -0.0804123803973198, -0.04594457522034645, 0.002405057894065976, 0.06751039624214172, -0.09834013879299164, 0.041218847036361694, -0.004212367348372936, -0.004871062468737364, -0.0025714896619319916, 0.005025773774832487, -0.038855984807014465, -0.05884655937552452, 0.0025972749572247267, -0.013623972423374653, 0.08048739284276962, -0.005007021129131317, -0.026122773066163063, 0.0003923455660697073, -0.015649285167455673, 0.0501452200114727, -0.017937136813998222, 0.04215649142861366, -0.02692914567887783, -0.04350670054554939, -0.0015447691548615694, 0.027547990903258324, -0.02865441143512726, -0.04388175532221794, 0.027660509571433067, 0.11056702584028244, -0.04054374247789383, -0.04624462127685547, -0.03834965452551842, -0.010651640594005585, -0.022822264581918716, 0.020403141155838966, 0.05704628303647041, 0.012517552822828293, -0.006549445912241936, -0.04380674660205841, 0.020759446546435356, -0.010285958647727966, 0.09916526824235916, 0.021772103384137154, -0.00783870741724968, 0.013811501674354076, -0.04586956277489662, -0.03510540723800659, -0.041218847036361694, -0.002185883466154337, -0.01880914531648159, -0.006807298399507999, 0.07264868915081024, -0.015555520541965961, 0.023028545081615448, 0.03561173379421234, 0.0033778639044612646, -0.033230118453502655, 0.0005722561036236584, 0.06848554313182831, 0.0011538886465132236, -0.034017737954854965, -0.03504914790391922, 0.06518504023551941, -0.00552272517234087, 0.03553672134876251, 0.010445358231663704, 0.013652102090418339, -0.0417439267039299, -0.026816628873348236, -0.00826064683496952, 0.03242374211549759, -0.006460369564592838, -0.0296483151614666, 0.03851843252778053, 0.07294873148202896, 0.014917922206223011, 0.023178568109869957, -0.04553201049566269, -0.004704630468040705, 0.007932471111416817, -0.022841017693281174, -0.015330485999584198, 0.03851843252778053, 0.00543364929035306, -0.028335612267255783, 0.022559722885489464, -0.004228776320815086, -0.028054319322109222, 0.01037034671753645, -0.00596810644492507, 0.10254079103469849, -0.0414813868701458, -0.010032794438302517, -0.00923110917210579, 0.030604712665081024, -0.0051336027681827545, -0.01995307207107544, 0.05479593575000763, -0.0026418131310492754, -0.017505820840597153, 0.01959676668047905, -0.056821249425411224, 0.036286838352680206, 0.005513349082320929, 0.03780582174658775, 0.0608343668282032, -0.020553164184093475, -0.025878984481096268, -0.11064203828573227, -0.029029469937086105, -0.030379677191376686, -0.061659492552280426, 0.07587417960166931, -0.036380600184202194, -0.04286910220980644, 0.021640831604599953, 0.040468730032444, -0.0407312735915184, -0.011720554903149605, 0.07073589414358139, 0.0004286792827770114, 0.020815705880522728, -0.04958263412117958, -0.05925912410020828, -0.0011198989814147353, 0.004423337522894144, -0.06143445894122124, -0.03606180101633072, -0.02871067076921463, 0.01353958435356617, 0.0237974151968956, -0.05734632909297943, 0.02934826910495758, 0.005185173358768225, -0.0025035105645656586, 0.033605173230171204, 0.004057656042277813, -0.01150489691644907, -0.0585465133190155, 0.057608868926763535, 0.025447668507695198, 0.015555520541965961, -0.012648822739720345, 0.024735059589147568, 0.06724785268306732, -0.05978420376777649, 0.03375519812107086, -0.004217055626213551, 0.002437875373288989, 0.010595381259918213, 0.03270503506064415, 0.04095630720257759, 0.008401293307542801, 0.02537265606224537, -0.02087196335196495, -0.004744480364024639, -0.03368018567562103, 0.02919824607670307, 0.04065626114606857, 0.005832148250192404, -0.030735982581973076, -0.02364739030599594, -0.0047983950935304165, 0.005653995554894209, 0.007144850213080645, -0.0021542380563914776, -0.055471040308475494, -0.019296720623970032, 0.036286838352680206, -0.006990138906985521, 0.030117137357592583, -0.01659630611538887, -0.023497367277741432, -0.006704157218337059, 0.011776813305914402, 0.059821709990501404, 0.0010062096407637, 0.03278004750609398, 0.03641810640692711, 0.04999519884586334, -0.061809517443180084, 0.04695723205804825, -0.034299030900001526, -0.06859806180000305, -0.00416548503562808, 0.00911859143525362, -0.04054374247789383, 0.04144388064742088, 0.01696198619902134, 0.018040277063846588, 0.0488700233399868, 0.04654466733336449, -0.011242356151342392, -0.0291419867426157, -0.013661478646099567, -0.010201570577919483, -0.0383121483027935, -0.016633810475468636, 0.04331916943192482, 0.018771640956401825, 0.017412055283784866, -0.046694688498973846, 0.04140637442469597, 0.0007858632015995681, 0.0033872402273118496, -0.022315936163067818, 0.0019409238593652844, 0.00739332614466548, 0.06679778546094894, -0.0014381121145561337, 0.020290624350309372, 0.043206654489040375, -0.031448591500520706, -0.05790891498327255, -0.06383483111858368, 0.0394560769200325, 0.021472055464982986, 0.03107353486120701, 0.051907993853092194, 0.04283159598708153, 0.006047806236892939, -0.006563510745763779, -0.04418180137872696, -0.019296720623970032, -0.006933880038559437, 0.05213302746415138, -0.0347491018474102, 0.014936675317585468, 0.019784295931458473, 0.0037482334300875664, -0.03107353486120701, 0.011664296500384808, -0.017280785366892815, -0.03990614414215088, 0.05914660915732384, -0.039081018418073654, 0.04354420676827431, 0.07474900782108307, 0.01668069325387478, -0.04388175532221794, -0.0450444370508194, 0.07906217128038406, 0.03484286367893219, -0.033230118453502655, 0.004219399765133858, 0.004714007023721933, 0.015227344818413258, -0.023422356694936752, -0.035011641681194305, -0.0077402545139193535, 0.014683511108160019, -0.09301432222127914, -0.03099852241575718, -0.008415358141064644, 0.012086235918104649, -0.04553201049566269, -0.027472980320453644, 0.0069104391150176525, -0.022428452968597412, -0.022972287610173225, 0.009563972242176533, 0.03990614414215088, -0.051607947796583176, -0.017430808395147324, -0.11634291708469391, 0.026329053565859795, 0.004603833891451359, -0.048119910061359406, -0.005471155047416687, 0.0304171834141016, 0.032161202281713486, -0.03654937818646431, -0.022315936163067818, -0.04868249595165253, 0.03450531139969826, 0.06552258878946304, 0.014636628329753876, 0.025053856894373894, 0.046769700944423676, -0.06068434566259384, 0.01126110926270485, 0.0018178580794483423, 0.03863094747066498, -0.050970349460840225, 0.0026488453149795532, 0.04766983911395073, 0.00008372871525352821, 0.027660509571433067, 0.006296282168477774, 0.01789025403559208, -0.07294873148202896, 0.04088129475712776, 0.0011861200910061598, 0.010089053772389889, -0.015339861623942852, -0.009578037075698376, 0.0067791687324643135, 0.021640831604599953, 0.06601016223430634, -0.01952175609767437, 0.04140637442469597, 0.058171458542346954, 0.02550392784178257, 0.006807298399507999, -0.007196420803666115, 0.013042633421719074, 0.060871873050928116, 0.03362392634153366, -0.030585959553718567, -0.014833534136414528, -0.036286838352680206, -0.019202956929802895, 0.0190904401242733, 0.014102171175181866, -0.03013589046895504, 0.027472980320453644, -0.020759446546435356, -0.011064203456044197, 0.042719077318906784, 0.05355824530124664, -0.002658221870660782, 0.03176739066839218, 0.014374088495969772, 0.01556489709764719, 0.017543327063322067, -0.0391935333609581, -0.06904812902212143, 0.03634309768676758, 0.030904758721590042, 0.022991040721535683, -0.02962956205010414, 0.008457552641630173, -0.010407852940261364, -0.08821358531713486, 0.04466937854886055, 0.01477727573364973, -0.06345976889133453, 0.002191743813455105, 0.06627270579338074, 0.0043178522028028965, -0.0020487529691308737, -0.0014650693628937006, 0.024678800255060196, -0.046994734555482864, 0.012311270460486412, 0.007332378998398781, 0.057608868926763535, 0.010426605120301247, 0.051907993853092194, 0.0391935333609581, 0.02827935479581356, -0.021040739491581917, -0.04999519884586334, 0.004052967764437199, 0.0022104966919869184, -0.018621617928147316, -0.06751039624214172, 0.06334725767374039, 0.00911859143525362, -0.010820415802299976, -0.04511944577097893, 0.005053902976214886, -0.06027178093791008, -0.030042126774787903, -0.0643974170088768, -0.023984942585229874, 0.02550392784178257, 0.006422863807529211, 0.021040739491581917, 0.10471612215042114, 0.04001866281032562, -0.06889811158180237, 0.006043117959052324, -0.028335612267255783, -0.051983002573251724, 0.008091870695352554, -0.07613672316074371, 0.0572713203728199, 0.006530693266540766, -0.009521778672933578, 0.02173459716141224, -0.037149470299482346, -0.0031879909802228212, 0.017196398228406906, 0.010604757815599442, -0.0019163107499480247, 0.011195474304258823, 0.080937460064888, 0.017702726647257805, -0.009484272450208664, -0.012461293488740921, 0.019334226846694946, 0.045269470661878586, -0.006521316710859537, -0.07294873148202896, 0.018068406730890274, 0.007904342375695705, 0.002353487303480506, -0.04084378853440285, -0.01881852187216282, -0.03746826946735382, 0.02387242577970028, 0.0557335801422596, 0.012939492240548134, -0.07092341780662537, -0.02957330457866192, -0.014120924286544323, -0.0006422863807529211, 0.012648822739720345, 0.01432720571756363, -0.004657748620957136, 0.01725265569984913, -0.006830739323049784, 0.014045912772417068, -0.04493191838264465, 0.020778199657797813, -0.010135935619473457, -0.005288314074277878, -0.05378328263759613, 0.010060924105346203, -0.029742078855633736, -0.024191224947571754, -0.002267927397042513, -0.012264388613402843, 0.10344092547893524, -0.00035425377427600324, 0.05029524490237236, -0.02137829177081585, 0.005138291046023369, 0.02736046351492405, 0.0028621593955904245, 0.018537228927016258, -0.011467390693724155, -0.0007020612247288227, -0.00035073759499937296, 0.05577108636498451, 0.019484249874949455, 0.01075478084385395, -0.023553626611828804, 0.0031434528063982725, -0.02351612038910389, -0.024134965613484383, -0.007219861727207899, -0.004819491878151894, 0.005518037360161543, 0.03660563752055168, 0.005021085496991873, -0.0055649192072451115, 0.013370809145271778, -0.006854180246591568, -0.04575704410672188, -0.08416295796632767, 0.07452397793531418, 0.02207214944064617, -0.04346919432282448, -0.004071720875799656, 0.02351612038910389, -0.053745776414871216, -0.019043557345867157, 0.024885082617402077, 0.006333787925541401, -0.03874346613883972, -0.021322032436728477, -0.04155639931559563, -0.0391935333609581, -0.06653524190187454, -0.04159390553832054, 0.026479076594114304, -0.0034645958803594112, -0.0021307969000190496, -0.04841995611786842, 0.006272840779274702, 0.027322957292199135, 0.05093284323811531, -0.04065626114606857, -0.011101709678769112, -0.06060933321714401, 0.028391871601343155, -0.009648360311985016, -0.026329053565859795, -0.011636166833341122, 0.0267228651791811, -0.0035302310716360807, -0.007974665611982346, -0.007960600778460503, -0.027623003348708153, -0.00886542722582817, -0.056671224534511566, 0.022822264581918716, -0.0036779099609702826, 0.01773085445165634, -0.04575704410672188, -0.018856028094887733, -0.02107824571430683, -0.013136398047208786, 0.06503501534461975, 0.010304711759090424, -0.031298570334911346, 0.03221746161580086, -0.015152333304286003, -0.0453069768846035, -0.028110578656196594, -0.005921224132180214, -0.07936222106218338, 0.03300508111715317, -0.03137357905507088, 0.0068963742814958096, 0.001924515119753778, -0.0031528291292488575, 0.03531168773770332, -0.011908083222806454, 0.021603327244520187, -0.03469284251332283, -0.002185883466154337, -0.0237974151968956, 0.006657274905592203, 0.007951224222779274, 0.033155106008052826, -0.013633348979055882, -0.12721958756446838, 0.012723834253847599, 0.005302378907799721, -0.009071709588170052, -0.01566803827881813, 0.02863566018640995, -0.00978900771588087, -0.02314106374979019, -0.019427992403507233, 0.01788087747991085, 0.015433626249432564, -0.03399898484349251, -0.02692914567887783, 0.027904296293854713, 0.028241848573088646, 0.03784332796931267, 0.02357237972319126, 0.08941376954317093, -0.03874346613883972, -0.0021788510493934155 ]
42,086
patch_ng
to_file_bytes
null
def to_file_bytes(content): if PY3K: if not isinstance(content, bytes): content = bytes(content, "utf-8") elif isinstance(content, unicode): content = content.encode("utf-8") return content
(content)
[ -0.003964263945817947, -0.04356371983885765, -0.034028757363557816, 0.03055678680539131, -0.001877411501482129, -0.030401326715946198, -0.024044685065746307, 0.0681266114115715, 0.05541332811117172, -0.015597953461110592, 0.10709558427333832, 0.011374587193131447, -0.025478383526206017, 0.005760706029832363, 0.0475020706653595, 0.030781343579292297, -0.03627431020140648, -0.01489837747067213, 0.06142449751496315, 0.07579603791236877, -0.025979315862059593, -0.008766291663050652, 0.005199317820370197, 0.005385007709264755, 0.014794736169278622, 0.02107364684343338, -0.04943670332431793, 0.015019292011857033, -0.05078403279185295, 0.009310406632721424, 0.020624537020921707, -0.061666328459978104, 0.01158186886459589, 0.0006374993827193975, -0.02257644012570381, 0.016694819554686546, 0.058522552251815796, 0.08097808063030243, -0.027395740151405334, -0.05620790645480156, -0.025754760950803757, 0.014397446066141129, -0.08671287447214127, -0.011564595624804497, -0.010191353969275951, -0.012696008197963238, -0.008178993128240108, 0.02166094444692135, 0.0022585075348615646, 0.03803620487451553, 0.04463467374444008, -0.03661977872252464, 0.019346298649907112, -0.02173003926873207, 0.03389056771993637, -0.0028393284883350134, -0.030884983018040657, -0.024545615538954735, -0.03883078321814537, 0.0871274396777153, 0.03207685425877571, -0.00009109062375500798, 0.07717791199684143, -0.07199586927890778, -0.014466539956629276, 0.07627969235181808, 0.005169088952243328, -0.07621059566736221, -0.04556744173169136, 0.006503465585410595, -0.006879163905978203, -0.01642708107829094, -0.03494425117969513, 0.015882965177297592, -0.015356124378740788, 0.02001996524631977, -0.016245707869529724, 0.01239372231066227, -0.0028609202709048986, 0.05980079248547554, 0.05154406651854515, -0.08602193742990494, 0.01602979004383087, 0.011055028066039085, 0.045809272676706314, -0.05430782213807106, 0.0338214747607708, 0.04270004481077194, 0.008425140753388405, 0.022628260776400566, 0.019415391609072685, 0.0007173892809078097, -0.017826233059167862, 0.051233142614364624, 0.005082721821963787, -0.05240774154663086, 0.029848575592041016, 0.009595418348908424, -0.09714605659246445, 0.04795118421316147, -0.0334932804107666, 0.09403683245182037, 0.003951308783143759, -0.0013225008733570576, -0.020261792466044426, -0.04508378356695175, -0.020244520157575607, -0.017808958888053894, -0.014941561035811901, -0.07227224111557007, -0.05562060698866844, 0.015442491509020329, -0.005177726037800312, -0.015148842707276344, 0.044289205223321915, -0.08298180252313614, 0.04031630605459213, -0.03959081694483757, 0.046672943979501724, 0.0014725642977282405, 0.05043856427073479, 0.03948717564344406, 0.009353590197861195, 0.022749174386262894, 0.06159723177552223, 0.016815733164548874, 0.007518282625824213, 0.007885344326496124, 0.03596338629722595, -0.011935975402593613, 0.025582024827599525, 0.013291943818330765, -0.010856382548809052, -0.05030037462711334, 0.009629965759813786, -0.023336471989750862, -0.009664512239396572, -0.008697197772562504, 0.0008836464839987457, 0.03606702759861946, 0.03446059301495552, -0.027378467842936516, 0.044461939483881, -0.02098727971315384, -0.0006968770176172256, -0.044289205223321915, 0.01765349693596363, -0.060422636568546295, -0.06187360733747482, 0.02630751207470894, -0.006058673374354839, 0.029002174735069275, -0.04719115048646927, -0.00037272932240739465, -0.008619466796517372, -0.020434528589248657, 0.01242826972156763, -0.028622157871723175, -0.00457747234031558, -0.014311078935861588, -0.004689750261604786, 0.03551427647471428, 0.011927338317036629, 0.028173048049211502, 0.05534423142671585, 0.044289205223321915, -0.02485653944313526, -0.01955358125269413, 0.005855710245668888, -0.05606972053647041, -0.017627587541937828, 0.02763756923377514, -0.0323014110326767, 0.015209299512207508, 0.08118536323308945, -0.024528343230485916, 0.01822352223098278, 0.020296340808272362, 0.005752068944275379, -0.02819032035768032, 0.03769073635339737, 0.01111548487097025, 0.00109524664003402, 0.024372881278395653, 0.05275321006774902, -0.060318995267152786, -0.003322985954582691, 0.07911254465579987, 0.04739843308925629, -0.05924803763628006, -0.034702423959970474, -0.0008917434606701136, 0.01219507772475481, 0.002960242796689272, -0.0119705218821764, -0.06097538769245148, 0.03579065203666687, -0.03737981244921684, 0.00020849630527663976, 0.024441976100206375, -0.021021826192736626, -0.03074679523706436, 0.05513695254921913, -0.021004552021622658, -0.023371020331978798, 0.015718868002295494, 0.042009104043245316, -0.0171266570687294, -0.07745429128408432, 0.021401843056082726, 0.007177131250500679, -0.04149090126156807, -0.08595284074544907, -0.036688871681690216, -0.012022342532873154, -0.05627699941396713, -0.03373510763049126, 0.01702301576733589, 0.018724452704191208, 0.03221504017710686, -0.01533021405339241, 0.06073356047272682, -0.06277182698249817, -0.0022779402788728476, 0.040592681616544724, -0.0011767558753490448, -0.01965722069144249, 0.004814982879906893, 0.0026881855446845293, -0.03055678680539131, 0.05503331124782562, 0.014224711805582047, 0.011132758110761642, 0.0021829360630363226, 0.02269735373556614, 0.022904636338353157, 0.03585974499583244, -0.051958631724119186, -0.052718665450811386, -0.03720707818865776, 0.01324012316763401, -0.04297642037272453, 0.020158153027296066, 0.08339636772871017, 0.003277642885223031, -0.038208939135074615, 0.04477286338806152, -0.002416128059849143, -0.03699979558587074, -0.0018676951294764876, 0.035756103694438934, -0.04453103244304657, -0.017446216195821762, -0.04270004481077194, 0.01315375603735447, 0.009146308526396751, 0.07254862040281296, -0.05904075875878334, 0.010381362400949001, 0.04252731055021286, -0.01286010630428791, 0.031195906922221184, 0.0025931813288480043, -0.03211140260100365, -0.027568476274609566, -0.03036678023636341, -0.062149982899427414, 0.04235457628965378, 0.003709479933604598, 0.028276687487959862, -0.006771204527467489, 0.01832716353237629, -0.00023575602972414345, -0.033182356506586075, -0.02041725441813469, -0.0871274396777153, -0.022610986605286598, 0.010588644072413445, -0.0012857947731390595, 0.013369673863053322, -0.04601655155420303, -0.013956972397863865, 0.030453147366642952, 0.00529000349342823, 0.06418825685977936, 0.023785583674907684, -0.05959350988268852, -0.03173138573765755, -0.01191870216280222, 0.0051302239298820496, -0.016522085294127464, -0.0046422481536865234, -0.035825200378894806, -0.04822755977511406, 0.003772096475586295, 0.023992864415049553, 0.005825481377542019, -0.05904075875878334, 0.10509185492992401, -0.004050631076097488, 0.004495423287153244, 0.08077079802751541, 0.03661977872252464, 0.03810529783368111, -0.030798615887761116, 0.03810529783368111, -0.023232832551002502, -0.06028444692492485, -0.05572424829006195, 0.021436389535665512, 0.0334414578974247, -0.04757116734981537, 0.0706830844283104, 0.007552829571068287, -0.00953496154397726, 0.05859164893627167, 0.017498036846518517, -0.015969332307577133, 0.041352711617946625, -0.014336989261209965, 0.021574577316641808, -0.028363056480884552, 0.013810147531330585, 0.010657737962901592, 0.010623190551996231, -0.04591291397809982, 0.05012764036655426, -0.009172217920422554, 0.04052358493208885, 0.00633504893630743, 0.03775982931256294, 0.02496018074452877, 0.02477017231285572, -0.002737846691161394, 0.01803351379930973, -0.0172907542437315, 0.004737252369523048, -0.023992864415049553, 0.02867397852241993, -0.009560871869325638, 0.047778449952602386, 0.014466539956629276, 0.03342418372631073, 0.03161047026515007, -0.007902617566287518, -0.011106847785413265, -0.016729366034269333, -0.008369001559913158, -0.021039100363850594, 0.008597875013947487, -0.019812682643532753, -0.021626397967338562, 0.0008588158525526524, -0.053409602493047714, -0.06187360733747482, 0.006879163905978203, -0.017688045278191566, -0.015865692868828773, -0.009863157756626606, 0.06446462869644165, 0.104884572327137, 0.013456041924655437, 0.020831817761063576, -0.017644859850406647, 0.016496174037456512, 0.011694146320223808, -0.002368626184761524, 0.05810799077153206, 0.022282790392637253, -0.008286952041089535, -0.005134542006999254, 0.04957488924264908, -0.03817439451813698, 0.010675011202692986, -0.003484924789518118, -0.005898893810808659, -0.06073356047272682, -0.02839760296046734, -0.017118019983172417, 0.04591291397809982, 0.018344435840845108, -0.02592749521136284, -0.05327141657471657, -0.03437422588467598, 0.02077999711036682, 0.012886016629636288, 0.030591335147619247, -0.027862124145030975, 0.02743028849363327, -0.015848418697714806, 0.07994166761636734, 0.008999483659863472, 0.006348004098981619, 0.014129707589745522, -0.008511507883667946, 0.0033467370085418224, 0.008269678801298141, -0.0036123166792094707, 0.03903806582093239, 0.04871121793985367, -0.04263095185160637, 0.03131682053208351, -0.0044176927767694, -0.010234537534415722, -0.021229108795523643, 0.05354779213666916, -0.0482621043920517, 0.005980942863970995, 0.009638601914048195, 0.029485831037163734, -0.017074836418032646, -0.008058078587055206, -0.004000970162451267, -0.02675662189722061, 0.02865670435130596, 0.017118019983172417, -0.05437691882252693, -0.06487919390201569, 0.010087712667882442, -0.032042305916547775, -0.04225093498826027, 0.052545927464962006, 0.029554925858974457, 0.008304226212203503, 0.030625881627202034, 0.0019508237019181252, -0.00992361456155777, -0.0034546961542218924, 0.03129954636096954, 0.035272449254989624, 0.0635664090514183, -0.014267895370721817, -0.057866159826517105, -0.03209412842988968, 0.011106847785413265, 0.041249074041843414, -0.014509723521769047, -0.007341229356825352, 0.043252795934677124, 0.04574017599225044, -0.00968178641051054, 0.05327141657471657, -0.010700921528041363, -0.008852658793330193, 0.027205731719732285, 0.021401843056082726, -0.04346007853746414, 0.0019216747023165226, 0.04515288025140762, 0.018482625484466553, -0.012065526098012924, -0.03855440765619278, 0.05631154775619507, -0.03606702759861946, 0.010208627209067345, 0.0032150265760719776, 0.0734468400478363, -0.049229420721530914, -0.013931062072515488, -0.03178320452570915, 0.0049747624434530735, 0.010951386764645576, 0.06581196188926697, -0.10751014202833176, 0.017532583326101303, -0.039832647889852524, -0.075243279337883, 0.045221973210573196, 0.09175673127174377, -0.00367709225974977, 0.002940810052677989, -0.014077886939048767, 0.026462972164154053, -0.022541891783475876, 0.04784754291176796, 0.025702940300107002, -0.003577769733965397, 0.019778136163949966, -0.0243210606276989, -0.03851986303925514, 0.0033057124819606543, -0.03256051242351532, -0.009897704236209393, -0.027948491275310516, 0.010217264294624329, -0.0074060047045350075, -0.018188975751399994, -0.004033357836306095, 0.045221973210573196, 0.012981020845472813, -0.016288893297314644, 0.07379230856895447, -0.05790070816874504, -0.006987122818827629, 0.052925944328308105, 0.02204096131026745, -0.022939182817935944, 0.006490510422736406, -0.06854116916656494, -0.011374587193131447, -0.03319963067770004, 0.004290300887078047, -0.02257644012570381, -0.045809272676706314, -0.011167305521667004, -0.03824348747730255, 0.06246090680360794, -0.07037216424942017, 0.03938353806734085, 0.010830472223460674, -0.04079996049404144, 0.03713798522949219, -0.04594745859503746, -0.036792512983083725, -0.04701841622591019, 0.027482107281684875, -0.014924287796020508, 0.017092108726501465, 0.02012360468506813, 0.02763756923377514, -0.0635664090514183, 0.01604706421494484, -0.028432149440050125, -0.041352711617946625, 0.005104313604533672, -0.029002174735069275, -0.038588955998420715, -0.03965991362929344, -0.023681942373514175, 0.04259640350937843, -0.017532583326101303, -0.009224038571119308, 0.05807344242930412, -0.005134542006999254, -0.022541891783475876, 0.011236399412155151, 0.01049363985657692, 0.027102092280983925, -0.06311729550361633, 0.010856382548809052, 0.000009792242053663358, 0.03439150005578995, -0.011996432207524776, -0.0840873047709465, -0.0387616902589798, 0.043425530195236206, 0.0085633285343647, -0.0016506969695910811, -0.00640846136957407, 0.005324550438672304, -0.004953170660883188, -0.015347488224506378, -0.014207437634468079, 0.02211005613207817, 0.009474504739046097, -0.04919487237930298, -0.013576955534517765, 0.02269735373556614, 0.004560199100524187, -0.022818267345428467, 0.040385399013757706, 0.014587454497814178, -0.05306413397192955, 0.02962401881814003, -0.05762433260679245, 0.07006123661994934, -0.023526480421423912, -0.0020177585538476706, 0.008114217780530453, 0.002022076863795519, 0.05848800763487816, 0.06059537082910538, 0.04829665273427963, -0.0009818894322961569, 0.08394911885261536, -0.024338334798812866, 0.0218509528785944, 0.021436389535665512, 0.019709041342139244, -0.0478820875287056, -0.0018709339201450348, -0.04435829818248749, -0.00991497840732336, 0.005091358441859484, 0.08844022452831268, -0.03093680366873741, 0.04905668646097183, 0.03161047026515007, -0.0007924209348857403, -0.041421808302402496, -0.024701077491044998, 0.02033088728785515, 0.04425465688109398, -0.047605711966753006, 0.046742040663957596, -0.03509971499443054, -0.038865331560373306, 0.004659521393477917, -0.037068888545036316, -0.02839760296046734, 0.032888706773519516, 0.022939182817935944, -0.04587836563587189, 0.04055813327431679, 0.060042619705200195, 0.03292325511574745, -0.03585974499583244, 0.021574577316641808, 0.040489040315151215, 0.05917894467711449, -0.02876034565269947, -0.02117728814482689, -0.00446087634190917, -0.01007043942809105, 0.015356124378740788, 0.008166038431227207, -0.023561028763651848, -0.03634340316057205, -0.039625365287065506, 0.020175425335764885, 0.0027788712177425623, 0.03444332256913185, 0.003823916893452406, 0.024821992963552475, -0.016729366034269333, 0.030902257189154625, -0.022265516221523285, -0.0402817577123642, 0.02128092758357525, -0.000549782533198595, 0.011409133672714233, 0.009543598629534245, -0.005566379055380821, 0.03845077008008957, 0.013110571540892124, -0.04242366924881935, -0.06190815567970276, 0.015572043135762215, 0.033095989376306534, -0.021626397967338562, 0.03359692171216011, -0.00397505983710289, -0.054065994918346405, -0.01058000698685646, -0.04591291397809982, 0.0005894575151614845, 0.007302363868802786, -0.037828922271728516, -0.04259640350937843, -0.05848800763487816, 0.006961212959140539, -0.005765024106949568, 0.029641292989253998, 0.010476366616785526, 0.018068060278892517, 0.01906992308795452, 0.07994166761636734, -0.012868743389844894, 0.02630751207470894, -0.021436389535665512, 0.06577741354703903, -0.015174753032624722, -0.03969445824623108, -0.006494828965514898, -0.0218509528785944, -0.04432375356554985, -0.007889661937952042, -0.005600926000624895, -0.01111548487097025, -0.046292927116155624, 0.031195906922221184, 0.06263364106416702, -0.03845077008008957, -0.06709019839763641, 0.011046390980482101, -0.032042305916547775, 0.012886016629636288, 0.037448905408382416, 0.049989454448223114, -0.0037030023522675037, 0.06629561632871628, 0.02344011329114437, -0.014872467145323753, 0.02658388763666153, -0.033752381801605225, -0.0049790809862315655, -0.05841891095042229, 0.06626107543706894, -0.00868856068700552, -0.07669425755739212, -0.03171411156654358, 0.06643380969762802, -0.020641809329390526, 0.0018676951294764876, -0.0047890725545585155, 0.07282499223947525, 0.02523655630648136, 0.03855440765619278, 0.029865847900509834, 0.01702301576733589, -0.009275859221816063, -0.0482621043920517, 0.019519032910466194, 0.041249074041843414, -0.02316373772919178, -0.048849403858184814, -0.005212272983044386, -0.00426439056172967, -0.02523655630648136, 0.04318370297551155, -0.010545460507273674, -0.01925993151962757, -0.05620790645480156, -0.061666328459978104, 0.009008120745420456, -0.003558336989954114, -0.05019673705101013, 0.0190008282661438, -0.0006007932825013995, -0.03359692171216011, -0.029641292989253998, 0.02077999711036682, 0.006153677590191364, 0.0639464259147644, -0.026359332725405693, 0.005872983485460281, -0.04881485551595688, 0.009526324458420277, 0.0007163096452131867, 0.004836574662476778, 0.04273459315299988, 0.009992708452045918, 0.011288220062851906, -0.017774412408471107, -0.04701841622591019, -0.015174753032624722, -0.0767633467912674, -0.06729748100042343, -0.03123045340180397, 0.03637795150279999, 0.006909392308443785, 0.05296049267053604, -0.08215267211198807, -0.0022012891713529825, 0.02789667248725891, -0.062149982899427414, 0.06950848549604416, 0.01889718882739544, 0.01699710451066494, 0.03313053771853447, -0.020348159596323967, 0.019778136163949966, -0.03775982931256294, 0.03807075321674347, 0.046949319541454315, 0.03390784189105034, -0.028794892132282257, 0.001311704982072115, 0.014406083151698112, -0.004659521393477917, -0.043632812798023224, 0.003862782148644328, -0.0180507879704237, -0.00783352367579937, -0.038208939135074615, 0.005942077375948429, -0.04432375356554985, -0.0005427651340141892 ]
42,087
patch_ng
tostr
Python 3 bytes encoder. Used to print filename in diffstat output. Assumes that filenames are in utf-8.
def tostr(b): """ Python 3 bytes encoder. Used to print filename in diffstat output. Assumes that filenames are in utf-8. """ if not PY3K: return b # [ ] figure out how to print non-utf-8 filenames without # information loss return b.decode('utf-8')
(b)
[ -0.05151724815368652, -0.007578134536743164, -0.04596112295985222, 0.03221146762371063, -0.0028483939822763205, -0.05345134064555168, -0.004795675631612539, 0.006237455178052187, 0.011956221424043179, -0.04768422245979309, 0.05172824114561081, -0.013925481587648392, -0.05756568908691406, 0.032000474631786346, -0.006136354990303516, 0.02403552085161209, -0.03551701083779335, -0.025899285450577736, 0.04188194125890732, 0.035358767956495285, -0.0406159870326519, -0.007433077320456505, -0.001868159626610577, 0.014294717460870743, -0.02097613550722599, 0.006417677737772465, -0.012580406852066517, -0.03885772079229355, -0.06160970404744148, 0.034637875854969025, 0.02774546667933464, -0.06909992545843124, 0.05791734158992767, -0.03381149098277092, -0.06484492123126984, 0.02194318175315857, 0.03949069604277611, 0.012369413860142231, -0.04666442796587944, -0.07138567417860031, -0.03963135555386543, 0.03548184409737587, -0.0595349483191967, -0.02605753019452095, 0.020501403138041496, -0.013134260661900043, 0.0028439981397241354, -0.025125646963715553, -0.02229483611881733, 0.05542060360312462, 0.03416314348578453, 0.019006876274943352, -0.014681536704301834, -0.025090482085943222, -0.01333646196871996, -0.014848572202026844, -0.008615512400865555, -0.054963454604148865, -0.046875420957803726, 0.038998380303382874, 0.0047297403216362, 0.0018483790336176753, 0.08601446449756622, -0.04606661573052406, -0.05207989364862442, 0.010778182186186314, -0.006633065640926361, -0.043464381247758865, -0.03142024576663971, 0.027569640427827835, 0.017187068238854408, -0.011965013109147549, -0.048211704939603806, -0.002633006079122424, -0.015754079446196556, 0.05686238035559654, -0.02605753019452095, -0.025565214455127716, -0.018391482532024384, 0.03405764698982239, 0.06294599175453186, -0.0745505541563034, 0.037345610558986664, 0.017028823494911194, 0.045785292983055115, -0.053978823125362396, -0.03221146762371063, 0.011235331185162067, -0.005248429719358683, -0.007846270687878132, -0.00814078003168106, -0.02203109674155712, -0.004989084787666798, 0.07033071666955948, -0.010268284007906914, -0.03692362457513809, 0.03889288380742073, 0.018672805279493332, -0.025494882836937904, -0.03516535833477974, -0.0054945871233940125, -0.020536568015813828, -0.044097356498241425, -0.022751985117793083, -0.059359122067689896, -0.03643130883574486, 0.00027129522641189396, 0.008439685218036175, -0.0029275158885866404, -0.026637757197022438, -0.030259789898991585, 0.004263799637556076, 0.000263053341768682, -0.028642183169722557, 0.0554557666182518, -0.04251491650938988, 0.020448654890060425, -0.024176182225346565, 0.08151330053806305, -0.00930123683065176, 0.04666442796587944, 0.03825990855693817, -0.011446323245763779, 0.011472697369754314, 0.015094729140400887, 0.025899285450577736, 0.010918843559920788, 0.016703544184565544, 0.08742107450962067, -0.024791575968265533, 0.030892765149474144, 0.030840018764138222, -0.02400035597383976, -0.01694970205426216, 0.09065628796815872, 0.014259552583098412, -0.05134142190217972, 0.04838753119111061, 0.05890197306871414, 0.039033547043800354, 0.02162669412791729, -0.027464143931865692, 0.04406219348311424, 0.006197893992066383, -0.01592990756034851, -0.035007111728191376, 0.021503616124391556, -0.073073610663414, -0.04944249242544174, 0.027552057057619095, 0.062066853046417236, -0.005692392122000456, -0.0206772293895483, -0.015384843572974205, 0.02938065491616726, -0.013784820213913918, 0.0246684979647398, -0.07764510810375214, 0.001717607956379652, -0.02973230928182602, 0.02575862407684326, -0.0061011891812086105, 0.004967106506228447, -0.0033868635073304176, 0.03177189826965332, -0.009819925762712955, 0.005098976660519838, 0.013767236843705177, 0.0033385111019015312, -0.004575891885906458, 0.004909962881356478, -0.005736348684877157, -0.05851515382528305, 0.03136749938130379, 0.003120925510302186, 0.019499190151691437, 0.02976747415959835, 0.016422221437096596, 0.015507922507822514, -0.014936485327780247, 0.009222114458680153, -0.01720465160906315, -0.009855091571807861, 0.0426555760204792, 0.06600537151098251, -0.039033547043800354, 0.006905597168952227, 0.034989528357982635, 0.04726224020123482, -0.03323126211762428, 0.005890197120606899, 0.028167450800538063, -0.0017220035661011934, 0.03920937329530716, -0.018831048160791397, -0.020729977637529373, 0.0547172948718071, -0.026567427441477776, -0.004052807576954365, -0.04230392351746559, -0.007490220945328474, 0.013828776776790619, 0.03208838775753975, -0.0519392304122448, 0.008971561677753925, 0.02296297810971737, 0.025494882836937904, 0.007433077320456505, 0.0026901497039943933, 0.048176538199186325, 0.00996058713644743, -0.03235212713479996, -0.05352167412638664, -0.031033426523208618, -0.013125469908118248, -0.032299380749464035, -0.05858548358082771, 0.034321390092372894, 0.02371903322637081, 0.019464025273919106, -0.03713461756706238, 0.03731044381856918, 0.009002331644296646, -0.012228752486407757, -0.03150815889239311, 0.03695879131555557, 0.007622091099619865, 0.0662163645029068, 0.047121576964855194, -0.00011669129162328318, 0.04318305850028992, -0.04800071194767952, -0.00028681743424385786, 0.003795660799369216, 0.03048836439847946, 0.00003222918530809693, 0.008646282367408276, -0.0662163645029068, -0.04641827195882797, -0.0678691416978836, 0.005446234717965126, -0.03460271283984184, 0.003898958908393979, 0.08116164058446884, 0.04701608046889305, -0.07954403758049011, 0.04356987774372101, 0.03780275955796242, -0.07194831967353821, 0.00207915180362761, 0.06762298196554184, -0.019745348021388054, -0.017459599301218987, -0.036642301827669144, 0.01586836762726307, -0.05373266711831093, 0.04701608046889305, -0.060343753546476364, -0.009670472703874111, 0.0675174817442894, -0.03238729387521744, 0.04195227101445198, -0.0465589314699173, 0.02199593000113964, -0.013758446089923382, -0.03980718553066254, -0.03980718553066254, 0.005538543686270714, 0.04167094826698303, 0.025160813704133034, 0.020466238260269165, -0.0008450674940831959, -0.03889288380742073, 0.0038066499400883913, -0.08685842901468277, -0.09332885593175888, -0.021837687119841576, -0.003474776865914464, 0.05499861761927605, -0.04054565727710724, -0.030259789898991585, 0.013670532032847404, 0.003263784572482109, 0.007288020104169846, 0.02776305004954338, -0.01540242601186037, -0.019833261147141457, -0.10704334825277328, -0.005617665592581034, 0.0159035325050354, 0.04233909025788307, -0.02231241948902607, -0.031209254637360573, -0.052888695150613785, -0.008615512400865555, 0.0038879697676748037, 0.029292741790413857, -0.03657197207212448, 0.06424710899591446, 0.001523099490441382, -0.053592003881931305, 0.06354379653930664, 0.015595835633575916, 0.02913449890911579, -0.06291082501411438, 0.011279287748038769, 0.007138567510992289, -0.061680037528276443, -0.05401398986577988, 0.007811104878783226, -0.007129776291549206, -0.04318305850028992, 0.04051049053668976, 0.06593504548072815, 0.027147656306624413, 0.011446323245763779, -0.013406792655587196, -0.01250128448009491, -0.004501165822148323, -0.000287366914562881, -0.00007582530088257045, -0.017450807616114616, -0.004292371217161417, -0.009336402639746666, 0.03309060260653496, -0.053240351378917694, 0.03850606456398964, 0.002716523827984929, 0.06867793947458267, 0.03405764698982239, 0.019868426024913788, -0.009415524080395699, 0.06220751628279686, -0.0287476796656847, 0.01690574549138546, -0.01030344981700182, 0.0165540911257267, -0.04793038219213486, -0.00726164598017931, -0.033969733864068985, 0.04909083992242813, 0.010769390501081944, 0.016149690374732018, 0.051235925406217575, -0.024158600717782974, 0.04596112295985222, -0.018391482532024384, -0.031894978135824203, -0.025108065456151962, -0.012307874858379364, -0.019094789400696754, -0.0009236400946974754, -0.051552414894104004, -0.003705549519509077, -0.050216130912303925, 0.06593504548072815, -0.004707762040197849, 0.031631238758563995, 0.036360979080200195, 0.04458967223763466, 0.04905567318201065, 0.03147299587726593, 0.009433106519281864, -0.056264571845531464, 0.029644396156072617, -0.002602236345410347, 0.025266308337450027, -0.009556185454130173, 0.02227725274860859, 0.019112370908260345, -0.036009326577186584, 0.04153028503060341, -0.010391362942755222, -0.044800665229558945, -0.07142084091901779, 0.0287476796656847, -0.033618081361055374, 0.0017088165041059256, -0.01487494632601738, -0.023824529722332954, -0.005046228878200054, 0.01860247366130352, -0.06178553029894829, 0.01687937043607235, 0.01995633915066719, 0.05000513792037964, 0.008980353362858295, -0.019516773521900177, 0.028554270043969154, -0.001987941563129425, 0.02199593000113964, 0.01932336390018463, 0.04743806645274162, 0.02672567032277584, -0.02705974131822586, -0.011041922494769096, 0.011929847300052643, 0.005789096932858229, 0.01265952829271555, 0.05686238035559654, -0.031244419515132904, 0.041741278022527695, -0.05369750037789345, -0.010910051874816418, -0.03556975722312927, 0.08819471299648285, -0.013239757157862186, 0.03885772079229355, -0.04293690249323845, 0.036677468568086624, -0.0015527702635154128, -0.02090580388903618, -0.030945513397455215, -0.07750444859266281, 0.04290173575282097, 0.017494764178991318, -0.08151330053806305, -0.05517444387078285, -0.0016747501213103533, -0.02537180483341217, -0.06822079420089722, 0.04937216266989708, 0.006066023837774992, 0.026971828192472458, 0.05668655410408974, 0.027921292930841446, -0.019815677776932716, 0.04458967223763466, 0.09888498485088348, 0.08685842901468277, 0.06892409920692444, 0.005701183341443539, -0.017784878611564636, -0.05130625516176224, 0.029327908530831337, 0.02203109674155712, 0.009934213012456894, 0.018532143905758858, 0.028818009421229362, 0.05151724815368652, 0.013740863651037216, 0.04796554520726204, -0.013758446089923382, 0.010057291947305202, 0.025828953832387924, 0.02262890711426735, -0.025143230333924294, 0.04297206550836563, 0.04269074276089668, 0.031279586255550385, 0.031631238758563995, -0.03713461756706238, 0.004191271029412746, -0.04814137518405914, 0.02396519109606743, -0.025283891707658768, 0.049864474684000015, 0.0028967461548745632, -0.029837805777788162, -0.012422162108123302, -0.06495041400194168, 0.028536686673760414, 0.0212398748844862, -0.02064206451177597, 0.0506381131708622, -0.026567427441477776, -0.007323185447603464, 0.04251491650938988, 0.01502439845353365, -0.004676992539316416, 0.04058082029223442, 0.012052926234900951, -0.007340768352150917, 0.05978110805153847, 0.009855091571807861, 0.03731044381856918, -0.027182821184396744, -0.02878284454345703, -0.02331463247537613, -0.026866333559155464, -0.04473033547401428, -0.026444347575306892, 0.0003807748726103455, 0.0111737921833992, 0.026620175689458847, 0.004589078947901726, 0.012852937914431095, 0.015604627318680286, 0.026813585311174393, 0.020835474133491516, 0.012571615166962147, 0.09037496894598007, -0.06118772178888321, -0.017714548856019974, 0.023068474605679512, 0.04895017668604851, -0.06220751628279686, -0.02266407199203968, -0.07377691566944122, 0.03080485202372074, -0.016703544184565544, -0.021204710006713867, 0.016413429751992226, -0.04089730978012085, 0.001252765883691609, -0.044449012726545334, 0.04079181328415871, -0.051904067397117615, -0.01452329196035862, 0.029187245294451714, 0.002371463691815734, 0.009890256449580193, 0.025530049577355385, 0.00592096708714962, -0.030927931889891624, -0.021116796880960464, -0.0024879490956664085, -0.001108807628042996, -0.011323245242238045, 0.059605278074741364, -0.024563001468777657, 0.011754020117223263, -0.023420127108693123, -0.062031690031290054, -0.002124207327142358, -0.05721403658390045, -0.002633006079122424, 0.019868426024913788, -0.052255719900131226, 0.04666442796587944, -0.04198743775486946, 0.01403097715228796, 0.06495041400194168, -0.04669959470629692, -0.0023912442848086357, 0.008426498621702194, -0.022206922993063927, 0.04188194125890732, 0.0022264067083597183, -0.02973230928182602, 0.03688845783472061, -0.009063870646059513, 0.02371903322637081, -0.08397487550973892, -0.018532143905758858, 0.038752224296331406, 0.008540785871446133, 0.014663954265415668, 0.01062872912734747, 0.0015615615993738174, 0.011929847300052643, -0.03251037374138832, -0.033319175243377686, 0.020817890763282776, -0.000541216810233891, -0.02867734804749489, 0.022716820240020752, 0.03650163859128952, 0.008646282367408276, -0.017653008922934532, 0.016773875802755356, 0.046453434973955154, -0.036677468568086624, -0.001075840089470148, -0.013793610967695713, 0.03544668108224869, 0.008729799650609493, 0.012369413860142231, 0.03150815889239311, -0.027587221935391426, 0.038998380303382874, 0.037064287811517715, 0.026848750188946724, -0.013354044407606125, -0.01454087533056736, 0.012413371354341507, 0.05436564236879349, -0.000979135395027697, 0.04065115377306938, -0.002692347625270486, 0.03168398514389992, -0.046805091202259064, 0.016809040680527687, 0.03314334899187088, 0.023508040234446526, -0.005670413840562105, 0.043745703995227814, 0.018074993044137955, -0.014461752958595753, -0.038330238312482834, -0.029556483030319214, -0.03379390761256218, 0.05032162740826607, -0.06593504548072815, 0.04188194125890732, -0.061680037528276443, -0.002606632187962532, 0.01858489029109478, -0.03542909771203995, -0.0311565063893795, 0.029556483030319214, -0.02136295475065708, 0.011912264861166477, 0.07036587595939636, 0.06945157796144485, 0.030013632029294968, -0.00010089435090776533, -0.013978228904306889, -0.027886128053069115, 0.08186495304107666, -0.03242246061563492, 0.013521079905331135, -0.005657226778566837, -0.05102493241429329, -0.004318745341151953, 0.013354044407606125, 0.02264649048447609, -0.06259433180093765, -0.06312181800603867, 0.03045319952070713, 0.00406379671767354, 0.05513928085565567, -0.035710420459508896, 0.04768422245979309, -0.03309060260653496, 0.0216091126203537, 0.0067429570481181145, -0.01046169362962246, 0.035657670348882675, -0.08524082601070404, -0.024580584838986397, 0.015507922507822514, -0.004514352884143591, -0.01958710327744484, -0.012228752486407757, -0.051235925406217575, -0.03256312012672424, 0.028255363926291466, -0.040440160781145096, 0.0391390435397625, 0.03629064932465553, -0.029574064537882805, -0.06118772178888321, -0.035956576466560364, -0.0280971210449934, 0.009688056074082851, -0.012439744547009468, -0.008694634772837162, 0.0019362925086170435, -0.05756568908691406, -0.03924454003572464, 0.017318937927484512, 0.03238729387521744, 0.005314364563673735, -0.04490616172552109, 0.036712631583213806, 0.094594806432724, 0.0012219961499795318, 0.020044254139065742, 0.00033462035935372114, 0.029697144404053688, -0.03998301178216934, -0.0032879607751965523, -0.029644396156072617, 0.04353471100330353, -0.026778418570756912, -0.0301367100328207, 0.004690179601311684, -0.020343158394098282, -0.09529811888933182, -0.008993539959192276, 0.03491919860243797, 0.005749535746872425, -0.08088032156229019, -0.031894978135824203, 0.010004543699324131, 0.04627760872244835, 0.06628669798374176, 0.08390454202890396, -0.035306017845869064, 0.00011737811291823164, 0.017503555864095688, -0.017987079918384552, -0.04262041300535202, -0.04571496322751045, 0.02231241948902607, -0.08608479052782059, 0.05651072785258293, 0.0500754676759243, -0.01727498136460781, -0.015384843572974205, 0.03217630088329315, -0.0560184121131897, 0.010321032255887985, -0.0014527688035741448, 0.05032162740826607, 0.03542909771203995, 0.014743075706064701, -0.0018802477279677987, -0.019727764651179314, 0.0567568875849247, -0.048528190702199936, 0.039068710058927536, 0.015666166320443153, 0.02639160118997097, -0.03045319952070713, -0.0012879312271252275, -0.04743806645274162, -0.0561942420899868, -0.019710183143615723, -0.035974159836769104, -0.002417618175968528, -0.0345851294696331, -0.0424797497689724, 0.004180281888693571, -0.009758386760950089, -0.02978505752980709, 0.007525386288762093, 0.005811075214296579, 0.027798214927315712, -0.028624599799513817, -0.015947489067912102, 0.014382630586624146, 0.08812438696622849, 0.025477301329374313, 0.0310685932636261, -0.01454087533056736, -0.0023231112863868475, -0.031015845015645027, 0.0060308584943413734, 0.019692599773406982, 0.02064206451177597, -0.03247520700097084, -0.002316517988219857, -0.009283654391765594, 0.025231143459677696, -0.02498498558998108, -0.06196136027574539, 0.025881702080368996, 0.050180964171886444, 0.04494132474064827, 0.0433940514922142, -0.04406219348311424, 0.014461752958595753, 0.011129835620522499, -0.060027264058589935, 0.07884073257446289, 0.038752224296331406, 0.03952586278319359, -0.0004266546748112887, 0.013890315778553486, 0.015226599760353565, -0.06874827295541763, -0.004870401695370674, 0.02742897905409336, -0.010918843559920788, -0.013828776776790619, 0.04596112295985222, 0.01084851287305355, -0.000578030536416918, -0.0189189612865448, -0.04768422245979309, 0.002716523827984929, 0.011288079433143139, -0.04269074276089668, 0.0393148697912693, -0.01730135641992092, -0.02800920605659485 ]
42,089
patch_ng
xisabs
Cross-platform version of `os.path.isabs()` Returns True if `filename` is absolute on Linux, OS X or Windows.
def xisabs(filename): """ Cross-platform version of `os.path.isabs()` Returns True if `filename` is absolute on Linux, OS X or Windows. """ if filename.startswith(b'/'): # Linux/Unix return True elif filename.startswith(b'\\'): # Windows return True elif re.match(b'\\w:[\\\\/]', filename): # Windows return True return False
(filename)
[ 0.014396585524082184, 0.057758037000894547, -0.022114254534244537, 0.032724976539611816, 0.03325722739100456, -0.02412308007478714, 0.02793469838798046, -0.03351477161049843, 0.02911939099431038, -0.017203791067004204, 0.04292362928390503, -0.005206636153161526, 0.024071572348475456, -0.003772987052798271, 0.010516289621591568, 0.0186631940305233, 0.037875812500715256, 0.021204274147748947, 0.013993103057146072, 0.012490776367485523, 0.04728467017412186, -0.013675468973815441, -0.04233986884355545, -0.022732354700565338, -0.0037407944910228252, 0.0687808245420456, 0.004009067080914974, 0.013452265411615372, -0.041034989058971405, 0.0031291325576603413, 0.030853506177663803, 0.03514586761593819, 0.10219258069992065, -0.036811307072639465, 0.03152311593294144, -0.003762256121262908, 0.006674624513834715, 0.012507946230471134, -0.05686522647738457, -0.09862133115530014, -0.0033909669145941734, 0.01753859594464302, -0.0007431153790093958, 0.010799585841596127, 0.022680846974253654, -0.022251609712839127, -0.012971521355211735, -0.0019058091565966606, -0.036502256989479065, 0.02335045486688614, 0.004966264124959707, 0.031214063987135887, -0.025307772681117058, 0.01533232070505619, -0.03167764097452164, 0.02384836971759796, 0.014293569140136242, 0.04762805998325348, -0.051336660981178284, -0.04958537966012955, 0.0054083773866295815, -0.0016729484777897596, -0.01647408865392208, -0.0727984756231308, 0.04357606917619705, -0.011434854939579964, 0.004139984026551247, -0.07547691464424133, -0.034338902682065964, 0.03220989182591438, -0.06150097772479057, 0.05380906164646149, -0.056247126311063766, -0.043953798711299896, 0.02958296611905098, -0.004009067080914974, 0.03571246191859245, 0.07087549567222595, 0.020139766857028008, 0.029102221131324768, -0.03370363637804985, -0.03212404623627663, 0.021358799189329147, -0.03382382169365883, -0.027728665620088577, 0.01046478096395731, -0.010499119758605957, 0.04051990807056427, 0.04749070480465889, 0.027419615536928177, 0.02262933738529682, 0.02213142439723015, -0.005944923032075167, -0.04268325865268707, 0.011658057570457458, -0.003704309230670333, 0.03291384130716324, -0.012490776367485523, -0.015907498076558113, -0.03514586761593819, -0.062290772795677185, 0.046941280364990234, 0.0022835370618849993, 0.0014411609154194593, 0.030149558559060097, 0.05672787129878998, -0.007799223531037569, -0.020603341981768608, -0.04852087050676346, -0.04869256541132927, -0.05246984586119652, -0.07829270511865616, 0.015864573419094086, 0.021513324230909348, 0.01622513309121132, -0.026801515370607376, -0.003421013243496418, -0.007537389639765024, 0.020672019571065903, -0.02578851766884327, 0.04299230873584747, 0.04398813471198082, -0.050924595445394516, -0.058650847524404526, 0.03615886718034744, 0.024930045008659363, 0.040142178535461426, 0.03880296275019646, -0.04168742895126343, 0.010670814663171768, -0.014499601908028126, 0.016036268323659897, -0.039661433547735214, 0.05291625112295151, -0.037257712334394455, 0.012645301409065723, 0.00527960667386651, 0.06809404492378235, -0.007121030241250992, 0.005022064782679081, 0.013881501741707325, -0.024226097390055656, 0.03928370773792267, 0.02003675140440464, -0.027041887864470482, 0.03296534717082977, -0.01837131381034851, -0.002935976255685091, 0.003695724532008171, 0.03341175243258476, 0.03839089348912239, -0.03990180790424347, -0.03550642728805542, 0.0037214788608253, -0.012765487655997276, -0.03320572152733803, 0.025857195258140564, -0.06562164425849915, 0.04961971566081047, 0.0022813910618424416, -0.04096631333231926, -0.0186631940305233, 0.01591608300805092, -0.05095893517136574, -0.015735803171992302, -0.012851335108280182, -0.039833128452301025, -0.051954761147499084, 0.03124840371310711, 0.022079914808273315, 0.03687998279929161, 0.048623889684677124, 0.031196894124150276, -0.0051207891665399075, 0.025376450270414352, -0.013984519056975842, -0.018543008714914322, 0.005704550538212061, 0.009674985893070698, 0.024226097390055656, -0.005245267413556576, -0.04055424779653549, 0.05477055162191391, -0.04337003454566002, 0.027505462989211082, 0.04082895815372467, -0.0464261993765831, 0.0025732717476785183, 0.057105597108602524, 0.04082895815372467, -0.05504526197910309, 0.03440758213400841, 0.04608280956745148, -0.00947753805667162, -0.04793711006641388, -0.023865537717938423, 0.05264154076576233, 0.025840025395154953, -0.028569968417286873, -0.02475835010409355, -0.012619547545909882, -0.021152764558792114, -0.013297740370035172, -0.01440517045557499, 0.02199406735599041, -0.009529045782983303, 0.007331355940550566, -0.00963206309825182, -0.016680123284459114, 0.0036313391756266356, 0.004378210287541151, -0.06050514802336693, -0.05171439051628113, 0.006026477552950382, -0.02232028730213642, 0.053946420550346375, -0.054255470633506775, 0.048486534506082535, -0.004421134013682604, 0.0695706233382225, -0.022835372015833855, -0.02123861201107502, 0.055148281157016754, 0.022491982206702232, 0.03804750740528107, 0.02274952456355095, 0.045876774936914444, 0.06411073356866837, 0.03093935362994671, 0.01777038350701332, -0.0019240517867729068, -0.050169140100479126, -0.05109629034996033, 0.00925433449447155, 0.06074552237987518, -0.02108408696949482, 0.02111842669546604, 0.021633509546518326, 0.0692615732550621, -0.0025775639805942774, 0.0055543179623782635, 0.0050306497141718864, 0.028260918334126472, 0.00013608131848741323, 0.016293810680508614, -0.07417203485965729, -0.012173141352832317, 0.04096631333231926, -0.018731871619820595, -0.017495671287178993, -0.02808922342956066, 0.07272979617118835, -0.04821182042360306, -0.04230552911758423, 0.027110565453767776, 0.02122144214808941, -0.09134148806333542, -0.009426029399037361, -0.0033373122569173574, 0.04814314469695091, -0.013237647712230682, -0.013160385191440582, 0.018405653536319733, -0.03370363637804985, -0.0065243919380009174, -0.05617844685912132, -0.013838578015565872, 0.02245764434337616, 0.023573657497763634, -0.009125564247369766, 0.0017469917656853795, -0.0012426391476765275, -0.018783381208777428, 0.016714461147785187, 0.015152041800320148, 0.0053568691946566105, 0.018594516441226006, -0.02673283778131008, 0.04900161549448967, 0.026131905615329742, -0.011245991103351116, 0.040451228618621826, -0.005859075579792261, -0.010009790770709515, 0.01599334552884102, -0.04931066557765007, -0.013915840536355972, -0.06249680742621422, -0.06610239297151566, 0.02199406735599041, 0.002764281816780567, 0.014576864428818226, 0.05006612092256546, -0.07224905490875244, -0.06005874276161194, 0.016491258516907692, 0.05260720103979111, -0.07417203485965729, -0.035575106739997864, -0.030561624094843864, -0.021049749106168747, 0.049070294946432114, -0.03976445272564888, 0.01806226372718811, -0.010275917127728462, -0.0012265427503734827, -0.040897633880376816, -0.010336009785532951, 0.03078482858836651, 0.03380665183067322, -0.004251585807651281, -0.03409853205084801, -0.01077383104711771, -0.015461091883480549, 0.09113544970750809, 0.05610977113246918, 0.0542898066341877, -0.05185174569487572, 0.00018108406220562756, 0.004142130259424448, 0.03310270234942436, 0.07087549567222595, 0.018749041482806206, 0.037635438144207, -0.10184919089078903, -0.02503306046128273, 0.03372080251574516, -0.028295258060097694, -0.012499361298978329, 0.008601895533502102, 0.01914393901824951, 0.020242784172296524, -0.007824977859854698, -0.001881128060631454, -0.011778243817389011, 0.006859196349978447, -0.027385275810956955, -0.014207721687853336, 0.06112324818968773, -0.009700740687549114, -0.020414479076862335, 0.03866560757160187, 0.004155007191002369, -0.06273718178272247, 0.008558971807360649, 0.018165281042456627, -0.022337457165122032, 0.06548429280519485, -0.006292604375630617, -0.043644748628139496, -0.0002627731009852141, -0.012301912531256676, -0.07794931530952454, -0.049104634672403336, -0.03145443648099899, 0.04003916308283806, -0.0008380838553421199, -0.010576382279396057, 0.049860090017318726, 0.0966983512043953, 0.11469194293022156, -0.07472145557403564, -0.04876124486327171, -0.050443850457668304, -0.0495167002081871, 0.006442836951464415, 0.049688395112752914, -0.011134389787912369, -0.03653659299015999, 0.022972727194428444, -0.013031614013016224, -0.04261457920074463, 0.021427476778626442, -0.07664443552494049, 0.02642378769814968, -0.013684052973985672, 0.00917707197368145, -0.048486534506082535, -0.003749379189684987, -0.006477175746113062, 0.049722734838724136, 0.01182975247502327, 0.006511514540761709, -0.01790773868560791, -0.05974969267845154, 0.0021558392327278852, 0.03279365226626396, -0.03291384130716324, -0.03385816141963005, 0.004356748424470425, 0.041962139308452606, -0.0035626613534986973, 0.03811618313193321, -0.01957317627966404, -0.030698981136083603, -0.013975934125483036, 0.06668615341186523, 0.011245991103351116, 0.053190961480140686, -0.030475778505206108, -0.015426753088831902, 0.03976445272564888, -0.04639185965061188, 0.01864602416753769, -0.0010736272670328617, 0.0442628487944603, 0.023779692128300667, 0.012868504039943218, -0.030853506177663803, 0.04117234796285629, -0.04003916308283806, -0.030698981136083603, -0.016413995996117592, -0.03385816141963005, 0.028278088197112083, 0.0041120839305222034, -0.04299230873584747, -0.0740346759557724, 0.07060078531503677, -0.02106691710650921, -0.04172176867723465, -0.06335528194904327, -0.03808184340596199, 0.010713738389313221, 0.03339458629488945, -0.012353421188890934, -0.03643357753753662, -0.033291567116975784, 0.007601774763315916, 0.0023328992538154125, -0.06627408415079117, -0.0059320456348359585, -0.024912875145673752, -0.026646990329027176, 0.012894258834421635, -0.03602151200175285, 0.02790036052465439, 0.017701705917716026, -0.022783862426877022, -0.015787310898303986, -0.03808184340596199, -0.011563626118004322, -0.004884709138423204, -0.029016373679041862, 0.009443198330700397, 0.03797882795333862, -0.024912875145673752, -0.014731390401721, -0.0075202202424407005, 0.044365864247083664, -0.043782103806734085, 0.025153247639536858, 0.015675710514187813, 0.005374038591980934, -0.04062292352318764, -0.057277292013168335, -0.0997888594865799, -0.0034188672434538603, -0.04079461842775345, 0.03629622235894203, -0.04412549361586571, 0.021891051903367043, 0.0555260069668293, -0.05841047689318657, 0.02106691710650921, -0.0021740819793194532, -0.0011975693050771952, 0.04683826491236687, 0.0031377174891531467, 0.0348539873957634, -0.015624201856553555, -0.006687501445412636, 0.030098048970103264, 0.021496154367923737, 0.023110082373023033, -0.007906532846391201, -0.025410789996385574, 0.08619064837694168, 0.037704117596149445, 0.004730184096843004, -0.05950932204723358, -0.05762068182229996, -0.003790156450122595, 0.03897465765476227, 0.04295796900987625, -0.04161875322461128, -0.06936458498239517, -0.010765246115624905, -0.025376450270414352, -0.01941865123808384, 0.08090245723724365, 0.053190961480140686, 0.028192240744829178, 0.011606549844145775, 0.02395138517022133, -0.010293086990714073, 0.011666642501950264, 0.1079615131020546, 0.032862331718206406, -0.04323267936706543, 0.0004914755700156093, -0.008318599313497543, 0.002440208336338401, 0.032381586730480194, -0.036811307072639465, 0.06005874276161194, -0.031317081302404404, -0.07293583452701569, -0.0467352494597435, -0.03591849282383919, -0.021461814641952515, -0.024535147473216057, 0.06459148228168488, 0.047731075435876846, 0.02187388204038143, 0.0454990491271019, 0.005064988508820534, -0.0019422943005338311, 0.07506484538316727, -0.022835372015833855, -0.017169451341032982, -0.07554558664560318, 0.005365453660488129, -0.03183216601610184, -0.0461171492934227, -0.0074429577216506, -0.007297017145901918, 0.029840508475899696, -0.049241989850997925, 0.029102221131324768, 0.039077673107385635, -0.0018510816153138876, 0.04021085798740387, -0.025685500353574753, 0.05102761089801788, 0.12904560565948486, -0.023127252236008644, -0.018852058798074722, -0.056350141763687134, 0.047731075435876846, 0.01759868860244751, -0.029634473845362663, 0.04525867477059364, -0.016096360981464386, 0.00204745726659894, -0.021496154367923737, -0.01807943359017372, -0.006987967062741518, 0.045293014496564865, -0.005640164948999882, 0.02365950495004654, 0.012576623819768429, 0.015315151773393154, 0.057277292013168335, 0.02048315666615963, -0.03212404623627663, 0.024655332788825035, 0.0016160747036337852, -0.06819706410169601, 0.005610118620097637, -0.024466469883918762, -0.008876606822013855, 0.020998239517211914, -0.019985241815447807, -0.08584725856781006, -0.02214859239757061, -0.017178036272525787, -0.0015023270389065146, 0.043919458985328674, -0.009383105672895908, -0.02123861201107502, 0.07609501481056213, 0.052126456052064896, -0.016113530844449997, -0.0022513445001095533, 0.014388000592589378, 0.05868518725037575, -0.038631267845630646, -0.02456948533654213, 0.01001837570220232, 0.01607060804963112, -0.07314186543226242, -0.05216079577803612, -0.0005419108201749623, -0.023470640182495117, -0.010979864746332169, 0.010121392086148262, 0.027350937947630882, 0.002478839596733451, -0.09456934034824371, 0.021427476778626442, -0.008172659203410149, 0.04900161549448967, 0.012722563929855824, 0.040897633880376816, -0.04477792978286743, -0.05003178492188454, -0.042717598378658295, 0.048177484422922134, 0.008168366737663746, 0.05854783207178116, -0.002384407678619027, 0.02199406735599041, 0.025307772681117058, 0.006794810760766268, -0.021496154367923737, -0.014388000592589378, -0.00459712091833353, -0.06218775734305382, 0.011031373403966427, 0.0033759435173124075, -0.0019219055538997054, -0.04852087050676346, -0.04398813471198082, 0.034047022461891174, 0.05734597146511078, -0.012576623819768429, -0.004000482149422169, -0.027110565453767776, 0.00803530402481556, 0.017092188820242882, -0.005738889332860708, -0.0032128337770700455, 0.017787553369998932, -0.012362005189061165, -0.0068377344869077206, 0.03828787803649902, 0.0197448693215847, -0.02865581586956978, 0.007108153309673071, 0.03233007714152336, 0.01631956361234188, 0.007537389639765024, 0.00041877367766574025, 0.0015377390664070845, -0.045602064579725266, -0.00911697931587696, 0.007005136460065842, 0.04683826491236687, 0.046048469841480255, -0.02865581586956978, -0.05051252990961075, -0.007108153309673071, -0.03394400700926781, 0.017787553369998932, 0.030836336314678192, 0.010190069675445557, -0.005137958563864231, 0.01192418485879898, -0.03791015222668648, 0.03287950158119202, 0.02532494254410267, 0.02460382506251335, -0.00925433449447155, 0.09264636039733887, 0.02410591021180153, -0.03356627747416496, -0.030853506177663803, 0.026149075478315353, -0.02654397301375866, 0.03152311593294144, -0.014602619223296642, 0.013160385191440582, 0.062462467700242996, 0.01048195082694292, 0.0191267691552639, 0.02626926265656948, -0.06225643306970596, -0.06654879450798035, 0.02321309968829155, -0.03869994357228279, -0.009228580631315708, -0.04989442974328995, -0.010979864746332169, 0.08330617845058441, 0.024329112842679024, -0.04415982961654663, 0.025702670216560364, -0.018628856167197227, -0.021341629326343536, 0.02609756775200367, 0.006112325005233288, 0.00888519175350666, -0.04852087050676346, 0.06352697312831879, -0.01647408865392208, 0.017023511230945587, 0.04354172945022583, 0.012834165245294571, -0.010653644800186157, -0.008520340546965599, 0.042889293283224106, 0.03427022695541382, 0.041962139308452606, -0.050443850457668304, 0.0069021196104586124, 0.022560659795999527, 0.045464709401130676, -0.029462780803442, -0.011795413680374622, 0.04148139804601669, 0.053019266575574875, -0.021152764558792114, -0.010224408470094204, 0.0009191022254526615, 0.012087293900549412, -0.009881019592285156, 0.012044371105730534, -0.024380622431635857, 0.05717427656054497, -0.005764643661677837, -0.018251128494739532, -0.00955480057746172, -0.08303146809339523, 0.05102761089801788, -0.06088287755846977, -0.019229786470532417, -0.027866020798683167, 0.06702954322099686, -0.05401509627699852, 0.0007441884372383356, -0.009511876851320267, 0.03519737720489502, -0.006863488350063562, -0.012774072587490082, -0.04532735422253609, -0.0464261993765831, -0.023316115140914917, -0.00963206309825182, 0.014233475551009178, 0.011786828748881817, 0.008606187999248505, -0.011889846064150333, 0.08893775939941406, 0.015469676814973354, 0.005811859387904406, 0.0070480601862072945, 0.028140733018517494, -0.037395067512989044, -0.00835293810814619, 0.04804012551903725, -0.023470640182495117, -0.03564378246665001, -0.057895392179489136, -0.019779209047555923, 0.038013167679309845, -0.014027442783117294, -0.0025303480215370655, 0.0175815187394619, 0.005670211743563414, 0.009219995699822903, -0.00493192533031106, -0.020380139350891113, -0.003807326080277562, 0.052881911396980286, -0.02187388204038143, -0.04779975488781929, 0.026767175644636154, -0.0032514650374650955, -0.037875812500715256, -0.045876774936914444, 0.0346994623541832, -0.025908702984452248, 0.031059538945555687, -0.026475295424461365, -0.014319323003292084, -0.009520460851490498, 0.029995033517479897 ]
42,090
patch_ng
xnormpath
Cross-platform version of os.path.normpath
def xnormpath(path): """ Cross-platform version of os.path.normpath """ # replace escapes and Windows slashes normalized = posixpath.normpath(path).replace(b'\\', b'/') # fold the result return posixpath.normpath(normalized)
(path)
[ -0.010390366427600384, 0.06897721439599991, 0.03789031505584717, 0.06752896308898926, 0.027281027287244797, -0.06288108229637146, -0.0016713838558644056, 0.03846288099884987, 0.10157972574234009, 0.015526608563959599, 0.08574999123811722, -0.04146042466163635, -0.006475033704191446, 0.040045853704214096, -0.01531610731035471, 0.005052041728049517, 0.01594761200249195, 0.02470448426902294, 0.02140381745994091, -0.012554324232041836, 0.0597488172352314, 0.019416680559515953, -0.0307500958442688, -0.008967374451458454, -0.031356342136859894, 0.009952522814273834, -0.011139752343297005, 0.03238358721137047, -0.007582272868603468, -0.06341996788978577, 0.05984985828399658, 0.045502059161663055, 0.07342301309108734, -0.06503661721944809, 0.019467201083898544, 0.002469185506924987, -0.0024312951136380434, 0.007826454937458038, -0.003368027973920107, -0.09504575282335281, 0.005793008022010326, -0.0313226617872715, 0.005060461815446615, 0.019989246502518654, 0.003949012607336044, -0.03034593164920807, 0.01543398853391409, 0.005317274015396833, -0.003824816783890128, 0.0655418261885643, -0.01557712908834219, 0.03319191560149193, -0.015720270574092865, 0.036341022700071335, -0.021824821829795837, 0.029099762439727783, 0.011476554907858372, -0.008891593664884567, -0.022363705560564995, -0.07463549822568893, 0.02337411418557167, 0.006521344184875488, 0.011367094703018665, 0.008121157065033913, 0.026843182742595673, -0.007455972023308277, -0.005742487497627735, -0.007144429255276918, 0.01585499197244644, -0.00724968034774065, -0.10541927814483643, 0.0263884998857975, -0.039439607411623, -0.04947632923722267, 0.06510397791862488, 0.0301606897264719, -0.0006472928798757493, 0.07005497813224792, 0.04257187247276306, -0.0003675886837299913, -0.0016808564541861415, -0.00588983902707696, -0.03731774911284447, 0.0024249800480902195, -0.032518308609724045, -0.007552802562713623, 0.004241610411554575, 0.016267575323581696, -0.01950088143348694, 0.003073325613513589, 0.012545904144644737, 0.02650637924671173, -0.012891126796603203, 0.01677277870476246, 0.0065718647092580795, 0.011080811731517315, 0.03213098645210266, -0.0025260208640247583, 0.0017387444386258721, -0.05870472639799118, -0.02042708918452263, 0.023677237331867218, -0.05718911439180374, 0.005957199260592461, 0.036980945616960526, 0.042201388627290726, -0.012891126796603203, -0.004513157531619072, -0.0028228284791111946, -0.02000608667731285, -0.07396189123392105, -0.04142674431204796, -0.0324677899479866, 0.0016840139869600534, 0.01041562668979168, -0.012638525106012821, -0.03452228754758835, -0.014406739734113216, 0.10851786285638809, -0.013758393935859203, -0.0018345226999372244, 0.03694726526737213, -0.06877513229846954, -0.014726702123880386, 0.012167001143097878, 0.05951305478811264, 0.03799135610461235, 0.07207579910755157, -0.0406184159219265, 0.023407794535160065, -0.046209342777729034, 0.04078681766986847, -0.006331892684102058, 0.01340475119650364, -0.023306753486394882, 0.0475565567612648, -0.024451883509755135, 0.024805525317788124, 0.03859759867191315, 0.010323005728423595, 0.023273073136806488, -0.020662851631641388, 0.01739586517214775, 0.037048306316137314, 0.01340475119650364, 0.04971209168434143, 0.024502404034137726, 0.03879968076944351, 0.027078945189714432, 0.0007057071197777987, -0.009001054801046848, -0.014297278597950935, 0.05991721898317337, -0.02221214398741722, 0.0038121866527944803, -0.011788098141551018, 0.00823482871055603, -0.04489581286907196, 0.06645119190216064, -0.01960192248225212, -0.03677886724472046, -0.07645423710346222, 0.04657982662320137, -0.04843224212527275, -0.005216233432292938, 0.005628816783428192, -0.011139752343297005, -0.02837563492357731, 0.019214600324630737, -0.0070686484687030315, 0.04671454802155495, 0.011847038753330708, -0.017412705346941948, -0.023710917681455612, -0.02083125337958336, -0.0018818855751305819, -0.017665306106209755, 0.014768802560865879, -0.0060792905278503895, -0.015349787659943104, 0.0339328832924366, -0.01862519420683384, 0.04472741112112999, -0.017311664298176765, -0.013101628981530666, 0.03317507728934288, -0.020965974777936935, -0.01845679245889187, 0.025799093768000603, 0.04617566242814064, -0.015349787659943104, 0.038732320070266724, 0.034657008945941925, 0.015021405182778835, -0.004254240542650223, -0.013312130235135555, 0.07645423710346222, -0.010988191701471806, -0.03357923775911331, -0.03580213710665703, -0.01938300020992756, 0.008740033023059368, 0.021370137110352516, -0.004849960096180439, 0.011451294645667076, -0.08837705105543137, 0.006247691810131073, 0.022532107308506966, -0.06048978120088577, 0.015467668883502483, 0.06038874015212059, 0.009565199725329876, -0.03522957116365433, -0.025024447590112686, -0.03319191560149193, 0.03937224671244621, -0.019281961023807526, 0.0690445750951767, 0.027078945189714432, 0.04860064387321472, -0.06793312728404999, -0.04418852552771568, 0.023357274010777473, -0.010440886951982975, -0.008849493227899075, -0.028392475098371506, -0.05675126984715462, 0.03846288099884987, 0.07173899561166763, 0.002502865856513381, 0.014836163260042667, -0.0045678880997002125, -0.01566133089363575, 0.011139752343297005, 0.013615253381431103, -0.056347109377384186, 0.0205954909324646, -0.05308011919260025, 0.02622009813785553, -0.02610221691429615, 0.001584025681950152, -0.06965082138776779, 0.008226408623158932, -0.016932761296629906, 0.054258931428194046, 0.0136320935562253, -0.023121511563658714, -0.00297228479757905, 0.06119706854224205, -0.011518655344843864, -0.028409315273165703, 0.06564286351203918, -0.001577710616402328, -0.004824699833989143, 0.06483453512191772, 0.03255198895931244, -0.07443341612815857, 0.0435149222612381, -0.03920384496450424, 0.03822711855173111, -0.004445796832442284, -0.05308011919260025, -0.03991113230586052, -0.06173595413565636, -0.010432466864585876, -0.07551118731498718, -0.04402012377977371, 0.041157301515340805, 0.07429869472980499, 0.00893369410187006, -0.02837563492357731, -0.011636536568403244, -0.034067604690790176, -0.0068244668655097485, 0.02180798165500164, 0.05196867138147354, -0.04617566242814064, -0.013387911021709442, 0.06429565697908401, -0.008201148360967636, -0.04900480806827545, -0.005734067410230637, -0.030884817242622375, -0.017968429252505302, -0.011232373304665089, -0.011560755781829357, -0.0010267222533002496, -0.1311510056257248, -0.03432020545005798, 0.006441353354603052, 0.05446101352572441, 0.010575607419013977, -0.0232057124376297, -0.00040968903340399265, -0.028106193989515305, -0.03718302771449089, -0.0429423563182354, -0.08682776242494583, -0.004732079338282347, -0.06072554364800453, 0.013766814023256302, 0.04826384037733078, -0.0007899078191258013, 0.021386977285146713, 0.0446600504219532, -0.013110049068927765, -0.004963631276041269, 0.045670460909605026, -0.0016819089651107788, 0.039237525314092636, -0.0574248768389225, -0.030649054795503616, -0.05011625587940216, -0.02012396790087223, 0.0713348314166069, 0.09410270303487778, 0.04216771200299263, -0.03475804999470711, -0.014583560638129711, 0.018642034381628036, 0.006950767710804939, 0.054157890379428864, 0.017244303598999977, 0.057290155440568924, -0.09767281264066696, -0.07625215500593185, 0.031996265053749084, 0.014575141482055187, -0.011156592518091202, 0.016284415498375893, 0.010575607419013977, 0.024401362985372543, -0.020225007086992264, -0.00881581287831068, 0.06476717442274094, -0.010196704417467117, 0.022026902064681053, -0.04257187247276306, -0.0163938757032156, 0.01412887778133154, 0.009902002289891243, 0.02610221691429615, 0.007973806001245975, -0.030312251299619675, -0.07349037379026413, 0.012486963532865047, -0.004018478561192751, 0.06055714190006256, -0.022986790165305138, -0.04304339736700058, 0.02118489518761635, 0.006988658104091883, -0.03664414584636688, -0.0556735023856163, -0.03920384496450424, 0.03347819671034813, -0.03708198666572571, 0.046849269419908524, 0.005936149507761002, 0.028207235038280487, 0.048297520726919174, 0.02586645446717739, -0.005367794539779425, -0.008832653053104877, 0.01891147717833519, -0.014305698685348034, -0.043649643659591675, 0.013564732857048512, -0.03165946155786514, 0.059715136885643005, -0.045737821608781815, -0.03485909104347229, 0.03310771659016609, -0.045670460909605026, 0.04634406417608261, 0.05041937902569771, 0.0011388144921511412, -0.038429200649261475, -0.041561465710401535, -0.031053217127919197, 0.030766936019062996, 0.01843995228409767, -0.012007019482553005, -0.041393063962459564, -0.027971472591161728, 0.025479132309556007, 0.029167121276259422, -0.020848093554377556, -0.014112037606537342, -0.021067015826702118, -0.014229917898774147, -0.004483687225729227, 0.05550510063767433, -0.004437376745045185, -0.06793312728404999, 0.022010061889886856, 0.03317507728934288, -0.005633026827126741, 0.04981313273310661, -0.023188872262835503, -0.006235061679035425, 0.0603213794529438, 0.012512223795056343, 0.004155304282903671, -0.01943352073431015, 0.03701462596654892, 0.00008893699123291299, 0.008596891537308693, -0.01938300020992756, -0.011931238695979118, -0.031406860798597336, 0.0066855354234576225, 0.01604023389518261, -0.02790411189198494, 0.09289021044969559, -0.004938371013849974, -0.02140381745994091, -0.02819039486348629, 0.04752287641167641, -0.007729624398052692, -0.06362204998731613, -0.02488972619175911, -0.0794854611158371, 0.030379611998796463, 0.04506421461701393, -0.026641100645065308, -0.032568830996751785, -0.014684601686894894, 0.020864933729171753, 0.030834296718239784, -0.010230384767055511, -0.01926512084901333, -0.04135938361287117, -0.020561810582876205, -0.04223506897687912, -0.023003630340099335, 0.03630734235048294, 0.008689512498676777, -0.008369549177587032, 0.004782599862664938, -0.02975652739405632, 0.03044697269797325, 0.019399840384721756, -0.04954368993639946, 0.06355468928813934, 0.01769898645579815, -0.06402621418237686, 0.010028303600847721, 0.019281961023807526, 0.01746322587132454, -0.013463691808283329, -0.04826384037733078, 0.04304339736700058, 0.039069123566150665, -0.026018016040325165, -0.0748375803232193, -0.02877979911863804, -0.015956033021211624, -0.00838638935238123, 0.05099194496870041, -0.037553511559963226, 0.0400121733546257, 0.050554100424051285, -0.04745551571249962, 0.0094220582395792, -0.007186529692262411, -0.02906608209013939, 0.010937671177089214, 0.0127648264169693, -0.008714772760868073, -0.004254240542650223, -0.009834641590714455, 0.011451294645667076, 0.0777340829372406, 0.04563678056001663, -0.0013798389118164778, -0.05412421002984047, 0.006180331110954285, 0.022767869755625725, -0.01247012335807085, -0.06278004497289658, 0.004374226555228233, 0.024637125432491302, 0.008689512498676777, 0.014423579908907413, -0.011501815170049667, -0.0022186883725225925, 0.008112736977636814, 0.017101161181926727, 0.0025260208640247583, 0.12657049298286438, 0.13182461261749268, -0.010264065116643906, -0.013379490934312344, 0.02273418940603733, -0.03376448154449463, -0.037149347364902496, 0.01850731298327446, 0.057290155440568924, -0.011181852780282497, 0.0014714072458446026, -0.0423361100256443, -0.01433095894753933, 0.020022926852107048, -0.04449164867401123, 0.09679712355136871, -0.025782253593206406, -0.03981009125709534, -0.029217641800642014, -0.031878385692834854, -0.04041633382439613, -0.06971818208694458, 0.032215189188718796, -0.01716010272502899, -0.023188872262835503, -0.006900247186422348, -0.0006978132878430188, 0.002129225293174386, 0.061567552387714386, 0.011468134820461273, -0.03879968076944351, 0.0018871481297537684, -0.049105849117040634, -0.03687990456819534, -0.04014689475297928, -0.008112736977636814, -0.020174488425254822, 0.029251322150230408, 0.005077301990240812, 0.047825995832681656, -0.014575141482055187, 0.0015071925008669496, -0.0036037899553775787, 0.022666828706860542, 0.05574086308479309, 0.09470894932746887, -0.07349037379026413, -0.010541928000748158, 0.037385109812021255, 0.020629171282052994, -0.003959537949413061, -0.011560755781829357, -0.025916974991559982, 0.05270963907241821, -0.0047110291197896, -0.0038269218057394028, 0.02999228984117508, 0.022751029580831528, -0.010070404037833214, 0.015290847048163414, -0.060994986444711685, -0.012689045630395412, 0.007611743174493313, 0.06938137859106064, -0.02771886996924877, -0.06405989080667496, 0.0010019883047789335, -0.0010840840404853225, -0.053686365485191345, 0.007729624398052692, -0.035768456757068634, -0.015509768389165401, 0.05318116024136543, -0.004631038289517164, -0.02738206647336483, -0.003965852782130241, -0.02424980141222477, 0.00669816555455327, 0.020730212330818176, -0.001538767828606069, 0.005995089653879404, 0.041965629905462265, 0.04169618710875511, 0.00838638935238123, -0.035128530114889145, 0.02180798165500164, 0.07645423710346222, -0.06773104518651962, 0.0017261143075302243, -0.01017986424267292, 0.025428611785173416, -0.012158581055700779, -0.025613851845264435, -0.05661654844880104, -0.012023859657347202, -0.05638078972697258, 0.01615811325609684, 0.03917016461491585, -0.013640513643622398, -0.06638383120298386, -0.04068577662110329, -0.023222552612423897, 0.0371156670153141, 0.04398644343018532, 0.060422420501708984, -0.05398948863148689, -0.0487353652715683, -0.016174953430891037, 0.01677277870476246, -0.028847159817814827, 0.051598187536001205, 0.030194370076060295, 0.04152778536081314, 0.088174968957901, 0.02325623296201229, -0.05621238797903061, -0.021420657634735107, -0.013606833294034004, -0.05355164408683777, 0.017968429252505302, 0.0021313303150236607, 0.04489581286907196, -0.016629638150334358, 0.027685189619660378, 0.05499989539384842, 0.045805178582668304, -0.013303710147738457, -0.05735751613974571, -0.038025036454200745, 0.048297520726919174, -0.013733133673667908, -0.058738406747579575, -0.02802199311554432, -0.029032401740550995, -0.015695011243224144, 0.009413638152182102, 0.01943352073431015, 0.005805638153105974, 0.01924828067421913, -0.03927120566368103, 0.031928904354572296, -0.05446101352572441, -0.001820840174332261, 0.01128289382904768, -0.014617240987718105, -0.014036256819963455, -0.06355468928813934, 0.009135776199400425, 0.0017008541617542505, 0.03526325151324272, -0.010752429254353046, -0.027988312765955925, -0.023576196283102036, -0.06709111481904984, -0.00937153771519661, -0.00969150010496378, -0.04334652051329613, -0.0027933581732213497, -0.007426501717418432, -0.015695011243224144, 0.008104316890239716, -0.023424634709954262, 0.023525675758719444, -0.023879317566752434, 0.05203603208065033, 0.02088177390396595, 0.023710917681455612, -0.03472436964511871, 0.018086310476064682, -0.02505812793970108, 0.01017986424267292, -0.00047283954336307943, -0.023070991039276123, 0.07045914232730865, 0.024957086890935898, -0.015156125649809837, -0.005321484059095383, -0.017715826630592346, -0.02123541571199894, -0.05116034299135208, 0.008251668885350227, -0.024805525317788124, -0.03812607750296593, -0.013901535421609879, -0.00029917561914771795, -0.022178463637828827, 0.016671737655997276, 0.030127009376883507, -0.004837329965084791, 0.04169618710875511, -0.025394931435585022, -0.03277091309428215, -0.013488952070474625, -0.028106193989515305, 0.008630571886897087, -0.030548013746738434, 0.021824821829795837, 0.08211252093315125, -0.007148639298975468, 0.011762837879359722, -0.013211090117692947, -0.026068536564707756, 0.028055673465132713, 0.04546837881207466, -0.040517374873161316, -0.017193783074617386, 0.04459268972277641, 0.015341367572546005, 0.0032690921798348427, 0.012747986242175102, 0.057222794741392136, 0.016486497595906258, -0.021824821829795837, -0.043885406106710434, 0.015021405182778835, -0.007914865389466286, 0.009817801415920258, -0.0019524036906659603, -0.04711871221661568, 0.06015297770500183, -0.00023628820781596005, -0.0069549777545034885, 0.03211414813995361, -0.06395885348320007, 0.1177462562918663, -0.011560755781829357, -0.02083125337958336, -0.03546533361077309, -0.0033974982798099518, -0.023172032088041306, 0.01717694289982319, -0.03640838339924812, 0.05796376243233681, 0.010937671177089214, -0.020225007086992264, 0.011232373304665089, -0.002502865856513381, -0.001030406099744141, 0.04600726068019867, 0.028055673465132713, -0.06547446548938751, -0.013261609710752964, -0.0013387911021709442, 0.016553858295083046, 0.027988312765955925, 0.0188609566539526, -0.002780728042125702, 0.013817334547638893, -0.06345364451408386, 0.005136242602020502, 0.012747986242175102, 0.035701096057891846, 0.01734534464776516, -0.0066223847679793835, 0.018591513857245445, 0.029015561565756798, 0.005931939464062452, 0.007022338453680277, -0.009270496666431427, 0.016259154304862022, 0.03799135610461235, 0.005136242602020502, -0.019332479685544968, -0.02285207062959671, 0.06466613709926605, -0.05752591788768768, -0.009354697540402412, 0.006121390964835882, -0.001505087479017675, 0.0015829731710255146, 0.004757339600473642, 0.017934748902916908, -0.05516829714179039, 0.0036164200864732265, 0.003315402427688241, 0.0021492228843271732, 0.015215066261589527, -0.006500293966382742 ]
42,091
patch_ng
xstrip
Make relative path out of absolute by stripping prefixes used on Linux, OS X and Windows. This function is critical for security.
def xstrip(filename): """ Make relative path out of absolute by stripping prefixes used on Linux, OS X and Windows. This function is critical for security. """ while xisabs(filename): # strip windows drive with all slashes if re.match(b'\\w:[\\\\/]', filename): filename = re.sub(b'^\\w+:[\\\\/]+', b'', filename) # strip all slashes elif re.match(b'[\\\\/]', filename): filename = re.sub(b'^[\\\\/]+', b'', filename) return filename
(filename)
[ -0.04965570569038391, 0.07712405920028687, 0.02041519246995449, 0.053448110818862915, 0.014549368992447853, -0.036081019788980484, 0.00823607761412859, 0.018660763278603554, 0.08400001376867294, -0.040475957095623016, 0.04611140117049217, -0.020875953137874603, 0.015373419970273972, 0.027220256626605988, 0.0009126583463512361, 0.03017975203692913, 0.04182279109954834, 0.07007090002298355, 0.007225950714200735, 0.00222515850327909, 0.0019382914761081338, -0.026032915338873863, -0.0510379821062088, 0.023675953969359398, -0.008918356150388718, 0.03140253573656082, -0.007899368181824684, 0.01742025651037693, -0.020734179764986038, -0.04611140117049217, 0.019351901486516, 0.04674937576055527, 0.07485570758581161, -0.0381721593439579, 0.0384911447763443, -0.00004807655204785988, 0.0011795888422057033, 0.05309367924928665, -0.060005072504282, -0.06709367781877518, -0.00040011873352341354, -0.011084811761975288, 0.021815193817019463, 0.00956962164491415, 0.026369623839855194, 0.0016713610384613276, 0.033245574682950974, -0.012794938869774342, -0.005595570430159569, 0.03756962716579437, -0.008081014268100262, 0.06128102168440819, -0.02851392887532711, 0.03537215664982796, 0.011634179390966892, 0.0004037184116896242, 0.021372154355049133, -0.0017045888816937804, -0.024278484284877777, -0.01620633155107498, -0.005156962666660547, 0.0016292723594233394, -0.017402535304427147, -0.05181773006916046, 0.04738735035061836, -0.006968988571316004, 0.02257721871137619, -0.026440510526299477, -0.02030886337161064, -0.015240509063005447, -0.03693165257573128, 0.008665824308991432, -0.024172155186533928, -0.044906336814165115, 0.0802430510520935, 0.0006496045389212668, 0.04075950011610985, 0.035850640386343, 0.035531651228666306, -0.00554683618247509, -0.025483548641204834, -0.01416835654526949, -0.0011962027056142688, -0.01217468548566103, -0.0026582281570881605, -0.011244305409491062, -0.006964558269828558, -0.00424430426210165, 0.030853169038891792, 0.03489367663860321, 0.02711392752826214, 0.0013922470388934016, -0.022010130807757378, -0.025253169238567352, -0.0171898752450943, -0.03157975152134895, 0.015843041241168976, -0.015922786667943, 0.0005557358381338418, -0.05390886962413788, -0.033865828067064285, 0.032589878886938095, -0.08867849409580231, 0.006920254323631525, 0.042460765689611435, 0.01785443350672722, 0.006180380936712027, -0.017517725005745888, -0.01974177546799183, -0.03498228266835213, -0.024721523746848106, -0.10122533142566681, 0.0079613933339715, -0.0038965195417404175, 0.04331139847636223, -0.02989620715379715, -0.03466329723596573, -0.038243044167757034, 0.03717975318431854, -0.04557975381612778, 0.004366139881312847, -0.010198735632002354, -0.12872913479804993, -0.013424052856862545, 0.014070888049900532, 0.007651267107576132, 0.042354438453912735, 0.04189367592334747, -0.023977218195796013, 0.027805067598819733, -0.047954436391592026, 0.033139247447252274, -0.0555746927857399, -0.02794683910906315, 0.011297469958662987, 0.030162030830979347, -0.011297469958662987, 0.03023291565477848, 0.05614178255200386, -0.00699114054441452, 0.033032916486263275, 0.009401267394423485, 0.01774810440838337, 0.032926589250564575, -0.017730383202433586, 0.025040511041879654, 0.0033958866260945797, -0.002403481397777796, -0.002585127018392086, -0.001980380155146122, 0.004454747308045626, 0.010659495368599892, -0.004375000484287739, -0.048946842551231384, 0.0070886085741221905, -0.01325569860637188, 0.019511396065354347, -0.014956964179873466, 0.02684810571372509, -0.04161013290286064, -0.013113926164805889, -0.023091142997145653, 0.04621772840619087, -0.07194937765598297, -0.015683546662330627, -0.015054432675242424, 0.008568355813622475, -0.03250126913189888, 0.0509316548705101, 0.02224051021039486, 0.014974686317145824, 0.013734179548919201, 0.00607405137270689, 0.004366139881312847, 0.005378481931984425, -0.0007210444309748709, 0.00790379848331213, 0.026972156018018723, -0.010960761457681656, 0.04774177819490433, 0.046891145408153534, -0.04164557531476021, 0.04582785442471504, -0.03028608113527298, 0.02823038399219513, 0.006782912649214268, -0.011474685743451118, -0.04150380566716194, 0.06124557927250862, 0.015710128471255302, -0.01570126786828041, 0.04802532494068146, 0.05465317144989967, -0.004370570182800293, 0.005923418793827295, -0.04859241098165512, 0.084992416203022, 0.026369623839855194, -0.03556709364056587, -0.06950380653142929, -0.062379755079746246, 0.006720887031406164, -0.01890886388719082, -0.0422835499048233, 0.006836077198386192, -0.003254114417359233, -0.009720254689455032, -0.0011496837250888348, -0.05259747803211212, 0.03331645950675011, 0.06879495084285736, -0.028354434296488762, -0.016489876434206963, -0.03593924641609192, -0.0296303853392601, -0.00615822896361351, -0.04791899397969246, 0.07343798875808716, 0.018731648102402687, 0.05025823414325714, -0.1152607798576355, -0.017544306814670563, 0.001703481306321919, -0.03223544731736183, 0.018713926896452904, -0.021921522915363312, 0.013140507973730564, 0.0730835571885109, 0.07294178009033203, -0.03345823287963867, 0.014097470790147781, -0.06808608770370483, -0.03344051167368889, 0.012750634923577309, 0.046288613229990005, -0.03196962550282478, -0.014513926580548286, -0.05263292044401169, 0.07641520351171494, -0.057169631123542786, -0.0191392432898283, -0.03581519424915314, 0.030427852645516396, -0.00859936885535717, 0.02950633317232132, -0.00843101367354393, 0.0006113924901001155, 0.06418735533952713, 0.012245571240782738, 0.012263293378055096, 0.008036710321903229, 0.06748355180025101, -0.0009569621761329472, 0.019936712458729744, 0.028762029483914375, 0.026653168722987175, -0.06035950407385826, -0.03106582723557949, -0.02739747241139412, 0.04192912206053734, -0.0161354448646307, -0.027167093008756638, -0.0031256333459168673, -0.05291646346449852, 0.027415193617343903, -0.04441013187170029, -0.025058232247829437, 0.012050635181367397, 0.006583545356988907, 0.03117215633392334, 0.019670888781547546, -0.029151903465390205, -0.003998418338596821, 0.00662784930318594, -0.017482280731201172, 0.03198734670877457, -0.026156965643167496, -0.02457975037395954, 0.04930127412080765, 0.005086076911538839, -0.05174684524536133, 0.019511396065354347, -0.0033892409410327673, 0.018288610503077507, 0.025607598945498466, -0.05646076798439026, 0.00603417819365859, -0.07953418791294098, -0.05302279442548752, 0.01586962305009365, 0.027929117903113365, -0.005453798454254866, 0.0344860814511776, -0.06787342578172684, -0.06943292170763016, -0.018288610503077507, 0.023055700585246086, -0.07712405920028687, -0.07549368590116501, -0.011536710895597935, -0.019369622692465782, 0.06829874217510223, -0.028194941580295563, 0.024544307962059975, -0.025146840140223503, -0.004359494429081678, -0.00945443194359541, -0.015843041241168976, 0.0053031654097139835, 0.021177219226956367, -0.01963544636964798, -0.04802532494068146, 0.0014886078424751759, 0.008519621565937996, 0.06957469135522842, 0.06319494545459747, 0.020273420959711075, -0.007084178272634745, 0.013743040151894093, 0.016463294625282288, 0.0035420891363173723, 0.05475950241088867, 0.013432913459837437, 0.056602541357278824, -0.07471393793821335, -0.003174367593601346, -0.03331645950675011, 0.0037259499076753855, -0.015160761773586273, 0.013016457669436932, -0.022648105397820473, 0.02601519413292408, -0.048060767352581024, -0.009303798899054527, 0.0002778679190669209, 0.003887658938765526, 0.024118991568684578, -0.011572153307497501, 0.025554435327649117, 0.03756962716579437, 0.00045992888044565916, 0.03235949948430061, -0.010269622318446636, -0.03973165154457092, -0.046501271426677704, -0.005418355111032724, -0.0379595011472702, 0.03296203166246414, -0.01558607816696167, -0.06213165447115898, 0.05171139910817146, 0.003825633553788066, -0.07088609039783478, -0.002554114442318678, -0.01136835664510727, 0.03356456384062767, -0.05461772903800011, 0.0468202605843544, 0.018713926896452904, 0.07570634037256241, 0.06546330451965332, -0.017349369823932648, -0.001550633111037314, -0.017429117113351822, -0.0017688294174149632, -0.003909810911864042, 0.0511443130671978, -0.016737977042794228, -0.0594734288752079, 0.00666772248223424, -0.04161013290286064, -0.006441773381084204, 0.011474685743451118, -0.08414178341627121, 0.0172430407255888, 0.02945316955447197, 0.036967094987630844, -0.07464305311441422, 0.02064557373523712, 0.006393039133399725, 0.029364561662077904, 0.06390380859375, -0.019936712458729744, -0.009091140702366829, -0.05440507084131241, 0.005090507213026285, 0.020681016147136688, -0.03157975152134895, -0.026812663301825523, -0.02268354780972004, 0.011164559051394463, -0.005232279188930988, 0.05596456676721573, 0.03212912008166313, -0.026529118418693542, -0.043736714869737625, 0.04139747470617294, -0.013902533799409866, 0.04643038660287857, -0.032979752868413925, -0.04341772943735123, 0.03067595511674881, -0.0039718360640108585, 0.027255700901150703, -0.001649209065362811, 0.01825316809117794, 0.006898102350533009, 0.004581013228744268, 0.01184683758765459, 0.017446838319301605, -0.024987345561385155, -0.035407599061727524, 0.005817089695483446, -0.03179240971803665, 0.08570127934217453, 0.028354434296488762, -0.03895190358161926, -0.0647544413805008, 0.05064810812473297, -0.045296210795640945, -0.03570886701345444, -0.02684810571372509, -0.0648607686161995, 0.006499368231743574, 0.03528355062007904, -0.004142405930906534, -0.029967093840241432, -0.0072835455648601055, 0.038632918149232864, 0.029524054378271103, -0.04309874027967453, -0.04444557800889015, -0.04263798147439957, -0.029524054378271103, -0.004106962587684393, -0.019351901486516, 0.060926590114831924, 0.018448105081915855, -0.008169621229171753, -0.007159494794905186, -0.06372658908367157, 0.017783546820282936, -0.0010029274271801114, -0.02007848396897316, 0.036470890045166016, 0.026210131123661995, -0.04937215894460678, 0.003730380441993475, -0.04111393168568611, 0.019174685701727867, -0.03409620746970177, -0.010606330819427967, 0.035531651228666306, -0.017482280731201172, -0.0344860814511776, -0.05592912435531616, -0.04164557531476021, -0.001579430652782321, -0.03156203031539917, 0.03732152655720711, -0.019351901486516, 0.027167093008756638, 0.05486582964658737, -0.040794942528009415, -0.006167089566588402, 0.024951903149485588, 0.002675949828699231, 0.030020257458090782, -0.017340509220957756, 0.0009962818585336208, -0.013796204701066017, -0.02479240857064724, 0.020946837961673737, 0.06709367781877518, -0.0056797475554049015, 0.0066012670285999775, -0.05376709625124931, 0.09002532809972763, 0.07747849076986313, -0.0035819625481963158, -0.05164051428437233, -0.022825319319963455, -0.010269622318446636, 0.022488610818982124, 0.04533165320754051, 0.014478483237326145, -0.03305063769221306, -0.019387345761060715, 0.015532913617789745, -0.0009935128036886454, 0.08726077526807785, 0.08463798463344574, -0.03742785379290581, 0.016073420643806458, -0.009684811346232891, -0.03200506791472435, 0.0061050644144415855, 0.07684051990509033, 0.06450633704662323, -0.036081019788980484, -0.00041285608313046396, -0.09222280234098434, -0.018270889297127724, 0.010145571082830429, -0.030924055725336075, 0.07485570758581161, -0.05872912332415581, -0.015851901844143867, -0.01680000312626362, -0.007544938009232283, -0.026546839624643326, -0.03361772745847702, 0.04763545095920563, 0.0426025390625, 0.017677217721939087, -0.007726583629846573, -0.00274462066590786, 0.011979748494923115, 0.06372658908367157, -0.006149367894977331, -0.03732152655720711, -0.046288613229990005, -0.014948103576898575, 0.020237978547811508, -0.04178734868764877, -0.0045455703511834145, -0.0470329187810421, 0.03611646220088005, -0.01929873786866665, 0.059721529483795166, 0.019706333056092262, 0.003001582808792591, 0.0276810172945261, -0.03905823454260826, 0.037853170186281204, 0.06064304709434509, -0.03515949845314026, -0.061316464096307755, 0.005622152704745531, 0.022222789004445076, 0.052562031894922256, -0.0062158238142728806, 0.005777216050773859, 0.005391772836446762, -0.019369622692465782, 0.0003843354934360832, 0.008196203969419003, 0.027592409402132034, 0.012307597324252129, 0.007141773123294115, -0.015843041241168976, -0.007075317669659853, 0.018093673512339592, 0.06610127538442612, 0.034645576030015945, -0.07053165882825851, 0.0021852850914001465, 0.013743040151894093, -0.0856303945183754, 0.007553798612207174, -0.027645574882626534, -0.0026693041436374187, 0.052278488874435425, 0.011421521194279194, -0.06847596168518066, 0.02585569955408573, -0.027875954285264015, 0.01680000312626362, 0.0015151901170611382, -0.041574690490961075, -0.037356968969106674, 0.05592912435531616, 0.06362026184797287, 0.02406582608819008, -0.03290886431932449, 0.03062278963625431, 0.13440002501010895, -0.05851646512746811, 0.009481013752520084, 0.01669367402791977, 0.04026329889893532, -0.05295190587639809, -0.04153924807906151, -0.03365316987037659, -0.02380000427365303, -0.051959503442049026, 0.04320507124066353, -0.0005330301355570555, 0.03461013361811638, -0.071701280772686, 0.012227850034832954, -0.04625317081809044, 0.03285570070147514, 0.001664715469814837, 0.016073420643806458, -0.07350887358188629, -0.039129119366407394, -0.02224051021039486, 0.025713928043842316, 0.012307597324252129, 0.07492659240961075, 0.008971520699560642, 0.07910887151956558, 0.07237469404935837, 0.006224684417247772, -0.00810316577553749, -0.032093677669763565, -0.020539244636893272, -0.08329115062952042, -0.010375951416790485, -0.009286077693104744, 0.01076582446694374, -0.0027822789270430803, -0.009605064988136292, 0.020096205174922943, 0.07141773402690887, 0.0022949371486902237, -0.041078489273786545, -0.07464305311441422, 0.03820760175585747, -0.037534184753894806, -0.056779757142066956, -0.03728608042001724, 0.025749370455741882, 0.005879114847630262, 0.0020357598550617695, 0.05429874360561371, 0.01846582628786564, -0.020929116755723953, 0.012856964021921158, 0.00013907240645494312, -0.03955443575978279, 0.003391456324607134, 0.020982282236218452, 0.015320255421102047, -0.03781772777438164, -0.007469621486961842, 0.02667088992893696, -0.005573418457061052, -0.020043041557073593, 0.03905823454260826, -0.07230380922555923, -0.018554434180259705, -0.02973671443760395, -0.00995949562638998, 0.006246836390346289, -0.026210131123661995, -0.021549370139837265, -0.019440509378910065, -0.005360760260373354, 0.03962532430887222, -0.014948103576898575, -0.008174051530659199, -0.008936077356338501, 0.04997469112277031, 0.06939747929573059, 0.013530381955206394, -0.0379595011472702, 0.01575443334877491, -0.0025430384557694197, 0.031845573335886, 0.012440508231520653, -0.004122469108551741, 0.0936405211687088, 0.015896204859018326, 0.029860764741897583, 0.003960760310292244, -0.03023291565477848, -0.03290886431932449, -0.027858233079314232, 0.022807598114013672, 0.004131329711526632, -0.07847090065479279, -0.020539244636893272, 0.03133165091276169, -0.01785443350672722, -0.023817725479602814, 0.04944304749369621, 0.0026316458825021982, -0.0010843356139957905, -0.012927849777042866, -0.034308865666389465, 0.03749873861670494, -0.05132152885198593, 0.03017975203692913, -0.038739245384931564, -0.010340508073568344, 0.05500760301947594, -0.005591140128672123, 0.020769624039530754, -0.05663798376917839, 0.02252405509352684, 0.041681017726659775, 0.05911899730563164, -0.07946330308914185, -0.005790507420897484, 0.05564557760953903, -0.001377848326228559, 0.02663544751703739, -0.05401519685983658, 0.033582285046577454, 0.039306335151195526, 0.006167089566588402, -0.017624054104089737, 0.02668861113488674, 0.014124052599072456, -0.0041933548636734486, -0.008333545178174973, -0.031703803688287735, 0.06574684381484985, -0.007952532730996609, -0.02030886337161064, -0.03301519528031349, -0.04699747636914253, 0.07641520351171494, -0.0380658283829689, -0.020822787657380104, -0.06556963175535202, 0.045296210795640945, -0.024048104882240295, 0.012484812177717686, 0.004612026270478964, 0.05390886962413788, 0.026387345045804977, -0.008143039420247078, -0.009605064988136292, 0.027982283383607864, -0.01820000261068344, -0.027610130608081818, 0.03987342491745949, 0.003657279070466757, 0.006144937593489885, -0.005936709698289633, 0.04954937472939491, 0.032979752868413925, 0.010969622060656548, 0.032253168523311615, 0.03962532430887222, -0.023002535104751587, -0.005471519660204649, 0.026600005105137825, -0.023534180596470833, -0.0426025390625, 0.011536710895597935, -0.012945571914315224, 0.04813165217638016, 0.044339247047901154, 0.005662026349455118, -0.007952532730996609, 0.012600001879036427, 0.020982282236218452, 0.005046203266829252, -0.02252405509352684, 0.01325569860637188, 0.008643671870231628, -0.0344860814511776, -0.024562029168009758, -0.011820254847407341, -0.009862027131021023, -0.03294431045651436, -0.003845570143312216, 0.021549370139837265, -0.01361898984760046, 0.03138481453061104, -0.012281014584004879, 0.014354432933032513, -0.007850633934140205, 0.0029617093969136477 ]
42,094
sparse_dot_topn.api
awesome_cossim_topn
This function will be removed and replaced with `sp_matmul_topn`. NOTE this function calls `sp_matmul_topn` but the results may not be the same. See the migration guide at 'https://github.com/ing-bank/sparse_dot_topn#migration' for details. This function will return a matrix C in CSR format, where C = [sorted top n results > lower_bound for each row of A * B]. If return_best_ntop=True then best_ntop (the true maximum number of elements > lower_bound per row of A * B) will also be returned in a tuple together with C as (C, best_ntop). Args: A: LHS of the multiplication, the number of columns of A determines the orientation of B. `A` must be have an {32, 64}bit {int, float} dtype that is of the same kind as `B`. Note the matrix is converted (copied) to CSR format if a CSC or COO matrix. B: RHS of the multiplication, the number of rows of B must match the number of columns of A or the shape of B.T should be match A. `B` must be have an {32, 64}bit {int, float} dtype that is of the same kind as `A`. Note the matrix is converted (copied) to CSR format if a CSC or COO matrix. ntop: top n results lower_bound: a threshold that the element of A*B must be greater than use_threads: use multi-thread or not n_jobs: number of thread, must be >= 1 return_best_ntop: (default: False) if True, will return best_ntop together with C as a tuple: (C, best_ntop) test_nnz_max: deprecated argument, cannot be used Returns: C: result matrix (returned alone, if return_best_ntop=False) best_ntop: The true maximum number of elements > lower_bound per row of A * B returned together with C as a tuple: (C, best_ntop). It is returned only if return_best_ntop=True. N.B. if A and B are not in CSR format, they will be converted to CSR
def awesome_cossim_topn( A, B, ntop, lower_bound=0, use_threads=False, n_jobs=1, return_best_ntop=None, test_nnz_max=None ): """This function will be removed and replaced with `sp_matmul_topn`. NOTE this function calls `sp_matmul_topn` but the results may not be the same. See the migration guide at 'https://github.com/ing-bank/sparse_dot_topn#migration' for details. This function will return a matrix C in CSR format, where C = [sorted top n results > lower_bound for each row of A * B]. If return_best_ntop=True then best_ntop (the true maximum number of elements > lower_bound per row of A * B) will also be returned in a tuple together with C as (C, best_ntop). Args: A: LHS of the multiplication, the number of columns of A determines the orientation of B. `A` must be have an {32, 64}bit {int, float} dtype that is of the same kind as `B`. Note the matrix is converted (copied) to CSR format if a CSC or COO matrix. B: RHS of the multiplication, the number of rows of B must match the number of columns of A or the shape of B.T should be match A. `B` must be have an {32, 64}bit {int, float} dtype that is of the same kind as `A`. Note the matrix is converted (copied) to CSR format if a CSC or COO matrix. ntop: top n results lower_bound: a threshold that the element of A*B must be greater than use_threads: use multi-thread or not n_jobs: number of thread, must be >= 1 return_best_ntop: (default: False) if True, will return best_ntop together with C as a tuple: (C, best_ntop) test_nnz_max: deprecated argument, cannot be used Returns: C: result matrix (returned alone, if return_best_ntop=False) best_ntop: The true maximum number of elements > lower_bound per row of A * B returned together with C as a tuple: (C, best_ntop). It is returned only if return_best_ntop=True. N.B. if A and B are not in CSR format, they will be converted to CSR """ msg = ( "`awesome_cossim_topn` function will be removed and (partially) replaced with `sp_matmul_topn`." " See the migration guide at 'https://github.com/ing-bank/sparse_dot_topn#readme'." ) if test_nnz_max is not None: raise DeprecationWarning(msg) warnings.warn(msg, DeprecationWarning, stacklevel=2) n_threads = n_jobs if use_threads is True else None C = sp_matmul_topn(A=A, B=B, top_n=ntop, threshold=lower_bound, sort=True, n_threads=n_threads) if return_best_ntop: return C, np.diff(C.indptr).max() return C
(A, B, ntop, lower_bound=0, use_threads=False, n_jobs=1, return_best_ntop=None, test_nnz_max=None)
[ -0.07424209266901016, 0.009058753959834576, -0.01641005091369152, -0.03302314877510071, -0.003054964356124401, -0.029239054769277573, -0.04201268404722214, -0.017923688516020775, 0.05821968615055084, -0.0976111888885498, -0.039649929851293564, 0.01185990683734417, -0.006128387991338968, -0.010364728048443794, -0.057075224816799164, 0.06870439648628235, 0.05323575437068939, -0.08779100328683853, 0.025325747206807137, 0.022169258445501328, -0.019640374928712845, -0.021172473207116127, -0.0007556652999483049, 0.059733323752880096, -0.007785082794725895, 0.012349070981144905, 0.013890396803617477, -0.018542064353823662, 0.012579808011651039, -0.0044993809424340725, 0.014065757393836975, 0.00957099162042141, -0.005653068423271179, -0.0250119436532259, 0.012755168601870537, 0.050356149673461914, 0.06468033045530319, -0.03957609459757805, -0.030734233558177948, -0.05242355912923813, -0.02611948363482952, -0.0704764574766159, 0.011527645401656628, -0.03331849351525307, -0.0038417791947722435, -0.031214168295264244, 0.020028013736009598, 0.033890724182128906, -0.0056484537199139595, 0.0016359288711100817, 0.017360689118504524, -0.09325486421585083, -0.01628083735704422, 0.028943711891770363, -0.10447793453931808, -0.01571783795952797, 0.009081827476620674, -0.05552466958761215, -0.04659051448106766, -0.03200790658593178, 0.007706632371991873, -0.009478696621954441, 0.022593814879655838, 0.006188379600644112, -0.029479023069143295, 0.0018112893449142575, -0.03931766748428345, -0.0017789860721677542, 0.005528470501303673, 0.0018009061459451914, -0.013022824190557003, -0.0009523690096102655, 0.018625130876898766, -0.00506699550896883, 0.013428921811282635, -0.014721051789820194, -0.03798862174153328, -0.058478109538555145, -0.04112664982676506, -0.013318167999386787, 0.019935719668865204, 0.02168932370841503, 0.0445600263774395, -0.05353109911084175, 0.03509055823087692, -0.03483213111758232, 0.09487925469875336, 0.042344946414232254, 0.030180463567376137, -0.009875564835965633, -0.052755821496248245, 0.02798384241759777, 0.04374782741069794, 0.01744375377893448, 0.037084128707647324, 0.010050925426185131, -0.0008081580745056272, 0.031158791854977608, -0.006714460905641317, -0.06309285759925842, 0.024365879595279694, 0.023498306050896645, -0.018920473754405975, -0.0020697154104709625, 0.019455784931778908, 0.014130364172160625, -0.00205125636421144, 0.06416348367929459, 0.01941886730492115, 0.021486274898052216, -0.04297254979610443, -0.030180463567376137, -0.014757970348000526, -0.0027250098064541817, 0.0202864408493042, -0.02698705717921257, 0.009644826874136925, 0.06028709188103676, 0.01941886730492115, -0.0007983517134562135, -0.02643328718841076, -0.05936414375901222, -0.006815985776484013, -0.05895804613828659, -0.04714428633451462, 0.02024952322244644, 0.07228544354438782, -0.00039744534296914935, 0.0445600263774395, -0.05582001432776451, 0.029054464772343636, -0.06689541041851044, 0.02211388200521469, 0.07051337510347366, -0.019086604937911034, -0.018920473754405975, -0.005293118301779032, 0.0009794806828722358, 0.014794887974858284, -0.022944536060094833, 0.026488663628697395, -0.012579808011651039, -0.012838234193623066, 0.015745526179671288, 0.01198912039399147, -0.01741606555879116, 0.049211692065000534, -0.05393719673156738, 0.08107192814350128, 0.0005442520487122238, -0.02927597239613533, -0.0299958735704422, 0.013392004184424877, -0.045778319239616394, 0.03200790658593178, -0.017591426149010658, 0.09421472996473312, -0.05297732725739479, -0.013308938592672348, -0.008371156640350819, 0.01813596673309803, 0.003523361636325717, -0.041348159313201904, -0.008809557184576988, 0.025621091946959496, -0.03394610062241554, 0.07760163396596909, 0.023461388424038887, -0.039649929851293564, -0.0038487014826387167, -0.04374782741069794, -0.00928487628698349, -0.010290891863405704, -0.011241530999541283, -0.00047185816220007837, -0.040609799325466156, -0.029239054769277573, -0.03998219221830368, -0.0061560762114822865, 0.006114543415606022, -0.01873588375747204, 0.007918911054730415, 0.003278779797255993, -0.017951376736164093, -0.03998219221830368, 0.10085996985435486, 0.028186893090605736, -0.051906704902648926, -0.0031864847987890244, 0.014794887974858284, -0.03957609459757805, -0.02069253847002983, -0.004531684331595898, 0.058773454278707504, 0.021652406081557274, 0.024328961968421936, -0.009681745432317257, 0.0826224833726883, 0.0010492787696421146, 0.05785050615668297, -0.00499777402728796, 0.04511379450559616, 0.07224852591753006, 0.009746351279318333, 0.10565931349992752, 0.024347420781850815, -0.035053640604019165, -0.023055290803313255, -0.04422776401042938, 0.050614576786756516, -0.041791174560785294, -0.024347420781850815, 0.037619441747665405, 0.00667754327878356, 0.06715384125709534, 0.053641851991415024, 0.006539100781083107, -0.0038440865464508533, -0.033909182995557785, -0.059031881392002106, 0.08468989282846451, -0.03156488761305809, 0.015330199152231216, 0.04489228501915932, 0.008177336305379868, 0.02925751358270645, 0.03186023235321045, 0.017074573785066605, 0.06512334942817688, 0.029054464772343636, -0.0034795214887708426, -0.02826072834432125, -0.010595466010272503, 0.00829270575195551, -0.07833999395370483, -0.03553357347846031, -0.052312806248664856, 0.03226632997393608, -0.04053596407175064, -0.02357214316725731, -0.06981193274259567, -0.038505472242832184, -0.023442929610610008, 0.024070534855127335, -0.029589775949716568, -0.014518002979457378, 0.018099049106240273, -0.029460562393069267, -0.012681332416832447, 0.054343294352293015, -0.008320393972098827, -0.040056027472019196, -0.0034079928882420063, -0.031324923038482666, 0.004146352875977755, -0.031491052359342575, -0.07774930447340012, -0.0359765887260437, -0.026451746001839638, -0.013105889782309532, -0.011684546247124672, 0.01627160795032978, -0.0023039139341562986, 0.01843131147325039, -0.01056777685880661, 0.001745529123581946, -0.02228001318871975, 0.052312806248664856, -0.052312806248664856, 0.03824704512953758, 0.04625825211405754, -0.0028149974532425404, 0.014591839164495468, 0.004524762276560068, 0.002200081944465637, -0.0562630295753479, -0.055044736713171005, 0.023221421986818314, -0.002547341864556074, -0.06763377040624619, -0.02130168490111828, -0.0036295007448643446, -0.09650365263223648, -0.017185328528285027, -0.02371981367468834, -0.03186023235321045, -0.03784094750881195, -0.044486187398433685, 0.017748327925801277, -0.015247133560478687, -0.007328222971409559, -0.03315236419439316, 0.008878778666257858, 0.00009366500307805836, 0.010687761008739471, -0.004589368589222431, -0.001372888102196157, 0.02041565254330635, 0.009894023649394512, 0.008957229554653168, 0.0002715491864364594, -0.03747176751494408, -0.043895501643419266, -0.028906792402267456, 0.0791521891951561, 0.05198054388165474, -0.022483061999082565, -0.0029972800984978676, -0.012109103612601757, 0.026248697191476822, -0.016391592100262642, -0.0029626693576574326, 0.010226286016404629, 0.009727892465889454, -0.04186500981450081, 0.03828396648168564, -0.012016808614134789, 0.03416760638356209, 0.05445404723286629, 0.027190105989575386, -0.01191528420895338, -0.06213299185037613, 0.0423080250620842, 0.049064021557569504, 0.010420105420053005, -0.033484626561403275, -0.03243246302008629, -0.019511163234710693, -0.006317592691630125, -0.022187717258930206, -0.03082652948796749, 0.05755516141653061, 0.03254321590065956, 0.03928074985742569, -0.03752714768052101, 0.06375738233327866, -0.00999554805457592, 0.02298145368695259, 0.009857106022536755, -0.02371981367468834, -0.014398019760847092, -0.005574618000537157, -0.01711149327456951, 0.01242290623486042, -0.04939628392457962, -0.023184502497315407, 0.005897650495171547, 0.025473419576883316, -0.01840362325310707, -0.05511857196688652, -0.01136151421815157, -0.012865922413766384, 0.07294996827840805, 0.019197359681129456, 0.00724515737965703, 0.09827571362257004, 0.0007862380007281899, -0.03215557709336281, 0.11614402383565903, -0.03241400420665741, -0.03309698775410652, -0.0025450345128774643, 0.004822413437068462, -0.04315714165568352, -0.021670864894986153, 0.023498306050896645, -0.020507948473095894, 0.035201311111450195, 0.00031812931410968304, -0.051316019147634506, 0.0165577232837677, -0.09118745476007462, 0.03586583584547043, 0.031767938286066055, 0.003574123838916421, 0.03001433238387108, -0.09007991850376129, -0.03557049110531807, -0.016354672610759735, -0.00021819114044774324, 0.009215655736625195, 0.0014974863734096289, -0.0299958735704422, -0.005103913135826588, -0.029645152390003204, 0.025178074836730957, -0.008255787193775177, 0.04537222161889076, 0.021947750821709633, -0.007831230759620667, -0.011693776585161686, 0.017351459711790085, 0.028094597160816193, -0.061505384743213654, -0.020101850852370262, 0.0004539760120678693, 0.04958087205886841, 0.023609060794115067, 0.038320884108543396, -0.05367876961827278, -0.028371483087539673, 0.025381123647093773, 0.0044993809424340725, -0.004194807726889849, -0.020360276103019714, 0.013041283003985882, 0.012053726240992546, 0.012090644799172878, 0.003066501347348094, 0.01378887239843607, -0.07546038925647736, -0.024476632475852966, 0.03924383223056793, -0.026377910748124123, -0.04585215449333191, 0.048621006309986115, -0.054195623844861984, 0.05530316382646561, 0.0165577232837677, -0.03726872056722641, 0.022649193182587624, -0.020231062546372414, 0.031638726592063904, -0.03584737703204155, -0.027374695986509323, -0.07158400118350983, -0.007683558389544487, -0.0771586149930954, -0.014628756791353226, 0.015413264743983746, -0.021209390833973885, -0.02584259957075119, -0.014324183575809002, 0.04094206169247627, -0.02543650195002556, 0.014628756791353226, -0.03839471936225891, 0.02826072834432125, 0.0009817880345508456, -0.015394805930554867, 0.05729673430323601, 0.02215079963207245, -0.0088418610394001, 0.030494267120957375, -0.006995960604399443, -0.01912352256476879, 0.0176837220788002, -0.010087843053042889, -0.041901927441358566, 0.000006606663191632833, 0.05356801673769951, -0.023959781974554062, -0.01984342373907566, 0.025214992463588715, -0.012884381227195263, -0.038505472242832184, -0.023922862485051155, -0.017379147931933403, -0.004503995645791292, 0.040646716952323914, 0.0088418610394001, 0.01784985326230526, 0.025454960763454437, 0.01056777685880661, -0.017019197344779968, 0.028611449524760246, -0.016788460314273834, 0.024236666038632393, -0.026101024821400642, -0.02968207187950611, 0.007582033984363079, -0.0013082815567031503, -0.086166612803936, 0.0006299133528955281, 0.05024539679288864, 0.027633123099803925, -0.030881905928254128, 0.018588213250041008, 0.012349070981144905, -0.01840362325310707, -0.008412688970565796, 0.010337039828300476, 0.010420105420053005, 0.007028263993561268, 0.011527645401656628, -0.0007971980376169086, 0.009294106625020504, -0.0165577232837677, 0.038062456995248795, -0.07210085541009903, 0.03429682180285454, 0.03152796998620033, 0.0345921665430069, 0.051759034395217896, -0.017896000295877457, 0.02043411321938038, 0.005103913135826588, -0.013253561221063137, 0.00016699626576155424, -0.013105889782309532, 0.004185578320175409, -0.008431147783994675, -0.013179725967347622, 0.029940497130155563, 0.061062369495630264, -0.01065084245055914, -0.03767481818795204, 0.020877128466963768, 0.012219857424497604, -0.03603196516633034, -0.010429334826767445, -0.0149979367852211, 0.0423080250620842, 0.023018373176455498, -0.004337864927947521, 0.035773541778326035, -0.0008306549862027168, 0.029645152390003204, 0.04884251207113266, -0.013392004184424877, 0.07294996827840805, -0.007480509579181671, -0.012367529794573784, 0.024808894842863083, 0.02242768369615078, 0.015200985595583916, 0.041606586426496506, 0.053051166236400604, -0.029479023069143295, 0.053051166236400604, -0.05530316382646561, 0.0003192830190528184, -0.018505146726965904, 0.03861622512340546, 0.02056332491338253, -0.012339841574430466, -0.015745526179671288, 0.018938932567834854, 0.11658704280853271, -0.02143089845776558, 0.0036341154482215643, 0.042898714542388916, 0.05929030478000641, 0.043489404022693634, -0.0013578901998698711, 0.050356149673461914, -0.035053640604019165, 0.06726459413766861, -0.08948922902345657, -0.016603870317339897, 0.025344206020236015, 0.05116834491491318, 0.07261770218610764, 0.017093032598495483, 0.004146352875977755, 0.05342034623026848, -0.0403144545853138, -0.02554725483059883, 0.01506254356354475, 0.0031126488465815783, 0.0011484958231449127, 0.014601068571209908, 0.020637162029743195, -0.013410462997853756, 0.010253974236547947, -0.011767611838877201, -0.030605021864175797, 0.03431528061628342, 0.008495754562318325, -0.007517427671700716, 0.016779230907559395, -0.03344770520925522, -0.00829270575195551, 0.0011536874808371067, -0.0019889571703970432, -0.009201811626553535, 0.008504983969032764, 0.0050254627130925655, 0.013899626210331917, -0.025030402466654778, 0.0214124396443367, -0.00027270286227576435, 0.062465254217386246, -0.01134305540472269, -0.009543302468955517, -0.031084954738616943, -0.10071229934692383, -0.029645152390003204, 0.02442125603556633, -0.07077180594205856, -0.00948792602866888, 0.002210465259850025, 0.031195709481835365, -0.035644326359033585, 0.038320884108543396, -0.0070836408995091915, -0.009829416871070862, 0.06098853424191475, -0.012939758598804474, -0.02658095955848694, -0.032487839460372925, 0.010235515423119068, 0.017360689118504524, 0.004229418467730284, 0.011324596591293812, 0.0018989695236086845, -0.07678943872451782, -0.058773454278707504, 0.0637204647064209, 0.01078005600720644, 0.04374782741069794, 0.007697402965277433, -0.045224547386169434, 0.03058656118810177, -0.03446295112371445, 0.0005410794401541352, -0.013825790956616402, 0.0005500204861164093, 0.02041565254330635, -0.032340165227651596, 0.041754256933927536, -0.010807744227349758, 0.047919563949108124, 0.007268230896443129, -0.01927119493484497, 0.08926772326231003, 0.03294931352138519, -0.06497567892074585, -0.0028103827498853207, 0.10300121456384659, 0.03411222994327545, 0.002473505912348628, 0.09007991850376129, 0.01884663850069046, -0.021098636090755463, -0.04755038395524025, 0.06807678937911987, 0.040609799325466156, -0.023369092494249344, 0.011093858629465103, -0.07088255882263184, 0.004700122866779566, 0.023793650791049004, 0.002872681710869074, -0.015311740338802338, -0.054786309599876404, 0.021375522017478943, 0.013733495958149433, 0.06054551899433136, 0.03678878769278526, -0.00884647574275732, -0.003018046496436, 0.018237492069602013, -0.011075399816036224, -0.009580221027135849, -0.021504733711481094, 0.026894763112068176, 0.050356149673461914, 0.014877953566610813, -0.03394610062241554, 0.03957609459757805, -0.025750303640961647, 0.015514789149165154, -0.019363490864634514, -0.032506298273801804, 0.03739793226122856, 0.051759034395217896, 0.03230324760079384, -0.04581523686647415, -0.0250119436532259, 0.01700996793806553, -0.0026765549555420876, -0.018468229100108147, -0.05869961902499199, -0.022870700806379318, 0.022021586075425148, -0.026248697191476822, -0.034352198243141174, -0.06324053555727005, -0.033355411142110825, 0.054786309599876404, 0.03599504753947258, -0.03802553936839104, 0.011333825998008251, 0.003361845389008522, -0.02597181312739849, 0.005445404909551144, 0.031620267778635025, -0.057075224816799164, -0.07841382920742035, 0.08033356815576553, -0.003511824645102024, 0.03180485591292381, 0.020600242540240288, -0.035921212285757065, 0.05408486723899841, -0.030180463567376137, 0.06054551899433136, 0.05700138956308365, -0.026728631928563118, 0.00037350630736909807, 0.023498306050896645, -0.03483213111758232, -0.008352696895599365, -0.048473332077264786, 0.06257601082324982, -0.060360927134752274, 0.00403559859842062, 0.02870374359190464, -0.016391592100262642, -0.007582033984363079, -0.047181203961372375, 0.0002138648123946041, -0.02285224199295044, -0.014841035939753056, -0.004455540794879198, 0.0252703707665205, 0.039059244096279144, -0.036917999386787415, 0.020046472549438477, 0.02471660077571869, 0.027023974806070328, 0.034758295863866806, -0.043452486395835876, 0.06634164601564407, 0.0465535968542099, 0.03551511466503143, -0.07730629295110703, -0.019455784931778908, -0.030531184747815132, 0.027393154799938202, 0.00993094127625227, 0.0017582196742296219, 0.053641851991415024, 0.004617057275027037, 0.011952201835811138, 0.008394230157136917, -0.06567712128162384, 0.05943797901272774, 0.019880343228578568, -0.011693776585161686, 0.016603870317339897, 0.03381688520312309, -0.026820925995707512, -0.055930767208337784, 0.04544605687260628, 0.008412688970565796, -0.06685849279165268, 0.04537222161889076, -0.010660071857273579, 0.005330035928636789, -0.03086344711482525, 0.009598679840564728, -0.03283856064081192, 0.04186500981450081, 0.002240461064502597, -0.005251585505902767, -0.020304899662733078, -0.009534073062241077, -0.057628996670246124, 0.025344206020236015, -0.027042433619499207, -0.03957609459757805, 0.05943797901272774, -0.032783184200525284, 0.008763410151004791, -0.00532542122527957, 0.039649929851293564 ]
42,097
sparse_dot_topn.api
sp_matmul
Compute A * B whilst only storing the `top_n` elements. This functions allows large matrices to multiplied with a limited memory footprint. Args: A: LHS of the multiplication, the number of columns of A determines the orientation of B. `A` must be have an {32, 64}bit {int, float} dtype that is of the same kind as `B`. Note the matrix is converted (copied) to CSR format if a CSC or COO matrix. B: RHS of the multiplication, the number of rows of B must match the number of columns of A or the shape of B.T should be match A. `B` must be have an {32, 64}bit {int, float} dtype that is of the same kind as `A`. Note the matrix is converted (copied) to CSR format if a CSC or COO matrix. n_threads: number of threads to use, `None` implies sequential processing, -1 will use all but one of the available cores. idx_dtype: dtype to use for the indices, defaults to 32bit integers Throws: TypeError: when A, B are not trivially convertable to a `CSR matrix` Returns: C: result matrix
def sp_matmul( A: csr_matrix | csc_matrix | coo_matrix, B: csr_matrix | csc_matrix | coo_matrix, n_threads: int | None = None, idx_dtype: DTypeLike | None = None, ) -> csr_matrix: """Compute A * B whilst only storing the `top_n` elements. This functions allows large matrices to multiplied with a limited memory footprint. Args: A: LHS of the multiplication, the number of columns of A determines the orientation of B. `A` must be have an {32, 64}bit {int, float} dtype that is of the same kind as `B`. Note the matrix is converted (copied) to CSR format if a CSC or COO matrix. B: RHS of the multiplication, the number of rows of B must match the number of columns of A or the shape of B.T should be match A. `B` must be have an {32, 64}bit {int, float} dtype that is of the same kind as `A`. Note the matrix is converted (copied) to CSR format if a CSC or COO matrix. n_threads: number of threads to use, `None` implies sequential processing, -1 will use all but one of the available cores. idx_dtype: dtype to use for the indices, defaults to 32bit integers Throws: TypeError: when A, B are not trivially convertable to a `CSR matrix` Returns: C: result matrix """ idx_dtype = assert_idx_dtype(idx_dtype) n_threads: int = n_threads or 1 if n_threads < 0: n_threads = _N_CORES if isinstance(A, csc_matrix) and isinstance(B, csc_matrix) and A.shape[0] == B.shape[1]: A = A.transpose() B = B.transpose() elif isinstance(A, (coo_matrix, csc_matrix)): A = A.tocsr(False) elif not isinstance(A, csr_matrix): msg = f"type of `A` must be one of `csr_matrix`, `csc_matrix` or `csr_matrix`, got `{type(A)}`" raise TypeError(msg) if not isinstance(B, (csr_matrix, coo_matrix, csc_matrix)): msg = f"type of `B` must be one of `csr_matrix`, `csc_matrix` or `csr_matrix`, got `{type(B)}`" raise TypeError(msg) A_nrows, A_ncols = A.shape B_nrows, B_ncols = B.shape if A_ncols == B_nrows: if isinstance(B, (coo_matrix, csc_matrix)): B = B.tocsr(False) elif A_ncols == B_ncols: B = B.transpose() if isinstance(B, csc_matrix) else B.transpose().tocsr(False) B_nrows, B_ncols = B.shape else: msg = ( "Matrices `A` and `B` have incompatible shapes. `A.shape[1]` must be equal to `B.shape[0]` or `B.shape[1]`." ) raise ValueError(msg) assert_supported_dtype(A) assert_supported_dtype(B) ensure_compatible_dtype(A, B) # basic check. if A or B are all zeros matrix, return all zero matrix directly if A.indices.size == 0 or B.indices.size == 0: C_indptr = np.zeros(A_nrows + 1, dtype=idx_dtype) C_indices = np.zeros(1, dtype=idx_dtype) C_data = np.zeros(1, dtype=A.dtype) return csr_matrix((C_data, C_indices, C_indptr), shape=(A_nrows, B_ncols)) kwargs = { "nrows": A_nrows, "ncols": B_ncols, "A_data": A.data, "A_indptr": A.indptr if idx_dtype is None else A.indptr.astype(idx_dtype), "A_indices": A.indices if idx_dtype is None else A.indices.astype(idx_dtype), "B_data": B.data, "B_indptr": B.indptr if idx_dtype is None else B.indptr.astype(idx_dtype), "B_indices": B.indices if idx_dtype is None else B.indices.astype(idx_dtype), } func = _core.sp_matmul if n_threads > 1: if _core._has_openmp_support: kwargs["n_threads"] = n_threads func = _core.sp_matmul_mt else: msg = "sparse_dot_topn: extension was compiled without parallelisation (OpenMP) support, ignoring ``n_threads``" warnings.warn(msg, stacklevel=1) return csr_matrix(func(**kwargs), shape=(A_nrows, B_ncols))
(A: 'csr_matrix | csc_matrix | coo_matrix', B: 'csr_matrix | csc_matrix | coo_matrix', n_threads: 'int | None' = None, idx_dtype: 'DTypeLike | None' = None) -> 'csr_matrix'
[ -0.05701633542776108, -0.018824249505996704, 0.025709696114063263, 0.012895113788545132, -0.03664185479283333, -0.019408103078603745, -0.06144556775689125, -0.009683918207883835, 0.006205962039530277, -0.05902962386608124, -0.052506569772958755, -0.02246830053627491, 0.0257298294454813, 0.05278842896223068, -0.027722984552383423, 0.03378298506140709, 0.028810160234570503, -0.06829074770212173, 0.02146165631711483, -0.009170529432594776, -0.04167507588863373, -0.0462653748691082, 0.01324743963778019, 0.07747134566307068, -0.025588897988200188, 0.03170929476618767, 0.032232750207185745, 0.002495219698175788, 0.008541377261281013, 0.005385546945035458, 0.043889693915843964, 0.02236763760447502, -0.005476145073771477, -0.01286491472274065, 0.004650696646422148, 0.02750152349472046, 0.012603187002241611, -0.01790820248425007, -0.011667007580399513, -0.037668630480766296, 0.021441524848341942, -0.05850616842508316, 0.020565742626786232, -0.08081340789794922, 0.006623719818890095, -0.001292279688641429, -0.005020638462156057, 0.029736272990703583, -0.027098864316940308, 0.008913835510611534, 0.02959534339606762, -0.08874576538801193, -0.01857258751988411, 0.023676274344325066, -0.07284078001976013, -0.010730828158557415, 0.004524866119027138, -0.05061407759785652, -0.05093620344996452, -0.040688563138246536, -0.015180196613073349, -0.03813168779015541, -0.022266972810029984, 0.045057401061058044, -0.022669630125164986, -0.016498900949954987, -0.005778138525784016, -0.03529294952750206, 0.028709495440125465, 0.019549032673239708, -0.013670230284333229, 0.0005483065615408123, -0.003578620497137308, -0.005888869520276785, 0.025548633188009262, -0.002103886567056179, -0.027843782678246498, -0.037427034229040146, -0.046144574880599976, -0.011032821610569954, -0.004011477809399366, 0.003470406401902437, -0.045983511954545975, -0.07429035007953644, 0.0008550185011699796, 0.016911623999476433, 0.07372663170099258, 0.04465474188327789, -0.03402457758784294, -0.07074696570634842, -0.03418564051389694, 0.011667007580399513, 0.02530703879892826, -0.005873769521713257, 0.03346085548400879, 0.002639924641698599, 0.008722573518753052, 0.007876992225646973, -0.01374069508165121, -0.021179797127842903, 0.008143752813339233, 0.0072679719887673855, 0.007101875729858875, 0.004517316352576017, -0.009437290951609612, -0.008189051412045956, -0.02071673981845379, 0.06096237897872925, 0.029816804453730583, -0.0254882350564003, -0.028226306661963463, -0.0413932129740715, -0.016891492530703545, -0.03368232026696205, -0.016599565744400024, -0.013609831221401691, -0.04344676807522774, 0.06498895585536957, -0.018250461667776108, -0.013569565489888191, 0.022327370941638947, -0.03480976074934006, -0.018874581903219223, -0.06253274530172348, 0.0074491677805781364, -0.002200776245445013, 0.04803706705570221, 0.030239595100283623, 0.06108317896723747, -0.004507250152528286, -0.03579627349972725, -0.03442723676562309, 0.019387969747185707, 0.08226297050714493, -0.010801293887197971, 0.00033124888432212174, -0.017606209963560104, 0.013066243380308151, -0.0517817847430706, -0.008908802643418312, 0.036420390009880066, -0.0063166930340230465, 0.0010940965730696917, 0.017757205292582512, -0.000803428003564477, -0.01709282025694847, 0.06353939324617386, -0.0670425146818161, 0.020918069407343864, 0.012552854605019093, -0.0067646498791873455, -0.004303404595702887, 0.04105095565319061, -0.047070689499378204, -0.01404268853366375, 0.0037723996210843325, 0.0923696830868721, -0.02432052604854107, 0.01968996226787567, 0.008606809191405773, -0.020736873149871826, -0.027541788294911385, -0.03537348285317421, 0.018431657925248146, 0.01185827050358057, 0.016146574169397354, 0.030481189489364624, 0.01534125953912735, -0.0231326874345541, -0.015200329013168812, -0.002574492944404483, 0.007675663102418184, 0.0304409246891737, -0.04811760038137436, -0.018210195004940033, -0.05170125141739845, -0.03640025854110718, -0.04819812998175621, 0.04727201908826828, -0.03187035769224167, 0.010202339850366116, 0.02212604135274887, -0.01873365044593811, -0.013519233092665672, -0.030803317204117775, 0.09011480212211609, -0.007378702983260155, -0.0668814480304718, 0.04703042283654213, 0.01878398284316063, -0.008410513401031494, -0.028286704793572426, -0.039198730140924454, 0.04904371127486229, 0.0027380725368857384, 0.03849408030509949, -0.011757605709135532, 0.018169930204749107, 0.037749163806438446, 0.06458629667758942, -0.005692573729902506, 0.020525477826595306, 0.047231752425432205, 0.019408103078603745, 0.0777532085776329, -0.008455811999738216, -0.005420779809355736, 0.0024172046687453985, -0.08890682458877563, 0.0462653748691082, -0.049325570464134216, -0.04008457809686661, 0.029897335916757584, 0.03152810037136078, 0.07682709395885468, 0.03543388098478317, -0.015401658602058887, -0.012502522207796574, -0.02723979577422142, -0.05592915788292885, 0.10767067968845367, -0.015230529010295868, -0.0334407240152359, 0.036742519587278366, -0.0026852237060666084, -0.010670430026948452, 0.03803102299571037, 0.03489029407501221, 0.01709282025694847, 0.0007335920236073434, -0.019015511497855186, -0.02178378403186798, 0.013931957073509693, 0.026776738464832306, -0.04260118678212166, -0.09712104499340057, -0.02087780274450779, 0.044050756841897964, -0.009553054347634315, -0.029816804453730583, -0.04183613881468773, -0.0516207218170166, -0.022508567199110985, 0.010549632832407951, -0.026756606996059418, 0.014525877311825752, 0.030320126563310623, 0.02230723761022091, -0.015431857667863369, 0.009125230833888054, -0.007997789420187473, -0.015451990067958832, 0.02122006192803383, -0.004237972665578127, 0.01677069440484047, -0.027199529111385345, -0.031125443056225777, -0.015623119659721851, -0.03505135700106621, -0.04340650141239166, 0.002687740372493863, 0.026776738464832306, -0.019971823319792747, -0.002246075076982379, -0.014274216257035732, -0.0072126067243516445, 0.013569565489888191, 0.06309646368026733, -0.04227906093001366, 0.04223879426717758, 0.13529299199581146, 0.04292331263422966, -0.01370042935013771, 0.024260127916932106, 0.005778138525784016, -0.04175560548901558, -0.018713517114520073, 0.02530703879892826, -0.011224084533751011, -0.03259514272212982, -0.04928530752658844, -0.01319710724055767, -0.07747134566307068, 0.020595943555235863, -0.039017535746097565, -0.02891082502901554, -0.021844182163476944, -0.030803317204117775, 0.020565742626786232, -0.04006444290280342, 0.02389773540198803, -0.01857258751988411, 0.04872158542275429, -0.004343670327216387, -0.03748743608593941, -0.020837537944316864, -0.020837537944316864, 0.01479767169803381, -0.00011010172602254897, -0.019408103078603745, -0.04352730140089989, -0.011425413191318512, -0.0031029810197651386, 0.00015288410941138864, 0.04570165276527405, -0.01839139126241207, 0.01202940009534359, 0.03285687044262886, -0.00040989299304783344, 0.052264973521232605, -0.016247238963842392, 0.004456917755305767, -0.026092220097780228, 0.022488433867692947, -0.04084962606430054, 0.009105097502470016, -0.007293138187378645, 0.05902962386608124, 0.06804915517568588, 0.04469500854611397, 0.014948667958378792, -0.032051555812358856, 0.03402457758784294, 0.02373667247593403, -0.003847897984087467, -0.0665593221783638, 0.006809948943555355, -0.07042483985424042, -0.002765755169093609, 0.01968996226787567, 0.01759614236652851, 0.01680089347064495, 0.022750161588191986, 0.024662785232067108, -0.04827866330742836, 0.02546810172498226, -0.02480371668934822, -0.000013841359759680927, 0.007539765909314156, 0.0007279296987690032, 0.008989334106445312, 0.02498491294682026, -0.01508959848433733, -0.04469500854611397, -0.059392016381025314, -0.039178598672151566, 0.028347104787826538, 0.005043288227170706, -0.044211819767951965, -0.035071488469839096, -0.013629964552819729, 0.023495078086853027, 0.07316290587186813, 0.018461856991052628, -0.0031583465170115232, 0.07098855823278427, -0.030299995094537735, -0.029474545270204544, 0.0413932129740715, -0.021481789648532867, -0.027863914147019386, 0.035655342042446136, 0.010710695758461952, -0.043124642223119736, -0.0033521256409585476, -0.009301393292844296, -0.02951481193304062, -0.015643252059817314, 0.022025378420948982, -0.06313673406839371, 0.04292331263422966, -0.07863905280828476, 0.0279243141412735, 0.05315082147717476, -0.004132275003939867, 0.02488424815237522, -0.08673247694969177, 0.03519228473305702, -0.04401049017906189, 0.014656741172075272, -0.016196906566619873, -0.03497082367539406, 0.023857470601797104, 0.009160463698208332, -0.02438092604279518, 0.008883636444807053, 0.028729628771543503, 0.01740488037467003, -0.0028739694971591234, 0.03505135700106621, -0.039279259741306305, 0.021944846957921982, -0.01177773904055357, -0.01714315265417099, -0.034668829292058945, -0.025528499856591225, 0.04694988951086998, 0.026776738464832306, 0.030461058020591736, -0.06978058815002441, -0.03219248726963997, 0.008329981938004494, -0.030702652409672737, -0.01118381880223751, -0.0256492979824543, 0.012421990744769573, 0.009497689083218575, -0.05919068679213524, -0.014948667958378792, 0.06100264564156532, -0.04264145344495773, -0.0326354093849659, 0.04316490888595581, 0.0019818309228867292, -0.0360378660261631, 0.02389773540198803, -0.018008867278695107, 0.010066443122923374, 0.027803516015410423, -0.0006398482946678996, 0.01690155826508999, 0.008022955618798733, 0.05484198406338692, -0.028729628771543503, -0.03050132282078266, -0.05874776095151901, -0.0006467689527198672, -0.019971823319792747, -0.007962556555867195, -0.022568965330719948, -0.011586476117372513, -0.03714517503976822, -0.0005237696459516883, 0.050412748008966446, -0.03988324850797653, -0.008284682407975197, -0.015451990067958832, 0.029696008190512657, -0.018341058865189552, -0.0023341565392911434, 0.045379526913166046, -0.010167107917368412, -0.0046607633121311665, -0.03325952962040901, -0.03158849850296974, -0.020656341686844826, 0.010690562427043915, 0.029696008190512657, -0.07586071640253067, 0.040124841034412384, 0.0767868310213089, 0.01947856694459915, -0.027280060574412346, -0.0030576821882277727, -0.0022020344622433186, -0.027259929105639458, 0.039098065346479416, -0.05786191672086716, 0.02440105751156807, 0.03241394832730293, 0.016992155462503433, 0.016116375103592873, -0.0029318516608327627, 0.0004879079351667315, 0.03271593898534775, 0.038594745099544525, -0.009638619609177113, 0.022065643221139908, 0.007655530236661434, -0.030783183872699738, 0.010579831898212433, 0.009266161359846592, -0.05214417725801468, -0.01273405086249113, 0.00016295055684167892, 0.005345281213521957, -0.044050756841897964, 0.01193880196660757, -0.012512588873505592, -0.012411924079060555, -0.016327770426869392, -0.006382124964147806, 0.007922290824353695, 0.005747938994318247, 0.01971009559929371, -0.04227906093001366, 0.11427426338195801, 0.040688563138246536, 0.0281659085303545, -0.004957723431289196, 0.023092420771718025, 0.0035735873971134424, 0.05298975855112076, 0.03948058933019638, -0.006598553620278835, 0.019508767873048782, -0.012331392616033554, -0.001213006442412734, 0.030561720952391624, 0.014032621867954731, 0.011495877988636494, -0.027461256831884384, -0.026192884892225266, 0.011425413191318512, 0.04779547080397606, 0.004094525706022978, -0.037346504628658295, 0.003548421198502183, 0.013106509111821651, -0.07690762728452682, -0.05596942454576492, -0.009095031768083572, 0.007655530236661434, 0.01600564457476139, 0.006070065312087536, 0.08955107629299164, 0.018059199675917625, 0.003722067456692457, 0.03489029407501221, -0.03623919561505318, 0.051660988479852676, 0.033581655472517014, 0.0005970658967271447, 0.01320717390626669, 0.0023039572406560183, 0.03255487605929375, 0.005642241332679987, 0.022065643221139908, -0.017847804352641106, 0.04960743337869644, -0.11129459738731384, -0.03992351517081261, -0.04602377861738205, 0.008772904984652996, -0.004444334656000137, -0.027139130979776382, 0.016337838023900986, 0.0031256305519491434, 0.11838137358427048, -0.022609231993556023, -0.009678885340690613, 0.016599565744400024, 0.04892291501164436, 0.0051640854217112064, -0.03627946227788925, 0.03412524238228798, -0.056653942912817, 0.042198531329631805, -0.047996800392866135, 0.004824343137443066, -0.006462656427174807, 0.008038055151700974, 0.08971214294433594, -0.010252672247588634, 0.013378303498029709, -0.005420779809355736, -0.03452790156006813, -0.005501311272382736, -0.012180396355688572, 0.03764849901199341, 0.022850826382637024, 0.012552854605019093, 0.0673646405339241, -0.019569166004657745, 0.009980878792703152, -0.03400444611907005, 0.007101875729858875, -0.04936583712697029, 0.037427034229040146, -0.003654118860140443, -0.01332797110080719, -0.06051945686340332, -0.009417157620191574, 0.003880613949149847, -0.024179596453905106, 0.01416348572820425, -0.01631770469248295, -0.023334015160799026, 0.004877191968262196, -0.022085776552557945, 0.04328570514917374, 0.009633585810661316, 0.03966178745031357, -0.015723783522844315, 0.0651097521185875, -0.038111552596092224, -0.09551041573286057, -0.041795872151851654, 0.027642453089356422, -0.04771494120359421, -0.012754183262586594, 0.025830494239926338, 0.030863715335726738, -0.052023377269506454, 0.04566138610243797, 0.0073233372531831264, -0.023615876212716103, 0.028810160234570503, 0.017123019322752953, -0.028024977073073387, -0.026877403259277344, -0.0026197917759418488, 0.014435279183089733, -0.007791426964104176, 0.005682507064193487, 0.008304815739393234, -0.07763241231441498, -0.013317904435098171, 0.061566367745399475, -0.02607208862900734, 0.05290922522544861, 0.012975645251572132, -0.012643452733755112, 0.019337637349963188, -0.032152220606803894, -0.02371654100716114, -0.0283269714564085, 0.006588486954569817, 0.025528499856591225, -0.0283269714564085, 0.03748743608593941, 0.0033470923081040382, -0.02379707247018814, -0.01295551285147667, -0.029313482344150543, 0.11733446270227432, 0.02967587485909462, -0.06084158271551132, -0.001507449895143509, 0.1125025674700737, 0.007091809064149857, 0.023917868733406067, 0.08479971438646317, 0.05379507318139076, 0.04292331263422966, -0.06631772965192795, 0.05270789563655853, 0.04449367895722389, 0.03410511091351509, 0.07412929087877274, -0.019669830799102783, -0.0067092846147716045, 0.05496278032660484, -0.01202940009534359, -0.006437490228563547, -0.052667632699012756, 0.04852025583386421, -0.04024564102292061, 0.062331415712833405, 0.08471918851137161, -0.023595742881298065, -0.012522655539214611, -0.014616475440561771, -0.04876185208559036, 0.027179397642612457, -0.014314481988549232, -0.030662385746836662, 0.01370042935013771, 0.003087881486862898, -0.0011695948196575046, 0.05254683271050453, -0.04030603915452957, -0.0060096667148172855, -0.01740488037467003, -0.055043309926986694, 0.0031734462827444077, 0.01968996226787567, 0.04316490888595581, 0.01693175733089447, 0.03185022622346878, -0.01952889934182167, 0.016941823065280914, -0.026031821966171265, -0.017213618382811546, -0.01424401719123125, 0.010529499500989914, 0.02766258642077446, -0.05472118407487869, -0.07195493578910828, -0.020434880629181862, 0.06494869291782379, 0.045822449028491974, -0.012673651799559593, 0.06007653474807739, -0.008944034576416016, -0.03841354697942734, -0.005078520625829697, 0.006085164844989777, -0.01793840155005455, -0.05383533984422684, 0.07376689463853836, -0.009995978325605392, 0.052184440195560455, -0.01185827050358057, -0.04751361161470413, 0.04566138610243797, 0.010569765232503414, 0.03585667163133621, 0.03760823234915733, 0.003045099088922143, -0.020122820511460304, 0.03225288540124893, -0.017414946109056473, -0.005430846009403467, -0.0256492979824543, 0.05371453985571861, -0.09422191232442856, 0.04248039051890373, 0.04533926025032997, -0.00011301155609544367, -0.0024700534995645285, -0.05476145073771477, 0.042359594255685806, 0.021662985906004906, 0.013307837769389153, -0.05725792795419693, 0.011677074246108532, 0.027863914147019386, 0.005516410805284977, 0.06023759767413139, -0.01495873462408781, 0.008088387548923492, 0.03654118999838829, -0.03654118999838829, 0.010499300435185432, 0.01462654210627079, 0.024119198322296143, -0.062331415712833405, 0.04080935940146446, 0.0028513199649751186, 0.06696198135614395, 0.017445147037506104, 0.017525678500533104, 0.051177795976400375, 0.006981078535318375, -0.01538152527064085, -0.011042888276278973, -0.08375281095504761, 0.04872158542275429, 0.023595742881298065, 0.005440912675112486, 0.01894504576921463, 0.010569765232503414, -0.016760628670454025, -0.05995573475956917, 0.07763241231441498, -0.021904580295085907, -0.03452790156006813, -0.007127041928470135, 0.001257676281966269, 0.005521444138139486, -0.03623919561505318, -0.04425208270549774, -0.017284082248806953, 0.052868958562612534, -0.0003941641771234572, 0.019639629870653152, -0.05460038781166077, -0.039017535746097565, -0.0612039752304554, 0.04779547080397606, -0.02546810172498226, -0.06438497453927994, 0.08423599600791931, -0.062170352786779404, 0.015884848311543465, 0.02750152349472046, 0.06398231536149979 ]