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 |
|---|---|---|---|---|---|---|
GET / Show the home page | def kZiy(QePW):
return SGJU('index.html') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kZiy():\n return geh0('OK')",
"def kZiy(QePW):\n return _1tc(QePW, 'compta/home.html')",
"def kZiy():\n pB3N = p_z1.get_payload()\n return TvZl('index.html', payload=pB3N)",
"def NMoC(YKHO):\n if YKHO.logged_in:\n YKHO.render('home.html', {'name': YKHO.current_user.name, 'server': Y... | [
"0.8102188",
"0.78860825",
"0.78660476",
"0.7857468",
"0.77891856",
"0.775687",
"0.77315885",
"0.77263904",
"0.7721931",
"0.7721931",
"0.7721931",
"0.7706586",
"0.769565",
"0.7681862",
"0.76753026",
"0.7672204",
"0.7658548",
"0.7657322",
"0.7646766",
"0.76302624",
"0.76005226... | 0.77063453 | 12 |
Transform input data Winsorise `X` at prefitted `quantile` and `1quantile`. Scale each variable (as long as they aren't binary in which case they are already rules) accorded to the already fitted scale factors. | def SZFh(YKHO, EcVT):
NM65 = EcVT.copy()
pgR0 = NM65 <= YKHO.lower
SGj6 = NM65 >= YKHO.upper
for fvDH in range(EcVT.shape[1]):
NM65[pgR0[:, fvDH], fvDH] = YKHO.lower[fvDH]
NM65[SGj6[:, fvDH], fvDH] = YKHO.upper[fvDH]
return NM65 * YKHO.scale | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dSez(YKHO, EcVT, LVAh=None):\n YKHO.scale = oyIN.ones(EcVT.shape[1])\n YKHO.lower = oyIN.percentile(EcVT, YKHO.quantile * 100, axis=0)\n YKHO.upper = oyIN.percentile(EcVT, (1 - YKHO.quantile) * 100, axis=0)\n NM65 = EcVT.copy()\n pgR0 = NM65 < YKHO.lower\n SGj6 = NM65 > YKHO.upper\n for fv... | [
"0.75867057",
"0.67999154",
"0.66214746",
"0.5967192",
"0.5888989",
"0.5855381",
"0.5718839",
"0.57124597",
"0.5695854",
"0.56935406",
"0.5588703",
"0.5585414",
"0.5556105",
"0.5542959",
"0.5531994",
"0.55186",
"0.55175906",
"0.54948944",
"0.54849446",
"0.54643995",
"0.545754... | 0.0 | -1 |
Returns offset of symbol name in loader string table. offset of symbol name in loader string table | def dzT9(YKHO) -> int:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PHtq():\n import ctypes\n iKwi = ctypes.PyDLL('libdl.so')\n usMd = ctypes.cast(iKwi.dlopen, ctypes.c_void_p).value\n OzPa = ctypes.cast(iKwi.dlsym, ctypes.c_void_p).value\n return OzPa - usMd",
"def LRuN(YKHO, mWFP):\n if not YKHO.ksymtab_initialized:\n YKHO._init_ksymtab()\n for ... | [
"0.66889083",
"0.6611202",
"0.6203252",
"0.59230924",
"0.5809549",
"0.57707137",
"0.5730276",
"0.5715004",
"0.5666472",
"0.56297314",
"0.56227905",
"0.5597471",
"0.5563141",
"0.55597746",
"0.5537753",
"0.54879636",
"0.5457473",
"0.5412081",
"0.53920466",
"0.53888345",
"0.5384... | 0.6135863 | 3 |
Converts a SciPy sparse matrix to a CVXOPT sparse matrix. | def Pt5u(BWXx):
import cvxopt
if isinstance(BWXx, (oyIN.ndarray, oyIN.matrix)):
return cvxopt.sparse(cvxopt.matrix(BWXx.astype('float64')), tc='d')
elif H4yH.issparse(BWXx):
BWXx = BWXx.tocoo()
return cvxopt.spmatrix(BWXx.data.tolist(), BWXx.row.tolist(), BWXx.col.tolist(), size=BWXx... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zXM_(YKHO):\n from divisi2.sparse import SparseMatrix\n return SparseMatrix(YKHO, YKHO.row_labels, YKHO.col_labels)",
"def YTBl(SppC):\n exwG = SppC[0].size\n UqER = []\n for YRbF in range(exwG):\n for r845 in range(exwG):\n if SppC[YRbF][r845] != 0:\n ycBG = h... | [
"0.74020207",
"0.7093455",
"0.70311135",
"0.6989213",
"0.69172007",
"0.68352145",
"0.6795465",
"0.67651546",
"0.6756018",
"0.6749724",
"0.6736512",
"0.67179906",
"0.66992825",
"0.6644021",
"0.6587182",
"0.65845096",
"0.6561744",
"0.6558976",
"0.65500927",
"0.65500927",
"0.655... | 0.80747503 | 0 |
Get total current value. | def h4aS(jQ3Z):
WbDh = jQ3Z[jQ3Z.cmd.notnull()].tail(1).index.get_values()[0]
wjRY = jQ3Z[WbDh:].value.sum()
return wjRY | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xG7B(YKHO):\n return YKHO.total",
"def wjRY(YKHO):\n return YKHO._total",
"def wjRY(YKHO) -> float:\n return YKHO._total",
"def V1Vz(YKHO):\n return YKHO.parent.child_total_value[YKHO.action]",
"def wjRY(YKHO):\n if YKHO.dynamic:\n YKHO._update_db_obj()\n return YKHO._db_obj.to... | [
"0.82439566",
"0.8206046",
"0.814501",
"0.7962158",
"0.7755605",
"0.77370954",
"0.7563143",
"0.75528264",
"0.75345725",
"0.7509995",
"0.74133193",
"0.74117213",
"0.73834187",
"0.7374968",
"0.73463064",
"0.7320118",
"0.7301672",
"0.72930855",
"0.72901803",
"0.7275583",
"0.7254... | 0.0 | -1 |
Transform user's document vector into list of tuples | def iW9_(CBIr):
ylcO = []
hpie = oyIN.zeros(100)
_fwm = [ZfUD for ZfUD in CBIr.nonzero()[1]]
for YRbF in _fwm:
ylcO.append((YRbF, CBIr[0, YRbF]))
AdpB = pex6[ylcO]
DfGb = {rlUa[0]: rlUa[1] for rlUa in AdpB}
oyIN.put(hpie, DfGb.keys(), DfGb.values())
return hpie | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nDmp(nPrm):\n return tuple(nPrm)",
"def Gc2_(EiQe):\n or8S = 0\n nPrm = []\n with open(EiQe, encoding='utf-8') as aF0O:\n Nqlg = aF0O.readlines()\n W2LQ, U2Kq, zNBV, Oqr7 = ([], [], [], [])\n for zFiD in Nqlg:\n or8S += 1\n if zFiD.find('DOC-ID') < 0 and zFiD != '\\n':\... | [
"0.5863828",
"0.5648858",
"0.56228894",
"0.55880904",
"0.55583906",
"0.55135846",
"0.5450894",
"0.54424894",
"0.54149765",
"0.53839064",
"0.5359936",
"0.5349167",
"0.53247696",
"0.52956575",
"0.5271087",
"0.52633893",
"0.52600634",
"0.5258497",
"0.5246498",
"0.52325004",
"0.5... | 0.51671076 | 25 |
Change name on component. | def I8K3(YKHO, FUjE):
YKHO.mdl.cmp.part_name = FUjE
YKHO.refresh_svg_canvas() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WZrJ(YKHO, L15R=''):\n YKHO.name = L15R",
"def Dokz(YKHO, Dokz):\n YKHO.name = Dokz",
"def zXji(YKHO, Dokz):\n YKHO.__name = Dokz",
"def zXji(YKHO, Dokz):\n YKHO.__name = Dokz",
"def qa7e(YKHO, mWFP):\n YKHO.name = mWFP",
"def WZrJ(YKHO, mWFP):\n YKHO.name_ = mWFP",
"def WZrJ(YKHO... | [
"0.7760173",
"0.7759742",
"0.7747133",
"0.7747133",
"0.7532761",
"0.7531982",
"0.75248784",
"0.74675447",
"0.74527305",
"0.7436896",
"0.7427096",
"0.7427096",
"0.7427096",
"0.7427096",
"0.7427096",
"0.74243397",
"0.7422197",
"0.7418796",
"0.7418796",
"0.7418796",
"0.7418796",... | 0.0 | -1 |
Get a presigned URL for this request that expires after a given number of seconds. | def KOLS(YKHO, vYBr):
YKHO.preprocess()
if YKHO.__should_use_sigv4():
Jpbe = HWTQ.auth.aws.QueryHmacV4Auth.from_other(YKHO.auth, timeout=vYBr, payload_hash='UNSIGNED-PAYLOAD')
else:
Jpbe = HWTQ.auth.aws.QueryHmacV1Auth.from_other(YKHO.auth, timeout=vYBr)
return YKHO.service.get_request_u... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vL6A(YKHO, bD7m, N850=3600, AqUQ=False):\n AqUQ = '?force_download=1' if AqUQ else ''\n SK7z = GkAb(YKHO.config.get('public_url', ''))\n PKrO = SK7z / bD7m\n return PKrO.as_posix() + AqUQ",
"def bD7m(YKHO, bD7m):\n return YKHO.presigned_url(bD7m)",
"def vL6A():\n return 'https://presigned... | [
"0.7014345",
"0.7014051",
"0.6956774",
"0.67384046",
"0.6545521",
"0.6445912",
"0.63070875",
"0.614691",
"0.614691",
"0.614691",
"0.614691",
"0.614691",
"0.614691",
"0.614691",
"0.614691",
"0.614691",
"0.614691",
"0.614691",
"0.614691",
"0.614691",
"0.614691",
"0.614691",
... | 0.6424251 | 6 |
Returns the reverse directed graph of G. | def gxEw(yvY1, jth9=True):
if not yvY1.is_directed():
raise jHsn.NetworkXError('Cannot reverse an undirected graph.')
else:
return yvY1.reverse(copy=jth9) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mzaA(zncu):\n reversed = zncu.__class__()\n for YRbF in zncu.get_vertices().keys():\n reversed.add_vertex(YRbF)\n for YRbF in zncu.get_vertices().keys():\n SLBp = zncu.get_vertex(YRbF)\n for r845 in SLBp.get_heads():\n reversed.add_edge(r845.get_label(), YRbF)\n retu... | [
"0.7581556",
"0.75628114",
"0.7346692",
"0.70150614",
"0.6863429",
"0.65913934",
"0.64809585",
"0.64787996",
"0.643853",
"0.63429785",
"0.6326808",
"0.62946874",
"0.62814265",
"0.627383",
"0.62476474",
"0.61388195",
"0.6093543",
"0.60812247",
"0.6077702",
"0.60706794",
"0.605... | 0.83771706 | 0 |
Selects all entries such that entry.timestamp >= timestamps[entry.client] window_size | def EfUA(YKHO, M_Ra):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Clve(M_Ra, KnxT=200000):\n C1Md = []\n for YRbF in Ni9Y(len(M_Ra)):\n Z9rn = [YRbF]\n lGE9 = M_Ra[YRbF][0]\n for r845 in Ni9Y(YRbF + 1, len(M_Ra)):\n if M_Ra[r845][0] - lGE9 < KnxT:\n Z9rn.append(r845)\n else:\n break\n if le... | [
"0.54318",
"0.5304614",
"0.5213484",
"0.50306123",
"0.5017064",
"0.50053144",
"0.4959315",
"0.49128497",
"0.48927337",
"0.48854557",
"0.48687822",
"0.48336253",
"0.48201647",
"0.47550848",
"0.47432086",
"0.47310567",
"0.4719693",
"0.4709526",
"0.46631616",
"0.4658335",
"0.465... | 0.45346963 | 33 |
Sets the esxi_host_count of this IaasUcsdManagedInfraAllOf. | def sweL(YKHO, sweL):
YKHO._esxi_host_count = sweL | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jcKm(YKHO, jcKm):\n YKHO._hyperv_host_count = jcKm",
"def xBz4(YKHO, xBz4):\n YKHO._hosts_every = xBz4",
"def aQFH(VUqp, UHFx, RRjc=False):\n with aXgV() as kXUa:\n z3rX = kXUa.enter_context(mhFe(VUqp))\n if z3rX.dataset_obj['datacenter_type'] != 'kvm.dct':\n raise NotImpl... | [
"0.59950227",
"0.5260858",
"0.50562745",
"0.50244135",
"0.49948582",
"0.48857233",
"0.48497176",
"0.48385507",
"0.482034",
"0.4762812",
"0.47252673",
"0.4718971",
"0.47022638",
"0.46596396",
"0.46280846",
"0.45461932",
"0.45392084",
"0.45244592",
"0.45231992",
"0.45225677",
"... | 0.8037844 | 0 |
Sets the external_group_count of this IaasUcsdManagedInfraAllOf. | def sU3O(YKHO, sU3O):
YKHO._external_group_count = sU3O | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pQs3(YKHO, pQs3):\n YKHO._local_group_count = pQs3",
"def tbI3(YKHO, tbI3):\n YKHO._external_ids = tbI3",
"def sweL(YKHO, sweL):\n YKHO._esxi_host_count = sweL",
"def S_Rt(YKHO, ZFqT=True, eIHr=None):\n for H5ew, XkN1 in YKHO.blocks.items():\n gIsw = Hy7s.path.split(YKHO.filename)[1]\n... | [
"0.53656894",
"0.4734468",
"0.4715213",
"0.4630498",
"0.46285418",
"0.4532851",
"0.45295992",
"0.44841346",
"0.44807005",
"0.44654495",
"0.44654495",
"0.44654495",
"0.44536784",
"0.4435368",
"0.43804",
"0.42757764",
"0.42720485",
"0.42300162",
"0.42260072",
"0.4207612",
"0.41... | 0.75556606 | 0 |
Sets the hyperv_host_count of this IaasUcsdManagedInfraAllOf. | def jcKm(YKHO, jcKm):
YKHO._hyperv_host_count = jcKm | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sweL(YKHO, sweL):\n YKHO._esxi_host_count = sweL",
"def aQFH(VUqp, UHFx, RRjc=False):\n with aXgV() as kXUa:\n z3rX = kXUa.enter_context(mhFe(VUqp))\n if z3rX.dataset_obj['datacenter_type'] != 'kvm.dct':\n raise NotImplementedError('This operation is not yet supported for {}'.f... | [
"0.66588247",
"0.5818077",
"0.5640094",
"0.5640094",
"0.5394924",
"0.5279623",
"0.5277185",
"0.52716357",
"0.5202823",
"0.50858754",
"0.5027976",
"0.4993971",
"0.4947955",
"0.4938431",
"0.48995036",
"0.4849338",
"0.4816406",
"0.4814211",
"0.48059392",
"0.47629017",
"0.4759356... | 0.7839512 | 0 |
Sets the local_group_count of this IaasUcsdManagedInfraAllOf. | def pQs3(YKHO, pQs3):
YKHO._local_group_count = pQs3 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sU3O(YKHO, sU3O):\n YKHO._external_group_count = sU3O",
"def eC2j(YKHO, k8re):\n if isinstance(k8re, NnkB):\n return\n for bGrB, _sef in k8re.subgroups.items():\n YKHO._set_group_resource(_sef)\n k8re.vCPUs += _sef.vCPUs\n k8re.mem += _sef.mem\n k8re.local_volume_s... | [
"0.5947293",
"0.509726",
"0.4911288",
"0.4911288",
"0.4911288",
"0.4881376",
"0.4801572",
"0.4801572",
"0.4801572",
"0.4801572",
"0.46374658",
"0.46280244",
"0.46024618",
"0.46024618",
"0.46024618",
"0.46024618",
"0.45948556",
"0.45816755",
"0.45816755",
"0.45816755",
"0.4581... | 0.76894385 | 0 |
Sets the standard_catalog_count of this IaasUcsdManagedInfraAllOf. | def Cx4o(YKHO, Cx4o):
YKHO._standard_catalog_count = Cx4o | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZZPL(YKHO, ZZPL):\n YKHO._container_catalog_count = ZZPL",
"def PZhO(YKHO, PZhO):\n YKHO._bm_catalog_count = PZhO",
"def LeX3(YKHO, LeX3):\n YKHO._advanced_catalog_count = LeX3",
"def VvAv(YKHO, qU1o: int) -> None:\n if not YKHO.debug:\n YKHO.myFieldFox.write('CALC:PAR:COUN ' + str(qU1... | [
"0.57423514",
"0.5616781",
"0.50827426",
"0.4542607",
"0.44935066",
"0.44344246",
"0.43874955",
"0.43789217",
"0.4358185",
"0.43167907",
"0.43059853",
"0.4270202",
"0.42586276",
"0.4214198",
"0.42093727",
"0.4138831",
"0.41344634",
"0.41310257",
"0.41012546",
"0.40627837",
"0... | 0.81387305 | 0 |
Sets the vdc_count of this IaasUcsdManagedInfraAllOf. | def giYk(YKHO, giYk):
YKHO._vdc_count = giYk | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FGRK(YKHO, FGRK):\n YKHO._vm_count = FGRK",
"def FGRK(YKHO, FGRK):\n YKHO._vm_count = FGRK",
"def rXG9(YKHO, VsVO):\n gTEQ('PrlVmCfg_SetCpuCount', YKHO.handle, VsVO)",
"def i2VU(YKHO, UHFx, IbHI=None):\n YKHO._set_property('pc:count', UHFx, IbHI)",
"def m0SM(YKHO, m0SM):\n YKHO._device_c... | [
"0.5437181",
"0.5437181",
"0.531096",
"0.5136232",
"0.50647324",
"0.49089286",
"0.47968695",
"0.4710327",
"0.46992522",
"0.46300593",
"0.46219018",
"0.46113285",
"0.46049786",
"0.4604565",
"0.45997623",
"0.45524865",
"0.45503348",
"0.45477548",
"0.45165822",
"0.45023248",
"0.... | 0.7397312 | 0 |
Sets the vm_count of this IaasUcsdManagedInfraAllOf. | def FGRK(YKHO, FGRK):
YKHO._vm_count = FGRK | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rXG9(YKHO, VsVO):\n gTEQ('PrlVmCfg_SetCpuCount', YKHO.handle, VsVO)",
"def giYk(YKHO, giYk):\n YKHO._vdc_count = giYk",
"def sWeI(YKHO, sWeI):\n YKHO._lun_count = sWeI",
"def DqKU(YKHO, DqKU):\n YKHO._vcpus = DqKU",
"def jcKm(YKHO, jcKm):\n YKHO._hyperv_host_count = jcKm",
"def aQFH(VU... | [
"0.60274035",
"0.5922383",
"0.5739843",
"0.5628235",
"0.56280166",
"0.5574185",
"0.55255973",
"0.53965175",
"0.5285271",
"0.5197171",
"0.5193007",
"0.5076765",
"0.5026433",
"0.5026433",
"0.50207126",
"0.49862435",
"0.4984859",
"0.49740753",
"0.4924906",
"0.49171144",
"0.49162... | 0.7385598 | 1 |
Sets the guid of this IaasUcsdManagedInfraAllOf. | def Artt(YKHO, Artt):
YKHO._guid = Artt | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Artt(YKHO, Artt):\n YKHO._guid = Artt",
"def bQsr(E0cB, z1Rg):\n TF6J.setup(z1Rg)\n qIxc, hkxX = z1Rg.parse_args(E0cB)\n _e0h = TF6J(z1Rg, qIxc, hkxX, 3, (vVQ9, HBuM, M0ou))\n if len(hkxX) != 3:\n raise Mulq('Not enough arguments')\n with _e0h.get_umad_for_target(hkxX[0], gmp=True) a... | [
"0.5373949",
"0.5280875",
"0.46020597",
"0.45552626",
"0.4523249",
"0.45016184",
"0.43972918",
"0.4326833",
"0.42316926",
"0.42313373",
"0.4229026",
"0.42265818",
"0.4208345",
"0.4155647",
"0.41291952",
"0.41291952",
"0.41068876",
"0.4092342",
"0.40804192",
"0.40481693",
"0.4... | 0.5306522 | 3 |
Returns true if both objects are equal | def xa14(YKHO, Elif):
if not isinstance(Elif, AAT1):
return False
return YKHO.to_dict() == Elif.to_dict() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False",
"def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c... | [
"0.8088132",
"0.8088132",
"0.8054589",
"0.7982687",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
if not isinstance(Elif, AAT1):
return True
return YKHO.to_dict() != Elif.to_dict() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)",
... | [
"0.84560555",
"0.83913696",
"0.8143685",
"0.81403786",
"0.8131871",
"0.8093231",
"0.80915105",
"0.80915105",
"0.80915105",
"0.8084564",
"0.8084564",
"0.8075547",
"0.8075547",
"0.8065006",
"0.80417657",
"0.80417657",
"0.80417657",
"0.80417657",
"0.80417657",
"0.80417657",
"0.8... | 0.0 | -1 |
Restore a checkpoint into ``state`` and returns the rng state dicts (if ``load_weights_only`` is False). | def RCzu(QTBn: State, bo34: Logger, Dz4P: str, UvcB: bool, _dwf: Optional[str], H6Mq: bool, NfXh: bool, eWK1: Optional[Union[List[str], Callable[[Dict], None]]], cn1k: Optional[List[str]], GHFE: Optional[List[AlgorithmPass]]) -> h8nf[x1iM[cuzp[str, ImMB]]]:
xA7f = oLVA(composer_states_filepath=Dz4P, load_fsdp_monol... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BzYT(YKHO, sRHT):\n YKHO.load_state_dict(sRHT['model'])\n YKHO.optimizer.load_state_dict(sRHT['optimizer'])\n YKHO.lr_scheduler.load_state_dict(sRHT['lr_scheduler'])\n K33I = sRHT['iteration'] + 1\n if YKHO.config['verbose']:\n print(f'Restored checkpoint to iteration {K33I}.')\n if sR... | [
"0.73388803",
"0.72150517",
"0.7131705",
"0.70134574",
"0.6997281",
"0.6942888",
"0.6694779",
"0.6665034",
"0.6642213",
"0.66123784",
"0.65712357",
"0.65587157",
"0.6545347",
"0.6525875",
"0.65182793",
"0.6469714",
"0.64419687",
"0.64180094",
"0.63763607",
"0.63705903",
"0.63... | 0.6288278 | 24 |
Returns the distance between the current entity and the given (x, y) coordinate. | def Ayfi(YKHO, WKvO: int, LVAh: int) -> float:
return epAf.sqrt((WKvO - YKHO.x) ** 2 + (LVAh - YKHO.y) ** 2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def s7yO(YKHO, WKvO, LVAh):\n Jw7X = WKvO - YKHO.x\n eUWA = LVAh - YKHO.y\n return epAf.sqrt(Jw7X ** 2 + eUWA ** 2)",
"def qBLT(YKHO, WKvO: int, LVAh: int) -> float:\n TVTK, H2v2 = (YKHO.width, YKHO.height)\n kZIt = Ayfi(WKvO, LVAh, TVTK / 2, H2v2 / 2)\n return kZIt",
"def Ayfi(YKHO, WKvO, LV... | [
"0.81523913",
"0.7383806",
"0.72868764",
"0.7262011",
"0.7195622",
"0.7163461",
"0.7131348",
"0.71239984",
"0.71239984",
"0.71239984",
"0.71239984",
"0.71239984",
"0.71239984",
"0.71239984",
"0.7074517",
"0.70256484",
"0.7024614",
"0.70112294",
"0.68983996",
"0.6831905",
"0.6... | 0.7916495 | 1 |
Maximum output length supported by the decoder. | def EAOo(YKHO):
if YKHO.embed_positions is None:
return YKHO.max_target_positions
return min(YKHO.max_target_positions, YKHO.embed_positions.max_positions) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zQxg(YKHO):\n return 16 + 16 + 8 + 8 + iK2A.bin_to_dec(YKHO.get_data_size()) + iK2A.bin_to_dec(YKHO.get_verification_size())",
"def ULYe(YKHO, BWXx):\n return YKHO._set(maxOutputLength=BWXx)",
"def ULYe(YKHO, BWXx):\n return YKHO._set(maxOutputLength=BWXx)",
"def ULYe(YKHO, BWXx):\n return YK... | [
"0.7432989",
"0.73925817",
"0.73925817",
"0.73925817",
"0.7161096",
"0.71449983",
"0.70124006",
"0.69647205",
"0.69551724",
"0.69273204",
"0.68699276",
"0.68549514",
"0.684077",
"0.68397105",
"0.68026745",
"0.6781775",
"0.67704415",
"0.6759464",
"0.6752665",
"0.6748612",
"0.6... | 0.0 | -1 |
Gets the assigned_user of this Workitems. | def Ysrw(YKHO):
return YKHO._assigned_user | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def a9OA(YKHO):\n vmMD = KALH(unit=YKHO.unit)\n return vmMD.user",
"def fXNk(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'assigned_to')",
"def fXNk(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'assigned_to')",
"def _eSF(YKHO) -> uLKX[str, None]:\n KTlF = None\n if YKHO.mc and YKH... | [
"0.70582396",
"0.70253783",
"0.68387794",
"0.6594624",
"0.64337957",
"0.63194",
"0.62276447",
"0.61899453",
"0.61852264",
"0.617757",
"0.617757",
"0.6168088",
"0.6168088",
"0.6166981",
"0.612094",
"0.6104734",
"0.6104734",
"0.6104734",
"0.6104734",
"0.606838",
"0.60127085",
... | 0.8579693 | 0 |
Sets the assigned_user of this Workitems. | def Ysrw(YKHO, Ysrw):
YKHO._assigned_user = Ysrw | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LL2K(YKHO, LL2K):\n YKHO._assigned_by_user = LL2K",
"def Ysrw(YKHO):\n return YKHO._assigned_user",
"def ZQZ8(YKHO, rfQU, V2Gi):\n YKHO.jira.assign_issue(issue=rfQU, assignee=V2Gi)",
"def GbRR(YKHO, Uwcn, Ysrw):\n _mZV = udxn(sE1F, k6Mq)\n Y6lL = _mZV.get_all_assigned_users_for_tenders(_mZ... | [
"0.8350922",
"0.68189096",
"0.5876797",
"0.58575225",
"0.57323456",
"0.56373864",
"0.56373864",
"0.55778617",
"0.55627865",
"0.55390745",
"0.55118716",
"0.55098593",
"0.54444087",
"0.54271966",
"0.54271966",
"0.54271966",
"0.54271966",
"0.54271966",
"0.54271966",
"0.54271966",
... | 0.85572076 | 0 |
Gets the author of this Workitems. | def taDc(YKHO):
return YKHO._author | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DmH2(YKHO):\n return YKHO.author",
"def DmH2(YKHO):\n return YKHO.author",
"def taDc(YKHO):\n return YKHO._changeset.get('author', None)",
"def taDc(YKHO):\n return YKHO.user",
"def taDc(YKHO) -> str:\n return YKHO._author",
"def taDc(YKHO) -> str:\n return YKHO._author",
"def taD... | [
"0.81033164",
"0.81033164",
"0.7832732",
"0.7830362",
"0.77745897",
"0.77745897",
"0.7709737",
"0.766907",
"0.76471317",
"0.7558222",
"0.7392863",
"0.7310641",
"0.7100226",
"0.7055616",
"0.69088775",
"0.68823814",
"0.6879495",
"0.68097967",
"0.667739",
"0.6604308",
"0.6585194... | 0.7929328 | 4 |
Sets the author of this Workitems. | def taDc(YKHO, taDc):
YKHO._author = taDc | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _giq(YKHO, taDc):\n YKHO.author = taDc",
"def _giq(YKHO, taDc):\n YKHO.author = taDc\n YKHO.opf.author = taDc",
"def taDc(YKHO, taDc):\n YKHO._author = taDc",
"def taDc(YKHO, taDc):\n YKHO._author = taDc",
"def taDc(YKHO, taDc: str):\n YKHO._author = taDc",
"def taDc(YKHO, BWXx):\n ... | [
"0.7831896",
"0.7744839",
"0.7661029",
"0.7661029",
"0.76171625",
"0.7417469",
"0.73834866",
"0.723238",
"0.7022792",
"0.69591576",
"0.69440097",
"0.6846459",
"0.6799037",
"0.6625127",
"0.654796",
"0.6416991",
"0.6416991",
"0.64145887",
"0.6382336",
"0.6332261",
"0.6310402",
... | 0.7739136 | 2 |
Gets the developer of this Workitems. | def j2oI(YKHO):
return YKHO._developer | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def j2oI(YKHO):\n return YKHO.proto.creator",
"def ugOO(YKHO):\n return YKHO.paragraphs[0].get('Maintainer')",
"def NLaX(YKHO):\n return YKHO._technical_owner",
"def CBIr(YKHO):\n return YKHO._project.user",
"def tLI7(YKHO):\n return YKHO._is_developer",
"def T4xQ(YKHO):\n return YKHO.p... | [
"0.6467594",
"0.6383037",
"0.59011614",
"0.58858037",
"0.5882263",
"0.58464813",
"0.58373034",
"0.58373034",
"0.58332425",
"0.5788284",
"0.5727513",
"0.5696962",
"0.5679556",
"0.5662634",
"0.56608135",
"0.5650917",
"0.5645489",
"0.5638031",
"0.56320435",
"0.5630453",
"0.56304... | 0.77347624 | 0 |
Sets the developer of this Workitems. | def j2oI(YKHO, j2oI):
YKHO._developer = j2oI | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ly1K(YKHO, ly1K):\n YKHO._developer_certificate_identity = ly1K",
"def j2oI(YKHO):\n return YKHO._developer",
"def q2gW(YKHO, yDVV):\n YKHO.paragraphs[0]['Maintainer'] = yDVV",
"def l3eA(YKHO):\n YKHO.createUser()\n YKHO.user.is_developer = True\n YKHO.user.put()",
"def DGDD(YKHO, DGD... | [
"0.6069986",
"0.6056044",
"0.5680614",
"0.5558243",
"0.5480942",
"0.5418043",
"0.53070056",
"0.5263238",
"0.51771384",
"0.51729125",
"0.5170096",
"0.51270753",
"0.50323236",
"0.50323236",
"0.5031481",
"0.49122766",
"0.48889783",
"0.4874513",
"0.48558733",
"0.4839325",
"0.4819... | 0.78007984 | 0 |
Gets the module of this Workitems. | def yR_P(YKHO):
return YKHO._module | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JEuV(YKHO):\n return YKHO.module",
"def yR_P(YKHO):\n return YKHO.lib.module",
"def yR_P(YKHO) -> h8nf[awyi]:\n return YKHO._module",
"def ivvY(YKHO):\n return YKHO.module_name",
"def JEuV(YKHO, mWFP: str) -> ROL5:\n return YKHO.modules[mWFP]",
"def oump(YKHO):\n if YKHO._module_cac... | [
"0.7658881",
"0.7166972",
"0.7157267",
"0.66238433",
"0.6583515",
"0.6492179",
"0.6423812",
"0.63698703",
"0.63572747",
"0.6329867",
"0.63244796",
"0.6299108",
"0.62677187",
"0.62471384",
"0.62409633",
"0.6178302",
"0.61514336",
"0.6147349",
"0.6082053",
"0.603593",
"0.597129... | 0.7441217 | 5 |
Gets the status of this Workitems. | def jGRS(YKHO):
return YKHO._status | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jGRS(YKHO) -> qe4Y.Output['outputs.JobStatus']:\n return qe4Y.get(YKHO, 'status')",
"def QtQ8(YKHO):\n return YKHO._status",
"def VLTN(YKHO):\n return YKHO._status",
"def QtQ8(YKHO):\n return YKHO.__status",
"def jGRS(YKHO):\n return YKHO._get(path='status')",
"def jGRS(YKHO):\n ret... | [
"0.7593097",
"0.75146943",
"0.74803483",
"0.74482",
"0.74374527",
"0.74322176",
"0.742835",
"0.7412562",
"0.73759395",
"0.73736787",
"0.7371924",
"0.7368407",
"0.7368407",
"0.7368407",
"0.73665434",
"0.73664135",
"0.73664135",
"0.73664135",
"0.7341932",
"0.7341932",
"0.731509... | 0.73683554 | 34 |
Returns true if both objects are equal | def xa14(YKHO, Elif):
if not isinstance(Elif, c5B8):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False",
"def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c... | [
"0.80886984",
"0.80886984",
"0.8055307",
"0.7983415",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
"0.79673034",
... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)",
... | [
"0.845611",
"0.8391477",
"0.8144138",
"0.81410587",
"0.8132492",
"0.8093973",
"0.80920255",
"0.80920255",
"0.80920255",
"0.8085325",
"0.8085325",
"0.8076365",
"0.8076365",
"0.8065748"
] | 0.0 | -1 |
Set up the X axis, including scaling, labels and max/min values | def MNLn(kj9G, qzD7, Hqoa, UXqs, u7Cg):
kj9G.set_xlabel(UXqs)
if u7Cg:
kj9G.set_xscale('log')
kj9G.set_xlim(qzD7, Hqoa)
else:
kj9G.set_xlim(0 if qzD7 == 1 else qzD7, Hqoa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def s6BH(YKHO):\n YKHO.ax.set_xlim(YKHO.xlims)\n qbhf = [1]\n qbhf.extend(range(5, YKHO.xmax + 5, 5))\n Vb5F = YKHO.settings.rcParams['axes.labelsize'] if YKHO.settings.otherParams['xlabel.fontsize'] is None else YKHO.settings.otherParams['xlabel.fontsize']\n qfpW = YKHO.settings.rcParams['axes.labe... | [
"0.76962334",
"0.7142678",
"0.70777565",
"0.7023679",
"0.6677621",
"0.66705173",
"0.6669855",
"0.66405183",
"0.65903085",
"0.6455307",
"0.64306533",
"0.64306533",
"0.6370854",
"0.6364356",
"0.62985694",
"0.6293797",
"0.6283952",
"0.62325585",
"0.6220945",
"0.61975974",
"0.617... | 0.7718785 | 0 |
Format a number in engineering format, where the exponent is a multiple of 3 | def _Xei(eHNT):
if eHNT == 0.0:
BWXx = 0.0
w520 = 0
else:
w520 = epAf.log10(-eHNT if eHNT < 0 else eHNT)
if w520 < 0:
w520 = -int(epAf.ceil(-w520))
else:
w520 = int(epAf.floor(w520))
for YRbF in range(3):
if w520 % 3 == 0:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yH40(FGW3, PXGI=''):\n if epAf.isnan(FGW3):\n return 'nan'\n if FGW3 == 0.0:\n return 0\n wcYp = {-18: 'a', -15: 'f', -12: 'p', -9: 'n', -6: 'u', -3: 'm', -2: 'c', -1: 'd', 0: '', 3: 'k', 6: 'M', 9: 'G', 12: 'T', 15: 'P', 18: 'E'}\n IPlx = epAf.log10(abs(FGW3))\n nvcE = int(IPlx)\n... | [
"0.7254678",
"0.6709356",
"0.65849704",
"0.6535096",
"0.64507467",
"0.64036494",
"0.63798475",
"0.6357471",
"0.6309954",
"0.6143084",
"0.61399496",
"0.6122176",
"0.61172795",
"0.6037605",
"0.59719115",
"0.5958524",
"0.58732384",
"0.5864186",
"0.5839863",
"0.5835042",
"0.58245... | 0.6764551 | 1 |
Find a good value for the maximum on the Y axis | def NZ3R(WanF, eaF5):
aM8h = 1.0
Bfxd = aM8h * max([max([Ty9i for Ty9i in vC9B if Ty9i != None]) for vC9B in list(WanF.values())])
if Bfxd == 0:
Bfxd = 0.1
Wgsq = epAf.floor(epAf.log10(Bfxd))
qO_6 = Bfxd * 10 ** (-Wgsq)
for Ty9i in (1.0, 1.1, 1.2, 1.25, 1.3, 1.4, 1.5, 1.6, 1.7, 1.75, 1.8... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rwK9(YKHO):\n return YKHO.get_max_value(YKHO.Y_INDEX)",
"def clzQ(YKHO):\n if len(YKHO._statDict) == 0:\n return -10000000000.0\n Wa13 = YKHO._statDict.keys()\n dCLF = YKHO._statDict[Wa13[0]][3]\n for tMF9 in range(1, len(Wa13)):\n if YKHO._statDict[Wa13[tMF9]][3] > dCLF:\n ... | [
"0.8277419",
"0.8052967",
"0.78747857",
"0.7690648",
"0.7672491",
"0.7557933",
"0.74574304",
"0.7440886",
"0.7161742",
"0.70999867",
"0.69315743",
"0.6918759",
"0.6918502",
"0.6871075",
"0.68578976",
"0.68520427",
"0.6791778",
"0.67885953",
"0.6769947",
"0.67635864",
"0.67626... | 0.62784785 | 86 |
Turn runs of bad characters to have in a filename into a single underscore, remove any trailing underscore | def mq9H(IznC):
return ZbWC.sub('_$', '', ZbWC.sub('[ _\n\t/()*,&:;@.]+', '_', IznC)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tENW(Ux0P):\n x1AM = ZbWC.sub('_[^_]+\\\\.', '.', Ux0P)\n return x1AM",
"def M5LH(Ux0P):\n vIwR = str(Ux0P).strip().replace(' ', '_')\n vIwR = ZbWC.sub('(?u)[^-\\\\w.]', '_', vIwR)\n return ZbWC.sub('_+', '_', vIwR)",
"def WOHH(qaEx: str) -> str:\n gIsw = qaEx.lower().replace(' ', '_').re... | [
"0.84402937",
"0.8271259",
"0.79155785",
"0.78541076",
"0.7842436",
"0.7829296",
"0.7724186",
"0.76734734",
"0.76034737",
"0.75659907",
"0.75494283",
"0.75451845",
"0.75305706",
"0.7522911",
"0.74923533",
"0.7423959",
"0.742056",
"0.7403071",
"0.73820186",
"0.7378246",
"0.737... | 0.8063518 | 2 |
Performs mutations on the children, stochastically, based on the mutation probability. | def gnk4(YKHO, Qzu6, LbUl):
YKHO.children = LbUl(YKHO.children, Qzu6) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LbUl(l8x9):\n for d6pt, bGrB in enumerate(l8x9):\n w7l2 = tuKI.uniform(0, 1)\n if w7l2 <= 0.1:\n l8x9[d6pt] *= tuKI.randint(0, 5)",
"def UB4W(YKHO, OkZe, KmKd):\n for q7V9 in OkZe:\n for YRbF in range(YKHO.chromosome_size):\n if tuKI.randint(1, 100) <= KmKd:\n... | [
"0.7766687",
"0.7341522",
"0.7289419",
"0.7230715",
"0.7209466",
"0.7037261",
"0.6843733",
"0.674903",
"0.6699263",
"0.65760726",
"0.6472517",
"0.61829436",
"0.6166081",
"0.61597234",
"0.6155939",
"0.60983205",
"0.6072234",
"0.60406685",
"0.6036837",
"0.598226",
"0.5959217",
... | 0.71829987 | 5 |
Initialize the spacecraft and set its initial position | def FIMM(YKHO, tJm0, Vjhr):
super(riCe, YKHO).__init__()
YKHO.screen = Vjhr
YKHO.ai_settings = tJm0
YKHO.image = a9eO.transform.rotate(a9eO.image.load('images/soldier.png'), 90)
YKHO.rect = YKHO.image.get_rect()
YKHO.screen_rect = Vjhr.get_rect()
YKHO.rect.centerx = YKHO.screen_rect.centerx
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PcLS():\n P3wg.init_position()",
"def E14P(YKHO, dQgj):\n YKHO._position = dQgj",
"def FIMM(YKHO):\n YKHO.position = 0",
"def FIMM(YKHO):\n YKHO.position = (0, 0)\n YKHO.direction = 0.0\n YKHO.speed = 0\n YKHO.state = 0\n pass",
"def PcLS(YKHO):\n YKHO['D4'] = YKHO['E5'] = 1\... | [
"0.73910457",
"0.6936796",
"0.69150186",
"0.6890182",
"0.6856978",
"0.6777854",
"0.6660125",
"0.66269314",
"0.6598146",
"0.65341693",
"0.6520882",
"0.64898777",
"0.6488802",
"0.6433804",
"0.6430992",
"0.6425387",
"0.63644",
"0.63239896",
"0.63174313",
"0.63057685",
"0.6294312... | 0.60956055 | 43 |
Center the ship on the screen | def _0rf(YKHO):
YKHO.center = YKHO.screen_rect.centerx | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _0rf(YKHO):\n YKHO.center = YKHO.screen_rect.centerx",
"def _0rf(YKHO):\n YKHO.center = YKHO.screen_rect.centerx",
"def _0rf(YKHO):\n YKHO.center = YKHO.screen_rect.centerx",
"def _0rf(YKHO):\n YKHO.rect.centerx = YKHO.screen_rect.centerx\n YKHO.rect.bottom = YKHO.screen_rect.bottom\n Y... | [
"0.90181214",
"0.90181214",
"0.90181214",
"0.8599386",
"0.77910644",
"0.761576",
"0.7553747",
"0.7458518",
"0.7252782",
"0.72375983",
"0.7168899",
"0.71423084",
"0.7113291",
"0.7064254",
"0.7018259",
"0.6994591",
"0.6934956",
"0.69271857",
"0.6910503",
"0.69049215",
"0.690492... | 0.90641564 | 1 |
Attach a lot of summaries to a Tensor (for Tensorboard visualization). | def g4Yp(SRYB):
with ZylS.name_scope('summaries'):
JBMS = ZylS.reduce_mean(SRYB)
ZylS.summary.scalar('mean', JBMS)
with ZylS.name_scope('stddev'):
z2bo = ZylS.sqrt(ZylS.reduce_mean(ZylS.square(SRYB - JBMS)))
ZylS.summary.scalar('stddev', z2bo)
ZylS.summary.scalar(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def n1pK(YKHO):\n for G1Hx, Ty9i in YKHO.metrics.items():\n ZylS.summary.scalar(G1Hx, Ty9i)\n YKHO.summary_op = ZylS.summary.merge_all()",
"def RlbR(YKHO):\n ZylS.summary.scalar('loss', YKHO.loss)\n XIcQ = ZylS.summary.merge_all()\n YKHO.summary_op = XIcQ\n ZylS.logging.info('summary op ... | [
"0.7055453",
"0.69594884",
"0.69594884",
"0.679989",
"0.6766926",
"0.67630017",
"0.6671678",
"0.6671673",
"0.6623029",
"0.6601337",
"0.6584152",
"0.6577044",
"0.6568252",
"0.65088475",
"0.6503359",
"0.6411265",
"0.64072824",
"0.63004506",
"0.6281558",
"0.62347925",
"0.6217481... | 0.56149787 | 77 |
Computes the average precision at k. This function computes the average prescision at k between two lists of items. | def yYKJ(n5sN, PjQx, G1Hx=10):
if len(PjQx) > G1Hx:
PjQx = PjQx[:G1Hx]
p1kx = 0.0
yAQO = 0.0
for YRbF, XP5J in enumerate(PjQx):
if XP5J in n5sN and XP5J not in PjQx[:YRbF]:
yAQO += 1.0
p1kx += yAQO / (YRbF + 1.0)
return p1kx / min(len(n5sN), G1Hx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sEak(Mkmy, G1Hx):\n assert G1Hx >= 1\n Mkmy = oyIN.asarray(Mkmy)[:G1Hx] != 0\n if Mkmy.size != G1Hx:\n raise ValueError('Relevance score length < k')\n return oyIN.mean(Mkmy)",
"def sEak(Mkmy, G1Hx):\n assert G1Hx >= 1\n Mkmy = oyIN.asarray(Mkmy)[:G1Hx] != 0\n if Mkmy.size != G1Hx... | [
"0.7475594",
"0.74314404",
"0.7328193",
"0.7280659",
"0.7271064",
"0.7129832",
"0.7087148",
"0.6987466",
"0.69284856",
"0.6889254",
"0.68219167",
"0.6814678",
"0.68059695",
"0.6796172",
"0.6774947",
"0.6767025",
"0.6767025",
"0.676344",
"0.66914594",
"0.6675632",
"0.66103244"... | 0.6196564 | 36 |
Add headers to both force latest IE rendering engine or Chrome Frame, and also to cache the rendered page for 10 minutes. | def PYz4(Mkmy):
Mkmy.headers['Cache-Control'] = 'no-cache, no-store, must-revalidate'
Mkmy.headers['Pragma'] = 'no-cache'
Mkmy.headers['Expires'] = '0'
Mkmy.headers['Cache-Control'] = 'public, max-age=0'
return Mkmy | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PYz4(geh0):\n geh0.headers['X-UA-Compatible'] = 'IE=Edge,chrome=1'\n geh0.headers['Cache-Control'] = 'public, max-age=60'\n return geh0",
"def PYz4(geh0):\n geh0.headers['X-UA-Compatible'] = 'IE=Edge,chrome=1'\n geh0.headers['Cache-Control'] = 'public, max-age=600'\n return geh0",
"def PY... | [
"0.82235825",
"0.82227623",
"0.82227623",
"0.82227623",
"0.82227623",
"0.8196081",
"0.81635857",
"0.81635857",
"0.81635857",
"0.81635857",
"0.81635857",
"0.81635857",
"0.81635857",
"0.81635857",
"0.81635857",
"0.81635857",
"0.81635857",
"0.81635857",
"0.81635857",
"0.81635857",... | 0.712861 | 62 |
Removes the object from this world. | def uat1(YKHO, Qad6):
nkvf.remove_object(Qad6)
Qad6.query.delete() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YVWh(YKHO, NvjT):\n YKHO.scene.remove_world_object(NvjT)",
"def kSdD(YKHO):\n YKHO._world.remove_mob(YKHO)",
"def uat1(YKHO, mWFP):\n if mWFP in YKHO._objects:\n del YKHO._objects[mWFP]\n else:\n raise ValueError('Object {} not in scene!'.format(mWFP))\n YKHO.close_renderer()",... | [
"0.8095782",
"0.7762199",
"0.7431813",
"0.7195679",
"0.7184229",
"0.7052576",
"0.69814664",
"0.6966261",
"0.6925698",
"0.69233143",
"0.6888144",
"0.6798792",
"0.673691",
"0.6721849",
"0.6594416",
"0.65179706",
"0.65097326",
"0.6495488",
"0.6477363",
"0.6472084",
"0.6472084",
... | 0.6862572 | 11 |
Invalidates the canvas to allow cairo to redraw | def d8Sb(YKHO):
if YKHO.window:
WKvO, LVAh, yzQ0, MKlR = YKHO.get_allocation()
YKHO.window.invalidate_rect((0, 0, yzQ0, MKlR), False)
YKHO.cr = YKHO.window.cairo_create()
YKHO.cr.update_layout(YKHO.pg) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def INFO(YKHO):\n if not YKHO.canvas:\n return\n if not YKHO.canvas.isClosed():\n sJjt(YKHO.canvas.delete, YKHO.id)\n if YKHO.canvas.autoflush:\n gmYn(qpKq.update)\n pass\n YKHO.canvas = None\n YKHO.id = None",
"def rGjk(YKHO):\n YKHO.canvas.delete('all')... | [
"0.7170448",
"0.70177877",
"0.6811474",
"0.67474014",
"0.6741104",
"0.65798086",
"0.6572473",
"0.651364",
"0.64646524",
"0.6450033",
"0.64039034",
"0.6386848",
"0.6327218",
"0.62746847",
"0.62502813",
"0.6237061",
"0.6207101",
"0.612459",
"0.6124122",
"0.6107939",
"0.6056458"... | 0.8453374 | 0 |
Test if notes are sorted by start time. | def QJyP(YKHO):
for Kv4U in YKHO.simple_scores.values():
rpno = Kv4U.sorted_notes
assert all((rpno[YRbF].start_time <= rpno[YRbF + 1].start_time for YRbF in range(len(rpno) - 1))) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def X8AR(YKHO, zsZf):\n return YKHO.last_on is None or zsZf - YKHO.offset > YKHO.last_on",
"def JIYl(YKHO):\n return YKHO.order_by('start_time')",
"def Eqlw(Cq5E, bPAr):\n return int(Cq5E['BeginDate']) < int(bPAr['BeginDate'])",
"def i0Hp(Cq5E, bPAr):\n return int(Cq5E['BeginDate']) < int(bPAr['B... | [
"0.61224854",
"0.5865765",
"0.57295513",
"0.55280834",
"0.5441577",
"0.5399074",
"0.53915083",
"0.5378046",
"0.5370285",
"0.53318506",
"0.53177214",
"0.52837706",
"0.52716595",
"0.52472234",
"0.5236269",
"0.52277195",
"0.52230084",
"0.5207091",
"0.5160097",
"0.51134276",
"0.5... | 0.74918807 | 0 |
Return a table with model metrics as columns | def hDwu(r8hN, gMbG, ybX2={'auc': lUsu.auc, 'auprc': lUsu.auprc}):
nPrm = [{'dataset': G1Hx, **cQY1(r8hN, Csk6, ybX2)} for G1Hx, Csk6 in gMbG.items()]
ogGw = ['dataset'] + r8hN.metrics_names + list(ybX2.keys())
return rLdf.DataFrame(nPrm)[ogGw] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tKbd(YKHO):\n tyNF = TQJD()\n tyNF.add_column('Classifier', ratio=25)\n tyNF.add_column('Score', ratio=10, justify='center', no_wrap=True)\n tyNF.add_column('Params', ratio=25, no_wrap=False)\n tyNF.add_column('Model ID', ratio=40, no_wrap=True)\n for mWFP, HH9L in YKHO.trainer.performance.it... | [
"0.68475515",
"0.67694277",
"0.6301734",
"0.62993044",
"0.6283047",
"0.6254017",
"0.6179174",
"0.6083647",
"0.6063116",
"0.6007498",
"0.60040426",
"0.5994601",
"0.5992395",
"0.5990162",
"0.5973742",
"0.5968707",
"0.59684587",
"0.5965415",
"0.595515",
"0.59278136",
"0.59160846... | 0.56586915 | 53 |
From a filename, extracts the first part of the filename as the possible name of a family of files; e.g. from 'ts_Amon_bcccsm11_amip_r1i1p1_197901200812.nc' extract and return 'ts_Amon_bcccsm11_amip_r1i1p1'. To distinguish between the end of a file family name and the beginning of the filespecific part of the filename,... | def sc2X(YKHO, Ux0P):
EeFP = ZbWC.search('^.*_\\d\\d', Ux0P)
if EeFP is None:
return Ux0P
else:
RpQr = Ux0P[0:EeFP.end() - 3]
return RpQr | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KVmM(Jkv0):\n im04 = ('None', Jkv0)\n r8hN = ZbWC.match('((?:[a-zA-Z0-9-]){4,})_(.*)$', Jkv0)\n if r8hN:\n im04 = (r8hN.group(1), r8hN.group(2))\n else:\n r8hN = ZbWC.match('(\\\\d+-\\\\d+)\\\\.-\\\\.(.*)$', Jkv0)\n if r8hN:\n im04 = (r8hN.group(1), r8hN.group(2))\n ... | [
"0.7018564",
"0.68886405",
"0.6759327",
"0.6749364",
"0.6716706",
"0.6699516",
"0.6672866",
"0.66605604",
"0.6640363",
"0.65921485",
"0.6585",
"0.65480256",
"0.6478625",
"0.64543766",
"0.64543766",
"0.6446561",
"0.6443001",
"0.64351195",
"0.6385604",
"0.6374533",
"0.6354233",... | 0.7713043 | 0 |
Return objects for the current authenticated user only | def k66M(YKHO):
SyUH = bool(int(YKHO.request.query_params.get('assigned_only', 0)))
SR0I = YKHO.queryset
if SyUH:
SR0I = SR0I.filter(recipe__isnull=False)
return SR0I.filter(user=YKHO.request.user).order_by('-name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def k66M(YKHO):\n return super().get_queryset().filter(user=YKHO.request.user)",
"def k66M(YKHO, QePW):\n umWR = super().get_queryset(QePW)\n return umWR.filter(user=QePW.user)",
"def k66M(YKHO, *qIxc, **B2fa):\n umWR = super().get_queryset(*qIxc, **B2fa).filter(user=YKHO.request.user)\n return ... | [
"0.8128217",
"0.81258285",
"0.7882456",
"0.78440523",
"0.7745406",
"0.7604245",
"0.7604245",
"0.7497975",
"0.7315406",
"0.7285781",
"0.7250722",
"0.7198163",
"0.71906906",
"0.71667135",
"0.7160965",
"0.7144866",
"0.7118433",
"0.7115828",
"0.7115828",
"0.7115828",
"0.71137464"... | 0.0 | -1 |
the number of rows in table | def jOFs(YKHO, d6pt):
return len(YKHO._data) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SWGE(YKHO) -> int:\n ...",
"def NwL4(YKHO):\n return len(YKHO.rows)",
"def DR2N(YKHO) -> int:\n return len(YKHO.rows)",
"def DR2N(YKHO) -> int:\n return len(YKHO.rows)",
"def NwL4(YKHO):\n return len(YKHO.rows)",
"def KyVX(YKHO):\n return len(YKHO.value)",
"def AbqG(YKHO):\n re... | [
"0.8705973",
"0.8478985",
"0.84346503",
"0.84346503",
"0.837452",
"0.8211421",
"0.8197341",
"0.81781596",
"0.8164352",
"0.8141076",
"0.8087774",
"0.80864626",
"0.807266",
"0.8067912",
"0.8066846",
"0.79875976",
"0.79777974",
"0.7970405",
"0.79507315",
"0.7892005",
"0.7889868"... | 0.7413387 | 47 |
the number of rows in table | def jOFs(YKHO, d6pt):
return 3 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SWGE(YKHO) -> int:\n ...",
"def NwL4(YKHO):\n return len(YKHO.rows)",
"def DR2N(YKHO) -> int:\n return len(YKHO.rows)",
"def DR2N(YKHO) -> int:\n return len(YKHO.rows)",
"def NwL4(YKHO):\n return len(YKHO.rows)",
"def KyVX(YKHO):\n return len(YKHO.value)",
"def AbqG(YKHO):\n re... | [
"0.8705973",
"0.8478985",
"0.84346503",
"0.84346503",
"0.837452",
"0.8211421",
"0.8197341",
"0.81781596",
"0.8164352",
"0.8141076",
"0.8087774",
"0.80864626",
"0.807266",
"0.8067912",
"0.8066846",
"0.79875976",
"0.79777974",
"0.7970405",
"0.79507315",
"0.7892005",
"0.7889868"... | 0.7160755 | 63 |
returns the number of vertices of a graph | def poMF(YKHO):
return len(YKHO.__graph_dict.keys()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def X7h0(YKHO):\n return YKHO._graph_state.get_num_vertices()",
"def poMF(YKHO):\n return YKHO._top_exp.number_of_vertices()",
"def t84Y(YKHO):\n try:\n return YKHO._n_vertices\n except AttributeError:\n YKHO._n_vertices = 0\n for Ty9i in YKHO.vertex_generator():\n Y... | [
"0.8294428",
"0.82162774",
"0.8099264",
"0.8084873",
"0.8084873",
"0.80744034",
"0.80422086",
"0.7976934",
"0.79424685",
"0.79383194",
"0.7920504",
"0.7877179",
"0.7767539",
"0.7748465",
"0.7637932",
"0.75549054",
"0.74742794",
"0.7297782",
"0.72895753",
"0.7250115",
"0.72318... | 0.8577807 | 0 |
returns the number of edges of a graph | def n8F9(YKHO):
return len(YKHO.__generate_edges()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ann4(pNZh):\n return sum([len(pNZh[J078].keys()) for J078 in pNZh.keys()]) / 2",
"def oklI(YKHO):\n try:\n return YKHO.edges\n except:\n print('ERROR: No graph exists')",
"def fOCg(YKHO) -> int:\n return YKHO.graph.number_of_edges()",
"def n8F9(YKHO):\n return sum((len(Ty9i.a... | [
"0.8555402",
"0.84465003",
"0.83987844",
"0.8311189",
"0.8286456",
"0.825919",
"0.8178529",
"0.8159551",
"0.8123871",
"0.8040028",
"0.80336994",
"0.8014446",
"0.8012517",
"0.79744923",
"0.7944467",
"0.78664666",
"0.78160673",
"0.7815068",
"0.775783",
"0.77435327",
"0.7735299"... | 0.8191377 | 6 |
If the vertex "vertex" is not in self.__graph_dict, a key "vertex" with an empty list as a value is added to the dictionary. Otherwise nothing has to be done. | def ohmD(YKHO, SLBp):
if SLBp not in YKHO.__graph_dict:
YKHO.__graph_dict[SLBp] = {} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ohmD(YKHO, SLBp):\n if SLBp not in YKHO.graph_dict:\n YKHO.graph_dict[SLBp] = []",
"def ohmD(YKHO, SLBp):\n if SLBp not in YKHO.__graph_dict:\n YKHO.__graph_dict[SLBp] = []",
"def ohmD(YKHO, SLBp):\n if SLBp not in YKHO.__graph_dict:\n YKHO.__graph_dict[SLBp] = []",
"def ohm... | [
"0.8620155",
"0.85858893",
"0.85858893",
"0.8486344",
"0.8405291",
"0.77837217",
"0.7466885",
"0.74570274",
"0.7251097",
"0.719812",
"0.71429664",
"0.70753896",
"0.70753896",
"0.6962258",
"0.6887333",
"0.68829846",
"0.6833113",
"0.67997783",
"0.6796253",
"0.67158026",
"0.6710... | 0.8476053 | 4 |
Check whether `obj` inherits from Boost.Python.enum. | def Wply(YEnM: Any) -> bool:
for Emd4 in type(YEnM).__bases__:
if 'Boost.Python.enum' in str(Emd4):
return True
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AshC(RjIW):\n return isinstance(RjIW, uPxI.Enum) or (isinstance(RjIW, uPxI.Field) and RjIW.enum_type)",
"def AshC(YKHO):\n return False",
"def AshC(YKHO):\n return YKHO.is_complex and (not YKHO.is_class)",
"def b_gB(YEnM, J9Xy):\n if J9Xy == type(YEnM):\n return False\n return isins... | [
"0.7379043",
"0.6682498",
"0.6575283",
"0.63988435",
"0.6314002",
"0.63092816",
"0.6300783",
"0.62994534",
"0.62766397",
"0.6261479",
"0.6242206",
"0.6231385",
"0.6226024",
"0.62231505",
"0.6219832",
"0.6219832",
"0.6207228",
"0.61851394",
"0.61775",
"0.6171979",
"0.6163057",... | 0.8621327 | 0 |
Check whether `obj` is instance of Boost.Python.enum. | def P4fU(YEnM: Any) -> bool:
return 'Boost.Python.class' in str(type(YEnM)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Wply(YEnM: Any) -> bool:\n for Emd4 in type(YEnM).__bases__:\n if 'Boost.Python.enum' in str(Emd4):\n return True\n return False",
"def AshC(RjIW):\n return isinstance(RjIW, uPxI.Enum) or (isinstance(RjIW, uPxI.Field) and RjIW.enum_type)",
"def AshC(YKHO):\n return False",
"... | [
"0.84022284",
"0.76667625",
"0.67724174",
"0.66248685",
"0.63890505",
"0.63192445",
"0.61951196",
"0.6047925",
"0.60392463",
"0.6001024",
"0.59998184",
"0.59177816",
"0.5839826",
"0.58214223",
"0.5817479",
"0.5814377",
"0.5801613",
"0.5796566",
"0.5784162",
"0.5746553",
"0.57... | 0.6009498 | 9 |
Returns a random part of a string. Returns a random part of a string s that has a given length. | def GLL2(vIwR, u54L):
V22M = vIwR.split()
Dnwp = tuKI.randint(0, len(V22M) - u54L)
return ''.join(V22M[Dnwp:Dnwp + u54L]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kSFd(a__r=17):\n tuKI = str(qxeD.uuid4())\n tuKI = tuKI.upper()\n tuKI = tuKI.replace('-', '')\n return tuKI[0:a__r]",
"def BWvy(u54L=8, gLiZ=vIwR.ascii_letters + vIwR.digits):\n return ''.join([gLiZ[tuKI.randint(0, len(gLiZ) - 1)] for YRbF in range(u54L)])",
"def GLL2(u54L: int) -> str:\n ... | [
"0.72976446",
"0.7289028",
"0.72863644",
"0.7257486",
"0.7251793",
"0.7228094",
"0.7225105",
"0.72134733",
"0.72119886",
"0.72024626",
"0.72024626",
"0.72007173",
"0.71958107",
"0.7194601",
"0.7194079",
"0.7183809",
"0.7183112",
"0.7173273",
"0.7160337",
"0.7153696",
"0.71514... | 0.7963441 | 0 |
Return a string representation of a given parameter. | def aqgU(YKHO, k78t):
if not YKHO.has_converged or YKHO.parameters is None:
return None
if k78t not in YKHO.parameters:
return None
FMLJ = YKHO.get_parameter_format(k78t)
PXGI = YKHO.get_parameter_unit(k78t)
BWXx = FMLJ % YKHO.parameters[k78t]
P1dF = YKHO.errors[k78t]
if oyIN... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return '<ExoParameter>: {0}'.format(YKHO.__dict__)",
"def RUMF(YKHO, mWFP: str, BWXx: Any) -> str:\n return f'{mWFP}={BWXx!r}'",
"def OOKx(xqoZ, jeGQ):\n Gxxr = Fhmz(IGTn(xqoZ))\n if not jeGQ:\n Gxxr += '=None'\n return Gxxr",
"def zAg0(YKHO):\n return YKHO.paramete... | [
"0.7343561",
"0.71605086",
"0.710844",
"0.69979465",
"0.69655436",
"0.6828032",
"0.67813796",
"0.6732115",
"0.67217475",
"0.6646251",
"0.66266364",
"0.65682906",
"0.656694",
"0.6539286",
"0.639672",
"0.63439494",
"0.6307336",
"0.62920564",
"0.628318",
"0.6257743",
"0.62439185... | 0.7855388 | 0 |
Method to return a custom logger with the given name and level | def CaUA(E70h, ABDL=G9jH.INFO):
bo34 = G9jH.getLogger(E70h)
bo34.setLevel(ABDL)
sI3h = '%(asctime)s, %(levelname)s, %(filename)s, %(message)s'
IpOZ = G9jH.Formatter(sI3h)
C5iz = G9jH.StreamHandler(HwRy.stdout)
C5iz.setFormatter(IpOZ)
bo34.addHandler(C5iz)
L8wK = G9jH.FileHandler(E70h, mo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fZx2(mWFP: str, ABDL: str=wnrn) -> G9jH.Logger:\n bo34 = G9jH.getLogger(mWFP)\n bo34.propagate = False\n bo34.setLevel(ABDL)\n gEt3.install(level=ABDL, logger=bo34, fmt='%(asctime)s %(name)s: %(lineno)s %(levelname)s: %(message)s', field_styles=ZwRt)\n return bo34",
"def hdKa(mWFP, *, ABDL=G9j... | [
"0.81156564",
"0.80115414",
"0.79588497",
"0.774673",
"0.77105635",
"0.7634092",
"0.7624498",
"0.76038194",
"0.75276273",
"0.74171513",
"0.73107415",
"0.7245147",
"0.72039235",
"0.71859866",
"0.71816105",
"0.7040017",
"0.7033277",
"0.6987893",
"0.69791347",
"0.69768167",
"0.6... | 0.73898995 | 10 |
Returns True if the server is running | def WTIh(YKHO):
return YKHO._running | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mC5R(YKHO):\n return BfDw.ProcessIsRunning(YKHO._gocode_handle)",
"def jGRS(YKHO):\n Ii1o = YKHO.get_pidfile()\n HX9S = True\n if Ii1o is None:\n HX9S = False\n elif not YKHO.send_signal(Ii1o, 0):\n HX9S = False\n YKHO.delete_pidfile()\n if HX9S:\n Ol8d = 'server... | [
"0.8809185",
"0.8009785",
"0.8002331",
"0.7958592",
"0.7890142",
"0.7879066",
"0.78770465",
"0.7851644",
"0.7850044",
"0.78008723",
"0.77929753",
"0.77749777",
"0.7774173",
"0.7757005",
"0.77514684",
"0.77514684",
"0.77514684",
"0.77452874",
"0.7717644",
"0.7717644",
"0.77032... | 0.7632167 | 26 |
Returns the quantization config for transformerbased models. | def yM9A(RET9: int) -> cuzp[str, ImMB]:
return {'algorithm': 'quantization', 'preset': 'mixed', 'initializer': {'range': {'num_init_samples': RET9, 'type': ncHq}, 'batchnorm_adaptation': {'num_bn_adaptation_samples': 0}}, 'scope_overrides': {'activations': {'{re}.*matmul_0': {'mode': 'symmetric'}}}, 'ignored_scopes... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mXAQ(_ZvT: QuantizationPreset, RET9: int) -> cuzp[str, ImMB]:\n return {'algorithm': 'quantization', 'preset': _ZvT.value, 'initializer': {'range': {'num_init_samples': RET9, 'type': ncHq}, 'batchnorm_adaptation': {'num_bn_adaptation_samples': RET9}}, 'overflow_fix': 'first_layer_only'}",
"def wR_4() -> '... | [
"0.66286147",
"0.5942934",
"0.5907931",
"0.5872018",
"0.5804783",
"0.57093644",
"0.56935316",
"0.5644522",
"0.56273764",
"0.5596549",
"0.5582015",
"0.55781955",
"0.5568165",
"0.5547753",
"0.5484123",
"0.54839206",
"0.54510504",
"0.5421256",
"0.54176253",
"0.5367854",
"0.53125... | 0.780377 | 0 |
Given positive int n and array P representing probabilities corresponding to an allel frequency, returns array B representing the expected allele frequency of the next generation | def BACt():
input = eHNT.LoadFile('\\rosalind_ebin.txt').splitlines()
exwG = int(input[0])
V6IE = [float(WKvO) for WKvO in input[1].split()]
tjUW = [str(round(YRbF * exwG, 4)) for YRbF in V6IE]
eHNT.ExportToFile('rosalind_ebin_output.txt', ' '.join(tjUW))
return | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rHGW(exwG: int, XP5J: float) -> int:\n return sum((h7sN(XP5J) for bGrB in range(exwG)))",
"def J6zV(G1Hx, exwG, XP5J):\n Y0DV = oyIN.empty_like(exwG, dtype=oyIN.float64)\n La78 = epAf.log(XP5J)\n h8jM = epAf.log(1 - XP5J)\n for YRbF in range(len(G1Hx)):\n Y0DV[YRbF] = epAf.exp(ct4W(exwG... | [
"0.6789287",
"0.67728233",
"0.65926576",
"0.6576568",
"0.6520024",
"0.6460622",
"0.6324361",
"0.6279238",
"0.62723196",
"0.6234605",
"0.6230018",
"0.62065023",
"0.6202986",
"0.6180209",
"0.61650026",
"0.6157465",
"0.61489534",
"0.6131866",
"0.6128808",
"0.60880065",
"0.608400... | 0.0 | -1 |
Ensure that pytest's config.option.verbose is <= 0. | def D0DD(GPtr) -> jd6F[None, None, None]:
if GPtr.option.verbose <= 0:
yield
else:
JBAi = GPtr.option.verbose
GPtr.option.verbose = 0
yield
GPtr.option.verbose = JBAi | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def d9oZ(PJWX: Any) -> None:\n uS4N(PJWX)",
"def SP82(YKHO):\n with trZe.raises(ValueError):\n IIvq(verbose=1)",
"def ol50(PJWX: Any) -> None:\n with trZe.raises(ValueError, match='.*Invalid verbose argument.*'):\n uS4N(PJWX)",
"def DV6R(YKHO, eDY2):\n wvEv = WDqQ()\n asrI = ['--... | [
"0.72909325",
"0.7116359",
"0.69435227",
"0.67122096",
"0.6585893",
"0.65532297",
"0.65245336",
"0.6418826",
"0.62999177",
"0.62315834",
"0.62073755",
"0.6173831",
"0.6169409",
"0.61526793",
"0.6150769",
"0.6149129",
"0.6140586",
"0.61110395",
"0.6096457",
"0.6042438",
"0.604... | 0.66538364 | 4 |
Return a copy of the dynamics estimate. | def jth9(YKHO):
stGc = type(YKHO)(YKHO._hyperparams)
stGc.Fm = oyIN.copy(YKHO.Fm)
stGc.fv = oyIN.copy(YKHO.fv)
stGc.dyn_covar = oyIN.copy(YKHO.dyn_covar)
return stGc | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jth9(YKHO):\n return rlTo(YKHO.variables.copy())",
"def Tsf2(YKHO) -> oyIN.ndarray:\n return YKHO.fit_function(YKHO.x, YKHO.coefficients)",
"def bbTD(YKHO) -> None:\n pass",
"def VVyp(YKHO):\n return YKHO.__derivative",
"def jth9(YKHO):\n return mOM7(learn=YKHO.learn, num_steps=YKHO.num_... | [
"0.65137255",
"0.62424964",
"0.61908615",
"0.59357244",
"0.5865188",
"0.58616906",
"0.58283806",
"0.57059515",
"0.5626296",
"0.562039",
"0.56190413",
"0.56190413",
"0.56011146",
"0.5548338",
"0.5543138",
"0.5528686",
"0.54649377",
"0.54125106",
"0.5405548",
"0.540251",
"0.539... | 0.5863494 | 6 |
Compute curvature using 'triangle's circumscribed circle ' method. | def XoNZ(WKvO, LVAh):
u54L = WKvO.size
A3Vt = oyIN.zeros(u54L)
DpUl = oyIN.zeros(u54L)
for YRbF in range(1, u54L - 1):
jzdc = oyIN.sqrt((WKvO[YRbF + 1] - WKvO[YRbF]) ** 2 + (LVAh[YRbF + 1] - LVAh[YRbF]) ** 2)
Fg_i = oyIN.sqrt((WKvO[YRbF + 1] - WKvO[YRbF - 1]) ** 2 + (LVAh[YRbF + 1] - LVA... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def X74i(YKHO):\n return YKHO.circle().curvature(YKHO.o, YKHO.r, p=YKHO.a)",
"def X74i(YKHO, a1PO):\n Jw7X = YKHO.dx(a1PO)\n eUWA = YKHO.dy(a1PO)\n kFSp = YKHO.dxx(a1PO)\n VLbZ = YKHO.dyy(a1PO)\n return oyIN.abs(Jw7X * VLbZ - eUWA * kFSp) / oyIN.power(Jw7X * Jw7X + eUWA * eUWA, 1.5)",
"def X7... | [
"0.7887616",
"0.7790393",
"0.74798626",
"0.7411039",
"0.7347205",
"0.7338861",
"0.72747785",
"0.7150064",
"0.69930804",
"0.697757",
"0.6951256",
"0.6819586",
"0.6756915",
"0.6693438",
"0.6556853",
"0.64711803",
"0.64556247",
"0.63826823",
"0.63458794",
"0.6335935",
"0.6330669... | 0.56674206 | 41 |
Makes a dict that accumulates the values for each key in an iterator of doubles | def KQGv(oHE7):
Csk6 = oRi_(set)
for H5ew, BWXx in oHE7:
Csk6[H5ew].add(BWXx)
return dict(Csk6) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nTzL(PADO):\n return {XU7Z: sum((oyIN.array(jqUd[XU7Z]) for jqUd in PADO)) for XU7Z in PADO[0].keys()}",
"def jtCf(oHE7, H5ew):\n gSR0 = oRi_(int)\n hkxX = {}\n S3Jm = 0\n for YEnM in oHE7:\n S3Jm += 1\n try:\n wEf2 = YEnM[H5ew]\n except (KeyError, TypeError):\n... | [
"0.6195448",
"0.5842633",
"0.5762505",
"0.5756769",
"0.5659886",
"0.5645777",
"0.5627008",
"0.5534746",
"0.5509884",
"0.55032265",
"0.54376537",
"0.54350764",
"0.54216063",
"0.5409323",
"0.540671",
"0.5402735",
"0.53859186",
"0.53531986",
"0.53487366",
"0.5334113",
"0.5327092... | 0.61645067 | 1 |
The set of arguments for constructing a BucketLifecycleConfigurationV2 resource. | def FIMM(Ro_8, *, WE7e: pulumi.Input[str], c_NS: pulumi.Input[Sequence[pulumi.Input['BucketLifecycleConfigurationV2RuleArgs']]], pNQh: Optional[pulumi.Input[str]]=None):
qe4Y.set(Ro_8, 'bucket', WE7e)
qe4Y.set(Ro_8, 'rules', c_NS)
if pNQh is not None:
qe4Y.set(Ro_8, 'expected_bucket_owner', pNQh) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(Ro_8, *, WE7e: Optional[pulumi.Input[str]]=None, pNQh: Optional[pulumi.Input[str]]=None, c_NS: Optional[pulumi.Input[Sequence[pulumi.Input['BucketLifecycleConfigurationV2RuleArgs']]]]=None):\n if WE7e is not None:\n qe4Y.set(Ro_8, 'bucket', WE7e)\n if pNQh is not None:\n qe4Y.set(Ro_8,... | [
"0.5992038",
"0.5966955",
"0.5840128",
"0.564464",
"0.5369499",
"0.5274274",
"0.5194183",
"0.5058795",
"0.5053266",
"0.5050231",
"0.5019062",
"0.5004931",
"0.49637008",
"0.49507582",
"0.49400494",
"0.48740724",
"0.48440862",
"0.4800399",
"0.47935998",
"0.47795483",
"0.4777908... | 0.57040656 | 3 |
Name of the source S3 bucket you want Amazon S3 to monitor. | def WE7e(YKHO) -> qe4Y.Input[str]:
return qe4Y.get(YKHO, 'bucket') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cFqg(YKHO):\n return YKHO._get_param('ResourcesS3Bucket')",
"def l7rj(YKHO) -> str:\n ...",
"def l7rj(YKHO) -> str:\n return qe4Y.get(YKHO, 'bucket_name')",
"def ABwj(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 's3_bucket')",
"def l7rj(YKHO) -> str:\n return HEOD.get(YKHO, 'bucketN... | [
"0.7696654",
"0.7252698",
"0.7064286",
"0.70079666",
"0.6968253",
"0.6968253",
"0.6959447",
"0.6959447",
"0.6959447",
"0.6959447",
"0.6959447",
"0.67862225",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.676... | 0.6067084 | 47 |
Account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error. | def pNQh(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'expected_bucket_owner') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pNQh(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'expected_bucket_owner')",
"def k4C1(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'owner_account_id')",
"def k4C1(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'owner_account_id')",
"def cMrz(YKHO):\n return YKHO._b... | [
"0.7146499",
"0.6446139",
"0.6384591",
"0.6065642",
"0.5860553",
"0.5854814",
"0.58411705",
"0.581899",
"0.57273",
"0.57180434",
"0.5700793",
"0.5700793",
"0.5690769",
"0.5674292",
"0.5650694",
"0.56504285",
"0.5646915",
"0.5642213",
"0.5625961",
"0.5623262",
"0.56102705",
... | 0.70394754 | 1 |
Name of the source S3 bucket you want Amazon S3 to monitor. | def WE7e(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'bucket') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cFqg(YKHO):\n return YKHO._get_param('ResourcesS3Bucket')",
"def l7rj(YKHO) -> str:\n ...",
"def l7rj(YKHO) -> str:\n return qe4Y.get(YKHO, 'bucket_name')",
"def ABwj(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 's3_bucket')",
"def l7rj(YKHO) -> str:\n return HEOD.get(YKHO, 'bucketN... | [
"0.7696654",
"0.7252698",
"0.7064286",
"0.70079666",
"0.6968253",
"0.6968253",
"0.6959447",
"0.6959447",
"0.6959447",
"0.6959447",
"0.6959447",
"0.67862225",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.676... | 0.5758498 | 98 |
Account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error. | def pNQh(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'expected_bucket_owner') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pNQh(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'expected_bucket_owner')",
"def k4C1(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'owner_account_id')",
"def k4C1(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'owner_account_id')",
"def cMrz(YKHO):\n return YKHO._b... | [
"0.7147683",
"0.6445131",
"0.63837475",
"0.6061159",
"0.5858455",
"0.5852843",
"0.583966",
"0.5817529",
"0.5723972",
"0.5716804",
"0.5698139",
"0.5698139",
"0.5686788",
"0.5675481",
"0.5651604",
"0.565157",
"0.564837",
"0.5641776",
"0.562609",
"0.5620628",
"0.5610478",
"0.5... | 0.7040738 | 2 |
Get an existing BucketLifecycleConfigurationV2 resource's state with the given name, id, and optional extra properties used to qualify the lookup. | def NMoC(kFeU: str, id: pulumi.Input[str], VKhi: Optional[pulumi.ResourceOptions]=None, WE7e: Optional[pulumi.Input[str]]=None, pNQh: Optional[pulumi.Input[str]]=None, c_NS: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BucketLifecycleConfigurationV2RuleArgs']]]]]=None) -> 'BucketLifecycleConfigurationV... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NMoC(kFeU: str, id: pulumi.Input[str], VKhi: Optional[pulumi.ResourceOptions]=None, jxZ8: Optional[pulumi.Input[str]]=None, xcSt: Optional[pulumi.Input[str]]=None, mWFP: Optional[pulumi.Input[str]]=None, Rnsf: Optional[pulumi.Input[pulumi.InputType['RegionPerInstanceConfigPreservedStateArgs']]]=None, bNKA: Opt... | [
"0.58018064",
"0.5353829",
"0.5117951",
"0.51060236",
"0.50312877",
"0.49301392",
"0.48632613",
"0.4778881",
"0.47655228",
"0.47473097",
"0.4707761",
"0.4704642",
"0.46908763",
"0.46863323",
"0.4678712",
"0.46439952",
"0.46264488",
"0.46231508",
"0.46105427",
"0.455522",
"0.4... | 0.7716009 | 0 |
Name of the source S3 bucket you want Amazon S3 to monitor. | def WE7e(YKHO) -> qe4Y.Output[str]:
return qe4Y.get(YKHO, 'bucket') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cFqg(YKHO):\n return YKHO._get_param('ResourcesS3Bucket')",
"def l7rj(YKHO) -> str:\n ...",
"def l7rj(YKHO) -> str:\n return qe4Y.get(YKHO, 'bucket_name')",
"def ABwj(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 's3_bucket')",
"def l7rj(YKHO) -> str:\n return HEOD.get(YKHO, 'bucketN... | [
"0.7696654",
"0.7252698",
"0.7064286",
"0.70079666",
"0.6968253",
"0.6968253",
"0.6959447",
"0.6959447",
"0.6959447",
"0.6959447",
"0.6959447",
"0.67862225",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.67652977",
"0.676... | 0.5934818 | 73 |
Account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error. | def pNQh(YKHO) -> qe4Y.Output[h8nf[str]]:
return qe4Y.get(YKHO, 'expected_bucket_owner') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pNQh(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'expected_bucket_owner')",
"def pNQh(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'expected_bucket_owner')",
"def k4C1(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'owner_account_id')",
"def k4C1(YKHO) -> h8nf[qe4Y.Inp... | [
"0.7040738",
"0.7040738",
"0.6445131",
"0.63837475",
"0.6061159",
"0.5858455",
"0.5852843",
"0.583966",
"0.5817529",
"0.5723972",
"0.5716804",
"0.5698139",
"0.5698139",
"0.5686788",
"0.5675481",
"0.5651604",
"0.565157",
"0.564837",
"0.5641776",
"0.562609",
"0.5620628",
"0.5... | 0.7147683 | 0 |
Convert the bbox record to BBox2D objects. | def R0k2(MqMe):
UXqs = MqMe['label_id']
cviu = MqMe['bbox']
JXb8 = VYVC(x=cviu[0], y=cviu[1], w=cviu[2], h=cviu[3], label=UXqs)
return JXb8 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qx0C():\n UorC = {'gt_bboxes': 'gt_labels', 'gt_bboxes_ignore': 'gt_labels_ignore'}\n tVA3 = {'gt_bboxes': 'gt_masks', 'gt_bboxes_ignore': 'gt_masks_ignore'}\n t0XG = {'gt_bboxes': 'gt_semantic_seg'}\n return (UorC, tVA3, t0XG)",
"def UX2B(YKHO, oRQ3):\n si3g, o4D3, skBL, ajwV = biH0.apply_tra... | [
"0.6832664",
"0.6783777",
"0.6691991",
"0.63218105",
"0.6319875",
"0.6284736",
"0.6246083",
"0.6223461",
"0.61668444",
"0.6120401",
"0.6079261",
"0.6019865",
"0.6007134",
"0.59077746",
"0.5902924",
"0.5898657",
"0.58965296",
"0.5879593",
"0.5847342",
"0.58367205",
"0.58200914... | 0.75232357 | 0 |
Return the average duration in seconds of a Python Bytes episode, as | def Ls5M(YKHO) -> WWu8:
WXkz = [cfQG.itunes_duration for cfQG in YKHO.entries]
pIMk = []
for ITS7 in WXkz:
if not ITS7.startswith('00'):
ITS7 = '0' + ITS7
pIMk.append(ITS7)
_JbN = [qcWV.strptime(WKvO, '%H:%M:%S') for WKvO in pIMk]
lcOE = [fCoM(hours=WKvO.hour, minutes=WKv... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GwAC(jD7w: bytes) -> float:\n with xDSY.BytesIO(jD7w) as CIfz:\n ckN3: qJa9.Wave_read = qJa9.open(CIfz, 'rb')\n with ckN3:\n VIPT = ckN3.getnframes()\n mVUw = ckN3.getframerate()\n return VIPT / float(mVUw)",
"def WbTE():\n JRmW, WbTE = Jd2p()\n return ... | [
"0.67595243",
"0.65047795",
"0.64271915",
"0.64189667",
"0.6367844",
"0.6341444",
"0.6284898",
"0.6283205",
"0.6277745",
"0.62206906",
"0.62178415",
"0.6192925",
"0.6191467",
"0.6185916",
"0.61730164",
"0.6169899",
"0.61567783",
"0.6137445",
"0.6130938",
"0.6128692",
"0.61263... | 0.71605974 | 0 |
Construct a new BlockScanner object. | def FIMM(YKHO, Tgop, JZXy):
YKHO.current_char = Tgop
YKHO.source = JZXy | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, k3cC):\n YKHO._iterator = iter(k3cC)\n YKHO._stack = []\n YKHO._tokenMarker = None\n suiP = next(YKHO._iterator)\n vA_m = MDMj(suiP)\n if not isinstance(suiP, ejK4):\n raise oKmZ('First token is not a StartOfDocumentToken.', suiP)\n YKHO.Token = vA_m.StartToken\n YKHO.... | [
"0.597456",
"0.5563696",
"0.53400904",
"0.5296141",
"0.52921337",
"0.5256663",
"0.52089673",
"0.5207816",
"0.5177261",
"0.51647526",
"0.51439065",
"0.51185596",
"0.5116297",
"0.50943065",
"0.507248",
"0.50681114",
"0.5063206",
"0.5055973",
"0.5041467",
"0.5037778",
"0.5036207... | 0.0 | -1 |
Play the next song in the queue. | def jTBM(PJWX=0, LpOW=False):
vwaS.request('me/player/next', method='POST')
if not LpOW:
from cli.commands.status import status
status.callback(verbose=PJWX)
return | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def async_media_next_track(YKHO) -> None:\n VvVL = YKHO._get_current_track_index()\n await YKHO._table.active_playlist.play(YKHO._table.active_playlist.tracks[VvVL + 1])",
"async def next(YKHO):\n await YKHO._pytheos.api.player.play_next(YKHO.id)",
"async def play(YKHO):\n if YKHO.repeat and ... | [
"0.7804286",
"0.756156",
"0.7519215",
"0.7317698",
"0.7314149",
"0.72888863",
"0.713351",
"0.70998675",
"0.7088512",
"0.690234",
"0.68884444",
"0.6880905",
"0.68629616",
"0.6795466",
"0.67567676",
"0.6732975",
"0.6704325",
"0.6688262",
"0.6659063",
"0.66365665",
"0.6595123",
... | 0.57869184 | 94 |
Initialize a model object. | def FIMM(YKHO, lWkY='LogisticRegression'):
YKHO.classific_method = lWkY | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Gv23(YKHO):\n pass",
"def fPO8(YKHO):\n pass",
"def Gv23(YKHO):\n C3ST = YKHO.model_class()\n return C3ST",
"def uIcm(YKHO, C3ST):\n pass",
"def FIMM(YKHO, C3ST):\n YKHO._model = C3ST",
"def FIMM(YKHO, C3ST: object):\n YKHO.model = C3ST",
"def FIMM(YKHO, C3ST: Optional[Model]=N... | [
"0.8386426",
"0.82832724",
"0.81248385",
"0.8097535",
"0.80893433",
"0.78528905",
"0.77985805",
"0.7795144",
"0.7786414",
"0.7762771",
"0.7762771",
"0.7762771",
"0.7762771",
"0.7587415",
"0.7512679",
"0.7500231",
"0.7500231",
"0.7455408",
"0.736257",
"0.736257",
"0.730667",
... | 0.0 | -1 |
Returns the arm's desired velocity in workspace coordinates at time t. You should NOT simply take a finite difference of self.target_position() | def hTvN(YKHO, ITS7):
c6mM = YKHO.w * YKHO.r * YhSR(YKHO.w * ITS7)
fIP3 = -YKHO.w * YKHO.r * YUNn(YKHO.w * ITS7)
Orw4 = 0
return oyIN.array([c6mM, fIP3, Orw4]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hTvN(YKHO, ITS7):\n return YKHO.target(ITS7, YKHO.velocities, YKHO.dt, YKHO.num_way)",
"def hTvN(YKHO, ITS7):\n return YKHO.target(ITS7, YKHO.velocities, YKHO.dt, YKHO.num_way)",
"def hTvN(YKHO, ITS7):\n pmON, oKMB = YKHO.get_current_path(ITS7)\n return pmON.target_velocity(oKMB)",
"def SzjI(... | [
"0.7068331",
"0.7068331",
"0.70444334",
"0.7034289",
"0.6955907",
"0.68580544",
"0.6856776",
"0.6856776",
"0.67172503",
"0.6685114",
"0.66773754",
"0.6674364",
"0.66353154",
"0.66283923",
"0.6606402",
"0.65924555",
"0.65924555",
"0.6582541",
"0.6543292",
"0.6520295",
"0.65179... | 0.72390187 | 0 |
Reduce this Dataset's data by applying ``prod`` along some dimension(s). | def QRFO(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:
return YKHO.reduce(XIkr.prod, dim=tpio, skipna=nLK1, min_count=ziIx, numeric_only=True, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QRFO(YKHO, jDK_=None, JsoO=False, yDqo=None, yvT9=None):\n return oyIN.multiply.reduce(YKHO, out=yvT9, axis=jDK_, keepdims=JsoO, dtype=yDqo)",
"def QRFO(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YKHO.reduce(XIkr.prod,... | [
"0.7481061",
"0.735098",
"0.714532",
"0.714532",
"0.700226",
"0.700226",
"0.6688766",
"0.65455145",
"0.65137213",
"0.64294696",
"0.6274849",
"0.6176995",
"0.6066634",
"0.59346235",
"0.5929033",
"0.591033",
"0.591033",
"0.591033",
"0.58753616",
"0.5752229",
"0.5747925",
"0.5... | 0.74074686 | 1 |
Reduce this Dataset's data by applying ``sum`` along some dimension(s). | def sum(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:
return YKHO.reduce(XIkr.sum, dim=tpio, skipna=nLK1, min_count=ziIx, numeric_only=True, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sum(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YKHO.reduce(XIkr.sum, dim=tpio, skipna=nLK1, min_count=ziIx, keep_attrs=L3SL, **B2fa)",
"def sum(YKHO, jDK_=None, JsoO=False, yDqo=None, yvT9=None):\n return oyIN.add.redu... | [
"0.69223887",
"0.68643904",
"0.68584",
"0.68099666",
"0.6725604",
"0.6725604",
"0.66675615",
"0.6634007",
"0.6546494",
"0.6546494",
"0.6421243",
"0.64142853",
"0.63628495",
"0.63059735",
"0.62661374",
"0.62658197",
"0.6225546",
"0.6212655",
"0.61623865",
"0.6143209",
"0.60457... | 0.70593727 | 0 |
Reduce this Dataset's data by applying ``cumsum`` along some dimension(s). | def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:
return YKHO.reduce(XIkr.cumsum, dim=tpio, skipna=nLK1, numeric_only=True, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YKHO.reduce(XIkr.cumsum, dim=tpio, skipna=nLK1, keep_attrs=L3SL, **B2fa)",
"def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YKH... | [
"0.7537239",
"0.7537239",
"0.7537239",
"0.67484677",
"0.67069674",
"0.66436154",
"0.63819385",
"0.6350921",
"0.6343282",
"0.62725073",
"0.6268484",
"0.6268484",
"0.6268484",
"0.6262665",
"0.6262446",
"0.62461925",
"0.61838704",
"0.61838704",
"0.61838704",
"0.61028945",
"0.606... | 0.769945 | 2 |
Reduce this Dataset's data by applying ``cumprod`` along some dimension(s). | def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:
return YKHO.reduce(XIkr.cumprod, dim=tpio, skipna=nLK1, numeric_only=True, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YKHO.reduce(XIkr.cumprod, dim=tpio, skipna=nLK1, keep_attrs=L3SL, **B2fa)",
"def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YK... | [
"0.78994447",
"0.78994447",
"0.78994447",
"0.70834005",
"0.7032063",
"0.69815505",
"0.6964613",
"0.6532074",
"0.62200755",
"0.6205164",
"0.62014854",
"0.61457735",
"0.6142508",
"0.6083153",
"0.60304993",
"0.59804726",
"0.59804726",
"0.5861358",
"0.5861358",
"0.5861358",
"0.58... | 0.8054797 | 2 |
Reduce this DataArray's data by applying ``prod`` along some dimension(s). | def QRFO(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:
return YKHO.reduce(XIkr.prod, dim=tpio, skipna=nLK1, min_count=ziIx, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QRFO(YKHO, jDK_=None, JsoO=False, yDqo=None, yvT9=None):\n return oyIN.multiply.reduce(YKHO, out=yvT9, axis=jDK_, keepdims=JsoO, dtype=yDqo)",
"def QRFO(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n if JsAi and V1Lg['use_flox'] ... | [
"0.75356025",
"0.69897264",
"0.69897264",
"0.69731647",
"0.68985814",
"0.6810773",
"0.6810773",
"0.6472493",
"0.63539034",
"0.6327443",
"0.6250724",
"0.6143561",
"0.60524917",
"0.6012047",
"0.5895768",
"0.58667177",
"0.58586097",
"0.58586097",
"0.58586097",
"0.58337677",
"0.5... | 0.72356445 | 1 |
Reduce this DataArray's data by applying ``sum`` along some dimension(s). | def sum(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:
return YKHO.reduce(XIkr.sum, dim=tpio, skipna=nLK1, min_count=ziIx, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sum(WKvO, mYBm=True, mWFP=None):\n return yU2A(WKvO, oyIN.sum, mYBm, mWFP)",
"def sum(YKHO, jDK_=None, JsoO=False, yDqo=None, yvT9=None):\n return oyIN.add.reduce(YKHO, out=yvT9, axis=jDK_, keepdims=JsoO, dtype=yDqo)",
"def sum(YKHO, jDK_=None, JsoO=False):\n return vuvg.Sum.apply(YKHO, jDK_, JsoO... | [
"0.708487",
"0.70516545",
"0.6916435",
"0.6822894",
"0.6715113",
"0.6715113",
"0.670114",
"0.6623486",
"0.6535948",
"0.6535948",
"0.65142673",
"0.6508816",
"0.65004647",
"0.6484067",
"0.6447339",
"0.64389634",
"0.6429189",
"0.6414335",
"0.63769716",
"0.63616836",
"0.6263026",... | 0.70296186 | 2 |
Reduce this DataArray's data by applying ``cumsum`` along some dimension(s). | def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:
return YKHO.reduce(XIkr.cumsum, dim=tpio, skipna=nLK1, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:\n return YKHO.reduce(XIkr.cumsum, dim=tpio, skipna=nLK1, numeric_only=True, keep_attrs=L3SL, **B2fa)",
"def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3... | [
"0.7601719",
"0.7601719",
"0.7601719",
"0.71929914",
"0.70374393",
"0.6974349",
"0.6739214",
"0.6690532",
"0.6560123",
"0.64532024",
"0.6444809",
"0.6434722",
"0.6355989",
"0.6352609",
"0.6270605",
"0.6270605",
"0.6270605",
"0.62120354",
"0.6194247",
"0.6184793",
"0.6179344",... | 0.7733504 | 2 |
Reduce this DataArray's data by applying ``cumprod`` along some dimension(s). | def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:
return YKHO.reduce(XIkr.cumprod, dim=tpio, skipna=nLK1, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:\n return YKHO.reduce(XIkr.cumprod, dim=tpio, skipna=nLK1, numeric_only=True, keep_attrs=L3SL, **B2fa)",
"def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x... | [
"0.78693175",
"0.78693175",
"0.78693175",
"0.74438745",
"0.73570323",
"0.72512066",
"0.71616554",
"0.6794507",
"0.66913575",
"0.6365985",
"0.6155289",
"0.60739994",
"0.6059755",
"0.60538614",
"0.602666",
"0.59202105",
"0.57904106",
"0.57707596",
"0.57707596",
"0.57707596",
"0... | 0.8048191 | 2 |
Reduce this Dataset's data by applying ``prod`` along some dimension(s). | def QRFO(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:
if JsAi and V1Lg['use_flox'] and wPuR(YKHO._obj):
return YKHO._flox_reduce(func='prod', dim=tpio, skipna=nLK1, min_count=ziIx, numeric_only=True, keep_attrs=L3SL, **B2fa)
else:... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QRFO(YKHO, jDK_=None, JsoO=False, yDqo=None, yvT9=None):\n return oyIN.multiply.reduce(YKHO, out=yvT9, axis=jDK_, keepdims=JsoO, dtype=yDqo)",
"def QRFO(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:\n return YKHO.reduce(XIkr.prod,... | [
"0.7481061",
"0.74074686",
"0.735098",
"0.700226",
"0.700226",
"0.6688766",
"0.65455145",
"0.65137213",
"0.64294696",
"0.6274849",
"0.6176995",
"0.6066634",
"0.59346235",
"0.5929033",
"0.591033",
"0.591033",
"0.591033",
"0.58753616",
"0.5752229",
"0.5747925",
"0.5747925",
"... | 0.714532 | 4 |
Reduce this Dataset's data by applying ``sum`` along some dimension(s). | def sum(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:
if JsAi and V1Lg['use_flox'] and wPuR(YKHO._obj):
return YKHO._flox_reduce(func='sum', dim=tpio, skipna=nLK1, min_count=ziIx, numeric_only=True, keep_attrs=L3SL, **B2fa)
else:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sum(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:\n return YKHO.reduce(XIkr.sum, dim=tpio, skipna=nLK1, min_count=ziIx, numeric_only=True, keep_attrs=L3SL, **B2fa)",
"def sum(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: in... | [
"0.70600945",
"0.6923307",
"0.68674266",
"0.686163",
"0.68115973",
"0.66666335",
"0.6637249",
"0.6547622",
"0.6547622",
"0.64223146",
"0.6413984",
"0.636318",
"0.63100564",
"0.6269711",
"0.626921",
"0.62295324",
"0.62160474",
"0.61654747",
"0.614655",
"0.60469216",
"0.6013805... | 0.6726549 | 5 |
Reduce this Dataset's data by applying ``cumsum`` along some dimension(s). | def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:
return YKHO.reduce(XIkr.cumsum, dim=tpio, skipna=nLK1, numeric_only=True, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YKHO.reduce(XIkr.cumsum, dim=tpio, skipna=nLK1, keep_attrs=L3SL, **B2fa)",
"def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YKH... | [
"0.75369805",
"0.75369805",
"0.75369805",
"0.6748461",
"0.67054296",
"0.66430676",
"0.63819027",
"0.63511914",
"0.63409925",
"0.6273229",
"0.62687963",
"0.62687963",
"0.62687963",
"0.62631625",
"0.62614137",
"0.624574",
"0.61842084",
"0.61842084",
"0.61842084",
"0.60996747",
... | 0.7699135 | 1 |
Reduce this Dataset's data by applying ``cumprod`` along some dimension(s). | def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:
return YKHO.reduce(XIkr.cumprod, dim=tpio, skipna=nLK1, numeric_only=True, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YKHO.reduce(XIkr.cumprod, dim=tpio, skipna=nLK1, keep_attrs=L3SL, **B2fa)",
"def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YK... | [
"0.78994447",
"0.78994447",
"0.78994447",
"0.70834005",
"0.7032063",
"0.69815505",
"0.6964613",
"0.6532074",
"0.62200755",
"0.6205164",
"0.62014854",
"0.61457735",
"0.6142508",
"0.6083153",
"0.60304993",
"0.59804726",
"0.59804726",
"0.5861358",
"0.5861358",
"0.5861358",
"0.58... | 0.8054797 | 1 |
Reduce this Dataset's data by applying ``prod`` along some dimension(s). | def QRFO(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:
if JsAi and V1Lg['use_flox'] and wPuR(YKHO._obj):
return YKHO._flox_reduce(func='prod', dim=tpio, skipna=nLK1, min_count=ziIx, numeric_only=True, keep_attrs=L3SL, **B2fa)
else:... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QRFO(YKHO, jDK_=None, JsoO=False, yDqo=None, yvT9=None):\n return oyIN.multiply.reduce(YKHO, out=yvT9, axis=jDK_, keepdims=JsoO, dtype=yDqo)",
"def QRFO(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:\n return YKHO.reduce(XIkr.prod,... | [
"0.74812174",
"0.7406539",
"0.7350262",
"0.7001044",
"0.7001044",
"0.6689062",
"0.65455264",
"0.65116835",
"0.64301413",
"0.6273224",
"0.6176157",
"0.6064172",
"0.5933759",
"0.59290385",
"0.5911163",
"0.5911163",
"0.5911163",
"0.58762074",
"0.57524556",
"0.57490146",
"0.57490... | 0.7143918 | 3 |
Reduce this Dataset's data by applying ``sum`` along some dimension(s). | def sum(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:
if JsAi and V1Lg['use_flox'] and wPuR(YKHO._obj):
return YKHO._flox_reduce(func='sum', dim=tpio, skipna=nLK1, min_count=ziIx, numeric_only=True, keep_attrs=L3SL, **B2fa)
else:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sum(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:\n return YKHO.reduce(XIkr.sum, dim=tpio, skipna=nLK1, min_count=ziIx, numeric_only=True, keep_attrs=L3SL, **B2fa)",
"def sum(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: in... | [
"0.70600945",
"0.6923307",
"0.68674266",
"0.686163",
"0.68115973",
"0.66666335",
"0.6637249",
"0.6547622",
"0.6547622",
"0.64223146",
"0.6413984",
"0.636318",
"0.63100564",
"0.6269711",
"0.626921",
"0.62295324",
"0.62160474",
"0.61654747",
"0.614655",
"0.60469216",
"0.6013805... | 0.6726549 | 6 |
Reduce this Dataset's data by applying ``cumsum`` along some dimension(s). | def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:
return YKHO.reduce(XIkr.cumsum, dim=tpio, skipna=nLK1, numeric_only=True, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YKHO.reduce(XIkr.cumsum, dim=tpio, skipna=nLK1, keep_attrs=L3SL, **B2fa)",
"def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YKH... | [
"0.7537239",
"0.7537239",
"0.7537239",
"0.67484677",
"0.67069674",
"0.66436154",
"0.63819385",
"0.6350921",
"0.6343282",
"0.62725073",
"0.6268484",
"0.6268484",
"0.6268484",
"0.6262665",
"0.6262446",
"0.62461925",
"0.61838704",
"0.61838704",
"0.61838704",
"0.61028945",
"0.606... | 0.769945 | 0 |
Reduce this Dataset's data by applying ``cumprod`` along some dimension(s). | def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:
return YKHO.reduce(XIkr.cumprod, dim=tpio, skipna=nLK1, numeric_only=True, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YKHO.reduce(XIkr.cumprod, dim=tpio, skipna=nLK1, keep_attrs=L3SL, **B2fa)",
"def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YK... | [
"0.7896212",
"0.7896212",
"0.7896212",
"0.70786357",
"0.7026533",
"0.6977891",
"0.6960451",
"0.6529018",
"0.62155104",
"0.620573",
"0.6204624",
"0.61433333",
"0.61382365",
"0.6083183",
"0.6030813",
"0.59799564",
"0.59799564",
"0.5859764",
"0.5859764",
"0.5859764",
"0.5842625"... | 0.8052243 | 0 |
Reduce this DataArray's data by applying ``prod`` along some dimension(s). | def QRFO(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:
if JsAi and V1Lg['use_flox'] and wPuR(YKHO._obj):
return YKHO._flox_reduce(func='prod', dim=tpio, skipna=nLK1, min_count=ziIx, keep_attrs=L3SL, **B2fa)
else:
return YKH... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QRFO(YKHO, jDK_=None, JsoO=False, yDqo=None, yvT9=None):\n return oyIN.multiply.reduce(YKHO, out=yvT9, axis=jDK_, keepdims=JsoO, dtype=yDqo)",
"def QRFO(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:\n return YKHO.reduce(XIkr.prod,... | [
"0.75356025",
"0.72356445",
"0.69731647",
"0.68985814",
"0.6810773",
"0.6810773",
"0.6472493",
"0.63539034",
"0.6327443",
"0.6250724",
"0.6143561",
"0.60524917",
"0.6012047",
"0.5895768",
"0.58667177",
"0.58586097",
"0.58586097",
"0.58586097",
"0.58337677",
"0.58119243",
"0.5... | 0.69897264 | 3 |
Reduce this DataArray's data by applying ``sum`` along some dimension(s). | def sum(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:
if JsAi and V1Lg['use_flox'] and wPuR(YKHO._obj):
return YKHO._flox_reduce(func='sum', dim=tpio, skipna=nLK1, min_count=ziIx, keep_attrs=L3SL, **B2fa)
else:
return YKHO.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sum(WKvO, mYBm=True, mWFP=None):\n return yU2A(WKvO, oyIN.sum, mYBm, mWFP)",
"def sum(YKHO, jDK_=None, JsoO=False, yDqo=None, yvT9=None):\n return oyIN.add.reduce(YKHO, out=yvT9, axis=jDK_, keepdims=JsoO, dtype=yDqo)",
"def sum(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, ziIx: int | None=None, ... | [
"0.70844406",
"0.70525146",
"0.70310706",
"0.6917323",
"0.68248296",
"0.67027587",
"0.66225314",
"0.6537938",
"0.6537938",
"0.6512875",
"0.6508079",
"0.65030366",
"0.64850044",
"0.644632",
"0.64397097",
"0.6430089",
"0.6415773",
"0.637861",
"0.6360291",
"0.6263903",
"0.619573... | 0.67166716 | 5 |
Reduce this DataArray's data by applying ``cumsum`` along some dimension(s). | def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:
return YKHO.reduce(XIkr.cumsum, dim=tpio, skipna=nLK1, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:\n return YKHO.reduce(XIkr.cumsum, dim=tpio, skipna=nLK1, numeric_only=True, keep_attrs=L3SL, **B2fa)",
"def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3... | [
"0.7601719",
"0.7601719",
"0.7601719",
"0.71929914",
"0.70374393",
"0.6974349",
"0.6739214",
"0.6690532",
"0.6560123",
"0.64532024",
"0.6444809",
"0.6434722",
"0.6355989",
"0.6352609",
"0.6270605",
"0.6270605",
"0.6270605",
"0.62120354",
"0.6194247",
"0.6184793",
"0.6179344",... | 0.7733504 | 1 |
Reduce this DataArray's data by applying ``cumprod`` along some dimension(s). | def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> qHOR:
return YKHO.reduce(XIkr.cumprod, dim=tpio, skipna=nLK1, keep_attrs=L3SL, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:\n return YKHO.reduce(XIkr.cumprod, dim=tpio, skipna=nLK1, numeric_only=True, keep_attrs=L3SL, **B2fa)",
"def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x... | [
"0.78693175",
"0.78693175",
"0.78693175",
"0.74438745",
"0.73570323",
"0.72512066",
"0.71616554",
"0.6794507",
"0.66913575",
"0.6365985",
"0.6155289",
"0.60739994",
"0.6059755",
"0.60538614",
"0.602666",
"0.59202105",
"0.57904106",
"0.57707596",
"0.57707596",
"0.57707596",
"0... | 0.8048191 | 1 |