text
stringlengths
25
2.19k
embedding
listlengths
768
768
def update _ data ( self ) : return { }
[ -1.3477545976638794, -1.2179738283157349, 0.3952660858631134, -0.5531248450279236, -1.3742260932922363, 0.3501777648925781, -0.9225879907608032, -0.004299937281757593, -0.15298329293727875, -0.20288003981113434, -1.4505348205566406, -0.04757110774517059, -0.08915121853351593, 0.20744571089...
def policy _ eval ( env, policy, v, discount _ factor ) : policy _ value = np. zeros ( env. ns, dtype = v _ type ) for state, action in enumerate ( policy ) : for ( probablity, collision ), next _ state, reward, info in env. p [ state ] [ action ] : policy _ value [ state ] + = probablity * ( reward + ( discount _ fact...
[ 0.0926181823015213, -0.2926037907600403, 0.5045576095581055, -0.7718615531921387, 1.0514485836029053, 0.7611250281333923, -0.495949387550354, 0.5398791432380676, 0.37926095724105835, 0.8128293752670288, 0.3581991195678711, 0.7508075833320618, 0.20968420803546906, 0.006127235013991594, -0...
def parameter _ test ( k _ val, model, model _ tester, loss _ function, data, cv _ times = 3, verbose = true ) : # initialize empty dictionaries d _ test = { } d _ train = { } # todo : get out of the function model _ tester. fit _ transform ( data ) # save an original copy of the data data _ original = data. copy ( ) f...
[ -0.16553853452205658, 0.7877743244171143, 0.8316592574119568, 0.32456451654434204, -0.1514693945646286, -0.1723269522190094, 0.11308810114860535, 0.5271171927452087, -0.9257440567016602, 0.18481773138046265, 0.08063934743404388, -0.363383412361145, 0.17879457771778107, 1.0622758865356445, ...
def reviewpreviousitem ( self, inputevent ) : context = self. getflatreviewcontext ( ) moved = context. goprevious ( flat _ review. context. word, flat _ review. context. wrap _ line ) if moved : self. _ reviewcurrentitem ( inputevent ) self. targetcursorcell = self. getbraillecursorcell ( ) return true
[ -0.16724126040935516, -0.3063991367816925, 0.6440114974975586, 0.20224371552467346, -0.351514607667923, 0.7480874061584473, 0.4393250346183777, -0.07334427535533905, 0.2161453664302826, 0.301476389169693, -0.08355741947889328, 0.18103286623954773, -0.8161040544509888, -0.02339976094663143,...
def update _ memory ( self, x _ new, fval _ new ) : # 1 - check if new record improves the non - dominated archive f = np. vstack ( ( self. nd _ archives [ - 1 ], np. asarray ( fval _ new ) ) ) ( l, m ) = f. shape nd = range ( l - 1 ) dominated = [ ] ( nd, dominated ) = nd _ add ( np. transpose ( f ), dominated, nd ) #...
[ 0.05087650194764137, -1.1258527040481567, 0.44866064190864563, -0.2863041162490845, -0.7683334350585938, -0.15790747106075287, -0.27180659770965576, 0.36429351568222046, -0.4225549101829529, 0.4347032308578491, -0.12050347030162811, 1.0985236167907715, -0.1638985574245453, 0.93576681613922...
def write _ recording _ to _ csv ( recording, filename = " recording " + str ( datetime. datetime. now ( ). isoformat ( ) ) + ". csv ", electrodes = none ) : if electrodes is not none : df = pd. dataframe ( recording, columns = electrodes ) else : df = pd. dataframe ( recording ) # todo append to csv instead of always ...
[ -1.0051804780960083, 0.627970814704895, 0.3482635021209717, 1.330539584159851, 0.5978780388832092, -0.1753431111574173, 0.013927777297794819, 0.8508779406547546, 0.3616271913051605, -0.3115391135215759, 0.4505126476287842, 0.3081648647785187, 0.54229336977005, 0.2674242854118347, -0.1241...
def setactive ( self ) : self. getrobot ( ). setactivemanipulator ( self ) self. getrobot ( ). setactivedofs ( self. getarmindices ( ) )
[ -0.3593977689743042, -1.6262588500976562, 0.283427357673645, -0.529352605342865, 0.19992287456989288, -0.35701680183410645, 0.3552493155002594, 0.14776335656642914, 0.18370622396469116, -1.282039761543274, -0.08690143376588821, 0.4482562839984894, 0.16425247490406036, 0.13505588471889496, ...
def createstockrow ( ) : db = sqlite3. connect ( db _ file ) c = db. cursor ( ) cmd ='select api from apis where api = " iex "'entry = c. execute ( cmd ). fetchall ( ) print ( entry ) print ( " aaaaaaaaaaaaaaaaaaaaaaaaaaaa " ) db. close ( ) if not entry : insertapi ('iex ', timestamp ( ),'','' ) return
[ -0.6809675097465515, 0.5107941627502441, 0.6281356811523438, -0.19328787922859192, 1.0046533346176147, 0.27807942032814026, -0.4221169352531433, -0.4087483286857605, -0.28002554178237915, 0.3835909068584442, 0.10832664370536804, -0.5426408052444458, -0.3988831043243408, 0.7536585927009583,...
def _ shell _ quote ( arg ) : if arg = ='' : return "'' " # normal shell - printable string without quotes if re. match ( r'[ - +,. / 0 - 9 : @ a - z _ a - z ] + $ ', arg ) : return arg # printable within regular single quotes. if re. match ('[ \ 040 - \ 176 ] + $ ', arg ) : return "'% s'" % arg. replace ( "'", "'\ \''...
[ 0.06524280458688736, -0.6566277742385864, 0.6005027890205383, -0.507404625415802, -0.7078462243080139, -0.11488830298185349, -0.4685412049293518, 0.034410569816827774, 0.3428560793399811, 0.46297475695610046, 0.48665231466293335, 1.3727412223815918, -0.07454580068588257, 0.1755141764879226...
def last ( self, * args ) : return _ snap. tcncomv _ last ( self, * args )
[ -0.3951444923877716, 0.6127815246582031, 0.32003656029701233, -0.6102629899978638, 1.5591269731521606, -0.4362415671348572, 0.5873736143112183, 0.21762236952781677, -0.6533581614494324, 0.17248237133026123, -0.42171305418014526, -0.9567620158195496, -0.5894322991371155, 0.6672510504722595,...
def test _ check _ app _ name ( ) : assert pdfappconfig. name = = purepath ( _ _ file _ _ ). parent. parent. name
[ 0.6881623864173889, -1.2763879299163818, 0.37326779961586, 1.045224666595459, -0.37879258394241333, 1.2816146612167358, 0.5575307011604309, -0.7354457974433899, 0.010758168064057827, 0.5502018332481384, 0.05510629713535309, -0.3753310441970825, 0.6214423179626465, 0.32631221413612366, -0...
def tintv _ swapi ( * args ) : return _ snap. tintv _ swapi ( * args )
[ -1.2744871377944946, -0.23104439675807953, 0.2576221525669098, 1.0597487688064575, -0.6612510085105896, 0.5134159326553345, -0.2550591230392456, 0.18638338148593903, -0.7306649088859558, 0.19816681742668152, -1.3982104063034058, -0.20517335832118988, -0.6885094046592712, 0.4221939444541931...
def get _ connection ( ) : return sqlite3. connect ( get _ db _ file ( ) )
[ 0.18949390947818756, -0.028635574504733086, 0.26405060291290283, 0.22604848444461823, 0.4092720150947571, 0.009430081583559513, -0.31806430220603943, 0.356000691652298, -1.055776596069336, 0.13669486343860626, 0.7331815958023071, -0.444966584444046, -0.7183822989463806, -0.8370406627655029...
def test _ delete _ specimen _ anon ( self ) : with app. test _ client ( ) as client : resp = client. post ( " / specimen / 12 / delete " ) self. assertequal ( resp. status _ code, 401 )
[ 0.18747256696224213, -0.05910477414727211, 0.3989250361919403, 0.8744679093360901, 0.1048511490225792, 1.0112888813018799, -0.546912670135498, 0.5822790265083313, 0.6113833785057068, 0.00485643045976758, -0.44784456491470337, 0.9322462677955627, -0.17570577561855316, 0.3757477104663849, ...
def read _ psw _ file ( psw _ file : path ) - > bytes : if not psw _ file. is _ file ( ) : raise filenotfounderror ( "'{ }'does not exist ". format ( psw _ file ) ) psw = psw _ file. read _ bytes ( ) return psw
[ 0.5247525572776794, -0.4788719117641449, 0.6027517914772034, -0.13091975450515747, -0.5983079075813293, 0.6477603912353516, -0.331548273563385, -0.2961507737636566, -1.0001403093338013, -0.1426829695701599, 0.11992423236370087, -0.0957055538892746, -0.6423654556274414, 0.5228223204612732, ...
def destroy ( self, request, pk = none ) : try : reward = reward. objects. get ( pk = pk ) reward. delete ( ) return response ( { }, status = status. http _ 204 _ no _ content ) except reward. doesnotexist as ex : return response ( {'message': ex. args [ 0 ] }, status = status. http _ 404 _ not _ found ) except excepti...
[ -0.3970349431037903, 0.14753450453281403, 0.654752254486084, -0.07543084025382996, 0.7892197370529175, -0.23434287309646606, 0.09550948441028595, 0.5715039968490601, 0.7582218050956726, 1.0966951847076416, 0.5745623707771301, -0.22449707984924316, -0.42423927783966064, 0.2797267735004425, ...
def position _ figure ( fig, pos = none, size = none, scale = 0. 9, offset = 0. 05 ) : backend = matplotlib. get _ backend ( ) mgr = fig. canvas. manager if backend = = " tkagg " : size = size or scale * np. array ( mgr. window. maxsize ( ) ) pos = pos or offset * size mgr. resize ( * size ) mgr. window. wm _ geometry ...
[ 0.16554249823093414, -0.071029432117939, 0.9090039134025574, -0.4618968069553375, -0.43072229623794556, 0.4241796135902405, 0.004797938745468855, 0.2014993280172348, -0.270202100276947, -0.30941787362098694, -0.22667492926120758, -0.04273976758122444, 0.2635616362094879, 0.1297769844532013...
def _ _ insert _ across ( self, values ) : row = { } for value, ( index, name, data _ type ) in zip ( values, self. _ _ columns ) : assert isinstance ( value, data _ type ), " wrong datatype : { } ( {! r }, {! r } ) ". format ( name, value, data _ type ) row [ index ] = value return row
[ -0.8350110650062561, 1.4383752346038818, 0.5081044435501099, -0.8666965961456299, -0.10008006542921066, 0.04654686152935028, 0.013101876713335514, -0.2751602530479431, -1.285322904586792, -0.05932721495628357, -0.20784398913383484, -0.6506694555282593, -0.6747230887413025, 0.84155678749084...
def safe _ readline ( handle ) : line = handle. readline ( ) if not line : raise valueerror ( " unexpected end of stream. " ) return line
[ 1.4944511651992798, 0.1434229165315628, 0.4357813894748688, 0.3842579126358032, 0.6456922292709351, 0.40187257528305054, -0.5540814995765686, -1.0674351453781128, -0.6273214817047119, -0.7708413600921631, 0.9233903884887695, -0.15071110427379608, -0.7955023646354675, -0.9214982986450195, ...
def onstatusfmt ( self, * args ) : return _ snap. tnotify _ onstatusfmt ( self, * args )
[ 0.6516708135604858, -0.5085600018501282, 0.11472538113594055, 0.32035568356513977, 0.2664494216442108, -0.5321358442306519, -0.39864394068717957, 0.5264180302619934, -0.3113793432712555, 0.4556806683540344, -1.291701316833496, -1.1517817974090576, -0.07979422807693481, 1.4786920547485352, ...
def calc _ region _ differences ( label _ img, rat ) : resultarr = determine _ neighbours ( label _ img ) # define wanted area and calculate mean value for al its neighbours result = [ ] if args. att = ='rgb': # only rgb no height print ( " using greeennes, texture and vissible brightness " ) meancalc = [ 2, 20, 21 ] #...
[ 0.09456814080476761, -0.4921140968799591, 0.8657461404800415, -0.631919801235199, -0.2655459940433502, 0.24349236488342285, 0.4545179307460785, -0.25050655007362366, -0.6812027096748352, 0.4455685615539551, 0.5286969542503357, 0.47687771916389465, 0.5923433303833008, 1.0466471910476685, ...
def examineedge ( self, * args ) : return _ snap. tbiconvisitor _ examineedge ( self, * args )
[ -1.0369398593902588, 1.4393391609191895, 0.09962377697229385, 0.20529180765151978, 0.8809325098991394, 0.08683831244707108, 1.4747719764709473, 0.11028092354536057, -0.9588139057159424, -0.5348846912384033, 0.3170004189014435, -0.7653162479400635, -1.4096518754959106, 0.39050161838531494, ...
def get _ move ( self, game, time _ left ) : self. time _ left = time _ left # initialize the best move so that this function returns something # in case the search fails due to timeout best _ move = ( - 1, - 1 ) try : # the try / except block will automatically catch the exception # raised when the timer is about to e...
[ -0.7314580082893372, -0.12909899652004242, 0.4867393970489502, 0.5861393213272095, 0.297470360994339, -0.4815343916416168, -1.1995455026626587, -0.5361330509185791, -0.5055168271064758, 0.4440769553184509, 0.31937432289123535, -0.10187330842018127, -1.2827523946762085, 0.470862478017807, ...
def _ _ init _ _ ( self ) : path = self. migrations _ path if path is _ default : # ` migrations ` should be a sub directory of the calling package, unless a path is specified filename = inspect. stack ( ) [ 1 ] [ 1 ] path = os. path. join ( os. path. dirname ( filename ),'migrations') elif not os. path. isdir ( str ( ...
[ 0.21919035911560059, 0.8933870196342468, 0.7020557522773743, 0.4196458160877228, 0.5271877646446228, -0.8442248702049255, -0.2036237269639969, 0.766685962677002, -0.1946595013141632, -0.17264659702777863, 0.26856350898742676, 0.007805937901139259, 0.1434408724308014, 0.15874265134334564, ...
def _ extract _ usernames ( text ) : # twitter _ regex = r'\ [ a - za - z0 - 9 _ ] { 1, 15 }'twitter _ regex = r'^ | [ ^ @ \ w ] ( @ \ w { 1, 15 } ) \ b'twitter _ re = re. compile ( twitter _ regex ) twitter _ list = [ ( " twitter ", twitter ) for twitter in twitter _ re. findall ( text ) if twitter! = " " ] return twi...
[ -0.12454190105199814, -0.36234578490257263, 0.45437195897102356, -0.3965010941028595, -0.1646071970462799, -0.27024808526039124, 0.18319949507713318, 1.2893061637878418, 0.434692919254303, 0.7791681289672852, -1.7616374492645264, -0.33982694149017334, -0.4849371016025543, 1.252622246742248...
def copyuniquefrom ( self, * args ) : return _ snap. tfltv _ copyuniquefrom ( self, * args )
[ -0.28629791736602783, -0.12831611931324005, 0.2116934061050415, 0.2026609182357788, 0.11779483407735825, 0.08098199218511581, 0.8640795350074768, 0.9106170535087585, -0.5109339356422424, -0.2782748341560364, -0.6273660659790039, -0.6537900567054749, 0.46141281723976135, 0.7327026128768921,...
def glob ( self, glob _ string ) : candidates = glob ( glob _ string ) if isinstance ( candidates, list ) : return sorted ( candidates ) [ - 1 ] return candidates
[ 0.5213747024536133, -0.7262070775032043, 0.5178545713424683, 1.4162750244140625, 0.17543190717697144, 0.6844209432601929, 0.4701462686061859, -0.3147203028202057, 0.5221531391143799, -0.0969366803765297, 0.91717529296875, 0.49967461824417114, -1.1989338397979736, -0.2385299801826477, -0....
def write ( self, setup ) : self. counters. write ( self. dirname ) self. averages. write ( self. dirname )
[ -1.0034445524215698, -0.25225868821144104, 0.1868632286787033, -0.45495036244392395, 1.245408535003662, 0.6587805151939392, 2.042978525161743, 0.1314389407634735, -0.43348371982574463, -0.036156125366687775, 0.6200191378593445, -0.4283749759197235, 0.6554279327392578, 0.45591190457344055, ...
def retrieve ( self, request, * args, * * kwargs ) : return viewsets. readonlymodelviewset. retrieve ( self, request, * args, * * kwargs )
[ -0.3679336607456207, 0.15706607699394226, 0.48199039697647095, 0.10336463153362274, -0.16303429007530212, -0.4322192966938019, -0.22026735544204712, -0.7149168848991394, 0.3943379819393158, -1.164441466331482, 0.8298230171203613, 0.5484772324562073, -0.8797762393951416, -0.2897893786430359...
def _ evaluate _ sleep _ period ( self, time _ lapsed ) : sleep _ time = self. checking _ period - time _ lapsed if sleep _ time < 0 : sleep _ time = random. randint ( 5, 20 ) self. _ logger. info ( " checking period > url processing period... randomly choosing a sleep time of'{ }'sec ". format ( sleep _ time ) ) retur...
[ -0.4497648775577545, -0.08995882421731949, 0.3966728150844574, -0.7920032739639282, -0.5311237573623657, 0.8066027164459229, 0.5614418387413025, -0.5304439067840576, 0.1948145627975464, -0.01717214658856392, 0.33946263790130615, 0.27360421419143677, -0.8915533423423767, 0.3142496347427368,...
def _ _ init _ _ ( self, snake _ symbol, speed, initial _ x, initial _ y ) : self. snake = snake ( initial _ x, initial _ y, snake _ symbol, speed, " right " ) self. fruits = [ ] self. current _ direction = curses. key _ right self. score = " 0 " # use system function to set the console size os. system ( " mode con col...
[ -0.2654152512550354, -0.31253859400749207, 0.813316822052002, 0.44023463129997253, 0.19457292556762695, -0.2592799961566925, 0.3397446274757385, -0.3366245627403259, 0.02014516107738018, 0.07697057723999023, -0.6465244889259338, 0.3285967707633972, 0.5110816359519958, 1.0533148050308228, ...
def qsort ( self, * args ) : return _ snap. tfltprv _ qsort ( self, * args )
[ -1.2627367973327637, 0.4297834634780884, 0.23460133373737335, -1.2403669357299805, 0.2239765226840973, 0.2991013526916504, 0.5005136728286743, -0.07541945576667786, -0.9278124570846558, -0.8596768975257874, -0.1029575765132904, -0.9786468744277954, -1.2894816398620605, 0.6407669186592102, ...
def setview ( self, view ) : self. _ view = view
[ -0.12438128888607025, -0.08380096405744553, 0.11959745734930038, -0.6954761743545532, -0.1164029985666275, 0.16960877180099487, -0.061515696346759796, 0.3528929650783539, -0.32714158296585083, -2.0670998096466064, -0.022616390138864517, 0.5255764722824097, -0.28208884596824646, 0.203943029...
def getni ( self, * args ) : return _ snap. tdirnet _ getni ( self, * args )
[ -0.3938278555870056, 1.2802836894989014, 0.28725531697273254, 0.8437927961349487, 1.098639726638794, -1.1924688816070557, 0.21090900897979736, -1.38015878200531, -0.895057737827301, -0.6597995758056641, -1.0052313804626465, -1.7003620862960815, 0.014362880028784275, -0.4152315557003021, ...
def unified _ communications ( self ) : return self. _ unified _ communications
[ -0.7849085330963135, -0.1303822547197342, 0.4294760525226593, -0.40265414118766785, 0.19834725558757782, 0.4958052933216095, 0.6601664423942566, -0.3980139493942261, 1.6069329977035522, -0.5870381593704224, -0.416332870721817, 0.7552348971366882, -0.708046019077301, -0.4795420467853546, ...
def url ( self, key ) : return'% s / % s'% ( self. base, key )
[ -0.714291512966156, -0.33597198128700256, 0.32887953519821167, -0.09514865279197693, -0.17178955674171448, 1.004754662513733, -0.8781700134277344, -0.16695941984653473, -0.6209037899971008, 0.4151384234428406, 0.4636165499687195, -0.31556183099746704, -0.592788815498352, 0.1848587542772293...
def check _ users ( users ) : for user in users : try : usertest = getpwnam ( user ) except keyerror : print " username ( % s ) not found. " % user sys. exit ( 1 )
[ -0.4785257577896118, -0.18297426402568817, 0.4440579116344452, 1.4218850135803223, 0.139323890209198, 0.5149322152137756, 0.3844655156135559, 0.03543268144130707, -0.29135462641716003, 0.5362323522567749, 0.5001907348632812, 0.07964298129081726, -0.514162540435791, 0.9262092113494873, -0...
def _ calculate _ j11 ( branches, buses, index _ set _ branch, index _ set _ bus, base _ point = basepointtype. flatstart, approximation _ type = approximationtype. ptdf ) : _ len _ bus = len ( index _ set _ bus ) _ mapping _ bus = { i : index _ set _ bus [ i ] for i in list ( range ( 0, _ len _ bus ) ) } _ len _ branc...
[ -0.4754132032394409, -0.31745588779449463, 0.664114236831665, -0.5716091990470886, -0.04537307098507881, -0.1718437373638153, 0.15518128871917725, 0.5549653768539429, -0.3397376537322998, 0.45428118109703064, 0.6770232915878296, 0.4906094968318939, 0.10259206593036652, -0.07356241345405579...
def _ append _ tid _ to _ studio _ url ( self, job : job ) - > none : try : studio _ endpoint = job. services. get ( " studio ", none ) studio _ url = studio _ endpoint. endpoint default _ scopes = _ resource _ to _ scopes ( _ get _ base _ url _ from _ metadata ( ) ) module _ logger. debug ( " default _ scopes used : `...
[ -0.10357559472322464, -0.20716030895709991, 0.3733166754245758, -0.3582610487937927, 0.24360819160938263, -0.13958320021629333, -0.5769074559211731, -0.16889561712741852, 0.3353623151779175, 0.792468786239624, 0.014158057980239391, 0.6146858930587769, 0.45840978622436523, 0.231801673769950...
def clone ( s, dct ) : if s in dct : return dct [ s ] if getattr ( s,'expr ', none ) : input _ copies = [ clone ( i _ s, dct ) for i _ s in s. expr. inputs ] rval = s. expr. impl ( * input _ copies ) dct [ s ] = rval return rval return s
[ 0.1098918691277504, -0.252597451210022, 0.6017687320709229, -0.3123765289783478, -1.3502029180526733, -0.9045148491859436, 0.19172899425029755, -0.5888609290122986, 0.8876285552978516, 0.07856778055429459, -0.018129738047719002, 0.6824191808700562, 0.49980390071868896, -0.5015891790390015,...
def endeastri ( self, * args ) : return _ snap. tcrossnet _ endeastri ( self, * args )
[ -0.10494998842477798, 0.7412326335906982, 0.4625661373138428, -0.9603515863418579, 0.5965104699134827, 0.807841956615448, 0.4423307180404663, 0.601650059223175, -0.5313785076141357, 0.34783104062080383, -0.29754510521888733, -1.5073943138122559, -0.3661508560180664, 1.1879899501800537, 0...
def small _ cusp _ to _ large _ cusp ( self, small _ cusp ) : return self. _ cusp _ map [ small _ cusp - 1 ]
[ -0.16649580001831055, -1.0439509153366089, 0.447915256023407, -0.6806775331497192, -0.669355571269989, 0.12356254458427429, 0.4875285029411316, -0.40899235010147095, 1.552394986152649, -0.20751215517520905, -0.7471224069595337, 0.1872207522392273, -0.06056580692529678, -0.7757672667503357,...
def sort _ joblist ( self, joblist : list [ str ] ) - > list [ str ] : new _ list = [ ] # type : list [ str ] late _ list = [ ] # type : list [ str ] for monitor in joblist : if self. monitors [ monitor ]. type in [ " compound " ] : late _ list. append ( monitor ) else : new _ list. append ( monitor ) new _ list. exten...
[ -0.7466632723808289, -0.4167111814022064, 0.724580705165863, 0.16965705156326294, 0.030780717730522156, 0.7458277940750122, -0.18726244568824768, -0.46317172050476074, 0.20680761337280273, 0.20603302121162415, -0.5639598965644836, -0.05579565465450287, -1.088233470916748, 1.340420126914978...
def _ read ( self, * * kwargs ) : return self. connection. read ( * * kwargs )
[ -0.4645802676677704, -0.6563242673873901, 0.30547961592674255, -0.5383507013320923, -0.5101072192192078, -0.16355258226394653, -1.616760015487671, -0.7969461679458618, -1.1760445833206177, -0.3810449242591858, 1.0908623933792114, -0.028696566820144653, -1.2751963138580322, -1.1063129901885...
def resize _ images ( path, width, height ) : files = glob ( os. path. join ( path,'*. png') ) + glob ( os. path. join ( path,'*. jpg') ) for file in files : im = image. open ( file ) im _ resized = im. resize ( ( width, height ), image. antialias ) im _ resized. save ( file )
[ -0.8635213971138, 0.14523392915725708, 0.6685659885406494, 0.08175801485776901, 0.44536492228507996, 0.11631322652101517, 0.31849104166030884, 0.03647885471582413, -0.4985221028327942, 0.7597934007644653, -0.5565702319145203, -0.9001610279083252, 0.3665459454059601, 0.7403544783592224, -...
def metrics ( self, outputs, targets ) : assert len ( targets ) = = 1 return { " error " : f. mean ( f. top _ n _ error ( outputs [ 0 ], targets [ 0 ] ) ) }
[ -1.2294976711273193, 0.06687776744365692, 0.32433152198791504, -0.1005854681134224, -0.29381680488586426, -0.5262344479560852, 0.4686616063117981, -0.6407653093338013, -0.8778837323188782, 0.2247537523508072, 0.9436346292495728, 0.001599963870830834, 0.7398936748504639, 0.02704307995736599...
def arrow _ table _ to _ pandas _ dataframe ( table : pa. table ) - > pd. dataframe : return pd. dataframe ( { colname : arrow _ chunked _ array _ to _ pandas _ series ( column ) for colname, column in zip ( table. column _ names, table. itercolumns ( ) ) }, index = pd. rangeindex ( 0, table. num _ rows ), )
[ 0.5819216966629028, -0.4068172872066498, 0.43256017565727234, 0.5886621475219727, -0.2392841875553131, -0.23680567741394043, 0.23231565952301025, -0.6460320353507996, 0.9639875292778015, -0.32614681124687195, -0.2052726149559021, 0.8491957187652588, 0.7803658843040466, -1.0880337953567505,...
def txxxxx ( p, tmass, nhel, nst ) : tc = wavefunction ( 5 ) sqh = sqrt ( 0. 5 ) sqs = sqrt ( 1 / 6 ) pt2 = p [ 1 ] * * 2 + p [ 2 ] * * 2 pp = min ( p [ 0 ], sqrt ( pt2 + p [ 3 ] * * 2 ) ) pt = min ( pp, sqrt ( pt2 ) ) ft = { } ft [ ( 4, 0 ) ] = complex ( p [ 0 ], p [ 3 ] ) * nst ft [ ( 5, 0 ) ] = complex ( p [ 1 ], p ...
[ 0.2585121989250183, 0.33161255717277527, 0.8624724745750427, -0.3861386179924011, -0.6869677901268005, 0.01313636265695095, 0.06408718228340149, -0.1859971284866333, 0.17718996107578278, 0.05206390097737312, -0.8547384142875671, -0.9633616209030151, -0.07058340311050415, -0.182368785142898...
def cmd ( * args, * * kwargs ) : if env ['user'] = ='root': return run ( * args, * * kwargs ) else : return sudo ( * args, * * kwargs )
[ 0.5140508413314819, -0.15205001831054688, 0.6191430687904358, 1.2296432256698608, -0.00974121131002903, 0.766205906867981, -0.740540087223053, 0.20009596645832062, -0.34143057465553284, -0.9773528575897217, 0.4799305498600006, 1.2056714296340942, 0.21136997640132904, 0.29489773511886597, ...
def build _ library ( session, dilibraries = dilibraries ) : session. log ( f'run build _ library in { lib _ name }') standard _ build _ di _ library ( session, dilibraries = dilibraries )
[ -1.6002603769302368, -0.4678730070590973, 0.22078795731067657, 0.9790027141571045, 0.24608257412910461, 0.2258160263299942, 0.3972998261451721, 0.38870900869369507, 0.8892128467559814, -0.5705124735832214, -0.2512322664260864, -0.7760449051856995, 0.50392085313797, -0.4053192138671875, 0...
def update _ pose ( self, msg ) : self. pose = msg self. pose. x = msg. x self. pose. y = msg. y self. pose. theta = msg. theta
[ -0.430633008480072, -0.27887699007987976, 0.459866464138031, -1.0851367712020874, -0.2023886889219284, -0.2986641526222229, 0.020570073276758194, 0.13167405128479004, -0.603524386882782, 0.8051945567131042, -0.5783140659332275, 0.16563890874385834, -0.9947442412376404, -0.02448675222694873...
def addintvattrdate ( self, * args ) : return _ snap. pneanet _ addintvattrdate ( self, * args )
[ -0.24777504801750183, 0.2847236096858978, 0.6276416182518005, -0.4840747117996216, 0.6287643313407898, 1.1962031126022339, -0.5583415031433105, -0.7086424827575684, -0.4773333966732025, -0.07293348014354706, 0.23061466217041016, -0.9412123560905457, -1.0826694965362549, -0.1357377767562866...
def needs _ authentication ( func ) : # todo : should probably just catch specific authentication errors def is _ auth _ message ( msg ) : " " " return true is it's an authentication related error message. " " " keywords = [ " unauthorized ", " expired " ] return any ( [ k in msg for k in keywords ] ) @ common. catch _...
[ -1.4296237230300903, -0.1466686725616455, 0.5846363306045532, -0.08997704833745956, -0.3394467830657959, -0.11668400466442108, -0.5461194515228271, -1.0536659955978394, 0.7596426606178284, 0.31080177426338196, 0.6689890623092651, 0.4387076795101166, 0.634521484375, -0.15300439298152924, ...
def is _ trunk _ closed ( self ) - > bool : response = self. _ vehicle _ data. get ( " vehicle _ state ", { } ). get ( " rt " ) return response = = 0
[ -1.2203292846679688, -1.0174517631530762, 0.5986940860748291, -0.12585535645484924, 0.46488016843795776, 0.14139850437641144, -1.2572952508926392, -0.5710309147834778, -0.41203251481056213, -0.23729214072227478, 0.12365464866161346, 0.05616700276732445, -0.1972956508398056, 0.0919034034013...
def envelope _ prior _ model _ tag ( self ) - > str : if self. envelope _ prior _ model is none : return " " tag = conf. instance [ " notation " ] [ " prior _ model _ tags " ] [ " light " ] [ self. envelope _ prior _ model. name ] return f " _ _ envelope _ { tag } "
[ 0.09703081846237183, -0.6729110479354858, 0.6673362851142883, -0.6555253863334656, 0.28925374150276184, 0.14836865663528442, 0.49943578243255615, -0.46522924304008484, 0.08214713633060455, 0.14630046486854553, -0.5903730392456055, -0.12906396389007568, 0.3959885239601135, 1.183782219886779...
def unregister _ webhook ( self ) : _ logger. debug ( " unregistering webhook % s ", self. webhook _ id ) webhook. async _ unregister ( self. _ hass, self. webhook _ id ) self. webhook _ id = none
[ 0.9578250050544739, 0.8732374906539917, 0.11097418516874313, -0.015534871257841587, 1.3699861764907837, -0.928372859954834, 0.045584503561258316, 1.2107126712799072, -0.5632824897766113, -0.3345455229282379, -0.7979886531829834, 1.1710364818572998, -0.7206957936286926, 1.0186008214950562, ...
def _ _ str _ _ ( self ) : s ='\ n '. join ( [''. join ( [ str ( elem ) for elem in row ] ) for row in self. data ] ) return s +'\ n '
[ 0.18909558653831482, -0.7128902673721313, 0.6423928141593933, -0.6311699748039246, -0.4333689510822296, 0.2222011387348175, -1.315042495727539, -0.02875971980392933, -0.11466052383184433, -0.6877743601799011, 0.4106472134590149, 0.5679422616958618, 0.3924395442008972, 0.3124834895133972, ...
def depthmatrix ( leftimage, rightimage, precision = 4, mask = 0 ) : info = cv. cvgetsize ( leftimage ) width = info. width height = info. height precision _ pixels = ( 2 * * precision ) downsampled _ size = cv. cvsize ( width / precision _ pixels, height / precision _ pixels ) print " precision of ", downsampled _ siz...
[ -0.24433210492134094, -0.6604911088943481, 1.25631582736969, 0.587907075881958, -0.21115528047084808, -0.1737106740474701, 0.7335153222084045, -0.020732548087835312, 0.5475945472717285, -0.3408789336681366, 0.3999415338039398, -0.13873670995235443, -0.5226203203201294, 0.185296431183815, ...
def weekly ( self, pattern _ dict ) : if isinstance ( pattern _ dict, bool ) : pattern _ dict = { } pattern _ dict ['freq _ type'] ='weekly'schedule _ pattern = schedulepattern ( self. _ pattern ) self. _ pattern = schedule _ pattern. create _ schedule _ pattern ( pattern _ dict ) self. _ modify _ task _ properties ( )
[ -0.7920241951942444, 1.0079450607299805, 0.5393998622894287, -0.7040103673934937, -0.022095398977398872, -0.06237517669796944, 0.5397478342056274, 1.172891616821289, 0.9809145927429199, -0.06008995324373245, -0.47446590662002563, 0.19220216572284698, -0.00846924353390932, -0.66527521610260...
def parse _ authors ( arg ) : if isinstance ( arg, list ) : names = ', '. join ( arg ['name'] ) [ : - 2 ] return names elif isinstance ( arg, dict ) : names = arg ['name'] return names
[ -1.0623092651367188, -0.5580072999000549, 0.7435240745544434, -0.32848620414733887, 0.012123163789510727, -0.46668320894241333, -0.6908910274505615, 0.5113792419433594, 0.2583327293395996, 0.9964211583137512, 0.250735342502594, 0.34429141879081726, -0.26112332940101624, 0.9129701256752014,...
def getdat ( self, * args ) : return _ snap. tstrintprvhi _ getdat ( self, * args )
[ 0.44280996918678284, 0.28994980454444885, 0.43942615389823914, -1.356248140335083, 0.7409436702728271, 0.8668376803398132, -0.1353820115327835, -0.3682675361633301, -1.400946855545044, -0.2429344803094864, 0.24880163371562958, 0.2201964110136032, -0.7646147012710571, -0.425966739654541, ...
def _ edit _ issue ( self, owner, repo, issue _ id, title, body ) : url = " % s / repos / % s / % s / issues / % s " % ( self. _ api _ url, owner, repo, issue _ id ) post _ data = { " title " : title, " body " : body } data = self. patch ( url, data = post _ data ) if not self. _ bad _ response and data : logger. info ...
[ -1.077904462814331, -0.034344855695962906, 0.38016295433044434, -0.7056981325149536, 0.06755060702562332, 0.3325159251689911, -1.3949275016784668, 0.3358638286590576, 0.1289244294166565, 0.5047553777694702, -0.29837241768836975, 0.6111710667610168, -0.6218737363815308, -0.458051860332489, ...
def failure _ policy ( self, failure _ policy ) : self. _ failure _ policy = failure _ policy
[ -0.06048552691936493, -0.12349209934473038, -0.19085030257701874, 0.2434537410736084, 0.8955957293510437, 1.6895828247070312, 0.24684086441993713, -0.28136298060417175, -0.4544007480144501, -0.4947798550128937, -0.9586578011512756, -0.8121064901351929, -0.09777441620826721, 0.8509970307350...
def find _ today _ data ( comp _ test ='' ) : if comp _ test = = " test " : # # - - - test case # cmd ='ls / data / mta / script / acis / bad _ pixels / house _ keeping / test _ data _ save / test _ data / * >'+ zspace os. system ( cmd ) today _ data = mcf. readfile ( zspace ) mcf. rm _ file ( zspace ) else : # # - - -...
[ -0.6010671854019165, -0.658491313457489, 0.918918251991272, 0.17606955766677856, -0.283590167760849, 0.6860120296478271, 0.47147634625434875, -0.06666149199008942, -0.4084571897983551, 0.1757822334766388, 0.42254310846328735, 0.1692020446062088, -0.0025177544448524714, 0.7687312364578247, ...
def seek ( self, offset _ bits, whence = seek _ set ) : # divmod handles positive and negative offsets correctly offset _ bytes, remainder _ bits = divmod ( offset _ bits, 8 ) self. byte _ source. seek ( offset _ bytes, whence ) self. bit _ seek _ pos = self. byte _ source. tell ( ) * 8 + remainder _ bits return self. ...
[ -0.836279571056366, 0.444787859916687, 0.4862968921661377, -0.2817710041999817, -0.33067139983177185, 0.6012949347496033, 0.5413221716880798, -0.6704160571098328, -0.09796179085969925, -0.6307032704353333, -0.029990429058670998, 0.6098267436027527, -0.654094398021698, -0.5138755440711975, ...
async def disconnect ( self, code ) : # leave all the groups we are still in for group _ id in list ( self. groups ) : try : await self. leave _ group ( group _ id ) except clienterror : pass
[ -0.8775745630264282, 0.5178136229515076, 0.4327242374420166, -0.33947092294692993, 0.927511990070343, -0.1188436821103096, -0.313753604888916, -0.46688205003738403, -0.4862636923789978, 0.3501623570919037, 0.22481980919837952, -0.3293731212615967, -1.5070003271102905, 0.5163132548332214, ...
def generate _ cv ( y, k, n _ repeats, seed ) : # determine whether to use k - fold or stratified k - fold num _ pos = np. sum ( y = = 1 ) num _ neg = y. size - num _ pos if k > y. size : warnings. warn ( " requested { 0 } folds too many for data - set with { 1 } " " samples. using { 1 } folds instead. ". format ( k, y...
[ 0.05096675083041191, 0.42098569869995117, 0.8698166608810425, 0.8748376369476318, -0.8710588216781616, 0.04643845185637474, -0.15016190707683563, -0.6424839496612549, 0.7510250210762024, -0.2417065054178238, 0.11067173629999161, 0.06999077647924423, 0.7520793676376343, 0.057984232902526855...
def get _ lr ( self ) : lr = ( self. initial _ lr if self. scheduler _ choice = = " null " else self. scheduler. optimizer. param _ groups [ 0 ] [ " lr " ] ) return lr
[ 0.3952534794807434, -0.2999935746192932, 0.4072161614894867, 0.016003403812646866, 0.10510492324829102, 0.014519056305289268, -0.8912895917892456, -0.3859151005744934, 0.1111062616109848, 0.24790996313095093, 0.6638674139976501, 0.0716683566570282, -0.6526178121566772, 1.0706403255462646, ...
def repository ( region ='us - west - 2') : client = boto3. client ('ecr ', region _ name = region ) try : client. create _ repository ( repositoryname ='tf - pipemode') except clienterror as ex : if'repositoryalreadyexistsexception'in ex. message : pass else : raise ex policy = { " version " : " 2008 - 10 - 17 ", " st...
[ -0.2540740966796875, 0.5374724864959717, 0.43674907088279724, -1.6635522842407227, 0.5407575368881226, 0.32291173934936523, -0.0005207047215662897, 0.44086790084838867, -0.32293957471847534, 0.4944453239440918, 0.0237354077398777, 0.032260581851005554, 0.45755115151405334, -0.2912174761295...
def _ _ init _ _ ( self, vision, class _ amount, filter _ min _ ratio = 0. 9, min _ area = 100 ) : self. vision = vision self. color = vision. color self. vision. filters. remove ( ) if type ( filter _ min _ ratio ) is float : self. rating _ ratio = filter _ min _ ratio * * len ( self. vision. get _ filters ( ) ) elif ...
[ -0.21428994834423065, -0.044269684702157974, 0.7810056209564209, 0.14051757752895355, -0.5285851359367371, -0.3484663963317871, -0.3909989595413208, 0.11109710484743118, 0.7412182092666626, 0.6331013441085815, 0.13957776129245758, 0.4470844268798828, 0.36718177795410156, 0.5879732966423035...
def show _ buttons ( self ) : fhandle = self. obj. get _ father _ handle ( ) self. update _ father ( fhandle ) mhandle = self. obj. get _ mother _ handle ( ) self. update _ mother ( mhandle )
[ 0.17695650458335876, -0.8975862860679626, 0.8052677512168884, -0.4010689854621887, 0.01315334066748619, 0.20916470885276794, 1.1360435485839844, 0.08935340493917465, -0.2852986752986908, -0.30171826481819153, -0.7136245369911194, 0.0751458927989006, 0.44448429346084595, 0.5288808345794678,...
def setup _ logging ( file _ paths : dict ) : # gets the log file from the configuration file. log _ file = file _ paths [ " logging " ] # starts the logging system. logging. basicconfig ( filename = log _ file, level = logging. debug, format = " % ( asctime ) s - % ( levelname ) s - % ( message ) s ", ) logging. debug...
[ 0.460730642080307, -0.050500936806201935, 0.35884472727775574, 0.4723762273788452, 0.5635779500007629, 0.18160328269004822, 0.08908682316541672, 0.5664529800415039, -0.46949630975723267, 0.1973135769367218, -0.1266348510980606, -0.508764386177063, 0.5239603519439697, 0.25028669834136963, ...
def new ( * args ) : return _ snap. tngraph _ new ( * args )
[ -0.6110645532608032, 0.291728138923645, 0.2706303000450134, -0.3883756101131439, -0.48387837409973145, -0.045470673590898514, 0.33076000213623047, -0.10779491066932678, -1.5926555395126343, 0.5558487772941589, -0.42505794763565063, -1.3442802429199219, 0.49015480279922485, 0.14181020855903...
def load _ sendto _ all ( self ) : context = self. context return context. getproperty ('forum _ sendto _ all ', false )
[ -0.5215310454368591, 0.2726708650588989, 0.42500245571136475, 0.010723781771957874, 0.17840078473091125, -0.5266143083572388, 0.09331219643354416, -0.39204585552215576, 0.35291174054145813, 0.34063223004341125, -0.577544629573822, 0.31366777420043945, -0.6601476669311523, 0.064116068184375...
def sort ( self, asc = true ) : return _ snap. schema _ sort ( self, asc )
[ -0.9145731925964355, 0.599642813205719, 0.4279399812221527, 0.39368483424186707, -0.40991538763046265, 0.16124676167964935, 0.48498114943504333, 0.04121648892760277, -0.2705151438713074, -0.30481311678886414, -0.8328475952148438, -0.12003286182880402, -0.6143606305122375, 0.508014023303985...
def create _ state ( self, index, weight ) : return zeros ( weight. shape, weight. context )
[ 0.4390595853328705, -0.7574398517608643, 0.18795251846313477, -0.4290914535522461, 0.281643807888031, -0.020205095410346985, -0.2609540522098541, -1.0281916856765747, 0.8782780766487122, 0.2605145275592804, 0.47700226306915283, -0.13627897202968597, -0.46921172738075256, -1.000354170799255...
def searchbin ( self, * args ) : return _ snap. schema _ searchbin ( self, * args )
[ -1.6200120449066162, 0.9808056354522705, 0.5919700264930725, 1.6357150077819824, 0.4738154113292694, 0.36535778641700745, 0.45396295189857483, -0.7210054993629456, -0.377677321434021, -0.6498055458068848, -1.090613842010498, 0.37706008553504944, -1.5923902988433838, 0.5216999650001526, 1...
def get _ posts _ by _ id ( self, id, count ) : if count > 25 : count = 25 # limit # getting community posts and information about him r = requests. get ('https : / / api. vk. com / method / wall. get ', params = {'owner _ id':'-'+ str ( id ),'count': count,'filter':'owner ','extended': 1,'access _ token': self. token,...
[ -0.05971859022974968, 0.03980149328708649, 0.7970321178436279, 0.5270220637321472, 0.27729639410972595, -0.4412634074687958, -0.04942912235856056, -0.35656529664993286, -0.13122671842575073, 0.3237380087375641, -0.6261821985244751, 0.25936755537986755, -0.019097238779067993, 0.862313330173...
def authorize ( self, username, password, hosting _ url, * args, * * kwargs ) : try : data, headers = self. client. json _ post ( url = hosting _ url +'/ session ', username = username, password = password ) except httperror as e : if e. code = = 404 : raise hostingserviceerror ( ugettext ('a review board gateway serve...
[ -0.9865593910217285, 0.507806658744812, 0.5773917436599731, 0.5660282969474792, 0.15192344784736633, -0.17035463452339172, 0.24273768067359924, 0.06175849959254265, -0.3158520460128784, 0.18695463240146637, -0.6139033436775208, 0.8585684895515442, -0.7131398320198059, -0.21598586440086365,...
def getch ( self, * args ) : return _ snap. tstr _ getch ( self, * args )
[ 0.19467410445213318, 1.0597352981567383, 0.30567777156829834, -0.1291891485452652, 1.2951627969741821, 0.10712485760450363, 1.283679485321045, -0.03080986626446247, -0.9406585693359375, -0.39317771792411804, -0.4447121024131775, -0.5492843985557556, 0.31047365069389343, -0.4050821363925934...
def memcache _ nodes ( self ) - > sequence ['outputs. noderesponse'] : return pulumi. get ( self, " memcache _ nodes " )
[ -0.5829302072525024, 0.5780433416366577, 0.22704558074474335, 0.2527742385864258, 0.8790391683578491, -0.10521173477172852, -0.19167737662792206, -0.35779017210006714, 0.7494281530380249, 0.48713335394859314, -0.7658971548080444, 0.8610126376152039, -0.09065182507038116, -0.553321003913879...
def _ _ str _ _ ( self ) : s ='y ='# a if ( self. a = = 0 ) : none else : # add sign if ( self. a < 0 ) : s = s +'-'# add number if ( abs ( self. a ) > 1 ) : s = s + str ( abs ( self. a ) ) # b if ( self. b = = 0 ) : s = s +'x'else : s = s +'( x'if ( self. b = = 0 ) : none else : # add sign if ( - self. b > 0 ) : s = s...
[ 0.2675989866256714, -1.2060883045196533, 1.074114441871643, -0.6497724056243896, -0.601992666721344, 0.38179805874824524, -0.009599401615560055, -0.6899005770683289, -0.18275736272335052, 0.15140555799007416, 0.018687523901462555, -0.016117950901389122, 0.10867812484502792, -0.099051058292...
def test _ run _ beta _ diversity _ through _ plots ( self ) : run _ beta _ diversity _ through _ plots ( self. test _ data ['biom'] [ 0 ], self. test _ data ['map'] [ 0 ], self. test _ out, call _ commands _ serially, self. params, self. qiime _ config, tree _ fp = self. test _ data ['tree'] [ 0 ], parallel = false, s...
[ 0.3401658535003662, 0.28128212690353394, 0.6849213242530823, -0.30202335119247437, 0.886335551738739, 0.924038290977478, 1.2679342031478882, -0.05059005320072174, -0.6392563581466675, -1.0598574876785278, 0.7573261260986328, -0.3905588984489441, -0.661844789981842, 0.16295549273490906, 0...
def test _ atomic _ hex _ binary _ pattern _ 4 _ nistxml _ sv _ iv _ atomic _ hex _ binary _ pattern _ 5 _ 5 ( mode, save _ output, output _ format ) : assert _ bindings ( schema = " nistdata / atomic / hexbinary / schema + instance / nistschema - sv - iv - atomic - hexbinary - pattern - 5. xsd ", instance = " nistdata...
[ -0.15390390157699585, -0.3693118393421173, 0.4480779767036438, 0.6708072423934937, -0.1836661696434021, 0.14174747467041016, 0.15983517467975616, -0.29163429141044617, -0.5284778475761414, 0.4738880693912506, -0.8847296833992004, -0.48763030767440796, -0.5358385443687439, 0.516104161739349...
def reduce ( self, * args ) : return _ snap. schema _ reduce ( self, * args )
[ -1.6420021057128906, 1.3616631031036377, 0.4884355068206787, 0.8436679244041443, 0.8161388635635376, 0.0321451760828495, 1.0289249420166016, 0.7498481273651123, -0.3795880079269409, -0.11021793633699417, -0.9067835211753845, -0.8680784106254578, -1.3250802755355835, 0.5059241652488708, 0...
def flush _ command _ stack ( cls ) : cls. executed _ commands _ stack = [ ]
[ -0.21199339628219604, 0.48541489243507385, 0.16205093264579773, 0.24091768264770508, 1.4421520233154297, 0.1375868320465088, 1.2950652837753296, -1.0591896772384644, -0.49572858214378357, 0.0391089953482151, -0.15078699588775635, 0.8572620153427124, -0.052151843905448914, 0.913636803627014...
def generate _ plot ( path, topics ) : tweet _ dataframe = pd. read _ csv ('{ } topic _ labels _ tweets. tsv '. format ( path ), sep ='\ t') # py. sign _ in ( plotly _ credentials. username, plotly _ credentials. plotly _ password ) # plotly with legend : # from https : / / github. com / minimaxir / pokemon - 3d / blob...
[ 0.06389764696359634, 0.53132563829422, 0.8187605142593384, -1.4689561128616333, -0.07010526955127716, 0.0743170753121376, -0.5116276144981384, 0.3950793147087097, -0.44902145862579346, 0.44857415556907654, -0.1286446899175644, 0.43834584951400757, 0.3685946464538574, -0.4248630702495575, ...
def _ _ init _ _ ( self, * args ) : _ snap. tintprintvhi _ swiginit ( self, _ snap. new _ tintprintvhi ( * args ) )
[ 0.4959976375102997, -0.5141145586967468, 0.3814127445220947, 1.4860470294952393, -0.6001700162887573, 0.0003543255152180791, -0.40210869908332825, 0.36368563771247864, -0.5959458947181702, -0.04560995474457741, -0.058524150401353836, 0.8148550391197205, -1.2153797149658203, 1.2864726781845...
def getkeyid ( self, * args ) : return _ snap. tinth _ getkeyid ( self, * args )
[ 0.14733092486858368, -0.3814065754413605, 0.6240729093551636, 0.8219663500785828, 0.9784017205238342, 0.7875115871429443, 0.09424829483032227, -1.0918848514556885, -0.09248203039169312, -0.20751351118087769, -0.7124243974685669, 0.8887821435928345, -1.7183927297592163, 0.4763530492782593, ...
def _ _ lt _ _ ( self, * args ) : return _ snap. tneanetastri _ _ _ lt _ _ ( self, * args )
[ 0.5307190418243408, -0.5419649481773376, 0.18071189522743225, -1.152885913848877, 0.7174273729324341, 0.06232467666268349, -0.22882217168807983, -0.7384772896766663, -0.5861924290657043, -0.06412360072135925, -0.2387150079011917, -1.400377631187439, -0.03201426938176155, 1.0173789262771606...
def _ getsystem ( self ) : return platform. system ( )
[ -0.5992357730865479, -0.6028560996055603, 0.24593648314476013, 0.010942013934254646, 0.0623304657638073, 0.08902415633201599, 0.18297965824604034, -1.5013659000396729, -0.2421538382768631, -1.2831034660339355, 0.38378044962882996, 0.4584330916404724, -0.3444371819496155, 0.4637042880058288...
def _ _ init _ _ ( self, attributes = none, constant = none, description = none, id = none, is _ array = none, is _ attribute = none, is _ map = none, is _ stream = none, name = none, nullable = none, optional = none, param _ format = none, mtype = none, additional _ properties = { } ) : # initialize members of the cla...
[ 0.43638283014297485, -1.1244845390319824, 0.7231428623199463, 0.24483023583889008, -0.15860648453235626, 0.46850278973579407, -0.39285552501678467, 0.4512748420238495, 0.6235655546188354, 0.15660803020000458, -0.2741353511810303, 0.6209997534751892, -0.0054529281333088875, 1.14632487297058...
def bias _ variable ( shape, j _, init _ b = none ) : if not list ( init _ b ) : initial = tf. constant ( 0. 1, shape = shape ) else : initial = tf. constant ( init _ b ) if self. config. iftl and j _ < self. config. nofixedlayer : return tf. variable ( initial, trainable = false ) else : return tf. variable ( initial,...
[ 0.12782280147075653, 0.016151120886206627, 0.4671311676502228, 0.26381179690361023, -0.21955309808254242, 0.002202060539275408, 0.41709911823272705, -0.18525102734565735, -0.9792934060096741, 0.7109329700469971, -0.8513720631599426, 1.065536379814148, -0.21885135769844055, -0.3660615980625...
def end _ check ( self, soup ) : blocks = soup. find _ all ('span ', {'itemprop':'title'} ) if len ( blocks ) = = 0 : print ('reached end of job board') return false else : print ('next page confirmed') return true
[ -0.06485553085803986, 0.49715104699134827, 0.9072616100311279, 0.42609450221061707, 0.15928345918655396, 0.43817877769470215, -0.4696938097476959, -0.39722132682800293, -0.465608686208725, -0.06057150661945343, -0.04273112490773201, -0.5141303539276123, -0.46707671880722046, 0.805946946144...
def create _ _ process _ chain _ entry ( input _ object : dataobject, target, source, output _ object : dataobject ) : # get info about the time series to extract its resolution settings and # bbox rn = randint ( 0, 1000000 ) # todo : do not create a new strds # only update labels in the input strds? pc = [ ] # source ...
[ 0.22193565964698792, -0.4673953056335449, 0.7748528718948364, -1.2958104610443115, 0.30255553126335144, -0.36864450573921204, -0.9308521747589111, -0.8847774267196655, -0.48398876190185547, 1.098526954650879, 0.296188622713089, 0.21698813140392303, 0.21600638329982758, 0.18487994372844696,...
def reverse ( self, * args ) : return _ snap. pneanetv _ reverse ( self, * args )
[ -1.6960595846176147, 1.0410025119781494, 0.22342243790626526, 0.33287665247917175, 1.0008381605148315, 1.0712329149246216, -0.2225164771080017, -0.24871893227100372, -1.342227816581726, -1.0117038488388062, -0.17293290793895721, -0.7415001392364502, -0.6156325340270996, 0.2941018342971802,...
def begeainti ( self, * args ) : return _ snap. tneanet _ begeainti ( self, * args )
[ -0.6927478313446045, -0.1531226634979248, 0.2797231674194336, -0.26989805698394775, 1.2172139883041382, 0.2927875816822052, 0.18872807919979095, -0.984602689743042, -1.5877294540405273, 0.24696248769760132, -0.09403739869594574, -1.1957727670669556, -0.9980374574661255, 0.6612938642501831,...
def setval ( self, * args ) : return _ snap. schema _ setval ( self, * args )
[ -0.9268954992294312, 1.060365080833435, 0.5184946060180664, 1.1192611455917358, 0.00897411908954382, 0.22754795849323273, 0.543327808380127, 0.635316789150238, -0.3141210973262787, -0.21825821697711945, -0.5572513937950134, 0.04201887175440788, -0.38795989751815796, 0.39048054814338684, ...
def _ _ lt _ _ ( self, * args ) : return _ snap. tdbstr _ _ _ lt _ _ ( self, * args )
[ 0.007372457534074783, -0.23403994739055634, 0.19206206500530243, -0.3598737120628357, -0.0815834105014801, 0.055706530809402466, -0.1619117707014084, -1.7331464290618896, -0.7603740692138672, -0.46458473801612854, -0.7770392298698425, -1.3840612173080444, 0.171616792678833, 0.4322815537452...
def _ _ str _ _ ( self ) : return self. asjsonstring ( )
[ -1.211294412612915, -2.0873684883117676, 0.5892478227615356, -1.3863476514816284, -1.0786527395248413, -0.023008964955806732, -0.43580400943756104, -1.0608583688735962, 0.7554344534873962, -0.2362934947013855, 0.39034053683280945, 0.8605570197105408, 0.5308569669723511, -0.836694598197937,...