text stringlengths 25 2.19k | embedding listlengths 768 768 |
|---|---|
def test _ feature _ request _ priority _ range ( self ) : # bill lumbergh attempts to create some frs. common _ values = {'user _ id': 4,'client _ id': 3,'target _ date': self. base _ date } negative _ priority = featurerequest ( title = " allow a user to enter'notes'when transferring funds. ", priority = random. rand... | [
-0.6971641778945923,
0.4917364716529846,
0.8093460202217102,
0.7446914911270142,
1.0252443552017212,
0.002043552929535508,
-0.47782713174819946,
-0.4001356065273285,
0.009346618317067623,
-0.573284924030304,
-0.08149272203445435,
-0.6922854781150818,
-0.6182877421379089,
0.2759884595870971... |
def write _ len ( self ) - > int : pass | [
-0.3857475519180298,
0.028165260329842567,
0.44100141525268555,
-0.059070292860269547,
1.1864827871322632,
0.09913415461778641,
1.3323193788528442,
0.8776572346687317,
-0.4362808167934418,
-0.16585397720336914,
-1.071323275566101,
-0.5782105922698975,
-0.12592677772045135,
0.13099397718906... |
def get _ enum _ by _ name ( name : str, enum _ type : any, default _ value : any = none ) - > any : try : if hasattr ( enum _ type, name ) : return getattr ( enum _ type, name ) if name in enum _ type : return enum _ type [ name ] if hasattr ( enum _ type,'name _ to _ value') and name in enum _ type. name _ to _ value... | [
-0.371908962726593,
-0.3751766085624695,
0.44068774580955505,
0.2392955869436264,
0.6145316958427429,
-0.772030770778656,
-0.209956094622612,
-0.7128010988235474,
-0.1106644719839096,
0.8809731006622314,
0.18923798203468323,
0.16140064597129822,
-0.3695778548717499,
0.6170275807380676,
0... |
def _ print _ search ( self, topic, element ) : if self. opts ['json'] : print ( json. dumps ( element ) ) return description = element ['description'] data = element ['data'] message = f " [ { topic } ] { description } " if self. colored : message = message ( ). custom ( f " [ { topic } ] ", description, message ( ). ... | [
-0.2707771062850952,
0.08278562873601913,
0.6098524332046509,
-0.397455632686615,
-0.03238911181688309,
-0.020885063335299492,
-0.5717678666114807,
-0.8291966915130615,
-0.24141456186771393,
-0.10765572637319565,
0.6474584341049194,
1.5166205167770386,
-0.6469404101371765,
0.86563295125961... |
def paths _ in _ large _ branch ( self, branch ) : return self. get _ intersections ( branch, branch ) | [
-0.4157174825668335,
0.7416137456893921,
0.7957136631011963,
1.1967045068740845,
0.1678394079208374,
0.021324802190065384,
0.24409668147563934,
0.31974565982818604,
0.24418362975120544,
-0.029243990778923035,
-0.7355411648750305,
-1.0725756883621216,
-0.6734398007392883,
0.8634030222892761... |
def isort ( self, * args ) : return _ snap. tintintvv _ isort ( self, * args ) | [
-1.3978760242462158,
-0.6666475534439087,
0.4079206585884094,
0.04408278316259384,
0.11253385245800018,
0.10168655961751938,
-0.17210128903388977,
-0.6708711385726929,
0.22441186010837555,
0.10531892627477646,
0.24123530089855194,
0.8549487590789795,
-2.095670223236084,
0.10910108685493469... |
def _ _ init _ _ ( self, * args ) : _ snap. tstrprinthi _ swiginit ( self, _ snap. new _ tstrprinthi ( * args ) ) | [
0.5764687657356262,
-0.17015492916107178,
0.34701573848724365,
0.2568514347076416,
0.5134797692298889,
-0.17016206681728363,
0.2981869876384735,
0.8590694665908813,
-1.1500897407531738,
-0.015040137805044651,
-0.8261477947235107,
-0.030178843066096306,
-0.16544875502586365,
0.3559610247611... |
def ifelse ( condition : task, true _ task : task, false _ task : task, mapped : bool = false ) - > none : @ prefect. task def as _ bool ( x ) : return bool ( x ) cases = { c : t for c, t in [ ( true, true _ task ), ( false, false _ task ) ] if t is not none } if cases : bool _ condition = as _ bool ( condition, mapped... | [
0.0359879694879055,
0.46861374378204346,
0.7524881362915039,
0.48410317301750183,
0.3057295083999634,
-0.023128146305680275,
0.16566279530525208,
0.6654397249221802,
-0.8921940326690674,
0.8121837377548218,
-0.29342663288116455,
0.06539056450128555,
0.7322027087211609,
-0.14380913972854614... |
def priorityfirst ( htmlsoup ) : search _ word = keywordlist [ 0 ]. rstrip ( ) keys = htmlsoup. body. find _ all ( strings = re. compile ( '. * { 0 } * '. format ( search _ word ) ), recursive = true ) return keys | [
-0.15725907683372498,
0.6408937573432922,
0.7455905079841614,
0.7818876504898071,
-0.3208959698677063,
-0.8095656037330627,
-0.7371869683265686,
0.21344634890556335,
0.4108818769454956,
0.6834926605224609,
-0.30172282457351685,
-0.05645230785012245,
-0.6941834688186646,
1.3622188568115234,... |
def savefrugalintv ( * args ) : return _ snap. tint _ savefrugalintv ( * args ) | [
-0.8218905329704285,
0.24659456312656403,
0.4242923855781555,
0.4417308568954468,
0.621630847454071,
-0.5802422761917114,
0.5461690425872803,
-0.018060822039842606,
-0.8471723198890686,
-0.6824454665184021,
-0.9627128839492798,
-0.08587063103914261,
-1.624571681022644,
1.191409945487976,
... |
def getstr ( * args ) : return _ snap. tuint64 _ getstr ( * args ) | [
-1.0059586763381958,
0.7899518013000488,
-0.3968937397003174,
1.5368319749832153,
0.7361647486686707,
0.09188435226678848,
0.005795856472104788,
-0.3294573724269867,
-0.8078024983406067,
-0.8651625514030457,
0.35008764266967773,
-1.396588921546936,
-0.27618250250816345,
-0.2549871206283569... |
def _ _ init _ _ ( self, predictive _ distribution, observations, seed = none, num _ samples = 100, transform _ fn = none ) : self. _ num _ samples = num _ samples self. _ transform _ fn = transform _ fn super ( parallelprobabilityofimprovement, self ). _ _ init _ _ ( predictive _ distribution = predictive _ distributi... | [
0.8685400485992432,
0.7883659601211548,
0.6189191937446594,
0.8126985430717468,
0.1721646934747696,
-0.24851278960704803,
0.7002163529396057,
1.8208253383636475,
0.35124966502189636,
-0.2668550908565521,
-0.3884722888469696,
-0.2430497407913208,
0.1976686716079712,
-0.2689139246940613,
0... |
def result ( self ) - > bool : if self. exception : return false return true | [
-0.27012374997138977,
0.9910445213317871,
0.6137410998344421,
0.6535528302192688,
0.17991597950458527,
0.23703284561634064,
-0.288864403963089,
0.7403791546821594,
0.26313504576683044,
-0.734563410282135,
0.05222069099545479,
-0.8704838156700134,
-1.7220535278320312,
-1.2246013879776,
-1... |
def _ check _ zero _ feature _ means ( data ) : nonzero _ column _ means = np. any ( np. abs ( data. mean ( axis = 0 ) ) > 1e - 3 ) if nonzero _ column _ means : warnings. warn ('input data has features with non - zero means'' ( got max ( abs ( data. mean ( axis = 0 ) ) ) = %. 2f )'% np. max ( np. abs ( data. mean ( ax... | [
0.07286277413368225,
0.05841580033302307,
0.533668041229248,
0.6129374504089355,
0.14097709953784943,
-0.22396673262119293,
-0.1609102487564087,
-0.21422238647937775,
-0.13894149661064148,
-0.08237795531749725,
0.8510856628417969,
0.6212175488471985,
0.8163806200027466,
0.6827324032783508,... |
def road _ lines ( image ) : # get image ready for feeding into model small _ img = imresize ( image, ( 80, 160, 3 ) ) small _ img = np. array ( small _ img ) small _ img = small _ img [ none, :, :, : ] # make prediction with neural network ( un - normalize value by multiplying by 255 ) prediction = model1. predict ( s... | [
-0.2544322907924652,
0.007328869309276342,
0.9383195638656616,
-0.37700986862182617,
0.27104678750038147,
0.5732261538505554,
0.22462472319602966,
-0.526261031627655,
-0.09056169539690018,
0.6528275609016418,
-0.008190768770873547,
0.0877673327922821,
0.07391630858182907,
0.500881671905517... |
def inserthead ( self, newnode ) : temp = self. head self. head = newnode self. head. next = temp del temp | [
-0.4587898254394531,
0.44641244411468506,
0.3781617283821106,
-0.2421138733625412,
0.11031892150640488,
0.5227673649787903,
0.008060816675424576,
0.5043985843658447,
0.2133784145116806,
0.7166085243225098,
-0.7380335927009583,
0.6323300004005432,
-1.7495037317276,
0.4540129005908966,
-0.... |
def play ( self ) : self. _ mov _ magnitude. play ( ) self. _ mov _ activity. play ( ) self. _ mov _ roughness. play ( ) self. _ trig _ analyse. play ( ) return self | [
0.08908873051404953,
0.06977513432502747,
0.4325850307941437,
0.7221351861953735,
1.1478134393692017,
0.35431092977523804,
0.5997167229652405,
-0.6461981534957886,
0.29952940344810486,
-0.5128732323646545,
0.5045555830001831,
0.4049513638019562,
0.2453453242778778,
0.19088338315486908,
-... |
def build _ depth _ estimate ( n, m, grid _ shape ) : # for every ray the per voxel depth probability s = k. placeholder ( shape = ( n, m ), dtype = " float32 ", name = " s " ) # the voxels that each ray intersects with ( in order ) ray _ voxel _ indices = k. placeholder ( shape = ( n, m, 3 ), dtype = " int32 ", name =... | [
0.7309207320213318,
-0.08096092194318771,
0.7484555244445801,
-0.12471596151590347,
0.014072028920054436,
-0.6811903715133667,
0.13263198733329773,
0.5599400401115417,
-0.8528419733047485,
0.7306500673294067,
0.2999068796634674,
0.3274087607860565,
0.5335366725921631,
-0.05258215591311455,... |
def loadfrugalintv ( * args ) : return _ snap. tint _ loadfrugalintv ( * args ) | [
-0.4355955421924591,
0.5436597466468811,
0.5237659811973572,
0.42340946197509766,
0.035097673535346985,
-0.6761898398399353,
0.3430624306201935,
0.052823059260845184,
-0.7984537482261658,
-0.8815601468086243,
0.009828843176364899,
0.2637603282928467,
-1.4253348112106323,
0.9500503540039062... |
def _ initial _ notification ( self, observer ) : kwargs = self. notified _ kwargs logging. debug ( u'initial notify kwargs : \ n'u'{ kwargs } '. format ( kwargs = pformat ( kwargs ) ) ) kwargs [ u'observer'] = observer # self. queue. put ( kwargs ) # disabled until uiutil is thread safe self. _ perform _ notification ... | [
0.3144698143005371,
0.48844802379608154,
0.4636805057525635,
-0.18248538672924042,
0.20272858440876007,
-0.465025395154953,
-0.19263455271720886,
0.8693909049034119,
-0.11820357292890549,
-0.4532739520072937,
-1.051389217376709,
-0.06738623976707458,
0.2653285264968872,
1.0938600301742554,... |
def splitonlastch ( self, * args ) : return _ snap. tstr _ splitonlastch ( self, * args ) | [
-0.726638674736023,
0.47378918528556824,
0.6332234144210815,
-0.5294163823127747,
0.14755484461784363,
-0.008241940289735794,
0.6415002942085266,
-0.030213110148906708,
-0.4131743907928467,
0.22448962926864624,
-0.6774827241897583,
-0.5834423899650574,
-0.34031328558921814,
0.4413338601589... |
def test _ list _ insert _ meta _ type _ integer ( self ) : key = ('test ','demo ', 1 ) try : testlistinsert. client. list _ insert ( key, " contact _ no ", 1, 85, 888 ) except e. paramerror as exception : assert exception. code = = - 2 assert exception. msg = = " metadata should be of type dictionary " | [
-0.9965753555297852,
1.0495668649673462,
0.621884286403656,
0.13161389529705048,
0.6589784026145935,
0.02337588556110859,
-0.5171574950218201,
0.08629366010427475,
-0.003696167841553688,
1.3932288885116577,
-0.8379782438278198,
0.024249499663710594,
-0.8079773783683777,
0.7123286128044128,... |
def configure _ script _ name ( app ) : if con. script _ name in app. config : # from flask / testsuite / basic. py class prefixpathmiddleware ( object ) : def _ _ init _ _ ( self, app, prefix ) : self. app = app self. prefix = prefix def _ _ call _ _ ( self, environ, start _ response ) : environ ['script _ name'] = se... | [
0.36727046966552734,
-0.9255632758140564,
0.6603682041168213,
0.5359310507774353,
-0.5989243984222412,
-0.2312583178281784,
0.2149052768945694,
-0.3400120735168457,
1.3037434816360474,
1.0122590065002441,
-0.08159705251455307,
0.5365893244743347,
0.42475366592407227,
1.087497591972351,
0... |
def test _ list _ integer _ enumeration _ 1 _ nistxml _ sv _ iv _ list _ integer _ enumeration _ 2 _ 4 ( mode, save _ output, output _ format ) : assert _ bindings ( schema = " nistdata / list / integer / schema + instance / nistschema - sv - iv - list - integer - enumeration - 2. xsd ", instance = " nistdata / list / ... | [
-0.9842724204063416,
-1.0779025554656982,
0.46176931262016296,
0.7698615789413452,
-0.3241240084171295,
-0.32651838660240173,
-0.1136493980884552,
0.11267358809709549,
0.437985360622406,
0.3179808259010315,
-0.9209485054016113,
-0.23622946441173553,
-0.39398959279060364,
1.0695927143096924... |
def tstrutil _ getdomnm2 ( * args ) : return _ snap. tstrutil _ getdomnm2 ( * args ) | [
-0.6273375749588013,
-0.08995988219976425,
-0.0745125487446785,
-0.4607919156551361,
-0.13873635232448578,
-0.5971147418022156,
-0.5320451259613037,
-0.7582122087478638,
-1.3892340660095215,
-0.5366821885108948,
-0.94208824634552,
0.6074443459510803,
0.6157557368278503,
0.603369414806366,
... |
def autopick ( imagefile, color, expectednumber ) : os. system ('java - jar / home / av / callblobfinder. jar'+ imagefile +'' + color +'/ tmp / picklist. txt') # read the position list created above. picklist = readpositionlist ('/ tmp / picklist. txt') if len ( picklist ) = = expectednumber : return picklist # # other... | [
-0.46950340270996094,
-0.5109772086143494,
0.46330296993255615,
-0.05413852632045746,
0.20808424055576324,
0.0601351223886013,
1.3109471797943115,
-0.27439701557159424,
0.02677866630256176,
0.14388322830200195,
-0.39910557866096497,
-0.42070600390434265,
-0.43194350600242615,
0.32298138737... |
def percent _ point ( self, u ) : self. check _ fit ( ) if np. any ( u > 1. 0 ) or np. any ( u < 0. 0 ) : raise valueerror ( " expected values in range [ 0. 0, 1. 0 ]. " ) is _ one = u > = 1. 0 - epsilon is _ zero = u < = epsilon is _ valid = not ( is _ zero or is _ one ) x = np. zeros ( u. shape ) x [ is _ one ] = flo... | [
-0.021927138790488243,
0.052850209176540375,
0.5875528454780579,
0.6173368096351624,
0.013578658923506737,
0.8102236390113831,
0.3571182191371918,
-0.25948774814605713,
0.38887545466423035,
-0.2648778557777405,
0.7056878805160522,
0.5607928037643433,
-1.2005677223205566,
-0.263173520565032... |
def pmultiply ( self, * args ) : return _ snap. tungraphmtx _ pmultiply ( self, * args ) | [
-1.2141375541687012,
0.9292388558387756,
0.31127047538757324,
0.5842576026916504,
-0.0891738086938858,
0.37910333275794983,
-0.8798797130584717,
0.0712408572435379,
-0.6926683187484741,
-0.25072699785232544,
-0.4652518630027771,
-1.0899471044540405,
-1.403300404548645,
0.3286239206790924,
... |
def report ( self, activity ) : print ( " { : 30 } | { }. \ n - - - ". format ( " bank " + self. name, activity ) ) | [
0.6892818808555603,
-0.20065833628177643,
0.55586177110672,
-0.6947030425071716,
0.896959662437439,
0.6753791570663452,
0.6660818457603455,
-0.650722324848175,
0.244037926197052,
-0.17588382959365845,
0.17608055472373962,
1.0167872905731201,
-0.49347123503685,
0.26726365089416504,
-0.063... |
def _ _ eq _ _ ( self, * args ) : return _ snap. tsflt _ _ _ eq _ _ ( self, * args ) | [
-0.4098242521286011,
0.03793511539697647,
0.289805144071579,
-0.7359675168991089,
0.3681652545928955,
0.42099422216415405,
0.704790472984314,
0.20784640312194824,
-0.8887957334518433,
0.0089372294023633,
-1.7645244598388672,
-1.1675209999084473,
0.5548233985900879,
0.9453187584877014,
0.... |
def getdat ( self, * args ) : return _ snap. tstrvintvhi _ getdat ( self, * args ) | [
0.9163053035736084,
-0.022186260670423508,
0.422294020652771,
-0.2067377269268036,
1.5566167831420898,
0.4414891004562378,
0.47565633058547974,
-0.49118736386299133,
-0.9804344177246094,
0.07274413108825684,
0.1089516431093216,
0.07822967320680618,
-0.5288487672805786,
-0.1242380440235138,... |
def validate ( self ) : # check dimensions xpix, ypix = self. size _ in _ pixels if xpix % 2 or ypix % 2 : print ( " pixel size should be even! " ) return false # remove sources at walls envmat = self. envmat def wall _ at _ source ( src ) : return envmat [ src. ypix, src. xpix ] > 0 nsources = len ( self. sources ) se... | [
0.45298027992248535,
0.3792725205421448,
0.7633404731750488,
-0.7033345103263855,
0.08875022828578949,
-0.01776641048491001,
0.9372009038925171,
-0.5046846270561218,
-0.12501603364944458,
0.0031784819439053535,
0.3421112298965454,
-0.5824991464614868,
-0.8263834118843079,
0.894283413887023... |
def remove _ edge ( self, src : int, dst : int ) - > none : if src > = len ( self. adj _ matrix ) or src < 0 : return elif dst > = len ( self. adj _ matrix [ src ] ) or dst < 0 : return elif self. adj _ matrix [ src ] [ dst ] = = 0 : return else : self. adj _ matrix [ src ] [ dst ] = 0 return | [
-0.6036354899406433,
0.5393667817115784,
0.612173855304718,
-0.6285897493362427,
-0.5004119277000427,
0.5637035965919495,
0.04737105593085289,
0.8372822403907776,
-0.1570158749818802,
0.8853921294212341,
0.5478821396827698,
0.3073301911354065,
-0.6604541540145874,
-0.009091674350202084,
... |
def searchforw ( self, * args ) : return _ snap. tinttrv _ searchforw ( self, * args ) | [
-1.358451247215271,
0.41706976294517517,
0.36975181102752686,
-0.13927792012691498,
0.24927270412445068,
-0.3637705445289612,
1.0140663385391235,
-1.0248509645462036,
-1.3370648622512817,
-1.0247389078140259,
0.3063441216945648,
-0.17454740405082703,
-0.5240190625190735,
1.1053073406219482... |
def do _ serve ( dir, port ) : # convert dir and port to appropriate values. dir = convert _ dir ( dir ) port = convert _ port ( port ) app = flask ( _ _ name _ _ ) @ app. route ('/') def hello _ world ( ) : return'hello, world!'@ app. before _ request def before _ request ( ) : app. add _ files ( dir, prefix ='/') @ a... | [
-0.5504335761070251,
-0.04211400821805,
0.6658963561058044,
0.0792926773428917,
0.5847252011299133,
-0.4484808146953583,
0.11083530634641647,
-0.47115087509155273,
-0.2976813018321991,
0.3176707327365875,
-0.20978713035583496,
1.0662304162979126,
0.040803831070661545,
-0.2008899301290512,
... |
def collatz ( number ) : if number > 1 : steps = 0 while number! = 1 : if number % 2 = = 0 : print ('number is even and will be divided by 2 without a decimal :'+ str ( number / / 2 ) ) number = number / / 2 steps + = 1 else : print ('number is odd and will be multiplied by 3 and 1 added to it :'+ str ( 3 * number + 1 ... | [
-0.0714632049202919,
0.41313669085502625,
0.6802406311035156,
0.7171751856803894,
0.015276003628969193,
0.8469829559326172,
1.2717840671539307,
-0.17266832292079926,
0.3684777319431305,
-0.415798544883728,
-0.4562746584415436,
-0.16604214906692505,
-0.21865205466747284,
1.4044877290725708,... |
def dependency _ graph ( tagging, indexing ) : result = [ ] for i in range ( len ( tagging ) ) : result. append ('% d \ t % s \ t _ \ t _ \ t _ \ t _ \ t % d \ t % s \ t _ \ t _'% ( i + 1, tagging [ i ] [ 0 ], int ( indexing [ i ] [ 1 ] ), tagging [ i ] [ 1 ] ) ) return dependencygraph ('\ n '. join ( result ), top _ r... | [
-0.37122267484664917,
-0.02497106045484543,
0.5280272364616394,
-0.9454611539840698,
-0.7907170057296753,
-0.5865091681480408,
0.018490176647901535,
-0.16440755128860474,
-0.4807659387588501,
0.2819877862930298,
-0.16136519610881805,
-0.628872275352478,
0.33647412061691284,
-0.458626091480... |
def overlay _ preds _ targets ( predictions, targets, masks = none ) : # select correct overlay function in order to work with image, and stack if predictions. ndim = = 3 : overlay _ fn = overlay _ mask _ stack else : overlay _ fn = overlay _ mask # add predicted annotations as green correct = overlay _ fn ( prediction... | [
-0.3302045464515686,
-0.18831540644168854,
0.9683917164802551,
0.6623349785804749,
-0.1073048859834671,
0.7016832828521729,
-0.05253755673766136,
0.010633505880832672,
-0.0847785621881485,
0.4522888660430908,
1.2979512214660645,
0.3443901240825653,
0.7306261658668518,
-0.1117900013923645,
... |
def isin ( self, * args ) : return _ snap. tfltv _ isin ( self, * args ) | [
-0.5709272027015686,
0.1145801767706871,
0.5245380997657776,
0.16919134557247162,
-0.1405465453863144,
-0.2586906850337982,
0.5335757732391357,
1.2914597988128662,
-1.312913179397583,
-1.0079647302627563,
-0.6516605019569397,
0.2623652517795563,
-0.7307144999504089,
0.7754126787185669,
-... |
def tokenize _ text ( self, text ) : stop _ words = set ( stopwords. words ('english') + list ( punctuation ) ) words = word _ tokenize ( text. lower ( ) ) return [ sent _ tokenize ( text ), [ word for word in words if word not in stop _ words ] ] | [
-0.8155839443206787,
-0.9861111044883728,
0.353155255317688,
-0.1856100708246231,
-0.01956915110349655,
-0.4672028720378876,
-0.40182092785835266,
1.1003119945526123,
-0.010760830715298653,
0.9103149771690369,
-0.8898599147796631,
-0.30533546209335327,
-0.5008183121681213,
0.94724178314208... |
def read _ template _ from _ excel ( config _ path ) : if not os. path. exists ( config _ path ) : raise exception ( " path : % s does not exist! ", config _ path ) logger = get _ logger ( ) objects = [ ] logger. info ( " read configuration from % s ", config _ path ) wb = open _ workbook ( config _ path ) # by default... | [
-0.5282728672027588,
-0.07094836235046387,
0.541708767414093,
0.49682459235191345,
-0.25063714385032654,
-0.25123944878578186,
-0.007527471054345369,
0.29404160380363464,
-0.6870335936546326,
0.47688028216362,
-0.37720149755477905,
-0.22332000732421875,
-0.5917453765869141,
-0.292001068592... |
def validatethingtypeconfiguration ( self, thingtypeid ) : req = apiclient. draftthingtypeurl % ( self. host, thingtypeid ) body = { " operation " : " validate - configuration " } resp = requests. patch ( req, auth = self. credentials, headers = { " content - type " : " application / json " }, data = json. dumps ( body... | [
-2.2931084632873535,
-0.3274569809436798,
0.5087233185768127,
-0.698850154876709,
-0.5361226797103882,
0.1491234302520752,
-0.5260423421859741,
-1.0961641073226929,
-0.6113268136978149,
1.0167834758758545,
-0.957118034362793,
0.6326501965522766,
-1.0388869047164917,
0.8099920749664307,
-... |
def test _ propensity _ migration _ carn ( self ) : assert self. m. propensity _ migration _ carn = = 0 | [
0.016794638708233833,
-0.6950569152832031,
0.40279990434646606,
1.5459345579147339,
1.1067777872085571,
0.9031631946563721,
-0.3803914189338684,
0.6155254244804382,
-0.19149909913539886,
-0.8251685500144958,
-0.006204293575137854,
0.20142684876918793,
-0.0032103753183037043,
-0.19601142406... |
def genext ( self, * args ) : return _ snap. tcncomv _ genext ( self, * args ) | [
-0.6685957908630371,
1.3107463121414185,
0.25277936458587646,
-0.48229238390922546,
0.5772175192832947,
0.13812552392482758,
-0.4635133743286133,
0.44735342264175415,
-0.6057775020599365,
-0.3631473481655121,
-0.3398955166339874,
-0.2575836777687073,
-0.3109946548938751,
1.3279961347579956... |
def makedirs ( self, dir ) : try : os. makedirs ( dir, exist _ ok = true ) except exception as e : raise ioerror ( " could not create directory : { } \ n { } ". format ( dir, e ) ) | [
-0.43726229667663574,
0.8382373452186584,
0.512610137462616,
-0.06616954505443573,
0.44225993752479553,
1.3982701301574707,
0.8371531963348389,
-0.3062039017677307,
-0.10539690405130386,
-0.6538366079330444,
0.25573670864105225,
0.13146688044071198,
0.269024521112442,
0.3321680426597595,
... |
def array ( self ) : return self. _ array | [
-0.44313451647758484,
-1.4666062593460083,
0.2314031720161438,
-0.13041073083877563,
0.6874094605445862,
0.969360888004303,
0.7337684035301208,
-0.4742901623249054,
0.45396679639816284,
-1.1176851987838745,
0.2960567772388458,
1.530524492263794,
-0.3154277205467224,
0.137908935546875,
1.... |
def header _ max _ count ( self, name ) : return none | [
-0.15007828176021576,
-0.8136366009712219,
0.4915962219238281,
0.3420044779777527,
-0.3585084080696106,
-0.29675623774528503,
-1.0817373991012573,
-0.46150603890419006,
-0.360822468996048,
-0.11790068447589874,
-0.6457720994949341,
-0.4041750729084015,
-0.2976394295692444,
-0.6017037034034... |
def _ _ getitem _ _ ( self, key ) : if not isinstance ( key, int ) : raise typeerror if key < 0 or key > = len ( self. data ) : raise indexerror # batch 中 20 example, 一 元 一 example batch = self. data [ key ] batch _ size = len ( batch ) batch = list ( zip ( * batch ) ) # 元 中 有 10 元 , 比 一 元 , 20 的 tokenid 合 , 二 元 posid ... | [
-0.03125469759106636,
-0.17429058253765106,
0.7817020416259766,
-1.004825234413147,
0.42926689982414246,
-0.2821337878704071,
0.3852798342704773,
-0.17745016515254974,
-0.5598025918006897,
0.4396820664405823,
-0.905601978302002,
0.24863246083259583,
0.0830039530992508,
-0.2191362828016281,... |
def netinfo _ lookup ( self, ipaddress ) : endpoint = " { } / { } ". format ( self. ep _ netinfo _ lookup, ipaddress ) return self. _ make _ request ( endpoint = endpoint ) | [
-1.1067599058151245,
0.49263742566108704,
0.7030376195907593,
-0.6904303431510925,
0.18048714101314545,
0.030753690749406815,
-0.5442596673965454,
-0.47169187664985657,
0.3362959921360016,
-0.2288135290145874,
-0.1951177567243576,
-0.15130671858787537,
0.04701947420835495,
-0.5348018407821... |
def getnaintvi ( self, * args ) : return _ snap. tneanet _ getnaintvi ( self, * args ) | [
-0.4255065619945526,
-0.2879110276699066,
0.04695865139365196,
0.07092541456222534,
0.6276689767837524,
-0.17637944221496582,
0.31479257345199585,
-1.1750446557998657,
-0.8984267711639404,
-0.6629854440689087,
0.0032904953695833683,
-0.7644938230514526,
-1.1487787961959839,
0.4858885407447... |
def reebsimplify ( * args ) : return _ snap. reebsimplify ( * args ) | [
-1.3069143295288086,
0.577634334564209,
0.5098265409469604,
0.09047199040651321,
0.38107892870903015,
-0.46932294964790344,
0.09603901952505112,
0.3039242625236511,
-0.511427104473114,
0.43477779626846313,
-2.3945887088775635,
-1.6496142148971558,
-1.3544225692749023,
0.5201148390769958,
... |
def get _ success _ url ( self ) : return self. success _ url | [
-0.46048465371131897,
0.18717704713344574,
0.14928370714187622,
1.123363971710205,
0.2528027296066284,
1.1269762516021729,
0.1277802437543869,
0.502545177936554,
-0.6595144867897034,
-0.5667030811309814,
-0.32099205255508423,
0.7682502269744873,
0.6266305446624756,
0.1277967095375061,
-0... |
def _ _ init _ _ ( self, * args ) : _ snap. tchain _ swiginit ( self, _ snap. new _ tchain ( * args ) ) | [
-0.42374882102012634,
0.7612444758415222,
-0.003438091604039073,
-0.25528693199157715,
0.7853237390518188,
-0.2860316038131714,
0.8037517666816711,
0.5112259984016418,
-0.8585399389266968,
-0.1302580088376999,
-1.477785348892212,
-0.3138948380947113,
0.0901891365647316,
0.6621836423873901,... |
def _ _ init _ _ ( self, * args ) : _ snap. tinttrflthi _ swiginit ( self, _ snap. new _ tinttrflthi ( * args ) ) | [
0.17658473551273346,
-0.0675734356045723,
0.019076278433203697,
-0.4998471736907959,
0.045859213918447495,
-0.1201147511601448,
0.22943031787872314,
-1.0706442594528198,
-0.9477213025093079,
-0.7906559705734253,
-0.20497851073741913,
0.09232018887996674,
-0.7173673510551453,
1.561833024024... |
def _ _ init _ _ ( self, smbh _ prior _ model : af. priormodel ( mp. massprofile ) = mp. pointmass, smbh _ centre _ fixed : bool = true, ) : self. smbh _ prior _ model = self. _ cls _ to _ prior _ model ( cls = smbh _ prior _ model ) self. smbh _ centre _ fixed = smbh _ centre _ fixed | [
1.0067334175109863,
0.06157652288675308,
0.5309642553329468,
1.2376158237457275,
-0.07466752082109451,
0.7116519808769226,
0.6176149845123291,
0.2807876467704773,
0.4416026771068573,
0.060728564858436584,
-0.6563924551010132,
0.16420628130435944,
-0.4316401481628418,
0.9901412725448608,
... |
def dbdeleteuser ( user ) : " " " design decision : currently this method must delete all data associated with the user because the userid field is a primary key in userinfo and a foreign key elsewhere. if we want to retain user data we would add a " deleted " flag column to the userinfo table and set that bit upon a d... | [
0.026707932353019714,
-0.08736567944288254,
0.9231991171836853,
0.0597054548561573,
-0.08512000739574432,
0.5456860065460205,
0.7088756561279297,
0.01763034798204899,
0.010767308995127678,
-0.2824755311012268,
0.4454284906387329,
0.3560071885585785,
-0.1332969069480896,
1.0899643898010254,... |
def clr ( self, dodel = true ) : return _ snap. tmem _ clr ( self, dodel ) | [
-0.15734350681304932,
0.8736293911933899,
0.009227431379258633,
0.19398005306720734,
-0.09201549738645554,
0.6414212584495544,
0.822234570980072,
-0.42882686853408813,
-0.35291147232055664,
-0.3696001470088959,
0.303619384765625,
-0.3863196074962616,
-0.7310067415237427,
1.467680811882019,... |
def tstrpool _ new ( * args ) : return _ snap. tstrpool _ new ( * args ) | [
-0.43293899297714233,
-0.5319657325744629,
0.13287854194641113,
-1.280759572982788,
-0.19718416035175323,
0.14772386848926544,
1.0307689905166626,
0.4368974268436432,
-1.3745290040969849,
-0.49830853939056396,
-1.1194720268249512,
-0.3688730001449585,
0.6630280017852783,
0.4529916048049927... |
def getfiles ( self, path ) : imlist = { } count = 0 for each in glob. glob ( path + " / " + self. folder + " / * " ) : word = each. split ( " / " ) [ - 1 ] print ( " leyendo carpeta de entrenamiento ", word ) imlist [ word ] = [ ] print ( path + " / " + word + " / * " ) for imagefile in glob. glob ( path + " / " + wor... | [
-0.24989363551139832,
-0.8436364531517029,
0.7170340418815613,
-0.44385895133018494,
-0.3004268705844879,
-0.4405179023742676,
0.28956279158592224,
0.6132186055183411,
-0.4262034296989441,
0.7281577587127686,
-0.267417848110199,
0.42629221081733704,
-0.39502984285354614,
1.4010089635849,
... |
def inversed _ jacobian ( matrix ) : try : return matrix. inv ( ) except zerodivisionerror as ex : log. error ( " error! % s ", ex ) sys. exit ( 1 ) | [
-0.213994100689888,
-0.37763920426368713,
0.5810973644256592,
0.23031218349933624,
-0.8092290759086609,
0.8713820576667786,
0.8978164792060852,
-0.14435870945453644,
-0.7490851283073425,
-0.1104915663599968,
0.4078640937805176,
0.44054922461509705,
-1.1289016008377075,
-0.1144571304321289,... |
def _ _ add _ _ ( self, * args ) : return _ snap. tintintvv _ _ _ add _ _ ( self, * args ) | [
-1.4169411659240723,
0.2798481583595276,
0.2754450738430023,
0.5240303874015808,
-0.15090101957321167,
0.012640867382287979,
-0.5393463373184204,
-0.3533017933368683,
-0.07267702370882034,
-0.11385053396224976,
-0.06286591291427612,
0.5072618722915649,
-0.7243528366088867,
0.02507004700601... |
async def _ get _ exchange _ rate _ from _ server ( self ) - > currencies : self. _ logger. info ('get exchange rate from cbr') if self. _ url. scheme = ='https': reader, writer = await asyncio. open _ connection ( self. _ url. hostname, 443, ssl = true # type : ignore ) else : reader, writer = await asyncio. open _ co... | [
-0.5332673192024231,
0.2854018807411194,
0.6731665134429932,
-0.3353826701641083,
-0.2092640995979309,
-0.9132146239280701,
-1.0435837507247925,
-0.20366530120372772,
-0.019887613132596016,
0.7518114447593689,
0.1676362156867981,
0.10089392215013504,
-0.9012005925178528,
1.1411621570587158... |
def get _ paged _ list ( self, request, params = { } ) : response = request. list ( ). execute ( ) # print ( " response!!! ", response ) if not response : return [ ] items = response. get ('items ', [ ] ) pagetoken = response. get ('nextpagetoken') while pagetoken : params ['pagetoken'] = pagetoken response = request. ... | [
-0.7994096279144287,
-0.6892956495285034,
0.7703837752342224,
0.04125998541712761,
1.1643168926239014,
0.368245929479599,
-1.2887157201766968,
0.24379892647266388,
0.5577812194824219,
-0.23029406368732452,
-0.311665803194046,
0.10127084702253342,
-0.43255722522735596,
0.51591557264328,
-... |
def parseforattrib ( node, nsmap, name ) : ele = node. find ('default :'+ name, nsmap ) if ele is none : return { } else : return ele. attrib | [
0.2924371063709259,
-0.024589093402028084,
0.4229413866996765,
0.31263452768325806,
-0.12474796921014786,
-1.0335612297058105,
-0.4160359501838684,
-0.05161524564027786,
-0.6247274875640869,
0.3558545410633087,
-0.15544578433036804,
-0.9460408687591553,
-0.025706376880407333,
0.21816958487... |
def make _ patterns ( seq, mods ) : seq _ list, new _ seqs = list ( seq ), [ ] # finds indices of key letters in seq _ list indices = [ i for i, c in enumerate ( seq _ list ) if c in mods ] # set the maximum number of modifications per fragment if len ( indices ) > args. max _ mods _ per _ fragment : mod _ sites = perm... | [
-0.6201494336128235,
0.06878028810024261,
0.7076786756515503,
-0.3867333233356476,
-0.8590241074562073,
-0.939289927482605,
-0.09594614058732986,
0.8501604199409485,
1.0607478618621826,
1.2870553731918335,
-0.44201576709747314,
-0.2862981855869293,
-0.6621261835098267,
-0.45032384991645813... |
def _ prepare _ newline _ chars _ without _ proxy _ pc ( self ) : newline _ chars = { unixremote. unix _ remote : self. _ configurations [ unixremote. connection _ hops ] [ unixremote. unix _ local ] [ unixremote. unix _ remote ] [ " command _ params " ] [ " target _ newline " ], unixremote. unix _ local : self. _ conf... | [
-0.19780507683753967,
-1.0377000570297241,
0.495769202709198,
-1.0460814237594604,
0.10988810658454895,
0.11777634918689728,
-1.0947353839874268,
-0.3623964190483093,
-0.5517135858535767,
-0.2887001037597656,
-0.46468397974967957,
0.13152149319648743,
-0.39571231603622437,
0.03928476199507... |
def format _ packet ( data, prefix = " ", depth = 1 ) : prefixstr = prefix * depth if isinstance ( data, nbtfile ) : return data. pretty ( indent = depth, indent _ str = prefix ) if isinstance ( data, container ) or isinstance ( data, types. dicttype ) : out = [ ] for k, v in data. iteritems ( ) : if isinstance ( v, me... | [
-0.25193431973457336,
-0.043128833174705505,
0.9615689516067505,
-0.9270921349525452,
-0.8926142454147339,
-0.29558348655700684,
-1.1363511085510254,
-0.6120909452438354,
0.3701082170009613,
-0.2071760594844818,
0.4286549389362335,
0.7632622122764587,
-0.3634626865386963,
0.735461592674255... |
def visualize _ round ( number ) : return [ visualize _ round _ number ( number ), visualize _ round _ connections _ infected ( number ), visualize _ round _ pathogens _ pie ( number ) ] | [
-0.8162623047828674,
-0.18750184774398804,
0.4959210157394409,
-1.054601788520813,
-0.10262072831392288,
-0.10979156941175461,
0.9061319231987,
-0.8105360269546509,
0.7876631617546082,
0.05598234012722969,
-0.037589672952890396,
0.7770930528640747,
0.32464972138404846,
0.6126520037651062,
... |
def isort ( self, * args ) : return _ snap. tcncomv _ isort ( self, * args ) | [
-0.7656592130661011,
-0.2980997562408447,
0.3240857422351837,
-0.9899682402610779,
0.7027104496955872,
0.09393813461065292,
0.4437909722328186,
-0.4748864769935608,
-0.16658273339271545,
-0.15364176034927368,
0.20344285666942596,
-0.220073401927948,
-1.04451322555542,
1.2249250411987305,
... |
def is _ auto _ seat _ climate _ left ( self ) - > bool : return self. _ vehicle _ data. get ( " climate _ state ", { } ). get ( " auto _ seat _ climate _ left " ) | [
-0.006342773325741291,
-0.7543045282363892,
0.3756971061229706,
0.11191190779209137,
0.2914727032184601,
0.9921416640281677,
-0.9179520606994629,
-0.9125949144363403,
-0.29246729612350464,
0.5891101956367493,
-0.5601840019226074,
0.0520719476044178,
0.18262691795825958,
0.7758522033691406,... |
def to _ python ( self, value ) : try : value = ip ( value ). int ( ) except exception : value = 0 return value | [
-1.5705562829971313,
0.08574874699115753,
0.5760294795036316,
-0.4976884126663208,
-0.45138025283813477,
-0.06789800524711609,
-0.13543038070201874,
-0.16094441711902618,
0.23300375044345856,
0.41362112760543823,
-0.07532795518636703,
-0.4668577313423157,
-0.33994147181510925,
-0.803450405... |
def get _ fbvs ( self, graph : graph ) - > set : pass | [
0.36076924204826355,
1.07619309425354,
0.36171382665634155,
1.8928184509277344,
0.8344982266426086,
-0.45012345910072327,
-0.028402414172887802,
-0.9764480590820312,
-0.7608121633529663,
-1.0090277194976807,
0.4020164906978607,
0.7884464263916016,
0.08697668462991714,
0.06782491505146027,
... |
def xlog1py ( x, y, name = none ) : with ops. name _ scope ( name, " xlog1py ", [ x ] ) : return gen _ math _ ops. xlog1py ( x, y ) | [
-0.40229862928390503,
0.6404469609260559,
0.5775424242019653,
0.05101180821657181,
-1.1059067249298096,
-0.41206616163253784,
-1.0286058187484741,
-1.31824791431427,
-0.06108412891626358,
1.0748661756515503,
0.016774335876107216,
0.6593658924102783,
0.3349452614784241,
-0.596339762210846,
... |
def peek ( self, size = 1 ) : ptrfin = self. ptrread + size if ptrfin > self. len : # no more data raise ioerror return self. buf [ self. ptrread : ptrfin ] | [
0.12152905017137527,
0.1598162055015564,
0.8573960065841675,
-0.6781136989593506,
-0.6516008973121643,
-0.03872090205550194,
0.437496542930603,
-1.7415692806243896,
-0.26340606808662415,
-1.062851071357727,
0.31087633967399597,
0.9231434464454651,
-0.8152510523796082,
-1.05040442943573,
... |
def load ( self ) : if not ( self. email and self. password ) : raise unauthorizederror ('missing ` email ` or ` password ` values') basic _ auth = requests. auth. httpbasicauth ( self. email, self. password ) data = self. _ post ( self. _ url ( ), auth = basic _ auth ) data = self. _ read _ data ( data ) for attr in d... | [
-1.367720365524292,
-0.13817989826202393,
0.6575028896331787,
-0.20311284065246582,
0.4062812924385071,
-0.03856847435235977,
-1.4639832973480225,
0.10958332568407059,
-0.5875839591026306,
-0.2552298605442047,
-0.6603546738624573,
0.25872424244880676,
-0.08484954386949539,
-0.1810446530580... |
def qsort ( self, * args ) : return _ snap. tintprv _ qsort ( self, * args ) | [
-1.317325234413147,
-0.144964337348938,
0.42272278666496277,
-0.7175472378730774,
-0.20239275693893433,
0.34341803193092346,
0.19057424366474152,
-0.8832967281341553,
-0.13623328506946564,
-1.1171958446502686,
-0.6564942598342896,
0.15230634808540344,
-1.9500367641448975,
0.300106972455978... |
def reverse ( self, * args ) : return _ snap. schema _ reverse ( self, * args ) | [
-1.0565636157989502,
1.048409342765808,
0.33348846435546875,
0.7000609636306763,
0.6206743717193604,
0.4808589816093445,
0.45933765172958374,
1.1065617799758911,
-1.2328083515167236,
-0.5628929138183594,
-0.8628994822502136,
0.021943844854831696,
-1.3546823263168335,
-0.4802762567996979,
... |
def wall _ from _ array ( self, a, adapt ='crop') : adapt _ options = ('crop ','grow') if adapt not in adapt _ options : raise valueerror ( " adapt should be one of % s " % str ( adapt _ options ) ) nx, ny = self. size _ in _ pixels ay, ax = a. shape if adapt = ='crop': print ( " adapt : crop " ) zeros = numpy. zeros (... | [
0.42367178201675415,
-0.13943304121494293,
0.8121526837348938,
0.5265228748321533,
-0.6721987128257751,
0.29013964533805847,
0.3390748202800751,
-1.275907278060913,
1.206809639930725,
0.32009610533714294,
0.6471918821334839,
0.5633330345153809,
0.23756974935531616,
0.45527923107147217,
-... |
def _ _ init _ _ ( self, urlstr, display _ str = none ) : self. urlstr = urlstr if display _ str : self. display _ str = display _ str else : self. display _ str = urlstr | [
0.3344053328037262,
-0.6936445832252502,
0.4042913615703583,
0.24422292411327362,
-1.4671366214752197,
0.23920637369155884,
0.11664613336324692,
0.22723445296287537,
0.7230750918388367,
-0.5416384339332581,
0.32811635732650757,
0.5671725869178772,
-0.13698746263980865,
1.0286531448364258,
... |
def wx _ 3 _ wczytaj _ na _ siatke ( self, evt ) : dialog = wx. filedialog ( self, message ='wybierz plik zestawu ', defaultfile ='', wildcard ='*. txt ', style = wx. fd _ open, pos = ( 10, 10 ) ) if dialog. showmodal ( ) = = wx. id _ ok : self. wx _ 3 _ wyczysc _ siatke ( evt ) sciezka = dialog. getpaths ( ) [ 0 ] zes... | [
0.32619139552116394,
-0.18858233094215393,
0.5765866041183472,
0.0821424350142479,
-0.559112548828125,
0.38808244466781616,
1.0556279420852661,
-0.030036579817533493,
0.008414804004132748,
0.8356842398643494,
-0.0699584111571312,
0.7015749216079712,
0.08056120574474335,
0.8082868456840515,... |
def tupla _ na _ plansze ( tupla ) : plansza = np. zeros ( ( 100, 100 ) ) for tupel in tupla : plansza [ int ( tupel [ 1 ] ) ] [ int ( tupel [ 0 ] ) ] = 1 return plansza | [
-1.8411704301834106,
-0.5767168998718262,
0.166164368391037,
-0.13932600617408752,
-0.06425606459379196,
0.6257301568984985,
1.105074405670166,
0.16350063681602478,
0.49040257930755615,
0.6061073541641235,
-1.1368077993392944,
-0.6123815774917603,
0.827903151512146,
-0.6284575462341309,
... |
def getdat ( self, * args ) : return _ snap. tstrstrkdvhi _ getdat ( self, * args ) | [
0.37856486439704895,
0.31059107184410095,
0.4995657503604889,
-0.21824343502521515,
0.7768433690071106,
0.26686373353004456,
0.6753828525543213,
-1.2331987619400024,
-1.2821451425552368,
-0.44600895047187805,
0.2456921935081482,
-0.2812129855155945,
-0.4790250062942505,
0.0677451640367508,... |
def minus _ ln _ stack _ mrc ( mrc _ stack _ fn, tree = " tomonormalized ", dataset = " tomonormalized " ) : # note : if this function is giving problems, maybe it is because data had # to be unpacked using big - endian instead of little endian. # note : created to unpack. mrc files containing floats32. it could be # e... | [
0.30331581830978394,
0.1351635754108429,
0.779147744178772,
-0.9408634901046753,
-0.43080276250839233,
-0.7462096214294434,
0.3163647949695587,
-0.1390083134174347,
-0.21875154972076416,
-0.23192818462848663,
-0.4167098104953766,
0.130255788564682,
-0.08878286182880402,
0.745172381401062,
... |
def test _ atomic _ language _ length _ 3 _ nistxml _ sv _ iv _ atomic _ language _ length _ 4 _ 4 ( mode, save _ output, output _ format ) : assert _ bindings ( schema = " nistdata / atomic / language / schema + instance / nistschema - sv - iv - atomic - language - length - 4. xsd ", instance = " nistdata / atomic / l... | [
0.5131798386573792,
-0.09365344792604446,
0.30127671360969543,
0.17662054300308228,
-0.08271703869104385,
0.06517668068408966,
-0.18656577169895172,
-0.0488910935819149,
0.147931769490242,
0.5973562598228455,
-0.4349302649497986,
-0.891838550567627,
-0.2654257118701935,
-0.1640078872442245... |
def set _ sidebar _ ticker ( sidebar, ticker ) : if settings ['show _ sidebar'] and not settings ['show _ ticker'] : # if there is only sidebar command ='js window. set _ sidebar ( " { 0 } " ) '. format ( sidebar. encode ('utf - 8') ) full _ browser _ send ( command, cb = lambda b :'command _ executed'in b and'set _ si... | [
0.08040331304073334,
0.3376079797744751,
0.762129545211792,
0.4877249300479889,
0.05212745442986488,
0.12243539094924927,
0.6879106760025024,
-0.22404010593891144,
-0.22719806432724,
0.6362144947052002,
-0.19620956480503082,
0.3410165011882782,
-0.8060715794563293,
1.6057404279708862,
1.... |
def _ _ init _ _ ( self, * values ) : try : self. values = list ( itertools. chain. from _ iterable ( values ) ) except typeerror : self. values = list ( values ) | [
-0.6320961117744446,
0.6609382033348083,
0.4752047061920166,
1.4026801586151123,
0.9110887050628662,
0.4707254469394684,
-0.6723777651786804,
-0.21271531283855438,
0.2499542236328125,
-1.1366792917251587,
-0.10236383229494095,
-0.3763158917427063,
-0.41289788484573364,
1.3556607961654663,
... |
def searchback ( self, * args ) : return _ snap. tstrintprv _ searchback ( self, * args ) | [
-0.7646116614341736,
0.2728568911552429,
0.7827586531639099,
-1.0898653268814087,
0.6356159448623657,
0.0813797190785408,
0.3617335855960846,
0.16331227123737335,
-1.361967921257019,
0.7463334202766418,
-0.12245286256074905,
0.08539286255836487,
-1.3418691158294678,
-1.132445216178894,
-... |
def generate _ visual _ receptive _ fields ( self, startbias = 0, n _ filters = none, x _ start = none, y _ start = none ) : if n _ filters is none : n _ filters = self. num _ neurons - startbias try : if n _ filters > self. filters. shape [ 0 ] : del self. filters self. filters = parray. empty ( ( n _ filters, self. p... | [
0.44371452927589417,
0.7851402759552002,
0.8190616965293884,
0.27403420209884644,
-0.2252833992242813,
-0.9598925113677979,
0.5910026431083679,
0.16604623198509216,
0.3646205961704254,
0.0919124111533165,
-0.40827152132987976,
1.108112096786499,
0.24658939242362976,
0.5588651299476624,
0... |
async def embed _ group ( self, ctx : context ) - > none : await ctx. send ( " this command is not meant to be used on its own! " ) | [
-0.27863454818725586,
1.0036183595657349,
0.3587344288825989,
0.8535776734352112,
0.3341602683067322,
0.994231641292572,
0.39208221435546875,
-0.05010558292269707,
-0.15136097371578217,
-0.8072885870933533,
0.09159891307353973,
1.4848101139068604,
-1.3972201347351074,
0.5745632648468018,
... |
def draw _ bottom _ left ( x = 1, y = 1 ) : print ( " { } { } ; { } ". format ( csi, y, x ), end = " ", flush = true ) | [
1.053367257118225,
0.012410160154104233,
0.6306158900260925,
-0.5868399739265442,
0.6275619864463806,
0.47557729482650757,
-0.8395412564277649,
-0.7016321420669556,
0.09233603626489639,
-0.39144614338874817,
-0.33903664350509644,
1.6243760585784912,
-0.6999801397323608,
0.4260619282722473,... |
def reserve ( self, * args ) : return _ snap. tneanet _ reserve ( self, * args ) | [
-0.6926450133323669,
0.6295770406723022,
0.046963874250650406,
-0.8630572557449341,
1.3047635555267334,
0.25558727979660034,
-0.017130283638834953,
-0.7598549723625183,
-0.6911025643348694,
-0.6688392162322998,
0.030968282371759415,
-1.9286073446273804,
-0.5206210613250732,
0.3181601762771... |
def get _ simulation _ mesh ( self, event _ name : str, iteration = " current " ) - > str : if iteration = = " current " : iteration = self. comm. project. current _ iteration if self. comm. project. meshes = = " multi - mesh " : if self. comm. project. interpolation _ mode = = " remote " : path = str ( self. find _ re... | [
0.6861441731452942,
0.4525451064109802,
0.7219963073730469,
0.9595900177955627,
-0.1854838877916336,
1.1932555437088013,
0.3960757255554199,
-0.6734994053840637,
-0.134081169962883,
0.6848939061164856,
0.15364596247673035,
-0.05513322353363037,
-0.22086240351200104,
0.39257240295410156,
... |
def change _ media _ order ( self ) : order _ range = range ( 1, len ( self. m ['media'] ) + 1 ) available _ orders = list ( order _ range ) for individual _ media in self. m ['media'] : print ( f " file type : { individual _ media ['file _ type'] }, current order : { individual _ media ['order'] } " ) while true : try... | [
-1.3512555360794067,
-0.9715087413787842,
0.4688739776611328,
0.441804975271225,
0.006563581991940737,
-0.03815813735127449,
0.7571102380752563,
-0.5731213688850403,
-0.3736187517642975,
0.38672271370887756,
0.15793226659297943,
0.874703586101532,
-0.6461004614830017,
0.9579321146011353,
... |
def log _ repository _ install _ success ( repository, start, log ) : global get _ changeset _ revision get _ changeset _ revision = repository ['changeset _ revision'] end = dt. datetime. now ( ) log. debug ( " \ trepository % s installed successfully ( in % s ) at revision % s " % ( repository ['name'], str ( end - s... | [
0.22342416644096375,
-0.9483580589294434,
0.49623820185661316,
-0.8446239233016968,
-0.3169424533843994,
-0.3287935256958008,
-1.0739071369171143,
-0.06848574429750443,
-0.8035123348236084,
0.7593968510627747,
-0.6449880003929138,
0.5039066076278687,
0.3495301306247711,
-0.0377815030515193... |
def getdat ( self, * args ) : return _ snap. schema _ getdat ( self, * args ) | [
0.05506172403693199,
0.7688185572624207,
0.6351731419563293,
0.14124342799186707,
1.4233283996582031,
0.38950860500335693,
0.5216488838195801,
-0.4520131051540375,
-0.025467239320278168,
-1.156488060951233,
-0.574259340763092,
0.18957185745239258,
-0.6712803840637207,
-0.10624472796916962,... |
def _ _ init _ _ ( self, * args ) : _ snap. tintstrh _ swiginit ( self, _ snap. new _ tintstrh ( * args ) ) | [
0.4970898926258087,
-0.5088512897491455,
-0.05183272808790207,
1.029251217842102,
-0.8934878706932068,
-0.2746378183364868,
0.3179270923137665,
-0.22475522756576538,
-0.6303403377532959,
-0.14172549545764923,
-0.7186861038208008,
0.38240474462509155,
-0.40845903754234314,
0.495131850242614... |
def addmp ( self, * args ) : return _ snap. tintprv _ addmp ( self, * args ) | [
-1.4105390310287476,
0.047766394913196564,
0.6477963924407959,
0.6945673823356628,
0.21299239993095398,
0.6627897024154663,
-0.10788342356681824,
0.22241167724132538,
0.046555012464523315,
-0.5743785500526428,
0.5923741459846497,
-0.22225350141525269,
-2.0762219429016113,
0.996593654155731... |
def describe _ user ( self ) : print ( " here are the information according to your input : " ) print ( f " first name : { self. first _ name. title ( ) } " ) print ( f " last name : { self. last _ name. title ( ) } " ) print ( f " age : { self. age } " ) print ( f " gender : { self. gender. title ( ) } " ) | [
0.056099120527505875,
-0.1285703480243683,
0.57735675573349,
-0.2226976752281189,
0.0021080465521663427,
1.2247370481491089,
-0.10011077672243118,
-0.5304112434387207,
-1.0678095817565918,
-0.8870013952255249,
-0.0922573059797287,
1.1476058959960938,
-0.07513793557882309,
0.611670851707458... |
def _ _ repr _ _ ( self ) - > str : return " < twilio. content. v1 > " | [
0.361244261264801,
-1.0760949850082397,
0.4071636199951172,
-0.8471214175224304,
-1.1217906475067139,
1.0928995609283447,
-0.668293297290802,
-0.3571452796459198,
0.575462818145752,
0.6327796578407288,
0.2925749719142914,
-0.441983699798584,
-0.14534500241279602,
-0.7913611531257629,
-0.... |
def test _ atomic _ any _ uri _ min _ length _ nistxml _ sv _ iv _ atomic _ any _ uri _ min _ length _ 1 _ 4 ( mode, save _ output, output _ format ) : assert _ bindings ( schema = " nistdata / atomic / anyuri / schema + instance / nistschema - sv - iv - atomic - anyuri - minlength - 1. xsd ", instance = " nistdata / a... | [
0.22504666447639465,
-0.5584860444068909,
0.45473963022232056,
0.7161022424697876,
-0.22289200127124786,
-0.17076900601387024,
-0.1450446993112564,
-0.3539619743824005,
0.4730120301246643,
-0.3760805130004883,
0.2837066352367401,
-0.26443538069725037,
-0.8630529642105103,
0.184905797243118... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.