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 |
|---|---|---|---|---|---|---|
Split a glob pattern at its directory seperators (/). Takes into account escaped cases like [/]. | def P8xC(mXDZ):
_0VL = [-1]
cHcI = False
for YRbF, Z9rn in enumerate(mXDZ):
if Z9rn == '/' and (not cHcI):
_0VL.append(YRbF)
elif Z9rn == '[':
cHcI = True
elif Z9rn == ']':
cHcI = False
_0VL.append(len(mXDZ))
return [mXDZ[YRbF + 1:r845] for... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eCKq(SXRB):\n return ZbWC.split('[\\\\\\\\/]', SXRB)",
"def IvPA(nr_p):\n SQ3m = []\n QyVM = 0\n while '*' in nr_p[QyVM:]:\n D1zF = nr_p.find('*', QyVM)\n SQ3m.append(nr_p[QyVM:D1zF])\n QyVM = D1zF + 1\n SQ3m.append(nr_p[QyVM:])\n return SQ3m",
"def SFqc(YKHO, pmON):\... | [
"0.74271965",
"0.71315885",
"0.6936982",
"0.688479",
"0.6701067",
"0.65649056",
"0.654845",
"0.65482664",
"0.65469277",
"0.65376073",
"0.653052",
"0.653052",
"0.64845675",
"0.6477657",
"0.6459945",
"0.6443903",
"0.64287037",
"0.6422417",
"0.6422318",
"0.6417353",
"0.6406843",... | 0.67195666 | 4 |
Return the product with the given id or None if it can't be found. Returns a sqlite3.Row object | def _sd5(NCls, id):
Pe9W = 'SELECT id, name, description, category, image_url, unit_cost, inventory FROM products WHERE id=?'
DpUl = NCls.cursor()
DpUl.execute(Pe9W, (id,))
return dict(DpUl.fetchone()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def h86o(YKHO, Mc9N):\n xDcj = f'SELECT * FROM products WHERE product_id = {Mc9N}'\n DpUl = YKHO.conn.cursor()\n DpUl.execute(xDcj)\n Aofo = DpUl.fetchone()\n if Aofo:\n Lx3t = msfn(Aofo[0], Aofo[1], Aofo[2], Aofo[3])\n return Lx3t",
"def drGQ(YKHO, Mc9N):\n try:\n YKHO.cur... | [
"0.8129838",
"0.8100826",
"0.7887826",
"0.7781736",
"0.7710349",
"0.7564695",
"0.7429631",
"0.7388386",
"0.7376892",
"0.7338155",
"0.7321427",
"0.731473",
"0.73010385",
"0.72770876",
"0.7226815",
"0.72223896",
"0.70778865",
"0.69781685",
"0.6935136",
"0.6893721",
"0.68666625"... | 0.72152346 | 16 |
Return a list of products, if category is not None, return products from that category. Results are returned in no particular order. Returns a list of dictionaries | def C76W(NCls, Ghho=None):
DpUl = NCls.cursor()
if Ghho:
Pe9W = 'SELECT id, name, description, category, image_url, unit_cost, inventory \n FROM products WHERE category = ?\n '
DpUl.execute(Pe9W, (Ghho,))
else:
Pe9W = 'SELECT id, name, description, category, image_url, ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CxaC(YKHO, Ghho):\n NArs = {'search_terms': Ghho, 'json': 1, 'page_size': 100}\n gow0 = G4JS.get(YKHO.search_url, params=NArs).json()\n try:\n Ldyl = gow0['products']\n except (KeyError, IndexError, TypeError):\n return False\n else:\n Aofo = []\n for UHFx, Lx3t in en... | [
"0.7611407",
"0.74562716",
"0.72874296",
"0.7202365",
"0.71101856",
"0.6950532",
"0.6943277",
"0.6898686",
"0.6889681",
"0.6808883",
"0.6787069",
"0.6768403",
"0.6760371",
"0.6756965",
"0.6715482",
"0.6611057",
"0.6601252",
"0.66000116",
"0.6578768",
"0.65637696",
"0.6481219"... | 0.7251837 | 3 |
Apply transposed Jacobian of the output w.r.t. bias_ih_l0. | def Xf4H(YKHO, yR_P: RNN, a8Kw: Tuple[Tensor], gmJ6: Tuple[Tensor], vb7U: Tensor, NXNp: bool=True, wK4s: List[int]=None) -> llWB:
YKHO._check_parameters(yR_P)
if NXNp:
tpio: x1iM[int] = [1, 2]
else:
tpio: int = 2
return YKHO._a_jac_t_mat_prod(yR_P, yR_P.weight_hh_l0, vb7U, wK4s).sum(dim=... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vt41(fyOd):\n v8WM = x7K5(fyOd.derivatives, TsTC.from_numpy(-1.0 * fyOd.Ih_values))\n return v8WM",
"def Vt41(fyOd):\n Hunl = oyIN.square(fyOd.inverse_scale_factors) * fyOd.weights\n dq2M = fyOd.sum_in_groups(Hunl)\n WmDL = (fyOd.intensities - fyOd.Ih_values * 2.0 * fyOd.inverse_scale_factors)... | [
"0.6824039",
"0.6421867",
"0.63965535",
"0.6342115",
"0.6342115",
"0.62876517",
"0.61918336",
"0.6153331",
"0.61490196",
"0.6058001",
"0.5992161",
"0.59455436",
"0.59367055",
"0.5931338",
"0.5885999",
"0.5884075",
"0.5864082",
"0.5853123",
"0.5840724",
"0.58304197",
"0.582588... | 0.5627848 | 40 |
Apply transposed Jacobian of the output w.r.t. bias_hh_l0. | def cRCK(YKHO, yR_P: RNN, a8Kw: Tuple[Tensor], gmJ6: Tuple[Tensor], vb7U: Tensor, NXNp: bool=True, wK4s: List[int]=None) -> llWB:
return YKHO._bias_ih_l0_jac_t_mat_prod(yR_P, a8Kw, gmJ6, vb7U, sum_batch=NXNp, subsampling=wK4s) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def v8WM(o4Jx, g4y1, zgmU=True):\n LFEP = o4Jx.new_zeros(o4Jx.size() + g4y1.size()).view((-1,) + g4y1.size())\n for YRbF, yvT9 in enumerate(o4Jx.reshape(-1)):\n Fr3f = ht2j.autograd.grad(yvT9, g4y1, retain_graph=True, create_graph=zgmU, allow_unused=True)[0]\n if Fr3f is None:\n cont... | [
"0.64605516",
"0.64440316",
"0.6303109",
"0.6232907",
"0.6230386",
"0.62040406",
"0.62040406",
"0.61659545",
"0.6094816",
"0.6023244",
"0.5998686",
"0.59681",
"0.59403634",
"0.59391516",
"0.5890976",
"0.58757263",
"0.5870157",
"0.5830557",
"0.58161855",
"0.5806133",
"0.580280... | 0.5876162 | 15 |
Apply transposed Jacobian of the output w.r.t. weight_ih_l0. | def c4Cg(YKHO, yR_P: RNN, a8Kw: Tuple[Tensor], gmJ6: Tuple[Tensor], vb7U: Tensor, NXNp: bool=True, wK4s: List[int]=None) -> llWB:
YKHO._check_parameters(yR_P)
return jIRx(f'vnth,ntj->v{('' if NXNp else 'n')}hj', YKHO._a_jac_t_mat_prod(yR_P, yR_P.weight_hh_l0, vb7U, wK4s), U1hP(yR_P.input0, dim=0, subsampling=wK... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vt41(fyOd):\n v8WM = x7K5(fyOd.derivatives, TsTC.from_numpy(-1.0 * fyOd.Ih_values))\n return v8WM",
"def v8WM(o4Jx, g4y1, zgmU=True):\n LFEP = o4Jx.new_zeros(o4Jx.size() + g4y1.size()).view((-1,) + g4y1.size())\n for YRbF, yvT9 in enumerate(o4Jx.reshape(-1)):\n Fr3f = ht2j.autograd.grad(yv... | [
"0.67123675",
"0.6456336",
"0.63904905",
"0.6357207",
"0.6357207",
"0.63483244",
"0.63199466",
"0.6116925",
"0.6109623",
"0.605923",
"0.6051987",
"0.60320956",
"0.59426695",
"0.59383655",
"0.5899904",
"0.58822346",
"0.58628625",
"0.58356017",
"0.583117",
"0.58308315",
"0.5804... | 0.54545987 | 57 |
Apply transposed Jacobian of the output w.r.t. weight_hh_l0. | def Otvc(YKHO, yR_P: RNN, a8Kw: Tuple[Tensor], gmJ6: Tuple[Tensor], vb7U: Tensor, NXNp: bool=True, wK4s: List[int]=None) -> llWB:
YKHO._check_parameters(yR_P)
bGrB, ywwl, bGrB, C7Ls = vb7U.shape
hlel = U1hP(yR_P.output, dim=0, subsampling=wK4s)
s1mL = VNqG(ywwl, 1, C7Ls, device=vb7U.device, dtype=vb7U.d... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def v8WM(o4Jx, g4y1, zgmU=True):\n LFEP = o4Jx.new_zeros(o4Jx.size() + g4y1.size()).view((-1,) + g4y1.size())\n for YRbF, yvT9 in enumerate(o4Jx.reshape(-1)):\n Fr3f = ht2j.autograd.grad(yvT9, g4y1, retain_graph=True, create_graph=zgmU, allow_unused=True)[0]\n if Fr3f is None:\n cont... | [
"0.64568144",
"0.627886",
"0.6241405",
"0.61942184",
"0.61942184",
"0.617011",
"0.6097714",
"0.6075532",
"0.59993285",
"0.59648734",
"0.593174",
"0.59157705",
"0.5872506",
"0.5871501",
"0.5866214",
"0.5853154",
"0.58326477",
"0.5814614",
"0.5795806",
"0.5794395",
"0.57759756"... | 0.5393081 | 75 |
A recursive merge of two dictionaries including combining of any lists within the data structure | def PPYP(WA7Q, Elif):
for H5ew, BWXx in Elif.iteritems():
if H5ew in WA7Q:
if isinstance(WA7Q[H5ew], dict) and isinstance(BWXx, dict):
PPYP(WA7Q[H5ew], BWXx)
elif isinstance(WA7Q[H5ew], list) and isinstance(BWXx, list):
WA7Q[H5ew] += BWXx
else:... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PPYP(jzdc, Fg_i):\n for H5ew in Fg_i:\n if H5ew in jzdc:\n if isinstance(jzdc[H5ew], dict) and isinstance(Fg_i[H5ew], dict):\n PPYP(jzdc[H5ew], Fg_i[H5ew])\n elif isinstance(jzdc[H5ew], list) and isinstance(Fg_i[H5ew], list):\n jzdc[H5ew].extend(Fg_... | [
"0.8194576",
"0.8169513",
"0.8107527",
"0.7950573",
"0.79123527",
"0.7817015",
"0.7789035",
"0.7776889",
"0.7707441",
"0.7705577",
"0.76893276",
"0.76653236",
"0.7649095",
"0.7599907",
"0.75879234",
"0.75842947",
"0.7578409",
"0.75538975",
"0.7538809",
"0.7532991",
"0.7522827... | 0.7946178 | 4 |
Return a dictionary of extra kwargs to be passed to the constructor from the identity mapper. This allows derived classes to exist without having to extend every mapper that processes them. | def gbs0(YKHO):
return {} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wsT4(YKHO, B2fa: MutableMapping[str, Any]) -> ZrSl[str, ImMB]:\n return B2fa",
"def z282(YKHO):\n return {}",
"def AKNF(Emd4, B2fa):\n return dict([(XP5J, B2fa.pop(XP5J, None)) for XP5J in Emd4._method_parameters])",
"def aVvf(YKHO):\n return {**YKHO.attributes, **YKHO.ndarrays, **YKHO.object... | [
"0.68072045",
"0.65308917",
"0.6350526",
"0.63343096",
"0.61842865",
"0.6107123",
"0.61003596",
"0.60936195",
"0.60873127",
"0.60372937",
"0.60157484",
"0.599736",
"0.5985343",
"0.5959957",
"0.5956832",
"0.5944506",
"0.5862867",
"0.5862571",
"0.58461136",
"0.5825541",
"0.5816... | 0.0 | -1 |
List of scopes accepted for the API, overriding the defaults. | def uC2a(YKHO):
if YKHO.__scopes is not None:
return YKHO.__scopes
return YKHO.__common_info.scopes | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uC2a(YKHO) -> bdIy[str]:\n return qe4Y.get(YKHO, 'scopes')",
"def uC2a(YKHO) -> bdIy[str]:\n return qe4Y.get(YKHO, 'scopes')",
"def uC2a(YKHO) -> bdIy[str]:\n return qe4Y.get(YKHO, 'scopes')",
"def mdUF(YKHO):\n if YKHO._default_scopes:\n return YKHO._default_scopes.split(' ')\n ret... | [
"0.73279095",
"0.73279095",
"0.73279095",
"0.7291125",
"0.72871584",
"0.7199048",
"0.71512616",
"0.713813",
"0.71280247",
"0.7105681",
"0.71002215",
"0.7097152",
"0.70878464",
"0.70752",
"0.7074392",
"0.7009962",
"0.6925571",
"0.6871695",
"0.6792023",
"0.67840385",
"0.675784"... | 0.7086202 | 13 |
Enum from AUTH_LEVEL specifying the frontend authentication level. | def lmD8(YKHO):
if YKHO.__auth_level is not None:
return YKHO.__auth_level
return YKHO.__common_info.auth_level | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lmD8(YKHO):\n return YKHO.__auth_level",
"def lmD8(YKHO):\n return YKHO.__auth_level",
"def zkAN(YKHO):\n return YKHO._auth_type",
"def zkAN(YKHO) -> str:\n return qe4Y.get(YKHO, 'auth_type')",
"def zkAN(YKHO) -> str:\n return qe4Y.get(YKHO, 'auth_type')",
"def zkAN(YKHO) -> str:\n ... | [
"0.6746281",
"0.67363626",
"0.60980105",
"0.6037974",
"0.6037974",
"0.6037974",
"0.6037974",
"0.6037974",
"0.6037974",
"0.6037974",
"0.6037974",
"0.5716691",
"0.5642523",
"0.5543138",
"0.5542514",
"0.55276823",
"0.55181277",
"0.549937",
"0.54929847",
"0.5433059",
"0.54015416"... | 0.6803724 | 0 |
List of scopes accepted by default for the API. | def uC2a(YKHO):
return YKHO.__scopes | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mdUF(YKHO):\n if YKHO._default_scopes:\n return YKHO._default_scopes.split(' ')\n return []",
"def nWxr(YKHO, zb3C, QePW, *qIxc, **B2fa):\n QePW.client = QePW.client or suPn(zb3C)\n uC2a = QePW.client.default_scopes\n RKD7.debug('Found default scopes %r', uC2a)\n return uC2a",
"def... | [
"0.8007507",
"0.7699716",
"0.76874995",
"0.76796305",
"0.7656232",
"0.76396054",
"0.76396054",
"0.76396054",
"0.75459635",
"0.7508944",
"0.7379006",
"0.7362468",
"0.7353687",
"0.73161674",
"0.7238421",
"0.7211709",
"0.7195436",
"0.7129366",
"0.7129366",
"0.7093849",
"0.707375... | 0.67977357 | 33 |
Constructor for ApiAuth, authentication information for an API. | def FIMM(YKHO, IeqQ=None, Db2T=None):
DDuF(IeqQ, bool, 'allow_cookie_auth')
PHV9.check_list_type(Db2T, exCv, 'blocked_regions')
YKHO.__allow_cookie_auth = IeqQ
YKHO.__blocked_regions = Db2T | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO):\n YKHO.key = nNXP['key']\n YKHO.secret = nNXP['secret']\n YKHO._host = nNXP['host']\n YKHO._auth = YKHO._authenticate()",
"def FIMM(YKHO, NtEF, jTXt):\n YKHO.api = fyIx(NtEF, jTXt)",
"def FIMM(YKHO, eC7C, rJDA):\n YKHO.api_id = eC7C\n YKHO.api_key = rJDA",
"def FIMM(YKHO,... | [
"0.7635525",
"0.75260746",
"0.7283037",
"0.7283037",
"0.7249947",
"0.724879",
"0.724518",
"0.7214623",
"0.721016",
"0.719193",
"0.70335114",
"0.69547606",
"0.6938575",
"0.69368416",
"0.6925712",
"0.6894843",
"0.6860642",
"0.6781032",
"0.67809284",
"0.67459524",
"0.67459524",
... | 0.0 | -1 |
Whether cookie authentication is allowed for this API. | def IeqQ(YKHO):
return YKHO.__allow_cookie_auth | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def clLR(QePW):\n if QePW.user.is_authenticated():\n return True\n else:\n return oRlD(QePW, 'accept_cookies')",
"def Z_mK(YKHO) -> bool:\n return qe4Y.get(YKHO, 'allow_credentials')",
"def LusB(YKHO):\n return 'cookie_secret' in YKHO.settings and YKHO.settings['cookie_secret']",
"d... | [
"0.74405414",
"0.7409983",
"0.7133257",
"0.7014035",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
"0.70014614",
... | 0.8351518 | 0 |
The aggregate QPS for this segment. | def xz8i(YKHO):
return YKHO.__qps | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BZkQ(YKHO):\n return YKHO._calculate_qparams(YKHO.min_val, YKHO.max_val)",
"def vexM(YKHO):\n return oyIN.asarray(YKHO.charges).sum()",
"def PpLp(YKHO) -> float:\n return YKHO.qs",
"def Z2S_(YKHO):\n mLGw = YKHO.timesig.n\n U3S6 = YKHO.beatsperq()\n DHxf = mLGw / U3S6\n return DHxf",... | [
"0.68348634",
"0.677791",
"0.65347064",
"0.6512415",
"0.64389914",
"0.6152886",
"0.6143199",
"0.60994905",
"0.60908383",
"0.6054494",
"0.6033262",
"0.59988564",
"0.5983755",
"0.5940634",
"0.5919626",
"0.59166133",
"0.59164983",
"0.58892953",
"0.5888695",
"0.5854339",
"0.58157... | 0.7059813 | 0 |
The aggregate daily maximum for this segment. | def IYen(YKHO):
return YKHO.__daily | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def foUm(YKHO):\n return YKHO.di[oyIN.where(YKHO.fc >= oyIN.sum(YKHO._f))[0][0]]",
"def d4t2(YKHO):\n return YKHO._d_max",
"def LLEA(YKHO):\n return YKHO._D",
"def xmN4(YKHO):\n if YKHO._is_sorted:\n return YKHO.data[-1]\n return max(YKHO.data)",
"def Sq91(YKHO):\n if len(YKHO.vals... | [
"0.69212085",
"0.6764052",
"0.6651625",
"0.6532409",
"0.65064216",
"0.6406377",
"0.63847387",
"0.6303644",
"0.62746406",
"0.6256935",
"0.6230293",
"0.62159646",
"0.6197143",
"0.6191662",
"0.6185679",
"0.6185679",
"0.61643916",
"0.6159696",
"0.6126366",
"0.61142725",
"0.611395... | 0.0 | -1 |
Constructor for ApiFrontEndLimits, front end limit info for an API. | def FIMM(YKHO, uM_U=None, eIbI=None, r09P=None, c_NS=None):
DDuF(uM_U, int, 'unregistered_user_qps')
DDuF(eIbI, int, 'unregistered_qps')
DDuF(r09P, int, 'unregistered_daily')
PHV9.check_list_type(c_NS, BweW, 'rules')
YKHO.__unregistered_user_qps = uM_U
YKHO.__unregistered_qps = eIbI
YKHO.__u... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, c5uu=None):\n YKHO._limiter = CazZ(c5uu or dERJ)",
"def FIMM(YKHO, c5uu=None):\n YKHO._limiter = CazZ(c5uu or dERJ)",
"def HvGw(YKHO, GuSc):\n if GuSc.frontend_limits is None:\n return None\n jXCX = {}\n for Av8B, bZY_ in (('unregistered_user_qps', 'unregisteredUserQps'), (... | [
"0.65974975",
"0.65974975",
"0.6461387",
"0.6298306",
"0.62654066",
"0.6173943",
"0.61416954",
"0.6058248",
"0.60553896",
"0.60553896",
"0.6025711",
"0.5949961",
"0.5879591",
"0.587004",
"0.5838472",
"0.58380204",
"0.582702",
"0.582433",
"0.58098936",
"0.57684743",
"0.5701633... | 0.0 | -1 |
Aggregate QPS upperbound for all unregistered traffic. | def eIbI(YKHO):
return YKHO.__unregistered_qps | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def A2Fp(YKHO) -> float:\n return YKHO._ub",
"def A2Fp(YKHO):\n mYEH = {KCHu: 0 for KCHu in YKHO.sites}\n M4qX = {KCHu: 0 for KCHu in YKHO.sites}\n for (BJo2, (G3Xy, gI85)), (X1ie, (qEB9, hkpv)) in Hs6x.combinations(YKHO.sites.items(), r=2):\n if G3Xy == qEB9:\n r8hN, exwG = yDrV(gI... | [
"0.6135175",
"0.59524196",
"0.5852342",
"0.57996446",
"0.570846",
"0.57035327",
"0.56372416",
"0.55955213",
"0.5558485",
"0.54981774",
"0.54755914",
"0.5472244",
"0.5461788",
"0.5445906",
"0.53986233",
"0.53502274",
"0.5335949",
"0.5319749",
"0.53015995",
"0.52966684",
"0.527... | 0.5570055 | 8 |
Aggregate daily upperbound for all unregistered traffic. | def r09P(YKHO):
return YKHO.__unregistered_daily | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def i_zD(kYES):\n return [int(kYES[YRbF + 1]) for YRbF in range(len(kYES) - 1)] + [100]",
"def A2Fp(YKHO):\n mYEH = {KCHu: 0 for KCHu in YKHO.sites}\n M4qX = {KCHu: 0 for KCHu in YKHO.sites}\n for (BJo2, (G3Xy, gI85)), (X1ie, (qEB9, hkpv)) in Hs6x.combinations(YKHO.sites.items(), r=2):\n if G3... | [
"0.54137236",
"0.53980845",
"0.5345931",
"0.5192872",
"0.5154074",
"0.51254797",
"0.5110876",
"0.51009405",
"0.5071584",
"0.5055214",
"0.5038679",
"0.50086147",
"0.4941995",
"0.49414742",
"0.49154145",
"0.49114338",
"0.48974484",
"0.4894116",
"0.4877996",
"0.48692933",
"0.486... | 0.545568 | 0 |
Type of request parameter message when using a ResourceContainer. | def oIXk(YKHO):
return YKHO.__request_params_class | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gbMs(YKHO) -> str:\n ...",
"def Qjbs(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'resource_type')",
"def Qjbs(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'resource_type')",
"def Qjbs(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'resource_type')",
"def Qjbs(YKHO) -> qe4Y.Inp... | [
"0.64576775",
"0.61921227",
"0.61921227",
"0.61921227",
"0.61921227",
"0.61921227",
"0.61921227",
"0.61921227",
"0.61921227",
"0.61921227",
"0.61921227",
"0.61921227",
"0.61921227",
"0.61921227",
"0.61921227",
"0.60745025",
"0.60216415",
"0.60216415",
"0.60216415",
"0.5999063",... | 0.53567487 | 98 |
Describe the parameters of a method. If the message_type is not a ResourceContainer, will fall back to __params_descriptor_without_container (which will eventually be deprecated). If the message type is a ResourceContainer, then all path/query parameters will come from the ResourceContainer This method will also make s... | def YpWH(YKHO, Logs, C6Be, pmON, jGL6):
ttON = YKHO.__get_path_parameters(pmON)
if not isinstance(Logs, tSQl.ResourceContainer):
if ttON:
G9jH.warning('Method %s specifies path parameters but you are not using a ResourceContainer This will fail in future releases; please switch to using Reso... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YpWH(YKHO, Logs, C6Be, pmON, jGL6):\n ttON = YKHO.__get_path_parameters(pmON)\n if not isinstance(Logs, tSQl.ResourceContainer):\n if ttON:\n G9jH.warning('Method %s specifies path parameters but you are not using a ResourceContainer. This will fail in future releases; please switch to ... | [
"0.79097646",
"0.6843314",
"0.65981346",
"0.65622634",
"0.648995",
"0.6254368",
"0.6116345",
"0.5874249",
"0.5727923",
"0.5688589",
"0.56686115",
"0.56669706",
"0.5564059",
"0.5543403",
"0.54708654",
"0.54671335",
"0.54601866",
"0.5449706",
"0.5447816",
"0.5431803",
"0.542112... | 0.79579407 | 0 |
Builds a description of an API. | def FCaI(YKHO, B373):
YQz9 = B373[0].api_info
for zVa7 in B373[1:]:
if not YQz9.is_same_api(zVa7.api_info):
raise OW3J.ApiConfigurationError(dTiX % (zVa7.api_info.name, zVa7.api_info.version))
return YQz9 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def x_2s(YKHO):\n return YKHO._list_request('', permanent=True)",
"def ucsl(nNXP):\n import jasy.env.Task as o2Vr\n Aofo = []\n for H5ew in sorted(nNXP):\n if H5ew.startswith('__'):\n continue\n BWXx = nNXP[H5ew]\n if type(BWXx) is o2Vr.Task:\n continue\n ... | [
"0.67469156",
"0.6580199",
"0.64684856",
"0.6185338",
"0.6175028",
"0.60775506",
"0.60366476",
"0.60299176",
"0.59943455",
"0.5974428",
"0.5968282",
"0.59671193",
"0.5966287",
"0.59432733",
"0.59399134",
"0.59049785",
"0.5899718",
"0.5885663",
"0.58735186",
"0.58500206",
"0.5... | 0.0 | -1 |
Builds a description of an API. | def lu76(YKHO, B373, ayrW=None):
YQz9 = YKHO.__get_merged_api_info(B373)
jXCX = YKHO.get_descriptor_defaults(YQz9, hostname=ayrW)
JBZA = YQz9.description
if not JBZA and len(B373) == 1:
JBZA = B373[0].__doc__
if JBZA:
jXCX['description'] = JBZA
axy8 = YKHO.__auth_descriptor(YQz9)... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def x_2s(YKHO):\n return YKHO._list_request('', permanent=True)",
"def ucsl(nNXP):\n import jasy.env.Task as o2Vr\n Aofo = []\n for H5ew in sorted(nNXP):\n if H5ew.startswith('__'):\n continue\n BWXx = nNXP[H5ew]\n if type(BWXx) is o2Vr.Task:\n continue\n ... | [
"0.67469156",
"0.6580199",
"0.64684856",
"0.6185338",
"0.6175028",
"0.60775506",
"0.60366476",
"0.60299176",
"0.59943455",
"0.5974428",
"0.5968282",
"0.59671193",
"0.5966287",
"0.59432733",
"0.59399134",
"0.59049785",
"0.5899718",
"0.5885663",
"0.58735186",
"0.58500206",
"0.5... | 0.0 | -1 |
Returns a context manager for batch creation of labels on a manifest. Can raise InvalidLabelKeyException or InvalidMediaTypeException depending on the validation errors. | def zJxR(YKHO, Kz8N):
try:
gsLN = p9bx.TagManifest.get(id=Kz8N._db_id)
except p9bx.TagManifest.DoesNotExist:
yield None
return
fkai = []
def skAm(H5ew, BWXx, JXzZ, sBD2=None):
fkai.append(dict(key=H5ew, value=BWXx, source_type_name=JXzZ, media_type_name=sBD2))
yield ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qFPn(YKHO, Crrw: Optional[Labels]=None) -> h8nf[x1iM[dfql.LabelFileMd]]:\n Pw9X = None\n if Crrw:\n Pw9X = []\n for ZfUD in Crrw.labels:\n Pw9X.append(dfql.LabelFileMd(YKHO._export_labels(ZfUD.filename, ZfUD.names), locale=ZfUD.locale))\n return Pw9X",
"def Xp63(YKHO, Kz8N, ... | [
"0.58231723",
"0.57611334",
"0.5573074",
"0.55429775",
"0.53747535",
"0.5323587",
"0.5298045",
"0.52566546",
"0.5244376",
"0.52379555",
"0.5221921",
"0.5212818",
"0.5200884",
"0.51875937",
"0.5144699",
"0.5119548",
"0.5108717",
"0.50536853",
"0.5046491",
"0.50381786",
"0.5032... | 0.7731868 | 0 |
Delete the label with the specified UUID on the manifest. Returns the label deleted or None if none. | def nfoI(YKHO, Kz8N, CHVp):
return seYU.for_label(C3ST.label.delete_manifest_label(CHVp, Kz8N._db_id)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Pixi(YKHO, UXqs):\n return YKHO.label(UXqs, action='DELETE')",
"async def delete_label(YKHO, bD7m, HmCZ, rSTc, LECp, qWzF) -> int:\n MOPg = YKHO.get_token(bD7m, HmCZ, rSTc)\n Mkmy = G4JS.delete(f'https://{bD7m}/api/2.0/alarms/{LECp}/labels/{qWzF}', headers=MOPg)\n if Mkmy.status_code != 204:\n ... | [
"0.69660896",
"0.6656897",
"0.65480053",
"0.6454586",
"0.643939",
"0.62537205",
"0.6174528",
"0.60508776",
"0.59812605",
"0.5960813",
"0.5923441",
"0.58058256",
"0.57983613",
"0.5743552",
"0.57421064",
"0.5742095",
"0.5740992",
"0.5693706",
"0.5689288",
"0.56675005",
"0.56567... | 0.80319536 | 0 |
Returns a page of actvie tags in a repository. Note that the tags returned by this method are ShallowTag objects, which only contain the tag name. | def blAr(YKHO, A8lP, elkv, qoqK):
dJ1p = C3ST.tag.list_active_repo_tags(A8lP._db_id, include_images=False, start_id=elkv, limit=qoqK)
return [JiIN.for_repository_tag(TZ9E) for TZ9E in dJ1p] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dJ1p(YKHO, boHx):\n bD7m = '{0}/v2/{1}/tags/list'.format(YKHO.host, TZ9E)\n return YKHO._send_request_get(bD7m)",
"def dJ1p(YKHO) -> 'outputs.TagsResponse':\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> 'outputs.TagsResponse':\n return qe4Y.get(YKHO, 'tags')",
"def Qwli():\n return ... | [
"0.71275073",
"0.66928357",
"0.66928357",
"0.6685691",
"0.6678919",
"0.66528827",
"0.6611924",
"0.6597439",
"0.65668285",
"0.65663236",
"0.6538084",
"0.6532252",
"0.65224606",
"0.6505961",
"0.64982396",
"0.6492842",
"0.64647174",
"0.6444903",
"0.6444343",
"0.64366347",
"0.641... | 0.65084815 | 13 |
Returns a list of all the active tags in the repository. Note that this is a HEAVY operation on repositories with a lot of tags, and should only be used for testing or where other more specific operations are not possible. | def oiMV(YKHO, A8lP, orWi=False):
if not orWi:
dJ1p = C3ST.tag.list_active_repo_tags(A8lP._db_id, include_images=False)
return [OhYN.for_repository_tag(TZ9E) for TZ9E in dJ1p]
dJ1p = C3ST.tag.list_active_repo_tags(A8lP._db_id)
return [OhYN.for_repository_tag(TZ9E, legacy_image=uCzz.for_image... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qwli(YKHO):\n qKqj = []\n for TZ9E in YKHO.tags:\n if TZ9E.deleted_at is None:\n qKqj.append(TZ9E)\n return qKqj",
"def Y5bi(YKHO):\n bo34.info('List tags')\n return JKCy.Tag.list(YKHO).result()",
"def wWtK(YKHO):\n return YKHO._list_names('tags')",
"def wWtK(YKHO):\n ... | [
"0.77684975",
"0.7678736",
"0.7500758",
"0.7456427",
"0.74379724",
"0.742136",
"0.7349316",
"0.73488635",
"0.7259278",
"0.72585446",
"0.72585446",
"0.7253469",
"0.7205557",
"0.71811277",
"0.7176013",
"0.7174846",
"0.71726435",
"0.7157396",
"0.71425205",
"0.7136778",
"0.713392... | 0.7334561 | 8 |
Returns the history of all tags in the repository (unless filtered). This includes tags that have been made inactive due to newer versions of those tags coming into service. | def xlFJ(YKHO, A8lP, B2Dn=1, zNig=100, NOVO=None, MQdZ=False, XIWD=None):
if XIWD is not None:
raise NotImplementedError
dJ1p, _bPt, UA88 = C3ST.tag.list_repository_tag_history(A8lP._db_id, B2Dn, zNig, NOVO, MQdZ)
return ([OhYN.for_repository_tag(TZ9E, _bPt.get(TZ9E.id), legacy_image=uCzz.for_image(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qwli(YKHO):\n qKqj = []\n for TZ9E in YKHO.tags:\n if TZ9E.deleted_at is None:\n qKqj.append(TZ9E)\n return qKqj",
"def kKi3(YKHO):\n return list(YKHO.history)",
"def kKi3(YKHO) -> list:\n return YKHO._history",
"def g_Y1():\n dJ1p = sEAN.repo.tags\n return dJ1p",
... | [
"0.6731744",
"0.6665262",
"0.66478926",
"0.6567419",
"0.6538999",
"0.6517113",
"0.64851916",
"0.6460725",
"0.64305973",
"0.64266527",
"0.6376676",
"0.6366734",
"0.63562393",
"0.63504034",
"0.63504034",
"0.63504034",
"0.63376",
"0.6331446",
"0.631588",
"0.6311202",
"0.6306905"... | 0.7234587 | 0 |
Sets the expiration date of the tag under the matching repository to that given. If the expiration date is None, then the tag will not expire. Returns a tuple of the previous expiration timestamp in seconds (if any), and whether the operation succeeded. | def NLmU(YKHO, TZ9E, ad72):
try:
wHOf = p9bx.RepositoryTag.get(id=TZ9E._db_id)
except p9bx.RepositoryTag.DoesNotExist:
return (None, False)
return C3ST.tag.change_tag_expiration(wHOf, ad72) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dZah(G30Q, ucz4):\n pass",
"def d0e_(YKHO):\n if YKHO.type in sPt_:\n return (YKHO.updated or gnPz.now()) + Strp",
"def u8Sp(YKHO, H5ew, cGO1: Optional[datetime]=None) -> None:\n if cGO1 is None:\n cGO1 = qcWV.utcnow()\n Csk6, bGrB = YKHO[H5ew]\n YKHO.create_or_update(H5ew, dat... | [
"0.60173583",
"0.5781194",
"0.5722606",
"0.56022036",
"0.56022036",
"0.55993855",
"0.55467695",
"0.55253977",
"0.551309",
"0.5478878",
"0.5433415",
"0.5433415",
"0.5433415",
"0.53894204",
"0.53772557",
"0.5317893",
"0.52900326",
"0.52723044",
"0.52692556",
"0.5267356",
"0.526... | 0.8401197 | 0 |
Returns starting state of the board. | def W9gz():
return [[KAvf, KAvf, KAvf], [KAvf, KAvf, KAvf], [KAvf, KAvf, KAvf]] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tQN_(YKHO):\n return YKHO.board",
"def tQN_(YKHO):\n return YKHO.board",
"def tQN_(YKHO):\n return YKHO.board",
"def tQN_(YKHO):\n return YKHO.board",
"def tQN_(YKHO):\n return YKHO.board",
"def tQN_(YKHO):\n return YKHO._start_state",
"def Ee93():\n exwG = ahzX(mF_7, 5)\n r... | [
"0.8809215",
"0.8809215",
"0.8809215",
"0.8809215",
"0.8809215",
"0.74344724",
"0.742334",
"0.7328245",
"0.72898334",
"0.72821885",
"0.72821885",
"0.7278382",
"0.7248571",
"0.7225358",
"0.7225358",
"0.7225358",
"0.7225358",
"0.7225358",
"0.7225358",
"0.7225358",
"0.7225358",
... | 0.0 | -1 |
Returns set of all possible actions (i, j) available on the board. | def xASv(iBIi):
xASv = set()
for aFUE, rdlD in enumerate(iBIi):
for Byvo, VmPb in enumerate(rdlD):
if VmPb == KAvf:
xASv.add((aFUE, Byvo))
return xASv | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xASv(iBIi):\n Ylbp = set()\n for YRbF in range(len(iBIi)):\n for r845 in range(len(iBIi[0])):\n if iBIi[YRbF][r845] == KAvf:\n Ylbp.add((YRbF, r845))\n return Ylbp",
"def xASv(YKHO):\n hksT = YKHO.locs[YKHO.player()]\n if hksT is None:\n return YKHO.libe... | [
"0.8076275",
"0.793282",
"0.7916075",
"0.7911137",
"0.7870962",
"0.776719",
"0.77508605",
"0.7745379",
"0.77376515",
"0.77297497",
"0.77281934",
"0.77087104",
"0.7699071",
"0.76846254",
"0.7676406",
"0.76708114",
"0.76652414",
"0.76520985",
"0.76415825",
"0.76337516",
"0.7630... | 0.75527656 | 27 |
Returns the winner of the game, if there is one. | def bHVe(iBIi):
Sz2M = [0, 0, 0, 0, 0, 0, 0, 0]
ROFr = [0, 0, 0, 0, 0, 0, 0, 0]
for aFUE, rdlD in enumerate(iBIi):
for Byvo, VmPb in enumerate(rdlD):
if VmPb == EcVT:
Sz2M[aFUE] += 1
Sz2M[Byvo + 3] += 1
elif VmPb == LTX_:
ROFr[a... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bHVe(YKHO):\n if YKHO.done():\n return YKHO._winner\n else:\n return None",
"def ND5o(YKHO):\n return YKHO.win_conditions()[0]",
"def bHVe(YKHO):\n return YKHO.board.winner()",
"def bHVe(YKHO):\n J2w6 = Bu_I.compute_winner_index(YKHO.result, YKHO.game)\n if J2w6 is False:\... | [
"0.84205395",
"0.83575505",
"0.82868236",
"0.81987756",
"0.81987756",
"0.8168628",
"0.81224376",
"0.805871",
"0.7971006",
"0.79522294",
"0.7909224",
"0.789483",
"0.78946227",
"0.78887254",
"0.78633344",
"0.7850654",
"0.7850211",
"0.78320843",
"0.7811322",
"0.7769718",
"0.7765... | 0.0 | -1 |
Returns 1 if X has won the game, 1 if O has won, 0 otherwise. | def f7Dd(iBIi):
if bHVe(iBIi) == EcVT:
return 1
elif bHVe(iBIi) == LTX_:
return -1
return 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hHs1(YKHO):\n return YKHO.winner() == YKHO.X_VAL",
"def oyg0(iBIi):\n bHVe(iBIi)\n c8fa = 0\n Jszs = 0\n for YRbF in range(3):\n for r845 in range(3):\n if iBIi[YRbF][r845] == LTX_:\n Jszs += 1\n elif iBIi[YRbF][r845] == EcVT:\n c8fa +... | [
"0.77444863",
"0.76654726",
"0.76287246",
"0.7624162",
"0.7454523",
"0.74426293",
"0.7342942",
"0.7338845",
"0.73089117",
"0.73054814",
"0.7283122",
"0.72771245",
"0.724386",
"0.72340655",
"0.72064006",
"0.71815705",
"0.71794665",
"0.71749926",
"0.71746534",
"0.7166855",
"0.7... | 0.6853941 | 71 |
Checks if the age and birthday that was entered is valid | def jFvZ(ZJe_, iuVk):
UrB1 = 0
cxRd = JRYC.datetime.today().date()
if int(ZJe_) <= 0 or int(ZJe_) > 120:
UrB1 += 1
fjpF.append(' <p>Age should be greater than 0 and less than 121</p>')
else:
if cxRd.year > int(iuVk[0:4]):
if cxRd.month > int(iuVk[5:7]):
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AEKc(YKHO):\n i_8Y = YKHO.ui.dateOfBirthDateEdit.date()\n KVYf = PW8t(PW8t.currentDate().year(), 1, 1)\n ZJe_ = int(i_8Y.daysTo(KVYf) / 365)\n return ZJe_ == int(YKHO.ui.ageSpinBox.value())",
"def F4Wz(Jr0g):\n return True",
"def FnIY(Kb0M):\n if Kb0M.year < _c1T.today().year - 200:\n ... | [
"0.8067518",
"0.7756153",
"0.75054044",
"0.7448789",
"0.72662205",
"0.7265118",
"0.7226177",
"0.70958096",
"0.70957136",
"0.7068199",
"0.69737166",
"0.6971169",
"0.69164294",
"0.67356694",
"0.67023474",
"0.6659262",
"0.6655582",
"0.6649312",
"0.6638674",
"0.66131127",
"0.6562... | 0.7876443 | 1 |
Returns the boolean representation of the flag based on the default_option. | def gsm2(YKHO, YThs: AskResult) -> bool:
return {bDa7.YES_TO_ALL: True, bDa7.NO_TO_ALL: False, bDa7.DEFAULT_TO_ALL: YThs}[YKHO] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JG7l(nudR, HyJ9):\n BWXx = DxkC(nudR, HyJ9).strip()\n if BWXx in ['True', 'true', 'TRUE']:\n return True\n elif BWXx in ['False', 'false', 'FALSE']:\n return False\n else:\n return HyJ9",
"def gwL8(YKHO, MTKo, WmM4=None):\n try:\n Ty9i = YKHO.get(MTKo, WmM4, acquire... | [
"0.80661815",
"0.7838629",
"0.74293864",
"0.7390887",
"0.7262143",
"0.7252189",
"0.7249847",
"0.7172892",
"0.7172405",
"0.7127164",
"0.7081691",
"0.7058972",
"0.7002777",
"0.6881328",
"0.6852359",
"0.68283594",
"0.679714",
"0.67966723",
"0.67548525",
"0.67548525",
"0.675397",... | 0.7377241 | 4 |
Sort all Department objects by department ID, upadte self.depts_sorted. | def tRTY(YKHO):
YKHO.depts_sorted = list(YKHO.departments.values())
YKHO.depts_sorted.sort(key=lambda WKvO: WKvO.ID) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HHIZ(A3Vt):\n return int(A3Vt['department_id'])",
"def nUY6(YKHO):\n dU7C = ewSB.Collator()\n\n def dPmV(JQbP):\n \"\"\"Return element's comparison key for sorting.\"\"\"\n if JQbP.is_person:\n return (dU7C.sort_key(JQbP.entity.last_name), dU7C.sort_key(JQbP.entity.first_nam... | [
"0.6079032",
"0.58838826",
"0.5878902",
"0.5701183",
"0.56265855",
"0.56118405",
"0.55258065",
"0.551568",
"0.548702",
"0.54846966",
"0.5468988",
"0.5412835",
"0.53919023",
"0.52981824",
"0.52892524",
"0.52825",
"0.52825",
"0.52825",
"0.52761984",
"0.526791",
"0.5259606",
"... | 0.8607484 | 0 |
Returns the string representation of the model | def gTzM(YKHO):
return CgYo.pformat(YKHO.to_dict()) | {
"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.86418265",
"0.85103965",
"0.7853324",
"0.77442306",
"0.7712258",
"0.76979405",
"0.765959",
"0.7637644",
"0.76218504",
"0.7607561",
"0.7606604",
"0.7606604",
"0.7606604",
"0.75990754",
"0.7585653",
"0.758149",
"0.7570811",
"0.7567585",
"0.75392604",
"0.75392604",
"0.7527967... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
if not isinstance(Elif, UncQ):
return True
return YKHO.to_dict() != Elif.to_dict() | {
"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 |
Add the new emotion to the already existing emotion | def xXeU(YKHO, FnQZ, uowl):
YKHO.valence += FnQZ
YKHO.arousal += uowl
zA0y = epAf.sqrt(epAf.pow(YKHO.arousal, 2) + epAf.pow(YKHO.valence, 2))
if zA0y > 1:
YKHO.valence = YKHO.valence / zA0y
YKHO.arousal = YKHO.arousal / zA0y | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Htvj(YKHO, tTpl):\n if not YKHO.portrait:\n YKHO.add_portrait(YKHO.character + '/' + tTpl + '(blink)')\n if YKHO.portrait:\n YKHO.portrait.set_emotion(tTpl)",
"def eP6Z(tQOT, hqda):\n C0Nz = FYrf.multimedia_emotions.MultimediaEmotions(media_id=tQOT, emotion=hqda)\n FYrf.session.add(... | [
"0.65352565",
"0.64844614",
"0.645569",
"0.6160302",
"0.61376595",
"0.60973346",
"0.6069161",
"0.5879949",
"0.5865463",
"0.58586997",
"0.58399814",
"0.58358",
"0.5791103",
"0.568472",
"0.56639045",
"0.5578019",
"0.5575582",
"0.55559474",
"0.5521275",
"0.55142504",
"0.54861987... | 0.0 | -1 |
Initialize the Sentence object with a sentence. Remove nonalphanumeric characters. Store the sentence string to a list object. | def FIMM(YKHO, yAmx: str) -> None:
yAmx = ZbWC.sub('[^\\w\\s]', '', yAmx)
YKHO.sentence = yAmx
YKHO.sentence = yAmx.split() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ohEn(YKHO, yAmx):\n YURz = Dhdw.word_tokenize(yAmx.lower())\n YURz = [YKHO.lemmatizer.lemmatize(GIN8) for GIN8 in YURz]\n return YURz",
"def x_h9(YKHO, l5Ny):\n V22M = YKHO.sentence_splitter(l5Ny)\n yAmx = []\n for GIN8 in V22M:\n if not len(GIN8):\n continue\n try:... | [
"0.6894479",
"0.6790362",
"0.6784947",
"0.6728826",
"0.66888475",
"0.6487336",
"0.64853114",
"0.6425993",
"0.6397018",
"0.63799626",
"0.6351171",
"0.6339567",
"0.63314927",
"0.6251073",
"0.62440014",
"0.6231561",
"0.62248784",
"0.62248784",
"0.62245774",
"0.62170494",
"0.6193... | 0.7753646 | 0 |
Return a printable representation of the Sentence list object using the built in function. Returns str A printable representation of the object. | def wHJl(YKHO) -> str:
return ' '.join(YKHO.sentence) + '.' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n GJqV = ''\n for Ty9i in YKHO.printstrings():\n GJqV += str(Ty9i) + '\\n'\n return GJqV",
"def zAg0(YKHO):\n return str(YKHO.__list)",
"def Mtk1(YKHO):\n return repr(YKHO._list)",
"def zAg0(YKHO):\n ncxN = YKHO.store_lines\n Y0Fj = '\\n'.join((str(''.join(tTpl)) f... | [
"0.6838118",
"0.6784236",
"0.6644624",
"0.66375035",
"0.66312313",
"0.65598696",
"0.6549426",
"0.65369594",
"0.6531764",
"0.652806",
"0.6505538",
"0.6497901",
"0.6492836",
"0.64854276",
"0.64753073",
"0.6447345",
"0.6444324",
"0.6431513",
"0.6421974",
"0.64118564",
"0.6396205... | 0.68354833 | 1 |
Hash a password for storing. | def qzFd(jTXt):
NTfD = HBct.sha256(Hy7s.urandom(60)).hexdigest().encode('ascii')
mNdd = HBct.pbkdf2_hmac('sha512', jTXt.encode('utf-8'), NTfD, 100000)
mNdd = MRxC.hexlify(mNdd)
return (NTfD + mNdd).decode('ascii') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qzFd(YKHO, jTXt):\n YKHO.hash = jf1V.encrypt(jTXt)",
"def qzFd(YKHO, jTXt):\n YKHO.password_hash = jf1V.hash(jTXt)",
"def qzFd(YKHO, jTXt):\n YKHO.password_hash = jf1V.hash(jTXt)",
"def qzFd(YKHO, jTXt):\n YKHO.password_hash = jf1V.encrypt(jTXt)",
"def qzFd(YKHO, jTXt):\n NTfD = B8ni.gen... | [
"0.84914315",
"0.8482577",
"0.8482577",
"0.84023434",
"0.82536817",
"0.82148904",
"0.8106015",
"0.8076616",
"0.80739087",
"0.8029491",
"0.79276323",
"0.79276323",
"0.7925622",
"0.79207146",
"0.79207146",
"0.79088366",
"0.7899531",
"0.7897493",
"0.7890519",
"0.78723425",
"0.78... | 0.74981856 | 70 |
Splits a list up into chunks | def eHxA(JZXy, ztRo):
return [JZXy[YRbF:YRbF + ztRo] for YRbF in range(0, len(JZXy), ztRo)] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kzv7(ybN4, exwG):\n return list(eHxA(ybN4, exwG))",
"def eHxA(bCES, mTYt):\n dixj = []\n for YRbF in range(0, len(bCES), mTYt):\n dixj.append(bCES[YRbF:YRbF + mTYt])\n return dixj",
"def nJNG(Q6uT: List, eHxA: int):\n sehz = []\n ztRo = len(Q6uT) // eHxA\n for YRbF in range(eHxA... | [
"0.8526117",
"0.84466356",
"0.84020305",
"0.8321699",
"0.82470316",
"0.8216473",
"0.8204353",
"0.81955",
"0.81783825",
"0.815875",
"0.81372756",
"0.8136265",
"0.8093765",
"0.8044003",
"0.803612",
"0.8017287",
"0.7968069",
"0.795863",
"0.79484093",
"0.79244363",
"0.7921372",
... | 0.0 | -1 |
Measure performance with batch_size=512, gpu=2 and distribution_strategy=`mirrored`. | def j8P8(YKHO):
Ep8u = 512
Wbxz, x7iw, qVE2 = dLUI.measure_performance(YKHO._build_model, x=YKHO.imdb_x, y=YKHO.imdb_y, batch_size=Ep8u, num_gpus=2, distribution_strategy='mirrored', optimizer='adam', loss='binary_crossentropy', metrics=['accuracy'])
yIVm = dLUI.get_keras_examples_metadata('bidirectional_ls... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NKBm(YKHO):\n mess = oyIN.random.random((2, 5, 8, 3)).astype(oyIN.float32)\n with iOPF.use_gpu():\n FDA8 = sMtZ(devices=['cpu', 'gpu'])\n with FDA8.scope():\n gEmA = eB3a.RandomRotation(0.5)\n hlel = FDA8.run(lambda: gEmA(mess, training=True))\n hkxX = hlel.valu... | [
"0.6343267",
"0.60454684",
"0.596405",
"0.5810037",
"0.579788",
"0.57901984",
"0.57645005",
"0.57640386",
"0.57611483",
"0.5748647",
"0.5745944",
"0.5717434",
"0.57120985",
"0.57064736",
"0.567832",
"0.5670794",
"0.5667149",
"0.5659892",
"0.5634561",
"0.56044483",
"0.56020707... | 0.5368033 | 44 |
return true if there is an intersection between the two lines. | def eHD1(WKvO, o4D3, LVAh, si3g):
gpRq = VMex(WKvO, o4D3)
XOOk = -1 * gpRq
kYGz = 1
dg7v = -1 * (gpRq * WKvO[0] - WKvO[1])
E43s = VMex(LVAh, si3g)
pHXX = -1 * E43s
ftz7 = 1
iYf1 = -1 * (E43s * LVAh[0] - LVAh[1])
D8J1 = oyIN.array([[XOOk, kYGz], [pHXX, ftz7]])
FhP2 = oyIN.array([d... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LHgg(YKHO, jzdc, Fg_i):\n return YKHO.__point_belongs_the_line(jzdc, Fg_i.end) or YKHO.__intersect_points(jzdc.begin, jzdc.end, Fg_i.begin, Fg_i.end)",
"def GFNq(YKHO, zFiD):\n return YKHO.__intersect_lines(YKHO, zFiD)",
"def hy8E():\n pass",
"def _s56(YKHO, lCHq, ANJu):\n for YRbF in Ni9Y(0,... | [
"0.82083607",
"0.7977636",
"0.7946325",
"0.778826",
"0.77427906",
"0.77057827",
"0.7576938",
"0.7571095",
"0.75702083",
"0.75517905",
"0.75517905",
"0.7548659",
"0.75128907",
"0.74199146",
"0.7416912",
"0.74016887",
"0.73986226",
"0.73802847",
"0.736396",
"0.73622555",
"0.732... | 0.0 | -1 |
Encode the Project to a JSON string, optionally writing to disk This function will perform the json encoding operation and store the result in memory before writing the result to the project file (if to_file is True), this should prevent corruption of the project file in cases where the JSON encoder fails partway throu... | def oD7C(YKHO, W1Sa=False, MnRD=None) -> uLKX[str, bool]:
try:
LugE = qQXR.dumps(YKHO, cls=RB7e, indent=MnRD)
except TypeError as e:
qmLP.warn(f'Unable to encode project: {tTpl!s}')
return False
if W1Sa:
with YKHO.path.joinpath(YKHO._projectfile).open('w') as ytgA:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xkzz(YKHO, UXEK=None):\n UXEK = YKHO.project_save_path if UXEK is None else UXEK\n with open(UXEK, mode='w') as alsS:\n alsS.write(YKHO.project_config.getJsonStr())",
"def qyMt(Emd4):\n with open('project.json', mode='w') as eHNT:\n KJdK = qQXR.dumps(Emd4.project_data, indent=2)\n ... | [
"0.68424034",
"0.6717828",
"0.6555024",
"0.64245254",
"0.6296784",
"0.6281802",
"0.62780666",
"0.62366015",
"0.620819",
"0.61933464",
"0.61909676",
"0.6189604",
"0.6184044",
"0.6163611",
"0.6145804",
"0.6123158",
"0.6123158",
"0.6093732",
"0.60921377",
"0.60762274",
"0.607622... | 0.7988712 | 0 |
Get default gas limit by operation kind. | def BEcn(hGN5: Dict[str, Any], uwaB: Optional[Dict[str, Any]]=None) -> int:
if uwaB is None:
uwaB = lE2N
hkxX: cuzp[str, int] = {'reveal': 1000, 'delegation': 1000, 'origination': uwaB['hard_gas_limit_per_operation'], 'transaction': uwaB['hard_gas_limit_per_operation'] if hGN5.get('destination', '').sta... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def K3hO():\n return u406[0]",
"def sRRW(hGN5, uwaB: Optional[Dict[str, Any]]=None) -> int:\n if uwaB is None:\n uwaB = lE2N\n hkxX: cuzp[str, int] = {'reveal': 0, 'delegation': 0, 'origination': uwaB['hard_storage_limit_per_operation'], 'transaction': uwaB['hard_storage_limit_per_operation'] if ... | [
"0.65592134",
"0.62382865",
"0.622479",
"0.61158615",
"0.6063064",
"0.6027234",
"0.60023326",
"0.59859276",
"0.59342057",
"0.58500874",
"0.57892036",
"0.5734739",
"0.56801546",
"0.56360966",
"0.5630985",
"0.5630985",
"0.5625079",
"0.56231594",
"0.559457",
"0.55902416",
"0.558... | 0.6787587 | 0 |
Return the User Identity Negotiation Item (if available). Returns pdu_primitives.UserIdentityNegotiation or None Returns the User Identity item if one is available, otherwise ``None``. | def m5M4(YKHO) -> h8nf[hdnf]:
if YKHO.writeable:
DumB = YKHO._ext_neg[hdnf]
if DumB:
return YWvJ(hdnf, DumB[0])
return None
for ZfUD in YKHO.user_information:
if isinstance(ZfUD, hdnf):
return ZfUD
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _E99(YKHO) -> h8nf['outputs.IdentityResponse']:\n return qe4Y.get(YKHO, 'identity')",
"def _yLb(YKHO) -> h8nf[GxA8]:\n if YKHO._invitation is not None:\n return YKHO._invitation\n D3lj = YKHO.request.session.get(YKHO.ACCOUNT_VERIFIED_EMAIL_KEY, None)\n if D3lj is None:\n return None... | [
"0.5699673",
"0.56978846",
"0.56545806",
"0.5652237",
"0.5636396",
"0.5574952",
"0.5535875",
"0.5535875",
"0.5535875",
"0.5535875",
"0.54921323",
"0.5462931",
"0.5431585",
"0.5431585",
"0.5431003",
"0.540822",
"0.5382156",
"0.5368069",
"0.5368069",
"0.5368069",
"0.5365499",
... | 0.823562 | 0 |
CDF for the chisquare distribution. | def YzER(WKvO, G1Hx):
with g2zq.extradps(5):
G1Hx = ckvx(G1Hx)
WKvO = g2zq.mpf(WKvO)
if WKvO <= 0:
return g2zq.zero
Z9rn = g2zq.gammainc(G1Hx / 2, a=0, b=WKvO / 2, regularized=True)
return Z9rn | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YzER(YKHO, WKvO):\n return YKHO.distr.cdf(WKvO)",
"def YzER(YKHO, WKvO):\n return YKHO._frozen.cdf(WKvO)",
"def YzER(YKHO) -> dtgG:\n return dtgG(distribution=YKHO._distribution, method_name='cdf', name='CDF', num_dims=YKHO._num_dims, parent=YKHO)",
"def mMPC(YKHO, WKvO):\n return YKHO.tw_app... | [
"0.76825094",
"0.75962216",
"0.7567718",
"0.7533031",
"0.7374327",
"0.73212653",
"0.73085696",
"0.7273858",
"0.7250026",
"0.72469896",
"0.7231164",
"0.72086453",
"0.7071428",
"0.6967695",
"0.695731",
"0.69118243",
"0.6888136",
"0.68685234",
"0.6857837",
"0.68573993",
"0.68459... | 0.0 | -1 |
Variance of the chisquare distribution. | def SRYB(G1Hx):
with g2zq.extradps(5):
G1Hx = ckvx(G1Hx)
return 2 * G1Hx | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lI6Z(YKHO, z8hy):\n YKHO.df = YKHO.d1.N - 1\n try:\n YKHO.chisquare = YKHO.d1.stderr / z8hy * YKHO.df\n except ZeroDivisionError:\n YKHO.chisquare = 0.0\n YKHO.prob = CWzo(YKHO.chisquare, YKHO.df)",
"def eyk1(YKHO):\n try:\n return YKHO.sum_of_squares / YKHO.count - YKHO.m... | [
"0.75863934",
"0.75817794",
"0.73357004",
"0.7332954",
"0.72912675",
"0.7280514",
"0.7240727",
"0.718801",
"0.7187515",
"0.7169664",
"0.7161666",
"0.71494555",
"0.71138436",
"0.7098938",
"0.70870507",
"0.708403",
"0.7038846",
"0.7027961",
"0.7017127",
"0.7009168",
"0.6955092"... | 0.0 | -1 |
Sets the session variables when starting a quiz for the first time as a non signedin user | def w8Pp(YKHO):
YKHO.request.session.set_expiry(259200)
WlEx = YKHO.quiz.get_questions()
Mh_N = [bAls.id for bAls in WlEx]
if YKHO.quiz.random_order is True:
tuKI.shuffle(Mh_N)
if YKHO.quiz.max_questions and YKHO.quiz.max_questions < len(Mh_N):
Mh_N = Mh_N[:YKHO.quiz.max_questions]
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JbeI():\n global question_num\n global survey_id\n cuiw['responses'] = []\n cuiw['comments'] = []\n return vKnz(f'/questions/{YoOB}/{IpJO}')",
"def P7xb(cuiw):\n cuiw.attributes['rem_quiz_ques'] = range(len(hDlN))\n cuiw.attributes['rem_tips'] = range(len(GZXL))\n cuiw.attributes['sta... | [
"0.7023267",
"0.69827557",
"0.6648002",
"0.64872915",
"0.6398742",
"0.6379207",
"0.6317281",
"0.6317281",
"0.63160014",
"0.63110656",
"0.6303823",
"0.6161459",
"0.6118616",
"0.6068877",
"0.60511696",
"0.60486287",
"0.60338306",
"0.60140085",
"0.6003583",
"0.5996727",
"0.59813... | 0.6449113 | 4 |
Initializes the instance with passed API token. | def FIMM(YKHO, eOtH):
YKHO._session = G4JS.Session()
YKHO._session.headers.update({'X-Authentication-Token': eOtH}) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, eOtH):\n YKHO.__token = eOtH\n YKHO.__endpoint = 'https://api.fomo.com'\n YKHO.__version__ = '1.2.2'",
"def FIMM(YKHO, eOtH, Ms2Z=l4ys, wyyA=True, dsE5=False):\n if not eOtH:\n raise Exception('no token specified!')\n YKHO.token = eOtH\n YKHO.api_url = Ms2Z\n YKHO.versi... | [
"0.8111969",
"0.78280926",
"0.7783759",
"0.77381057",
"0.76433295",
"0.7586574",
"0.75618577",
"0.75586414",
"0.7549424",
"0.7488829",
"0.74626213",
"0.7451415",
"0.74443203",
"0.7412531",
"0.73227",
"0.72906727",
"0.72828555",
"0.7244825",
"0.7230528",
"0.72298974",
"0.72249... | 0.7401192 | 14 |
Loads the MNIST training and test datasets then stores them as a byte array in the running directory | def UlWi(zBu_=zBu_, NI2E=NI2E):
GVWp = rLdf.read_csv('./mnist_train.csv')
af07 = rLdf.read_csv('./mnist_test.csv')
VJv0 = GVWp.iloc[:zBu_, 0].values
VJv0 = VJv0.reshape([VJv0.shape[0], 1])
Lcqa = GVWp.iloc[:zBu_, 1:].values
H96n = af07.iloc[:NI2E, 0].values
H96n = H96n.reshape([H96n.shape[0]... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EcIH(YKHO) -> None:\n XOw4(YKHO.data_dirname(), train=True, download=True)\n XOw4(YKHO.data_dirname(), train=False, download=True)",
"def UlWi():\n BVu8 = oyIN.asarray(CgcG('./MNIST_data/t10k-images.idx3-ubyte'), dtype='float32')\n PdIf = oyIN.asarray(Tuwg('./MNIST_data/t10k-labels.idx1-ubyte'), ... | [
"0.74154323",
"0.7412772",
"0.7396403",
"0.7286926",
"0.7183038",
"0.71815836",
"0.71159256",
"0.71118706",
"0.7102436",
"0.70683265",
"0.70656925",
"0.7035166",
"0.7022945",
"0.70112056",
"0.700362",
"0.69812214",
"0.6980565",
"0.69775426",
"0.6948403",
"0.6947721",
"0.69405... | 0.6971952 | 18 |
Constructor for the TestIdpReachability class | def FIMM(YKHO, Wb9V=None, nJU4=None):
YKHO.issuer_id = Wb9V
YKHO.sso_url = nJU4 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OdgU(APmz, GPtr, qIxc):\n return QVx4(APmz, GPtr, qIxc)",
"def FIMM(YKHO, I33c, bIwZ, n72y, MYjm, pu1N=None):\n YKHO.ip_address = I33c\n YKHO.port = bIwZ\n YKHO.access_cert = n72y\n YKHO.access_key = MYjm\n YKHO.http_client = pu1N\n YKHO._device_list = None\n YKHO._scenario_list = Non... | [
"0.643863",
"0.63522273",
"0.628178",
"0.6216667",
"0.6208197",
"0.6200201",
"0.61968136",
"0.6188269",
"0.61166745",
"0.61069995",
"0.6094801",
"0.6091767",
"0.60877633",
"0.6072237",
"0.6071021",
"0.60552096",
"0.6039276",
"0.6018295",
"0.5995205",
"0.5985459",
"0.59805745"... | 0.0 | -1 |
Creates an instance of this model from a dictionary | def rQfz(Emd4, cmPJ):
if cmPJ is None:
return None
Wb9V = cmPJ.get('issuerId')
nJU4 = cmPJ.get('ssoUrl')
return Emd4(Wb9V, nJU4) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rQfz(Emd4, cmPJ):\n if cmPJ == None:\n return None\n else:\n mWFP = cmPJ.get('name')\n l8cJ = cmPJ.get('generic_id')\n Gsi3 = cmPJ.get('therauptic_uses')\n PALZ = cmPJ.get('search_score')\n return Emd4(mWFP, l8cJ, Gsi3, PALZ)",
"def rQfz(Emd4, cmPJ):\n if cm... | [
"0.83722425",
"0.8335738",
"0.8215464",
"0.8167521",
"0.8167521",
"0.81483614",
"0.8051766",
"0.80300796",
"0.8013641",
"0.79792094",
"0.79221934",
"0.7919166",
"0.79183745",
"0.79125935",
"0.79004663",
"0.78967476",
"0.7886129",
"0.78760797",
"0.78543913",
"0.78543913",
"0.7... | 0.7906434 | 14 |
Plot line with slope ``m`` and intercept ``b``. | def Hx4M(r8hN, Fg_i, aNZO, jk7u=(-1.05, 1.05), rTQi=(-1.05, 1.05), YPaw=0.1, qfpW='g--'):
WKvO = oyIN.arange(aNZO.get_xlim()[0], aNZO.get_xlim()[1], YPaw)
aNZO.plot(WKvO, r8hN * WKvO + Fg_i, qfpW) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def k8lc(bK54, r8hN, Fg_i, TNF5=0, **qiAx):\n _tCw = oyIN.array(r8hN * (bK54 - TNF5) + Fg_i)\n QrM1.plot(bK54, _tCw, **qiAx)\n return [bK54, _tCw]",
"def Juqh(VMex, BlB8):\n MPlV = QrM1.gca()\n mMG6 = oyIN.array(MPlV.get_xlim())\n VUzz = BlB8 + VMex * mMG6\n QrM1.plot(mMG6, VUzz)",
"def Ju... | [
"0.76849335",
"0.7565209",
"0.71893895",
"0.7074059",
"0.7050499",
"0.7039173",
"0.7039173",
"0.6896241",
"0.6863638",
"0.68619406",
"0.6495337",
"0.6465556",
"0.6421916",
"0.62993497",
"0.6269564",
"0.6230937",
"0.620801",
"0.6107783",
"0.6107783",
"0.6064789",
"0.5988972",
... | 0.768928 | 0 |
If the form is valid, save the associated model. | def lwXz(YKHO, L03z):
YKHO.object = L03z.save(commit=False)
YKHO.object.user = YKHO.request.user
Vb5F = YKHO.object.fs
glp8 = YKHO.object.HP
Kr7U = YKHO.object.Np
o_Kk = YKHO.object.Pd
tryE = YKHO.object.Wg
sg1a = YKHO.object.Wp
zbR6 = YKHO.object.hrs
vexM = YKHO.object.q
rBb... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def deVW(YKHO, L03z):\n L03z.save()",
"def lwXz(YKHO, L03z):\n L03z.save()\n return super().form_valid(L03z)",
"def lwXz(YKHO, L03z):\n YKHO.object = L03z.save(YKHO.request.user)\n return Yd7Q(YKHO.get_success_url(), status=303)",
"def lwXz(YKHO, L03z):\n YKHO.object = L03z.save(YKHO.reques... | [
"0.7786421",
"0.7445933",
"0.7416595",
"0.7416595",
"0.7391896",
"0.7391896",
"0.7391896",
"0.7391896",
"0.71387583",
"0.7123397",
"0.7104942",
"0.7073247",
"0.7056793",
"0.7056793",
"0.705132",
"0.70319355",
"0.702643",
"0.7008229",
"0.7001526",
"0.6998036",
"0.69720834",
... | 0.0 | -1 |
init method for LinearElasticMaterial, could be temperature dependent | def FIMM(YKHO, UXqs: str, InLe: np.array, ISVE: np.array, Sha_: np.array, hJdN: np.array):
YKHO._ro = YKHO.convert_to_ndarray(InLe)
YKHO._E = YKHO.convert_to_ndarray(ISVE)
YKHO._nu = YKHO.convert_to_ndarray(Sha_)
YKHO._alpha = YKHO.convert_to_ndarray(hJdN)
super(EqgA, YKHO).__init__(label=UXqs) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, mWFP='fhrfuel'):\n DLSy.__init__(YKHO, name=mWFP, k=YKHO.thermal_conductivity(), cp=YKHO.specific_heat_capacity(), dm=YKHO.density())",
"def FIMM(YKHO, Mx95, dGrG, eHp6=0, InLe=None, lXgg=False):\n if InLe is not None:\n if type(Mx95) is j6Al.Element:\n Mx95 = j6Al.Element(... | [
"0.70675343",
"0.69723135",
"0.6708539",
"0.6682294",
"0.6620277",
"0.6554663",
"0.65440106",
"0.6506974",
"0.6464033",
"0.6456954",
"0.64532626",
"0.6450859",
"0.6441374",
"0.6437296",
"0.64334726",
"0.63860375",
"0.6369078",
"0.63559353",
"0.63316244",
"0.6326678",
"0.63196... | 0.64970064 | 8 |
The transposed convolution (/ cross correlation). | def RzIw(YKHO, WKvO):
LVAh = WKvO
if YKHO.n_pooling > 2:
LVAh = YKHO.unpool_3(LVAh)
if YKHO.n_pooling > 1:
LVAh = YKHO.deconv_3(LVAh)
LVAh = YKHO.unpool_4(LVAh)
if YKHO.n_pooling > 0:
LVAh = YKHO.deconv_4(LVAh)
LVAh = YKHO.unpool_5(LVAh)
LVAh = YKHO.deconv_5(L... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nK42():\n return _w_u(op_name='Deconvolution', transforms={'kernel_shape': 'kernel', 'strides': 'stride', 'dilations': ('dilate', (0, 0)), 'pads': ('pad', (0, 0), Jkt_), 'group': ('num_group', 1)}, disables=['output_shape'], custom_check=q5y2())",
"def dWee(jzdc):\n return oyIN.conjugate(oyIN.transpose... | [
"0.69131947",
"0.65249735",
"0.64896625",
"0.64560056",
"0.6443695",
"0.643033",
"0.6282609",
"0.62639385",
"0.62383723",
"0.623704",
"0.62185955",
"0.62080353",
"0.6183002",
"0.6172816",
"0.6166047",
"0.6166047",
"0.6146289",
"0.61322445",
"0.6063013",
"0.6025638",
"0.596341... | 0.0 | -1 |
The models forward pass, embodying encoding, decoding and final activations of the output layer. | def KVH6(YKHO, WKvO):
if YKHO.n_pooling > 2:
assert WKvO.shape[-2] == YKHO.img_h and YKHO.img_w == WKvO.shape[-1], f'only {YKHO.img_h}x{YKHO.img_w}images allowed for this model'
LVAh = YKHO.encode(WKvO)
LVAh = YKHO.decode(LVAh)
LVAh = YKHO.output_layer(LVAh)
return LVAh | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KVH6(YKHO):\n\n def ZFZa(VZhH, Ymdl, input):\n WKvO = VZhH(input)\n WKvO = Ymdl(WKvO)\n return WKvO\n D1Lj = ZylS.keras.Input(shape=(None, None, 1))\n WKvO = ZFZa(YKHO.conv1a, YKHO.bn1, D1Lj)\n WKvO = ZFZa(YKHO.conv1b, YKHO.bn2, WKvO)\n WKvO = YKHO.pool1(WKvO)\n WKvO = ZF... | [
"0.7267977",
"0.7220791",
"0.71348274",
"0.71083635",
"0.70347655",
"0.6970607",
"0.69619447",
"0.68982804",
"0.6884405",
"0.6877125",
"0.67884153",
"0.6775252",
"0.67620695",
"0.67620695",
"0.6743305",
"0.67342216",
"0.67299825",
"0.66762286",
"0.66679144",
"0.66555256",
"0.... | 0.0 | -1 |
Find all files in a directory with matching extension. Expects an extension with the dot included, e.g. `ext=".shp"`. | def uB9Y(pmON, *, YBcr):
hHld = SC2F.glob(Hy7s.path.join(pmON, '**', f'*{YBcr}'), recursive=True)
return [Hy7s.path.abspath(Hy7s.path.join(pmON, eHNT)) for eHNT in hHld] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _lzz(AGPF, YBcr):\n return k8re.glob(f'{AGPF}/*.{YBcr}')",
"def A99F(p8BF, Va2z):\n ckRy = SC2F.glob(gzes(p8BF, '**/*{}'.format(Va2z)), recursive=True)\n return ckRy",
"def hBWK(Kwmb, CBZq):\n import os\n RRlC = []\n for tk5Y, AQSv, YvU2 in os.walk(Kwmb):\n for nUeQ in YvU2:\n ... | [
"0.84920764",
"0.82848704",
"0.8149845",
"0.8120804",
"0.81093293",
"0.80607706",
"0.8001566",
"0.79567057",
"0.79526335",
"0.7888779",
"0.7876976",
"0.7857975",
"0.7777392",
"0.7774753",
"0.7742573",
"0.7735946",
"0.77066165",
"0.7685289",
"0.76846254",
"0.7679594",
"0.76192... | 0.8128007 | 3 |
Calculate the number of feet required to paint the surface area of a single room | def iWzZ(kosu):
return int(kosu['length']) * int(kosu['width']) * int(kosu['height']) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ivpi(YKHO) -> float:\n return 0",
"def XXmn(YKHO) -> float:\n return 6 * YKHO.side1 ** 2",
"def XXmn(YKHO) -> float:\n return 4 * epAf.pi * YKHO.radius ** 2",
"def OAE2(YKHO):\n return (YKHO.rect.get_points()[1] - YKHO.rect.get_points()[0]).length()",
"def ZXl_(YKHO):\n return YKHO.surfa... | [
"0.75197583",
"0.7385314",
"0.7141296",
"0.7023268",
"0.698112",
"0.69144064",
"0.68778586",
"0.67834836",
"0.67831606",
"0.6760183",
"0.67552483",
"0.67457515",
"0.6678237",
"0.6661005",
"0.66351944",
"0.66306126",
"0.6629813",
"0.66284263",
"0.66280645",
"0.6626301",
"0.660... | 0.0 | -1 |
> Get the list of token_id given doc. | def dOJN(YKHO, s2mk):
return [YKHO.token_to_id(eOtH) for eOtH in s2mk] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CB1w(Q5mJ: list, OVCu: str='sample_id') -> list:\n LllZ = []\n for WKvO in Q5mJ:\n LllZ.append(WKvO[OVCu])\n return LllZ",
"def dOJN(YKHO, A97Q):\n A97Q = map(YKHO.process_token, A97Q)\n return [YKHO.token_to_id(eOtH) for eOtH in A97Q]",
"def dOJN(YKHO, A97Q):\n A97Q = map(YKHO.pro... | [
"0.70563877",
"0.6895185",
"0.6895185",
"0.6709525",
"0.6671638",
"0.655648",
"0.6523993",
"0.63902175",
"0.6342865",
"0.6331124",
"0.6310733",
"0.63010436",
"0.63010436",
"0.63010436",
"0.6292572",
"0.6143506",
"0.6130645",
"0.6126125",
"0.60806525",
"0.60617304",
"0.6059873... | 0.6924339 | 1 |
> tokenid to token (string). | def caUt(YKHO, or8S):
return YKHO._id2token[or8S] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def caUt(YKHO, hbFX):\n pass",
"def yeO7(YKHO, eOtH):\n pass",
"def tqE6(YKHO, d6pt):\n return YKHO.decoder.get(d6pt, '')",
"def tqE6(YKHO, d6pt: int) -> str:\n return YKHO.decoder.get(d6pt, YKHO.unk_token)",
"def XCGh(id: int) -> str:\n GfdN(0 <= id <= Ajl1, 'id too big or negative')\n m... | [
"0.8107918",
"0.75699043",
"0.71758634",
"0.71686864",
"0.7116835",
"0.6951837",
"0.6951837",
"0.6951837",
"0.69066894",
"0.6886876",
"0.6884627",
"0.6884627",
"0.6877507",
"0.6867173",
"0.6828539",
"0.6812893",
"0.6807385",
"0.679441",
"0.67930055",
"0.6784199",
"0.6761991",... | 0.72818387 | 2 |
> pads the input sequence to given length | def gc7n(YKHO, s2mk, u54L):
return s2mk + ['<pad>'] * (u54L - len(s2mk)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BVhq(YKHO, aWuw):\n FlGb = aWuw[0]\n if YKHO.sequence_length is not None:\n while len(aWuw) < YKHO.sequence_length:\n aWuw.insert(0, FlGb)\n return aWuw",
"def hVLt(WKvO, eusk):\n return WKvO + [0] * (eusk - len(WKvO))",
"def FHnj(YKHO, DNs0, wzH_):\n if len(DNs0) < wzH_:\n... | [
"0.80466366",
"0.77253807",
"0.7663542",
"0.7600842",
"0.75417405",
"0.7535751",
"0.7509339",
"0.7492639",
"0.7398179",
"0.7351274",
"0.73334116",
"0.7296666",
"0.7282146",
"0.7250064",
"0.7226555",
"0.7221363",
"0.71869135",
"0.7143961",
"0.7105974",
"0.70930994",
"0.7069614... | 0.6921381 | 29 |
> Return the vocabulary as a reversed dict object. | def YLre(YKHO):
return YKHO._id2token | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YLre(CtWL: Mapping) -> W4IT:\n return {Ty9i: G1Hx for G1Hx, Ty9i in CtWL.items()}",
"def THOJ(ED_H):\n YLre = {}\n for H5ew, BWXx in ED_H.items():\n YLre[BWXx] = H5ew\n return YLre",
"def TAm0(YKHO):\n return dict(zip(YKHO.vocab_id.values(), YKHO.vocab_id.keys()))",
"def Pln0(YKHO) ... | [
"0.8458486",
"0.84026843",
"0.7524813",
"0.7114251",
"0.6873697",
"0.66710967",
"0.6636469",
"0.66103756",
"0.6548791",
"0.62848204",
"0.62176275",
"0.6189644",
"0.61559176",
"0.61443794",
"0.6133068",
"0.6121662",
"0.6120551",
"0.61137694",
"0.611077",
"0.6094297",
"0.608503... | 0.70467466 | 5 |
If ``withscores`` is specified in the options, return the response as a list of (value, score) pairs | def uXCv(geh0, **xAU6):
if not geh0 or not xAU6['withscores']:
return geh0
AHb1 = xAU6.get('score_cast_func', float)
WhY1 = iter(geh0)
return list(zip(WhY1, map(AHb1, WhY1))) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uXCv(geh0, **xAU6):\n if not geh0 or not xAU6.get('withscores'):\n return geh0\n AHb1 = xAU6.get('score_cast_func', float)\n WhY1 = iter(geh0)\n return list(zip(WhY1, map(AHb1, WhY1)))",
"def v4nT(rmft, xAU6):\n kUBT = xAU6['<match-id>']\n JBss = (yield cCrA.get_match_scores(kUBT))\n... | [
"0.6814287",
"0.6764944",
"0.6544417",
"0.6451986",
"0.6316349",
"0.6251291",
"0.6196529",
"0.6165918",
"0.6064111",
"0.6024991",
"0.6024798",
"0.60119987",
"0.6007055",
"0.5947175",
"0.5895468",
"0.5882764",
"0.58714145",
"0.5822329",
"0.5768262",
"0.573679",
"0.5734598",
... | 0.6792821 | 1 |
Redis synchronous replication That returns the number of replicas that processed the query when we finally have at least ``num_replicas``, or when the ``timeout`` was reached. | def sJDd(YKHO, SZsu, vYBr):
return YKHO.execute_command('WAIT', SZsu, vYBr) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SZsu(hjZ6=g9Lu, M0ql=1):\n pfoJ = 0\n IcdW = EB_w(hjZ6, M0ql)\n for YRbF in Ni9Y(1, IcdW + 1):\n pfoJ += Cyin(YRbF, hjZ6, M0ql) - 1\n return pfoJ",
"def C2al(YKHO) -> h8nf[int]:\n return qe4Y.get(YKHO, 'replica_count')",
"def X4Tl(YKHO) -> h8nf[int]:\n return YKHO.stream_info.confi... | [
"0.667995",
"0.64016336",
"0.6245527",
"0.61829907",
"0.60952795",
"0.60952795",
"0.6082554",
"0.6063341",
"0.6063341",
"0.6063341",
"0.6063341",
"0.6063341",
"0.6063341",
"0.6063341",
"0.60449857",
"0.60449857",
"0.60449857",
"0.60449857",
"0.60449857",
"0.60449857",
"0.5999... | 0.6035651 | 20 |
Overwrite bytes in the value of ``name`` starting at ``offset`` with ``value``. If ``offset`` plus the length of ``value`` exceeds the length of the original value, the new value will be larger than before. If ``offset`` exceeds the length of the original value, null bytes will be used to pad between the end of the pre... | def e74e(YKHO, mWFP, vgXP, BWXx):
return YKHO.execute_command('SETRANGE', mWFP, vgXP, BWXx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def v1bl(mWFP, vgXP):\n with oCsa() as NCls:\n wBhk = IpCa(NCls, mWFP)\n wBhk.offset = vgXP",
"def Qa1z(YKHO, BWXx):\n if BWXx >= len(YKHO.data.getvalue()):\n raise TFH0.WrongOffsetValueException('Wrong offset value. Must be less than %d' % len(YKHO.data))\n YKHO.data.seek(BWXx)",
... | [
"0.50675553",
"0.5048511",
"0.49969944",
"0.49969944",
"0.49919146",
"0.49619693",
"0.49541658",
"0.4952471",
"0.4933908",
"0.4883255",
"0.48828813",
"0.48561856",
"0.4834533",
"0.48055536",
"0.4762133",
"0.47585925",
"0.4754739",
"0.47068524",
"0.4702252",
"0.46920818",
"0.4... | 0.44222102 | 47 |
map [lower, upper] > R such that | def dxDF(WKvO, LSh8=0, CN9P=1):
WKvO = oyIN.asarray(WKvO)
epBp = (WKvO - LSh8) / (CN9P - LSh8)
return oyIN.log10((WKvO - LSh8) ** (1 - epBp) / (CN9P - WKvO) ** epBp)
return (1 - epBp) * oyIN.log10(WKvO - LSh8) - epBp * oyIN.log10(CN9P - WKvO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uhQC(WKvO, bF9J, XkWL, fnE_, hiEU):\n SnCn = (hiEU - fnE_) / (XkWL - bF9J)\n FB1E = (WKvO >= bF9J) & (WKvO <= XkWL)\n yzDL = fnE_ + (WKvO - bF9J) * SnCn\n return oLG2.where(FB1E, yzDL, oyIN.nan)",
"def b52D(BWXx, i5J3, gevG, ijYc, EjcV):\n if ijYc >= EjcV:\n return ijYc\n if i5J3 >= ... | [
"0.6421977",
"0.6270116",
"0.6084296",
"0.6038726",
"0.59976506",
"0.5946588",
"0.5792133",
"0.5787207",
"0.5774863",
"0.57663447",
"0.5764899",
"0.5761828",
"0.5733468",
"0.5695027",
"0.56706995",
"0.5650269",
"0.56040466",
"0.5592527",
"0.55886835",
"0.558057",
"0.5569389",... | 0.0 | -1 |
A private method to initalize the UI. | def eoQc(YKHO):
GMt0 = CsJA.QHBoxLayout()
YKHO.setLayout(GMt0)
GMt0.addStretch(1)
PdnZ = CsJA.QGridLayout()
GMt0.addLayout(PdnZ)
YKHO.left_speed_bar = CsJA.QProgressBar(YKHO)
YKHO.left_speed_bar.setOrientation(wDYU.Qt.Vertical)
YKHO.left_speed_bar.setTextVisible(True)
YKHO.left_speed... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MG5I(YKHO):\n YKHO.setFixedSize(600, 300)\n YKHO.centre()\n YKHO.setWindowTitle('UBCCrawler')\n YKHO.statusBar().showMessage('Ready')\n YKHO.initTextBrowser()\n YKHO.initDropDownMenus()\n YKHO.show()",
"def uN29(YKHO):\n YKHO.setWindowTitle(VnUg)\n YKHO.screen = x5x0.QDesktopWidget... | [
"0.85548466",
"0.82534343",
"0.8163527",
"0.8078939",
"0.80631065",
"0.80212814",
"0.8011107",
"0.79480165",
"0.79472876",
"0.7943896",
"0.79286456",
"0.7882703",
"0.7853188",
"0.7852865",
"0.7832363",
"0.7798285",
"0.77722687",
"0.774557",
"0.77428985",
"0.7724246",
"0.77145... | 0.0 | -1 |
Clone(itkLabelShapeKeepNObjectsImageFilterISS2 self) > itkLabelShapeKeepNObjectsImageFilterISS2_Pointer | def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterISS2_Pointer':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS2_Clone(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterIUC2_Pointer':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_Clone(YKHO)",
"def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterIUS2_Pointer':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS2_Clone(YKHO)",
"def B29l(YKHO) -> 'itkLab... | [
"0.9123995",
"0.8998374",
"0.88823557",
"0.87246865",
"0.8642271",
"0.78007215",
"0.76307285",
"0.76003355",
"0.7572968",
"0.74166113",
"0.73845845",
"0.72932976",
"0.72911036",
"0.7216167",
"0.716388",
"0.7112898",
"0.71073973",
"0.70736724",
"0.7042631",
"0.7037589",
"0.703... | 0.9220146 | 0 |
GetAttribute(itkLabelShapeKeepNObjectsImageFilterISS2 self) > unsigned int | def xhr3(YKHO) -> 'unsigned int':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS2_GetAttribute(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xhr3(YKHO) -> 'unsigned int':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_GetAttribute(YKHO)",
"def xhr3(YKHO) -> 'unsigned int':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS2_GetAttribute(YKHO)",
"def xhr3(YKHO) -> 'unsigned int':\n return _x7Y.itkLabelShapeKeepNObjectsImageFi... | [
"0.82419974",
"0.8132394",
"0.8105045",
"0.7930971",
"0.78602475",
"0.7492118",
"0.74563116",
"0.7401565",
"0.7317905",
"0.7281601",
"0.7271653",
"0.6958174",
"0.6946195",
"0.69381624",
"0.69376975",
"0.6937069",
"0.6910547",
"0.69087684",
"0.69055706",
"0.6897018",
"0.689066... | 0.8324627 | 0 |
cast(itkLightObject obj) > itkLabelShapeKeepNObjectsImageFilterISS2 | def YWvJ(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterISS2 *':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS2_cast(YEnM) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XmWS(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterISS2 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS2_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUS2 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS2_cast(YEnM)",
"def... | [
"0.8853884",
"0.8758655",
"0.87459505",
"0.8727454",
"0.87127876",
"0.85528326",
"0.8524173",
"0.8428165",
"0.84255046",
"0.8379133",
"0.82562953",
"0.773708",
"0.7736219",
"0.77245915",
"0.76468277",
"0.7552522",
"0.74982476",
"0.7470241",
"0.7399858",
"0.7268259",
"0.71889"... | 0.8789389 | 1 |
New() > itkLabelShapeKeepNObjectsImageFilterISS2 Create a new object of the class itkLabelShapeKeepNObjectsImageFilterISS2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non ... | def oW_4(*qIxc, **PECO):
YEnM = MqSj.__New_orig__()
import itkTemplate
itkTemplate.New(YEnM, *qIxc, **PECO)
return YEnM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oW_4(*qIxc, **PECO):\n YEnM = RtvQ.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = EiVY.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.8038977",
"0.7913706",
"0.7808172",
"0.7473443",
"0.73852736",
"0.7130151",
"0.7100101",
"0.7088036",
"0.7087611",
"0.7076217",
"0.7060352",
"0.70518905",
"0.7045813",
"0.7045211",
"0.7045211",
"0.70402324",
"0.7020868",
"0.70134187",
"0.70125294",
"0.70125294",
"0.6993005... | 0.825762 | 0 |
itkLabelShapeKeepNObjectsImageFilterISS2_cast(itkLightObject obj) > itkLabelShapeKeepNObjectsImageFilterISS2 | def XmWS(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterISS2 *':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS2_cast(YEnM) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UQf2(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUC2 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_cast(YEnM)",
"def BWP2(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUS2 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS2_cast(YEnM)",
"def... | [
"0.9222452",
"0.9217768",
"0.9155583",
"0.9060883",
"0.90551245",
"0.88679165",
"0.8809844",
"0.87805516",
"0.87429786",
"0.8638977",
"0.8603957",
"0.78380173",
"0.78003466",
"0.77358437",
"0.76990575",
"0.7683442",
"0.76352644",
"0.7574947",
"0.75494426",
"0.73918325",
"0.73... | 0.9422812 | 0 |
Clone(itkLabelShapeKeepNObjectsImageFilterISS3 self) > itkLabelShapeKeepNObjectsImageFilterISS3_Pointer | def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterISS3_Pointer':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS3_Clone(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterIUC3_Pointer':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC3_Clone(YKHO)",
"def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterIUS3_Pointer':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_Clone(YKHO)",
"def B29l(YKHO) -> 'itkLab... | [
"0.9093311",
"0.9082058",
"0.8902915",
"0.8892517",
"0.87446874",
"0.8006908",
"0.79229546",
"0.738359",
"0.73735",
"0.73264104",
"0.7319561",
"0.7273357",
"0.7259617",
"0.7233882",
"0.7233723",
"0.72135806",
"0.7186492",
"0.71851933",
"0.7172194",
"0.71378654",
"0.7116918",
... | 0.9213573 | 0 |
SetReverseOrdering(itkLabelShapeKeepNObjectsImageFilterISS3 self, bool const _arg) | def onLY(YKHO, THRx: 'bool const') -> 'void':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS3_SetReverseOrdering(YKHO, THRx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def onLY(YKHO, THRx: 'bool const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_SetReverseOrdering(YKHO, THRx)",
"def onLY(YKHO, THRx: 'bool const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS2_SetReverseOrdering(YKHO, THRx)",
"def onLY(YKHO, THRx: 'bool const') ... | [
"0.91476774",
"0.90278",
"0.90240353",
"0.9021264",
"0.89718205",
"0.77734274",
"0.7770215",
"0.77391326",
"0.77388096",
"0.76939344",
"0.76901996",
"0.76704836",
"0.76483846",
"0.7617653",
"0.7586876",
"0.75699484",
"0.7537174",
"0.75096524",
"0.7503184",
"0.7247958",
"0.721... | 0.9145285 | 1 |
GetAttribute(itkLabelShapeKeepNObjectsImageFilterISS3 self) > unsigned int | def xhr3(YKHO) -> 'unsigned int':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS3_GetAttribute(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xhr3(YKHO) -> 'unsigned int':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS2_GetAttribute(YKHO)",
"def xhr3(YKHO) -> 'unsigned int':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_GetAttribute(YKHO)",
"def xhr3(YKHO) -> 'unsigned int':\n return _x7Y.itkLabelShapeKeepNObjectsImageFi... | [
"0.8346083",
"0.8288861",
"0.81881016",
"0.818387",
"0.8162974",
"0.74335253",
"0.7403914",
"0.7384994",
"0.7382109",
"0.7354129",
"0.7344418",
"0.68717885",
"0.6869501",
"0.68659705",
"0.6857018",
"0.6855975",
"0.68479776",
"0.68461627",
"0.6834446",
"0.68222344",
"0.6815744... | 0.83300626 | 1 |
cast(itkLightObject obj) > itkLabelShapeKeepNObjectsImageFilterISS3 | def YWvJ(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterISS3 *':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS3_cast(YEnM) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YWvJ(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUS3 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_cast(YEnM)",
"def XmWS(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterISS2 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS2_cast(YEnM)",
"def... | [
"0.87290955",
"0.8706041",
"0.8691891",
"0.8679078",
"0.86646974",
"0.86559254",
"0.86436015",
"0.8627143",
"0.86256146",
"0.8618485",
"0.85274047",
"0.7866237",
"0.78450143",
"0.7689679",
"0.7682384",
"0.75593174",
"0.74864244",
"0.74200284",
"0.7347943",
"0.7211622",
"0.719... | 0.86969644 | 2 |
New() > itkLabelShapeKeepNObjectsImageFilterISS3 Create a new object of the class itkLabelShapeKeepNObjectsImageFilterISS3 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non ... | def oW_4(*qIxc, **PECO):
YEnM = Xmvi.__New_orig__()
import itkTemplate
itkTemplate.New(YEnM, *qIxc, **PECO)
return YEnM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oW_4(*qIxc, **PECO):\n YEnM = S1EE.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = zxRg.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.8100766",
"0.7941779",
"0.7569987",
"0.7418031",
"0.7344063",
"0.73016936",
"0.72802556",
"0.72624564",
"0.724921",
"0.72441715",
"0.724001",
"0.7239222",
"0.72236156",
"0.72236156",
"0.7222353",
"0.7222353",
"0.7215389",
"0.7213941",
"0.7199093",
"0.71785855",
"0.7169604"... | 0.8227348 | 0 |
itkLabelShapeKeepNObjectsImageFilterISS3_cast(itkLightObject obj) > itkLabelShapeKeepNObjectsImageFilterISS3 | def EIoF(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterISS3 *':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS3_cast(YEnM) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tKd6(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUS3 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_cast(YEnM)",
"def y9Ve(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUC3 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC3_cast(YEnM)",
"def... | [
"0.92955476",
"0.92466784",
"0.9159669",
"0.9122084",
"0.9062567",
"0.89361995",
"0.89134103",
"0.88730454",
"0.87660944",
"0.87640107",
"0.87560135",
"0.8074399",
"0.80027086",
"0.79752207",
"0.7895299",
"0.75279063",
"0.7492772",
"0.7474704",
"0.7444913",
"0.7434128",
"0.74... | 0.94029796 | 0 |
Clone(itkLabelShapeKeepNObjectsImageFilterIUC2 self) > itkLabelShapeKeepNObjectsImageFilterIUC2_Pointer | def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterIUC2_Pointer':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_Clone(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterIUS2_Pointer':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS2_Clone(YKHO)",
"def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterISS2_Pointer':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS2_Clone(YKHO)",
"def B29l(YKHO) -> 'itkLab... | [
"0.89805037",
"0.89728135",
"0.88219947",
"0.87557185",
"0.8745812",
"0.79080075",
"0.7742134",
"0.7627157",
"0.7625799",
"0.7535195",
"0.74802184",
"0.7415609",
"0.7413065",
"0.7336593",
"0.73090017",
"0.727448",
"0.7257726",
"0.7233212",
"0.72248113",
"0.722138",
"0.7197881... | 0.9259332 | 0 |
SetBackgroundValue(itkLabelShapeKeepNObjectsImageFilterIUC2 self, unsigned char const _arg) | def eMxk(YKHO, THRx: 'unsigned char const') -> 'void':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_SetBackgroundValue(YKHO, THRx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eMxk(YKHO, THRx: 'unsigned short const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS2_SetBackgroundValue(YKHO, THRx)",
"def eMxk(YKHO, THRx: 'unsigned char const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC3_SetBackgroundValue(YKHO, THRx)",
"def eMxk(YKHO, T... | [
"0.8792477",
"0.8791451",
"0.870365",
"0.86462086",
"0.8577894",
"0.80796427",
"0.7969309",
"0.78833765",
"0.7879832",
"0.7857487",
"0.78419244",
"0.7812268",
"0.7798027",
"0.77754617",
"0.77598864",
"0.77518314",
"0.76996464",
"0.76749873",
"0.76696485",
"0.76279414",
"0.761... | 0.9111076 | 0 |
SetReverseOrdering(itkLabelShapeKeepNObjectsImageFilterIUC2 self, bool const _arg) | def onLY(YKHO, THRx: 'bool const') -> 'void':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_SetReverseOrdering(YKHO, THRx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def onLY(YKHO, THRx: 'bool const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS2_SetReverseOrdering(YKHO, THRx)",
"def onLY(YKHO, THRx: 'bool const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS2_SetReverseOrdering(YKHO, THRx)",
"def onLY(YKHO, THRx: 'bool const') ... | [
"0.9079184",
"0.8992186",
"0.890315",
"0.8867347",
"0.8821239",
"0.7888123",
"0.78512585",
"0.777683",
"0.7751349",
"0.7729769",
"0.7685157",
"0.766751",
"0.7633115",
"0.76139736",
"0.75729907",
"0.75379777",
"0.75315684",
"0.75254965",
"0.75185645",
"0.7476714",
"0.74635714"... | 0.91987693 | 0 |
GetAttribute(itkLabelShapeKeepNObjectsImageFilterIUC2 self) > unsigned int | def xhr3(YKHO) -> 'unsigned int':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_GetAttribute(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xhr3(YKHO) -> 'unsigned int':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS2_GetAttribute(YKHO)",
"def xhr3(YKHO) -> 'unsigned int':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS2_GetAttribute(YKHO)",
"def xhr3(YKHO) -> 'unsigned int':\n return _x7Y.itkLabelShapeKeepNObjectsImageFi... | [
"0.82966834",
"0.8245237",
"0.81142426",
"0.80811054",
"0.80352724",
"0.75233924",
"0.7339484",
"0.733921",
"0.73110217",
"0.72247267",
"0.7221787",
"0.71476746",
"0.7139056",
"0.7126066",
"0.71238333",
"0.70909667",
"0.7073887",
"0.706447",
"0.7058972",
"0.70552236",
"0.7048... | 0.84864604 | 0 |
cast(itkLightObject obj) > itkLabelShapeKeepNObjectsImageFilterIUC2 | def YWvJ(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUC2 *':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_cast(YEnM) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UQf2(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUC2 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_cast(YEnM)",
"def BWP2(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUS2 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS2_cast(YEnM)",
"def... | [
"0.8971746",
"0.87349486",
"0.87071395",
"0.8666186",
"0.86345917",
"0.8525251",
"0.84640616",
"0.8437572",
"0.83675766",
"0.83367264",
"0.8262076",
"0.785179",
"0.7774345",
"0.7734696",
"0.76808894",
"0.76643914",
"0.7567053",
"0.7484904",
"0.74578553",
"0.7373648",
"0.71710... | 0.89005685 | 1 |
New() > itkLabelShapeKeepNObjectsImageFilterIUC2 Create a new object of the class itkLabelShapeKeepNObjectsImageFilterIUC2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non ... | def oW_4(*qIxc, **PECO):
YEnM = RtvQ.__New_orig__()
import itkTemplate
itkTemplate.New(YEnM, *qIxc, **PECO)
return YEnM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oW_4(*qIxc, **PECO):\n YEnM = MqSj.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = EiVY.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.7910166",
"0.78697395",
"0.7687862",
"0.75639963",
"0.7522059",
"0.7390119",
"0.7368565",
"0.7322409",
"0.7322409",
"0.7316401",
"0.73028207",
"0.7291997",
"0.7291997",
"0.7285219",
"0.72754097",
"0.7267001",
"0.72613245",
"0.7259421",
"0.72578686",
"0.7257658",
"0.7254966... | 0.82403904 | 0 |
itkLabelShapeKeepNObjectsImageFilterIUC2_cast(itkLightObject obj) > itkLabelShapeKeepNObjectsImageFilterIUC2 | def UQf2(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUC2 *':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_cast(YEnM) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YWvJ(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUC2 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_cast(YEnM)",
"def BWP2(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUS2 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS2_cast(YEnM)",
"def... | [
"0.9205516",
"0.91133165",
"0.9028739",
"0.89142305",
"0.8864274",
"0.88333976",
"0.8762792",
"0.86786795",
"0.8645167",
"0.8599855",
"0.85558045",
"0.80225074",
"0.7960535",
"0.77951866",
"0.77540994",
"0.7719688",
"0.76682526",
"0.76659495",
"0.7661696",
"0.76113105",
"0.76... | 0.95001775 | 0 |
Clone(itkLabelShapeKeepNObjectsImageFilterIUC3 self) > itkLabelShapeKeepNObjectsImageFilterIUC3_Pointer | def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterIUC3_Pointer':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC3_Clone(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterISS3_Pointer':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS3_Clone(YKHO)",
"def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterIUS3_Pointer':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_Clone(YKHO)",
"def B29l(YKHO) -> 'itkLab... | [
"0.91096497",
"0.9108165",
"0.8785219",
"0.8498875",
"0.84556204",
"0.8153483",
"0.797411",
"0.7604162",
"0.75846916",
"0.7572579",
"0.7515671",
"0.74887383",
"0.7466068",
"0.74408555",
"0.74192554",
"0.73756945",
"0.7355097",
"0.734307",
"0.7325137",
"0.73134726",
"0.7313112... | 0.9283387 | 0 |
SetBackgroundValue(itkLabelShapeKeepNObjectsImageFilterIUC3 self, unsigned char const _arg) | def eMxk(YKHO, THRx: 'unsigned char const') -> 'void':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC3_SetBackgroundValue(YKHO, THRx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eMxk(YKHO, THRx: 'unsigned short const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_SetBackgroundValue(YKHO, THRx)",
"def eMxk(YKHO, THRx: 'unsigned char const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_SetBackgroundValue(YKHO, THRx)",
"def eMxk(YKHO, T... | [
"0.88997096",
"0.88767076",
"0.8766663",
"0.86126405",
"0.84686005",
"0.82229906",
"0.8084164",
"0.808336",
"0.80460054",
"0.8022547",
"0.7994933",
"0.7980305",
"0.79688376",
"0.7908813",
"0.7894749",
"0.7886453",
"0.7827004",
"0.7815288",
"0.78022856",
"0.7779771",
"0.777614... | 0.91300917 | 0 |
SetNumberOfObjects(itkLabelShapeKeepNObjectsImageFilterIUC3 self, unsigned long long const _arg) | def I2aT(YKHO, THRx: 'unsigned long long const') -> 'void':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC3_SetNumberOfObjects(YKHO, THRx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def I2aT(YKHO, THRx: 'unsigned long long const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_SetNumberOfObjects(YKHO, THRx)",
"def I2aT(YKHO, THRx: 'unsigned long long const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS3_SetNumberOfObjects(YKHO, THRx)",
"def I2a... | [
"0.92869896",
"0.92699474",
"0.9160506",
"0.9117011",
"0.90952224",
"0.77670234",
"0.7687506",
"0.76826084",
"0.760141",
"0.7546504",
"0.7542646",
"0.7310294",
"0.7121487",
"0.7115073",
"0.7107819",
"0.7098104",
"0.7087713",
"0.70714116",
"0.7067252",
"0.70635927",
"0.7059408... | 0.932197 | 0 |
SetReverseOrdering(itkLabelShapeKeepNObjectsImageFilterIUC3 self, bool const _arg) | def onLY(YKHO, THRx: 'bool const') -> 'void':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC3_SetReverseOrdering(YKHO, THRx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def onLY(YKHO, THRx: 'bool const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_SetReverseOrdering(YKHO, THRx)",
"def onLY(YKHO, THRx: 'bool const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS3_SetReverseOrdering(YKHO, THRx)",
"def onLY(YKHO, THRx: 'bool const') ... | [
"0.9094866",
"0.9010279",
"0.8925632",
"0.88223004",
"0.8724177",
"0.8031266",
"0.7927912",
"0.7881795",
"0.7879485",
"0.7845602",
"0.78286767",
"0.7786788",
"0.7750571",
"0.77440923",
"0.774135",
"0.76940477",
"0.7665887",
"0.7629507",
"0.7565769",
"0.741191",
"0.71944267",
... | 0.916422 | 0 |
GetAttribute(itkLabelShapeKeepNObjectsImageFilterIUC3 self) > unsigned int | def xhr3(YKHO) -> 'unsigned int':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC3_GetAttribute(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xhr3(YKHO) -> 'unsigned int':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS3_GetAttribute(YKHO)",
"def xhr3(YKHO) -> 'unsigned int':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_GetAttribute(YKHO)",
"def xhr3(YKHO) -> 'unsigned int':\n return _x7Y.itkLabelShapeKeepNObjectsImageFi... | [
"0.8432832",
"0.8392338",
"0.83917177",
"0.82143104",
"0.81807643",
"0.7528252",
"0.737113",
"0.73636883",
"0.7344885",
"0.72020274",
"0.71942383",
"0.7163596",
"0.71358776",
"0.7131405",
"0.71259564",
"0.7105191",
"0.7100947",
"0.70913994",
"0.70688504",
"0.70453507",
"0.704... | 0.85227984 | 0 |
SetAttribute(itkLabelShapeKeepNObjectsImageFilterIUC3 self, unsigned int const _arg) | def tdfQ(YKHO, *qIxc) -> 'void':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC3_SetAttribute(YKHO, *qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tdfQ(YKHO, *qIxc) -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_SetAttribute(YKHO, *qIxc)",
"def tdfQ(YKHO, *qIxc) -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS3_SetAttribute(YKHO, *qIxc)",
"def tdfQ(YKHO, *qIxc) -> 'void':\n return _x7Y.itkLabelShapeKeepNObj... | [
"0.84716487",
"0.8461642",
"0.82746637",
"0.8117906",
"0.80878526",
"0.6832617",
"0.68002546",
"0.67519176",
"0.6676528",
"0.6661813",
"0.6642592",
"0.6605067",
"0.65936774",
"0.6569616",
"0.6564586",
"0.6554841",
"0.6494019",
"0.6487401",
"0.64761275",
"0.64511156",
"0.64119... | 0.85507524 | 0 |
cast(itkLightObject obj) > itkLabelShapeKeepNObjectsImageFilterIUC3 | def YWvJ(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUC3 *':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC3_cast(YEnM) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def y9Ve(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUC3 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC3_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUS3 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_cast(YEnM)",
"def... | [
"0.8901813",
"0.8799143",
"0.8783685",
"0.87803864",
"0.8754066",
"0.87349963",
"0.87338215",
"0.86053795",
"0.85744345",
"0.85014117",
"0.84652424",
"0.803421",
"0.7970449",
"0.7910813",
"0.78414214",
"0.75581217",
"0.7453561",
"0.7395832",
"0.73871434",
"0.734962",
"0.72898... | 0.888362 | 1 |
New() > itkLabelShapeKeepNObjectsImageFilterIUC3 Create a new object of the class itkLabelShapeKeepNObjectsImageFilterIUC3 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non ... | def oW_4(*qIxc, **PECO):
YEnM = S1EE.__New_orig__()
import itkTemplate
itkTemplate.New(YEnM, *qIxc, **PECO)
return YEnM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oW_4(*qIxc, **PECO):\n YEnM = Xmvi.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = zxRg.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.792779",
"0.7892698",
"0.7581197",
"0.7581197",
"0.75488394",
"0.7531996",
"0.7512749",
"0.7500255",
"0.7490756",
"0.74876124",
"0.7483492",
"0.7481784",
"0.7479917",
"0.74691314",
"0.7467228",
"0.74639827",
"0.7462919",
"0.7459649",
"0.7456411",
"0.74554557",
"0.74554557"... | 0.8287643 | 0 |
itkLabelShapeKeepNObjectsImageFilterIUC3_cast(itkLightObject obj) > itkLabelShapeKeepNObjectsImageFilterIUC3 | def y9Ve(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUC3 *':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC3_cast(YEnM) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tKd6(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterIUS3 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_cast(YEnM)",
"def EIoF(YEnM: 'itkLightObject') -> 'itkLabelShapeKeepNObjectsImageFilterISS3 *':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterISS3_cast(YEnM)",
"def... | [
"0.9257865",
"0.92124903",
"0.92119485",
"0.9031302",
"0.8984591",
"0.89839137",
"0.8771266",
"0.8635217",
"0.85456324",
"0.84632254",
"0.8401755",
"0.82898027",
"0.80786324",
"0.8049723",
"0.78783596",
"0.7778459",
"0.77663016",
"0.77245003",
"0.7692395",
"0.76287115",
"0.76... | 0.9502878 | 0 |
Clone(itkLabelShapeKeepNObjectsImageFilterIUS2 self) > itkLabelShapeKeepNObjectsImageFilterIUS2_Pointer | def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterIUS2_Pointer':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS2_Clone(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterIUC2_Pointer':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_Clone(YKHO)",
"def B29l(YKHO) -> 'itkLabelShapeKeepNObjectsImageFilterIUS3_Pointer':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_Clone(YKHO)",
"def B29l(YKHO) -> 'itkLab... | [
"0.8872137",
"0.88381565",
"0.87899",
"0.85275507",
"0.843837",
"0.79654175",
"0.78486466",
"0.7635309",
"0.7575393",
"0.7482941",
"0.7448234",
"0.733217",
"0.72181034",
"0.7189101",
"0.7160001",
"0.7139346",
"0.712862",
"0.7093641",
"0.7088615",
"0.7039175",
"0.7030566",
"... | 0.9203097 | 0 |
SetReverseOrdering(itkLabelShapeKeepNObjectsImageFilterIUS2 self, bool const _arg) | def onLY(YKHO, THRx: 'bool const') -> 'void':
return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS2_SetReverseOrdering(YKHO, THRx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def onLY(YKHO, THRx: 'bool const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUS3_SetReverseOrdering(YKHO, THRx)",
"def onLY(YKHO, THRx: 'bool const') -> 'void':\n return _x7Y.itkLabelShapeKeepNObjectsImageFilterIUC2_SetReverseOrdering(YKHO, THRx)",
"def onLY(YKHO, THRx: 'bool const') ... | [
"0.899328",
"0.8973393",
"0.89666325",
"0.8851968",
"0.86681795",
"0.78407705",
"0.7696145",
"0.7684832",
"0.76335996",
"0.7526123",
"0.7520788",
"0.7489859",
"0.7475053",
"0.7439511",
"0.7430351",
"0.7429548",
"0.74185675",
"0.7411834",
"0.73483026",
"0.73477834",
"0.7313363... | 0.9196236 | 0 |