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
return the installed version of git
def VFFA(bp2y, yR_P): HCmI = '%s --version' % bp2y RBVb, yvT9, XObx = yR_P.run_command(HCmI) if RBVb != 0: return None WJWc = ZbWC.search('git version (.*)$', dGsl(yvT9)) if not WJWc: return None return RRys(WJWc.groups()[0])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lSgd():\n U5bT = TfjD('git --version')\n return U5bT[0].split(' ')[-1]", "def jyfY():\n if len(fhlA) > 1:\n return fhlA\n else:\n DpZH = 'v' + BtDU\n return DpZH", "def VFFA():\n\n def tgM5(hpqK):\n \"\"\"Execute git command and return result as string.\"\"\"\n ...
[ "0.8870535", "0.82851404", "0.7982143", "0.7965685", "0.79495585", "0.7931421", "0.79070324", "0.78356534", "0.77497226", "0.77466786", "0.7692989", "0.76769894", "0.7661456", "0.76128733", "0.75689715", "0.7566244", "0.75518614", "0.752368", "0.7515952", "0.74573284", "0.743...
0.7625547
13
Compute softmax values for each sets of scores in x.
def N93T(WKvO): uw5A = oyIN.exp(WKvO - oyIN.max(WKvO)) return uw5A / uw5A.sum()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oSvh(WKvO):\n S2MS = []\n if oyIN.array(WKvO).ndim == 1:\n hrCc = oyIN.exp(WKvO)\n RmXN = oyIN.sum(hrCc)\n xzMv = hrCc / RmXN\n dzye = xzMv\n else:\n dzye = oyIN.exp(cCrA) / oyIN.sum(oyIN.exp(cCrA), axis=0)\n return dzye", "def N93T(WKvO):\n j1LR = oyIN.exp(o...
[ "0.80113125", "0.77607703", "0.77607703", "0.7687368", "0.76707524", "0.76605", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76397043", "0.762786", "0.7551623", "0.7532752", "0.74565", "0.73242354", "0.73171765", "0.7298...
0.7092462
56
Function which reverses every n characters in a string
def Pgbs(l5Ny, exwG): WKvO = exwG YRbF = 0 while YRbF < len(l5Ny): jzdc = l5Ny[YRbF:exwG] print(jzdc[::-1], end='') YRbF += WKvO exwG += WKvO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GoVQ(input):\n exwG = len(input)\n if exwG <= 1:\n return input\n else:\n return input[-1] + GoVQ(input[:exwG - 1])", "def gxEw(ywwl):\n vIwR = str(ywwl)\n if vIwR == '':\n return ''\n elif len(vIwR) == 1:\n return vIwR[0]\n else:\n return gxEw(vIwR[1:]...
[ "0.7200744", "0.70636046", "0.7027507", "0.69896734", "0.69721806", "0.6957313", "0.69469243", "0.67839277", "0.67343754", "0.6731442", "0.6684734", "0.6667805", "0.66416353", "0.66298366", "0.6629546", "0.66122", "0.66055626", "0.6592586", "0.65893435", "0.6581061", "0.65701...
0.6330522
42
Override the values of title and slug before saving.
def x0SS(YKHO): super().clean() YKHO.title = '%s %s' % (YKHO.first_name, YKHO.last_name) if not YKHO.slug: YKHO.slug = eIIt(YKHO.title)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xkzz(YKHO, *qIxc, **B2fa):\n if not YKHO.slug:\n YKHO.slug = eIIt(YKHO.title)\n super().save(*qIxc, **B2fa)", "def xkzz(YKHO, *qIxc, **B2fa):\n YKHO.slug = eIIt(YKHO.name)\n super().save(*qIxc, **B2fa)", "def xkzz(YKHO, *qIxc, **B2fa):\n YKHO.title = YKHO.title.lower()\n super().sa...
[ "0.8482215", "0.820603", "0.80713505", "0.80509007", "0.79877746", "0.7950565", "0.79418254", "0.79217464", "0.792068", "0.7872279", "0.7839564", "0.7829938", "0.77121025", "0.76681334", "0.7658721", "0.765243", "0.76515096", "0.7634025", "0.761336", "0.7607311", "0.7606316",...
0.7248383
30
Pull all values of specified key from nested JSON.
def qhUQ(YEnM, H5ew): ezWE = [] def JDhM(YEnM, ezWE, H5ew): """Recursively search for values of key in JSON tree.""" if isinstance(YEnM, dict): for G1Hx, Ty9i in YEnM.items(): if isinstance(Ty9i, (dict, list)): JDhM(Ty9i, ezWE, H5ew) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SMfb(YEnM, H5ew):\n ezWE = []\n\n def JDhM(YEnM, ezWE, H5ew):\n \"\"\"Recursively search for values of key in JSON tree.\"\"\"\n if isinstance(YEnM, dict):\n for G1Hx, Ty9i in YEnM.items():\n if isinstance(Ty9i, (dict, list)):\n JDhM(Ty9i, ezWE, ...
[ "0.7434536", "0.74193996", "0.7417293", "0.73814774", "0.73814774", "0.736917", "0.736917", "0.736917", "0.736917", "0.736917", "0.73316526", "0.7264907", "0.7261087", "0.6943328", "0.6678457", "0.6633629", "0.6513345", "0.64046437", "0.6270228", "0.61455", "0.6140376", "0....
0.65269464
16
Extends a dict by possible subdicts in its values, recursive. Key names get extended by dot and subkeyname.
def ZFa2(Emd4, DmbV: Dict[str, Any], SKLc: List[str]) -> cuzp[str, ImMB]: if DmbV is None: raise ValueError('need dictionary to gather sub-values') if SKLc is None: SKLc = [] Qcsg: cuzp[str, ImMB] = {} for H5ew, BWXx in DmbV.items(): if H5ew in SKLc: continue ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fE84(Csk6, PUAf='', VWe_='\\\\') -> dict:\n DumB = []\n for G1Hx, Ty9i in Csk6.items():\n hU8D = str(PUAf.parent) + VWe_ + str(PUAf.name) + VWe_ + str(G1Hx.name) if PUAf else G1Hx\n if isinstance(Ty9i, ZrSl):\n DumB.extend(fE84(Ty9i, hU8D, sep=VWe_).items())\n else:\n ...
[ "0.6595122", "0.65350866", "0.649983", "0.64863473", "0.64684904", "0.64455026", "0.6399966", "0.6392608", "0.6381826", "0.6274468", "0.6263923", "0.62516934", "0.6235581", "0.62228745", "0.61800635", "0.6166972", "0.6162253", "0.614409", "0.61354005", "0.6126646", "0.6124604...
0.6299899
9
Given H^1 and world coordinates, returns (u, v) in image coordinates.
def _7a5(dYvE, hksT): if hksT.ndim > 1: oO8S = oyIN.hstack((hksT, oyIN.ones((hksT.shape[0], 1)))) NlSD = oyIN.transpose(oO8S) NlSD = oyIN.matmul(dYvE, NlSD) CRbn = oyIN.transpose(NlSD / NlSD[2]) sAai = CRbn[:, :2].astype(int) else: oO8S = oyIN.hstack((hksT, 1)) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Z4NJ(YKHO, d6pt):\n fopC = qAjl(YKHO._west, YKHO._east, awRs(float(YKHO.u[d6pt]), GLcw))\n _UuI = qAjl(YKHO._south, YKHO._north, awRs(float(YKHO.v[d6pt]), GLcw))\n H2v2 = YKHO._dequantize_height(YKHO.h[d6pt])\n return (fopC, _UuI, H2v2)", "def fEyv(MKlR):\n return r8hN * Oa1e * MKlR", "def a...
[ "0.6550477", "0.65275675", "0.6498925", "0.6405801", "0.6390496", "0.6235121", "0.62071687", "0.62071687", "0.6205646", "0.61400294", "0.6107966", "0.6097877", "0.6068056", "0.6013157", "0.5937812", "0.59131634", "0.5835186", "0.58338267", "0.58297956", "0.5818771", "0.581292...
0.58401
16
neuron activation function return y = neuron activation results vector for z inputs vectors
def BbPK(YKHO, HabP, _mSQ, epBp, ECMu=None): LVAh = oyIN.dot(_mSQ, epBp) + HabP if ECMu != None: LVAh = ECMu(LVAh) return LVAh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KVH6(YKHO, epBp):\n jzdc = YKHO.fc2(epBp)\n Fg_i = YKHO.tanh(jzdc)\n Z9rn = YKHO.fc3(Fg_i)\n LVAh = YKHO.sigmoid(Z9rn)\n return LVAh", "def YDYE(YKHO, epBp):\n return 1.0 / (1.0 + oyIN.exp(-epBp))", "def YDYE(YKHO, epBp):\n return 1.0 / (1.0 + oyIN.exp(-epBp))", "def bKD6(g4y1, _mSQ)...
[ "0.7558166", "0.73776525", "0.7369904", "0.73401874", "0.7157857", "0.711526", "0.7095281", "0.7050178", "0.7003699", "0.69920534", "0.6986142", "0.698608", "0.6913398", "0.6868363", "0.6866233", "0.6861787", "0.6858043", "0.6858043", "0.68549716", "0.6839737", "0.6834547", ...
0.662641
59
neuron activation function return y = neuron activation results vector for z inputs vectors
def BPsS(YKHO, HabP, _mSQ, epBp, ECMu=None): LVAh = oyIN.dot(_mSQ, epBp) + HabP if ECMu != None: LVAh = ECMu(LVAh) return LVAh.reshape(2, YKHO.n)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KVH6(YKHO, epBp):\n jzdc = YKHO.fc2(epBp)\n Fg_i = YKHO.tanh(jzdc)\n Z9rn = YKHO.fc3(Fg_i)\n LVAh = YKHO.sigmoid(Z9rn)\n return LVAh", "def YDYE(YKHO, epBp):\n return 1.0 / (1.0 + oyIN.exp(-epBp))", "def YDYE(YKHO, epBp):\n return 1.0 / (1.0 + oyIN.exp(-epBp))", "def bKD6(g4y1, _mSQ)...
[ "0.75588787", "0.7378576", "0.7370771", "0.7341311", "0.7158334", "0.71160996", "0.7095942", "0.70511997", "0.7003991", "0.6993001", "0.6986883", "0.69863904", "0.69145054", "0.6869319", "0.6866571", "0.6862518", "0.68587166", "0.68587166", "0.68558073", "0.684076", "0.683548...
0.0
-1
Gets the numeric part in the string Returns numeric part and what's left of the string
def bIOh(xDcj): A1sf = '([0-9.,]+[bB]{1})' WyYT = ZbWC.search(A1sf, xDcj) aeJd = ZbWC.sub(A1sf, '', xDcj) if WyYT is not None: if len(WyYT.groups()) > 0: RI88 = WyYT.group(0) RI88 = RI88.replace('b', '000000000') RI88 = RI88.replace('B', '000000000') ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uAc9(KCHu):\n r8hN = LAHl.match(KCHu)\n if r8hN:\n return int(r8hN.group(1))\n return None", "def ekab(KCHu):\n sdCG = KCHu.rstrip('0123456789')\n J3uN = KCHu[len(sdCG):]\n return int(J3uN)", "def g9BZ(vIwR):\n try:\n U5bT = float(ZbWC.sub('[^0-9]', '', vIwR))\n except...
[ "0.7777498", "0.7689534", "0.7406192", "0.7359927", "0.7344909", "0.7321555", "0.7266741", "0.7151609", "0.7036454", "0.69830346", "0.69737583", "0.6941281", "0.6909713", "0.69080955", "0.6895566", "0.67812145", "0.6754375", "0.6746136", "0.67274135", "0.67200327", "0.6708879...
0.615907
66
Computes the canonical bounding box (a box with the smallest possible shape from BOX_LABELS that contains the entire mask), and the inner box (the smallest box of any shape that contains the entire mask, with one pixel of padding on all sides)
def n_ga(Zaej, i5J1=False): d6hw = hnIv.open(Zaej).convert('1') Ddli = oyIN.array(d6hw) TY0K = oyIN.argwhere(Ddli.sum(axis=0))[:, 0] tndH = oyIN.argwhere(Ddli.sum(axis=1))[:, 0] o4D3 = TY0K[0] ajwV = TY0K[-1] + 1 si3g = tndH[0] skBL = tndH[-1] + 1 DBV3 = (o4D3, si3g, ajwV, skBL) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C1GJ(ZHfW):\n Orl3 = []\n zcD_ = []\n for or8S in range(ZHfW.ndim):\n jDK_ = tuple([YRbF for YRbF in range(ZHfW.ndim) if YRbF != or8S])\n LnWz = oyIN.any(ZHfW, axis=jDK_)\n kpLf, JCoA = oyIN.where(LnWz)[0][[0, -1]]\n Orl3.append(kpLf)\n zcD_.append(JCoA - kpLf + 1)\n...
[ "0.77496797", "0.7565673", "0.75596285", "0.7547867", "0.7547867", "0.7547867", "0.7547867", "0.7547867", "0.7547867", "0.7547867", "0.75465703", "0.7538668", "0.74796945", "0.7437798", "0.7422357", "0.7400777", "0.7371362", "0.73316973", "0.73310673", "0.7283527", "0.7160626...
0.6862693
37
Pick a random neighbor to return. Doesn't matter if it's been visited before.
def BhOL(YKHO, TxAA): A_IW = [] if YKHO.row - 1 > -1: A_IW.append((YKHO.row - 1, YKHO.col)) if YKHO.col + 1 < len(TxAA[0]): A_IW.append((YKHO.row, YKHO.col + 1)) if YKHO.row + 1 < len(TxAA): A_IW.append((YKHO.row + 1, YKHO.col)) if YKHO.col - 1 > -1: A_IW.append((YKHO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WIxN(BHsk):\n return Acvy(A_IW(BHsk))", "def WIxN(BHsk):\n return Acvy(A_IW(BHsk))", "def aQBm(yvY1, Q6kx):\n A_IW = list(yvY1.neighbors(Q6kx))\n t65c = Acvy(A_IW)\n return t65c", "def aQBm(Q6kx):\n jbXL = A_IW(Q6kx)\n tuKI.shuffle(jbXL)\n for cWFu in jbXL:\n if IWu0(cWFu, ...
[ "0.83898705", "0.83898705", "0.81827927", "0.8170225", "0.7677658", "0.7610422", "0.74058044", "0.7401953", "0.7176188", "0.71754247", "0.7143255", "0.7126517", "0.7102213", "0.7026217", "0.6796604", "0.6715007", "0.66923934", "0.66763514", "0.66171795", "0.6580616", "0.65306...
0.703395
13
Determines if name is a substring of person.
def ug2Q(a70H, mWFP): si3y = a70H.split(' ') qQeT = mWFP.split(' ') for YRbF in range(len(si3y)): r845 = 0 while YRbF + r845 < len(si3y) and r845 < len(qQeT) and (si3y[YRbF + r845] == qQeT[r845]): r845 = r845 + 1 if r845 == len(qQeT): return True return Fa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nAj9(qe93, mWFP):\n for a70H in qe93:\n if ug2Q(a70H, mWFP):\n return a70H\n return mWFP", "def QJtP():\n pass", "def GOCf(YKHO, mWFP):\n return mWFP in YKHO.all_sub_names", "def ug2Q(YKHO, j93S, Nqp_):\n return Nqp_ in j93S", "def bMxf(YKHO, T3na):\n return ZbWC.mat...
[ "0.7023387", "0.6704976", "0.6444863", "0.62692", "0.6210888", "0.61707985", "0.60806966", "0.60429347", "0.60380316", "0.6036457", "0.6014458", "0.59887975", "0.5921869", "0.5910238", "0.5897101", "0.5887141", "0.5865511", "0.5865511", "0.5749299", "0.5743621", "0.5743345", ...
0.7872562
0
Determines if name is simply another mention of someone in all_people, or if it's the first mention of someone.
def nAj9(qe93, mWFP): for a70H in qe93: if ug2Q(a70H, mWFP): return a70H return mWFP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ilzf(YKHO, mWFP):\n exwG = mWFP.strip()\n return exwG == YKHO.name or exwG in YKHO.aliases", "def Adq1(YKHO, a70H, oDdC):\n c9ua = a70H.first_name.lower()\n zp3f = a70H.last_name.lower()\n UQiB = oDdC.lower()\n IuVt = UQiB.find(c9ua)\n Ks_T = UQiB.find(zp3f)\n return (not IuVt == -1) ...
[ "0.6700145", "0.66602695", "0.663788", "0.6297932", "0.62413096", "0.6219194", "0.61372805", "0.6015957", "0.5951769", "0.59106696", "0.5891515", "0.587624", "0.58337903", "0.5802048", "0.57512796", "0.5750999", "0.5741323", "0.5674658", "0.567084", "0.56708086", "0.5643346",...
0.6213185
6
push_back(self, x) push_back(self) > bpt_t
def Rb2A(YKHO, *qIxc): return HpXt.bpt_vec_t_push_back(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rb2A(YKHO, WKvO: 'vectorB') -> 'void':\n return FZrS.vectorvectorB_push_back(YKHO, WKvO)", "def jmxi(YKHO, yLYV):\n return YKHO.first() > yLYV.last()", "def jmxi(YKHO, Elif):\n if not isinstance(Elif, lNLu):\n return YKHO > Elif\n bWpY = sorted(YKHO, reverse=True)\n vl3o = sorted(Elif...
[ "0.6363569", "0.6342543", "0.6060249", "0.5961656", "0.5937474", "0.5916984", "0.58919865", "0.5886072", "0.583975", "0.5810487", "0.5806415", "0.57747555", "0.5755562", "0.572077", "0.5701432", "0.5654283", "0.56534123", "0.5649996", "0.5645088", "0.56444985", "0.56246305", ...
0.6069234
2
at(self, _idx) > bpt_t
def _QSz(YKHO, *qIxc): return HpXt.bpt_vec_t_at(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jmxi(YKHO, yLYV):\n return YKHO.first() > yLYV.last()", "def FYXB(YKHO, d6pt):\n return YKHO._bdp_out.__contains__(d6pt)", "def jmxi(YKHO, Xf84):\n return gQS9.coord___gt__(YKHO, Xf84)", "def jmxi(YKHO, *qIxc):\n return HpXt.bpt_location_t___gt__(YKHO, *qIxc)", "def P0yC(YKHO):\n yqjZ = ...
[ "0.6957657", "0.6688094", "0.6666785", "0.64727163", "0.61848724", "0.61848724", "0.61705357", "0.6169438", "0.6169438", "0.6140135", "0.6140135", "0.6138414", "0.6138414", "0.6129166", "0.6129166", "0.6128734", "0.6128734", "0.61282843", "0.6127613", "0.6126837", "0.61260784...
0.0
-1
__getitem__(self, i) > bpt_t
def OP2O(YKHO, *qIxc): return HpXt.bpt_vec_t___getitem__(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jmxi(YKHO, yLYV):\n return YKHO.first() > yLYV.last()", "def jmxi(YKHO, *qIxc):\n return HpXt.bpt_location_t___gt__(YKHO, *qIxc)", "def jmxi(YKHO, *qIxc):\n return KFJf.indx1___gt__(YKHO, *qIxc)", "def jmxi(YKHO, Xf84):\n return gQS9.coord___gt__(YKHO, Xf84)", "def FYXB(YKHO, d6pt):\n re...
[ "0.701878", "0.641128", "0.61999804", "0.6155965", "0.61388654", "0.6130614", "0.6130614", "0.6123684", "0.6108809", "0.6108809", "0.60834867", "0.60834867", "0.6082065", "0.6082065", "0.60765654", "0.60765654", "0.60742086", "0.60734236", "0.60712415", "0.60712415", "0.60692...
0.0
-1
at(self, _idx) > tev_reg_value_t
def _QSz(YKHO, *qIxc): return HpXt.tev_reg_values_t_at(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OP2O(YKHO, *qIxc):\n return HpXt.tev_reg_values_t___getitem__(YKHO, *qIxc)", "def W6gU(QTBn, jgcL, XIpl, lN7W):\n Aofo = QTBn[:]\n Aofo[lN7W] = 1 if jgcL > Aofo[XIpl] else 0\n return Aofo", "def _QSz(YKHO, *qIxc):\n return HpXt.tevinforeg_vec_t_at(YKHO, *qIxc)", "def P0yC(YKHO):\n yqjZ ...
[ "0.59183776", "0.5827393", "0.5572471", "0.5504073", "0.5504073", "0.54783773", "0.54768693", "0.5470074", "0.5470074", "0.54589874", "0.54589874", "0.5451557", "0.54452515", "0.54452515", "0.5443866", "0.5443866", "0.5433629", "0.54323554", "0.5428017", "0.5427719", "0.54271...
0.61580795
0
__getitem__(self, i) > tev_reg_value_t
def OP2O(YKHO, *qIxc): return HpXt.tev_reg_values_t___getitem__(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OP2O(YKHO, *qIxc):\n return HpXt.tevinforeg_vec_t___getitem__(YKHO, *qIxc)", "def W6gU(QTBn, jgcL, XIpl, lN7W):\n Aofo = QTBn[:]\n Aofo[lN7W] = 1 if jgcL > Aofo[XIpl] else 0\n return Aofo", "def OP2O(YKHO, YRbF):\n return YKHO.vals[YRbF]", "def GfdN(YKHO, a1PO):\n return YKHO.data[a1PO]...
[ "0.6193371", "0.6057629", "0.60502976", "0.59274936", "0.582744", "0.57962507", "0.57962507", "0.573288", "0.573288", "0.5727134", "0.5725637", "0.5718222", "0.57172066", "0.57172066", "0.57166123", "0.56990176", "0.56990176", "0.56910723", "0.5691003", "0.5684922", "0.568492...
0.6540728
0
push_back(self, x) push_back(self) > memreg_info_t
def Rb2A(YKHO, *qIxc): return HpXt.memreg_infos_t_push_back(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rb2A(YKHO, *qIxc):\n return IOEi.reginfovec_t_push_back(YKHO, *qIxc)", "def Rb2A(YKHO, *qIxc):\n return HpXt.tevinforeg_vec_t_push_back(YKHO, *qIxc)", "def Rb2A(YKHO, *qIxc):\n return IOEi.regobjvec_t_push_back(YKHO, *qIxc)", "def Rb2A(YKHO, WKvO):\n return oekH.IntsList_push_back(YKHO, WKvO)...
[ "0.7419344", "0.69871193", "0.6962668", "0.66822964", "0.6573985", "0.6570768", "0.6473234", "0.6452227", "0.640775", "0.6348327", "0.6315705", "0.6307837", "0.6273751", "0.62722415", "0.6226984", "0.6223681", "0.61829877", "0.6160861", "0.6150283", "0.6136469", "0.6098488", ...
0.7761146
0
clear_requests_queue() Clear the queue of waiting requests. \sq{Type, Synchronous function, Notification, none (synchronous function)}If a request is currently running, this one isn't stopped.
def jmfV(*qIxc): return HpXt.clear_requests_queue(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EUec(YKHO):\n Fl4h.debug('Clearing transaction queue')\n YKHO._queuedRequests = []\n YKHO._queuedAddrTableItems = []\n YKHO._queuedIsARead = []", "def Y7Bk(YKHO):\n with YKHO.__lock:\n try:\n while True:\n YKHO._queue.get_nowait()\n YKHO._queue.t...
[ "0.69768924", "0.66849226", "0.6622627", "0.6614297", "0.6474566", "0.6452892", "0.64432573", "0.64262", "0.63960904", "0.63857126", "0.6341119", "0.62869817", "0.6265139", "0.62630475", "0.6203117", "0.6203117", "0.61629874", "0.6155949", "0.6106625", "0.6075115", "0.6049226...
0.7483172
0
is_reg_float(regname) > bool Does a register contain a floating point value? \sq{Type, Synchronous function, Notification, none (synchronous function)}
def TJae(*qIxc): return HpXt.is_reg_float(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QpCZ(NO5o):\n if NO5o >= 0 and NO5o in {L5ex.GS_DOUBLE, L5ex.GS_FLOAT, L5ex.GS_DOUBLE2D, L5ex.GS_FLOAT2D, L5ex.GS_DOUBLE3D, L5ex.GS_FLOAT3D}:\n return True\n else:\n return False", "def SH_w(BWXx):\n try:\n float(BWXx)\n return True\n except Exception:\n return ...
[ "0.7177182", "0.70587164", "0.69916093", "0.69857967", "0.69837284", "0.69660306", "0.6956944", "0.68887705", "0.68887705", "0.68887705", "0.68887705", "0.6886709", "0.6884798", "0.68745375", "0.68727916", "0.68409956", "0.6830786", "0.68247706", "0.681629", "0.68111944", "0....
0.881999
0
is_reg_custom(regname) > bool Does a register contain a value of a custom data type? \sq{Type, Synchronous function, Notification, none (synchronous function)}
def _1ns(*qIxc): return HpXt.is_reg_custom(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sjXf(YKHO, lQ3t: ghidra.program.model.lang.Register) -> bool:\n ...", "def X2Ci(YKHO, BWXx):\n WpwY = [YKHO.register_addresses[G1Hx] for G1Hx in YKHO.registers.keys() if 'R' in G1Hx]\n print('**' * 20)\n print(WpwY)\n if BWXx in WpwY:\n return True\n return False", "def G8fl(z1Rg):...
[ "0.6796774", "0.6639019", "0.66053396", "0.64894646", "0.63639826", "0.62476146", "0.6235374", "0.6235374", "0.6235374", "0.6208516", "0.6162456", "0.6093181", "0.6054959", "0.60339147", "0.5991685", "0.59828573", "0.59397435", "0.59127235", "0.5910551", "0.58980906", "0.5867...
0.7977266
0
__lt__(self, r) > bool
def JWbp(YKHO, *qIxc): return HpXt.bpt_location_t___lt__(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jmxi(YKHO, Mkmy):\n return not YKHO < Mkmy and YKHO != Mkmy", "def TPjt(YKHO, Mkmy):\n return YKHO < Mkmy or YKHO == Mkmy", "def JWbp(YKHO, Elif) -> bool:\n if YKHO >= Elif:\n return False\n else:\n return True", "def JWbp(YKHO, Elif):\n return True", "def JWbp(YKHO, *qIxc)...
[ "0.8197583", "0.80872566", "0.7912055", "0.78755784", "0.7841197", "0.7838196", "0.7826501", "0.78159946", "0.77694476", "0.77694476", "0.77694476", "0.7738633", "0.7709483", "0.7683897", "0.76223445", "0.75884616", "0.7577362", "0.7577362", "0.7569694", "0.7567183", "0.75577...
0.0
-1
__ge__(self, r) > bool
def Zcf_(YKHO, *qIxc): return HpXt.bpt_location_t___ge__(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zcf_(YKHO, Mkmy):\n return YKHO > Mkmy or YKHO == Mkmy", "def jmxi(YKHO, Mkmy):\n return not YKHO < Mkmy and YKHO != Mkmy", "def TPjt(YKHO, Mkmy):\n return YKHO < Mkmy or YKHO == Mkmy", "def jmxi(YKHO, HB7I):\n return not YKHO <= HB7I", "def Zcf_(YKHO, Elif):\n return YKHO >= Elif", "d...
[ "0.83097476", "0.8257901", "0.7746933", "0.74948096", "0.73338336", "0.7231217", "0.719447", "0.7134199", "0.71247536", "0.7093009", "0.70842797", "0.70753485", "0.7047136", "0.70225316", "0.7012261", "0.70103854", "0.6956882", "0.695555", "0.69341964", "0.69101274", "0.68592...
0.0
-1
Unload a config entry.
async def async_unload_entry(ajET: HomeAssistant, PhL6: ConfigEntry) -> bool: yT1k = await ajET.config_entries.async_unload_platforms(PhL6, aprE) if yT1k: ajET.data[Sugg].pop(PhL6.entry_id) return yT1k
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def async_unload_entry(ajET: HomeAssistant, bTKY: config_entries.ConfigEntry):\n return await ajET.config_entries.async_forward_entry_unload(bTKY, lQ1Q)", "async def async_unload_entry(ajET: HomeAssistantType, bTKY: ConfigEntry):\n nNXP = ajET.data[Sugg][bTKY.unique_id]\n await nNXP.async_unload()...
[ "0.70418245", "0.69975436", "0.69197667", "0.69024074", "0.6896897", "0.6870464", "0.6840728", "0.67911863", "0.67835754", "0.6782968", "0.6776581", "0.67688036", "0.6737991", "0.6730449", "0.6713354", "0.67085946", "0.6664857", "0.66411716", "0.6637687", "0.66157013", "0.660...
0.6574474
22
get item vectors from softmax parameter
def u2Yr(tIFw, Vopl): if tIFw is None or Vopl is None: return None iArr = [] WBmI = tIFw.shape[0] if WBmI != Vopl.shape[1]: return None LF9p = tIFw.shape[1] + 1 for YRbF in range(0, WBmI): iArr.append([]) iArr[YRbF].append(Vopl[0][YRbF]) for r845 in range(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N93T(YKHO, input):\n yvT9 = []\n for VXjJ in oyIN.transpose(input):\n yvT9.append(oyIN.exp(VXjJ) / oyIN.sum(oyIN.exp(VXjJ)))\n return oyIN.transpose(oyIN.array(yvT9))", "def anMS(YKHO):\n EcVT = YKHO._input_nodes[0]._value\n return BfDw.softmax(EcVT)", "def N93T(WKvO):\n return Kt_...
[ "0.700995", "0.6925001", "0.678538", "0.6727341", "0.6695387", "0.66792905", "0.6641045", "0.6638427", "0.66342103", "0.6616884", "0.6610395", "0.6595695", "0.6571516", "0.65406793", "0.65050167", "0.6504826", "0.6500546", "0.6497169", "0.6497169", "0.6490458", "0.6486731", ...
0.6944553
1
Constructor. The optional 'locals' argument specifies the dictionary in which code will be executed; it defaults to a newly created dictionary with key "__name__" set to "__console__" and key "__doc__" set to None. We include an argument for the outfile to pass to the formatter for it to write to.
def FIMM(YKHO, locals=None, tZ2K=None): if locals is None: locals = {'__name__': '__console__', '__doc__': None} if tZ2K is None: tZ2K = vuUb() q5A7.__init__(YKHO, locals, tZ2K) YKHO.locals = locals YKHO.compile = kCoA() YKHO.write = lambda HH9L: HwRy.stderr.write(HH9L) YKHO....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, locals=None, tZ2K=None):\n YKHO.command_table = {}\n YKHO.encoding = tZ2K or HwRy.getdefaultencoding()\n YKHO.syntaxerror_callback = None\n Wxnj.InteractiveInterpreter.__init__(YKHO, locals)\n YKHO.locals['__command_table'] = YKHO.command_table", "def FIMM(YKHO, Ux0P):\n HwRy.std...
[ "0.6357669", "0.628756", "0.6197234", "0.58930546", "0.58888555", "0.5879314", "0.57961273", "0.578976", "0.5775226", "0.5746797", "0.57287276", "0.57223", "0.5679801", "0.5584515", "0.5582254", "0.5571448", "0.55692387", "0.5563978", "0.5557762", "0.5544467", "0.5509341", ...
0.7216606
0
Returns the string representation of the model
def gTzM(YKHO): import simplejson as qQXR if jKi7.PY2: import sys U3hF(sys) sys.setdefaultencoding('utf-8') return qQXR.dumps(yInN(YKHO), ensure_ascii=False)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.8641601", "0.85101396", "0.7854588", "0.77447397", "0.7712095", "0.7697975", "0.7660445", "0.76389617", "0.76230335", "0.7608357", "0.7608357", "0.7608357", "0.7607762", "0.7600412", "0.75866044", "0.7583521", "0.75721645", "0.7569367", "0.7540305", "0.7540305", "0.7528848...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Verifies that there are at least three points.
def wgMc(LTIa): if len(LTIa) < 3: raise ValueError('"points" must be a list of 3 or more points')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def s543(YKHO) -> None:\n auhb = [(1, 2, 3), (1.0, 2, 3), (1.0, 2.0, 3)]\n YKHO.valid_functionality_points(M1rV, auhb)", "def Qrgo(*cmJd):\n for Ty9i in cmJd:\n if not (isinstance(Ty9i, (list, tuple)) and len(Ty9i) == 3 and all((isinstance(Z9rn, KUXB) for Z9rn in Ty9i))):\n return Fals...
[ "0.71734", "0.6748274", "0.66773117", "0.65684724", "0.6518643", "0.644755", "0.6443581", "0.64008915", "0.63831437", "0.63688195", "0.6350037", "0.6345303", "0.63314927", "0.63294196", "0.62689376", "0.62186885", "0.61761105", "0.6128016", "0.611555", "0.60970616", "0.608414...
0.777727
0
Gets all of the points
def LTIa(YKHO): return YKHO._instance.GetPts
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M40C(YKHO):\n return YKHO.points", "def bHzr(YKHO) -> None:\n ...", "def zxJV(YKHO):\n Ylbp = []\n Ylbp.extend(YKHO.points)\n return Ylbp", "def fLCL(YKHO):\n LTIa = []\n for exwG in range(len(YKHO.points)):\n WKvO, LVAh, a1PO, V2zj = YKHO.points[exwG]\n LTIa.append((WK...
[ "0.90193236", "0.8827689", "0.81520665", "0.8114029", "0.8092304", "0.79989034", "0.79509085", "0.79261845", "0.79073495", "0.78496563", "0.78243655", "0.7810639", "0.7806453", "0.77721566", "0.77721566", "0.77721566", "0.77721566", "0.77578527", "0.77388966", "0.77388966", "...
0.77954686
13
Gets the truncation maximum
def Ac_a(YKHO): return YKHO._instance.GetTruncMax
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qfB5(YKHO) -> int:\n return YKHO._max + YKHO._offset", "def K2hj(YKHO):\n return oyIN.amax(YKHO.container)", "def ZWqN(YKHO):\n return YKHO._maximum", "def qfB5(YKHO):\n return oyIN.amax(YKHO.data[:YKHO.length])", "def qfB5(YKHO):\n return YKHO.maximum", "def qfB5(YKHO):\n return YK...
[ "0.7693248", "0.7508953", "0.75004077", "0.74996215", "0.7472151", "0.74635804", "0.74458486", "0.7378548", "0.7316747", "0.7283382", "0.7271258", "0.7271258", "0.72507364", "0.72498065", "0.719248", "0.7190112", "0.7190112", "0.7178094", "0.7177166", "0.715572", "0.714737", ...
0.8781974
0
Generator yielding a sequence of (x0, x1, ...), ln(P(x0, x1, ...)) tuples where (x0, x1, ...) is a randomlychosen coordinate in the Ndimensional binning and P(x0, x1, ...) is the PDF from which the coordinate tuple has been drawn evaluated at those coordinates. If ns is not None it must be a sequence of floats whose le...
def TqeZ(YKHO, PCpl=None, zrIJ=None): if PCpl is None: PCpl = (1.0,) * len(YKHO) if zrIJ is None: zrIJ = (slice(None, None),) * len(YKHO) NpZ9 = tuple((iter(kAtl.randcoord(exwG, domain=Csk6)).next for kAtl, exwG, Csk6 in zip(YKHO, PCpl, zrIJ))) while 1: Q6uT = sum((vNOY() for vNO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TqeZ(YKHO, exwG=1.0, zrIJ=slice(None, None)):\n if len(YKHO) < 1:\n raise ValueError('empty binning')\n if zrIJ.step is not None:\n raise NotImplementedError('step not supported: %s' % repr(zrIJ))\n jVJG = epAf.isinf\n js4S = tuKI.uniform\n vC9B = YKHO.lower()\n P6bq = YKHO.uppe...
[ "0.6837265", "0.5647441", "0.5627143", "0.55594635", "0.5307094", "0.53048533", "0.5276127", "0.5270797", "0.518098", "0.51577413", "0.515545", "0.50804466", "0.50757205", "0.50722605", "0.5017742", "0.50009173", "0.4988206", "0.49830958", "0.49513924", "0.49486253", "0.49456...
0.69709766
0
Add the contents of another BinnedArray object to this one. Both must have identical binnings.
def CaoY(YKHO, Elif): if YKHO.bins != Elif.bins: raise TypeError('incompatible binning: %s' % repr(Elif)) YKHO.array += Elif.array return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CaoY(YKHO: BinnedData, Elif: BinnedData) -> PCaM:\n if YKHO.axes != Elif.axes:\n _ye8 = f'Binning is different for given binned data, so cannot be added! len(self.axes): {len(YKHO.axes)}, len(other.axes): {len(Elif.axes)}. axes: {YKHO.axes}, other axes: {Elif.axes}.'\n raise TypeError(_ye8)\n ...
[ "0.7699495", "0.7297459", "0.7279262", "0.7261118", "0.72073764", "0.6810649", "0.65429616", "0.6383193", "0.6270321", "0.6262273", "0.6228387", "0.621884", "0.6205771", "0.6205079", "0.6172506", "0.6146154", "0.60700667", "0.6027927", "0.59911895", "0.5974445", "0.5959216", ...
0.7731394
0
Return a copy of the BinnedArray. The .bins attribute is shared with the original.
def jth9(YKHO): return type(YKHO)(YKHO.bins, YKHO.array.copy())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Pyrc(YKHO) -> RCzl:\n return YKHO._bins", "def jth9(YKHO: BinnedData) -> PCaM:\n return type(YKHO)(axes=hxiP((jDK_.copy() for jDK_ in YKHO.axes)), values=oyIN.array(YKHO.values, copy=True), variances=oyIN.array(YKHO.variances, copy=True), metadata=YKHO.metadata.copy())", "def jth9(YKHO: Axis) -> UznS...
[ "0.73018426", "0.70110464", "0.695616", "0.6805504", "0.6557188", "0.65442187", "0.6259401", "0.62550884", "0.6246565", "0.621542", "0.6154672", "0.6107354", "0.6090826", "0.6072678", "0.605524", "0.5983328", "0.59710693", "0.5968115", "0.59654766", "0.594947", "0.59214747", ...
0.7857003
0
Right rotation set self as the right subtree of left subree
def cD9a(YKHO): wyPV = YKHO.node.left.node Xk92 = wyPV.right.node pQpe = YKHO.node YKHO.node = wyPV pQpe.left.node = Xk92 wyPV.right.node = pQpe
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HoBr(YKHO) -> None:\n aUGN = YKHO.right\n YKHO.root, aUGN.root = (aUGN.root, YKHO.root)\n YKHO.right = aUGN.right\n aUGN.right = YKHO\n aUGN.left = YKHO.left\n YKHO.left = aUGN", "def d1sg(YKHO):\n WKvO = YKHO\n LVAh = WKvO.left\n LVAh.parent = WKvO.parent\n if LVAh.parent.left ...
[ "0.8394075", "0.8212067", "0.81960773", "0.81577235", "0.81441104", "0.80816257", "0.799692", "0.79715", "0.7967164", "0.793254", "0.7915472", "0.78970313", "0.78962284", "0.78642106", "0.7807982", "0.7771682", "0.7761842", "0.77585435", "0.7739347", "0.7733119", "0.77316475"...
0.86056083
0
Left rotation set self as the left subtree of right subree
def ap8_(YKHO): wyPV = YKHO.node.right.node Xk92 = wyPV.left.node pQpe = YKHO.node YKHO.node = wyPV pQpe.right.node = Xk92 wyPV.left.node = pQpe
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yo67(YKHO) -> None:\n aUGN = YKHO.right\n YKHO.root, aUGN.root = (aUGN.root, YKHO.root)\n YKHO.right = aUGN.right\n aUGN.right = YKHO\n aUGN.left = YKHO.left\n YKHO.left = aUGN", "def qcNA(YKHO, tk5Y):\n Mkmy = tk5Y.right\n WKvO = tk5Y.right.left\n Mkmy.left = tk5Y\n tk5Y.right ...
[ "0.84806234", "0.8294668", "0.8212381", "0.81291527", "0.81084216", "0.8039553", "0.80218655", "0.8015312", "0.7996097", "0.7990508", "0.79808044", "0.79646486", "0.79640394", "0.7946924", "0.7915165", "0.78974336", "0.7889759", "0.7840057", "0.7817649", "0.7812742", "0.78118...
0.8599325
0
Gets the upper and lower bound 95% confidence intervals for each coefficient excluding alpha t_k=(b_kbeta_k)/sqrt(s^2 Skk)
def _l0K(YKHO): Cwt5 = 0.05 Z6xF = eQSh.t.ppf(1 - Cwt5 / 2, YKHO.df_resid + 1) risj = rLdf.DataFrame({'upper': XTiz.zeros(len(YKHO.coef_)), 'lower': XTiz.zeros(len(YKHO.coef_)), 'b': YKHO.coef_}, index=YKHO.independent_) for P2GO, SRYB in enumerate(YKHO.independent_): risj.loc[SRYB, 'upper'] = r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wND2(G1Hx, exwG, O3ch=0.95, D1sU=1e-06):\n WvXq = float(0)\n HO2h = iV0I = yAia = G1Hx / float(exwG)\n kdQy = DSke = float(1)\n MV3Q = (WvXq + HO2h) / 2\n n7kj = (HO2h + kdQy) / 2\n if G1Hx == 0:\n while abs(UqYS.cdf(n7kj, 1, exwG + 1) - O3ch) > D1sU:\n if UqYS.cdf(n7kj, 1, ...
[ "0.6577954", "0.6561243", "0.6381363", "0.63681257", "0.62764066", "0.6266835", "0.6210774", "0.62005883", "0.6190494", "0.61282355", "0.6081686", "0.60789925", "0.6021164", "0.5984859", "0.59686023", "0.59360164", "0.59231454", "0.59118384", "0.59038895", "0.5845312", "0.584...
0.6705148
0
Returns the OAuth 2.0 client ID for the client of the given name.
def A0yo(wy4N): return S6CY('GOOGLE_CLIENT_ID_%s' % wy4N)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VzEz(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'oauth_client_id_name')", "def tkzx(YKHO) -> str:\n return qe4Y.get(YKHO, 'oauth2_client_id')", "def tkzx(YKHO) -> str:\n return qe4Y.get(YKHO, 'oauth2_client_id')", "def RTzd():\n zb3C = lQ3t.get('auth_google.client_id')\n if no...
[ "0.77202946", "0.7716944", "0.7716944", "0.7059986", "0.7035353", "0.70343834", "0.70207095", "0.69925857", "0.67641544", "0.67318153", "0.67057115", "0.6682017", "0.66779333", "0.66723603", "0.66537106", "0.66537106", "0.66537106", "0.66537106", "0.66537106", "0.66537106", "...
0.8128822
0
Returns the OAuth 2.0 client secret for the client of the given name.
def gR3E(wy4N): return S6CY('GOOGLE_CLIENT_SECRET_%s' % wy4N)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H6un(YKHO) -> str:\n return qe4Y.get(YKHO, 'oauth2_client_secret')", "def H6un(YKHO) -> str:\n return qe4Y.get(YKHO, 'oauth2_client_secret')", "def OIyy(YKHO, hJxb, QePW):\n R72Z = gCuF.LTI_OAUTH_CREDENTIALS.get(hJxb, dict())\n if R72Z and 'secret' in R72Z:\n DXni = R72Z['secret']\n e...
[ "0.76596785", "0.76596785", "0.7153703", "0.69516873", "0.6897906", "0.68448794", "0.68011516", "0.67861354", "0.6710896", "0.6641752", "0.6641752", "0.6641752", "0.6641752", "0.6641752", "0.6641752", "0.6640021", "0.6632792", "0.65480477", "0.65047675", "0.64586073", "0.6458...
0.80482614
0
Compute the reduced row echelon form of a ``DomainMatrix`` with denominator.
def m18Q(E3D9, *, dIDS=True, NKcE='auto'): NKcE, kt5b = WXFP(E3D9, NKcE, denominator=True) E3D9, GrMW = l6Hz(E3D9, kt5b) if NKcE == 'FF': AZ6f, OCOs, z1Uf = fJ6k(E3D9) elif NKcE == 'GJ': Q624, z1Uf = rrWz(JK_E(E3D9)) if dIDS and Q624.domain != E3D9.domain: bGrB, AZ6f ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qlJF(Vy9t):\n lBp9(Vy9t)\n MkIU(Vy9t)", "def wbFQ(k0lF):\n k0lF = aLMY.row_echelon_form(k0lF)\n dKsP, jWEX = (len(k0lF.ls_entries[0]), len(k0lF.ls_entries))\n jeT9 = dKsP if jWEX >= dKsP else dKsP - 1\n for YRbF in reversed(range(1, jeT9)):\n qufj = aLMY([[WKvO * epBp[0] for WKvO in ...
[ "0.6275505", "0.62026256", "0.5997447", "0.5983847", "0.5876923", "0.5869528", "0.5823199", "0.58157754", "0.5810018", "0.58006024", "0.5678491", "0.5669072", "0.56377447", "0.5621701", "0.5606466", "0.5586225", "0.55440325", "0.55349827", "0.553407", "0.5494728", "0.54752713...
0.0
-1
Loads an already existing training history in order to continue the training from there. Note that this only loads the history, but the model parameters need to be loaded into the neural network independently to properly continue a training from where it stopped.
def dkUj(YKHO, qtWj): try: with open(Hy7s.path.join(YKHO.path_to_model_dir, 'train_history_ep{}_best.pickle'.format(qtWj)), mode='rb') as eHNT: FLXQ = rIin.load(eHNT) RKD7.info('Loaded history from previous training, continuing from where it was stopped.') return FLXQ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oUkS(YKHO):\n YKHO.history = YKHO.model.fit(YKHO.train_data, YKHO.train_labels, epochs=20, batch_size=512, validation_data=(YKHO.val_data, YKHO.val_labels))\n YKHO.save_model()\n with open('history.pkl', 'wb') as nUeQ:\n t2lc.dump(YKHO.history.history, nUeQ)", "def YHt_(YKHO):\n JHDS = [YK...
[ "0.72545946", "0.6862372", "0.6860537", "0.6770572", "0.6748805", "0.67081827", "0.66724086", "0.66141415", "0.661094", "0.6593979", "0.6580666", "0.65727496", "0.65566075", "0.65194225", "0.6504742", "0.6496077", "0.64905304", "0.648675", "0.6466469", "0.64631677", "0.646292...
0.8228035
0
Get the (newly created) model directory path for the monitored model.
def klOW(YKHO): return YKHO.path_to_model_dir
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def klOW() -> str:\n return f'{lXzx}/{FT9F}/{ITS7.strftime('%Y/%m/%d', ITS7.gmtime())}'", "def eG0V(YKHO):\n return Hy7s.path.abspath(YKHO._model_dir)", "def eG0V(YKHO) -> str:\n return YKHO._model_dir", "def eG0V(YKHO):\n return YKHO._model_dir", "def EJdr(YKHO, C3ST):\n return Hy7s.path.jo...
[ "0.8033511", "0.8002807", "0.790899", "0.7732848", "0.76796657", "0.76206386", "0.76010233", "0.74914163", "0.7473608", "0.74258924", "0.73300725", "0.72830135", "0.72399676", "0.72298026", "0.7217066", "0.71791273", "0.71682125", "0.7160543", "0.71111906", "0.7078239", "0.70...
0.80250674
1
Make a grid of images.
def R0O3(vhpA, aUKP=8, dvgN=2, NkkI=False, range=None, X2Rs=False, KHPh=0): if not (ht2j.is_tensor(vhpA) or (isinstance(vhpA, list) and all((ht2j.is_tensor(a1PO) for a1PO in vhpA)))): raise TypeError('tensor or list of tensors expected, got {}'.format(type(vhpA))) if isinstance(vhpA, list): vhpA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ry8O(Yw_3):\n JI1i = QrM1.figure(figsize=(10, 10))\n for YRbF in range(25):\n QrM1.subplot(5, 5, YRbF + 1, title='name')\n QrM1.xticks([])\n QrM1.yticks([])\n QrM1.grid(False)\n QrM1.imshow(Yw_3[YRbF], cmap=QrM1.cm.binary)\n return JI1i", "def e9s6(Yw_3, aUKP=10):\...
[ "0.78698134", "0.7849756", "0.76389235", "0.763619", "0.7454014", "0.737946", "0.7248002", "0.72153574", "0.7183387", "0.7167475", "0.7042519", "0.69932187", "0.69910866", "0.6985145", "0.6950002", "0.6947613", "0.69283676", "0.6914624", "0.68839025", "0.6881402", "0.6869505"...
0.0
-1
Returns direct children of a given node
def MLqu(hxjC: PETGraphX, Q6kx: CUNode, wjLZ: EdgeType) -> x1iM[wlML]: return [hxjC.node_at(a1PO) for KCHu, a1PO, Csk6 in hxjC.out_edges(Q6kx.id) if Csk6.etype == wjLZ]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rj6q(Q6kx):\n return list(wNRb(Q6kx))", "def afYC(YKHO, Q6kx):\n return Q6kx.children", "def RbaF(YKHO, Q6kx):\n YKHO.initialize(Q6kx)\n return YKHO._child_by_parent_id[Q6kx.id]", "def RbaF(YKHO, Q6kx):\n if not hasattr(YKHO, '_node_cache'):\n YKHO._node_cache = XV97()\n return Y...
[ "0.8172306", "0.80335104", "0.76954675", "0.75858533", "0.75591797", "0.7470271", "0.7402638", "0.7400412", "0.73091865", "0.7217995", "0.72076774", "0.71738374", "0.7140342", "0.7136931", "0.7100017", "0.7083202", "0.7075559", "0.7065568", "0.705868", "0.7050129", "0.6984365...
0.0
-1
Checks if variable is written in subtree
def YdI9(XuY2: str, m6Me: Set[Tuple[str, str, Dependency]], Wv4F: Set[Tuple[str, str, Dependency]], J_Es: List[CUNode]) -> bool: for tTpl in Hs6x.chain(m6Me, Wv4F): if tTpl[2].var_name == XuY2 and any([exwG.id == tTpl[1] for exwG in J_Es]): return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IKfL(YKHO, Q6kx):\n if YKHO.is_leaf_node(Q6kx):\n return False\n return YKHO.labels[YKHO.children[Q6kx][0]] == 'v'", "def GCUH(SRYB: str, ik4q: Set[Tuple[str, str, Dependency]], J_Es: List[CUNode]) -> bool:\n for tTpl in ik4q:\n if tTpl[2].var_name == SRYB and any([exwG.id == tTpl[1] f...
[ "0.68171424", "0.65949416", "0.6550974", "0.6538967", "0.63758117", "0.6346544", "0.6222575", "0.5989243", "0.5967468", "0.592238", "0.58620924", "0.58167815", "0.57745785", "0.5763972", "0.5763972", "0.5741049", "0.57402337", "0.57100433", "0.5708934", "0.56770474", "0.56562...
0.7366669
0
Checks if variable is a scalar value
def LoSo(SRYB) -> bool: return not (SRYB.type.endswith('**') or SRYB.type.startswith('ARRAY' or SRYB.type.startswith('[')))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OjXW(Ty9i):\n return isinstance(Ty9i, vzbM)", "def OjXW(SRYB):\n if hasattr(SRYB, '__len__'):\n return False\n else:\n return True", "def OjXW(Ty9i, BWXx=None):\n if isinstance(Ty9i, iQnE):\n if not Ty9i.type.is_scalar():\n return False\n return BWXx is No...
[ "0.83402604", "0.81372917", "0.8094421", "0.8014951", "0.79314685", "0.7907357", "0.7906281", "0.77993447", "0.7629417", "0.7615969", "0.744795", "0.7339913", "0.72228277", "0.71476156", "0.70916754", "0.70717746", "0.6989865", "0.69584996", "0.6917185", "0.6915587", "0.68496...
0.8154656
1
Checks if variable is read in subtree
def GCUH(SRYB: str, ik4q: Set[Tuple[str, str, Dependency]], J_Es: List[CUNode]) -> bool: for tTpl in ik4q: if tTpl[2].var_name == SRYB and any([exwG.id == tTpl[1] for exwG in J_Es]): return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IKfL(YKHO, Q6kx):\n if YKHO.is_leaf_node(Q6kx):\n return False\n return YKHO.labels[YKHO.children[Q6kx][0]] == 'v'", "def lgif(YKHO, SRYB):\n return SRYB in YKHO.data", "def I0zM(SRYB: str, J_Es: List[CUNode]) -> bool:\n for Q6kx in J_Es:\n if Q6kx.type == CvW4.CU:\n fo...
[ "0.68838775", "0.67706037", "0.667237", "0.6503168", "0.63832146", "0.6282316", "0.6268281", "0.621011", "0.6116815", "0.60728204", "0.6064807", "0.6004467", "0.59920764", "0.59854245", "0.59819365", "0.59122264", "0.58499223", "0.5832016", "0.58278966", "0.58018965", "0.5801...
0.71003973
0
Append a new node to the end of the linked list
def SStx(YKHO, BWXx): if YKHO.head is None: YKHO.head = o7DN(BWXx) return Q6kx = YKHO.head while Q6kx.next: Q6kx = Q6kx.next Q6kx.next = o7DN(BWXx) return
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SStx(YKHO, Esd_):\n jvSB = YKHO.head\n if YKHO.head:\n while jvSB.next:\n jvSB = jvSB.next\n jvSB.next = Esd_\n else:\n YKHO.head = Esd_", "def SStx(YKHO, Esd_):\n jvSB = YKHO.head\n if YKHO.head:\n while jvSB.next:\n jvSB = jvSB.next\n ...
[ "0.84396636", "0.84396636", "0.81361276", "0.81272703", "0.81030834", "0.8093281", "0.8093281", "0.8093281", "0.8084242", "0.8054521", "0.805141", "0.80298567", "0.8013703", "0.797059", "0.7968907", "0.79567957", "0.7907296", "0.7892131", "0.7891236", "0.7889346", "0.78843486...
0.75840235
54
Return the first node and remove it from the linked list
def PMSx(YKHO): if YKHO.head is None: raise ValueError('Linked list empty') Q6kx = YKHO.head YKHO.head = YKHO.head.next return Q6kx.value
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Hxuq(YKHO):\n V3IK = YKHO.head\n if V3IK is None:\n return None\n zAcD = V3IK.next_node\n V3IK.next_node = None\n if zAcD is not None:\n zAcD.previous_node = None\n YKHO.head = zAcD\n return V3IK", "def Hxuq(YKHO):\n if YKHO.size == 0:\n return None\n sdCG = YK...
[ "0.8612276", "0.8422675", "0.8340006", "0.83336186", "0.83134854", "0.81684947", "0.8089745", "0.80212927", "0.78918254", "0.7875463", "0.7852999", "0.7828373", "0.7786688", "0.7777465", "0.77747893", "0.77430856", "0.773356", "0.7722584", "0.77044797", "0.7652545", "0.759208...
0.6928732
73
Return the size of the linked list
def AQWC(YKHO): Q6kx = YKHO.head UHFx = 0 while Q6kx: UHFx += 1 Q6kx = Q6kx.next return UHFx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ROXe(YKHO):\n zNig = 0\n ZbOB = YKHO.head\n while ZbOB:\n ZbOB = ZbOB.next\n zNig += 1\n return zNig", "def zNig(YKHO):\n THsq = YKHO.head\n sL7f = 0\n while THsq is not None:\n sL7f = sL7f + 1\n THsq = THsq.next\n return sL7f", "def jiw9(YKHO):\n \"\"...
[ "0.8917656", "0.88997555", "0.88309276", "0.8825111", "0.8820622", "0.8770206", "0.87488824", "0.87201893", "0.8659098", "0.86523545", "0.8648615", "0.8648615", "0.8636018", "0.86297745", "0.8603387", "0.8579272", "0.8561611", "0.85498375", "0.8529328", "0.8527741", "0.851855...
0.89980984
0
r""" Yield the lines in file ``fp`` with trailing whitespace stripped and with lines beginning with ``/^\s/`` (i.e., comment lines) discarded
def A5ZY(ytgA): for zFiD in ytgA: zFiD = zFiD.rstrip() if zFiD == '' or zFiD.lstrip().startswith('#'): continue yield zFiD
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pyrV(eHNT):\n for zFiD in eHNT:\n zFiD = zFiD.rstrip()\n if zFiD and (not zFiD.startswith('#')):\n yield zFiD", "def dRdd(eZ_W: Iterator[str]) -> bDy6[str]:\n rNCt = False\n for zFiD in eZ_W:\n if rNCt:\n if C99t in zFiD:\n rNCt, zFiD = (Fals...
[ "0.708471", "0.7062295", "0.656247", "0.64882576", "0.64703524", "0.63666403", "0.6345202", "0.63352025", "0.6258063", "0.6246441", "0.62326384", "0.62215674", "0.6205864", "0.61834645", "0.61035043", "0.61023384", "0.6099485", "0.60526145", "0.6016397", "0.5986664", "0.59302...
0.76184404
0
Adds a node to the graph.
def H2v5(YKHO, Q6kx): if isinstance(Q6kx, str): kVtJ = Q6kx Q6kx = YKHO.create_node(kVtJ) elif Q6kx.children: for aUGN in Q6kx.children: assert aUGN in YKHO if hasattr(aUGN, 'count') and aUGN.count < YKHO.MIN_COUNT: return YKHO._nodes[Q6kx.id_s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def g5gD(YKHO, Q6kx):\n YKHO.graph[Q6kx]", "def g5gD(YKHO, Q6kx):\n YKHO.nodes.add(Q6kx)", "def g5gD(YKHO, Q6kx):\n YKHO._nodes.add(Q6kx)", "def g5gD(YKHO, Q6kx):\n YKHO._check_nodes([Q6kx])\n jHsn.DiGraph.add_node.im_func(YKHO, Q6kx)", "def g5gD(YKHO, Q6kx):\n YKHO.nodes.append(Q6kx)", ...
[ "0.8981951", "0.8455298", "0.83962333", "0.8368694", "0.8360725", "0.8360725", "0.833824", "0.8278745", "0.82567376", "0.8219399", "0.8179236", "0.81746435", "0.8142335", "0.80853117", "0.80645996", "0.8064339", "0.804924", "0.80376804", "0.79966027", "0.79966027", "0.7877801...
0.0
-1
Returns the node if it's in the graph, else `default`.
def NMoC(YKHO, kVtJ, WmM4=None, H2v5=False): try: return YKHO._nodes[kVtJ] except KeyError: if H2v5: Esd_ = YKHO.create_node(kVtJ) YKHO.add(Esd_) return Esd_ else: return WmM4
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IyQV(YKHO, mWFP):\n if YKHO.graph.has_node(mWFP):\n return YKHO.graph.nodes[mWFP]\n raise ValueError(f'No node called {mWFP}')", "def Q6kx(J_Es, laNn, WmM4=''):\n Ziit = J_Es.xpath(laNn)\n return Ziit[0] if Ziit else WmM4", "def IyQV(YKHO, mWFP):\n return YKHO.graph[mWFP]", "def HXO...
[ "0.6826196", "0.67803985", "0.67710257", "0.6652173", "0.6646081", "0.6630214", "0.6622473", "0.65921944", "0.656367", "0.6524755", "0.65081954", "0.64333504", "0.6409592", "0.638277", "0.63505524", "0.63341963", "0.63223183", "0.6311451", "0.630402", "0.62734276", "0.6260235...
0.64836574
11
Computes the sum of all integers between 1 and n, inclusive. Assume n is positive.
def MCOv(exwG): if exwG == 0: return 0 return exwG + MCOv(exwG - 1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VPfk(exwG):\n KCHu = 0\n for G1Hx in range(exwG + 1):\n KCHu += G1Hx\n return KCHu", "def LXk7(exwG):\n if exwG < 1:\n return 0\n KCHu = 0\n for YRbF in range(1, exwG + 1):\n KCHu += YRbF\n return KCHu", "def XPOE(exwG):\n return 0", "def dgAL(exwG):\n KCHu...
[ "0.8492451", "0.84209836", "0.83329564", "0.83046436", "0.8290935", "0.8216693", "0.81301886", "0.80761075", "0.79760414", "0.78833306", "0.78256345", "0.7778492", "0.77026063", "0.7659385", "0.7652846", "0.7613466", "0.7562297", "0.7544587", "0.752669", "0.7521632", "0.74917...
0.77486646
12
Return the sum of every other natural number up to n, inclusive.
def PLNy(exwG): if exwG == 0: return 0 elif exwG == 1: return 1 else: return exwG + PLNy(exwG - 2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WjrA(exwG):\n return exwG * (exwG + 1) // 2", "def sCQu(exwG):\n wjRY = 0\n for YRbF in range(1, 2 * exwG, 2):\n wjRY += YRbF\n return wjRY", "def XPOE(exwG):\n return 0", "def VPfk(exwG):\n KCHu = 0\n for G1Hx in range(exwG + 1):\n KCHu += G1Hx\n return KCHu", "de...
[ "0.78964156", "0.7786897", "0.7685097", "0.75969", "0.75478727", "0.75337887", "0.75320435", "0.7516072", "0.74961007", "0.7495192", "0.7467569", "0.74270344", "0.7421328", "0.736642", "0.73602426", "0.73586625", "0.7346431", "0.72147626", "0.71901315", "0.7174982", "0.717338...
0.8120923
0
Write a function using recursion that takes in a string and returns a reversed copy of the string. The only string operation you are allowed to use is string concatenation.
def XS13(KCHu): if KCHu == '': return '' return KCHu[-1] + XS13(KCHu[:-1])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eMaF(vIwR: str) -> str:\n if len(vIwR) <= 1:\n return vIwR\n else:\n return eMaF(vIwR[1:]) + vIwR[0]", "def Zlgv(KCHu: str) -> str:\n if KCHu == '':\n return KCHu\n else:\n return Zlgv(KCHu[1:]) + KCHu[0]\n pass", "def GoVQ(input):\n if len(input) <= 1:\n ...
[ "0.8300036", "0.80941945", "0.7970266", "0.7940259", "0.79355985", "0.78748924", "0.7856791", "0.78386205", "0.78204674", "0.77759105", "0.7750819", "0.77286863", "0.7687883", "0.76840943", "0.767347", "0.7673454", "0.7649302", "0.7619845", "0.7588867", "0.7533311", "0.748446...
0.67393386
90
Create a D3M pipeline for this class.
def GTYz(): raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b3kW(YKHO):\n wxaK = []\n for xC3W in YKHO.weights:\n wxaK.append((xC3W, vzhO(xC3W)))\n YKHO.pipeline = TkMt(UVqZ(transformer_list=wxaK, transformer_weights=YKHO.weights), _VRL(kernel='linear'))", "def nPIK(YKHO, *qIxc, **B2fa):\n return Y0rt(YKHO, *qIxc, **B2fa)", "def Cc7Y(YKHO, A90d, ...
[ "0.6680125", "0.65544623", "0.64203084", "0.6251283", "0.62421316", "0.62311137", "0.62137747", "0.62064993", "0.6166494", "0.61468077", "0.61161757", "0.6104404", "0.6096404", "0.60820603", "0.6065392", "0.6057526", "0.6047192", "0.60224396", "0.602103", "0.6015518", "0.5997...
0.58589685
33
Find all files for joined predictions, and create the DF
def HiEp(oYQe, eH9u, vi2_, S0ij, yDqo=None, zR04=False, hrFh=1.0, hsrD=None, xMr8=False, OTY2=None): bo34.debug(f'Find joined preds db at: {vi2_}') A99F = [] for chr in eH9u: D1gn = SC2F.glob(Hy7s.path.join(vi2_, '**', f'{oYQe}_T*_{chr}_join_preds_eval_db.sort.csv.gz'), recursive=True) if le...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OQn_(YKHO) -> rLdf.DataFrame:\n K2kF = []\n for Xf36 in Hy7s.listdir(YKHO.path2prediction):\n cg8n = YKHO._process_one_txt_file(Xf36)\n K2kF.append(cg8n)\n qCjE = rLdf.concat(K2kF, ignore_index=True, axis=0, join='outer')\n YKHO._add_wav_fn_column(qCjE)\n YKHO._add_prediction_pic_f...
[ "0.69338775", "0.65126264", "0.6438821", "0.64337504", "0.63732564", "0.632876", "0.63223886", "0.6322036", "0.6320715", "0.6295768", "0.62497294", "0.62105155", "0.6210372", "0.6202572", "0.6167231", "0.61588085", "0.6152202", "0.6150799", "0.6139185", "0.6136585", "0.606530...
0.5764644
68
Get the pp_logging.TrainLogger instance.
def FVKW(YKHO): return YKHO._train_logger
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JAsj():\n return YbB3", "def dm02(CErl: Trainer) -> z_IJ:\n if isinstance(CErl.logger, z_IJ):\n return CErl.logger\n if isinstance(CErl.logger, W0kV):\n for bo34 in CErl.logger:\n if isinstance(bo34, z_IJ):\n return bo34\n raise Exception('TensorBoardLogger...
[ "0.71055573", "0.6968216", "0.6775461", "0.6736182", "0.6661734", "0.66309893", "0.6603968", "0.6549035", "0.6543097", "0.64986044", "0.6489666", "0.6417181", "0.64132637", "0.6411056", "0.6411056", "0.63498175", "0.6345491", "0.63132983", "0.63101315", "0.6297385", "0.625480...
0.8177081
0
Generate a diagnostics string to print in standard format.
def BVRJ(YKHO, P1dF=None, rR1S=None, bz8X=None, TSez=None, N77f=None, zNig=None, vqHY=None, O6d_=None, fG8v=None, dW_7=None, Fe9u=None, UJ4h=None, XgXw=None, P4Cr=None): Wbxz = [] if P1dF is not None: Wbxz.append(f'Test Error: {P1dF:5.2f}%') if rR1S is not None: Wbxz.append(f'Test Error Diff...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n l5Ny = ''\n for XObx in sorted(YKHO.errors, key=lambda tTpl: tTpl[0].sort_key()):\n l5Ny += '%s: %s: %s\\n' % (XObx[0], XObx[1], XObx[2])\n return l5Ny", "def zAg0(YKHO):\n Y6Wp = []\n Y6Wp.append('Variables (V): {}'.format(set(YKHO.variables)))\n Y6Wp.append('Terminals...
[ "0.6532064", "0.6481877", "0.64121", "0.63935727", "0.63329434", "0.63329434", "0.6321321", "0.6316631", "0.6250388", "0.62306637", "0.62278754", "0.62275875", "0.62263036", "0.61997074", "0.6186934", "0.6176911", "0.6176787", "0.61279696", "0.6112252", "0.6105759", "0.609815...
0.60127676
36
Returns the loaded data from the user filepath into a pandas dataframe.
def uH5u(YKHO, VqRE): try: nPrm = rLdf.read_csv(VqRE) except IOError: HwRy.exit('INVALID FILEPATH: {}'.format(VqRE)) return nPrm
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UlWi(qaEx):\n return rLdf.read_csv(qaEx)", "def UlWi(pmON: str) -> rLdf.DataFrame:\n if pmON is None:\n return None\n else:\n return rLdf.read_csv(pmON)", "def bOBl(Ux0P):\n nPrm = rLdf.read_csv(Ux0P)\n return nPrm", "def AyYN(*, gIsw: str) -> rLdf.DataFrame:\n BdPz = rLdf...
[ "0.75628656", "0.75462174", "0.74905187", "0.73914874", "0.7360677", "0.73557717", "0.73181677", "0.73108435", "0.72836286", "0.72795445", "0.72775", "0.7252432", "0.7240704", "0.7225996", "0.7224493", "0.72122085", "0.720213", "0.71869165", "0.7179324", "0.71470577", "0.7143...
0.6943139
47
Create a OspfInterface object given a response_data related to the OSPF Area ID object.
def qN71(Emd4, cuiw, sdEl, Bv0m): p4s7 = cuiw.api.get_keys(Bv0m, Emd4.resource_uri_name) GxvM = p4s7[0] return Emd4(cuiw, GxvM, sdEl)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qN71(Emd4, cuiw, b7xU, Bv0m):\n rQY2 = cuiw.api.get_keys(Bv0m, kIW8.resource_uri_name)\n atEq = rQY2[0]\n return kIW8(cuiw, atEq, b7xU)", "def qN71(Emd4, cuiw, sdEl, Bv0m):\n p4s7 = cuiw.api.get_keys(Bv0m, Emd4.resource_uri_name)\n GxvM = p4s7[0]\n return Emd4(cuiw, GxvM, sdEl)", "def eLp...
[ "0.7299898", "0.7048282", "0.5902538", "0.55823857", "0.5530757", "0.53482205", "0.53198373", "0.5210099", "0.5080787", "0.5047254", "0.50432587", "0.4993562", "0.49412853", "0.4934863", "0.49324507", "0.4902144", "0.48952895", "0.48894385", "0.47964403", "0.47557756", "0.473...
0.7048783
1
Get the metrics of all the GPUs
def OmQy(YKHO): for wqL3 in YKHO._gpus: nVrR = YKHO._nvmlDeviceGetHandleByUUID(wqL3.device_uuid()) for AcYW in YKHO._metrics: yYr6 = YKHO.model_analyzer_to_nvml_field[AcYW] mtG_ = ITS7.time_ns() // 1000 if AcYW == PIZh: U34r = YKHO._nvml.nvmlDevice...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZjKT(YKHO):\n EpYW = qCQm.getGPUs()\n if EpYW:\n return [Z75Y(wqL3.id, wqL3.uuid, wqL3.name, wqL3.memoryTotal, wqL3.memoryUsed, wqL3.memoryFree, wqL3.memoryUtil, wqL3.temperature) for wqL3 in EpYW]\n return []", "def BSsj():\n return []", "def gRvX():\n if 'COLAB_FAKE_GPU_RESOURCES' i...
[ "0.7813308", "0.7698021", "0.75328565", "0.74453706", "0.72074324", "0.718852", "0.6974121", "0.696089", "0.68758494", "0.6818782", "0.67927265", "0.6775516", "0.6742436", "0.66656077", "0.659449", "0.65922403", "0.6565539", "0.6561767", "0.65504676", "0.65173346", "0.6499956...
0.7566541
2
Creates a Keras model that does the W2L forward computation. Just goes from mel spectrogram input to logits output.
def ehkb(jXxl, YDR7, wH3T): SMRN = 1 if wH3T == 'channels_first' else -1 jPmz = [fhcK.BatchNormalization(SMRN), fhcK.Conv1D(256, 48, 2, 'same', wH3T), fhcK.BatchNormalization(SMRN), fhcK.ReLU(), fhcK.Conv1D(256, 7, 1, 'same', wH3T), fhcK.BatchNormalization(SMRN), fhcK.ReLU(), fhcK.Conv1D(256, 7, 1, 'same', wH3T...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gdbk(YKHO):\n C3ST = ileL()\n C3ST.add(cIRL(filters=YKHO.filters, kernel_size=YKHO.kernel_size, activation=YKHO.activation, input_shape=[YKHO.time_delay] + list(YKHO.image_size) + [YKHO.channels], data_format='channels_last', return_sequences=True))\n C3ST.add(GVKG())\n C3ST.add(cIRL(filters=YKHO.f...
[ "0.6910924", "0.6904695", "0.6846921", "0.68149245", "0.68013936", "0.6615835", "0.6610974", "0.6568431", "0.65443605", "0.65355223", "0.65265566", "0.6505267", "0.6491356", "0.64772385", "0.64762837", "0.647099", "0.64669174", "0.64415914", "0.64041907", "0.6369557", "0.6348...
0.664537
5
Testing exception in get_update matching.
async def test_to_get_update(ZG_F, abMt, CzAu, r1In, ajET: HomeAssistant) -> None: PvY0 = {Sugg: {kxrp: 'unifi_direct', sHGu: 'fake_host', kG_n: 'fake_user', mLFF: 'fake_pass', ZcvP: 22, zG5d: True, PIGn: fCoM(seconds=180)}} tLl1 = PSNK(ajET, PvY0) abMt.side_effect = AssertionError('Test') YfpN = tLl1._...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Fesj(YKHO):\n _yOu = YKHO.model.update(10, {'key': 'updated value'})\n YKHO.assertIsNone(_yOu)", "def aUJW(YKHO) -> None:\n YKHO.common_qs_update_error(expected_count=1)", "def n3P8(YKHO):\n with YKHO.client:\n U_PO(YKHO, '1', WPBT)\n geh0 = K7L4(YKHO, '1')\n YKHO.assertTru...
[ "0.7512418", "0.7376423", "0.72784966", "0.72624046", "0.7193075", "0.7112312", "0.7084744", "0.70648545", "0.70648545", "0.70570993", "0.7013966", "0.6995444", "0.69851106", "0.69738954", "0.69624716", "0.69109786", "0.6900366", "0.6798469", "0.67732537", "0.67716116", "0.67...
0.0
-1
Test that a bad response form the AP parses to JSON correctly.
def wjcU(ajET: HomeAssistant) -> None: assert hmfj('{(}') == {}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wGDR(YKHO, geh0):\n return YKHO.assertBadRequest(YKHO.assertJson(geh0))", "def sEDO(YKHO):\n YKHO.auth.is_errored = False\n with YKHO.assertRaises(HKzO):\n YKHO.auth.validate_response(None, True)\n YKHO.assertTrue(YKHO.auth.is_errored)", "async def test_invalid_json(YKHO):\n geh0 = aw...
[ "0.8058363", "0.8051411", "0.7965465", "0.78205633", "0.77043283", "0.7572365", "0.7568781", "0.7471852", "0.7426692", "0.73924565", "0.73899776", "0.7389861", "0.73747927", "0.73495215", "0.7331999", "0.73202664", "0.72920626", "0.7238796", "0.723304", "0.7223255", "0.720379...
0.7739474
4
incf (increase factor) Increases the value in register C until reg[A] reg[C] = reg[B]. If the value in register C is less than the value in register B but the condition cannot be met, reg[C] will be set to reg[B]. If the value in register C is greater than the value in register B it will only be increased once.
def gpYP(WpwY, p4_k): if WpwY[p4_k[1]] * WpwY[p4_k[3]] < WpwY[p4_k[2]]: vexM, Mkmy = divmod(WpwY[p4_k[2]], WpwY[p4_k[1]]) if Mkmy == 0: WpwY[p4_k[3]] = vexM else: WpwY[p4_k[3]] += max(1, WpwY[p4_k[2]] - WpwY[p4_k[3]]) else: WpwY[p4_k[3]] += max(1, WpwY[p4_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yt82(Z9rn, RoS9, GGkZ=0.017, paXy=0.002, s8C5=5.8):\n lypQ = RoS9 * (1 + Z9rn / GGkZ) ** 2\n ciZM = (1 + Z9rn / GGkZ) ** 2 + s8C5 * (1 + Z9rn / paXy) ** 2\n FBfN = (1 + lypQ / ciZM) ** (-1)\n return FBfN", "def W6gU(k0lF, tjUW, Nq1b):\n if k0lF > lQ3t[tjUW]:\n lQ3t[Nq1b] = 1\n else:\...
[ "0.55937463", "0.5505036", "0.53282434", "0.5322306", "0.5234332", "0.5177812", "0.517484", "0.51072323", "0.5078241", "0.5064273", "0.50627804", "0.5058202", "0.505745", "0.5014025", "0.50089544", "0.50048494", "0.4993768", "0.4976392", "0.4951604", "0.49371088", "0.49340037...
0.64440924
0
Find shortest unique prefix to represent each word in the list.
def y0cW(k0lF): tX49 = oRi_(int) for GIN8 in k0lF: for YRbF in range(len(GIN8)): tX49[GIN8[:YRbF]] += 1 Ylbp = [] for GIN8 in k0lF: wOmD = GIN8 for YRbF in range(len(GIN8)): if tX49[GIN8[:YRbF]] == 1: wOmD = GIN8[:YRbF] brea...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tYCU(vC9B: list) -> list:\n wyyA = set()\n exwG = len(vC9B)\n YRbF = 0\n while YRbF < exwG:\n if YRbF != 0:\n if vC9B[YRbF][0] not in wyyA:\n vC9B[YRbF] = vC9B[YRbF][0]\n YRbF += 1\n continue\n WKvO, IA3S = (0, 0)\n for r8...
[ "0.7554746", "0.71459746", "0.71397334", "0.70353115", "0.69337213", "0.6896015", "0.67653286", "0.67008793", "0.66916394", "0.668076", "0.6663117", "0.6640763", "0.6617556", "0.6576501", "0.65655977", "0.6544406", "0.6501971", "0.6488966", "0.6480004", "0.6474186", "0.641749...
0.7191383
1
Initialize all random numbers for the blockPoisson estimator.
def twL4(NV7p, **B2fa): on5x, AogJ, Csk6, E3D9 = (B2fa['M_BP'], B2fa['rho_BP'], B2fa['d'], B2fa['M']) if NV7p: KkY2 = [[lc2r(Csk6, E3D9) for ZfUD in range(Zi12.poisson.rvs(1))] for ZfUD in range(on5x)] else: KkY2 = [[Zi12.uniform.rvs(size=(E3D9, Csk6)) for ZfUD in range(Zi12.poisson.rvs(1))]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iMGS(YKHO):\n yokr = None\n if 'rng_seed' in YKHO.__dict__:\n yokr = YKHO.rng_seed\n bo34.info('Seeding random number generator with: %s', str(yokr))\n oyIN.random.seed(yokr)", "def gQnt(YKHO):\n YKHO.biases = oyIN.random.uniform(YKHO.weight_range[0], YKHO.weight_range[1], (YKHO.neu...
[ "0.7084016", "0.67927176", "0.67212695", "0.6717781", "0.6678747", "0.6668887", "0.6665409", "0.6660572", "0.6637301", "0.6615702", "0.66051024", "0.6604593", "0.6586086", "0.6545833", "0.65345085", "0.652406", "0.6519071", "0.6504616", "0.64952224", "0.64639354", "0.6458391"...
0.6084323
78
Handling the condition of `limit` and `offset`.
def XkEM(YKHO, XEri, Aofo): vgXP = 0 qoqK = 10 if _LiI.OFFSET.value in XEri: vgXP = XEri.get(_LiI.OFFSET.value) if _LiI.LIMIT.value in XEri: qoqK = XEri.get(_LiI.LIMIT.value) if _LiI.OFFSET.value not in XEri and _LiI.LIMIT.value not in XEri: TPrl = Aofo else: TPrl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pZtp(YKHO):\n YKHO.request.GET = {'page': 1, 'page_size': 100}\n vgXP, qoqK = YKHO.paginator.get_offset_limit(VNUm(YKHO.request), 500)\n YKHO.assertEqual(vgXP, 0)\n YKHO.assertEqual(qoqK, 100)\n YKHO.request.GET = {'page': 2, 'page_size': 100}\n vgXP, qoqK = YKHO.paginator.get_offset_limit(VN...
[ "0.7094407", "0.6869682", "0.681412", "0.67615044", "0.672079", "0.6603562", "0.65957797", "0.6508354", "0.6481257", "0.64645183", "0.64305055", "0.64261883", "0.63971514", "0.6356021", "0.63504994", "0.63182414", "0.6302122", "0.6290747", "0.62843275", "0.6283475", "0.625378...
0.8048068
0
Render website's home page.
def kZiy(): return TvZl('home.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy():\n return TvZl('homepage.html')", "def C_QL():\n return TvZl('home.html')", "def C_QL():\n return TvZl('homepage.html')", "def kZiy():\n return TvZl('homepage.html')", "def kZiy():\n return TvZl('homepage.html')", "def kZiy():\n return TvZl('home.html')", "def C_QL():\n ...
[ "0.8819581", "0.87503684", "0.8623934", "0.8596466", "0.8596466", "0.8571988", "0.8557671", "0.8557671", "0.85497755", "0.85256004", "0.8489358", "0.8483156", "0.8475702", "0.8474153", "0.84737927", "0.84619766", "0.8438196", "0.8428517", "0.8418825", "0.8418701", "0.83995277...
0.8338782
53
Render the website's about page.
def vsuQ(): return TvZl('about.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vsuQ():\n bo34.info('User visited the about page.')\n return TvZl('about.html')", "def vsuQ():\n return TvZl('about.html', title='About')", "def vsuQ():\n bo34.debug('In about()')\n return TvZl('about.html')", "def vsuQ():\n return TvZl('about.html', title='about')", "def vsuQ():\n ...
[ "0.87625194", "0.8677478", "0.86665034", "0.86496085", "0.8637763", "0.862216", "0.8600815", "0.84978694", "0.8473788", "0.8471842", "0.8452994", "0.84325176", "0.84304994", "0.84242535", "0.84242535", "0.84242535", "0.84242535", "0.84242535", "0.84242535", "0.84242535", "0.8...
0.8324946
44
Stops the current video.
def yPN4(YKHO): if YKHO._currently_playing == None: print('Cannot stop video: No video is currently playing') else: mWFP = YKHO._currently_playing.title print(f'Stopping video: {mWFP}') YKHO._currently_playing = None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yPN4(YKHO):\n if YKHO._current_video is None:\n print('Cannot stop video: No video is currently playing')\n return\n print(f'Stopping video: {YKHO._current_video.title}')\n YKHO._current_video = None\n return", "def yPN4(YKHO):\n if YKHO.current == None:\n print('Cannot st...
[ "0.888218", "0.88274866", "0.8823462", "0.8755373", "0.8655501", "0.8629694", "0.85928404", "0.85088044", "0.8437159", "0.84326243", "0.8421711", "0.83948064", "0.83415765", "0.83387095", "0.82205945", "0.7904002", "0.7793583", "0.75543165", "0.7547233", "0.75007373", "0.7477...
0.8550172
7
Displays video currently playing.
def AgpD(YKHO): if YKHO._currently_playing == None: print('No video is currently playing') else: leAC = YKHO._currently_playing.title id = YKHO._currently_playing.video_id dJ1p = ' '.join(YKHO._currently_playing.tags) mWFP = 'Currently playing: ' + leAC + ' (' + id + ')' ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AgpD(YKHO):\n if YKHO.current_video == None:\n print('No video is currently playing')\n else:\n YmUj = YKHO._video_library.get_video(YKHO.current_video.video_id)\n OvGC = YKHO.get_tag_string(YmUj)\n if YKHO.video_paused == False:\n print('Currently playing: ' + YmUj...
[ "0.7804789", "0.77452356", "0.7735895", "0.7679617", "0.7669143", "0.763395", "0.76144093", "0.7605698", "0.75713533", "0.74989694", "0.7432058", "0.72621256", "0.69161344", "0.6833527", "0.67801243", "0.67571825", "0.67431927", "0.6726036", "0.67214197", "0.66643006", "0.660...
0.75332505
9
Adds a video to a playlist with a given name.
def duLI(YKHO, RJf3, DYeJ): if DYeJ in YKHO._flagged: print(f'Cannot add video to {RJf3}: Video is currently flagged (reason: {YKHO._flagged[DYeJ]})') elif RJf3.lower() in YKHO._playlists: Xl0j = YKHO._playlists[RJf3.lower()] f6W2 = YKHO._video_library.get_video(DYeJ) if f6W2: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def duLI(YKHO, RJf3, DYeJ):\n f6W2 = YKHO._video_library.get_video(DYeJ)\n NvAR = None\n for XP5J in YKHO.playlists:\n if XP5J.name.lower() == RJf3.lower():\n NvAR = XP5J\n if NvAR is None:\n print(f'Cannot add video to {RJf3}: Playlist does not exist')\n return\n if ...
[ "0.8355503", "0.82717526", "0.82093656", "0.8168776", "0.81374085", "0.8115116", "0.808143", "0.8033341", "0.79388297", "0.7937311", "0.79363346", "0.7922709", "0.79056174", "0.7115242", "0.69140196", "0.6855573", "0.68450284", "0.68112516", "0.6769147", "0.67427564", "0.6734...
0.8073998
7
Display all videos in a playlist with a given name.
def Hvot(YKHO, RJf3): if RJf3.lower() in YKHO._playlists: print(f'Showing playlist: {RJf3}') NvAR = YKHO._playlists[RJf3.lower()] NvAR = NvAR[1:] if len(NvAR) == 0: print(' No videos here yet.') else: for mWFP in NvAR: f6W2 = YKHO._vid...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Hvot(YKHO, RJf3):\n O4gE = []\n if RJf3.upper() not in [WKvO.upper() for WKvO in YKHO._playlist.playlist_names]:\n print('Cannot show playlist ' + str(RJf3) + ': Playlist does not exist')\n elif YKHO._playlist.playlists.get(RJf3.upper()) == []:\n print('Showing playlist: ' + str(RJf3) + ...
[ "0.83315635", "0.80611956", "0.79702944", "0.7856521", "0.7840601", "0.77637583", "0.76935035", "0.76819825", "0.7481947", "0.7342705", "0.70944715", "0.7034568", "0.699968", "0.6910676", "0.6899352", "0.6899352", "0.646294", "0.6266944", "0.6259832", "0.62462246", "0.6244017...
0.7521128
8
Loads a json file. Returns Json object.
def lc9H(qaEx: Text) -> ImMB: with open(qaEx) as o1P6: F3ML = qQXR.loads(o1P6.read()) return F3ML
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lc9H(nUeQ):\n with open(nUeQ, 'r') as zgjV:\n return qQXR.load(zgjV)", "def suMr(YKHO, Ux0P):\n with open(Ux0P) as wM3v:\n zgjV = qQXR.load(wM3v)\n return zgjV", "def lc9H(nUeQ):\n with open(nUeQ) as eHNT:\n r845 = qQXR.loads(eHNT.read())\n eHNT.close()\n return r...
[ "0.86156857", "0.8541315", "0.84946173", "0.8408336", "0.8379018", "0.8369844", "0.83384675", "0.8329864", "0.8321214", "0.8299308", "0.8263783", "0.82616633", "0.8257608", "0.8248314", "0.82477474", "0.82276136", "0.8218986", "0.8212842", "0.81926084", "0.8180014", "0.817116...
0.0
-1
Persistently makes a request. Returns Request object.
def CRPD(QZnA: Text) -> ImMB: QePW = keau(QZnA) if not QePW.status_code == 200: return cspZ(QZnA) return QePW
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uLyw(YKHO, NKcE, bD7m, NArs, MOPg, aqR5, B2fa):\n if NKcE == YKHO.REQUEST_METHOD_POST:\n Mkmy = G4JS.post(url=bD7m, data=aqR5, params=NArs, headers=MOPg, **B2fa)\n else:\n Mkmy = G4JS.get(url=bD7m, params=NArs, headers=MOPg, **B2fa)\n return Mkmy", "def OnyA(YKHO):\n raise NotImplem...
[ "0.7112299", "0.7015707", "0.69154954", "0.68990093", "0.6832623", "0.682621", "0.68176556", "0.6690235", "0.65761214", "0.6572574", "0.6565189", "0.65555567", "0.65294236", "0.6526937", "0.6520487", "0.6459009", "0.64330995", "0.64253783", "0.64182127", "0.6399095", "0.63919...
0.59888256
65
Saves 'json_obj' to 'file_name'. Returns None.
def U1ai(TLbt: Text, gIsw: Text) -> None: yr6X = qQXR.dumps(TLbt, sort_keys=True, indent=4) with open(gIsw, 'a+') as o1P6: o1P6.write(yr6X) return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QN9E(gIsw, TLbt):\n with open(gIsw, 'w') as nUeQ:\n qQXR.dump(TLbt, nUeQ)", "def RWSq(ytVK, uRP3):\n with open(uRP3, 'w') as tyeL:\n qQXR.dump(ytVK, tyeL)", "def uP8n(YKHO, Ux0P, YEnM):\n YKHO.upload_data(Ux0P, qQXR.dumps(YEnM).encode('utf-8'))", "def ncJT(IznC, YEnM):\n with op...
[ "0.8517368", "0.7958222", "0.78309774", "0.7597706", "0.75686103", "0.75637144", "0.75637144", "0.75258744", "0.7491705", "0.7462619", "0.7461977", "0.7436899", "0.7433383", "0.7418083", "0.74172026", "0.7414558", "0.7411204", "0.7411204", "0.7410189", "0.7407049", "0.7406555...
0.83863026
1
Returns the location of the default git cache directory. This property should be used instead of using path['git_cache'] directly. It returns git_cache path if it is defined (Buildbot world), otherwise uses the more generic [CACHE]/git path (LUCI world).
def Oi4b(YKHO): try: return YKHO.m.path['git_cache'] except KeyError: return YKHO.m.path['cache'].join('git')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D6z8() -> GkAb:\n return xdQO().joinpath('mongodl').absolute()", "def _MJ9(YKHO):\n return Hy7s.path.abspath(Hy7s.path.join(YKHO._dirs.user_config_dir, YKHO._default_cachedirname))", "def OP0F():\n if 'PYCUTER_CACHE' in PNq_:\n return PNq_['PYCUTER_CACHE']\n else:\n return Hy7s.ge...
[ "0.7681217", "0.76356685", "0.75707734", "0.7449614", "0.744382", "0.74376035", "0.74249846", "0.7412727", "0.73643637", "0.7353142", "0.7335155", "0.72959316", "0.72959316", "0.72004735", "0.71583384", "0.7090523", "0.70809424", "0.70602804", "0.70323783", "0.69628704", "0.6...
0.9262161
0
Converts variables of batch normalization layer from Keras to Objax.
def Bl5n(HPbj, Y0sd): ROpF = Y0sd.gamma.value.shape Y0sd.gamma = u1M2.TrainVar(oQ5W.array(HPbj.__dict__['gamma'].numpy()).reshape(ROpF)) Y0sd.beta = u1M2.TrainVar(oQ5W.array(HPbj.__dict__['beta'].numpy()).reshape(ROpF)) Y0sd.running_mean = u1M2.StateVar(oQ5W.array(HPbj.__dict__['moving_mean'].numpy()).r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dCUy(YKHO, NZQz):\n if YKHO.obs_normalization_stats is not None:\n NZQz = tKHv.normalize_obs(NZQz, obs_normalization_stats=YKHO.obs_normalization_stats)\n NZQz = HNvz.to_tensor(NZQz)\n NZQz = HNvz.to_batch(NZQz)\n NZQz = HNvz.to_device(NZQz, YKHO.policy.device)\n NZQz = HNvz.to_float(NZQz...
[ "0.6365549", "0.63600695", "0.6170424", "0.6103634", "0.6089682", "0.6035845", "0.5984079", "0.59123135", "0.5910007", "0.58989394", "0.5891685", "0.5885225", "0.5873022", "0.5848145", "0.58376217", "0.5835318", "0.5785661", "0.5779989", "0.5773422", "0.5770029", "0.5767988",...
0.6270244
2
return a string represenation of this object
def zAg0(YKHO): return '%s, %s' % (YKHO.first_name, YKHO.last_name)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n vIwR = super().__str__()\n vIwR += '\\n' + str(YKHO.get_dict())\n return vIwR", "def zAg0(YKHO):\n Y_sP = YKHO.name + ' | '\n Y_sP += YKHO.mother + ' | '\n Y_sP += YKHO.description + ' | '\n Y_sP += YKHO.make_string(YKHO.pos, YKHO.pos_units) + ' | '\n if YKHO.rot_order !...
[ "0.8307965", "0.82869655", "0.8286303", "0.8241131", "0.8209998", "0.8209998", "0.8178827", "0.81755805", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", ...
0.0
-1
return a string represenation of this object
def zAg0(YKHO): return '%s, %s' % (YKHO.first_name, YKHO.last_name)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n vIwR = super().__str__()\n vIwR += '\\n' + str(YKHO.get_dict())\n return vIwR", "def zAg0(YKHO):\n Y_sP = YKHO.name + ' | '\n Y_sP += YKHO.mother + ' | '\n Y_sP += YKHO.description + ' | '\n Y_sP += YKHO.make_string(YKHO.pos, YKHO.pos_units) + ' | '\n if YKHO.rot_order !...
[ "0.83074176", "0.8286395", "0.8285377", "0.8240167", "0.8209377", "0.8209377", "0.81775343", "0.8174679", "0.81636137", "0.81636137", "0.81636137", "0.81636137", "0.81636137", "0.81636137", "0.81636137", "0.81636137", "0.81636137", "0.81636137", "0.81636137", "0.81636137", "0...
0.0
-1
return a string represenation of this object
def zAg0(YKHO): return '%s' % YKHO.class_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n vIwR = super().__str__()\n vIwR += '\\n' + str(YKHO.get_dict())\n return vIwR", "def zAg0(YKHO):\n Y_sP = YKHO.name + ' | '\n Y_sP += YKHO.mother + ' | '\n Y_sP += YKHO.description + ' | '\n Y_sP += YKHO.make_string(YKHO.pos, YKHO.pos_units) + ' | '\n if YKHO.rot_order !...
[ "0.8307965", "0.82869655", "0.8286303", "0.8241131", "0.8209998", "0.8209998", "0.8178827", "0.81755805", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", "0.816412", ...
0.0
-1
Return the absolute path of the directory containing the provided ClearSilver templates.
def kTZQ(YKHO): from pkg_resources import resource_filename return [resource_filename(__name__, 'templates')]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iXnC(YKHO) -> GkAb:\n return GkAb(xAKo).parent / 'templates'", "def eZd9(YKHO):\n return YKHO._build_path('templates')", "def zi6X():\n for tk5Y, AQSv, RRlC in Hy7s.walk('.'):\n if 'templates' in tk5Y:\n return tk5Y", "def uddY():\n VZuY = Hy7s.path.dirname(Hy7s.path.realpat...
[ "0.7393902", "0.7257624", "0.7166557", "0.7100933", "0.70638186", "0.6958735", "0.6917957", "0.6883516", "0.68643683", "0.6840666", "0.6821589", "0.6804847", "0.679803", "0.67890334", "0.6762954", "0.6736914", "0.67230827", "0.67042536", "0.6650122", "0.664861", "0.65702796",...
0.5837639
62
Get the last number of lines from a file
def J3uN(YKHO, Nqlg=10): YKHO.seek_to_end() mB6j = YKHO.current_position() for bGrB in range(Nqlg): if not YKHO.seek_line_backwards(): break bGrB, nPrm = YKHO.read(mB6j - YKHO.current_position() - 1) if nPrm: return nPrm.splitlines() return []
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M99A(eHNT):\n Nqlg = 0\n while eHNT.readline() != '':\n Nqlg += 1\n return Nqlg", "def njiI(Ux0P):\n with open(Ux0P) as eHNT:\n exwG = eHNT.readlines().__len__()\n return exwG", "def iajj(Ux0P):\n try:\n JAMD = Hy7s.path.getsize(Ux0P)\n if JAMD == 0:\n ...
[ "0.7970875", "0.7517418", "0.7490163", "0.7430926", "0.732079", "0.72944665", "0.72767794", "0.72649086", "0.7259717", "0.72412336", "0.72365344", "0.7182868", "0.7167045", "0.7152874", "0.7128693", "0.71225554", "0.71066767", "0.7089765", "0.7089765", "0.7063482", "0.7061567...
0.0
-1
Gets the idea_id of this Idea.
def actb(YKHO): return YKHO._idea_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def unpH(YKHO):\n return YKHO.id", "def unpH(YKHO):\n return YKHO.id", "def unpH(YKHO):\n return YKHO.id", "def unpH(YKHO):\n return YKHO.id", "def unpH(YKHO):\n return YKHO.id", "def unpH(YKHO) -> int:\n return YKHO.id", "def unpH(YKHO) -> int:\n return YKHO.id", "def unpH(YKHO)...
[ "0.6551919", "0.65515476", "0.65515476", "0.65515476", "0.65515476", "0.65229833", "0.65229833", "0.65229833", "0.65229833", "0.6518511", "0.6518511", "0.6518511", "0.6518511", "0.6518511", "0.6518511", "0.6518511", "0.6518511", "0.6518511", "0.6518511", "0.6518511", "0.65185...
0.8845881
0
Gets the idea_title of this Idea.
def MhC9(YKHO): return YKHO._idea_title
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Upwb(YKHO) -> str:\n return YKHO._title", "def Upwb(YKHO) -> str:\n return YKHO.title", "def Upwb(YKHO) -> str:\n return YKHO.title", "def Upwb(YKHO):\n return YKHO._title", "def Upwb(YKHO):\n return YKHO._title", "def Upwb(YKHO):\n return YKHO._title", "def Upwb(YKHO):\n retur...
[ "0.7658294", "0.7642946", "0.7642946", "0.76332265", "0.76332265", "0.76332265", "0.76122564", "0.76122564", "0.7595563", "0.7595563", "0.7595563", "0.7595563", "0.7595563", "0.7595563", "0.7595563", "0.7595563", "0.7595563", "0.7595563", "0.7595563", "0.7595563", "0.7595563"...
0.8870787
0
Gets the group of this Idea.
def uOe2(YKHO): return YKHO._group
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uOe2(YKHO):\n return YKHO._group", "def uOe2(YKHO):\n return YKHO._group", "def H9_R(YKHO):\n return YKHO.group", "def cQ68(YKHO):\n return YKHO._group", "def uOe2(YKHO):\n return YKHO.__group", "def uOe2(YKHO):\n return YKHO._get_field('group')", "def uOe2(YKHO):\n return YKHO...
[ "0.79010755", "0.7809617", "0.77843493", "0.775752", "0.7729412", "0.76964265", "0.76964265", "0.7665997", "0.753428", "0.74525154", "0.74466306", "0.7402584", "0.7365667", "0.72842693", "0.7267207", "0.7243587", "0.7243587", "0.7243587", "0.71987855", "0.71987855", "0.719878...
0.78631675
2
Sets the group of this Idea.
def uOe2(YKHO, uOe2): YKHO._group = uOe2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QYWb(YKHO, uOe2):\n YKHO._group = uOe2", "def QYWb(YKHO):\n YKHO.AUX('set_group,group=' + YKHO.group)", "def aNPh(YKHO, *qIxc, **B2fa):\n pass", "def scR9(YKHO, uOe2: Optional[Any]) -> None:\n YKHO.group = uOe2", "def uOe2(YKHO, uOe2):\n YKHO._group = uOe2", "def uOe2(YKHO, wEf2):\n ...
[ "0.8206639", "0.8132803", "0.8080997", "0.8059387", "0.79667443", "0.74785036", "0.7430602", "0.7389431", "0.70811343", "0.7073238", "0.70602924", "0.6981561", "0.69556314", "0.69454116", "0.6919931", "0.6912418", "0.6855642", "0.68041927", "0.68021", "0.68021", "0.68021", ...
0.7830022
7
Gets the idea_description of this Idea.
def Tzyl(YKHO): return YKHO._idea_description
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def t5do(YKHO):\n return YKHO.description", "def t5do(YKHO):\n return YKHO.description", "def t5do(YKHO):\n return YKHO.description", "def t5do(YKHO):\n return YKHO.description", "def t5do(YKHO):\n return YKHO.description", "def t5do(YKHO):\n return YKHO.description", "def t5do(YKHO):...
[ "0.7465061", "0.7465061", "0.7465061", "0.7465061", "0.7465061", "0.7465061", "0.7465061", "0.7465061", "0.7465061", "0.74353564", "0.7433337", "0.7422501", "0.7408402", "0.7407402", "0.73943704", "0.7337073", "0.73318845", "0.7328347", "0.7328347", "0.7328347", "0.7328347", ...
0.87516356
0
Gets the ideator of this Idea.
def Yi_2(YKHO): return YKHO._ideator
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UfSQ(YKHO):\n return YKHO.__getAttribute('annotator')", "def pmct(YKHO):\n return YKHO._orchestrator", "def bzWu(YKHO):\n return YKHO._identificator", "def pmct(YKHO) -> str:\n return qe4Y.get(YKHO, 'orchestrator')", "def vfRK(YKHO):\n return YKHO._interactor", "def E_vH(YKHO):\n re...
[ "0.6823477", "0.6821395", "0.65789104", "0.64350384", "0.60602325", "0.59282887", "0.5919638", "0.5862203", "0.585278", "0.58363533", "0.5799843", "0.5759584", "0.57575375", "0.57244146", "0.57242656", "0.56149316", "0.5593351", "0.55128", "0.55124813", "0.5506638", "0.549013...
0.863595
0
Gets the idea_creation_date of this Idea.
def wcDL(YKHO): return YKHO._idea_creation_date
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d8PD(YKHO) -> qcWV.date:\n return YKHO._creation_date", "def d8PD(YKHO) -> qcWV.date:\n return YKHO._creation_date", "def Cbc0(YKHO):\n return YKHO.__create_date", "def a0GP(YKHO):\n return YKHO._created_date", "def a0GP(YKHO):\n return YKHO._created_date", "def a0GP(YKHO):\n return...
[ "0.7896917", "0.7896917", "0.76319146", "0.76263297", "0.76263297", "0.76263297", "0.76263297", "0.76263297", "0.76205754", "0.7599768", "0.7598475", "0.7593426", "0.7552808", "0.749927", "0.7485227", "0.7485227", "0.7485227", "0.7485227", "0.74743134", "0.7453376", "0.745337...
0.91697174
0
Sets the idea_creation_date of this Idea.
def wcDL(YKHO, wcDL): YKHO._idea_creation_date = wcDL
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wjGx(YKHO, _c1T):\n YKHO.creation_date = _c1T", "def wcDL(YKHO):\n return YKHO._idea_creation_date", "def NqtR(YKHO, a0GP=None):\n pass", "def d8PD(YKHO, d8PD):\n YKHO._creation_date = d8PD", "def d8PD(YKHO, d8PD):\n YKHO._creation_date = d8PD", "def d8PD(YKHO, d8PD):\n YKHO._creati...
[ "0.7763482", "0.7619041", "0.7466894", "0.7312438", "0.7312438", "0.7312438", "0.7312438", "0.7312438", "0.7312438", "0.7312438", "0.7124314", "0.7096328", "0.7096328", "0.7096328", "0.7096328", "0.7096328", "0.7096328", "0.7053719", "0.69888175", "0.6945461", "0.6935131", ...
0.9190025
0
Gets the last_modified_date of this Idea.
def CHQE(YKHO): return YKHO._last_modified_date
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lOhs(YKHO):\n return YKHO._modified_date", "def Talo(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_modified_at')", "def Talo(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_modified_at')", "def Talo(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_modified_at')", "def Talo(YKHO) -> str:\n return qe...
[ "0.8005052", "0.79542017", "0.79542017", "0.79542017", "0.79542017", "0.79459804", "0.7914906", "0.78852403", "0.7871604", "0.78154653", "0.7801141", "0.7801141", "0.7801141", "0.7801141", "0.7801141", "0.7801141", "0.7801141", "0.7801141", "0.7801141", "0.7801141", "0.780114...
0.84620714
0
Gets the domain of this Idea.
def zrIJ(YKHO): return YKHO._domain
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vK05(YKHO):\n return YKHO.m_domain", "def zrIJ(YKHO):\n try:\n return YKHO._domain\n except Exception as e:\n raise tTpl", "def zrIJ(YKHO):\n return YKHO.__domain", "def zrIJ(YKHO):\n return YKHO.__domain", "def zrIJ(YKHO):\n return YKHO._domain", "def zrIJ(YKHO):\n ...
[ "0.8180731", "0.807145", "0.80331683", "0.80331683", "0.8028603", "0.8028603", "0.7971874", "0.7971874", "0.7971874", "0.795986", "0.7940633", "0.7927219", "0.7910766", "0.7882307", "0.7882307", "0.7856997", "0.7856997", "0.7822113", "0.77831155", "0.77831155", "0.7774095", ...
0.8024098
8
Gets the video_id of this Idea.
def DYeJ(YKHO): return YKHO._video_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DYeJ(YKHO):\n return YKHO._item.get('id')", "def DYeJ(YKHO) -> str:\n return YKHO._video_id", "def xFBl(YKHO):\n return YKHO.kwargs.get('video_id')", "def PkjM(YKHO):\n if not YKHO.video_is_playing:\n return None\n else:\n return YKHO.playlist[YKHO.playlist_position].video_id...
[ "0.81502354", "0.7975488", "0.75002", "0.73307705", "0.67849535", "0.6670771", "0.6564379", "0.654169", "0.6456557", "0.6443293", "0.63973004", "0.63943136", "0.63863385", "0.6301654", "0.63013023", "0.6291134", "0.6260272", "0.6239508", "0.62269926", "0.6136757", "0.61251897...
0.81759125
0
Gets the active_status of this Idea.
def vloT(YKHO): return YKHO._active_status
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oKqN(YKHO):\n return N5Kj(YKHO.transformation.activecode)", "def D6B2(YKHO):\n return YKHO.active", "def D6B2(YKHO):\n return YKHO.active", "def D6B2(YKHO):\n return YKHO._active", "def D6B2(YKHO):\n return YKHO.is_active", "def acdp(YKHO, bGrB):\n with YKHO._lock:\n return Y...
[ "0.7853692", "0.77673423", "0.77673423", "0.77384186", "0.7732129", "0.7731695", "0.77219546", "0.7645594", "0.7645594", "0.7645594", "0.7645594", "0.7645594", "0.7645594", "0.7645594", "0.7625147", "0.7584373", "0.7581437", "0.7581437", "0.7562993", "0.75217724", "0.75208694...
0.8533848
0