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 operator for the polarizer grid. | def qyaT(YKHO):
return h4iP([YKHO.instrument.get_polarizer_operator(YKHO.sampling[Fg_i], YKHO.scene) for Fg_i in YKHO.block], axisin=1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OfrP(YKHO):\n if len(YKHO) == 1:\n return YKHO[0].get_operator()\n khtY = oyIN.array(YKHO._get_array_of_operators())\n return oyIN.sum(khtY, axis=0)",
"def pZ8o(YKHO):\n return YKHO._my_operator",
"def seET(YKHO):\n return YKHO.__operator",
"def seET(YKHO) -> str:\n return qe4Y.g... | [
"0.70430475",
"0.68891877",
"0.67827016",
"0.678073",
"0.678073",
"0.66216",
"0.6613094",
"0.6610686",
"0.6591329",
"0.6591329",
"0.6591329",
"0.6591329",
"0.6591329",
"0.6591329",
"0.6591329",
"0.6591329",
"0.6591329",
"0.6591329",
"0.6591329",
"0.6591329",
"0.6591329",
"0... | 0.68363917 | 2 |
Return a BlockRowOperator of subacquisition operators In polychromatic mode it is only applied to produce the TOD To reconstruct maps one should use the get_operator function | def KoHn(YKHO):
if len(YKHO) == 1:
return YKHO.get_operator()
khtY = YKHO._get_array_of_operators()
return tdHV(khtY, new_axisin=0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OfrP(YKHO):\n uS0y = []\n \"\\n print('Create H - 150 & 220 GHz')\\n ope=[]\\n for i in range(self.nfreqs):\\n ope.append(self.H150.operands[i])\\n for i in range(self.nfreqs):\\n ope.append(self.H220.operands[i])\\n self.Hb... | [
"0.6582323",
"0.5664098",
"0.5497829",
"0.54656965",
"0.5418189",
"0.53835905",
"0.5380627",
"0.5343691",
"0.53428006",
"0.5341749",
"0.5302856",
"0.5300078",
"0.52490175",
"0.51784503",
"0.51574665",
"0.51479876",
"0.5144163",
"0.51077867",
"0.5062911",
"0.5054761",
"0.50000... | 0.6700118 | 0 |
Return fusion observation as a sum of monochromatic fusion TODs | def yMZ6(YKHO, r8hN=None, o6Bz=True, cKFu=False):
C7Ls = YKHO.get_operator()
if o6Bz and r8hN is None:
raise ValueError('Define the map, if you want to use convolution option')
XP5J = YKHO.planck
if r8hN is None:
r8hN = XP5J._true_sky
NgD8 = len(YKHO.qubic[0].instrument) * len(YKHO.q... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nshQ(WKvO):\n return sum([V_n5(LVAh, 'fruit') for LVAh in nej6(WKvO) if V_n5(LVAh, 'fruit')])",
"def aCUC(WKvO):\n return sum([nshQ(LVAh) for LVAh in Taoa(WKvO)])",
"def Mecn(YKHO, Jq2U, ZylS, jQ3Z, YDx1):\n return oyIN.sum(ZylS, axis=0)",
"def xCvY(vhpA):\n return vhpA.sum(dim=0).sum(dim=-1)... | [
"0.58524275",
"0.57378066",
"0.5402836",
"0.5347862",
"0.5317468",
"0.53142583",
"0.52878153",
"0.5237219",
"0.5227384",
"0.5219688",
"0.5216914",
"0.5175463",
"0.51387465",
"0.5118143",
"0.50832486",
"0.5065385",
"0.5032975",
"0.503121",
"0.5016331",
"0.50079954",
"0.4976499... | 0.0 | -1 |
r"""User friendly representation of the object. | def yLCI(YKHO):
return NkEY.to_string(YKHO).format(name=YKHO.Name, args=YKHO._parameters_to_string(YKHO.__select_k_best.get_params())) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__dict__['_obj'])",
"def zAg0(YKHO):\n return str(YKHO.obj)",
"def zAg0(YKHO):\n return '<%s: %s>' % (YKHO.__class__, YKHO.describe())",
"def zAg0(YKHO):\n return str(YKHO.__dict__)",
"def zAg0(YKHO):\n return str(YKHO.__dict__)",
"def zAg0(YKHO):\n ret... | [
"0.82825255",
"0.81912386",
"0.810611",
"0.80742675",
"0.80742675",
"0.80413765",
"0.78911436",
"0.78572714",
"0.78572714",
"0.78572714",
"0.78572714",
"0.78572714",
"0.7837256",
"0.7837256",
"0.7837256",
"0.7837256",
"0.7837256",
"0.78282624",
"0.78249973",
"0.78185266",
"0.... | 0.0 | -1 |
Return a string of yyyymmdd | def xGyM():
Sm0u = fCoM(days=100)
return str(l7zN + Sm0u) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JvEs(_c1T):\n CjKC = _c1T.day\n x0eS = _c1T.month\n lO87 = _c1T.year\n quSE = str(x0eS) + '/'\n quSE += str(CjKC) + '/'\n quSE += str(lO87)\n return quSE",
"def FStF(cICj, lO87):\n return cICj + '/' + str(lO87)",
"def bPM7():\n yo7_ = qcWV.datetime.today()\n return f'{yo7_.yea... | [
"0.7528554",
"0.75284827",
"0.74983245",
"0.7497909",
"0.7497909",
"0.72311854",
"0.71115863",
"0.70839596",
"0.708211",
"0.7054959",
"0.70416725",
"0.70331466",
"0.70206845",
"0.70001286",
"0.69369537",
"0.6928049",
"0.6860247",
"0.68497235",
"0.68336797",
"0.6806661",
"0.68... | 0.0 | -1 |
Return the int number of days | def R4I5():
YIk_ = Po_E - QtGk
return YIk_.days | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def F4g0(YKHO):\n return 1",
"def Sm0u(YKHO):\n return int(YKHO.hours / 24)",
"def F4g0(YKHO):\n raise NotImplementedError",
"def Sm0u(YKHO) -> h8nf[int]:\n return qe4Y.get(YKHO, 'days')",
"def Ri7a(ITS7):\n return int(ITS7 / 86400)",
"def Sm0u(input=None):\n return NMoC(input).days",
... | [
"0.8572998",
"0.79770666",
"0.78697264",
"0.7768571",
"0.77367055",
"0.7435355",
"0.7410059",
"0.73998773",
"0.7327887",
"0.7300378",
"0.7300378",
"0.722814",
"0.7210647",
"0.71758914",
"0.7134838",
"0.7130534",
"0.7106202",
"0.7003841",
"0.6971776",
"0.6958325",
"0.6902935",... | 0.0 | -1 |
calculates a sigmoid function | def m1Hg(YKHO, WKvO):
return 1 / (1 + oyIN.exp(-WKvO)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def m1Hg(WKvO):\n return 1 / (1 + epAf.exp(-WKvO))",
"def m1Hg(WKvO):\n return 1 / (1 + r8hN.exp(-WKvO))",
"def m1Hg(WKvO):\n return 1 / (1 + kLQb(-WKvO))",
"def m1Hg(WKvO):\n return 1 / (1 + kLQb(-WKvO))",
"def m1Hg(WKvO):\n return 1 / (1 + epAf.exp(-WKvO))",
"def m1Hg(WKvO):\n return ... | [
"0.8646641",
"0.86406386",
"0.86378765",
"0.86378765",
"0.8597351",
"0.85938567",
"0.85938567",
"0.8583322",
"0.8556888",
"0.85318637",
"0.85318637",
"0.85318637",
"0.85318637",
"0.85318637",
"0.85318637",
"0.8509241",
"0.8507188",
"0.8505707",
"0.84993243",
"0.8494487",
"0.8... | 0.8091329 | 65 |
Get styles out of a formatter, where everything has the correct prefix. | def nT3x(uaPq: HtmlFormatter, *, y0cW: str) -> bDy6[str]:
for zFiD in uaPq.get_linenos_style_defs():
yield f'{y0cW} {zFiD}'
yield from uaPq.get_background_style_defs(y0cW)
yield from uaPq.get_token_style_defs(y0cW) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EIn1(_Cnz):\n if _Cnz == 'authoryear':\n return vuWc\n return vuWc",
"def dS7T(YKHO, eOtH, _Cnz):\n Aofo = CsJA.QTextCharFormat()\n for H5ew, BWXx in _Cnz.style_for_token(eOtH).items():\n if BWXx:\n if H5ew == 'color':\n Aofo.setForeground(YKHO._get_brush(B... | [
"0.6696193",
"0.6405997",
"0.6034949",
"0.59751546",
"0.58583164",
"0.5829511",
"0.5816382",
"0.57358086",
"0.57266366",
"0.5668462",
"0.5643592",
"0.55237997",
"0.5517571",
"0.54743475",
"0.54478335",
"0.5434788",
"0.54086673",
"0.5315717",
"0.5301493",
"0.5300177",
"0.52940... | 0.7778675 | 0 |
Point the camera at the centre of the cell. | def Id8M(YKHO):
bf9h = YKHO.getRefState()
if bf9h is None:
return
Htse = bf9h.cellDims
oOKT = [0] * 3
if Htse[1] > Htse[2]:
oOKT[0] = -3.0 * Htse[1]
else:
oOKT[0] = -3.0 * Htse[2]
oOKT[1] = 0.5 * Htse[1]
oOKT[2] = 0.5 * Htse[2]
iJXy = [0] * 3
iJXy[0] = 0.5... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xmCN(YKHO):\n YKHO.camera = (YKHO.width / 2, YKHO.height / 2)",
"def tqpl(YKHO):\n YKHO.rect.midbottom = YKHO.screen_rect.midbottom\n YKHO.x, YKHO.y = (float(YKHO.rect.x), float(YKHO.rect.y))",
"def hgjH(YKHO):\n if YKHO.pos != 0.0:\n YKHO.pos = 0.0",
"def hgjH(YKHO):\n return YKHO.... | [
"0.780753",
"0.732937",
"0.72850996",
"0.7146421",
"0.70230055",
"0.6959775",
"0.67622346",
"0.67622346",
"0.6737572",
"0.67267084",
"0.67267084",
"0.67267084",
"0.67206216",
"0.6703538",
"0.669342",
"0.6666944",
"0.665443",
"0.66465384",
"0.6641531",
"0.6618657",
"0.66151196... | 0.7355215 | 1 |
Point the camera at the centre of mass. | def TdaN(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xmCN(YKHO):\n YKHO.camera = (YKHO.width / 2, YKHO.height / 2)",
"def hgjH(YKHO, CNRc=False):\n if CNRc:\n zJeG = YKHO.center_of_mass\n YKHO.xyz -= zJeG\n else:\n YKHO.xyz -= YKHO.xyz.mean(0)",
"def OP10(YKHO, SppC):\n WKvO, LVAh, epBp = oyIN.sum(SppC[:, 0].reshape(YKHO.numb... | [
"0.7743229",
"0.7141701",
"0.70155215",
"0.6980621",
"0.685814",
"0.6846284",
"0.6844954",
"0.6709921",
"0.66710997",
"0.66628367",
"0.66584766",
"0.6655692",
"0.66074437",
"0.6564448",
"0.6562138",
"0.65004236",
"0.64958143",
"0.6489465",
"0.64490277",
"0.64442885",
"0.64273... | 0.0 | -1 |
raising a number to exponenn | def cR0t(FGW3, w520):
if w520 == 0:
return 1
else:
return FGW3 * cR0t(FGW3, w520 - 1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bOPh(mLGw):\n return epAf.exp(float(mLGw))",
"def VBX1(BWXx):\n return epAf.exp(BWXx)",
"def kLQb(WKvO):\n raise NotImplementedError",
"def AFyC(WKvO):\n return epAf.exp(-WKvO)",
"def VqK1(jzdc, exwG):\n if exwG == 0:\n return 1\n elif exwG % 2 == 1:\n return jzdc * VqK1... | [
"0.78280216",
"0.76482785",
"0.75788146",
"0.71114165",
"0.7061411",
"0.7031399",
"0.68287295",
"0.6822484",
"0.68212783",
"0.6796499",
"0.67596805",
"0.67539984",
"0.66970176",
"0.6651049",
"0.66305697",
"0.65602416",
"0.6544009",
"0.6529421",
"0.65166837",
"0.6483637",
"0.6... | 0.63276863 | 27 |
Split train dataset into X and y by passing list of desired columns | def l2Bh(YKHO, NRm5, A8fR):
YKHO.X = YKHO.data[A8fR]
if NRm5 in YKHO.data.columns:
YKHO.y = YKHO.data[NRm5]
else:
YKHO.y = None
print(f'{NRm5} not in dataframe to create y')
return (YKHO.X, YKHO.y) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PJTE(EcVT, LVAh, Zar6, HcFz, iPpg):\n Lcqa = EcVT[Zar6]\n Z5wO = EcVT[HcFz]\n VJv0 = LVAh[Zar6]\n H96n = LVAh[HcFz]\n return (Lcqa, Z5wO, VJv0, H96n)",
"def N66D(EcVT, LVAh):\n cvpa = CQJG(n_splits=Ieny, shuffle=True, random_state=gdXY)\n PqZA, HePD = (list(cvpa.split(EcVT))[-1][0], list... | [
"0.7198157",
"0.713138",
"0.7038712",
"0.69158757",
"0.68984556",
"0.6842339",
"0.6835195",
"0.6789707",
"0.67878646",
"0.6786712",
"0.6779915",
"0.6711501",
"0.66950774",
"0.66950774",
"0.665502",
"0.6649239",
"0.6612558",
"0.6581828",
"0.65677565",
"0.654051",
"0.65145755",... | 0.65377545 | 20 |
Compute the covariance function for a powerlaw Result is in units of (sec)^2. | def cFlY(jmzt, Os_7, Cwt5=-2.0 / 3.0, cVlt=1.0 / (lO87 * 20)):
cVlt = cVlt * lO87
WKvO = 2 * oyIN.pi * cVlt * oyIN.abs(jmzt) / lO87
EzjL = KG9w.gamma(-2 + 2 * Cwt5) * oyIN.cos(oyIN.pi * Cwt5)
naF9 = EzjL * WKvO ** (2 - 2 * Cwt5)
wcRc = KG9w.hyp1f2(Cwt5 - 1, 0.5, Cwt5, -0.25 * WKvO ** 2)[0] / (2 * Cw... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PFC2(YKHO):\n bAad = oyIN.dot(YKHO.weights * YKHO.demeaned.T, YKHO.demeaned)\n bAad /= YKHO.sum_weights - YKHO.ddof\n return bAad",
"def PFC2(YKHO):\n cCGj = NlXC.mean(YKHO)\n kAif = NlXC.std(YKHO)\n PFC2 = kAif / cCGj\n return PFC2",
"def hdI4(jQ3Z):\n import numpy as oyIN\n r8h... | [
"0.67396116",
"0.6646332",
"0.6444474",
"0.6416092",
"0.6403369",
"0.6310863",
"0.6298212",
"0.62839377",
"0.628191",
"0.62602764",
"0.62505424",
"0.6237298",
"0.6230949",
"0.6224735",
"0.6186808",
"0.61808866",
"0.6166202",
"0.61642665",
"0.6158584",
"0.61526877",
"0.6122950... | 0.6151613 | 20 |
Reads stderr file content or the error state field. | def BYef(YKHO):
bGrB = YKHO.get()
if YKHO._stderr is not None:
if URLg(YKHO._stderr):
with open(YKHO._stderr) as eHNT:
YKHO._err = eHNT.read()
return YKHO._err | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def e6rH(YKHO):\n if YKHO.process is not None:\n YKHO.errorGroup.show()\n KCHu = str(YKHO.process.readAllStandardError(), leqm.getSystem('IOEncoding'), 'replace')\n YKHO.errors.insertPlainText(KCHu)\n YKHO.errors.ensureCursorVisible()",
"def addx(YKHO, mWFP, vgXP, u54L):\n YKHO.... | [
"0.7099433",
"0.6235756",
"0.6108125",
"0.6089673",
"0.6088537",
"0.59939826",
"0.5943536",
"0.5916594",
"0.5828104",
"0.57771593",
"0.57298183",
"0.57228494",
"0.57031417",
"0.56854063",
"0.56671053",
"0.56650126",
"0.5602677",
"0.5568929",
"0.55351883",
"0.55087775",
"0.549... | 0.64709383 | 1 |
Create a Finite Random Variable given a dict representing the density. Returns a RandomSymbol. >>> from sympy.stats import FiniteRV, P, E | def p1jB(InLe, o61b=None):
return Gox3.fromdict(InLe, o61b).value | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def muuS(ROpF, mWFP=None):\n return a1uk.VariableV1(oEXi.random_uniform(ROpF), dtype=m1c7.float32, name=mWFP)",
"def LO__(DumB, o61b=None):\n return uZAl(DumB, o61b).value",
"def jG8h(XP5J: GenoDistribDict) -> R2a3:\n sjXb = ['a', 'A', 'Aa']\n CHNM = int(sum((XP5J[G1Hx] for G1Hx in sjXb)))\n ret... | [
"0.5599292",
"0.54055536",
"0.5352963",
"0.5304359",
"0.53008205",
"0.52228403",
"0.5219061",
"0.5173755",
"0.51504135",
"0.50974834",
"0.50945467",
"0.5079576",
"0.5078375",
"0.50674886",
"0.5042596",
"0.503078",
"0.50178754",
"0.50127965",
"0.49684697",
"0.49653086",
"0.493... | 0.6947287 | 0 |
Create a Finite Random Variable representing a hypergeometric distribution. Returns a RandomSymbol. Examples ======== >>> from sympy.stats import Hypergeometric, Density >>> from sympy import S >>> X = Hypergeometric(10, 5, 3) 10 marbles, 5 white (success), 3 draws >>> Density(X) | def VhRm(ywwl, r8hN, exwG, o61b=None):
return YbNs(ywwl, r8hN, exwG, o61b).value | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YXpD(Cwt5=0.0, UqYS=1.0, ROpF=None, Wuyu=None, yDqo=None, OaeV=None):\n pImw = p6tM(alpha=Cwt5, beta=UqYS, rand_gen=Wuyu, dtype=yDqo, ctx=OaeV)\n pImw._generate_outputs(shape=ROpF)\n return pImw.random_variable",
"def I6yV(mWFP, XP5J):\n return im04(mWFP, WkMz, XP5J)",
"def tuKI():\n return ... | [
"0.6115232",
"0.5981308",
"0.57513463",
"0.542732",
"0.53782386",
"0.5353187",
"0.5326692",
"0.5291",
"0.52800685",
"0.52674705",
"0.5261637",
"0.5244441",
"0.5214276",
"0.52085257",
"0.519458",
"0.5179511",
"0.51769954",
"0.5165592",
"0.5165592",
"0.5146826",
"0.514437",
"... | 0.53618944 | 5 |
Calculate the great circle distance between two points on the earth (specified in decimal degrees) | def GeVo(GgQG, igSk, tk0B, TGuP):
GgQG, igSk, tk0B, TGuP = map(Y_1E, [GgQG, igSk, tk0B, TGuP])
H91H = tk0B - GgQG
n_9K = TGuP - igSk
jzdc = epAf.sin(n_9K / 2) ** 2 + epAf.cos(igSk) * epAf.cos(TGuP) * epAf.sin(H91H / 2) ** 2
Z9rn = 2 * epAf.asin(epAf.sqrt(jzdc))
q5XV = 6367 * Z9rn
return q5XV | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KzuF(rCSf, hjIX, FNKk, T3JP):\n hjIX = r8hN.radians(hjIX)\n rCSf = r8hN.radians(rCSf)\n T3JP = r8hN.radians(T3JP)\n FNKk = r8hN.radians(FNKk)\n Csk6 = 2 * 6367.45 * r8hN.asin(r8hN.sqrt(GeVo(FNKk - rCSf) + r8hN.cos(rCSf) * r8hN.cos(FNKk) * GeVo(T3JP - hjIX)))\n return Csk6",
"def T97B(GgQG, ... | [
"0.8146851",
"0.78653836",
"0.7633587",
"0.760638",
"0.7597363",
"0.7595882",
"0.7594262",
"0.7571903",
"0.7563977",
"0.7557409",
"0.7529731",
"0.7516804",
"0.7494894",
"0.74672914",
"0.74524754",
"0.7434426",
"0.7391925",
"0.735819",
"0.73490065",
"0.7331919",
"0.73290455",
... | 0.0 | -1 |
Creates a LabeledCData object and makes sure the dimensions are correct. | def mh4j(YKHO):
nPrm = qw7D([[1, 0, 0], [0, 1, 0]])
Crrw = qw7D([1, 0])
RpEg = EWL0(nPrm, Crrw)
YKHO.assertEqual(RpEg.num_features, 3)
YKHO.assertEqual(RpEg.num_samples, 2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def geA5(YKHO):\n nPrm = qw7D([[-1], [1], [0.5], [0.25], [-0.33], [0]])\n Crrw = qw7D([0, 1, 1, 1, 0, 1])\n bOVy = EWL0(nPrm, Crrw)\n assert KRqq(bOVy.labels, Crrw)",
"def CqCA(YKHO):\n nPrm = qw7D([[1], [2], [3], [4], [5], [6]])\n Crrw = qw7D([1, 1, 2, 2, 3, 3])\n RpEg = EWL0(nPrm, Crrw)\n ... | [
"0.7037753",
"0.64838207",
"0.63272554",
"0.6307101",
"0.6180454",
"0.58087355",
"0.5542757",
"0.54886055",
"0.54873013",
"0.54513514",
"0.5352525",
"0.5338313",
"0.53361464",
"0.52955073",
"0.5285849",
"0.52377427",
"0.523346",
"0.5211097",
"0.52090925",
"0.51976126",
"0.516... | 0.79721266 | 0 |
Tests standardization method of scale_features. | def coHD(YKHO):
nPrm = qw7D([[0.564, 20.661], [-18.512, 41.168], [-0.009, 20.44]])
bOVy = onCM(nPrm)
ANfV = qw7D([[0.60355, -0.568043], [-1.1543, 1.15465], [0.550748, -0.586608]])
bOVy.scale_features('standardize')
YKHO.assertTrue(Jw17(bOVy.data, ANfV)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def I9fa(Lcqa, Z5wO):\n rxT9 = txNa().fit(Lcqa)\n Lcqa = rxT9.transform(Lcqa)\n Z5wO = rxT9.transform(Z5wO)\n return (Lcqa, Z5wO)",
"def hWT_(sVb4, dOuf):\n from sklearn.preprocessing import StandardScaler\n Sa_m = StandardScaler()\n Sa_m.fit(sVb4)\n CDF7 = Sa_m.transform(sVb4)\n GL_0 ... | [
"0.73794323",
"0.7034011",
"0.7013087",
"0.6970039",
"0.69317853",
"0.69081324",
"0.6865197",
"0.67690766",
"0.67475396",
"0.6725008",
"0.6690181",
"0.6668056",
"0.6665347",
"0.6648154",
"0.664761",
"0.66337186",
"0.66106176",
"0.6592104",
"0.6578315",
"0.65753675",
"0.657395... | 0.8344492 | 0 |
Tests padding vectors of three features with zeros until the vectors have four features. | def S2k1(YKHO):
nPrm = qw7D([[1, 2, 3], [4, 5, 6]])
bOVy = onCM(nPrm)
bOVy.pad_to_power2()
gXXc = qw7D([[1, 2, 3, 0], [4, 5, 6, 0]])
YKHO.assertEqual(bOVy.num_features, 4)
YKHO.assertTrue(KRqq(bOVy.data, gXXc)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YkMO(YKHO):\n nPrm = qw7D([[1, 2], [3, 4]])\n bOVy = onCM(nPrm)\n bOVy.pad_one()\n gXXc = qw7D([[1, 2, 0], [3, 4, 0]])\n YKHO.assertEqual(bOVy.num_features, 3)\n YKHO.assertTrue(KRqq(bOVy.data, gXXc))",
"def gnCb(YKHO):\n vXX7 = 'dummy'\n Spe9 = 'dummy_mask'\n hmO0 = -99\n QM3d ... | [
"0.65054876",
"0.6240834",
"0.60526586",
"0.5994951",
"0.59441113",
"0.5924362",
"0.58775795",
"0.586782",
"0.58267987",
"0.58114374",
"0.57860494",
"0.5735148",
"0.57337934",
"0.5724143",
"0.5643416",
"0.5610141",
"0.5588683",
"0.5578492",
"0.55617815",
"0.55547076",
"0.5520... | 0.0 | -1 |
Tests padding with a 33 element feature vector to get to a 64 element feature vector. | def Ts9W(YKHO):
nPrm = qw7D([[0] * 33, [1] * 33])
RpEg = EWL0(nPrm, labels=[0, 1])
RpEg.pad_to_power2()
YKHO.assertEqual(RpEg.num_features, 64)
YKHO.assertTrue(Jw17(RpEg.labels, [0, 1])) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Xnje(RDhP, DB_8, fdMZ, XTLp):\n NzvN = []\n DB_8 = ZylS.maximum(DB_8, ZylS.shape(RDhP)[1])\n for Mkmy in range(fdMZ):\n if Mkmy == 1:\n NzvN.append([0, DB_8 - ZylS.shape(RDhP)[1]])\n else:\n NzvN.append([0, 0])\n return ZylS.pad(RDhP, NzvN, constant_values=XTLp, ... | [
"0.6233043",
"0.6118274",
"0.6021943",
"0.59728813",
"0.5908438",
"0.5907502",
"0.58958614",
"0.5834198",
"0.5814734",
"0.5811504",
"0.5808066",
"0.5802462",
"0.5781138",
"0.57694",
"0.5764214",
"0.5764064",
"0.5746711",
"0.5746591",
"0.5725205",
"0.5715819",
"0.5713179",
"... | 0.0 | -1 |
The set of arguments for constructing a Container resource. | def FIMM(Ro_8, *, naF9: pulumi.Input[str], NXpY: pulumi.Input[int], bSEa: pulumi.Input[str], HSIi: Optional[pulumi.Input['ContainerServiceDeploymentArgs']]=None, gv1u: Optional[pulumi.Input[bool]]=None, Ikz8: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerPublicDomainNameArgs']]]]=None, dJ1p: Optional[pulumi.Inp... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wkRS(B2fa):\n oUK0 = {}\n for H5ew in jth9.copy(B2fa):\n if H5ew in OZop:\n oUK0[H5ew] = B2fa.pop(H5ew)\n JITM = {}\n for H5ew in jth9.copy(B2fa):\n if H5ew in sAwl:\n JITM[H5ew] = B2fa.pop(H5ew)\n Fb8A = B2fa.pop('ports', {})\n if Fb8A:\n JITM['port... | [
"0.6008694",
"0.59124887",
"0.5807097",
"0.5803984",
"0.5803404",
"0.5737139",
"0.5697635",
"0.5657928",
"0.5655926",
"0.5642725",
"0.5619689",
"0.5581132",
"0.55597395",
"0.5546522",
"0.5541862",
"0.554072",
"0.5523639",
"0.5521586",
"0.5521495",
"0.55157614",
"0.5515268",
... | 0.54778403 | 30 |
The name for the container service. | def bSEa(YKHO) -> qe4Y.Input[str]:
return qe4Y.get(YKHO, 'service_name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def G1wx(YKHO):\n y0cW = a4EO('core' if YKHO.core else 'service')\n return f'{y0cW}{YKHO.data.get('name')}'",
"def bSEa(YKHO) -> str:\n return qe4Y.get(YKHO, 'service_name')",
"def bSEa(YKHO) -> str:\n return qe4Y.get(YKHO, 'service_name')",
"def bSEa(YKHO):\n return YKHO._service_name",
"de... | [
"0.8641277",
"0.8303179",
"0.8303179",
"0.8101795",
"0.8067195",
"0.8067195",
"0.8067195",
"0.7907293",
"0.7907293",
"0.7857109",
"0.76276505",
"0.7605207",
"0.7574515",
"0.7574515",
"0.7574515",
"0.7221619",
"0.72057",
"0.7198518",
"0.712527",
"0.7113369",
"0.70488256",
"0... | 0.7888406 | 11 |
A Boolean value to indicate whether the container service is disabled. | def gv1u(YKHO) -> h8nf[qe4Y.Input[bool]]:
return qe4Y.get(YKHO, 'is_disabled') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lbi2(YKHO) -> bool:\n return qe4Y.get(YKHO, 'disabled')",
"def lbi2(YKHO) -> bool:\n return qe4Y.get(YKHO, 'disabled')",
"def gv1u(YKHO) -> qe4Y.Output[bool]:\n return qe4Y.get(YKHO, 'is_disabled')",
"def lbi2(YKHO) -> qe4Y.Output[bool]:\n return qe4Y.get(YKHO, 'disabled')",
"def gv1u(YKHO)... | [
"0.7707675",
"0.7707675",
"0.765171",
"0.7630779",
"0.7596883",
"0.75003284",
"0.75003284",
"0.7349516",
"0.7307241",
"0.7307241",
"0.7307241",
"0.7307241",
"0.7307241",
"0.7307241",
"0.7307241",
"0.7307241",
"0.7307241",
"0.7307241",
"0.7307241",
"0.7307241",
"0.7230959",
... | 0.7321294 | 8 |
Get an existing Container resource's state with the given name, id, and optional extra properties used to qualify the lookup. | def NMoC(kFeU: str, id: pulumi.Input[str], VKhi: Optional[pulumi.ResourceOptions]=None) -> 'Container':
VKhi = qe4Y.ResourceOptions.merge(VKhi, qe4Y.ResourceOptions(id=id))
r6DL = piJq.__new__(piJq)
r6DL.__dict__['container_arn'] = None
r6DL.__dict__['container_service_deployment'] = None
r6DL.__dic... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NMoC(kFeU: str, id: pulumi.Input[str], VKhi: Optional[pulumi.ResourceOptions]=None, hMqs: Optional[pulumi.Input[str]]=None, ul9_: Optional[pulumi.Input[str]]=None, qDzk: Optional[pulumi.Input[str]]=None, JBZA: Optional[pulumi.Input[str]]=None, vdqp: Optional[pulumi.Input[str]]=None, VPRs: Optional[pulumi.Input... | [
"0.58693206",
"0.58242166",
"0.58010656",
"0.5754036",
"0.5750827",
"0.57258666",
"0.5715481",
"0.56813085",
"0.5670921",
"0.5658399",
"0.56131154",
"0.560579",
"0.5599341",
"0.55664015",
"0.55485296",
"0.5433859",
"0.5419206",
"0.538533",
"0.53802097",
"0.53747153",
"0.53713... | 0.6232067 | 0 |
A Boolean value to indicate whether the container service is disabled. | def gv1u(YKHO) -> qe4Y.Output[h8nf[bool]]:
return qe4Y.get(YKHO, 'is_disabled') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lbi2(YKHO) -> bool:\n return qe4Y.get(YKHO, 'disabled')",
"def lbi2(YKHO) -> bool:\n return qe4Y.get(YKHO, 'disabled')",
"def gv1u(YKHO) -> qe4Y.Output[bool]:\n return qe4Y.get(YKHO, 'is_disabled')",
"def lbi2(YKHO) -> qe4Y.Output[bool]:\n return qe4Y.get(YKHO, 'disabled')",
"def lbi2(YKHO)... | [
"0.7710745",
"0.7710745",
"0.7654624",
"0.76339394",
"0.75034314",
"0.75034314",
"0.7352647",
"0.732427",
"0.73105407",
"0.73105407",
"0.73105407",
"0.73105407",
"0.73105407",
"0.73105407",
"0.73105407",
"0.73105407",
"0.73105407",
"0.73105407",
"0.73105407",
"0.73105407",
"0... | 0.7599763 | 4 |
The name for the container service. | def bSEa(YKHO) -> qe4Y.Output[str]:
return qe4Y.get(YKHO, 'service_name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def G1wx(YKHO):\n y0cW = a4EO('core' if YKHO.core else 'service')\n return f'{y0cW}{YKHO.data.get('name')}'",
"def bSEa(YKHO) -> str:\n return qe4Y.get(YKHO, 'service_name')",
"def bSEa(YKHO) -> str:\n return qe4Y.get(YKHO, 'service_name')",
"def bSEa(YKHO):\n return YKHO._service_name",
"de... | [
"0.8641277",
"0.8303179",
"0.8303179",
"0.8101795",
"0.7907293",
"0.7907293",
"0.7888406",
"0.7888406",
"0.7888406",
"0.7857109",
"0.76276505",
"0.7605207",
"0.7574515",
"0.7574515",
"0.7574515",
"0.7221619",
"0.72057",
"0.7198518",
"0.712527",
"0.7113369",
"0.70488256",
"0... | 0.8067195 | 5 |
The publicly accessible URL of the container service. | def bD7m(YKHO) -> qe4Y.Output[str]:
return qe4Y.get(YKHO, 'url') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VcB_(YKHO):\n return 'http://{}:{}'.format(ZWCE.azure_url(YKHO.dns_name), YKHO.port)",
"def oU1u(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'service_url')",
"def bD7m(YKHO):\n return pzVU.Url(path=YKHO.serving_path, host=YKHO.pod.env.host, port=YKHO.pod.env.port, scheme=YKHO.pod.env.scheme... | [
"0.74695873",
"0.74464566",
"0.7335888",
"0.72396886",
"0.71634495",
"0.7161912",
"0.7130349",
"0.70656234",
"0.70322543",
"0.6991827",
"0.6876161",
"0.6876161",
"0.6870469",
"0.6868169",
"0.6851519",
"0.680901",
"0.680901",
"0.67711246",
"0.6766696",
"0.67606187",
"0.6715551... | 0.65281254 | 33 |
Encode a JWT token based on the claims_set and the settings. If available, registry.settings.jwtauth.private_key is used as key. In this case the algorithm must be an RS or EC algorithm. If registry.settings.jwtauth.private_key is not set, registry.settings.jwtauth.master_secret is used. registry.settings.jwtauth.algor... | def hHYi(YKHO, _uha):
H5ew = YKHO.master_secret
x03U = YKHO.private_key
if YKHO.private_key_file is not None:
with open(YKHO.private_key_file, 'r') as h7HB:
x03U = h7HB.read()
if x03U is not None:
H5ew = x03U
E91_ = YKHO.algorithm
eOtH = DvJO.encode(_uha, H5ew, E91_)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kLcZ(YKHO, pB3N):\n t1Ap = pB3N.copy()\n if YKHO.audience is not None:\n t1Ap['aud'] = YKHO.audience\n if YKHO.issuer is not None:\n t1Ap['iss'] = YKHO.issuer\n eOtH = DvJO.encode(t1Ap, YKHO.signing_key, algorithm=YKHO.algorithm)\n if isinstance(eOtH, bytes):\n return eOtH.d... | [
"0.650061",
"0.6350542",
"0.6200813",
"0.6180409",
"0.6106039",
"0.6067537",
"0.6019869",
"0.601826",
"0.60124123",
"0.58672774",
"0.5864117",
"0.5860228",
"0.5856986",
"0.58492136",
"0.58479214",
"0.5834721",
"0.58142084",
"0.5789316",
"0.5785754",
"0.5782817",
"0.57801986",... | 0.7591879 | 0 |
Extract the JWT token from the authorisation header of the request. Returns the JWT token or None, if the token cannot be extracted. | def iwDu(YKHO, QePW):
RqSo = YKHO.auth_header_prefix
try:
em58 = QePW.authorization
except ValueError:
return None
if em58 is None:
return None
oJ9c, eOtH = em58
if oJ9c.lower() != RqSo.lower():
return None
return eOtH | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gNTt():\n Jpbe = QePW.headers.get('Authorization', None)\n if Jpbe is None:\n raise bYUu({'code': 'authorization_header_missing', 'description': 'Authorization header is expected.'}, 401)\n SQ3m = Jpbe.split()\n if SQ3m[0].lower() != 'bearer':\n raise bYUu({'code': 'invalid_header', '... | [
"0.79776436",
"0.78814834",
"0.76305926",
"0.7420968",
"0.7388142",
"0.73852426",
"0.7361624",
"0.7361086",
"0.73201066",
"0.7234565",
"0.70693856",
"0.7063776",
"0.70104265",
"0.699608",
"0.68887264",
"0.68458277",
"0.6711496",
"0.6668676",
"0.66311234",
"0.66129637",
"0.656... | 0.82285297 | 0 |
Test that `PUT`ting the hook w/o giving a token returns HTTP 401 | def dL2g(YKHO, x0hE):
sxkB(x0hE, status=401) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Jz0j(YKHO):\n bD7m = gxEw('file')\n nPrm = {}\n geh0 = YKHO.client.put(bD7m, nPrm)\n YKHO.assertEqual(geh0.status_code, jGRS.HTTP_401_UNAUTHORIZED)",
"def j6nj(YKHO):\n nPrm = {'title': 'The Mask 2'}\n geh0 = YKHO.client.patch(YKHO.url, nPrm, format='json')\n YKHO.assertEqual(geh0.status... | [
"0.7614157",
"0.6983062",
"0.69768745",
"0.6965982",
"0.69511545",
"0.6883869",
"0.68660444",
"0.6850732",
"0.6814594",
"0.67821604",
"0.6762128",
"0.67476153",
"0.67030406",
"0.6677111",
"0.66695327",
"0.66435814",
"0.6567107",
"0.651708",
"0.65093154",
"0.64977294",
"0.6469... | 0.64483434 | 22 |
Test that using a wrong token gets you a HTTP 403 | def Q9QF(YKHO, x0hE, eOtH):
with cTyl(G9jH.WARNING):
sxkB(x0hE, status=403, token=f'{eOtH}wrong') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Uy7m(YKHO):\n YKHO._error_test(ODk9.HTTPForbidden)",
"def p9Uw(x0hE, QePW):\n Ylbp = x0hE.get('/token?uid=1')\n assert Ylbp.status_code == 400\n assert 'User does not exist' in Ylbp.data.decode('utf-8')",
"def yPPa(YKHO):\n uJjO = YKHO.create_user()[0]\n JVBp = int(YKHO.create_question(uJ... | [
"0.77414316",
"0.7644356",
"0.75742555",
"0.75406635",
"0.74868166",
"0.747868",
"0.74540323",
"0.740259",
"0.7385596",
"0.7369364",
"0.7330583",
"0.7323837",
"0.73222136",
"0.73161465",
"0.7312763",
"0.72986066",
"0.72986066",
"0.72986066",
"0.72986066",
"0.7266291",
"0.7248... | 0.8365224 | 0 |
End the current sub path, but don't close it. You must call either pen.closePath() or pen.endPath() after each sub path. | def D37a(YKHO) -> None:
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uChs(YKHO):\n YKHO._closePath()\n YKHO._lastCommand = None\n YKHO._lastX = YKHO._lastY = None",
"def uChs(YKHO):\n YKHO._lastCommand = None\n YKHO._lastX = YKHO._lastY = None",
"def a0zo(*qIxc, **B2fa):\n return nAU3.GraphicsPath_CloseSubpath(*qIxc, **B2fa)",
"def hg1a(YKHO, pmON=[]):\n... | [
"0.77831084",
"0.767169",
"0.6443608",
"0.6426933",
"0.63578784",
"0.6333978",
"0.6103484",
"0.6023114",
"0.57907265",
"0.5772074",
"0.5732014",
"0.5681774",
"0.5681774",
"0.5681774",
"0.5609714",
"0.5534267",
"0.55181485",
"0.55099857",
"0.5451709",
"0.54143703",
"0.54037136... | 0.6305541 | 6 |
Add a sub glyph. The 'transformation' argument must be a 6tuple containing an affine transformation, or a Transform object from the | def ppvM(YKHO, tLb6: str, nGID: Tuple[float, float, float, float, float, float]) -> None:
raise NotImplementedError | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Y5cV(YKHO, *qIxc):\n return _VfD.GeneralGlyph_addSubGlyph(YKHO, *qIxc)",
"def ppvM(YKHO, tLb6, nGID):\n from fontTools.pens.transformPen import TransformPen\n try:\n stmq = YKHO.glyphSet[tLb6]\n except KeyError:\n if not YKHO.skipMissingComponents:\n raise U84q(tLb6)\n ... | [
"0.74049675",
"0.6154543",
"0.5947581",
"0.58673483",
"0.58494484",
"0.584397",
"0.5730147",
"0.5690391",
"0.56657517",
"0.53792554",
"0.5329161",
"0.5236526",
"0.5205371",
"0.5160498",
"0.51134753",
"0.5086787",
"0.50656265",
"0.5058172",
"0.50202644",
"0.49818704",
"0.49341... | 0.6845593 | 1 |
Gets the version of the Firmware | def TDVU(YKHO, iBIi=0):
return YKHO.callModule('admin', iBIi, 0, 'getVersion') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uCIf(YKHO):\n return YKHO._get_system_status()['firmware']",
"def uCIf(YKHO):\n return YKHO.data.get('fw_ver')",
"def uCIf(YKHO):\n return YKHO._read(kw_2)",
"def MONY(YKHO):\n HCmI = iquo.GET_FIRMWARE_VERSION\n geh0 = YKHO.__send_and_receive(HCmI)\n BWXx = YKHO.__gen_response_value(geh... | [
"0.8729755",
"0.861756",
"0.84705865",
"0.8358496",
"0.8311532",
"0.8248412",
"0.82446265",
"0.82379824",
"0.82270193",
"0.8128544",
"0.787059",
"0.78259426",
"0.7822249",
"0.77134866",
"0.7683404",
"0.7658978",
"0.76476514",
"0.76112366",
"0.75901604",
"0.75759476",
"0.75367... | 0.81850815 | 9 |
Visualizes and labels the clusters resulting from an analysis. | def DM5k(FNxs: list, Crrw: list) -> None:
XOPZ = oRi_(list)
for or8S, AU8u in enumerate(FNxs):
XOPZ[Crrw[or8S]].append(AU8u)
xH4Y = {}
for UXqs, Td4C in XOPZ.items():
xH4Y[UXqs] = oyIN.stack(tuple(Td4C))
l_mF = {}
for UXqs, ezWE in xH4Y.items():
u54L = ezWE.shape[0]
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HeFd(YKHO):\n pass",
"def bAHj(YKHO):\n LZpg = QrM1.figure()\n aNZO = LZpg.add_subplot(111, projection='3d')\n LZpg.set_size_inches(18.5, 9.5)\n aNZO.set_title('Identification of Cluster Particles with Voronoi Volumes', fontsize=22)\n aNZO.set_xlabel('x [m]', fontsize=18)\n aNZO.set_ylab... | [
"0.7799528",
"0.75204456",
"0.74653286",
"0.72559804",
"0.7111731",
"0.6990109",
"0.69228536",
"0.68576485",
"0.681407",
"0.6761228",
"0.6754532",
"0.6745738",
"0.67130995",
"0.67125785",
"0.6689355",
"0.6623977",
"0.6593363",
"0.65782076",
"0.65100485",
"0.65028924",
"0.6456... | 0.68990695 | 7 |
V is the matrix with the initial velocities in x,y,z direction which have been put to zero. Input | def XZeT(B_hy, ywwl, lWPh, Kt_s, r8hN, tpio, sM89):
cAlv = oyIN.zeros((3, ywwl))
cAlv[0:tpio, :] = oyIN.random.normal(0, sM89 * Kt_s / r8hN, (tpio, ywwl))
EPeB.velocity(B_hy, ywwl, cAlv)
return cAlv | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rAsi(WKvO):\n return oyIN.zeros_like(WKvO)",
"def p8Jz(YKHO, EcVT, fuBA):\n YKHO.u = YKHO.Vinf * oyIN.ones_like(EcVT)\n YKHO.v = oyIN.zeros_like(EcVT)",
"def KWNY(YKHO):\n YKHO.vector = oyIN.zeros(YKHO.dimension, dtype=float)",
"def ifEa(Emd4):\n \"\"\" EXECUTE THIS FUNCTION IN THE FARM CL... | [
"0.75194025",
"0.69482017",
"0.6942899",
"0.6662728",
"0.6579907",
"0.6468008",
"0.64418656",
"0.642287",
"0.6392057",
"0.6379031",
"0.6267738",
"0.6177522",
"0.6172975",
"0.61086875",
"0.6092055",
"0.6073753",
"0.60692114",
"0.60401547",
"0.6020821",
"0.60029495",
"0.5995065... | 0.57713723 | 39 |
V is the matrix with the velocities of the particles, in x,y,z. The V matrix is created using time evolution. | def G57z(cAlv, vuvg, JRYC, J2s5, WTkW, _hZ2, lWPh, ywwl):
cAlv += JRYC / 2 * (E4OI(J2s5[-1], ywwl, WTkW, _hZ2, lWPh) + E4OI(J2s5[-2], ywwl, WTkW, _hZ2, lWPh))
return cAlv | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def P52x(A3Vt, cAlv, JRYC, vuvg, lWPh):\n A3Vt += JRYC * cAlv + JRYC ** 2 / 2 * vuvg\n XP5J = 1\n hgl7 = 0\n A3Vt = XaMe(A3Vt, lWPh, XP5J, hgl7)\n return A3Vt",
"def mcUg(EcVT, fuBA, Jw7X, eUWA, CYjz, YRbF, SStx, aPd6, ywwl, KkY2, JRYC, movU, RneE, kRye, A3Vt, lxkz, x0pj, MxXY, Cs6h, yvY1, RVBr, I... | [
"0.6850313",
"0.66610783",
"0.6659849",
"0.6612491",
"0.64220613",
"0.63896286",
"0.6388782",
"0.63752335",
"0.63628525",
"0.6344411",
"0.6313022",
"0.63051414",
"0.6277831",
"0.6267249",
"0.62422824",
"0.61897475",
"0.6153272",
"0.61461395",
"0.6125604",
"0.6107061",
"0.6103... | 0.7404511 | 0 |
The identity block is the block that has no conv layer at shortcut. | def aP6R(FRUf, Ot1W, KUnM, EtM5, XkN1):
U_te, DZWo, MXwb = KUnM
RmTP = 'res' + str(EtM5) + XkN1
lPXw = 'bn' + str(EtM5) + XkN1
JGxW = 'add' + str(EtM5) + '_' + XkN1
txxm = 'relu' + str(EtM5) + '_' + XkN1
BNCR = FRUf.dims(3) if FRUf.shape.layout == _sef.NHWC else FRUf.dims(1)
jxuw = _sef.Tens... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aP6R(YKHO, FRUf, KUnM, YDYE, EtM5, XkN1, AkBB=True):\n RmTP = 'res' + str(EtM5) + XkN1 + '_branch'\n uFbb = 'batch_norm' + str(EtM5) + XkN1 + '_branch'\n T9jN = FRUf\n WKvO = None\n if AkBB:\n WKvO = GVKG(axis=3, name=uFbb + '_1')(FRUf)\n WKvO = MroH(YDYE)(WKvO)\n else:\n ... | [
"0.6863723",
"0.6613831",
"0.65261513",
"0.64593554",
"0.64359504",
"0.6433214",
"0.638604",
"0.6383168",
"0.6336141",
"0.63211936",
"0.63197666",
"0.62679076",
"0.62557864",
"0.624875",
"0.62460726",
"0.6225587",
"0.62168217",
"0.61974704",
"0.61882806",
"0.61882806",
"0.612... | 0.60630095 | 26 |
A block that has a conv layer at shortcut. Note that from stage 3, the second conv layer at main path is with strides=(2, 2) And the shortcut should have strides=(2, 2) as well | def mQG_(FRUf, Ot1W, KUnM, EtM5, XkN1, FEri=(2, 2)):
U_te, DZWo, MXwb = KUnM
RmTP = 'res' + str(EtM5) + XkN1
lPXw = 'bn' + str(EtM5) + XkN1
JGxW = 'add' + str(EtM5) + '_' + XkN1
txxm = 'relu' + str(EtM5) + '_' + XkN1
BNCR = FRUf.dims(3) if FRUf.shape.layout == _sef.NHWC else FRUf.dims(1)
jxu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mQG_(FRUf, Ot1W, KUnM, EtM5, XkN1, FEri=(1, 1)):\n nK5p, Xf5Z, uN8x = KUnM\n RmTP = 'res' + str(EtM5) + XkN1 + '_branch'\n lPXw = 'bn' + str(EtM5) + XkN1 + '_branch'\n T9jN = FRUf\n WKvO = yHwh(filters=nK5p, kernel_size=(1, 1), strides=FEri, name=RmTP + '2a')(FRUf)\n WKvO = GVKG(axis=3, name=... | [
"0.76759034",
"0.7538227",
"0.74632853",
"0.74268186",
"0.7417754",
"0.74028534",
"0.7355719",
"0.733809",
"0.7316824",
"0.72838753",
"0.72356284",
"0.72352505",
"0.7217274",
"0.7209",
"0.71385396",
"0.71041006",
"0.70639545",
"0.70394063",
"0.7031946",
"0.70305365",
"0.70305... | 0.68165886 | 35 |
Set up sensor entities for the sensors in the tub. | async def async_setup_entry(ajET: HomeAssistant, bTKY: ConfigEntry, QEEk: AddEntitiesCallback) -> None:
Z7L0 = ajET.data[Sugg][bTKY.entry_id][KNop]
MMe4 = []
for pzlJ in Z7L0.spas:
MMe4.extend([s_nC(Z7L0.coordinator, pzlJ, 'State', 'state'), s_nC(Z7L0.coordinator, pzlJ, 'Flow Switch', 'flow_switch')... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _kZf(YKHO, gCuF):\n for XtFw in gCuF.sensors:\n KCHu = XTqt(XtFw, gCuF.sensors, gCuF, YKHO.tiny_image, YKHO.send_q)\n YKHO.sensors.append(KCHu)",
"def _kZf(YKHO, b32v):\n YKHO.__sensors = YKHO.setup_components(b32v, 'scale_client.sensors')",
"def AbqV(ajET, GPtr, uVcJ, tR5e=None):\n ... | [
"0.7214077",
"0.70500165",
"0.69763756",
"0.68762535",
"0.6820571",
"0.67822933",
"0.67746687",
"0.6766034",
"0.6686225",
"0.6682069",
"0.6659768",
"0.6610417",
"0.6601996",
"0.6600393",
"0.65962875",
"0.6592374",
"0.6511385",
"0.6467368",
"0.6463674",
"0.6446157",
"0.6419359... | 0.6318377 | 25 |
Return the state attributes. | def TzCU(YKHO):
return {Uq6C: YKHO.cycle.duration, ges2: YKHO.cycle.last_updated.isoformat(), bnZ8: YKHO.cycle.mode.name.lower(), JvkQ: YKHO.cycle.start_hour} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def upgy(YKHO):\n return YKHO._attributes",
"def upgy(YKHO):\n return YKHO._attributes",
"def R1i3(YKHO):\n return YKHO.attributes",
"def R1i3(YKHO):\n return YKHO._state_attrs",
"def R1i3(YKHO):\n return YKHO._state_attrs",
"def R1i3(YKHO):\n return YKHO._attributes",
"def upgy(YKHO)... | [
"0.8953404",
"0.8953404",
"0.85239846",
"0.8366765",
"0.8366765",
"0.8363429",
"0.83362615",
"0.8334551",
"0.8310377",
"0.8292682",
"0.8289349",
"0.8289349",
"0.82871646",
"0.82871646",
"0.82871646",
"0.82871646",
"0.82871646",
"0.82871646",
"0.82871646",
"0.82871646",
"0.828... | 0.7606334 | 60 |
Return the state attributes. | def TzCU(YKHO):
return {ges2: YKHO.cycle.last_updated.isoformat(), bnZ8: YKHO.cycle.mode.name.lower()} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def upgy(YKHO):\n return YKHO._attributes",
"def upgy(YKHO):\n return YKHO._attributes",
"def R1i3(YKHO):\n return YKHO.attributes",
"def R1i3(YKHO):\n return YKHO._state_attrs",
"def R1i3(YKHO):\n return YKHO._state_attrs",
"def R1i3(YKHO):\n return YKHO._attributes",
"def upgy(YKHO)... | [
"0.8953404",
"0.8953404",
"0.85239846",
"0.8366765",
"0.8366765",
"0.8363429",
"0.83362615",
"0.8334551",
"0.8310377",
"0.8292682",
"0.8289349",
"0.8289349",
"0.82871646",
"0.82871646",
"0.82871646",
"0.82871646",
"0.82871646",
"0.82871646",
"0.82871646",
"0.82871646",
"0.828... | 0.73552984 | 98 |
Warp a 2D image according to a given coordinate transformation. This version of warp integrates across each output pixel area using the QuasiMonte Carlo method. It may produce cleaner results when the warp involves nonlinear stretching. | def qEUb(LNo8, XPq3, tN0h={}, oLRV=None, f0Tu=0.0, exwG=9, Tuqy='constant', c4yI=0.0, U3sA=False):
GhuM = oyIN.array(LNo8.shape)
if oLRV is None:
oLRV = GhuM
elif len(GhuM) == 3 and len(oLRV) == 2:
oLRV = (oLRV[0], oLRV[1], GhuM[2])
def ztYQ(*qIxc):
return XPq3(*qIxc, **tN0h)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def W4SE(YKHO):\n for bE00 in (0, 1, 2, 4):\n ve2T = 'lanczos3'\n LL2J = 4e-05\n rU28 = 0.01\n CSWp = MuOW.WarpingControl(warpingKernelName=ve2T, interpLength=bE00)\n awmT = JNOt.ExposureF(W_5H)\n iFge = JNOt.DecoratedImageF(W_5H).getMetadata()\n ad9j = GmAo.make... | [
"0.6946785",
"0.6825195",
"0.6617307",
"0.660952",
"0.66017884",
"0.6594313",
"0.6499729",
"0.64934295",
"0.6367398",
"0.6328859",
"0.62066585",
"0.61953306",
"0.6187832",
"0.6185922",
"0.6155084",
"0.6125401",
"0.6120831",
"0.6105542",
"0.6105542",
"0.60338104",
"0.60175043"... | 0.60673064 | 19 |
calculates iou between two boxes box1 and box2 | def RjuK(knvf, IkxF, begE):
ewJg, Khbt, Q9ku, J4l7 = (knvf[:, 0], knvf[:, 1], knvf[:, 2], knvf[:, 3])
vSZT, WHlL, guU_, QGiE = (IkxF[:, 0], IkxF[:, 1], IkxF[:, 2], IkxF[:, 3])
yuQe = ht2j.max(ewJg, vSZT)
FSva = ht2j.max(Khbt, WHlL)
U3QQ = ht2j.min(Q9ku, guU_)
NLtk = ht2j.min(J4l7, QGiE)
FDp6... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RjuK(knvf, IkxF):\n tspZ = min(knvf[0] + 0.5 * knvf[2], IkxF[0] + 0.5 * IkxF[2]) - max(knvf[0] - 0.5 * knvf[2], IkxF[0] - 0.5 * IkxF[2])\n if tspZ > 0:\n V2zj = min(knvf[1] + 0.5 * knvf[3], IkxF[1] + 0.5 * IkxF[3]) - max(knvf[1] - 0.5 * knvf[3], IkxF[1] - 0.5 * IkxF[3])\n if V2zj > 0:\n ... | [
"0.85155684",
"0.8487304",
"0.8402957",
"0.8374088",
"0.83300817",
"0.8261204",
"0.82453805",
"0.8203979",
"0.81715965",
"0.81715965",
"0.81616485",
"0.8146204",
"0.81316835",
"0.8052979",
"0.8008135",
"0.80073375",
"0.794081",
"0.79382366",
"0.78954923",
"0.7894293",
"0.7855... | 0.752311 | 29 |
Index of the homepage. | def Dck1(bNKA):
Oa1e.selected_tab = 'dashboard'
ByLq = oPx1.select().where(oPx1.slug == bNKA).first()
if ByLq is None:
Dwep('invalid project')
return vKnz(nKyW('projects'))
cuiw['project'] = ByLq
ZnpV = dict(total=0, success=0, warning=0, error=0)
O0al = pmON(ByLq.path, 'build.ab... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kZiy():\n return TvZl('index.html', title='Home Page', year=qcWV.now().year)",
"def d6pt():\n return TvZl('index.html', title='Home')",
"def d6pt():\n return TvZl('index.html', title='Home')",
"def C_QL():\n return TvZl('home/index.html', title='Bem vindo!')",
"def d6pt(YKHO):\n return T... | [
"0.8197923",
"0.81506574",
"0.8124489",
"0.8094301",
"0.80736524",
"0.79953974",
"0.79926103",
"0.79546267",
"0.79210836",
"0.7909273",
"0.78858733",
"0.7878424",
"0.7878424",
"0.7878424",
"0.7878424",
"0.7878424",
"0.7878424",
"0.7878424",
"0.7878424",
"0.7878424",
"0.787842... | 0.0 | -1 |
Return the list of children that are themselves nodes. | def f0w8(YKHO):
for YXSb in YKHO:
YXSb.subnode_ids = YKHO.search([('parent_id', '=', YXSb.id), ('type.has_children', '=', True)]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rj6q(Q6kx):\n return list(wNRb(Q6kx))",
"def MqtK(YKHO, Q6kx):\n return Q6kx.children",
"def afYC(YKHO):\n return list(YKHO._children)",
"def RbaF(YKHO):\n return [Q6kx for Q6kx in YKHO._children.values()]",
"def RbaF(YKHO) -> laHg.List['AbstractNode']:\n return list(YKHO._children)",
... | [
"0.79776645",
"0.7892044",
"0.7849119",
"0.78167266",
"0.78007185",
"0.7711362",
"0.76936305",
"0.764749",
"0.7612078",
"0.7612078",
"0.7612078",
"0.7606631",
"0.7577797",
"0.75587404",
"0.7555079",
"0.7542785",
"0.7532357",
"0.7522142",
"0.7505171",
"0.74734557",
"0.7438774"... | 0.0 | -1 |
Returns the list of dictionaries, one dictionary per attribute. | def pWlu(mgFW, kLQb, iXC1):
Jzz_ = ITS7()
GBaN = b9yt.run_attributes(mgFW, kLQb, iXC1)
return GBaN | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MNRr(YKHO):\n Csk6 = {}\n YRbF = 0\n for bTKY in YKHO.entries:\n Csk6[YRbF] = {}\n azoT = YKHO.get_attribute_list()\n print(azoT)\n for nPrm in azoT:\n Csk6[YRbF][nPrm] = bTKY.__getattribute__(nPrm)\n YRbF = YRbF + 1\n return Csk6",
"def yNPn(YKHO):\n... | [
"0.6806483",
"0.6774851",
"0.6704017",
"0.6655863",
"0.66396075",
"0.6561624",
"0.6561624",
"0.6561624",
"0.6454229",
"0.6421544",
"0.6421411",
"0.64098376",
"0.6374124",
"0.6361941",
"0.6344779",
"0.6331047",
"0.6303439",
"0.6301409",
"0.6296278",
"0.62947166",
"0.62664664",... | 0.0 | -1 |
Given a text, return the text with no spaces or punctuation and all lowercased. | def QrZ9(l5Ny):
l5Ny = l5Ny.lower()
RMfx = 'abcdefghijklmnopqrstuvwxyz'
ajrN = ''
for hcXw in l5Ny:
if hcXw in RMfx:
ajrN += hcXw
return ajrN | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _CBm(l5Ny):\n return ZbWC.sub('[^\\\\w\\\\s]', '', l5Ny).lower()",
"def teVQ(l5Ny):\n pCTn = vIwR.punctuation + vIwR.whitespace + vIwR.digits\n PRNC = [mAB6 for mAB6 in l5Ny if mAB6 not in pCTn]\n PRNC = ''.join(PRNC)\n return PRNC.lower()",
"def Xosv(l5Ny):\n return VVVf(UZ5j(l5Ny))",
... | [
"0.83795613",
"0.83204526",
"0.82383573",
"0.81987154",
"0.81307024",
"0.8068156",
"0.8015314",
"0.8003856",
"0.79410756",
"0.79233396",
"0.7918988",
"0.78748393",
"0.78047484",
"0.7737332",
"0.7694352",
"0.76641345",
"0.76497144",
"0.76477593",
"0.76310056",
"0.7581861",
"0.... | 0.6947345 | 52 |
Get the work directory for the current iteration. We need to call this function in child processes so it cannot be in an object. | def L8Zb(nzu_, v2jX, JlaQ, dfHy):
mWFP = '{}_{}_{:02d}'.format(aPr_(v2jX), aPr_(JlaQ), dfHy)
return gzes(nzu_, mWFP) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BuX_(YKHO):\n return YKHO._work_dir",
"def QqCf(YKHO):\n return YKHO._workdir",
"def QqCf(YKHO) -> str:\n return YKHO._workdir",
"def qYVy(YKHO):\n return YKHO.process.get_working_dir()",
"def N3wy(YKHO):\n YKHO.debug.printHeader()\n if YKHO.settings.config.has_section('files') and YK... | [
"0.82060385",
"0.7767615",
"0.7692267",
"0.7685019",
"0.7473804",
"0.73769414",
"0.73645717",
"0.73282987",
"0.7265627",
"0.7254668",
"0.7212822",
"0.7138452",
"0.6930496",
"0.67864",
"0.674485",
"0.6699786",
"0.6696087",
"0.6695358",
"0.66834766",
"0.6646763",
"0.6636493",
... | 0.0 | -1 |
Display the string representation for this range that has different outputs for singlets vs. ranges | def wHJl(YKHO):
if YKHO.start_measure_num == YKHO.end_measure_num:
return 'm. {}'.format(YKHO.start_measure_num)
return 'mm. {} - {}'.format(YKHO.start_measure_num, YKHO.end_measure_num) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wHJl(YKHO):\n return str(YKHO.start) + ' \\t' + str(YKHO.end)",
"def zAg0(YKHO) -> str:\n return str(n9D7([YKHO._domain, YKHO._range]))",
"def wHJl(YKHO):\n if isinstance(YKHO.begin, KUXB):\n k_lj = str(YKHO.begin)\n Q9wo = str(YKHO.end)\n else:\n k_lj = repr(YKHO.begin)... | [
"0.7564587",
"0.75269395",
"0.7523573",
"0.7430622",
"0.70361346",
"0.7011773",
"0.697294",
"0.6925801",
"0.68996936",
"0.6832773",
"0.6812872",
"0.68115133",
"0.67921054",
"0.6765769",
"0.67415893",
"0.6711125",
"0.6705522",
"0.66996866",
"0.6685044",
"0.66624224",
"0.666201... | 0.0 | -1 |
Sets the revision of this ConnectionEntity. The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | def XkTm(YKHO, XkTm):
YKHO._revision = XkTm | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MkaS(KR0_, V9WH):\n pass",
"def A2CZ(K_VX, V9WH):\n pass",
"def set(YKHO, XkTm):\n YKHO.__path.write_text(XkTm)",
"def c_NX(J9Vb, V9WH):\n pass",
"def XkTm(YKHO):\n return YKHO._revision",
"def XkTm(YKHO):\n return YKHO._revision",
"def IgEo(YKHO, IgEo):\n YKHO._revision_name =... | [
"0.6917974",
"0.67692393",
"0.674802",
"0.6565757",
"0.6282638",
"0.6282638",
"0.6083437",
"0.60660917",
"0.59965616",
"0.5952981",
"0.59507406",
"0.5883649",
"0.5879126",
"0.5847831",
"0.58342314",
"0.5828874",
"0.58206844",
"0.5738379",
"0.55126613",
"0.5456829",
"0.5418094... | 0.77200115 | 0 |
Gets the id of this ConnectionEntity. The id of the component. | def id(YKHO):
return YKHO._id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PoKV(YKHO) -> cIM4:\n return YKHO.configuration.component_id",
"def id(YKHO):\n return id(YKHO._component)",
"def g2g3(YKHO):\n return YKHO._entity_id",
"def g2g3(YKHO):\n return YKHO._entity_id",
"def g2g3(YKHO):\n return YKHO._entity_id",
"def g2g3(YKHO):\n return YKHO._entity_id"... | [
"0.76705676",
"0.76160103",
"0.75298965",
"0.75298965",
"0.75298965",
"0.75298965",
"0.75298965",
"0.74498016",
"0.74498016",
"0.733252",
"0.7310465",
"0.7215575",
"0.7215575",
"0.7192322",
"0.71734476",
"0.71734476",
"0.71734476",
"0.71734476",
"0.71734476",
"0.71734476",
"0... | 0.0 | -1 |
Sets the id of this ConnectionEntity. The id of the component. | def id(YKHO, id):
YKHO._id = id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def V_9M(YKHO, id):\n YKHO.__id = id",
"def V_9M(YKHO, hbFX):\n YKHO.id_ = hbFX",
"def psjw(YKHO, id):\n YKHO.id = int(id)",
"def V_9M(YKHO, id):\n YKHO.data['id'] = id",
"def id(YKHO, id):\n YKHO._id = id",
"def id(YKHO, id):\n YKHO._id = id",
"def id(YKHO, id):\n YKHO._id = id",
... | [
"0.7462041",
"0.72931206",
"0.727262",
"0.7107549",
"0.7042312",
"0.7042312",
"0.7042312",
"0.7042312",
"0.7042312",
"0.7018155",
"0.7018155",
"0.7018155",
"0.7018155",
"0.7018155",
"0.7018155",
"0.7018155",
"0.7018155",
"0.7018155",
"0.7018155",
"0.6991876",
"0.69661677",
... | 0.0 | -1 |
Gets the uri of this ConnectionEntity. The URI for futures requests to the component. | def j8eK(YKHO):
return YKHO._uri | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zFcP(YKHO):\n return YKHO.__uri",
"def j8eK(YKHO) -> str:\n return YKHO._uri",
"def j8eK(YKHO) -> h8nf[str]:\n return YKHO._uri",
"def zFcP(YKHO):\n return YKHO.url",
"def zFcP(YKHO):\n if YKHO._uri is None:\n YKHO._uri = '{0}{1}/{2}'.format(YKHO.session.resource_prefix, YKHO.base... | [
"0.75690025",
"0.7543656",
"0.74184173",
"0.7418154",
"0.72794",
"0.72481126",
"0.7097343",
"0.70451915",
"0.69960606",
"0.6872308",
"0.67772293",
"0.67532516",
"0.6723831",
"0.670618",
"0.6663469",
"0.6663469",
"0.6663469",
"0.6663469",
"0.6635163",
"0.6620791",
"0.6617668",... | 0.745435 | 7 |
Gets the position of this ConnectionEntity. The position of this component in the UI if applicable. | def dQgj(YKHO):
return YKHO._position | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Iuzb(YKHO):\n return YKHO._pos",
"def Iuzb(YKHO):\n return YKHO._pos",
"def Iuzb(YKHO):\n return YKHO._position",
"def Iuzb(YKHO):\n return YKHO.__position",
"def dQgj(YKHO):\n return YKHO._position",
"def Iuzb(YKHO):\n return YKHO.position",
"def Iuzb(YKHO):\n return YKHO.posi... | [
"0.78138846",
"0.78138846",
"0.7771905",
"0.77630633",
"0.77557766",
"0.77446073",
"0.77446073",
"0.7694758",
"0.7694758",
"0.7694758",
"0.76946944",
"0.7667966",
"0.7648146",
"0.7643449",
"0.7635414",
"0.7606924",
"0.7603855",
"0.7593797",
"0.7541962",
"0.7540668",
"0.752632... | 0.7730974 | 18 |
Sets the bulletins of this ConnectionEntity. The bulletins for this component. | def qFBa(YKHO, qFBa):
YKHO._bulletins = qFBa | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qFBa(YKHO):\n return YKHO._bulletins",
"def WFC2(YKHO, YBnT: str=None):\n IGzi = YKHO._bullet\n r5hM = YKHO._indent\n if YKHO._bullet:\n YKHO._indent = YKHO._indent + ' '\n YKHO._bullet = YKHO._normalize_bullet(YBnT or True)\n YKHO._update()\n try:\n yield YKHO\n finall... | [
"0.5911408",
"0.509516",
"0.50478417",
"0.4898042",
"0.48924485",
"0.48892403",
"0.48443344",
"0.47340822",
"0.47022027",
"0.47005236",
"0.46867833",
"0.466879",
"0.466879",
"0.466879",
"0.46510515",
"0.46423334",
"0.46343943",
"0.46308878",
"0.45837072",
"0.45698646",
"0.455... | 0.76680356 | 0 |
Gets the component of this ConnectionEntity. | def UksD(YKHO):
return YKHO._component | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NMoC(YKHO, LEXu):\n return LEXu.get_component(YKHO.component_type)",
"def bAnZ(YKHO):\n return YKHO.flowComponent",
"def LEXu(YKHO):\n return YKHO._entity",
"def LEXu(YKHO):\n return YKHO._entity",
"def K0Tb(YKHO):\n return YKHO.__entity",
"def UzPC(YKHO):\n return YKHO.get_connecti... | [
"0.72167253",
"0.69788116",
"0.6706838",
"0.6706838",
"0.65318334",
"0.6335237",
"0.63278586",
"0.63278586",
"0.63278586",
"0.6324666",
"0.6318077",
"0.6318077",
"0.6286724",
"0.6286724",
"0.6277704",
"0.6224943",
"0.60911745",
"0.6036216",
"0.60313195",
"0.6008424",
"0.59891... | 0.7446691 | 1 |
Sets the component of this ConnectionEntity. | def UksD(YKHO, UksD):
YKHO._component = UksD | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LEXu(YKHO, LEXu):\n YKHO._entity = LEXu",
"def Cz2L(YKHO, nAi0):\n YKHO.part = nAi0",
"def set(YKHO, Ty9i):\n YKHO.components = Ty9i.components",
"def hdXp(YKHO, QTBn):\n for G1Hx, Ty9i in QTBn.items():\n if G1Hx == 'connectors':\n for tq4Y in Ty9i:\n YKHO.add... | [
"0.60139614",
"0.59022343",
"0.55617356",
"0.5526616",
"0.54959995",
"0.5492914",
"0.54923886",
"0.5484386",
"0.5333353",
"0.5317362",
"0.5224067",
"0.52110183",
"0.520458",
"0.51485145",
"0.5122646",
"0.5116498",
"0.5087239",
"0.50771314",
"0.5051661",
"0.5018732",
"0.501873... | 0.6293469 | 1 |
Gets the status of this ConnectionEntity. The status of the connection. | def jGRS(YKHO):
return YKHO._status | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VLTN(YKHO):\n return YKHO._conn_state",
"def uRKJ(YKHO):\n return YKHO._connection_status",
"def jGRS(YKHO) -> 'outputs.ConnectionStatusResponse':\n return qe4Y.get(YKHO, 'status')",
"def jGRS(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'ConnectionStatus']]]:\n return qe4Y.get(YKHO, 'status')",
"def... | [
"0.8143861",
"0.8123574",
"0.8044342",
"0.774128",
"0.7340334",
"0.72911435",
"0.7280066",
"0.7220779",
"0.7212225",
"0.718606",
"0.718606",
"0.718606",
"0.7138426",
"0.71283495",
"0.7108237",
"0.7108237",
"0.7108237",
"0.7068817",
"0.70596915",
"0.7055933",
"0.7028312",
"0... | 0.70587337 | 40 |
Sets the status of this ConnectionEntity. The status of the connection. | def jGRS(YKHO, jGRS):
YKHO._status = jGRS | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zjI0(YKHO, uRKJ: Literal[ConnectionState]) -> None:\n YKHO.connection_status = uRKJ\n YKHO.publish(YKHO.key_gen('connection_status'), uRKJ)",
"def LNFR(YKHO, QTBn, U34r):\n YKHO.connection_state = QTBn\n YKHO.connection_info = U34r",
"def Ruq8(YKHO, uRKJ: Literal[ConnectionState]) -> None:\n ... | [
"0.7709721",
"0.76234174",
"0.72343576",
"0.7170294",
"0.71666926",
"0.71666926",
"0.71666926",
"0.7129979",
"0.71172094",
"0.7113621",
"0.69492435",
"0.6886419",
"0.6886419",
"0.6886419",
"0.6886419",
"0.6886419",
"0.6886419",
"0.6886419",
"0.67220205",
"0.671643",
"0.668753... | 0.68860316 | 36 |
Gets the bends of this ConnectionEntity. The bend points on the connection. | def n5ns(YKHO):
return YKHO._bends | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _Oly(YKHO):\n return YKHO._graph.get_all_links()",
"def n5ns(YKHO, n5ns):\n YKHO._bends = n5ns",
"def n5ns(YKHO, n5ns):\n YKHO._bends = n5ns",
"def xyQh(YKHO):\n ksBp, sbXL = YKHO.get_end_vertices()\n return (GkAb(ksBp), GkAb(sbXL))",
"def Tsx6(YKHO):\n N8fB = YKHO.__dict__\n Aofo ... | [
"0.63124466",
"0.62311864",
"0.62311864",
"0.61342794",
"0.60427386",
"0.5861787",
"0.5813159",
"0.57418406",
"0.5741445",
"0.56982213",
"0.5664366",
"0.56096756",
"0.5543615",
"0.5543615",
"0.55430555",
"0.5516967",
"0.55082905",
"0.5476985",
"0.5476985",
"0.5476985",
"0.547... | 0.8231701 | 1 |
Gets the label_index of this ConnectionEntity. The index of the bend point where to place the connection label. | def mbWt(YKHO):
return YKHO._label_index | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NvPe(YKHO, UXqs):\n for or8S, YR_y in enumerate(YKHO):\n if YR_y.label == UXqs:\n return or8S\n return -1",
"def mym7(YKHO):\n return YKHO._labelpos",
"def HbBo(YKHO) -> int:\n pass",
"def Vn7Z(YKHO, UXqs):\n if UXqs in YKHO.labels:\n return YKHO.labels.index(UXqs)... | [
"0.6874631",
"0.6870494",
"0.6746189",
"0.66549516",
"0.6577527",
"0.6544367",
"0.6421175",
"0.63479936",
"0.629492",
"0.62752604",
"0.6258572",
"0.6235088",
"0.6217171",
"0.6176996",
"0.6176996",
"0.6176996",
"0.6176996",
"0.6176996",
"0.6176996",
"0.6176996",
"0.6176996",
... | 0.81278616 | 1 |
Gets the source_id of this ConnectionEntity. The identifier of the source of this connection. | def UBGL(YKHO):
return YKHO._source_id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UBGL(YKHO) -> str:\n return YKHO._source_id",
"def UBGL(YKHO) -> str:\n return YKHO._source_id",
"def UBGL(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'source_id')",
"def _zUn(YKHO) -> str:\n return qe4Y.get(YKHO, 'source_identifier')",
"def _zUn(YKHO) -> str:\n return qe4Y.get(YKHO, 'so... | [
"0.79534465",
"0.79534465",
"0.75024366",
"0.74554944",
"0.74554944",
"0.7111263",
"0.7019126",
"0.669585",
"0.669585",
"0.6654277",
"0.6654277",
"0.65622085",
"0.65622085",
"0.6561476",
"0.6513304",
"0.6506018",
"0.6506018",
"0.6501214",
"0.6468592",
"0.64256066",
"0.6399237... | 0.8201575 | 0 |
Sets the source_id of this ConnectionEntity. The identifier of the source of this connection. | def UBGL(YKHO, UBGL):
YKHO._source_id = UBGL | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UBGL(YKHO, UBGL: str):\n YKHO._source_id = UBGL",
"def UBGL(YKHO, UBGL):\n if UBGL is None:\n raise ValueError('Invalid value for `source_id`, must not be `None`')\n YKHO._source_id = UBGL",
"def UBGL(YKHO, UBGL: str):\n if UBGL is None:\n raise ValueError('Invalid value for `sour... | [
"0.82589805",
"0.7962771",
"0.79105514",
"0.7172527",
"0.70835793",
"0.70327055",
"0.6709468",
"0.65106606",
"0.6470963",
"0.6470963",
"0.6404354",
"0.63333565",
"0.62886494",
"0.6148271",
"0.6109233",
"0.6093463",
"0.6048556",
"0.60441846",
"0.6035319",
"0.6031721",
"0.60317... | 0.8244456 | 2 |
Gets the source_group_id of this ConnectionEntity. The identifier of the group of the source of this connection. | def b821(YKHO):
return YKHO._source_group_id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yvPJ(YKHO):\n return YKHO._get_attribute('groupId')",
"def hE03(YKHO):\n return YKHO._group_id",
"def hE03(YKHO):\n return YKHO._group_id",
"def hE03(YKHO):\n return YKHO._group_id",
"def xPBX(YKHO, bJDP: str):\n U5bT = YKHO.jsonRequest('/api/v1/sourceGroup/getSourceGroupInfo', {'uri': b... | [
"0.7061652",
"0.69663566",
"0.69663566",
"0.69663566",
"0.6947813",
"0.68399",
"0.68188775",
"0.66658133",
"0.6590242",
"0.6590242",
"0.6563346",
"0.65620047",
"0.65382844",
"0.6450658",
"0.6365132",
"0.63592273",
"0.6305528",
"0.6264024",
"0.61826307",
"0.61826307",
"0.61826... | 0.8702898 | 0 |
Sets the source_group_id of this ConnectionEntity. The identifier of the group of the source of this connection. | def b821(YKHO, b821):
YKHO._source_group_id = b821 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def b821(YKHO):\n return YKHO._source_group_id",
"def hE03(YKHO, hE03):\n YKHO._group_id = hE03",
"def hE03(YKHO, hE03):\n YKHO._group_id = hE03",
"def hE03(YKHO, hE03):\n YKHO._group_id = hE03",
"def hE03(YKHO, hE03):\n YKHO._group_id = hE03",
"def hE03(YKHO, hE03):\n YKHO._group_id = ... | [
"0.7462498",
"0.69643205",
"0.69643205",
"0.69643205",
"0.69643205",
"0.69643205",
"0.69643205",
"0.67976165",
"0.66073805",
"0.6589923",
"0.65426904",
"0.6497195",
"0.6462199",
"0.6342586",
"0.6186086",
"0.61343706",
"0.6131915",
"0.6112468",
"0.6063832",
"0.6063832",
"0.605... | 0.8659341 | 0 |
Gets the source_type of this ConnectionEntity. The type of component the source connectable is. | def zEt5(YKHO):
return YKHO._source_type | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zEt5(YKHO):\n return YKHO._source_type",
"def zEt5(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'source_type')",
"def KFfL(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'source_entity_type')",
"def Ll5t(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'source_entity_type_name')",
"def... | [
"0.7938959",
"0.73658603",
"0.7342359",
"0.6736658",
"0.6673928",
"0.6611221",
"0.63532066",
"0.6316995",
"0.6316995",
"0.6316995",
"0.62514484",
"0.62293565",
"0.62293565",
"0.62127125",
"0.62078434",
"0.62078434",
"0.6072031",
"0.6041372",
"0.59212494",
"0.59212494",
"0.590... | 0.78574264 | 1 |
Sets the source_type of this ConnectionEntity. The type of component the source connectable is. | def zEt5(YKHO, zEt5):
if zEt5 is None:
raise ValueError('Invalid value for `source_type`, must not be `None`')
BbPm = ['PROCESSOR', 'REMOTE_INPUT_PORT', 'REMOTE_OUTPUT_PORT', 'INPUT_PORT', 'OUTPUT_PORT', 'FUNNEL']
if zEt5 not in BbPm:
raise ValueError('Invalid value for `source_type` ({0}), ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zEt5(YKHO, zEt5):\n YKHO._source_type = zEt5",
"def zEt5(YKHO):\n return YKHO._source_type",
"def zEt5(YKHO):\n return YKHO._source_type",
"def zEt5(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'source_type')",
"def YcVY(YKHO, JZXy):\n YKHO._source = JZXy",
"def xUuB(YKHO, JZXy):\n Y... | [
"0.7779256",
"0.65040517",
"0.64406013",
"0.6129758",
"0.6086056",
"0.60019135",
"0.58284324",
"0.5788574",
"0.5788574",
"0.5788574",
"0.5788574",
"0.5788574",
"0.5788574",
"0.5788574",
"0.5771346",
"0.5756744",
"0.56954044",
"0.56689554",
"0.562897",
"0.5602552",
"0.55607384... | 0.72724557 | 1 |
Gets the destination_id of this ConnectionEntity. The identifier of the destination of this connection. | def xeMR(YKHO):
return YKHO._destination_id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xeMR(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'destination_id')",
"def xeMR(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'destination_id')",
"def xeMR(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'destination_id')",
"def vYrH(YKHO):\n return YKHO._destination_group_i... | [
"0.73724747",
"0.70405096",
"0.7025915",
"0.68753964",
"0.6863252",
"0.68272024",
"0.67722225",
"0.6643893",
"0.6625509",
"0.6500945",
"0.6491211",
"0.64808816",
"0.64808816",
"0.63459647",
"0.62732315",
"0.6194437",
"0.61825633",
"0.61825633",
"0.61706",
"0.61545366",
"0.612... | 0.8142794 | 0 |
Sets the destination_id of this ConnectionEntity. The identifier of the destination of this connection. | def xeMR(YKHO, xeMR):
YKHO._destination_id = xeMR | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vYrH(YKHO, vYrH):\n YKHO._destination_group_id = vYrH",
"def lpX5(YKHO, xeMR):\n YKHO.data_dest = xeMR",
"def xeMR(YKHO):\n return YKHO._destination_id",
"def yFgu(YKHO, yFgu):\n YKHO._destination = yFgu",
"def uMIi(YKHO, uMIi):\n YKHO._destination_config = uMIi",
"def vYrH(YKHO):\n ... | [
"0.7255521",
"0.6831678",
"0.65599686",
"0.64696884",
"0.5820055",
"0.5791351",
"0.5749847",
"0.5668163",
"0.55656487",
"0.5553452",
"0.5535442",
"0.5535442",
"0.55322886",
"0.5454913",
"0.5454481",
"0.544346",
"0.5428916",
"0.54157573",
"0.5413531",
"0.5367064",
"0.5347545",... | 0.81627005 | 0 |
Gets the destination_group_id of this ConnectionEntity. The identifier of the group of the destination of this connection. | def vYrH(YKHO):
return YKHO._destination_group_id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hE03(YKHO):\n return YKHO._group_id",
"def hE03(YKHO):\n return YKHO._group_id",
"def hE03(YKHO):\n return YKHO._group_id",
"def yvPJ(YKHO):\n return YKHO._get_attribute('groupId')",
"def hE03(YKHO):\n return YKHO._id",
"def hE03(YKHO) -> int:\n return YKHO._group_id",
"def b821(Y... | [
"0.7188537",
"0.7188537",
"0.7188537",
"0.7087557",
"0.7035677",
"0.69587046",
"0.68851644",
"0.68221444",
"0.67290175",
"0.6687171",
"0.66288763",
"0.66288763",
"0.6606044",
"0.64862907",
"0.63396585",
"0.62658364",
"0.6258657",
"0.6257344",
"0.62522835",
"0.62522835",
"0.62... | 0.84760845 | 0 |
Sets the destination_group_id of this ConnectionEntity. The identifier of the group of the destination of this connection. | def vYrH(YKHO, vYrH):
YKHO._destination_group_id = vYrH | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vYrH(YKHO):\n return YKHO._destination_group_id",
"def hE03(YKHO, hE03):\n YKHO._group_id = hE03",
"def hE03(YKHO, hE03):\n YKHO._group_id = hE03",
"def hE03(YKHO, hE03):\n YKHO._group_id = hE03",
"def hE03(YKHO, hE03):\n YKHO._group_id = hE03",
"def hE03(YKHO, hE03):\n YKHO._group_... | [
"0.73063064",
"0.71547747",
"0.71547747",
"0.71547747",
"0.71547747",
"0.71547747",
"0.71547747",
"0.6931304",
"0.67282915",
"0.6703023",
"0.6521641",
"0.6440875",
"0.6425941",
"0.6409766",
"0.63181645",
"0.6312952",
"0.62682146",
"0.62682146",
"0.62682146",
"0.62443507",
"0.... | 0.8446568 | 0 |
Gets the destination_type of this ConnectionEntity. The type of component the destination connectable is. | def bEat(YKHO):
return YKHO._destination_type | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VHFs(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_destination_type')",
"def VHFs(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_destination_type')",
"def AfJR(YKHO):\n return YKHO._destination",
"def rory(YKHO):\n return YKHO.__destination",
"def Xixj(YKHO):\n return YKHO._connection_type",
... | [
"0.6976873",
"0.6976873",
"0.59148884",
"0.5886335",
"0.5874328",
"0.5874328",
"0.587065",
"0.58528703",
"0.5832248",
"0.582125",
"0.58189446",
"0.5793217",
"0.5793217",
"0.5793217",
"0.57808685",
"0.57801783",
"0.57650167",
"0.575283",
"0.575283",
"0.57439625",
"0.57342714",... | 0.80253065 | 0 |
Sets the destination_type of this ConnectionEntity. The type of component the destination connectable is. | def bEat(YKHO, bEat):
if bEat is None:
raise ValueError('Invalid value for `destination_type`, must not be `None`')
BbPm = ['PROCESSOR', 'REMOTE_INPUT_PORT', 'REMOTE_OUTPUT_PORT', 'INPUT_PORT', 'OUTPUT_PORT', 'FUNNEL']
if bEat not in BbPm:
raise ValueError('Invalid value for `destination_typ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bEat(YKHO):\n return YKHO._destination_type",
"def VHFs(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_destination_type')",
"def VHFs(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_destination_type')",
"def yFgu(YKHO, yFgu):\n YKHO._destination = yFgu",
"def zEt5(YKHO, zEt5):\n YKHO._source_ty... | [
"0.6683109",
"0.58475363",
"0.58475363",
"0.56402993",
"0.55343646",
"0.5455566",
"0.5440205",
"0.54209304",
"0.5409285",
"0.5401016",
"0.53972906",
"0.5385517",
"0.5385517",
"0.5361596",
"0.5262504",
"0.5229339",
"0.5229339",
"0.5229339",
"0.5229339",
"0.5229339",
"0.5229339... | 0.7552773 | 0 |
Returns true if both objects are equal | def xa14(YKHO, Elif):
if not isinstance(Elif, Nvgd):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False",
"def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c... | [
"0.8088132",
"0.8088132",
"0.8054589",
"0.7982687",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
... | 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 if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)",
... | [
"0.845611",
"0.8391477",
"0.8144138",
"0.81410587",
"0.8132492",
"0.8093973",
"0.80920255",
"0.80920255",
"0.80920255",
"0.8085325",
"0.8085325",
"0.8076365",
"0.8076365",
"0.8065748"
] | 0.0 | -1 |
Returns a copy of data associated with the tensor as a new tensor. Parameters of tensors like is_leaf and grad_fn can be associated with this copy by using appropriate kwargs. | def jth9(YKHO, **B2fa):
return llWB(YKHO.data, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jth9(vhpA):\n raise NotImplementedError",
"def i3ak(YKHO, **B2fa):\n zZYk = RAVs(YKHO.as_tensor().clone(**B2fa))\n zZYk.__dict__ = _qLf(YKHO.__dict__)\n return zZYk",
"def i3ak(vhpA):\n YFsy = vhpA.clone()\n return YFsy",
"def FzJk(YKHO):\n Aofo = o7DN()\n Aofo.data = jth9.copy(YK... | [
"0.64967173",
"0.61112225",
"0.61032385",
"0.5644007",
"0.558004",
"0.54957473",
"0.5466157",
"0.54527473",
"0.5437702",
"0.540821",
"0.5404899",
"0.53963536",
"0.53544754",
"0.5305396",
"0.5301252",
"0.5289433",
"0.5281714",
"0.5216594",
"0.5204738",
"0.5202554",
"0.5181555"... | 0.7277451 | 0 |
Returns the data stored in Tensor as np.array | def XTiz(YKHO):
return YKHO.data | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WTDd(vhpA):\n raise NotImplementedError",
"def XTiz(YKHO) -> oyIN.ndarray:\n return YKHO.tensor.numpy()",
"def uzII(YKHO):\n return oyIN.asarray(YKHO.data)",
"def bJO5(vhpA):\n return vhpA.detach().cpu().numpy()",
"def endw(WKvO):\n return WKvO.cpu().numpy()",
"def XTiz(YKHO):\n BWX... | [
"0.76318735",
"0.753671",
"0.7351686",
"0.73090476",
"0.7278214",
"0.7198547",
"0.712652",
"0.7123424",
"0.7071936",
"0.7049647",
"0.70295876",
"0.6942614",
"0.690744",
"0.6871691",
"0.68522066",
"0.68216634",
"0.6799086",
"0.6799086",
"0.67435515",
"0.67435026",
"0.67368484"... | 0.69967204 | 11 |
Similar to np.ones(...) PARAMETERS ========== | def pSfY(ROpF, **B2fa):
return llWB(oyIN.ones(ROpF), **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PMWp(WKvO):\n if WKvO.get_shape().is_fully_defined():\n return _WqI.ones(WKvO.get_shape().as_list(), dtype=WKvO.dtype)\n return _WqI.ones_like(WKvO)",
"def pSfY():\n return DKJk(1, 1)",
"def pSfY(ROpF, yDqo=None, T4Wy='C'):\n pass",
"def pSfY(ROpF, yDqo=None):\n return vBWh(ROpF, 1,... | [
"0.79376924",
"0.76244175",
"0.7534923",
"0.7515089",
"0.7509567",
"0.7484279",
"0.7465238",
"0.74008864",
"0.737239",
"0.7337417",
"0.7251567",
"0.72356063",
"0.7226361",
"0.7174657",
"0.707946",
"0.70416594",
"0.70287144",
"0.7008076",
"0.6935272",
"0.6935272",
"0.6934268",... | 0.7357806 | 9 |
Similar to np.zeros(...) PARAMETERS ========== | def VNqG(*ROpF, **B2fa):
return llWB(oyIN.zeros(ROpF), **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yw0A(tpio):\n yzQ0 = oyIN.zeros(shape=(tpio, 1))\n Fg_i = 0\n assert yzQ0.shape == (tpio, 1)\n assert isinstance(Fg_i, float) or isinstance(Fg_i, int)\n return (yzQ0, Fg_i)",
"def VNqG(tpio):\n return oyIN.zeros(tpio, dtype='uint8')",
"def sbx9(YKHO):\n return oyIN.zeros([YKHO.nx])",
... | [
"0.77863073",
"0.77077615",
"0.76660645",
"0.7649786",
"0.75945294",
"0.75525427",
"0.753063",
"0.7513476",
"0.74441516",
"0.7442204",
"0.7439459",
"0.7431264",
"0.7418526",
"0.7334528",
"0.7303313",
"0.729762",
"0.72766393",
"0.7273656",
"0.7211108",
"0.7200719",
"0.7173897"... | 0.70277166 | 32 |
Similar to np.random.randn(...) Generates a Tensor filled with ones. PARAMETERS ========== | def URok(*ROpF, **B2fa):
return llWB(oyIN.random.randn(*ROpF), **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pSfY(ROpF, **B2fa):\n return llWB(oyIN.ones(ROpF), **B2fa)",
"def URok(*qIxc):\n Htse = list(qIxc)\n assert type(Htse[0]) == int\n return cHg7(HCmI, 'randn', params=Htse, return_type='FloatTensor')",
"def pSfY(ROpF, yDqo=oyIN.float32, si3H=False):\n return llWB(oyIN.ones(ROpF, yDqo), constan... | [
"0.7148251",
"0.6908371",
"0.6900145",
"0.68355936",
"0.67769295",
"0.668367",
"0.6565178",
"0.6526853",
"0.6516446",
"0.6514527",
"0.6489827",
"0.6467619",
"0.6434814",
"0.64236474",
"0.6401731",
"0.6378189",
"0.6336382",
"0.6328824",
"0.6324748",
"0.63184464",
"0.627129",
... | 0.7329159 | 0 |
Similar to np.empty(...) Generates a Tensor with uninitialized data. PARAMETERS ========== | def lsmZ(*ROpF, **B2fa):
return llWB(oyIN.empty(ROpF), **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lsmZ(ROpF, yDqo=oyIN.float32, si3H=False):\n return llWB(oyIN.empty(ROpF, yDqo), constant=si3H)",
"def VNqG(*ROpF, **B2fa):\n return llWB(oyIN.zeros(ROpF), **B2fa)",
"def E52o(Elif, yDqo=None, si3H=False):\n if isinstance(Elif, llWB):\n Elif = Elif.data\n return llWB(oyIN.empty_like(Elif... | [
"0.80262846",
"0.75247264",
"0.72961193",
"0.7208099",
"0.70663923",
"0.7048083",
"0.7048083",
"0.7002598",
"0.69856155",
"0.69673944",
"0.6889226",
"0.6869159",
"0.68469876",
"0.6826852",
"0.6815466",
"0.6774665",
"0.6716065",
"0.66886276",
"0.6611717",
"0.65701115",
"0.6551... | 0.8372835 | 0 |
This method is called to initiate the backward pass on the computation graph. This method initiates MLlib.autograd.backward() method which accumulates the gradient(s) to the Leaf Tensors (`is_leaf=True`) with `requires_grad=True` with respect to the root of the computation graph. PARAMETERS ========== | def ZD5u(YKHO, nqh5=None):
if nqh5 is None:
nqh5 = llWB.ones(YKHO.shape)
if nqh5.shape != YKHO.shape:
raise Exception('The shape of gradient and variable must match')
if YKHO.grad_fn is None:
raise Exception('backward should not be called on tensors ' + 'without grad_fn')
return ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZD5u(YKHO):\n if YKHO.gradient is None:\n YKHO.gradient = oyIN.eye(YKHO.output_dim)\n YKHO.times_visited += 1\n if YKHO.childrens == []:\n return YKHO.gradient\n else:\n YKHO.backward()\n elif YKHO.childrens != []:\n for aUGN in YKHO.childrens:\n ... | [
"0.775168",
"0.7395385",
"0.70558363",
"0.6983561",
"0.6874481",
"0.6822189",
"0.6822189",
"0.6636194",
"0.6620846",
"0.65166324",
"0.6509441",
"0.64982",
"0.64806813",
"0.6477585",
"0.64667493",
"0.6451588",
"0.64295983",
"0.6424239",
"0.6424239",
"0.6423392",
"0.63993573",
... | 0.6249039 | 35 |
Reshapes a tensor to desired shape. | def q3V_(YKHO, *ROpF):
return vuvg.Reshape.apply(YKHO, ROpF) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def q3V_(vhpA):\n rdlD = ZylS.shape(vhpA)[0]\n ihqc = [rdlD, -1]\n yvT9 = ZylS.reshape(vhpA, ihqc)\n return yvT9",
"def q3V_(vhpA, etdq):\n raise NotImplementedError",
"def a7vV(vhpA):\n rdlD = ZylS.shape(vhpA)[0]\n bdTt = vhpA.get_shape().as_list()\n ihqc = [rdlD, bdTt[1], bdTt[2], 1]\... | [
"0.8068795",
"0.7766165",
"0.7438796",
"0.7339447",
"0.7300898",
"0.7190789",
"0.7093374",
"0.7093026",
"0.7081818",
"0.7079914",
"0.70787036",
"0.70407987",
"0.70286363",
"0.6952848",
"0.6895471",
"0.68783164",
"0.68380576",
"0.67788875",
"0.6732922",
"0.6716008",
"0.6666649... | 0.66420114 | 22 |
Vector dot product. PARAMETERS ========== | def BJ1H(YKHO, Elif):
return vuvg.Dot.apply(YKHO, Elif) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QLUs(hQHm, jlSq):\n return hQHm.x * jlSq.x + hQHm.y * jlSq.y + hQHm.z * jlSq.z",
"def yYJc(hQHm, jlSq):\n return oyIN.dot(hQHm, jlSq)",
"def yYJc(WKvO, LVAh):\n return sum((jzdc * Fg_i for jzdc, Fg_i in zip(WKvO, LVAh)))",
"def BJ1H(ENWa, ZoT5):\n return sum((XOOk * pHXX for XOOk, pHXX in zip... | [
"0.84030294",
"0.8378673",
"0.81122494",
"0.80740005",
"0.80505097",
"0.8043258",
"0.8036128",
"0.8033409",
"0.80047405",
"0.7996097",
"0.79570735",
"0.792644",
"0.79141647",
"0.79105175",
"0.7906579",
"0.7905929",
"0.78892213",
"0.7880943",
"0.7875338",
"0.7871007",
"0.78622... | 0.0 | -1 |
Computes the sum of elements of the Tensor. PARAMETERS ========== | def sum(YKHO, jDK_=None, JsoO=False):
return vuvg.Sum.apply(YKHO, jDK_, JsoO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sum(vhpA, jDK_=None):\n raise NotImplementedError",
"def aTJI(a1PO: Tensor) -> llWB:\n nPrm = a1PO.data.sum()\n _6Ge = a1PO.requires_grad\n if _6Ge:\n\n def sl_F(Ro40: np.ndarray) -> oyIN.ndarray:\n \"\"\"\n grad is necessarily a 0-tenosr, so each input element contri... | [
"0.7370117",
"0.7241158",
"0.7000835",
"0.6856461",
"0.68053496",
"0.6781917",
"0.6728531",
"0.66968125",
"0.66364837",
"0.66331005",
"0.6575769",
"0.6520266",
"0.651694",
"0.65041417",
"0.644977",
"0.6407349",
"0.64045674",
"0.6404034",
"0.63779426",
"0.63706374",
"0.6341879... | 0.68595433 | 3 |
This function prints and plots the confusion matrix. Normalization can be applied by setting `normalize=True`. | def LwSz(Bcwd, KndY, NkkI=False, leAC='Confusion matrix', iMGt=QrM1.cm.Blues):
if NkkI:
Bcwd = Bcwd.astype('float') / Bcwd.sum(axis=1)[:, oyIN.newaxis]
print('Normalized confusion matrix')
else:
print('Confusion matrix, without normalization')
print(Bcwd)
QrM1.imshow(Bcwd, interp... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LwSz(Bcwd, KndY=[0, 1], NkkI=False, leAC='Confusion matrix', RMso=False):\n if NkkI:\n Bcwd = Bcwd.astype('float') / Bcwd.sum(axis=1)[:, oyIN.newaxis]\n print('Normalized confusion matrix')\n else:\n print('Confusion matrix, without normalization')\n if RMso:\n print(Bcwd)"... | [
"0.8194586",
"0.8095255",
"0.802963",
"0.80189276",
"0.7994091",
"0.79910594",
"0.798075",
"0.79766196",
"0.79603124",
"0.7957427",
"0.7937533",
"0.7934523",
"0.79342",
"0.7931087",
"0.7926079",
"0.7924241",
"0.79235566",
"0.79232305",
"0.7922709",
"0.7921817",
"0.79173964",
... | 0.7857115 | 41 |
Insert new merchant record into db | def u9C1(Il2k: Merchant) -> VX6X:
Ylbp = zVa7.create_merchant(merchant=Il2k)
wyyA.delete_merchants()
return Ylbp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JPHp(YKHO):\n YKHO.getDbRecord().insert()\n return",
"def T4uu(YKHO) -> None:\n xDcj = 'INSERT INTO ESLReceipts(Transaction_Number, Date, Description, Memo,\\n Amount_Debit, Amount_Credit, Balance, Check_Number, \\n ... | [
"0.6827268",
"0.6675301",
"0.63370365",
"0.6206963",
"0.6206266",
"0.61872905",
"0.6176613",
"0.61613727",
"0.6068575",
"0.60498375",
"0.6042949",
"0.6042949",
"0.6042949",
"0.6033795",
"0.59973824",
"0.5991992",
"0.5990832",
"0.59841996",
"0.5959846",
"0.59516543",
"0.590249... | 0.62004185 | 5 |
Removes all illegal chars from a filename | def QjXG(Ux0P: str) -> str:
if V1Lg['download']['ascii']:
return ''.join((YRbF for YRbF in Ux0P if YRbF in IgE1))
else:
return ''.join((YRbF for YRbF in Ux0P if YRbF not in tcEL)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VGqT(Ux0P):\n r3_g = [' ', ',', '+', '$', '_', '{', '}', '/', '&']\n FYKK = Ux0P\n for P9SZ in r3_g:\n FYKK = FYKK.replace(P9SZ, '')\n return FYKK",
"def mq9H(Ux0P):\n pj21 = {ord('?'): None, ord('*'): None, ord('/'): None, ord('\\\\'): None, ord(':'): None, ord('\"'): \"''\", ord('<'):... | [
"0.8803714",
"0.8626375",
"0.8530992",
"0.84478223",
"0.84211713",
"0.8198018",
"0.8056484",
"0.79976046",
"0.7953138",
"0.7914864",
"0.79125893",
"0.7872948",
"0.7821496",
"0.77908486",
"0.7767263",
"0.7648618",
"0.76443875",
"0.7627765",
"0.76167405",
"0.7607124",
"0.76048"... | 0.8354843 | 5 |
Gets the id of this ModelApiSerializer. | def id(YKHO):
return YKHO._id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def id(YKHO):\n return YKHO.raw_resource['id']",
"def mLJR(YKHO):\n return YKHO.__id",
"def unpH(YKHO):\n return YKHO.get_api_endpoint()",
"def mLJR(YKHO):\n return _VfD.Model_getId(YKHO)",
"def unpH(YKHO):\n return YKHO._id",
"def unpH(YKHO):\n return YKHO._id",
"def unpH(YKHO):\n ... | [
"0.7318348",
"0.7249195",
"0.7191896",
"0.71849716",
"0.71724355",
"0.71724355",
"0.71724355",
"0.71724355",
"0.71724355",
"0.71724355",
"0.7134885",
"0.7134885",
"0.7134885",
"0.7134885",
"0.7134885",
"0.7134885",
"0.7134885",
"0.7134885",
"0.7134885",
"0.7134885",
"0.713488... | 0.0 | -1 |
Sets the id of this ModelApiSerializer. | def id(YKHO, id):
YKHO._id = id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def V_9M(YKHO, id):\n YKHO.data['id'] = id",
"def psjw(YKHO, id):\n YKHO.id = int(id)",
"def V_9M(YKHO, id):\n YKHO.__id = id",
"def V_9M(YKHO, hbFX):\n YKHO.id_ = hbFX",
"def id(YKHO, id: int):\n YKHO._id = id",
"def id(YKHO, id: int):\n YKHO._id = id",
"def id(YKHO, id: int):\n Y... | [
"0.7395003",
"0.73622143",
"0.7357014",
"0.7245669",
"0.71858615",
"0.71858615",
"0.71858615",
"0.71858615",
"0.71858615",
"0.71858615",
"0.71858615",
"0.71858615",
"0.71858615",
"0.71858615",
"0.71611583",
"0.71611583",
"0.71611583",
"0.71611583",
"0.71611583",
"0.71311414",
... | 0.0 | -1 |
Gets the state of this ModelApiSerializer. | def QTBn(YKHO):
return YKHO._state | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ja6o(YKHO) -> h8nf[KcDH]:\n return YKHO.state",
"def ja6o(YKHO):\n return YKHO._state",
"def ja6o(YKHO):\n return YKHO._state",
"def ja6o(YKHO):\n return YKHO._state",
"def ja6o(YKHO):\n return YKHO._state",
"def ja6o(YKHO):\n return YKHO._state",
"def GBfH(YKHO):\n return YKHO... | [
"0.70922405",
"0.6980978",
"0.6980978",
"0.6980978",
"0.6980978",
"0.6980978",
"0.6955853",
"0.6955853",
"0.6955853",
"0.6948439",
"0.6948439",
"0.693541",
"0.69234943",
"0.69234943",
"0.69215626",
"0.690269",
"0.68585587",
"0.68585587",
"0.68462646",
"0.68462646",
"0.678574"... | 0.683726 | 94 |
Sets the uptime of this ModelApiSerializer. | def DCor(YKHO, DCor):
YKHO._uptime = DCor | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WWw8(YKHO, DCor):\n YKHO.uptime = DCor\n return YKHO",
"def DCor(YKHO):\n if YKHO._uptime is None:\n vL7S = YKHO._raw_version_data()\n w3tN = vL7S['uptime']\n YKHO._uptime = YKHO._uptime_to_seconds(w3tN)\n return YKHO._uptime",
"def DCor(YKHO):\n return YKHO._uptime",
... | [
"0.6795731",
"0.6492891",
"0.6104494",
"0.61004454",
"0.60512024",
"0.5866512",
"0.56981117",
"0.5612036",
"0.53500265",
"0.53422195",
"0.5340962",
"0.5307119",
"0.5189844",
"0.5157014",
"0.50722545",
"0.50611883",
"0.5057098",
"0.5053646",
"0.50496125",
"0.50491875",
"0.5046... | 0.7749305 | 1 |
Gets the last_update of this ModelApiSerializer. | def cV9T(YKHO):
return YKHO._last_update | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def w3br(YKHO):\n return YKHO.last_updated",
"def mn17(YKHO):\n return YKHO._last_updated",
"def cV9T(YKHO):\n return YKHO._data.get('summary_fields', {}).get('last_update')",
"def mn17(YKHO) -> str:\n return YKHO._last_updated",
"def SDfl(YKHO):\n return YKHO.last_update_time",
"def tN7K(... | [
"0.77800673",
"0.7677418",
"0.7611233",
"0.7214801",
"0.7206372",
"0.72038126",
"0.71342474",
"0.70557255",
"0.70540106",
"0.70300376",
"0.70300376",
"0.7018536",
"0.6926437",
"0.6926437",
"0.6926437",
"0.686975",
"0.68608254",
"0.6832431",
"0.6818583",
"0.6788467",
"0.677409... | 0.7659715 | 3 |
Sets the last_update of this ModelApiSerializer. | def cV9T(YKHO, cV9T):
YKHO._last_update = cV9T | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mn17(YKHO, mn17):\n YKHO._last_updated = mn17",
"def mn17(YKHO, mn17):\n YKHO._last_updated = mn17",
"def mn17(YKHO, mn17):\n YKHO._last_updated = mn17",
"def mn17(YKHO, mn17):\n YKHO._last_updated = mn17",
"def mn17(YKHO, mn17: str):\n YKHO._last_updated = mn17",
"def mn17(YKHO, BWXx)... | [
"0.7098908",
"0.7098908",
"0.7098908",
"0.7098908",
"0.686705",
"0.6755401",
"0.6575713",
"0.6178347",
"0.61034966",
"0.61034966",
"0.61034966",
"0.61034966",
"0.61034966",
"0.61034966",
"0.61034966",
"0.61034966",
"0.61034966",
"0.61034966",
"0.61017644",
"0.6090527",
"0.607... | 0.7099938 | 0 |
Returns true if both objects are equal | def xa14(YKHO, Elif):
if not isinstance(Elif, kPlW):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False",
"def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c... | [
"0.8088132",
"0.8088132",
"0.8054589",
"0.7982687",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
... | 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 if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)",
... | [
"0.845611",
"0.8391477",
"0.8144138",
"0.81410587",
"0.8132492",
"0.8093973",
"0.80920255",
"0.80920255",
"0.80920255",
"0.8085325",
"0.8085325",
"0.8076365",
"0.8076365",
"0.8065748"
] | 0.0 | -1 |
Create a convolutional model and its layers | def vyJd(GhuM=(66, 200, 3)):
print('input shape', GhuM)
C3ST = ileL()
C3ST.add(Zlsf(lambda WKvO: WKvO / 128.0 - 1.0, output_shape=GhuM, input_shape=GhuM))
gumn(C3ST, 12, GhuM)
gumn(C3ST, 18)
gumn(C3ST, 24)
qkdo(C3ST, 30)
qkdo(C3ST, 30)
C3ST.add(D2Bo(input_shape=(13, 33, 30)))
C3S... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dRuS():\n C3ST = ileL()\n C3ST.add(fhcK.Conv2D(1, (2, 2), strides=(1, 1), activation='sigmoid', padding='same', input_shape=(256, 256, 3)))\n C3ST.compile(optimizer='adam', loss='mse', metrics=['accuracy'])\n C3ST.summary()\n return C3ST",
"def biJ_() -> ZylS.keras.Sequential:\n C3ST = ileL... | [
"0.7870049",
"0.7841626",
"0.75608236",
"0.74961275",
"0.7474013",
"0.7440766",
"0.7406714",
"0.7385",
"0.7266991",
"0.72428656",
"0.72415006",
"0.72054255",
"0.72009754",
"0.7162498",
"0.7155325",
"0.71028364",
"0.70712095",
"0.70465523",
"0.7045688",
"0.7044643",
"0.7042610... | 0.0 | -1 |
Returns a list of all revoked tokens | def txrB(YKHO):
raise AJ5d.NotImplemented() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Cafj():\n return list(tq_1().revoked().values())",
"def s2mk(YKHO):\n return YKHO.rpc.call(OMwV.AuthTokenList)['tokens']",
"def s2mk():\n return ['access token', 'refresh token']",
"def ffZv():\n return N5z6.create_endpoint_response(Wddb.ENDPOINT_NAME)",
"def AjWR(CBIr):\n return VSsi.se... | [
"0.6892561",
"0.6793914",
"0.6780324",
"0.62469655",
"0.62344676",
"0.60059965",
"0.5945242",
"0.5907534",
"0.58983266",
"0.58832586",
"0.581192",
"0.57853776",
"0.577999",
"0.57539296",
"0.5719534",
"0.5712603",
"0.5703026",
"0.5639734",
"0.5613311",
"0.560348",
"0.5577446",... | 0.8828374 | 0 |