query
stringlengths
10
3.6k
document
stringlengths
19
61.4k
metadata
dict
negatives
listlengths
0
101
negative_scores
listlengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Calculate GAN loss for the discriminator
def qdzX(YKHO): n9UN = YKHO.fake_B.detach() if YKHO.augment_pipe is not None: n9UN = YKHO.augment_pipe(n9UN) K3La = YKHO.netD(n9UN) YKHO.loss_D_fake = YKHO.criterionGAN(K3La, False).mean() if YKHO.vertical_flip or YKHO.horizontal_flip: RZDV = YKHO.flip_fake.detach() m1QA = YK...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MQYF(iMxe):\n if iMxe:\n N77f = xt2q(YNTO, uf3V)\n else:\n N77f = ZylS.add(xt2q(NcZM, PB_6), xt2q(1 - YNTO, AyLV), name=PhI6)\n return N77f", "def AOC4(Oa1e, Csk6, Yw_3, i63c, **B2fa):\n WKvO = Oa1e(i63c, **B2fa)\n tTpl = ZylS.random.uniform([ZylS.shape(Yw_3)[0], 1, 1, 1])\n f...
[ "0.7656528", "0.7500776", "0.7443934", "0.7375168", "0.73524827", "0.7344937", "0.72886795", "0.72307914", "0.71859646", "0.7184881", "0.71775943", "0.71699685", "0.716676", "0.7160415", "0.7133836", "0.7129042", "0.7095958", "0.7080802", "0.7058385", "0.7031051", "0.7012525"...
0.65747076
55
Return 'hello, world!' for this root route.
def Z1md(): return 'Hello, world!'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wzeq():\n return 'Welcome to the djtango server'", "def d6pt():\n return 'This is root!!!!'", "def Wzeq():\n return 'Hello World!'", "def uthR():\n Ol8d = 'hello'\n return TvZl('index.html', message=Ol8d)", "def d6pt(YKHO):\n return 'Hello World!'", "def d6pt(YKHO):\n return 'Hel...
[ "0.71275306", "0.7017189", "0.6961596", "0.6938888", "0.69365686", "0.69365686", "0.69365686", "0.69108784", "0.6908231", "0.68945384", "0.68849677", "0.68802756", "0.68750656", "0.6864023", "0.6840864", "0.6829777", "0.6829777", "0.68267465", "0.68267465", "0.6813002", "0.67...
0.6481464
38
This brings up the portfolio page.
def HVIF(): return TvZl('portfolio.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dHF3():\n return TvZl('portfolio.html', portfolio=HVIF.find())", "def YjPi() -> str:\n return TvZl('portfolio.html', portfolio=hpje)", "def HVIF():\n return TvZl('portfolio.html', name=c5ow.first_name)", "def d6pt():\n uJjO = cuiw['user_id']\n return SvIa(cuiw, uJjO, RP5H, TKIU)", "def V...
[ "0.79931474", "0.7247661", "0.7239786", "0.6697311", "0.6666127", "0.6349836", "0.634159", "0.631147", "0.62202114", "0.62199545", "0.62061656", "0.6176944", "0.614886", "0.6140041", "0.6117449", "0.61102843", "0.59975624", "0.5986092", "0.5911352", "0.59093434", "0.5904073",...
0.78678256
1
This brings up the contact page.
def Mxk0(): if QePW.method == 'POST': Dwep("This isn't set up yet!", 'error') return vKnz('/') return TvZl('contact.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gl53():\n return TvZl('contact.html')", "def Mxk0():\n return TvZl('contact.html', title='contact')", "def Mxk0():\n bo34.info('User visited the contact page.')\n return TvZl('contact.html')", "def Mxk0():\n return TvZl('contact.html')", "def Mxk0():\n return TvZl('contact.html')", ...
[ "0.80990875", "0.8091185", "0.7922418", "0.7891025", "0.7888919", "0.7888919", "0.78799015", "0.78407955", "0.7822672", "0.7822672", "0.7822672", "0.7822672", "0.7822672", "0.7822672", "0.7822672", "0.7822672", "0.7822672", "0.7822672", "0.7822672", "0.7822672", "0.7822672", ...
0.6895161
92
Return the operator for the change involving PATH. PATH is allowed to include string interpolation directives (e.g., '%(trunk)s'), which are interpolated against self.symbols. Return None if there is no record for PATH.
def JnV8(YKHO, pmON): return YKHO.changed_paths.get(pmON % YKHO.symbols)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def seET(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'operator')", "def seET(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'operator')", "def seET(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'operator')", "def seET(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'ope...
[ "0.6365", "0.63320845", "0.63320845", "0.63320845", "0.63320845", "0.63320845", "0.63320845", "0.63320845", "0.63320845", "0.63320845", "0.63320845", "0.63320845", "0.6115858", "0.6115858", "0.6115858", "0.60262585", "0.5993798", "0.59592944", "0.59336114", "0.5916576", "0.58...
0.7270506
0
Return the number of cvs2svn's last pass.
def YOtX(Emd4): if Emd4.last_pass is None: yvT9 = wmOK(xDEr, None, '--help-passes') Emd4.last_pass = int(yvT9[-1].split()[0]) return Emd4.last_pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u5GI(YKHO):\n return YKHO._get_build_number('lastSuccessfulBuild')", "def uCWO(U0Zt):\n ewCu = U0Zt.run('counter', '-u', K6TX())\n if ewCu:\n return int(vejr.first_value_for_key(ewCu, 'value'))\n else:\n return 0", "def FwFi(YKHO):\n return YKHO._server.get_job_info(YKHO.build_...
[ "0.5721278", "0.56908214", "0.5684407", "0.5648974", "0.5632762", "0.56275785", "0.5624044", "0.55651176", "0.55507463", "0.55433774", "0.5519339", "0.5518997", "0.551725", "0.5511728", "0.5498577", "0.5492602", "0.5483288", "0.54675716", "0.5455644", "0.54541576", "0.5447061...
0.80641574
0
Puts the MNIST data in the right format.
def rBZF(Ffz0=False): (Lcqa, VJv0), (Z5wO, H96n) = w37D.load_data() if Ffz0: Z5wO = oyIN.where(Z5wO >= 10, 1, -1) Lcqa = oyIN.where(Lcqa >= 10, 1, -1) else: Lcqa = (Lcqa.astype(oyIN.float32) - 127.5) / 127.5 Z5wO = (Z5wO.astype(oyIN.float32) - 127.5) / 127.5 Lcqa = oyIN.e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jEop(YKHO):\n (cC56, SBxS), (sAoX, Yc8x) = w37D.load_data()\n ndi4 = (28, 28, 1)\n cC56 = oyIN.reshape(cC56, [-1, *ndi4])\n sAoX = oyIN.reshape(sAoX, [-1, *ndi4])\n cC56 = cC56.astype('float32') / 255.0\n sAoX = sAoX.astype('float32') / 255.0\n return (cC56, sAoX)", "def fgR2(YKHO, VKhi)...
[ "0.7078662", "0.697931", "0.69455045", "0.6864995", "0.68131864", "0.67955154", "0.6780171", "0.6758507", "0.6747253", "0.6724888", "0.6680246", "0.66240466", "0.6599314", "0.65961415", "0.6585823", "0.6581477", "0.6552651", "0.652992", "0.65271574", "0.652396", "0.652396", ...
0.64677715
23
Test user initialized flow with duplicate name.
async def test_flow_user_name_already_configured(ajET: HomeAssistant) -> None: bTKY = Jaru(domain=Sugg, data=w8UI, unique_id='abc') bTKY.add_to_hass(ajET) RTkF = w8UI.copy() RTkF[rqtZ] = 'abc1' Aofo = await ajET.config_entries.flow.async_init(Sugg, context={'source': kzTJ.SOURCE_USER}) Aofo = aw...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def test_flow_user(ajET: HomeAssistant):\n GEFr = GYhv()\n with S9Sq(GEFr):\n Aofo = await ajET.config_entries.flow.async_init(Sugg, context={'source': L8nN})\n assert Aofo['type'] == _gzR.FORM\n assert Aofo['step_id'] == 'user'\n assert Aofo['errors'] == {}\n Wljz(aj...
[ "0.66315097", "0.6629262", "0.64762944", "0.6447777", "0.6444204", "0.64394516", "0.6387908", "0.63667285", "0.63500035", "0.6348579", "0.6299783", "0.6218669", "0.6155505", "0.609791", "0.60892093", "0.6087251", "0.60813403", "0.60804677", "0.6062201", "0.6050836", "0.603903...
0.69211316
0
Create a random string of the specified length.
def BWvy(u54L, t4HI=None): t4HI = t4HI or vIwR.ascii_letters + vIwR.digits + vIwR.punctuation return ''.join([Acvy(t4HI) for bGrB in range(u54L)])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MiNk(u54L):\n gLiZ = vIwR.ascii_lowercase + vIwR.ascii_uppercase + vIwR.digits\n return ''.join((tuKI.choice(gLiZ) for WKvO in range(u54L)))", "def YzjY(u54L):\n dBuj = vIwR.ascii_uppercase + vIwR.ascii_lowercase + vIwR.digits\n return b''.join((tuKI.choice(dBuj) for bGrB in range(u54L)))", "de...
[ "0.889979", "0.8864764", "0.870842", "0.8691759", "0.8685745", "0.8668545", "0.8661211", "0.86404717", "0.86404717", "0.8633254", "0.86202943", "0.8599715", "0.8590559", "0.8584577", "0.85806686", "0.8575263", "0.85600924", "0.8551072", "0.85436875", "0.8542229", "0.85015875"...
0.0
-1
Return an ISO8601 Zulu timestamp given seconds since the epoch.
def NrpM(C6wh, format=FMLJ): return qcWV.utcfromtimestamp(C6wh).strftime(format)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pUXG(P6bq):\n return P6bq.timestamp()", "def Jj31(BWXx):\n return (BWXx - qtWj).total_seconds()", "def S1BX(C6wh):\n import time\n return time.ctime(C6wh)", "def yIp6(qtWj):\n return lwT1.datetime.utcfromtimestamp(qtWj).isoformat()", "def hMwl(KCHu):\n return qcWV.fromtimestamp(KCHu, ...
[ "0.7295451", "0.71953994", "0.7162777", "0.7001842", "0.6908457", "0.68685526", "0.68643725", "0.6833507", "0.6830782", "0.68095976", "0.68060476", "0.67897516", "0.6741357", "0.67303246", "0.67270863", "0.6684248", "0.66355914", "0.663008", "0.6604273", "0.66024935", "0.6599...
0.6630668
17
Return a 404 response body, depending on the resource. Expects resource to be one of "images", "flavors", "loadbalancer", or "node". If the resource is unrecognized, defaults to "The resource culd not be found."
def S6CV(Eorv='servers'): Ol8d = {'images': 'Image not found.', 'flavors': 'The resource could not be found.', 'loadbalancer': 'Load balancer not found', 'node': 'Node not found'} _hkX = {'itemNotFound': {'message': Ol8d.get(Eorv, 'The resource could not be found.'), 'code': 404}} if Eorv == 'loadbalancer' ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def w9Bq(AJ5d):\n return (pz3A(error=str(AJ5d)), 404)", "def w9Bq(P1dF):\n return (pz3A({'success': False, 'error': 404, 'message': 'This resoure has not been found.'}), 404)", "def o3cf(P1dF):\n geh0 = pz3A({'success': False, 'error_code': 'not_found', 'description': 'The resource could not be found ...
[ "0.7198058", "0.70498884", "0.6980232", "0.6862865", "0.6851366", "0.6645054", "0.6630454", "0.6545022", "0.6545022", "0.65014404", "0.6500084", "0.64827555", "0.64466846", "0.64116144", "0.6392691", "0.6383667", "0.63819236", "0.6380059", "0.6380059", "0.63389313", "0.632814...
0.8123452
0
Return an experiment directory (full path) for the given experiment.
def yMM3(NtEF, B5PH=None, t6ks=None, pmON=None): NEz3 = tq97(NtEF) if pmON is None: PVxW = NEz3.get_valid_name(B5PH) if not NEz3.exists(PVxW): ATwz(NtEF, PVxW) Z6za = Hy7s.path.join(PVxW, NEz3.get_valid_name(t6ks)) Z6za = NEz3.get_available_name(Z6za) kuHn = N...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZLjc(YKHO):\n return YKHO._experiment_directory", "def FkfS():\n return iu9b.path('experiment-folders')", "def yMM3(NtEF, B5PH, t6ks):\n Z6za = Hy7s.path.join(N0FK(NtEF), X1uB.get_valid_name(B5PH), X1uB.get_valid_name(t6ks))\n kuHn = X1uB.path(Z6za)\n if not X1uB.exists(kuHn):\n Hy7s....
[ "0.7965281", "0.79264396", "0.78209305", "0.7529461", "0.7337225", "0.72698617", "0.71507543", "0.70766795", "0.7072733", "0.6995298", "0.6811462", "0.67130816", "0.658977", "0.6581075", "0.65641063", "0.6533539", "0.64849484", "0.6464892", "0.63953453", "0.636671", "0.633441...
0.7259132
6
Get an operation object from this list. Returns `None` if an operation with this id is not in the list.
def NMoC(YKHO, id): with YKHO.lock: return YKHO.list.get(id, None)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kSdD(YKHO, id):\n with YKHO.lock:\n if id in YKHO.list:\n oPhP = YKHO.list[id]\n del YKHO.list[id]\n return oPhP\n else:\n return None", "def E7wa(YKHO, XWXe):\n return YKHO.__operations[XWXe]", "def E7wa(YKHO, mWFP):\n for ZfUD in YKHO.ope...
[ "0.68922365", "0.689198", "0.6872585", "0.6872585", "0.6812563", "0.6628981", "0.6574436", "0.6567166", "0.63772565", "0.62641954", "0.6213559", "0.6199209", "0.6175757", "0.6142147", "0.61292726", "0.6043681", "0.6043681", "0.60104346", "0.59632415", "0.595479", "0.59045374"...
0.51595885
80
Yield directory names not starting with '.' under given path.
def uvLY(pmON): for bTKY in Hy7s.scandir(pmON): if not bTKY.name.startswith('.') and (not bTKY.is_dir()): yield bTKY.name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wCGr(pmON):\n b5F8 = ('_', '.')\n wRHU = ('~', '.swp')\n Ni4D = [Hy7s.path.join(tk5Y, eHNT) for tk5Y, AQSv, RRlC in Hy7s.walk(pmON) for eHNT in RRlC if not eHNT.endswith(wRHU) and (not eHNT.startswith(b5F8))]\n return Ni4D", "def xdJk(pmON='.', EdbX=[], S7rU=['.~tmp~']):\n for bTKY in z0ez(pmO...
[ "0.74933386", "0.74534756", "0.7450694", "0.7447889", "0.72097915", "0.7201068", "0.7091837", "0.7061425", "0.70608944", "0.70267725", "0.70178246", "0.69043547", "0.68960506", "0.68484896", "0.68407345", "0.6813787", "0.6806253", "0.67915225", "0.6788296", "0.6776485", "0.67...
0.7840103
1
sets xlim for all axes of figure FIG to LIM
def U1qj(LZpg, Xk2t): import pylab if LZpg is None: LZpg = pylab.gcf() rA_a = LZpg.get_axes() for aNZO in rA_a: aNZO.set_xlim(Xk2t)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UhOF(LZpg, jk7u):\n for jDK_ in LZpg.axes:\n jDK_.set_xlim(jk7u)", "def foqL(aNZO, jk7u):\n LqO4(jk7u, aNZO.get_xlim, aNZO.set_xlim)", "def ggvf(YKHO, jk7u):\n super()._set_xlim(jk7u)\n if jk7u == 'freqs':\n YKHO.ax.set_xlim([0, YKHO.freqs[-1]])\n elif jk7u == 'config':\n ...
[ "0.8524727", "0.8013166", "0.7799066", "0.77972615", "0.7677006", "0.7467959", "0.73648894", "0.7335622", "0.7335217", "0.71829027", "0.70157", "0.6984744", "0.69255435", "0.68683815", "0.68680453", "0.6855478", "0.67165035", "0.66585076", "0.6604302", "0.6583586", "0.6548104...
0.8436414
1
sets ylim for all axes of figure FIG to LIM
def Y7aN(LZpg, Xk2t): import pylab if LZpg is None: LZpg = pylab.gcf() rA_a = LZpg.get_axes() for aNZO in rA_a: aNZO.set_ylim(Xk2t)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YFnD(LZpg, rTQi, jDK_=0):\n LZpg.axes[jDK_].set_ylim(rTQi)", "def Vzbz(YKHO, rTQi):\n if rTQi == 'fractions':\n YKHO.ax.set_ylim([0, 1])\n elif rTQi == 'covariances':\n YKHO.ax.set_ylim([-1 / 4, 1])\n elif rTQi == 'unbounded':\n pass", "def Vx3B(aNZO, rTQi):\n LqO4(rTQi,...
[ "0.84509957", "0.83697724", "0.83090574", "0.82991105", "0.7766013", "0.7696892", "0.75529414", "0.7475957", "0.7465704", "0.7439906", "0.72980326", "0.7226566", "0.7130068", "0.7041129", "0.7034761", "0.7030344", "0.7027865", "0.700785", "0.69594455", "0.6827694", "0.6823358...
0.8587065
0
Interpolate the irregular spaced dataset from badlands on a regular grid.
def zaQ0(YKHO, jNOo=None, epBp=None, aUJK=None): WKvO, LVAh = oyIN.hsplit(jNOo, 2) Jw7X = (WKvO[1] - WKvO[0])[0] jHsn = int((WKvO.max() - WKvO.min()) / Jw7X + 1 - 2) pvd3 = int((LVAh.max() - LVAh.min()) / Jw7X + 1 - 2) Y7fn = oyIN.linspace(WKvO.min(), WKvO.max(), jHsn) O5iP = oyIN.linspace(LVAh....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def I4ao(YKHO, WbAn):\n VdBn = oyIN.array(WbAn)\n FKX_ = oyIN.ravel(oyIN.argwhere(VdBn != YKHO.gap_value))\n PCkh = VdBn[FKX_]\n mAsC = _anc.interp1d(FKX_, PCkh)\n WKvO = oyIN.arange(0, len(VdBn))\n VdBn = mAsC(WKvO)\n return VdBn", "def le01(akib):\n cbwj = akib & ~qVG7\n S3qe = akib ...
[ "0.64443296", "0.6323659", "0.6322384", "0.63219756", "0.6306287", "0.625369", "0.6188331", "0.6178131", "0.61749464", "0.6147468", "0.6117175", "0.60305333", "0.60175914", "0.5978002", "0.5977834", "0.59581554", "0.5944127", "0.5903639", "0.58666146", "0.5863339", "0.5861144...
0.0
-1
__sub__(itkRGBPixelD self, itkRGBPixelD vec) > itkRGBPixelD
def qjfR(YKHO, he6J: 'itkRGBPixelD') -> 'itkRGBPixelD': return XqLJ.itkRGBPixelD___sub__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qjfR(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS':\n return XqLJ.itkRGBPixelUS___sub__(YKHO, he6J)", "def vMlp(YKHO, he6J: 'itkRGBPixelD') -> 'itkRGBPixelD const &':\n return XqLJ.itkRGBPixelD___isub__(YKHO, he6J)", "def qjfR(YKHO, he6J: 'itkRGBPixelF') -> 'itkRGBPixelF':\n return XqLJ.itkRGBPi...
[ "0.82344097", "0.8119879", "0.8091936", "0.8044095", "0.7699866", "0.75892466", "0.7563824", "0.74524176", "0.7278885", "0.72266006", "0.70882434", "0.70490324", "0.6906425", "0.6861048", "0.6532666", "0.6438525", "0.63913256", "0.6357409", "0.6282311", "0.62475985", "0.62082...
0.8639755
0
__isub__(itkRGBPixelD self, itkRGBPixelD vec) > itkRGBPixelD
def vMlp(YKHO, he6J: 'itkRGBPixelD') -> 'itkRGBPixelD const &': return XqLJ.itkRGBPixelD___isub__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vMlp(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS const &':\n return XqLJ.itkRGBPixelUS___isub__(YKHO, he6J)", "def vMlp(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC const &':\n return XqLJ.itkRGBPixelUC___isub__(YKHO, he6J)", "def vMlp(YKHO, he6J: 'itkRGBPixelF') -> 'itkRGBPixelF const &':\n ...
[ "0.85249734", "0.845809", "0.84312445", "0.7862888", "0.78074545", "0.77653337", "0.7709949", "0.7505252", "0.7433437", "0.74254787", "0.7373636", "0.7350979", "0.73450357", "0.724476", "0.72078997", "0.69656336", "0.6936529", "0.68532145", "0.68084735", "0.6718324", "0.67150...
0.89103305
0
__lt__(itkRGBPixelD self, itkRGBPixelD vec) > bool
def JWbp(YKHO, he6J: 'itkRGBPixelD') -> 'bool': return XqLJ.itkRGBPixelD___lt__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JWbp(YKHO, he6J: 'itkRGBPixelUS') -> 'bool':\n return XqLJ.itkRGBPixelUS___lt__(YKHO, he6J)", "def JWbp(YKHO, he6J: 'itkRGBPixelF') -> 'bool':\n return XqLJ.itkRGBPixelF___lt__(YKHO, he6J)", "def JWbp(YKHO, he6J: 'itkRGBPixelUC') -> 'bool':\n return XqLJ.itkRGBPixelUC___lt__(YKHO, he6J)", "def x...
[ "0.90014637", "0.8930354", "0.8757044", "0.76321477", "0.73165125", "0.72721446", "0.7142755", "0.7123516", "0.7018697", "0.693615", "0.66791093", "0.65359914", "0.6495389", "0.64604306", "0.6427942", "0.6422056", "0.64137167", "0.6393363", "0.6393105", "0.6382839", "0.637753...
0.93409044
0
__eq__(itkRGBPixelD self, itkRGBPixelD vec) > bool
def xa14(YKHO, he6J: 'itkRGBPixelD') -> 'bool': return XqLJ.itkRGBPixelD___eq__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, he6J: 'itkRGBPixelUS') -> 'bool':\n return XqLJ.itkRGBPixelUS___eq__(YKHO, he6J)", "def xa14(YKHO, he6J: 'itkRGBPixelF') -> 'bool':\n return XqLJ.itkRGBPixelF___eq__(YKHO, he6J)", "def xa14(YKHO, he6J: 'itkRGBPixelUC') -> 'bool':\n return XqLJ.itkRGBPixelUC___eq__(YKHO, he6J)", "def v...
[ "0.88984996", "0.87802833", "0.8638345", "0.78302", "0.7821268", "0.7495305", "0.7462864", "0.7295754", "0.7227679", "0.7220648", "0.70611405", "0.7021493", "0.6878924", "0.6697279", "0.6657873", "0.6653866", "0.65902275", "0.6575088", "0.654162", "0.65234256", "0.65216905", ...
0.92129093
0
__sub__(itkRGBPixelF self, itkRGBPixelF vec) > itkRGBPixelF
def qjfR(YKHO, he6J: 'itkRGBPixelF') -> 'itkRGBPixelF': return XqLJ.itkRGBPixelF___sub__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qjfR(YKHO, he6J: 'itkRGBPixelD') -> 'itkRGBPixelD':\n return XqLJ.itkRGBPixelD___sub__(YKHO, he6J)", "def qjfR(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS':\n return XqLJ.itkRGBPixelUS___sub__(YKHO, he6J)", "def vMlp(YKHO, he6J: 'itkRGBPixelF') -> 'itkRGBPixelF const &':\n return XqLJ.itkRGBPix...
[ "0.8147007", "0.8120618", "0.7994247", "0.7971387", "0.768405", "0.76709044", "0.75948465", "0.75012445", "0.7227421", "0.72048014", "0.7091168", "0.7026633", "0.69493794", "0.69156337", "0.6689271", "0.6243217", "0.6225747", "0.62084436", "0.6201638", "0.6166856", "0.6076019...
0.843924
0
__isub__(itkRGBPixelF self, itkRGBPixelF vec) > itkRGBPixelF
def vMlp(YKHO, he6J: 'itkRGBPixelF') -> 'itkRGBPixelF const &': return XqLJ.itkRGBPixelF___isub__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vMlp(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS const &':\n return XqLJ.itkRGBPixelUS___isub__(YKHO, he6J)", "def vMlp(YKHO, he6J: 'itkRGBPixelD') -> 'itkRGBPixelD const &':\n return XqLJ.itkRGBPixelD___isub__(YKHO, he6J)", "def vMlp(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC const &':\n r...
[ "0.84421015", "0.8409684", "0.84081715", "0.79750794", "0.7843077", "0.77915883", "0.7675881", "0.76296514", "0.7471111", "0.7453399", "0.73497343", "0.73157007", "0.73023003", "0.72541165", "0.7123995", "0.6858878", "0.68308365", "0.671728", "0.6595957", "0.65860605", "0.642...
0.88119745
0
__lt__(itkRGBPixelF self, itkRGBPixelF vec) > bool
def JWbp(YKHO, he6J: 'itkRGBPixelF') -> 'bool': return XqLJ.itkRGBPixelF___lt__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JWbp(YKHO, he6J: 'itkRGBPixelD') -> 'bool':\n return XqLJ.itkRGBPixelD___lt__(YKHO, he6J)", "def JWbp(YKHO, he6J: 'itkRGBPixelUS') -> 'bool':\n return XqLJ.itkRGBPixelUS___lt__(YKHO, he6J)", "def JWbp(YKHO, he6J: 'itkRGBPixelUC') -> 'bool':\n return XqLJ.itkRGBPixelUC___lt__(YKHO, he6J)", "def J...
[ "0.89553225", "0.8949019", "0.87217593", "0.7480453", "0.7445148", "0.7271358", "0.722916", "0.71024203", "0.7049469", "0.6831169", "0.67707014", "0.67607844", "0.67344373", "0.65319276", "0.64726806", "0.6454073", "0.64472836", "0.642265", "0.64182734", "0.64152515", "0.6372...
0.9307974
0
__eq__(itkRGBPixelF self, itkRGBPixelF vec) > bool
def xa14(YKHO, he6J: 'itkRGBPixelF') -> 'bool': return XqLJ.itkRGBPixelF___eq__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, he6J: 'itkRGBPixelUS') -> 'bool':\n return XqLJ.itkRGBPixelUS___eq__(YKHO, he6J)", "def xa14(YKHO, he6J: 'itkRGBPixelD') -> 'bool':\n return XqLJ.itkRGBPixelD___eq__(YKHO, he6J)", "def xa14(YKHO, he6J: 'itkRGBPixelUC') -> 'bool':\n return XqLJ.itkRGBPixelUC___eq__(YKHO, he6J)", "def J...
[ "0.8879837", "0.88262576", "0.8637953", "0.78369653", "0.7640252", "0.74635357", "0.741157", "0.7390364", "0.72550786", "0.72206676", "0.7058809", "0.7020564", "0.68294656", "0.67230606", "0.66963834", "0.6635232", "0.661991", "0.661991", "0.6587454", "0.65582246", "0.6535908...
0.9224897
0
__add__(itkRGBPixelUC self, itkRGBPixelUC vec) > itkRGBPixelUC
def FOdN(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC': return XqLJ.itkRGBPixelUC___add__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CaoY(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC const &':\n return XqLJ.itkRGBPixelUC___iadd__(YKHO, he6J)", "def FOdN(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS':\n return XqLJ.itkRGBPixelUS___add__(YKHO, he6J)", "def CaoY(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS const &':\n return ...
[ "0.893887", "0.847776", "0.8251217", "0.79204106", "0.77888834", "0.7709314", "0.7608717", "0.75337213", "0.74447143", "0.738954", "0.7389505", "0.737439", "0.7364222", "0.69919735", "0.69855756", "0.69773906", "0.69035095", "0.68723226", "0.68465304", "0.6843537", "0.682727"...
0.9127079
0
__sub__(itkRGBPixelUC self, itkRGBPixelUC vec) > itkRGBPixelUC
def qjfR(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC': return XqLJ.itkRGBPixelUC___sub__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vMlp(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC const &':\n return XqLJ.itkRGBPixelUC___isub__(YKHO, he6J)", "def qjfR(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS':\n return XqLJ.itkRGBPixelUS___sub__(YKHO, he6J)", "def vMlp(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS const &':\n return ...
[ "0.8311157", "0.82670695", "0.7882395", "0.78042036", "0.77091086", "0.76060456", "0.7479575", "0.73593146", "0.72845685", "0.72831", "0.69870275", "0.6940699", "0.68916", "0.669633", "0.66669977", "0.6629821", "0.6610589", "0.6360458", "0.6347006", "0.6338241", "0.6308562", ...
0.86779433
0
__iadd__(itkRGBPixelUC self, itkRGBPixelUC vec) > itkRGBPixelUC
def CaoY(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC const &': return XqLJ.itkRGBPixelUC___iadd__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FOdN(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC':\n return XqLJ.itkRGBPixelUC___add__(YKHO, he6J)", "def CaoY(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS const &':\n return XqLJ.itkRGBPixelUS___iadd__(YKHO, he6J)", "def FOdN(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS':\n return XqLJ.itk...
[ "0.890888", "0.8374838", "0.8344152", "0.7836747", "0.77891326", "0.76498747", "0.758643", "0.75557876", "0.7540222", "0.7521231", "0.74985194", "0.74707454", "0.73923343", "0.7162539", "0.6998114", "0.6954249", "0.68809044", "0.6850791", "0.6837872", "0.6788877", "0.6787699"...
0.895267
0
__isub__(itkRGBPixelUC self, itkRGBPixelUC vec) > itkRGBPixelUC
def vMlp(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC const &': return XqLJ.itkRGBPixelUC___isub__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vMlp(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS const &':\n return XqLJ.itkRGBPixelUS___isub__(YKHO, he6J)", "def xa14(YKHO, he6J: 'itkRGBPixelUC') -> 'bool':\n return XqLJ.itkRGBPixelUC___eq__(YKHO, he6J)", "def qjfR(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC':\n return XqLJ.itkRGBPixelUC...
[ "0.8520629", "0.82224077", "0.79781276", "0.7967315", "0.7945845", "0.7908747", "0.76063055", "0.75870466", "0.7422933", "0.72751325", "0.71485823", "0.7102776", "0.7025854", "0.6957238", "0.6861103", "0.6838499", "0.6813122", "0.68077993", "0.6800464", "0.6798027", "0.679031...
0.89966804
0
__lt__(itkRGBPixelUC self, itkRGBPixelUC vec) > bool
def JWbp(YKHO, he6J: 'itkRGBPixelUC') -> 'bool': return XqLJ.itkRGBPixelUC___lt__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JWbp(YKHO, he6J: 'itkRGBPixelUS') -> 'bool':\n return XqLJ.itkRGBPixelUS___lt__(YKHO, he6J)", "def JWbp(YKHO, he6J: 'itkRGBPixelD') -> 'bool':\n return XqLJ.itkRGBPixelD___lt__(YKHO, he6J)", "def JWbp(YKHO, he6J: 'itkRGBPixelF') -> 'bool':\n return XqLJ.itkRGBPixelF___lt__(YKHO, he6J)", "def xa1...
[ "0.91167635", "0.87262905", "0.8659757", "0.77568126", "0.7447327", "0.725002", "0.7176106", "0.6993605", "0.69640213", "0.6763975", "0.6758178", "0.66395336", "0.66123956", "0.6606125", "0.6444634", "0.6433031", "0.63958126", "0.6390387", "0.63331366", "0.6210667", "0.614167...
0.9348038
0
__eq__(itkRGBPixelUC self, itkRGBPixelUC vec) > bool
def xa14(YKHO, he6J: 'itkRGBPixelUC') -> 'bool': return XqLJ.itkRGBPixelUC___eq__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, he6J: 'itkRGBPixelUS') -> 'bool':\n return XqLJ.itkRGBPixelUS___eq__(YKHO, he6J)", "def xa14(YKHO, he6J: 'itkRGBPixelD') -> 'bool':\n return XqLJ.itkRGBPixelD___eq__(YKHO, he6J)", "def xa14(YKHO, he6J: 'itkRGBPixelF') -> 'bool':\n return XqLJ.itkRGBPixelF___eq__(YKHO, he6J)", "def vMl...
[ "0.9004519", "0.8458848", "0.84317017", "0.8061361", "0.7961817", "0.7769989", "0.7591245", "0.7500109", "0.7393258", "0.73208076", "0.72013736", "0.71855277", "0.71487707", "0.689058", "0.6886185", "0.67031306", "0.6550211", "0.65417707", "0.65368325", "0.6519747", "0.647764...
0.9305151
0
__sub__(itkRGBPixelUS self, itkRGBPixelUS vec) > itkRGBPixelUS
def qjfR(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS': return XqLJ.itkRGBPixelUS___sub__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vMlp(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS const &':\n return XqLJ.itkRGBPixelUS___isub__(YKHO, he6J)", "def qjfR(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC':\n return XqLJ.itkRGBPixelUC___sub__(YKHO, he6J)", "def vMlp(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC const &':\n return ...
[ "0.79931396", "0.79821885", "0.7743628", "0.76723486", "0.76603156", "0.75216895", "0.7507947", "0.74170536", "0.7258443", "0.72076195", "0.7077123", "0.69310683", "0.6926838", "0.6408149", "0.6352155", "0.6305902", "0.62837636", "0.6271524", "0.6219449", "0.5982849", "0.5900...
0.83274317
0
__isub__(itkRGBPixelUS self, itkRGBPixelUS vec) > itkRGBPixelUS
def vMlp(YKHO, he6J: 'itkRGBPixelUS') -> 'itkRGBPixelUS const &': return XqLJ.itkRGBPixelUS___isub__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vMlp(YKHO, he6J: 'itkRGBPixelUC') -> 'itkRGBPixelUC const &':\n return XqLJ.itkRGBPixelUC___isub__(YKHO, he6J)", "def vMlp(YKHO, he6J: 'itkRGBPixelD') -> 'itkRGBPixelD const &':\n return XqLJ.itkRGBPixelD___isub__(YKHO, he6J)", "def vMlp(YKHO, he6J: 'itkRGBPixelF') -> 'itkRGBPixelF const &':\n ret...
[ "0.8617251", "0.8173471", "0.80974007", "0.8035835", "0.79901433", "0.7759175", "0.7748097", "0.7664998", "0.7478379", "0.71570563", "0.7127815", "0.70603323", "0.7052297", "0.6989302", "0.69268817", "0.68417674", "0.6730169", "0.6659967", "0.66523355", "0.662261", "0.6588578...
0.88224703
0
__lt__(itkRGBPixelUS self, itkRGBPixelUS vec) > bool
def JWbp(YKHO, he6J: 'itkRGBPixelUS') -> 'bool': return XqLJ.itkRGBPixelUS___lt__(YKHO, he6J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JWbp(YKHO, he6J: 'itkRGBPixelUC') -> 'bool':\n return XqLJ.itkRGBPixelUC___lt__(YKHO, he6J)", "def JWbp(YKHO, he6J: 'itkRGBPixelD') -> 'bool':\n return XqLJ.itkRGBPixelD___lt__(YKHO, he6J)", "def JWbp(YKHO, he6J: 'itkRGBPixelF') -> 'bool':\n return XqLJ.itkRGBPixelF___lt__(YKHO, he6J)", "def xa1...
[ "0.90470475", "0.89701587", "0.8823874", "0.75703204", "0.7336624", "0.7316452", "0.7133142", "0.698977", "0.6811136", "0.6797178", "0.6782405", "0.6740707", "0.6631622", "0.6585361", "0.6394534", "0.6369042", "0.63137084", "0.6304541", "0.6269253", "0.6259998", "0.6218172", ...
0.9351393
0
GetScalarValue(itkRGBPixelUS self) > unsigned short
def WxFF(YKHO) -> 'unsigned short': return XqLJ.itkRGBPixelUS_GetScalarValue(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WxFF(YKHO) -> 'unsigned char':\n return XqLJ.itkRGBPixelUC_GetScalarValue(YKHO)", "def OP2O(YKHO, tpio: 'unsigned long') -> 'unsigned short':\n return XqLJ.itkRGBPixelUS___getitem__(YKHO, tpio)", "def WxFF(YKHO) -> 'double':\n return XqLJ.itkRGBPixelD_GetScalarValue(YKHO)", "def WxFF(YKHO) -> 'f...
[ "0.762898", "0.70637363", "0.7041732", "0.70077246", "0.6596569", "0.6387287", "0.6378402", "0.6377789", "0.6329649", "0.6262113", "0.6215908", "0.62103766", "0.61564165", "0.61327195", "0.61082625", "0.6056196", "0.60534894", "0.60534555", "0.6049096", "0.60352653", "0.60198...
0.85693794
0
Get number of walkers in emcee chain. Returns
def zUi5(YKHO): if not hasattr(YKHO, '_emceedat'): raise ivaR.PyAValError('Cannot determine the number of walkers. It appears that no emcee chain was loaded.') return YKHO._emceedat['chain'].shape[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uVpk(YKHO):\n WkfZ = 1\n h5XG = YKHO.getNextEModule()\n while h5XG is not None:\n WkfZ += 1\n h5XG = h5XG.getNextEModule()\n return WkfZ", "def qpQF(YKHO):\n Wnz2 = YKHO.params[0]\n return len(Wnz2)", "def qpQF(YKHO):\n Wnz2 = YKHO.params[0]\n return len(Wnz2)", "def...
[ "0.6841579", "0.6553714", "0.6553714", "0.65466344", "0.65170956", "0.65170956", "0.64948577", "0.6488182", "0.64235497", "0.6393424", "0.6387841", "0.6387103", "0.6360878", "0.6344276", "0.63366884", "0.62477285", "0.6243414", "0.6243414", "0.62044066", "0.61937535", "0.6171...
0.8986941
0
Calculate the average of an uniform list
def H_Sx(Emd4, vC9B): return sum(vC9B) / float(len(vC9B))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def S8vG(vC9B):\n MCOv = sum(vC9B, 0.0)\n return MCOv / len(vC9B)", "def JBMS(vC9B):\n return float(sum(vC9B)) / float(len(vC9B))", "def JBMS(yv6U):\n return float(sum(yv6U) / len(yv6U))", "def JBMS(list):\n return sum(list) / len(list)", "def S8vG(list):\n Aofo = 0\n for aM8h in list:...
[ "0.8399372", "0.83729416", "0.8316302", "0.83085793", "0.82236624", "0.82033354", "0.82026416", "0.8195096", "0.81777734", "0.81695545", "0.81573606", "0.8116762", "0.81105644", "0.8094129", "0.80757415", "0.8052846", "0.80452216", "0.803902", "0.803902", "0.8018194", "0.7999...
0.7972582
23
Returns delta corresponding to binner index delta `d`
def RA_F(YKHO, Csk6): return YKHO.width * Csk6
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Pybu(Csk6, tTpl):\n oFVH = tTpl.gd\n o1Kh = tTpl.css('cd', 0)\n if o1Kh + aden:\n return (Csk6 + aden) / (o1Kh + aden)\n return 0", "def aBbL(YKHO, jQ3Z, Csk6):\n assert isinstance(Csk6, list)\n Cwt5 = oyIN.zeros(jQ3Z.shape)\n for NRKk, mJeH in zip(YKHO.a, Csk6):\n Cwt5 += ...
[ "0.6447197", "0.6430436", "0.61884844", "0.61852854", "0.60348", "0.59872353", "0.59320515", "0.5925224", "0.5885738", "0.5868106", "0.5797037", "0.5749369", "0.5741661", "0.57162553", "0.57146555", "0.57108146", "0.5652327", "0.5650438", "0.5643739", "0.55955374", "0.5577503...
0.62373066
2
Returns value corresponding to bin `i`.
def BWXx(YKHO, YRbF, hgjH=True): TVTK = YKHO.width Aofo = (YRbF - 1) * TVTK + YKHO.offset if hgjH: Aofo += TVTK / 2 return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lXTD(YRbF):\n WKvO = bin(YRbF)\n LVAh = WKvO[2:]\n return LVAh", "def ugFU(exwG, YRbF):\n return exwG >> YRbF & 1", "def xdKy(YRbF):\n return bytearray([int(YRbF / 256), int(YRbF) - int(YRbF / 256) * 256])", "def I1XJ(YKHO, wEf2, b5ld):\n Pyrc = YKHO.bins_list[b5ld]\n IDsK = Pyrc[0]\...
[ "0.6829479", "0.6672658", "0.6504667", "0.6396567", "0.6382809", "0.6381709", "0.63695574", "0.6307199", "0.62913615", "0.62666994", "0.6209565", "0.6203754", "0.61876416", "0.6182307", "0.6180846", "0.61095047", "0.6102956", "0.6067593", "0.60537666", "0.6048788", "0.603041"...
0.0
-1
Save statistics as tensorboard summaries.
def QmvQ(YKHO, dfHy, Cua3, XxML, exhP, oT2G): QxIo = ZylS.Summary(value=[ZylS.Summary.Value(tag='Train/NumEpisodes', simple_value=Cua3), ZylS.Summary.Value(tag='Train/AverageReturns', simple_value=XxML), ZylS.Summary.Value(tag='Eval/NumEpisodes', simple_value=exhP), ZylS.Summary.Value(tag='Eval/AverageReturns', sim...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QmvQ(YKHO, dfHy, exhP, oT2G):\n with YKHO._summary_writer.as_default():\n ZylS.summary.scalar('Eval/NumEpisodes', exhP, step=dfHy)\n ZylS.summary.scalar('Eval/AverageReturns', oT2G, step=dfHy)", "def QmvQ(YKHO, dfHy, j7hk, czp8):\n QxIo = ZylS.Summary(value=[ZylS.Summary.Value(tag='Train/...
[ "0.77409744", "0.7686642", "0.7624546", "0.71695143", "0.7161286", "0.66513497", "0.66206104", "0.65885806", "0.6583986", "0.6562499", "0.6550808", "0.65238166", "0.64560044", "0.6449327", "0.6443105", "0.64216274", "0.64208865", "0.6389022", "0.63693655", "0.63591856", "0.63...
0.76028615
3
Save statistics as tensorboard summaries.
def QmvQ(YKHO, dfHy, j7hk, czp8): QxIo = ZylS.Summary(value=[ZylS.Summary.Value(tag='Train/NumEpisodes', simple_value=j7hk), ZylS.Summary.Value(tag='Train/AverageReturns', simple_value=czp8)]) YKHO._summary_writer.add_summary(QxIo, dfHy)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QmvQ(YKHO, dfHy, exhP, oT2G):\n with YKHO._summary_writer.as_default():\n ZylS.summary.scalar('Eval/NumEpisodes', exhP, step=dfHy)\n ZylS.summary.scalar('Eval/AverageReturns', oT2G, step=dfHy)", "def QmvQ(YKHO, dfHy, j7hk, czp8):\n QxIo = ZylS.Summary(value=[ZylS.Summary.Value(tag='Eval/N...
[ "0.7740695", "0.7624248", "0.76027316", "0.7170538", "0.71608037", "0.6651069", "0.6621349", "0.65897703", "0.6585634", "0.6564864", "0.65514934", "0.65244305", "0.6457272", "0.6450124", "0.6443439", "0.64217883", "0.642164", "0.63901216", "0.6366641", "0.6359036", "0.6345773...
0.76863396
1
Save statistics as tensorboard summaries.
def QmvQ(YKHO, dfHy, j7hk, czp8): QxIo = ZylS.Summary(value=[ZylS.Summary.Value(tag='Eval/NumEpisodes', simple_value=exhP), ZylS.Summary.Value(tag='Eval/AverageReturns', simple_value=oT2G)]) YKHO._summary_writer.add_summary(QxIo, dfHy)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QmvQ(YKHO, dfHy, exhP, oT2G):\n with YKHO._summary_writer.as_default():\n ZylS.summary.scalar('Eval/NumEpisodes', exhP, step=dfHy)\n ZylS.summary.scalar('Eval/AverageReturns', oT2G, step=dfHy)", "def QmvQ(YKHO, dfHy, j7hk, czp8):\n QxIo = ZylS.Summary(value=[ZylS.Summary.Value(tag='Train/...
[ "0.77409744", "0.7686642", "0.76028615", "0.71695143", "0.7161286", "0.66513497", "0.66206104", "0.65885806", "0.6583986", "0.6562499", "0.6550808", "0.65238166", "0.64560044", "0.6449327", "0.6443105", "0.64216274", "0.64208865", "0.6389022", "0.63693655", "0.63591856", "0.6...
0.7624546
2
Compute the factors of a positive integer
def vVqJ(exwG): Llmz = set() for WKvO in range(1, int(epAf.sqrt(exwG)) + 1): if exwG % WKvO == 0: Llmz.add(int(WKvO)) Llmz.add(int(exwG // WKvO)) return sorted(Llmz)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TbPN(mLGw):\n Llmz = []\n H8Ha = 1\n while H8Ha * H8Ha <= mLGw:\n if mLGw % H8Ha == 0:\n if mLGw // H8Ha == H8Ha:\n Llmz.append(H8Ha)\n else:\n Llmz.append(H8Ha)\n Llmz.append(mLGw // H8Ha)\n H8Ha += 1\n return Llmz", ...
[ "0.76661843", "0.7616654", "0.7585257", "0.7502486", "0.7489249", "0.7483971", "0.74810904", "0.745717", "0.7428355", "0.74191135", "0.7416011", "0.73939645", "0.7355242", "0.7349088", "0.73425394", "0.73015827", "0.72840774", "0.72761214", "0.7275624", "0.72702456", "0.72664...
0.0
-1
Check if Stack is empty
def FBfn(YKHO): if YKHO.data: return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FBfn(YKHO):\n return YKHO.stack == []", "def lsmZ(E5BI):\n return len(E5BI.elements) == 0", "def FBfn(E5BI):\n return E5BI.top is None", "def FBfn(YKHO):\n return YKHO.stack == []", "def FBfn(YKHO):\n return YKHO.stack == []", "def FBfn(YKHO):\n return YKHO.stack == []", "def FBfn...
[ "0.90964055", "0.90663165", "0.9047292", "0.9028522", "0.9028522", "0.9028522", "0.9003149", "0.9003149", "0.88991284", "0.88775027", "0.88416046", "0.88416046", "0.8775119", "0.8775119", "0.8764203", "0.8735775", "0.87027067", "0.86659425", "0.8659853", "0.86413574", "0.8639...
0.0
-1
Draw a random vector in [0,scale]dim.
def ADdS(tpio, NXpY): return oyIN.random.random(tpio) * NXpY
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def E8jq(iArr, yKcO, NXpY):\n MHEU = HvgP(iArr, NXpY)\n Os4s = xXeU(yKcO, MHEU)\n return lNLu.from_start_end(yKcO, Os4s)", "def tuKI(min=-1, max=1, qfpW=Hg7b.WHITE, TVTK=1, LgWF=[0.1, 0.5]):\n WKvO = tuKI.uniform(min, max)\n LVAh = tuKI.uniform(min, max)\n return lNLu(WKvO, LVAh, color=qfpW, wi...
[ "0.6804266", "0.6649696", "0.6451792", "0.6387943", "0.6319157", "0.619025", "0.6181517", "0.6172646", "0.6163042", "0.6134915", "0.61309785", "0.6111637", "0.6104749", "0.6101193", "0.6090567", "0.5945461", "0.59344447", "0.59338075", "0.5915046", "0.5910525", "0.5906511", ...
0.6656624
1
Reads a list of numbers from the terminal and returns them as a list
def HE8A(): itiL = [] print('Skriv in ett nummer per rad. Avsluta med tomrad.') while True: try: zFiD = input() if len(zFiD) == 0: break FGW3 = int(zFiD) itiL.append(FGW3) except ValueError: print('Snälla skriv in et...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PVOR():\n return [int(WKvO) for WKvO in HwRy.stdin.readline().split()]", "def c0y5():\n return [int(WKvO) for WKvO in HwRy.stdin.readline().strip().split()]", "def t6UH():\n mSrU = [int(Ty9i) for Ty9i in LFdf.readline().split()]\n return mSrU if len(mSrU) > 1 else mSrU[0]", "def t6UH():\n ...
[ "0.77894413", "0.7664694", "0.76637435", "0.76637435", "0.76155853", "0.7296572", "0.72809243", "0.72809243", "0.72809243", "0.7223829", "0.71549565", "0.7124178", "0.7124178", "0.7027985", "0.7025653", "0.6996675", "0.6993484", "0.68566257", "0.68565714", "0.68386084", "0.68...
0.70581
13
Get list of all the widgets (Where Conversions > 1) of a given {campaignNameOrId} which had CPA of less than {threshold}
def Oi9D(YKHO, *, gwAu: float, seET: Literal['eq', 'ne', 'lt', 'gt', 'le', 'ge']='le', V_D6: List[str]=['widget_id', 'spent', 'conversions', 'cpa'], **B2fa) -> x1iM[rQ34]: r1gD = YKHO.widgets_stats(sort_key='cpa', **B2fa) pkgI = [QmN4 for QmN4 in r1gD if QmN4['conversions'] > 0] _wIY = [QmN4 for QmN4 in pkg...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _pFC(QUSx, yKcO, Os4s, gwAu):\n if gwAu < 0:\n raise ValueError('threshold must be a non-negative integer')\n c0TT = Ojhs(QUSx, yKcO, Os4s)\n hHld = []\n for sWV7 in c0TT:\n Tj1O = MM4g('comments/', str(sWV7['id']))\n if int(Tj1O['total_count']) >= gwAu:\n hHld.appen...
[ "0.5383956", "0.5212595", "0.51174283", "0.51173794", "0.5035195", "0.5026109", "0.49422342", "0.49084902", "0.486945", "0.4845926", "0.48150733", "0.48093486", "0.48069257", "0.47491816", "0.47285742", "0.47277102", "0.47168028", "0.47146317", "0.468653", "0.4683704", "0.467...
0.7694256
0
Returns GcsFileSystem class to the client.
def w9wX(): return u7gq.GcsFileSystem
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gp5C(YKHO) -> FtBY.lang.Class:\n ...", "def NkrL(mLim: Optional[str]=None, bD7m: Optional[str]=None) -> eBH2['FileSystem']:\n if not mLim:\n assert bD7m, 'Must give url or proto as argument.'\n mLim = GLWJ(bD7m)\n return pATm[mLim]", "def mCzy(m5lJ: java.lang.Class) -> RnTg.formats.g...
[ "0.7183716", "0.7060276", "0.6672559", "0.6549611", "0.65276223", "0.6429599", "0.6312974", "0.62696207", "0.62641233", "0.6187442", "0.61377484", "0.6063886", "0.6000547", "0.58579963", "0.5780834", "0.5778129", "0.57713324", "0.5701659", "0.5701576", "0.5616508", "0.5615063...
0.782144
0
Compute the softmax function for each row of the input x.
def N93T(WKvO): JNn7 = WKvO.shape if len(WKvO.shape) > 1: ITZR = lambda WKvO: oyIN.exp(WKvO - oyIN.max(WKvO)) ciZM = lambda WKvO: 1.0 / oyIN.sum(WKvO) WKvO = oyIN.apply_along_axis(ITZR, 1, WKvO) UUZ1 = oyIN.apply_along_axis(ciZM, 1, WKvO) if len(UUZ1.shape) == 1: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N93T(WKvO):\n WKvO = oyIN.transpose(WKvO)\n return oyIN.transpose(oyIN.exp(WKvO) / oyIN.sum(oyIN.exp(WKvO), axis=0))", "def N93T(WKvO):\n pass\n WKvO = XTiz.array(WKvO)\n WKvO = XTiz.exp(WKvO)\n WKvO.astype('float32')\n if WKvO.ndim == 1:\n LLIB = sum(WKvO)\n for YRbF in ra...
[ "0.8711327", "0.8541636", "0.849648", "0.84190446", "0.8416585", "0.8412727", "0.8408607", "0.8405572", "0.83984447", "0.83981484", "0.8383832", "0.83803725", "0.8358172", "0.8354728", "0.83544064", "0.8352831", "0.8333837", "0.8329887", "0.8327525", "0.8327525", "0.8327525",...
0.0
-1
Calculates the weighted average price of an operation (sell/buy) for a given `amount` and `order_book`.
def WNX4(XeOP, VoPS, Z5kt): x3xH(XeOP, e4cV.ACTIONS) vvva(Z5kt, (ZjSO, float, int, str)) i8hr(Z5kt, lambda WKvO: ZjSO(WKvO)) QNpq = VoPS.asks if XeOP == e4cV.BUY else VoPS.bids CWhn = sum([a1PO[1] for a1PO in QNpq]) if Z5kt > CWhn: raise Bx6I.InsufficientMarketDepth('Not enough depth in ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mZz3(XeOP, VoPS, Z5kt):\n x3xH(XeOP, e4cV.ACTIONS)\n vvva(Z5kt, (ZjSO, float, int, str))\n i8hr(Z5kt, lambda WKvO: ZjSO(WKvO))\n QNpq = VoPS.asks if XeOP == e4cV.BUY else VoPS.bids\n CWhn = sum([a1PO[1] for a1PO in QNpq])\n if Z5kt > CWhn:\n raise Bx6I.InsufficientMarketDepth('Not enou...
[ "0.65959346", "0.61886847", "0.5981548", "0.5971267", "0.59211665", "0.58557683", "0.57894486", "0.5621656", "0.55912876", "0.55886716", "0.5588608", "0.5584189", "0.55676347", "0.5532178", "0.55235946", "0.5502756", "0.54939723", "0.54830784", "0.54708475", "0.54570496", "0....
0.837182
0
Read the magic string to get the version of the file format.
def Q2Zo(ytgA): dCku = WhLA(ytgA, suwp, 'magic string') if dCku[:-2] != aBOI: tO9_ = 'the magic string is not correct; expected %r, got %r' raise ValueError(tO9_ % (aBOI, dCku[:-2])) if HwRy.version_info[0] < 3: IJ4N, cbKy = map(ord, dCku[-2:]) else: IJ4N, cbKy = dCku[-2:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UJg2(ytgA):\n DIbi, cbKy, IJ4N = BlNT.unpack('>IHH', ytgA.read(8))\n if DIbi == 3405691582:\n return Abk8[IJ4N, cbKy]\n else:\n raise Exception('invalid magic bytes (expected 0xcafebabe, got ' + hex(DIbi))", "def kaPv(Ux0P):\n kGys = BuGO(Ux0P)\n yIVm = dict(ZbWC.findall('__([a-z...
[ "0.7434669", "0.6752732", "0.6747152", "0.66288537", "0.6622678", "0.6606368", "0.64967394", "0.6477542", "0.6464428", "0.6462128", "0.64535815", "0.641778", "0.6406854", "0.64050007", "0.6399298", "0.6357912", "0.6356425", "0.63369054", "0.6333114", "0.6309459", "0.6306154",...
0.77839315
0
Initializer for the word class
def FIMM(YKHO, VXjJ, zNig=120, H5Km=False): if H5Km: VXjJ = YKHO.padding(VXjJ, zNig) MKlR, yzQ0, bGrB = VXjJ.shape assert MKlR % zNig == 0, 'height after padding is not divisible by 120' assert yzQ0 % zNig == 0, 'width after padding is not divisible by 120' else: MKlR, yz...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, GIN8):\n YKHO._word = GIN8", "def FIMM(YKHO, V22M):\n YKHO.words = V22M", "def FIMM(YKHO):\n YKHO.words = {}", "def FIMM(YKHO, fLRq=False):\n YKHO.isWord = fLRq\n YKHO.dc = [None] * 26", "def FIMM(YKHO, GIN8):\n YKHO._word = GIN8\n YKHO._entries = None", "def FIMM(YKHO...
[ "0.8465989", "0.79865915", "0.7969576", "0.79357165", "0.7912121", "0.7898867", "0.78745705", "0.78706574", "0.7802592", "0.7776989", "0.76889503", "0.7648004", "0.7614499", "0.7607818", "0.75739837", "0.7569049", "0.751913", "0.74950874", "0.74714714", "0.73786485", "0.73424...
0.0
-1
Create and configure an instance of the Flask application.
def LUif(zmu8=None): P4t4 = L2w0(__name__, instance_relative_config=True) P4t4.config.from_object('config') if zmu8 is None: P4t4.config.from_pyfile('config.py', silent=True) else: P4t4.config.from_mapping(zmu8) @P4t4.route('/hello') def Wzeq(): return 'Hello, World!' ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def z_uJ():\n P4t4 = L2w0(__name__)\n P4t4.config.from_object(PSrQ)\n P4t4.config.from_object(Hy7s.environ.get('APP_SETTINGS'))\n return P4t4", "def LUif() -> L2w0:\n GPtr = R4f_()\n HEBM = L2w0(__name__)\n if 'secret_key' in GPtr:\n HEBM.secret_key = GPtr['secret_key']\n else:\n ...
[ "0.8550397", "0.84743637", "0.83251774", "0.8278745", "0.82602733", "0.8254964", "0.82201624", "0.82188565", "0.81856257", "0.8166124", "0.8160089", "0.8154347", "0.8145555", "0.8142754", "0.81385297", "0.81344086", "0.81174666", "0.8106935", "0.8095177", "0.80899566", "0.808...
0.78058994
90
Return True if it's active (enabled) or False inactive (disabled).
def D6B2(YKHO): return YKHO._active
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IN9u(YKHO):\n return YKHO.isAvailable() and YKHO.is_enabled", "def ksfB(YKHO):\n for YRbF in YKHO.state:\n if YRbF == 'STATE_ACTIVE':\n return True\n return False", "def ksfB(YKHO):\n if not YKHO.values.get('is_active', False):\n return False\n return True", "def k...
[ "0.8657285", "0.8320227", "0.82349795", "0.8223291", "0.81443083", "0.81443083", "0.81254077", "0.8112422", "0.8033508", "0.8029477", "0.80148107", "0.79675764", "0.7960456", "0.7935634", "0.7935634", "0.7935634", "0.7935634", "0.7935634", "0.7935634", "0.79326034", "0.789406...
0.0
-1
Return True if it's active (enabled) or False inactive (disabled).
def D6B2(YKHO): return not YKHO._wid.state & MZYv.STATE_INSENSITIVE
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IN9u(YKHO):\n return YKHO.isAvailable() and YKHO.is_enabled", "def ksfB(YKHO):\n for YRbF in YKHO.state:\n if YRbF == 'STATE_ACTIVE':\n return True\n return False", "def ksfB(YKHO):\n if not YKHO.values.get('is_active', False):\n return False\n return True", "def k...
[ "0.8656861", "0.8320045", "0.82341003", "0.8222123", "0.8143794", "0.8143794", "0.81235874", "0.81117505", "0.803359", "0.80279005", "0.80133206", "0.79664546", "0.7959412", "0.79343504", "0.79343504", "0.79343504", "0.79343504", "0.79343504", "0.79343504", "0.7930742", "0.78...
0.0
-1
Return True if it's active (enabled) or False inactive (disabled).
def D6B2(YKHO): return not YKHO._wid.state & MZYv.STATE_INSENSITIVE
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IN9u(YKHO):\n return YKHO.isAvailable() and YKHO.is_enabled", "def ksfB(YKHO):\n for YRbF in YKHO.state:\n if YRbF == 'STATE_ACTIVE':\n return True\n return False", "def ksfB(YKHO):\n if not YKHO.values.get('is_active', False):\n return False\n return True", "def k...
[ "0.8657285", "0.8320227", "0.82349795", "0.8223291", "0.81443083", "0.81443083", "0.81254077", "0.8112422", "0.8033508", "0.8029477", "0.80148107", "0.79675764", "0.7960456", "0.7935634", "0.7935634", "0.7935634", "0.7935634", "0.7935634", "0.7935634", "0.79326034", "0.789406...
0.0
-1
Get the L{Image} that represents this drawing area.
def cMYb(YKHO): yzQ0, MKlR = YKHO._pixmap.get_size() VXjJ = MZYv.gdk.Pixbuf(MZYv.gdk.COLORSPACE_RGB, True, 8, yzQ0, MKlR) VXjJ.get_from_drawable(YKHO._pixmap, YKHO._area.get_colormap(), 0, 0, 0, 0, yzQ0, MKlR) return hnIv(__int_image__=VXjJ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rc1h(YKHO) -> hnIv:\n return YKHO._image", "def LNo8(YKHO):\n if YKHO.__image is None:\n YKHO._fillInfo()\n return YKHO.__image", "def LNo8(YKHO) -> hnIv:\n return YKHO._image", "def LNo8(YKHO):\n return YKHO._image", "def LNo8(YKHO):\n return YKHO.get_image(0)", "def cMYb(YK...
[ "0.7785748", "0.75651157", "0.7524659", "0.7423239", "0.7400188", "0.7390153", "0.7355996", "0.7320783", "0.726976", "0.7207216", "0.7202225", "0.71914583", "0.7190711", "0.715925", "0.71514654", "0.7130344", "0.71286607", "0.71286607", "0.7085484", "0.7070268", "0.7070268", ...
0.75378925
2
Sort the provided word list ignoring case,
def ZPZR(V22M): hcXw = [Z9rn for Z9rn in V22M if not Z9rn[0].isnumeric()] mLGw = [exwG for exwG in V22M if exwG[0].isnumeric()] UzTa = sorted(hcXw, key=lambda GIN8: GIN8.lower()) + sorted(mLGw) return UzTa return sorted(V22M, key=lambda WKvO: (WKvO[0].isdigit(), str(WKvO).lower()))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yktk(cfuW):\n print(cfuW)\n cfuW.sort(key=str.lower)\n print(cfuW)", "def ZPZR(V22M):\n mpXM = sorted(V22M, key=lambda WKvO: WKvO.lower())\n return sorted(mpXM, key=lambda WKvO: WKvO[0].isdigit())", "def dq9m(V22M):\n return sorted(V22M)", "def V2IL(FloJ):\n FloJ.sort()\n return F...
[ "0.8346046", "0.80425644", "0.7990765", "0.78659266", "0.7787402", "0.76354545", "0.75921226", "0.7572759", "0.7512455", "0.7476676", "0.7335976", "0.7220893", "0.7213981", "0.71748453", "0.7136979", "0.71324563", "0.7076277", "0.69799566", "0.69768375", "0.6949194", "0.68441...
0.76811296
5
Load the atlas image and return the corresponding 4D numpy array.
def WJXv(YKHO): g96d = LNo8.load_img(Hy7s.path.join(YKHO.path, YKHO.name)) RdlI = g96d.get_data() return RdlI
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tyeH(YKHO):\n nPrm = YKHO.tif.asarray()\n if len(nPrm.shape) == 3:\n nPrm = oyIN.expand_dims(nPrm, axis=1)\n nPrm = oyIN.expand_dims(nPrm, axis=0)\n elif len(nPrm.shape) == 4:\n nPrm = oyIN.expand_dims(nPrm, axis=0)\n return nPrm", "def Z5YQ(Ux0P):\n return oyIN.load(Ux0P)...
[ "0.6210717", "0.61891776", "0.61373043", "0.6086583", "0.60855186", "0.6049629", "0.602532", "0.6001281", "0.5982048", "0.5923595", "0.5889966", "0.5875419", "0.58609414", "0.58572584", "0.5845972", "0.5839092", "0.58210546", "0.5816751", "0.58005893", "0.5784952", "0.5771472...
0.77042836
0
Returns file offset of the stream's current frame. You probably don't want to call this unless the stream is synchronized.
def ANKp(YKHO): NZPT = YKHO._mad_stream assert NZPT.sync return YKHO._buf_file_position + NZPT.this_frame_offset
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _ojA(YKHO, f4IJ):\n return YKHO.frame_index[f4IJ][3]", "def uKWF(YKHO):\n YKHO.position_index = YKHO.file_obj.tell()\n return YKHO.position_index", "def ueuK(YKHO):\n if not YKHO._is_open:\n raise IOError('Not opened.')\n return YKHO._current_offset", "def ZZQH(YKHO):\n return J8...
[ "0.7778333", "0.7725109", "0.76302916", "0.7584002", "0.75580555", "0.7474912", "0.74281245", "0.7248265", "0.71830004", "0.71533185", "0.69834006", "0.69781303", "0.6955479", "0.691266", "0.69089097", "0.6872531", "0.6847616", "0.68426335", "0.6807313", "0.6798367", "0.67771...
0.8163618
0
Log Errors caused by Updates.
def P1dF(JyK9, QdZT, P1dF): bo34.warning('Update "%s" caused error "%s"', QdZT, P1dF)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P1dF(JyK9, QdZT, P1dF):\n bo34.warning('Error: \"%s\" caused error \"%s\"', QdZT, P1dF)\n bo34.setLevel(G9jH.DEBUG)", "def rP1w(QdZT, QpfX):\n bo34.warning(f'Update \"{QdZT}\" caused error {QpfX.error}\"')", "def P1dF(QdZT, QpfX):\n G9jH.error('Update \"%s\" caused error \"%s\"', QdZT, QpfX.err...
[ "0.78963095", "0.78851247", "0.7876101", "0.7874212", "0.7831568", "0.7789986", "0.7785475", "0.7784004", "0.7784004", "0.7784004", "0.7784004", "0.7784004", "0.7781729", "0.77651393", "0.7746431", "0.7746431", "0.7746431", "0.7746431", "0.7746431", "0.7746431", "0.7746431", ...
0.7535236
84
Shows information about a user
def FpOe(YKHO, OaeV, *, CBIr: discord.Member=None, x8us='%d %b %Y %H:%M'): N5z6 = OaeV.message.server if not CBIr: CBIr = OaeV.message.author if CBIr.game is None: BH3N = f'Chilling in {CBIr.status} status' elif CBIr.game.url is None: BH3N = f'Playing {CBIr.game}' else: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nUHY(CBIr):\n FpOe = hfLJ.show_user(CBIr)\n k8wH.echo(BGNz(FpOe))", "def VCCg(uJjO):\n CBIr = mv1M.query.get_or_404(uJjO)\n return TvZl('User_Detail.html', user=CBIr)", "def T6Tk(uJjO):\n CBIr = mv1M.query.get_or_404(uJjO)\n return TvZl('user-info.html', user=CBIr, posts=CBIr.posts)", "...
[ "0.8521152", "0.81827146", "0.8171872", "0.8101106", "0.80072725", "0.79762024", "0.7901716", "0.7886135", "0.7854442", "0.78266925", "0.78172714", "0.7795816", "0.7758316", "0.7719456", "0.7719456", "0.7700629", "0.7700261", "0.76962686", "0.7677756", "0.767504", "0.7674998"...
0.0
-1
Compute a Melfilterbank. The filters are stored in the rows, the columns correspond to fft bins. The filters are returned as an array of size nfilt (nfft/2 + 1)
def EmSP(YKHO): MPwY = f3Ru(YKHO.lowfreq) goog = f3Ru(YKHO.highfreq) sjgt = XTiz.linspace(MPwY, goog, YKHO.nfilt + 2) bin = XTiz.floor((YKHO.nfft + 1) * aCP3(sjgt) / YKHO.samplerate) vaUa = XTiz.zeros([YKHO.nfilt, YKHO.nfft // 2 + 1]) for r845 in range(0, YKHO.nfilt): for YRbF in range(i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EmSP(vsnw=20, Lgxx=512, avuq=44100, NoAk=0, nQBk=None):\n nQBk = nQBk or avuq / 2\n MPwY = f3Ru(NoAk)\n goog = f3Ru(nQBk)\n sjgt = XTiz.linspace(MPwY, goog, vsnw + 2)\n bin = XTiz.floor((Lgxx + 1) * aCP3(sjgt) / avuq)\n vaUa = XTiz.zeros([vsnw, Lgxx / 2 + 1])\n for r845 in Ni9Y(0, vsnw):\n...
[ "0.74570197", "0.74350953", "0.7301919", "0.7292635", "0.7273649", "0.6943078", "0.69056505", "0.6862884", "0.6811198", "0.6798117", "0.6798117", "0.67405945", "0.66436553", "0.6595192", "0.65781695", "0.6487346", "0.6440598", "0.6386354", "0.62961346", "0.6282783", "0.626053...
0.763447
0
r""" This spectral_norm layer applies spectral normalization to a parameter according to the
def SNDs(gEmA, mWFP='weight', xHHI=1, SGf8=1e-12, tpio=None): if tpio is None: if isinstance(gEmA, (q1qN, uVjH, aNPQ, hPO2)): tpio = 1 else: tpio = 0 oOZ9.apply(gEmA, mWFP, xHHI, tpio, SGf8) return gEmA
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SNDs(yR_P):\n U78l.init.xavier_uniform_(yR_P.weight, 2 ** 0.5)\n if hasattr(yR_P, 'bias') and yR_P.bias is not None:\n yR_P.bias.data.zero_()\n return U78l.utils.spectral_norm(yR_P)", "def LlAT(yzQ0, eQ2E=1, mWFP='spectral_norm'):\n with ZylS.variable_scope(mWFP):\n dHYN = ZylS.resh...
[ "0.7415066", "0.68460834", "0.67336434", "0.6720244", "0.6720244", "0.65812606", "0.65301937", "0.64639556", "0.6373149", "0.6273939", "0.6189529", "0.61621255", "0.6157118", "0.6148908", "0.6121657", "0.61184317", "0.6065905", "0.60561967", "0.59723943", "0.59525007", "0.594...
0.70192975
1
Return a normalization layer
def n0Aj(J1Nm='instance'): if J1Nm == 'batch': ykhl = xBlr.partial(U78l.BatchNorm2D, weight_attr=False, bias_attr=False) elif J1Nm == 'syncbatch': ykhl = xBlr.partial(U78l.SyncBatchNorm, weight_attr=False, bias_attr=False) elif J1Nm == 'instance': ykhl = xBlr.partial(U78l.InstanceNor...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QYad(VKhi, HhVR: int, J1Nm: Optional[str]=None, FmZA: Optional[int]=None, *qIxc, **B2fa) -> U78l.Module:\n return sfhl(VKhi, HhVR, J1Nm, FmZA)", "def amAv():\n if J1Nm == 'batch':\n ykhl = xBlr.partial(U78l.BatchNorm2d, affine=True, track_running_stats=True)\n return ykhl", "def O9Ow(vhpA, ...
[ "0.7558415", "0.75189286", "0.74955684", "0.7224539", "0.7069579", "0.704178", "0.6973934", "0.6933626", "0.6926538", "0.6905241", "0.6845051", "0.6828518", "0.6828518", "0.6799542", "0.6777142", "0.67452985", "0.67437446", "0.67385143", "0.6724314", "0.6723551", "0.67166364"...
0.64297324
51
Load model from file.
def tyeH(Emd4, Ux0P): with open(Ux0P, 'r') as eHNT: nPrm = eJb6.load(eHNT) Gjtu = FqOV(nPrm['frequency']['center'], nPrm['frequency']['lower'], nPrm['frequency']['upper'], nPrm['frequency']['enabled']) Oz1B = Emd4(Gjtu) Oz1B.solved = nPrm['solved'] for BA9O in phLT: if BA9O == 'subsy...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uyMl(Ux0P):\n pass", "def uyMl(Ux0P):\n raise NotImplementedError()", "def uyMl(YKHO, WJHQ):\n raise NotImplementedError", "def J2u4(YKHO, pmON):\n YKHO._model = uyMl(pmON)\n print('Loaded model from file.')", "def tyeH(YKHO, SkYi: Path) -> None:\n pass", "def uyMl(YKHO, gIsw):\n ...
[ "0.87157947", "0.8696808", "0.866538", "0.86528605", "0.86259127", "0.86112756", "0.8606326", "0.85732746", "0.8467336", "0.8420413", "0.83917266", "0.8389066", "0.8389066", "0.8389066", "0.8373264", "0.8307683", "0.830101", "0.8281648", "0.80788356", "0.80664116", "0.8062204...
0.0
-1
Returns only true when the disposition object contains dossiers with a positive appraisal.
def ZNrr(YKHO): return YKHO.context.has_dossiers_to_archive()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wEk2(xDh8, H2HM):\n if len(H2HM) == 0:\n return True\n for IRu9 in xDh8.get('incident_field_values', []):\n if IRu9['name'] == 'Abuse Disposition':\n if IRu9['value'] in H2HM:\n return True\n return False", "def Pfdw(YKHO):\n if YKHO.article == 'Art7':\n ...
[ "0.64729756", "0.62278837", "0.62278837", "0.61831987", "0.60799325", "0.6054313", "0.60201865", "0.60201865", "0.59825015", "0.59443367", "0.59443367", "0.58994627", "0.58935565", "0.5889218", "0.5869979", "0.58674926", "0.58347565", "0.58164227", "0.5812003", "0.5762746", "...
0.0
-1
Calculate loss given Discriminator's output and grount truth labels.
def nrOS(YKHO, o3Uj, nbSS): if YKHO.gan_mode in ['lsgan', 'vanilla']: zvoY = YKHO.get_target_tensor(o3Uj, nbSS) N77f = YKHO.loss(o3Uj, zvoY) elif YKHO.gan_mode == 'wgangp': if nbSS: N77f = -o3Uj.mean() else: N77f = o3Uj.mean() return N77f
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AOC4(SZIZ, JQTb):\n CqbS = ZylS.keras.losses.BinaryCrossentropy(from_logits=True)\n qxD9 = CqbS(ZylS.ones_like(SZIZ), SZIZ)\n PMF5 = CqbS(ZylS.zeros_like(JQTb), JQTb)\n dxS6 = qxD9 + PMF5\n return dxS6", "def AOC4(Y8eF, aMgO):\n N77f = kT60(Y8eF, aMgO)\n Ok3P = -nMvt.log(0.5)\n return...
[ "0.7593589", "0.7434193", "0.7344327", "0.7277256", "0.7204807", "0.71921855", "0.71893054", "0.7070154", "0.6990363", "0.69900703", "0.6986362", "0.6986362", "0.6948726", "0.6948346", "0.6946817", "0.6925961", "0.6924489", "0.69084793", "0.68893206", "0.68755025", "0.6853704...
0.0
-1
Returns the Circle instance definition in a string format.
def wHJl(YKHO): return f'Circle({YKHO.radius})'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wHJl(YKHO):\n sI3h = 'Cricle(center = Point({}), radius = {})'.format(YKHO.center, YKHO.radius)\n return sI3h", "def zAg0(YKHO):\n return 'Circle({}, radius={})'.format(super().__str__(), YKHO.radius)", "def wHJl(YKHO):\n return 'Circle({})'.format(YKHO.radius)", "def zAg0(YKHO):\n return ...
[ "0.7383052", "0.7232456", "0.7224633", "0.7217633", "0.6929249", "0.68263197", "0.68098384", "0.62210107", "0.6217119", "0.62147903", "0.61622524", "0.6133606", "0.6099074", "0.60943127", "0.60866183", "0.607965", "0.6076988", "0.60364205", "0.60287255", "0.60090256", "0.5963...
0.7278721
1
Returns a new Circle object based on the size of the scalar multiplier (i.e. scalar Circle).
def E_tF(YKHO, hAEw): return Lr0q(YKHO.radius * hAEw)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def E_tF(YKHO, mLGw):\n return Lr0q(YKHO.radius * mLGw)", "def E_tF(YKHO, Z9rn):\n if isinstance(Z9rn, Lr0q):\n return Lr0q(YKHO.radius * Z9rn.radius)\n else:\n return Lr0q(Z9rn * YKHO.radius)", "def OQEa(YKHO, Z9rn):\n return Lr0q(Z9rn * YKHO.radius)", "def OQEa(YKHO, mLGw):\n r...
[ "0.7659296", "0.7529272", "0.720254", "0.7134041", "0.7080162", "0.67266035", "0.67266035", "0.6659898", "0.6527702", "0.6465508", "0.63937306", "0.63800055", "0.633221", "0.6305847", "0.62554926", "0.62530833", "0.6211268", "0.6158174", "0.60647005", "0.6055301", "0.6031424"...
0.85792416
0
Returns a new Circle object based on the size of the scalar multiplier. Allows for the scalar to be the multiplied after the circle object (i.e. Circle scalar).
def OQEa(YKHO, hAEw): return YKHO.__mul__(hAEw)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def E_tF(YKHO, hAEw):\n return Lr0q(YKHO.radius * hAEw)", "def E_tF(YKHO, mLGw):\n return Lr0q(YKHO.radius * mLGw)", "def E_tF(YKHO, hAEw):\n return c34g(YKHO.radius * hAEw)", "def E_tF(YKHO, Z9rn):\n if isinstance(Z9rn, Lr0q):\n return Lr0q(YKHO.radius * Z9rn.radius)\n else:\n r...
[ "0.8584909", "0.73450583", "0.7318422", "0.7318416", "0.6754441", "0.6746253", "0.6679128", "0.65626514", "0.6550379", "0.64916223", "0.64231884", "0.6395639", "0.6360983", "0.62309235", "0.61874443", "0.61874443", "0.6158367", "0.6098287", "0.6087515", "0.6043069", "0.602356...
0.53618455
67
Returns True if this instance object is smaller than another Circle object. Returns False otherwise.
def JWbp(YKHO, Elif): return YKHO.radius < Elif.radius
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JWbp(dg7v, iYf1):\n return dg7v.radius < iYf1._radius", "def sklG(YKHO, WKvO, LVAh):\n return WKvO < LVAh", "def jmxi(dg7v, iYf1):\n return dg7v.radius > iYf1.radius", "def xa14(YKHO, Elif: 'Circle') -> bool:\n if not YKHO.validate_circle(Elif):\n return False\n if YKHO.radius != El...
[ "0.7438029", "0.6762066", "0.65871197", "0.6580477", "0.64511234", "0.6407662", "0.6371909", "0.634321", "0.6323428", "0.62532836", "0.62530124", "0.62520325", "0.62340856", "0.62039167", "0.61856", "0.61526215", "0.6141365", "0.61404264", "0.61404264", "0.6126997", "0.612293...
0.7335279
1
Returns True if the Circles objects have the same radius size. Returns False if the radius' aren't the same.
def xa14(YKHO, Elif): return YKHO.radius == Elif.radius
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif: 'Circle') -> bool:\n if not YKHO.validate_circle(Elif):\n return False\n if YKHO.radius != Elif.radius:\n return False\n return True", "def Gwok(FV9o, ws4v):\n for Z9rn in ws4v:\n C0rG = (FV9o[0] - Z9rn['circle'][0]) * (FV9o[0] - Z9rn['circle'][0]) + (FV9o[1]...
[ "0.71452105", "0.699334", "0.6958324", "0.689029", "0.6870541", "0.6761979", "0.67490184", "0.6744626", "0.6694541", "0.64977646", "0.6444311", "0.64094675", "0.63633853", "0.63018376", "0.62770694", "0.6254125", "0.6210701", "0.61642885", "0.61492884", "0.61436594", "0.61314...
0.62917835
14
Returns the Circle's diameter which is twice the radisu.
def NrEI(YKHO): return YKHO.radius * 2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NrEI(YKHO):\n return YKHO._radius * 2", "def r1VO(YKHO):\n return YKHO.diameter / 2", "def NrEI(YKHO):\n return YKHO.radius * 2", "def RjsR(YKHO):\n return 2 * YKHO.radius()", "def Stx3(r1VO):\n return 2 * XTiz.pi * r1VO", "def TAU9(YKHO):\n return int(epAf.sqrt(epAf.pow(YKHO._lengt...
[ "0.8239056", "0.7690574", "0.76827717", "0.753451", "0.73820287", "0.7377397", "0.7334405", "0.7330243", "0.7247484", "0.72043383", "0.7194948", "0.7129843", "0.7092375", "0.7086867", "0.70761883", "0.7031151", "0.69961876", "0.6981748", "0.6975164", "0.6933081", "0.6884904",...
0.82133085
1
Returns the area of the Circle based on its radius.
def f0tD(YKHO): return YKHO.radius ** 2 * mM0K
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yX2h(r1VO):\n return Lr0q.pi * r1VO * r1VO", "def UdRN(r1VO):\n f0tD = epAf.pi * r1VO ** 2\n return f0tD", "def yX2h(r1VO):\n return epAf.pow(r1VO, 2) * epAf.pi", "def yX2h(r1VO):\n return epAf.pi * epAf.pow(r1VO, 2)", "def yX2h(r1VO):\n return mM0K * r1VO * r1VO", "def yX2h(r1VO):\...
[ "0.88407105", "0.8807389", "0.8624485", "0.85463303", "0.85115975", "0.848471", "0.8464541", "0.84606105", "0.8313518", "0.8072964", "0.80460507", "0.80460507", "0.80358505", "0.80358505", "0.80282766", "0.8027779", "0.8027779", "0.8027779", "0.80052006", "0.79864377", "0.796...
0.80402106
12
Load SQL statement into pandas dataframe using `sql_engine.execute` making execution faster.
def KV6f(j8eK, Pe9W, QF7s=None, ke18=None): import sqlalchemy if ke18 is not None: XtaX = sqlalchemy.create_engine(j8eK, connect_args=ke18) elif QF7s is not None: if 'psycopg2' in j8eK: XtaX = sqlalchemy.create_engine(j8eK, connect_args={'options': '-csearch_path={}'.format(QF7s)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p1qr(KQro):\n jQ3Z = rLdf.read_sql_query(KQro, eHpk)\n return jQ3Z", "def XCuT(Pe9W):\n w2B8 = lxP0()\n jQ3Z = rLdf.read_sql_query(Pe9W, w2B8)\n w2B8.close()\n return jQ3Z", "def XhcH(tFOb: str, NCls) -> rLdf.DataFrame:\n return rLdf.read_sql(tFOb, NCls)", "def p1qr(Pe9W):\n retur...
[ "0.79547143", "0.7747286", "0.7606959", "0.75617385", "0.75288737", "0.75191844", "0.7431477", "0.7423992", "0.74236166", "0.742084", "0.7353948", "0.73179436", "0.72654694", "0.7234813", "0.7232632", "0.7152046", "0.71520096", "0.7147147", "0.7097512", "0.7086955", "0.706659...
0.7413456
10
Load SQL table into pandas dataframe using `sql_engine.execute` making execution faster. Convenience function that returns full table.
def Rv3x(j8eK, GTA_, QF7s=None, ke18=None): return KV6f(j8eK, 'SELECT * FROM {};'.fromat(GTA_), schema_name=QF7s, connect_args=ke18)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JIbs(GTA_):\n Tn79 = rLdf.read_sql_table(GTA_, con=eHpk, parse_dates=['posting_date', 'posting_updated'], chunksize=100)\n return Tn79", "def XCuT(Pe9W):\n w2B8 = lxP0()\n jQ3Z = rLdf.read_sql_query(Pe9W, w2B8)\n w2B8.close()\n return jQ3Z", "def sQfo(YKHO, GTA_, uPxI):\n with YKHO.eng...
[ "0.82057625", "0.78431207", "0.7620197", "0.7501503", "0.74718374", "0.74493766", "0.743406", "0.7415224", "0.7391112", "0.7344563", "0.7331948", "0.7317634", "0.72998315", "0.7231518", "0.7231518", "0.7231405", "0.7223754", "0.7204359", "0.71952313", "0.7185007", "0.7167952"...
0.742145
7
Determine hard, exclusive upper bound on MRCA generation. At most, how many depositions elapsed along the columns' lines of descent before the first mismatching strata at the same rank between self and second? Returns int, optional The number of depositions elapsed or None if no disparity (i.e., both columns have same ...
def Ze0d(cntZ: HereditaryStratigraphicArtifact, CsFy: HereditaryStratigraphicArtifact) -> laHg.Optional[int]: O3ch = 0.49 assert cntZ.GetStratumDifferentiaBitWidth() == CsFy.GetStratumDifferentiaBitWidth() assert pLtf(cntZ, CsFy, significance_level=1.0 - O3ch) == 1 return UbDG(cntZ, CsFy, confidence_lev...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HWe4(cntZ: HereditaryStratigraphicColumn, CsFy: HereditaryStratigraphicColumn, O3ch: float) -> laHg.Optional[int]:\n assert not cntZ.HasDiscardedStrata() and (not CsFy.HasDiscardedStrata())\n IDsK = 0\n A2Fp = min([cntZ.GetNumStrataDeposited() - 1, CsFy.GetNumStrataDeposited() - 1])\n assert IDsK <...
[ "0.55492675", "0.5512444", "0.54240483", "0.5417349", "0.5371891", "0.53523874", "0.51759064", "0.51683545", "0.51561034", "0.5130292", "0.51128364", "0.5104368", "0.5063102", "0.5055051", "0.50386244", "0.5026176", "0.50194865", "0.5001503", "0.49884668", "0.49743778", "0.49...
0.5994535
0
Get the clientid of the client credentials.
def zb3C(YKHO) -> str: return YKHO._client_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zb3C(YKHO) -> str:\n return qe4Y.get(YKHO, 'client_id')", "def zb3C(YKHO) -> str:\n return qe4Y.get(YKHO, 'client_id')", "def zb3C(YKHO) -> str:\n return qe4Y.get(YKHO, 'client_id')", "def zb3C(YKHO) -> str:\n return qe4Y.get(YKHO, 'client_id')", "def zb3C(YKHO) -> str:\n return qe4Y.get...
[ "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8227988", "0.8215391", "0.8215391", "0.8215391", "0.8215391", "...
0.8147154
23
Replace labels of all samples in training set with frequency less than 200
def j4Cq(YKHO, EvQg): lqGt = EvQg.groupby('label').filter(lambda WKvO: len(WKvO) <= 200) Iulk = EvQg.label.isin(lqGt.label) EvQg.loc[Iulk, 'label'] = 'und' return EvQg
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pZB3(YKHO, Crrw):\n for YRbF, vC9B in enumerate(Crrw):\n Crrw[YRbF] = YKHO.remap_list[vC9B]", "def rXM9(PdEg, Crrw, fWXb=5, tSgg=1):\n assert len(PdEg) == len(Crrw)\n jTqs = oyIN.max(Crrw) + 1\n nsg1 = oyIN.array(Crrw, copy=True)\n CIw8 = list(range(jTqs))\n XMEp = oyIN.zeros((jTqs, ...
[ "0.6318825", "0.62974876", "0.60604095", "0.605409", "0.59892786", "0.59314376", "0.5886644", "0.5870076", "0.5823664", "0.58084625", "0.5795985", "0.5792376", "0.579115", "0.5786084", "0.5767654", "0.5752422", "0.5747809", "0.5731754", "0.57254696", "0.5715218", "0.5702378",...
0.5659655
26
This function takes a dictionary of MS Azure tags and returns a list of Palo Alto Networks formatted tags, takes an optional namespace for prefix for pan tag element
def fmwe(ULtM, _63S='', SAEY='_'): y0cW = 'azure' if _63S: y0cW = y0cW + SAEY + _63S oxGh = [] try: for TZ9E, BWXx in ULtM.items(): oxGh.append(y0cW + SAEY + TZ9E + SAEY + BWXx) except: oxGh.append(y0cW + SAEY + 'None') return oxGh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wWtK(VOmD=None):\n pass", "def mon5(dJ1p):\n if dJ1p and isinstance(dJ1p, dict) and ('tag' in dJ1p):\n if not isinstance(dJ1p['tag'], list):\n dJ1p['tag'] = [dJ1p['tag']]\n return [TZ9E['name'] for TZ9E in dJ1p['tag']]\n else:\n return []", "def ppGT(dJ1p: List) -> ...
[ "0.5447271", "0.53863674", "0.53228164", "0.519428", "0.51928586", "0.5184375", "0.51829225", "0.5181455", "0.5177525", "0.515718", "0.5105319", "0.5066652", "0.50616485", "0.5061595", "0.5061595", "0.50525886", "0.50410175", "0.5034423", "0.500815", "0.49938962", "0.49590084...
0.7881646
0
Create negative log loss column
def r_S5(jQ3Z): jQ3Z['Logloss'] = -1 * (jQ3Z.Label * oyIN.log(jQ3Z.Pred) + (1 - jQ3Z.Label) * oyIN.log(1 - jQ3Z.Pred)) return jQ3Z
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dAou(jQ3Z):\n return jQ3Z.withColumn('log_loss', ZpyY(jQ3Z.label == 1, ZpyY(jQ3Z.p == 0, -RKD7(jQ3Z.p + _hZ2)).otherwise(-RKD7(jQ3Z.p))).otherwise(ZpyY(jQ3Z.p == 1, -RKD7(1 - jQ3Z.p + _hZ2)).otherwise(-RKD7(1 - jQ3Z.p))))", "def dAou(jQ3Z):\n return jQ3Z.select(ZpyY(jQ3Z.p == 0, _hZ2).otherwise(jQ3Z.p)...
[ "0.817925", "0.80478513", "0.77951425", "0.7106863", "0.70646733", "0.69542277", "0.6944989", "0.69300705", "0.69290197", "0.6916883", "0.6835565", "0.67993414", "0.6798552", "0.6780372", "0.6664486", "0.6630216", "0.6623855", "0.65916187", "0.65809906", "0.65808946", "0.6550...
0.8231627
0
Custom representation of the Portlet object.
def wHJl(YKHO): return u'<{}:{} (name={})>'.format(YKHO.__class__.__name__, YKHO.id, repr(YKHO.name))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wHJl(YKHO):\n return '<Circlet created_at={} description={} total_amount={} amount_paid={}, payment_per_interval={}>'.format(YKHO.created_at, YKHO.description, YKHO.total_amount, YKHO.amount_paid, YKHO.payment_per_interval)", "def Yuu1(YKHO):\n return _1tc('pyramid_bimt:templates/portlet.pt', {'content...
[ "0.63839436", "0.6314821", "0.6197921", "0.61772317", "0.61619705", "0.6131349", "0.6088853", "0.6088853", "0.60707986", "0.60707986", "0.60707986", "0.60707986", "0.6053084", "0.60475296", "0.6010139", "0.5992625", "0.59781677", "0.59653836", "0.59643006", "0.5953834", "0.59...
0.0
-1
Given an incoming request, and an outgoing URL representation, append the value of any builtin query parameters.
def cdOQ(bD7m, QePW=None): if QePW is None: return bD7m If3P = [widx.URL_FORMAT_OVERRIDE] for xqoZ in If3P: if xqoZ and xqoZ in QePW.GET: BWXx = QePW.GET[xqoZ] bD7m = bel4(bD7m, xqoZ, BWXx) return bD7m
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def veX3(bD7m, **umWR):\n return bD7m + ('&' if KVWQ(bD7m).query else '?') + QIYp(umWR, doseq=True)", "def ERBX(QePW, **B2fa):\n dGVW = QePW.GET.copy()\n for H5ew, BWXx in B2fa.items():\n dGVW[H5ew] = BWXx\n return dGVW.urlencode()", "def I9Z_(vKnz, Sri9):\n rP9L = _Ibt(KVWQ(vKnz.old_path...
[ "0.69226676", "0.6862651", "0.68557376", "0.6826018", "0.68209475", "0.67576224", "0.67225325", "0.66731703", "0.6591413", "0.64643353", "0.64596725", "0.6457459", "0.6451042", "0.64290506", "0.63772887", "0.6368692", "0.6322296", "0.63117933", "0.6306355", "0.6277687", "0.62...
0.7496659
0
Run a test to show addition and multiplication works
def BeVZ(YKHO): dg7v = Lr0q(2) iYf1 = Lr0q(4) n5sN = dg7v + iYf1 aEqx = Lr0q(6) YKHO.assertEqual(aEqx, n5sN) i6Pa = iYf1 * 2 nL7s = Lr0q(8) YKHO.assertEqual(nL7s, i6Pa) yjkq = 3 * iYf1 tQHc = Lr0q(12) YKHO.assertEqual(tQHc, yjkq)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rile(YKHO):\n YKHO.assertEquals(AdrB(2, 3), 6)", "def Rile():\n zmQK = 10\n H8An = 2\n assert hzm0.mul(zmQK, H8An) == 20", "def nT13(YKHO):\n khtY, j9Y_, EkqX = ('*', 5, 2)\n Aofo = gzLE(khtY, j9Y_, EkqX)\n YKHO.assertEqual(Aofo, 10)", "def YOKs(YKHO):\n YKHO.assertEqual(YKHO.math...
[ "0.7854379", "0.78200877", "0.7817891", "0.78015333", "0.7799771", "0.7749499", "0.7717401", "0.7716795", "0.7699057", "0.76850283", "0.766268", "0.7621731", "0.7584018", "0.75833786", "0.7564622", "0.756368", "0.756368", "0.7549032", "0.7535916", "0.7534904", "0.7534904", ...
0.0
-1
Distance euclidienne entre les deux Points p et q du plan
def sfJe(XP5J, vexM): return ((XP5J.x - vexM.x) ** 2 + (XP5J.y - vexM.y) ** 2) ** 0.5
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pImw(vexM: Sequence[float], XP5J: Sequence[float]) -> float:\n return sum(((Xlvp - jCyH) ** 2.0 for Xlvp, jCyH in zip(XP5J, vexM))) ** 0.5", "def pImw(XP5J, vexM):\n return abs(XP5J - vexM)", "def FYdX(XP5J, vexM):\n FnT8 = 0.0\n for YRbF in range(len(XP5J)):\n FnT8 = FnT8 + (XP5J[YRbF] ...
[ "0.7540422", "0.75372654", "0.7515807", "0.733016", "0.73274225", "0.72416955", "0.72213596", "0.71948475", "0.710541", "0.7046295", "0.703579", "0.703579", "0.702658", "0.7023509", "0.69864243", "0.69849277", "0.69684565", "0.69593394", "0.6958108", "0.69505554", "0.69246477...
0.7661315
0
Keras Implementation of EEGNet
def wrSL(Ybg9, si_M=8, CUiS=250, xZQk=0.5, e4g3=125, nK5p=7, lWPh=2, Xf5Z=7, CBRV=0.25, O8ZK='Dropout'): if O8ZK == 'SpatialDropout2D': O8ZK = qUci elif O8ZK == 'Dropout': O8ZK = lARV else: raise ValueError('dropoutType must be one of SpatialDropout2D or Dropout, passed as a string.'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Tl6N(YpEK=2):\n C3ST = ileL()\n C3ST.add(bdPE.layers.Bidirectional(bdPE.layers.LSTM(units=400), input_shape=(40000, 8)))\n C3ST.add(bdPE.layers.Dropout(0.5))\n C3ST.add(bdPE.layers.BatchNormalization())\n C3ST.add(bdPE.layers.Dense(YpEK, activation='softmax'))\n return C3ST", "def wrSL(Ybg9...
[ "0.765126", "0.74668986", "0.72107655", "0.7042601", "0.69545114", "0.6784152", "0.67155737", "0.6703177", "0.6689954", "0.6665341", "0.6654705", "0.66417813", "0.66331625", "0.65231156", "0.65131617", "0.65060306", "0.64721483", "0.64215344", "0.64215344", "0.64188755", "0.6...
0.7366961
2
Creates an instance of this model from a dictionary
def rQfz(Emd4, cmPJ): if cmPJ is None: return None tFYD = qRGs.models.cluster_config_proto_vault_cloud_tier_setting.ClusterConfigProto_Vault_CloudTierSetting.from_dictionary(cmPJ.get('cloudTierSetting')) if cmPJ.get('cloudTierSetting') else None mWFP = cmPJ.get('name') gC3K = cmPJ.get('ownership...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rQfz(Emd4, cmPJ):\n if cmPJ == None:\n return None\n else:\n mWFP = cmPJ.get('name')\n l8cJ = cmPJ.get('generic_id')\n Gsi3 = cmPJ.get('therauptic_uses')\n PALZ = cmPJ.get('search_score')\n return Emd4(mWFP, l8cJ, Gsi3, PALZ)", "def rQfz(Emd4, cmPJ):\n if cm...
[ "0.83722425", "0.8335738", "0.8215464", "0.8167521", "0.8167521", "0.81483614", "0.8051766", "0.80300796", "0.8013641", "0.79792094", "0.79221934", "0.7919166", "0.79183745", "0.79125935", "0.7906434", "0.79004663", "0.78967476", "0.7886129", "0.78760797", "0.78543913", "0.78...
0.0
-1
Test that existing department can be updated
def a_6d(NCls): pY6K = NEJe.blend(Mjcm, name='Dept 1') Dokz = 'Dept One' LbUl = f'\n mutation {{\n updateDepartment(\n id: "{str(pY6K.uuid)}"\n name: "{Dokz}"\n )\n {{\n id\n name\n }}\n }}\...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dAOe(YKHO):\n bD7m = f'/departments/{YKHO.department_uuids[0]}/update'\n _hkX = YKHO.client.get(bD7m)\n YKHO.assertEqual(Xqgu.HTTPStatus.OK, _hkX.status_code)\n YKHO.assertIn('Update department page', _hkX.get_data(as_text=True))\n XmJS = '/departments/incorrect_uuid/update'\n _hkX = YKHO.cli...
[ "0.83181804", "0.7285164", "0.7269139", "0.7164905", "0.68498576", "0.67653364", "0.6709736", "0.6702548", "0.6702548", "0.6626448", "0.6610951", "0.6610432", "0.6604304", "0.65669185", "0.6521203", "0.6479715", "0.646449", "0.6443971", "0.6422839", "0.6419887", "0.6415772", ...
0.778241
1
Calculate angular size au size (AU) delta distance to Earth (AU)
def G0Wt(FOHO, RA_F=1): return FOHO / RA_F * 180 / epAf.pi * 3600
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mouT(YKHO, epBp, G0Wt, PXGI='cm'):\n Rus0(PXGI)\n dUBp = G0Wt / 3600.0 * (mM0K / 180.0)\n kblM = YKHO.ang_diam_distance(epBp)\n if PXGI == 'cm':\n return dUBp * kblM\n elif PXGI == 'kpc':\n return dUBp * kblM / n5TD", "def vEhW(n_Ej, n1Eh):\n if n1Eh is None:\n n1Eh = 6...
[ "0.6807816", "0.6536869", "0.63548994", "0.6320247", "0.61082333", "0.59137315", "0.5812506", "0.5752147", "0.5667596", "0.5626669", "0.5626669", "0.56211156", "0.5610967", "0.5571843", "0.5559689", "0.5546293", "0.5536319", "0.5510077", "0.54946935", "0.54872656", "0.5486259...
0.77036107
0
grid the data to a uniform grid using Gaussian kernel weights
def Cs6h(YKHO, PUEs, QUys=0.74): from scipy.stats import norm import matplotlib.pyplot as QrM1 Y7fn = oyIN.linspace(YKHO.longitudes.min(), YKHO.longitudes.max(), PUEs) O5iP = oyIN.linspace(YKHO.latitudes.min(), YKHO.latitudes.max(), PUEs) Et9P = oyIN.zeros((PUEs, PUEs)) y917 = oyIN.average(YKHO....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WZcn(rXfu):\n KnxT = oyIN.ceil(rXfu) + 3\n WKvO = oyIN.arange(0, KnxT)\n LVAh = WKvO\n CAzz, Jd40 = oyIN.meshgrid(WKvO, LVAh, sparse=True)\n SppC = vdkP(CAzz, WKvO.mean(), rXfu) * vdkP(Jd40, LVAh.mean(), rXfu)\n SppC /= SppC.sum()\n return SppC", "def Qfla(WTkW, zNig):\n Cs6h = oyIN.z...
[ "0.6558768", "0.6411387", "0.61846983", "0.61356145", "0.60541916", "0.60072345", "0.59881854", "0.5985159", "0.59720796", "0.5918904", "0.5900661", "0.5894495", "0.5892537", "0.58758765", "0.5839642", "0.5825968", "0.5819403", "0.58088046", "0.5802608", "0.5801508", "0.57864...
0.0
-1
The major function for image patch generation. This function is used to get image patches from normal WSI slides.
def osu7(THEQ, knl1, HLKd, XHxe): eUWA, Jw7X = HLKd WKvO = oyIN.random.randint(XHxe[0], XHxe[1] - Jw7X + 1) LVAh = oyIN.random.randint(XHxe[2], XHxe[3] - eUWA + 1) d6pt = [WKvO, LVAh] QnV5 = THEQ.read_region((WKvO, LVAh), 0, HLKd) e_Sd = oyIN.array(QnV5) wn4H = XC5k.cvtColor(e_Sd, XC5k.COLOR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def etRJ(VXjJ, TlDD, Uqbu, h_4H, SkJr, qWHh):\n r9Hf = 0\n Uz4j = CPun(VXjJ, h_4H, SkJr)\n Corv = MVjK.GetArrayFromImage(TlDD)\n xlij = MVjK.GetArrayFromImage(Uqbu)\n zNig = Uz4j.shape\n U64r = AKVf = fFp1 = None\n Bqhw = []\n for YRbF in range(1, zNig[0] - 1):\n ZHfW = xlij[YRbF]\n ...
[ "0.7095763", "0.66432464", "0.65849507", "0.6560857", "0.64913154", "0.64642876", "0.64170563", "0.6408823", "0.6322386", "0.63103", "0.6288312", "0.62493956", "0.6226048", "0.62010866", "0.6193921", "0.6185222", "0.6148805", "0.6148606", "0.6120945", "0.6107603", "0.6090984"...
0.0
-1
Return the optimizer object by its type.
def nd_x(_Fei, UNGc): lH35 = _Fei.to_dict() del lH35['name'] zRnf = {'sgd': ht2j.optim.SGD, 'adam': ht2j.optim.Adam, 'adagrad': ht2j.optim.Adagrad, 'adadelta': ht2j.optim.Adadelta} if _Fei.name in zRnf: K0do = zRnf[_Fei.name] else: LCet, _2sc = _Fei.name.rsplit('.', 1) YRbF =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nd_x(WAjq: str) -> _DvC[hCm3]:\n if hasattr(sqQC, WAjq):\n return getattr(sqQC, WAjq)\n elif hasattr(_nXv, WAjq):\n return getattr(_nXv, WAjq)\n else:\n raise ValueError('Unknown optimizer %s ' % WAjq)", "def Z2AK(YKHO):\n return YKHO.optimizer_class(YKHO)", "def XgNT(YKHO,...
[ "0.67930067", "0.67867917", "0.6657009", "0.661798", "0.6614488", "0.6408223", "0.6372217", "0.6293601", "0.62039936", "0.61919224", "0.60975873", "0.6094566", "0.60849655", "0.60759807", "0.607505", "0.607505", "0.59811646", "0.5965939", "0.59426004", "0.5938751", "0.5910838...
0.61160076
10
Area of the field of view in rad2
def fZkQ(YKHO): return P6bq.Quantity(oyIN.pi * (YKHO.camera_radius / YKHO.focal) ** 2, P6bq.rad ** 2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Aw0V(YKHO):\n pass", "def f0tD(YKHO):\n return YKHO.sl ** 2", "def f0tD(YKHO):\n return YKHO.pi * YKHO.radius * YKHO.radius", "def f0tD(YKHO):\n return 4 * mM0K * YKHO.radius ** 2", "def f0tD(YKHO):\n pass", "def FnSF(YKHO):\n ...", "def f0tD(YKHO):\n f0tD = YKHO.length * YKHO....
[ "0.76140505", "0.7563979", "0.7414935", "0.7371741", "0.73108226", "0.7303901", "0.7300002", "0.7273798", "0.7271611", "0.7250039", "0.7219618", "0.7189025", "0.7189025", "0.7189025", "0.7187882", "0.71842664", "0.7180099", "0.7172694", "0.7169659", "0.7146388", "0.71437", ...
0.0
-1
Build and returns an exception message.
def RGNy(YKHO, Ol8d, **B2fa): if Ol8d: return Ol8d return LKl3(YKHO.message_format, B2fa)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o_zY(BQDi):\n RW0C = 'Failed to connect to qBittorrent. '\n gACw = {VqU5.SSLError: 'This is likely due to using an untrusted certificate (likely self-signed) for HTTPS qBittorrent WebUI. To suppress this error (and skip certificate verification consequently exposing the HTTPS connection to man-in-the-mid...
[ "0.69329464", "0.6642783", "0.6614058", "0.65368366", "0.64923555", "0.64598507", "0.6361306", "0.6331809", "0.6238465", "0.6212412", "0.619622", "0.61386156", "0.6117142", "0.61042887", "0.6099478", "0.6080123", "0.607691", "0.60743916", "0.6041388", "0.6025178", "0.60176545...
0.64203495
6
Returns the y error of the given point (x, y). The error is positive if the point is to the left of the path.
def SZzV(YKHO, M_DK): d6pt, mp07 = YKHO.get_closest(M_DK) V0zD = epAf.sqrt((M_DK[0] - mp07[0]) ** 2 + (M_DK[1] - mp07[1]) ** 2) if YKHO.is_left(M_DK): V0zD = -V0zD return V0zD
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e5rN(YKHO):\n return (YKHO.yerrplus + YKHO.yerrminus) / 2.0", "def P1dF(LVAh, ijL8):\n return (LVAh - ijL8) ** 2", "def P1dF(LVAh, Csk6):\n return Csk6 - LVAh", "def zq0d(AU8u):\n return AU8u[1]", "def yDCK(YKHO, WKvO):\n if YKHO.is_vertical:\n raise ArithmeticError\n return YK...
[ "0.6870081", "0.67758375", "0.6675982", "0.6644445", "0.6611783", "0.6593375", "0.6583664", "0.6572253", "0.65162057", "0.6486507", "0.64460224", "0.63214", "0.62931967", "0.62098926", "0.6179247", "0.61751467", "0.61715883", "0.616233", "0.60983086", "0.60895693", "0.6046576...
0.61239314
18
Internal function. Given a list of features and a Panel object, return a list of ChannelMapping objects that correspond with the given Panel.
def _kBT(bySB: list, BcQj: Panel) -> list: AvyM = list() bswm = BcQj.mappings for eHNT in bySB: YwkQ = list(filter(lambda WKvO: WKvO.channel == eHNT, bswm)) _5yy = list(filter(lambda WKvO: WKvO.marker == eHNT, bswm)) if (len(YwkQ) > 1 or len(_5yy) > 1) or (len(YwkQ) == 1 and len(_5yy...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KVH6(YKHO, a9GU):\n assert a9GU.dim() == 4, 'Expected 4D input of (N, C, H, W)'\n Ep8u = a9GU.size(0)\n xMux = a9GU.size(1)\n FhZb = []\n for XP5J in YKHO.pools:\n FhZb.append(XP5J(a9GU).view(Ep8u, xMux, -1))\n return ht2j.cat(FhZb, dim=2)", "def doN3(YKHO):\n if YKHO.panelColumn ...
[ "0.56398046", "0.5623441", "0.5525853", "0.5454256", "0.53837407", "0.52974737", "0.51581556", "0.508978", "0.50765395", "0.507334", "0.5070391", "0.50513804", "0.500063", "0.49723294", "0.4971587", "0.49675637", "0.49655452", "0.4961713", "0.49548978", "0.4950016", "0.491561...
0.86376524
0
A utility function converting xarray, pandas, or NumPy data to a given dtype.
def V55I(nPrm, yDqo): if yDqo is None: return nPrm return nPrm.astype(yDqo)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZVfK(yDqo):\n if isinstance(yDqo, m1c7.DType):\n return yDqo.as_numpy_dtype\n return oyIN.dtype(yDqo)", "def Br5Q(input, yDqo):\n pass", "def h5Uj(WKvO):\n return oyIN.dtype(H_D2(WKvO))", "def xiEV(Aofo: ArrayLike, yDqo: str | np.dtype) -> JNmu:\n tks9 = False\n if isinstance(yDq...
[ "0.7569637", "0.7455004", "0.7447407", "0.74087644", "0.72806454", "0.71811664", "0.71725136", "0.7162766", "0.7162766", "0.7058055", "0.70255625", "0.7021762", "0.7001622", "0.69917655", "0.6980345", "0.69258446", "0.6904425", "0.6858427", "0.6857657", "0.6839249", "0.682326...
0.83142674
0
This runs when a Get or POST request is sent to our website at the / endpoint renders our displayResult.html file if a POST request is sent with an image of type jpg, else renders index.html
def nbcS(): if QePW.method == 'POST': if 'file' not in QePW.files: Dwep('No file part') return vKnz(QePW.url) nUeQ = QePW.files['file'] if nUeQ.filename == '': Dwep('No selected file') return vKnz(QePW.url) if nUeQ and XT0o(nUeQ.filenam...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d6pt(YKHO):\n return _1tc('/derived/image/index.mako')", "def Wp7P(YKHO):\n if YKHO.path.endswith('.html') or YKHO.path == '/':\n YKHO.send_response(200)\n YKHO.send_header('Content-type', 'text/html')\n YKHO.end_headers()\n YKHO.wfile.write('<html><head></head><body>'.encod...
[ "0.6765666", "0.67590344", "0.66285866", "0.6626949", "0.6522", "0.65168774", "0.6480442", "0.64267474", "0.6357716", "0.6337647", "0.6316321", "0.63115007", "0.63071346", "0.6303383", "0.62630916", "0.62562644", "0.6203856", "0.619332", "0.616551", "0.615809", "0.6157281", ...
0.0
-1
Return the user by id.
def dmD8(id): NCls = aM69.connect() return NCls[id]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ggdo(Emd4, id):\n CBIr = Emd4.get_by_id(id)\n return CBIr", "def ggdo(Emd4, id):\n CBIr = Emd4.get_by_id(id)\n return CBIr", "def bt8D(id):\n return mv1M.query.get(id)", "def TKWP(YKHO, id):\n return YKHO._fetch_json('users/' + id)", "def g971(id):\n return mv1M.query.get(int(id))"...
[ "0.89098465", "0.89098465", "0.888501", "0.87729365", "0.87631565", "0.87562263", "0.87454563", "0.86761534", "0.8597964", "0.85914886", "0.857299", "0.8564919", "0.8541163", "0.8514055", "0.8512898", "0.8427835", "0.8426908", "0.84188175", "0.8394282", "0.8382788", "0.835946...
0.0
-1