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 |
|---|---|---|---|---|---|---|
The name of the parameter store value. | def SK6d(YKHO) -> str:
return YKHO._values.get('parameter_name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mWFP(YKHO):\n return YKHO.parameter_name",
"def EE2u(YKHO):\n return YKHO._store_name",
"def SK6d(YKHO) -> str:\n return HEOD.get(YKHO, 'parameterName')",
"def SK6d(YKHO) -> str:\n return HEOD.get(YKHO, 'parameterName')",
"def SK6d(YKHO) -> str:\n return HEOD.get(YKHO, 'parameterName')",... | [
"0.74075836",
"0.7220586",
"0.70751375",
"0.70751375",
"0.70751375",
"0.70546734",
"0.7031838",
"0.6968349",
"0.6926535",
"0.69056994",
"0.6900614",
"0.68496615",
"0.6833355",
"0.6798795",
"0.67964685",
"0.67964685",
"0.6791409",
"0.6791409",
"0.6791409",
"0.6741347",
"0.6700... | 0.75218517 | 1 |
Does a GET request to /v2/cards/{card_id}. Retrieves details for a specific Card. | def ObkT(YKHO, S5Ok):
return super().new_api_call_builder.request(bSFI().server('default').path('/v2/cards/{card_id}').http_method(gJZr.GET).template_param(XDS4().key('card_id').value(S5Ok).should_encode(True)).header_param(XDS4().key('accept').value('application/json')).auth(bIS6('global'))).response(jX4C().deseri... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NMoC(YKHO, S5Ok):\n dxhl = c467.get_one(S5Ok)\n return (FiwT().dump(dxhl), 200)",
"def NMoC(YKHO, id):\n dxhl = Cpa9(id)\n if dxhl:\n print(dxhl)\n return (dxhl.json(), 200)\n else:\n return ({'status': 'fail', 'message': 'card does not exist'}, 404)",
"def VUpm(YKHO, S5... | [
"0.8397802",
"0.8100836",
"0.78930694",
"0.7780319",
"0.7641512",
"0.7553964",
"0.75262326",
"0.7423851",
"0.7347584",
"0.7328411",
"0.72779095",
"0.7152564",
"0.69740415",
"0.6852136",
"0.67819005",
"0.6691715",
"0.65717286",
"0.6536354",
"0.64846003",
"0.6373014",
"0.636725... | 0.82321 | 1 |
Update the player location. | def QdZT(YKHO):
oeNL = a9eO.mouse.get_pos()
YKHO.rect.x = oeNL[0]
YKHO.rect.y = oeNL[1] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def a3PQ(YKHO, Rci7):\n YKHO.location = str(Rci7)",
"def chpw(YKHO):\n YKHO.player.move()",
"def C6Qc(YKHO):\n YKHO.grid_matrix[YKHO.player.player_location[0]][YKHO.player.player_location[1]] = ' X '\n YKHO.grid_matrix[YKHO.player.previous_coords[0]][YKHO.player.previous_coords[1]] = ' * '",
"def... | [
"0.7340386",
"0.73028255",
"0.7281409",
"0.72772497",
"0.70672613",
"0.6956829",
"0.68821454",
"0.682562",
"0.6728633",
"0.6717042",
"0.6671685",
"0.6661514",
"0.6622237",
"0.661887",
"0.66067976",
"0.6600974",
"0.6599606",
"0.6496412",
"0.6489912",
"0.6471087",
"0.64076656",... | 0.0 | -1 |
The function add convolution node after the node 'input_node' to swap xy coordinates of the boxes produced by the node 'input_node'. It is expected that box coordinates are located in the fastest changing dimension of the 'input_node' output, i.e. the input tensor could be reshaped to [num_boxes, 4] or [num_boxes, 5]. ... | def doar(pNZh: Graph, hDmL: Node, Ne9B: int):
assert Ne9B in [4, 5]
Mo06 = hekC(hDmL.graph, dict(dim=oyIN.array([-1, 1, 1, Ne9B])))
VxiT = Mo06.create_node([hDmL], dict(name=hDmL.name + '/reshape_4d'))
ns7B(VxiT, 'shape_attrs', 'dim')
if Ne9B == 5:
Cciy = oyIN.array(oyIN.array([[[[1, 0, 0, 0... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def doar(pNZh: Graph, hDmL: Node, Ne9B: int):\n assert Ne9B in [4, 5]\n VxiT = DUKG(pNZh, hekC, frY2([-1, 1, 1, Ne9B]), dict(name=hDmL.name + '/reshape_4d'), hDmL)\n ogkJ(VxiT, 0)\n K2f4(VxiT, 0)\n if Ne9B == 5:\n Cciy = fxZw(fxZw([[[[1, 0, 0, 0, 0], [0, 0, 1, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0... | [
"0.8236835",
"0.5672249",
"0.5621586",
"0.55141926",
"0.5174025",
"0.5046153",
"0.5037152",
"0.49907047",
"0.49779016",
"0.496798",
"0.4965912",
"0.49600163",
"0.49444613",
"0.49363062",
"0.49315482",
"0.49301246",
"0.4926384",
"0.49165913",
"0.49092233",
"0.4882206",
"0.4880... | 0.8362627 | 0 |
DetectionOutput layer expects that box coordinates contains coordinates of boxes for the "background" class also, but in the TensorFlow\ Object Detection API the tensor contains information about real object classes only. The function copies a slice of the output data of the node 'input_node' and then concats it to the... | def r_BQ(pNZh: Graph, hDmL: Node):
pxie = xb_B(pNZh, dict(axis=oyIN.array([1]), offset=oyIN.array([0]), dim=oyIN.array([1]), nchw_layout=True))
hS5n = pxie.create_node([hDmL], dict(name='crop_locs'))
bzmF = Nplg(pNZh, dict(axis=1, in_ports_count=2, nchw_layout=True))
return bzmF.create_node([hS5n, hDmL]... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hnt2(input: Tensor, FlUN: np.ndarray) -> llWB:\n return input[:, :, FlUN[1]:FlUN[3], FlUN[0]:FlUN[2]]",
"def CBk0(cviu):\n Fg_i = cviu.numpy()\n yvT9 = oyIN.concatenate((Fg_i[:, 1::4], Fg_i[:, 0::4], Fg_i[:, 3::4], Fg_i[:, 2::4]), axis=1)\n return ZylS.convert_to_tensor(yvT9, dtype=ZylS.float32)"... | [
"0.59154457",
"0.56290996",
"0.55219996",
"0.55119795",
"0.5391185",
"0.53059727",
"0.530082",
"0.52745104",
"0.52552366",
"0.52520216",
"0.5244402",
"0.52281845",
"0.5215293",
"0.51895636",
"0.51675713",
"0.5164799",
"0.5145275",
"0.51256377",
"0.5118102",
"0.5106237",
"0.50... | 0.5247248 | 10 |
String for representing the Model object (in Admin site etc.) | def zAg0(YKHO):
return YKHO.name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def wHJl(YKHO):\n return '<{}>'.format(YKHO.model_type)",
"def zAg0(YKHO):\n return '[BaseModel] ({}) {}'.format(YKHO.id, YKHO.__dict__)",
"def zAg0(YKHO):\n return f'{YKHO.name} object'",
"def wOed(Y... | [
"0.8134815",
"0.7896117",
"0.7551975",
"0.73699284",
"0.73402196",
"0.7335666",
"0.7311286",
"0.73011637",
"0.72905505",
"0.7242906",
"0.72419995",
"0.72191435",
"0.7199848",
"0.7199848",
"0.71561444",
"0.7117234",
"0.7117234",
"0.7117234",
"0.7105009",
"0.7105009",
"0.709816... | 0.0 | -1 |
Returns the url to access a detail record for this student. | def hlzF(YKHO):
return gxEw('student-detail', args=[str(YKHO.id)]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hlzF(YKHO):\n return gxEw('student-detail', args=[str(YKHO.id)])",
"def iLuo(YKHO):\n raise NotImplementedError('Please define a detail_url fixture')",
"def IxeK(YKHO):\n return gxEw(YKHO._meta.db_table + '-detail', args=[YKHO.pk])",
"def hlzF(YKHO):\n return gxEw('patient:patient_detail', ar... | [
"0.7331983",
"0.7268435",
"0.70866436",
"0.6983553",
"0.68301314",
"0.6815693",
"0.6774689",
"0.6714915",
"0.6632902",
"0.6488646",
"0.64632416",
"0.64578074",
"0.6398932",
"0.63613755",
"0.6340622",
"0.6326149",
"0.62278277",
"0.62210554",
"0.6205822",
"0.6183213",
"0.615427... | 0.7392329 | 0 |
String for representing the Model object (in Admin site etc.) | def zAg0(YKHO):
return YKHO.name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def wHJl(YKHO):\n return '<{}>'.format(YKHO.model_type)",
"def zAg0(YKHO):\n return '[BaseModel] ({}) {}'.format(YKHO.id, YKHO.__dict__)",
"def zAg0(YKHO):\n return f'{YKHO.name} object'",
"def wOed(Y... | [
"0.8134815",
"0.7896117",
"0.7551975",
"0.73699284",
"0.73402196",
"0.7335666",
"0.7311286",
"0.73011637",
"0.72905505",
"0.7242906",
"0.72419995",
"0.72191435",
"0.7199848",
"0.7199848",
"0.71561444",
"0.7117234",
"0.7117234",
"0.7117234",
"0.7105009",
"0.7105009",
"0.709816... | 0.0 | -1 |
String for representing the Model object | def zAg0(YKHO):
return '{0} {1} ({2})'.format(YKHO.score, YKHO.studentID, YKHO.subjID) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\t' + _2sc + ' instance\\n'\n oOUF += '--... | [
"0.8169026",
"0.8015787",
"0.79665667",
"0.78248763",
"0.7769048",
"0.7715981",
"0.76182216",
"0.7589441",
"0.75218886",
"0.75218886",
"0.75218886",
"0.75083184",
"0.75034547",
"0.74968916",
"0.74968916",
"0.7475592",
"0.74743956",
"0.74732584",
"0.7463823",
"0.7461314",
"0.7... | 0.0 | -1 |
__init__. Initialize the instance. unit_name must be unique. max_passengers is the maximum number of passengers allowed in bus. clean_at_startup is dangerous, if it is True, delete the previus data about this unity. | def FIMM(YKHO, I3nl, lgfp, dsZv=False):
YKHO.db = NtrV.FirebaseApplication('https://cobus-e38dc-default-rtdb.firebaseio.com/', None)
YKHO.base_url = '/{}'.format(I3nl)
YKHO.current_state_url = '/{}/current_state'.format(I3nl)
YKHO.record_states_url = '/{}/record_states'.format(I3nl)
YKHO.unit_name =... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO):\n YKHO.unitNumber = ''\n YKHO._unitDetails = {'Normal': Et7q('Normal'), 'Evolved': Et7q('Evolved'), 'True': Et7q('True')}",
"def FIMM(YKHO):\n YKHO.name = ''\n YKHO.actions = []\n YKHO.success_message = ''\n YKHO.failure_messages = []\n YKHO.usable_world = ''\n YKHO.usable... | [
"0.61972666",
"0.6015249",
"0.5961402",
"0.58658195",
"0.56605375",
"0.56304455",
"0.5614771",
"0.560505",
"0.55916893",
"0.5517126",
"0.55009687",
"0.5482825",
"0.5447493",
"0.5444675",
"0.5423275",
"0.5412967",
"0.5409831",
"0.540733",
"0.5406772",
"0.53984755",
"0.5394283"... | 0.74510336 | 0 |
clean_number_of_passengers. Set number_of_passengers to zero in current state locally and at database. | def DuA7(YKHO):
YKHO.number_of_passengers = 0
try:
YKHO.db.put(url=YKHO.current_state_url, name='number_of_passengers', data={'number_of_passengers': YKHO.number_of_passengers})
return True
except Exception:
print('[ERROR] Could not perform this action.')
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VS3Q(dWLP):\n Tili = dWLP.get('timetable_entries')\n for YfPt in Tili:\n YfPt['number_of_onboarding_passengers'] = 0\n YfPt['number_of_deboarding_passengers'] = 0\n YfPt['number_of_current_passengers'] = 0",
"def F_do():\n pass",
"def Cijw(YKHO, XeOP, FGW3=1, uHET=True):\n ... | [
"0.6946318",
"0.60688066",
"0.58953154",
"0.5890256",
"0.573486",
"0.57223564",
"0.56345975",
"0.55640227",
"0.5537184",
"0.5503375",
"0.5442297",
"0.5404017",
"0.5392576",
"0.53302526",
"0.5300277",
"0.5299178",
"0.52929384",
"0.52578694",
"0.5245176",
"0.5221032",
"0.519550... | 0.80498964 | 0 |
This helper function makes it easy to loop though columns in a dataframe and group onehot encoded columns together. | def DEFE(ZYo6, zSv7=None):
ztIo = {}
if zSv7 is None:
return {fvDH: [fvDH] for fvDH in ZYo6}
for fvDH in zSv7:
R8Ph = [Z9rn for Z9rn in ZYo6 if Z9rn.startswith(fvDH)]
if len(R8Ph) > 1:
ztIo[fvDH] = R8Ph
beuQ = list(set(ZYo6) - set([ZfUD for XuXy in list(ztIo.values())... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KLLm(jQ3Z, WfCS):\n YRbF = 0\n for mAB6 in WfCS:\n ZrDu = rLdf.get_dummies(jQ3Z[mAB6], prefix=mAB6, drop_first=True)\n if YRbF == 0:\n print(ZrDu)\n YRbF = YRbF + 1\n jQ3Z = rLdf.concat([jQ3Z, ZrDu], axis=1)\n return jQ3Z",
"def zGX0(jQ3Z):\n ZLJ_ = jQ3Z... | [
"0.80766976",
"0.7866289",
"0.7809475",
"0.76720536",
"0.7662579",
"0.76112145",
"0.75295043",
"0.75169724",
"0.74666774",
"0.7459562",
"0.7425835",
"0.73688555",
"0.7268807",
"0.7241133",
"0.7240093",
"0.72025585",
"0.7193359",
"0.71911",
"0.7079272",
"0.705861",
"0.70188165... | 0.0 | -1 |
Returns a pd.Series with the original values that were onehot encoded. i.e. Finds the column name starting with encoded_col_ that has a value of 1. if no such column exists (they are all 0), then return 'NOT_ENCODED' | def koMW(EcVT, Ma79):
R8Ph = [Z9rn for Z9rn in EcVT.columns if Z9rn.startswith(Ma79 + '_')]
assert len(R8Ph) > 0, f'No columns that start with {Ma79} in DataFrame'
I3mI = oyIN.argmax(EcVT[R8Ph].values, axis=1)
I3mI[oyIN.max(EcVT[R8Ph].values, axis=1) == 0] = -1
J8oL = {-1: 'NOT_ENCODED'}
J8oL.up... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zGX0(jQ3Z):\n jQ3Z = rLdf.get_dummies(jQ3Z, drop_first=True)\n return jQ3Z",
"def KLLm(bOBl, fvDH):\n return rLdf.get_dummies(bOBl, columns=[fvDH])",
"def vzTG(WKvO):\n WKvO[oyIN.where(WKvO)[0]] = 1\n return WKvO",
"def RHxJ(jQ3Z, iVRZ):\n BnAQ = rLdf.get_dummies(jQ3Z[iVRZ])\n jQ3Z =... | [
"0.71243477",
"0.69877726",
"0.69639057",
"0.6918284",
"0.6843251",
"0.6769203",
"0.67431456",
"0.6737945",
"0.6675032",
"0.66101956",
"0.65970534",
"0.65548",
"0.6523588",
"0.6489854",
"0.648033",
"0.64496636",
"0.64372313",
"0.64078134",
"0.64024645",
"0.63993263",
"0.63993... | 0.7397269 | 0 |
Returns a new feature Dataframe X_cats where the onehotencoded categorical features have been merged back with the old value retrieved from the encodings. | def EjLl(EcVT, zSv7=None):
ztIo = DEFE(EcVT.columns, zSv7)
dH80 = EcVT.copy()
for AAHb, A8fR in ztIo.items():
if len(A8fR) > 1:
dH80[AAHb] = koMW(EcVT, AAHb)
dH80.drop(A8fR, axis=1, inplace=True)
return dH80 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dH80(YKHO):\n if not hasattr(YKHO, '_X_cats'):\n YKHO._X_cats = EjLl(YKHO.X, YKHO.onehot_dict)\n return YKHO._X_cats",
"def NYF0(jQ3Z, crGi):\n jQ3Z = rLdf.get_dummies(jQ3Z, columns=crGi, drop_first=True)\n return jQ3Z",
"def KKlI(LeZt, nPrm):\n u0z5 = RHxJ(handle_unknown='error', cat... | [
"0.7495293",
"0.7287248",
"0.7178093",
"0.6890763",
"0.6876123",
"0.6785253",
"0.6745514",
"0.6692795",
"0.6636537",
"0.65460306",
"0.6535258",
"0.65204",
"0.65070665",
"0.6489783",
"0.64098895",
"0.6344906",
"0.63312024",
"0.6310225",
"0.6304243",
"0.62869394",
"0.62688565",... | 0.7513334 | 0 |
Returns a 3d numpy array shap_interaction_values where the categorical columns have been added up. | def Htdl(jbBp, utGq, iBEp):
if isinstance(jbBp, rLdf.DataFrame):
jbBp = jbBp.columns.tolist()
if isinstance(utGq, rLdf.DataFrame):
utGq = utGq.columns.tolist()
if not isinstance(jbBp, list):
jbBp = jbBp.tolist()
if not isinstance(utGq, list):
utGq = utGq.tolist()
zSv7... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def w2PK(YKHO):\n if not hasattr(YKHO, '_shap_interaction_values_cats'):\n bGrB = YKHO.shap_interaction_values\n YKHO._shap_interaction_values_cats = [Htdl(o_rY, YKHO.X, YKHO.X_cats, YKHO.onehot_dict) for o_rY in YKHO._shap_interaction_values]\n return Oa8y(YKHO._shap_interaction_values_cats, Y... | [
"0.71618253",
"0.68398786",
"0.641864",
"0.6240809",
"0.59536284",
"0.5941256",
"0.5909713",
"0.5890397",
"0.542582",
"0.53894794",
"0.53804296",
"0.52660036",
"0.5131896",
"0.50987655",
"0.508644",
"0.50606126",
"0.50574154",
"0.5050033",
"0.50361514",
"0.50285",
"0.5023065"... | 0.6804773 | 2 |
Returns a dataframe with the mean absolute shap values for each feature. | def UXz0(ZLJ_, kI9W, zSv7=None):
ztIo = DEFE(ZLJ_, zSv7)
Q9d2 = {}
for AAHb, A8fR in ztIo.items():
Q9d2[AAHb] = oyIN.absolute(kI9W[:, [ZLJ_.index(fvDH) for fvDH in A8fR]].sum(axis=1)).mean()
wCvX = rLdf.DataFrame({'Feature': list(Q9d2.keys()), 'MEAN_ABS_SHAP': list(Q9d2.values())}).sort_values('... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pAGH(YKHO):\n if not hasattr(YKHO, '_mean_abs_shap'):\n bGrB = YKHO.shap_values\n YKHO._mean_abs_shap = [UXz0(YKHO.columns, HJX9) for HJX9 in YKHO._shap_values]\n return Oa8y(YKHO._mean_abs_shap, YKHO.pos_label)",
"def K1I5(YKHO, LcX5=None, tAX0=None, zSv7=False, uxJJ=None):\n if zSv7:... | [
"0.7709725",
"0.71440417",
"0.6938649",
"0.667808",
"0.62702584",
"0.62374336",
"0.6116869",
"0.60634166",
"0.59666145",
"0.5958995",
"0.59154195",
"0.5840381",
"0.5832025",
"0.57884705",
"0.5765599",
"0.5758393",
"0.57569814",
"0.5754602",
"0.57293504",
"0.5710982",
"0.56690... | 0.8003931 | 0 |
Return a contrib_df DataFrame that lists the contribution of each input variable. X_row should be a single row of features, generated using X.iloc[[index]] if topx is given, only returns the highest topx contributions if cutoff is given only returns contributions above cutoff. | def VtBi(K5Yr, kI9W, NLCK, LcX5=None, tAX0=None):
assert isinstance(NLCK, rLdf.DataFrame), 'X_row should be a pd.DataFrame! Use X.iloc[[index]]'
assert len(NLCK.iloc[[0]].values[0].shape) == 1, 'X is not the right shape: len(X.values[0]) should be 1. \n Try passing X.iloc[[index]]'
MAD7 = rLdf.Da... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def je1y(YKHO, d6pt=None, NLCK=None, zSv7=True, LcX5=None, tAX0=None, BA9O='abs', uxJJ=None):\n if uxJJ is None:\n uxJJ = YKHO.pos_label\n if BA9O == 'importance':\n if tAX0 is None:\n WfCS = YKHO.columns_ranked_by_shap(zSv7)\n else:\n WfCS = YKHO.mean_abs_shap_df(c... | [
"0.72094876",
"0.66073984",
"0.574188",
"0.57232577",
"0.56536376",
"0.55170935",
"0.54694",
"0.5441957",
"0.5334896",
"0.5304554",
"0.5292133",
"0.528321",
"0.518282",
"0.51694155",
"0.5131456",
"0.5106353",
"0.5089213",
"0.50847304",
"0.5061757",
"0.5054127",
"0.5029165",
... | 0.7581101 | 0 |
returns a DataFrame that summarizes a contrib_df as a pair of Reasons+Effect. | def O76O(je1y, EYDd=False, round=2):
Sqlk = rLdf.DataFrame(columns=['Reason', 'Effect'])
for bGrB, rdlD in je1y.iterrows():
if rdlD['col'] == 'base_value':
lo9Y = 'BASE VALUE'
else:
lo9Y = f'{rdlD['col']} = {rdlD['value']}'
yK6F = f'{('+' if rdlD['contribution'] >... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Rn2A(YKHO, XbuX: QuerySet) -> rLdf.DataFrame:\n _lYe = XbuX.flat_df()\n qaAi = rLdf.DataFrame(data=XbuX.annotate(designs__source_display=qu7J('designs__source', uwaB.Source), designs__study_design_display=qu7J('designs__study_design', uwaB.StudyDesign), designs__outcomes__system_display=qu7J('designs__ou... | [
"0.5582544",
"0.55339503",
"0.55212945",
"0.54804134",
"0.54409814",
"0.54293215",
"0.5391339",
"0.5382841",
"0.53768826",
"0.53649515",
"0.52676487",
"0.5201948",
"0.51649195",
"0.5152127",
"0.5119466",
"0.5090525",
"0.50827086",
"0.5074844",
"0.50652695",
"0.50632787",
"0.5... | 0.7230358 | 0 |
Writes the requirements.txt file | def oceE(YKHO):
with open(Hy7s.path.join(YKHO.build_dir, 'requirements.txt'), 'w') as eHNT:
eHNT.write('\n'.join([YRbF for YRbF in YKHO.package.requirements])) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def y0G1(YKHO, fA3L):\n return open(YKHO.requirements, 'w').write(fA3L)",
"def w4rp(YKHO, P4t4: AppConfig, emMa: list[str], aQWm: Path):\n with YKHO.input.wait_bar('Writing requirements file...'):\n with aQWm.open('w', encoding='utf-8') as eHNT:\n if emMa:\n for uiGr in emM... | [
"0.8201922",
"0.7782402",
"0.7551341",
"0.7515915",
"0.73726493",
"0.6833383",
"0.67360973",
"0.6693275",
"0.6668386",
"0.66620636",
"0.66109765",
"0.64976305",
"0.63564664",
"0.63478065",
"0.6308094",
"0.62983936",
"0.62961173",
"0.6275503",
"0.62751186",
"0.6242797",
"0.623... | 0.79746526 | 1 |
Returns the string representation of the model | def gTzM(YKHO):
import simplejson as qQXR
if jKi7.PY2:
import sys
U3hF(sys)
sys.setdefaultencoding('utf-8')
return qQXR.dumps(yInN(YKHO), ensure_ascii=False) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n return YKHO.text",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\... | [
"0.86418265",
"0.85103965",
"0.7853324",
"0.77442306",
"0.7712258",
"0.76979405",
"0.765959",
"0.7637644",
"0.76218504",
"0.7607561",
"0.7606604",
"0.7606604",
"0.7606604",
"0.75990754",
"0.7585653",
"0.758149",
"0.7570811",
"0.7567585",
"0.75392604",
"0.75392604",
"0.7527967... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(... | [
"0.8392633",
"0.8354901",
"0.82950056",
"0.8132309",
"0.81149805",
"0.8099986",
"0.809911",
"0.8097883",
"0.8097883",
"0.8092252",
"0.8092252",
"0.8092252",
"0.8092252",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8066694",
"0.80594814",
"0.805757",
... | 0.0 | -1 |
Adds a People node | def ZO_z(YKHO, Q6kx):
mWFP = Q6kx.id
EDyD = Q6kx.predeccessor_node(label='Space')
FDFD = EDyD.id
ibQm = Q6kx.successor_node(name='has_fraction_schedule')
S4HF = ibQm.id
EC9x = Q6kx.number_of_people
rWmh = mWFP + '_activity_level'
VMuY = Q6kx.heat_gain_per_person
YKHO.output_epjson.ad... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nRki(YKHO, mWFP):\n if mWFP not in YKHO.nodes:\n YKHO.nodes[mWFP] = dZOq(mWFP)",
"def nRki(YKHO, a70H):\n YKHO.nodes.add(a70H)",
"def nRki(YKHO, mWFP):\n if mWFP not in YKHO.nodes:\n YKHO.nodes[mWFP] = dZOq(mWFP)",
"def Vriw(YKHO, a70H):\n YKHO.persons.append(a70H)",
"def _zf4... | [
"0.7655454",
"0.7503518",
"0.75004315",
"0.69559103",
"0.6896552",
"0.6748295",
"0.66933745",
"0.66077226",
"0.65640545",
"0.6562224",
"0.6562224",
"0.65420777",
"0.65384",
"0.65162176",
"0.65137327",
"0.64974165",
"0.63964385",
"0.6355891",
"0.6341354",
"0.6320889",
"0.63050... | 0.6161532 | 25 |
Returns energy limits as list of two floats | def CI1Q(YKHO):
if YKHO.chan_limit_low is not None and YKHO.chan_limit_high is not None:
try:
YKHO.limits[0] = YKHO.chan_limit_low.getValue()
YKHO.limits[1] = YKHO.chan_limit_high.getValue()
except:
G9jH.getLogger('HWR').exception('Energy: could not read energy li... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iDyI(YKHO) -> x1iM[float]:\n return [YKHO.channel_limits['voltage lims'][0][YKHO.impedance][H5ew] for H5ew in ['min', 'max']]",
"def oNfM(YKHO):\n return [0.0, 12.0]",
"def J_5G(YKHO):\n NG8t = YKHO.read('low_limit')\n lXXn = YKHO.read('high_limit')\n kg7d = [Xk2t * YKHO.get_sign() + YKHO.ge... | [
"0.7339332",
"0.7266247",
"0.6795841",
"0.6693046",
"0.6630689",
"0.66262335",
"0.6623946",
"0.66115063",
"0.6575316",
"0.6495225",
"0.6469455",
"0.6454013",
"0.64218473",
"0.6412652",
"0.6406688",
"0.6352287",
"0.6285111",
"0.6279755",
"0.62487715",
"0.62254983",
"0.6215024"... | 0.732233 | 1 |
If GPU is available, return mx.gpu(0); else return mx.cpu() | def ILtj(wqL3):
try:
OaeV = RsfQ.gpu(wqL3)
bGrB = fHgE.array([0], ctx=OaeV)
except:
OaeV = RsfQ.cpu()
return OaeV | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ILtj():\n try:\n OaeV = RsfQ.gpu()\n bGrB = fHgE.array([0], ctx=OaeV)\n except RsfQ.base.MXNetError:\n OaeV = RsfQ.cpu()\n return OaeV",
"def ILtj():\n try:\n OaeV = RsfQ.gpu(0)\n bGrB = RsfQ.nd.array([0], ctx=OaeV)\n except QQBM:\n OaeV = RsfQ.cpu()\n... | [
"0.81378216",
"0.81372315",
"0.77345544",
"0.7680196",
"0.75172544",
"0.7511065",
"0.7426286",
"0.74026954",
"0.7377312",
"0.73633546",
"0.7337995",
"0.73250824",
"0.7312882",
"0.73024774",
"0.723461",
"0.7228112",
"0.72234505",
"0.71977454",
"0.71854633",
"0.7179284",
"0.717... | 0.7703557 | 3 |
Sample mean of percolation threshold | def JBMS(YKHO):
return XTiz.mean(YKHO._results) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Nc6L(mvm2):\n return oyIN.mean(mvm2)",
"def gKJU(YKHO):\n return oyIN.mean(oyIN.mean(YKHO.samples, axis=1))",
"def Nc6L(YKHO):\n return oyIN.mean(YKHO.samples, axis=1)",
"def RytW(bOBl):\n pass",
"def zSSH(YKHO):\n pass",
"def JBMS(gGnb):\n return j93S(gGnb) / Esro(gGnb)",
"def bi... | [
"0.6926616",
"0.6606317",
"0.65749806",
"0.63714707",
"0.6311367",
"0.62306476",
"0.6209364",
"0.61886424",
"0.6174864",
"0.61303014",
"0.6097012",
"0.60886997",
"0.60743016",
"0.6062515",
"0.605631",
"0.6018137",
"0.60146713",
"0.60047257",
"0.5984069",
"0.5960915",
"0.59609... | 0.0 | -1 |
Get the current state for this partition | def c0mt(YKHO):
return YKHO._current_state | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ja6o(YKHO):\n return YKHO._current_state",
"def vHkF(YKHO):\n return YKHO.current_state",
"def QTBn(YKHO):\n return YKHO._current.state",
"def QTBn(YKHO):\n return YKHO._get_state()",
"def QTBn(YKHO):\n return YKHO.proc.driver_get_state(YKHO.number)",
"def QTBn(YKHO):\n return YKHO.... | [
"0.7660123",
"0.757457",
"0.7530067",
"0.7491689",
"0.74673086",
"0.7455861",
"0.745555",
"0.7433278",
"0.7433278",
"0.74265194",
"0.74265194",
"0.74265194",
"0.74265194",
"0.7421441",
"0.7419494",
"0.7419494",
"0.7419494",
"0.7419494",
"0.7419494",
"0.7419494",
"0.7419494",
... | 0.7367971 | 30 |
Get the associated state model for this partition | def DIse(YKHO, AWnC):
if AWnC in YKHO._state_models:
return YKHO._state_models[AWnC]
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zATB(YKHO, AWnC):\n pass",
"def LhLp(YKHO, fp11, eLpg=True):\n tKz9 = YKHO.model._meta.app_label\n ZGE9 = YKHO._model_name_for_partition(fp11)\n C3ST = YrZb(tKz9, ZGE9)\n if C3ST is None and eLpg:\n return YKHO._ensure_partition(fp11)\n else:\n return C3ST",
"def ja6o(YKHO, ... | [
"0.65998584",
"0.64362013",
"0.6421555",
"0.63219106",
"0.62666965",
"0.6123373",
"0.60247684",
"0.602432",
"0.6018288",
"0.59883",
"0.5964679",
"0.5935325",
"0.59352684",
"0.5912045",
"0.590895",
"0.59078586",
"0.5906591",
"0.58886003",
"0.58886003",
"0.58886003",
"0.5888600... | 0.79537594 | 0 |
Convert string to date. | def NTec(vIwR):
return qcWV.strptime(vIwR, '%Y-%m-%dT%H:%M') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BOAD(vIwR):\n NArs = vIwR.strip().split('(')\n e27C = NArs[1][:-1]\n BHGE = e27C.strip().split(',')\n Csk6 = _c1T(int(BHGE[0]), int(BHGE[1]), int(BHGE[2]))\n return Csk6",
"def aHaK(mbyn: str) -> _c1T:\n fBin = feVn.parse(mbyn).date()\n return fBin",
"def H1SB(YKHO, vIwR):\n if vIwR... | [
"0.8419974",
"0.8257713",
"0.82300276",
"0.82026154",
"0.80455446",
"0.7942986",
"0.793329",
"0.7876768",
"0.7868543",
"0.7862371",
"0.7758611",
"0.7758611",
"0.7718087",
"0.7717512",
"0.76839983",
"0.76753366",
"0.7671037",
"0.75860476",
"0.7518394",
"0.75180125",
"0.7463938... | 0.7406843 | 22 |
Returns a logger to be used by a Serve component. The logger will log using a standard format to make components identifiable using the provided name and unique ID for this instance (e.g., replica ID). This logger will not propagate its log messages to the parent logger(s). | def q8PP(*, maxk: str, PoKV: str, g5oO: Optional[str]=None, wiAm: int=G9jH.INFO, k8NY: bool=True, AX5z: bool=True):
bo34 = G9jH.getLogger(euII)
bo34.propagate = False
bo34.setLevel(wiAm)
if Hy7s.environ.get(XFNT, '0') != '0':
bo34.setLevel(G9jH.DEBUG)
uaPq = G9jH.Formatter(tFzu.format(compon... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fhOf(mWFP=''):\n return KUTD(mWFP)",
"def kSPQ(mWFP: str=None):\n if JPOh.is_main_process():\n return G9jH.getLogger(mWFP)\n else:\n return ToN4()",
"def fZx2(Emd4):\n Ii1o = Hy7s.getpid()\n E70h = f'{Emd4.__name__}s-{Ii1o}'\n if E70h in Emd4.LOGGERS:\n return Emd4.LO... | [
"0.7243592",
"0.72134984",
"0.7161435",
"0.7157959",
"0.7128465",
"0.7108509",
"0.7091155",
"0.7090711",
"0.70614666",
"0.7056353",
"0.70345086",
"0.70303357",
"0.7008854",
"0.7008854",
"0.7008854",
"0.70077443",
"0.6999405",
"0.6985883",
"0.6973162",
"0.6964644",
"0.6956579"... | 0.0 | -1 |
When running tests, the default `settings.json` is missing. It should thrown an exception. | def CEoD(YKHO, sTpg):
with trZe.raises(RuntimeError):
KCHu = _e0h.settings.Settings() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fGkJ(YKHO):\n with YKHO.assertRaises(Exception):\n YKHO.settings.for_env('local')",
"def EV8m(YKHO):\n gCuF = PNaX(base_dir='app/settings.py')\n with trZe.raises(ZOB7):\n gCuF.SOME_VALUE",
"def pTBN(YKHO):\n gCuF = TuHQ(default=False, local=False)\n YKHO.assertFalse(gCuF)",
"... | [
"0.7304278",
"0.6968389",
"0.6798891",
"0.6754662",
"0.6701424",
"0.663435",
"0.65284497",
"0.6520077",
"0.64557207",
"0.64364976",
"0.64364976",
"0.6396907",
"0.63903433",
"0.6366669",
"0.63068336",
"0.63008505",
"0.62991613",
"0.6241976",
"0.6221102",
"0.62174356",
"0.62135... | 0.6733844 | 4 |
Find and return the element | def neBz(YKHO, U6D_):
jvSB = YKHO.head
while jvSB is not None:
if jvSB.course_number == U6D_:
return jvSB
jvSB = jvSB.next_node
return -1 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VZnN(YKHO):\n GDUz = YKHO._find_element_list()\n if not GDUz:\n return None\n return GDUz[0]",
"def j8e9(YKHO, LihS):\n if LihS in YKHO.children:\n return YKHO.children[LihS]\n return None",
"def VZnN(YKHO, **B2fa):\n if B2fa.has_key('name'):\n return YKHO._find_eleme... | [
"0.82460904",
"0.8101464",
"0.7390864",
"0.7368693",
"0.73675704",
"0.7333324",
"0.7288168",
"0.723968",
"0.71633714",
"0.7159066",
"0.7128688",
"0.71007067",
"0.70722467",
"0.7062178",
"0.7062178",
"0.7057885",
"0.70153147",
"0.7011839",
"0.69790053",
"0.6946985",
"0.6944769... | 0.634156 | 84 |
Retrieve the UTC time when the forget token (if exists) expires. None if there is no forget token | def MXIX(YKHO) -> h8nf[xrPC]:
if YKHO.forget_password_token_creation_date is None:
return None
else:
Z9rn: xrPC = YKHO.forget_password_token_creation_date
return Z9rn.shift(days=+1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UdT7() -> qcWV:\n return qcWV.utcnow() + fCoM(hours=12)",
"def tXBg(YKHO):\n return YKHO._json.get(u'refresh_token_expires_in')",
"def e2iN(YKHO) -> h8nf[float]:\n return qe4Y.get(YKHO, 'expire_time')",
"def e2iN(YKHO) -> h8nf[qe4Y.Input[float]]:\n return qe4Y.get(YKHO, 'expire_time')",
"de... | [
"0.7583435",
"0.73296",
"0.71626014",
"0.7073066",
"0.704458",
"0.6970077",
"0.6946708",
"0.69308114",
"0.69124407",
"0.69124407",
"0.69124407",
"0.6899873",
"0.6892796",
"0.6891591",
"0.68515766",
"0.68515766",
"0.68403906",
"0.6829753",
"0.6829753",
"0.68043184",
"0.6804318... | 0.84396595 | 0 |
True if the forget token has been expired. False if not or if the forget token was not present altogether | def _BiA(YKHO) -> bool:
if YKHO.forget_password_token_creation_date is None:
return False
if xrPC.utcnow() > YKHO.forget_token_expiration_time:
return True
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Xc2J(YKHO):\n mMKc = 0.8\n M1QU = YKHO.token_info.get('expires_in')\n e2iN = YKHO.token_info.get('expiration')\n yYW1 = e2iN - M1QU * (1.0 - mMKc)\n vHj7 = int(ITS7.time())\n return yYW1 < vHj7",
"def sOqB(YKHO):\n if not YKHO._oauth_token:\n raise Exception('OAuth token has not b... | [
"0.8180785",
"0.80136544",
"0.79509795",
"0.79462534",
"0.79165405",
"0.79158354",
"0.78443044",
"0.7843046",
"0.7817238",
"0.7804264",
"0.7769557",
"0.7698291",
"0.7684108",
"0.76775914",
"0.7674122",
"0.766234",
"0.7646029",
"0.7632973",
"0.7609819",
"0.7587296",
"0.7584584... | 0.8849912 | 0 |
Returns a printable representation of object we call it on. | def wHJl(YKHO):
return 'DLLNode object: data={}'.format(YKHO.data) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return _RHq(YKHO)",
"def zAg0(YKHO):\n return _RHq(YKHO)",
"def zAg0(YKHO):\n return YKHO.object_repr",
"def wHJl(YKHO):\n return str(YKHO.__dict__)",
"def wHJl(YKHO):\n return str(YKHO.__dict__)",
"def wHJl(YKHO):\n return str(YKHO.__dict__)",
"def wHJl(YKHO):\n ... | [
"0.80794525",
"0.80794525",
"0.79410225",
"0.7752413",
"0.7752413",
"0.7752413",
"0.7752413",
"0.7752413",
"0.7752413",
"0.7748043",
"0.76992464",
"0.76923156",
"0.7657399",
"0.7623297",
"0.76228225",
"0.76216465",
"0.76216465",
"0.76114726",
"0.76114726",
"0.7596126",
"0.758... | 0.0 | -1 |
Return the self.data attribute. | def iIby(YKHO):
return YKHO.data | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JpKl(YKHO):\n return YKHO.__data",
"def JpKl(YKHO):\n return YKHO.__data",
"def JpKl(YKHO):\n return YKHO.__data",
"def JpKl(YKHO):\n return YKHO.__data",
"def JpKl(YKHO):\n return YKHO.__data",
"def JpKl(YKHO):\n return YKHO.__data",
"def yLtf(YKHO):\n return YKHO.__data",
"... | [
"0.91534936",
"0.91534936",
"0.91534936",
"0.91534936",
"0.91534936",
"0.91534936",
"0.91048354",
"0.9097421",
"0.90637785",
"0.90391904",
"0.9019043",
"0.9019043",
"0.9019043",
"0.9019043",
"0.9019043",
"0.9019043",
"0.9019043",
"0.9019043",
"0.9019043",
"0.9019043",
"0.8967... | 0.0 | -1 |
Traverses the Linked List and returns the number of nodes in the Linked List. | def zNig(YKHO):
zNig = 0
if YKHO.head is None:
return 0
jvSB = YKHO.head
while jvSB is not None:
zNig += 1
jvSB = jvSB.getNext()
return zNig | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AQWC(YKHO):\n Q6kx = YKHO.head\n UHFx = 0\n while Q6kx:\n UHFx += 1\n Q6kx = Q6kx.next\n return UHFx",
"def u54L(YKHO):\n Q6kx = YKHO.head\n UHFx = 0\n while Q6kx is not None:\n UHFx += 1\n Q6kx = Q6kx.next\n return UHFx",
"def zNig(YKHO):\n jvSB = YKH... | [
"0.8527371",
"0.8238234",
"0.8234705",
"0.82254153",
"0.82179844",
"0.82177025",
"0.8194307",
"0.8184635",
"0.8184393",
"0.81715286",
"0.8157299",
"0.81298834",
"0.8127191",
"0.8103053",
"0.80965525",
"0.80525917",
"0.80482984",
"0.8045686",
"0.80412745",
"0.8029679",
"0.8008... | 0.7782086 | 52 |
Traverses the Linked List and returns True if the the data searched for is present in one of the Nodes. Otherwise, it returns False. | def TgwQ(YKHO, nPrm):
if YKHO.head is None:
return 'Linked List is empty.'
jvSB = YKHO.head
while jvSB is not None:
if jvSB.getData() == nPrm:
return True
else:
jvSB = jvSB.getNext()
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sjXf(YKHO, nPrm):\n Q6kx = YKHO.head\n while Q6kx:\n if Q6kx.data == nPrm:\n return True\n Q6kx = Q6kx.next\n return False",
"def TgwQ(YKHO, nPrm):\n if YKHO.head is None:\n return 'Linked List is empty'\n jvSB = YKHO.head\n while jvSB is not None:\n i... | [
"0.8109203",
"0.79921025",
"0.7845502",
"0.77242935",
"0.7655015",
"0.74285525",
"0.7403019",
"0.7354687",
"0.73540354",
"0.73429734",
"0.72842014",
"0.7280868",
"0.7255102",
"0.725258",
"0.7244482",
"0.7234988",
"0.7218881",
"0.72084624",
"0.71919894",
"0.7177415",
"0.714216... | 0.8026383 | 1 |
Add a Node whose data is the new_data argument to the front of the Linked List. | def aZVs(YKHO, Cc00):
ycBG = VkCh(Cc00)
ycBG.setNext(YKHO.head)
if YKHO.head is not None:
YKHO.head.setPrevious(ycBG)
YKHO.head = ycBG | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dZVG(YKHO, Cc00):\n ycBG = dlws(Cc00)\n ycBG.set_next(YKHO.head)\n YKHO.head = ycBG",
"def dZVG(YKHO, Cc00):\n ycBG = eTj7(Cc00)\n ycBG.set_next(YKHO.head)\n YKHO.head = ycBG",
"def aZcN(YKHO, Cc00):\n tk5Y = YKHO.head\n Esd_ = o7DN(Cc00)\n Esd_.next = tk5Y\n YKHO.head = Esd_"... | [
"0.864541",
"0.8631759",
"0.85865974",
"0.81482226",
"0.8142724",
"0.81312984",
"0.8008027",
"0.8008027",
"0.7988939",
"0.79792833",
"0.79618764",
"0.79543",
"0.7922783",
"0.7912992",
"0.7848518",
"0.7799942",
"0.7793759",
"0.7769009",
"0.773447",
"0.771665",
"0.771665",
"0... | 0.81778514 | 3 |
Removes the first occurance of a Node that contains the data argument as its self.data variable. Returns nothing. | def kSdD(YKHO, nPrm):
if YKHO.head is None:
return 'Linked List is empty. No Nodes to remove.'
jvSB = YKHO.head
EmMj = False
while not EmMj:
if jvSB.getData() == nPrm:
EmMj = True
elif jvSB.getNext() is None:
return 'A Node with given data is not present.'... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kSdD(YKHO, nPrm):\n if YKHO.is_empty():\n return 0\n Q6kx = YKHO.head\n CXwD = None\n while Q6kx:\n if Q6kx.data == nPrm:\n if CXwD:\n CXwD.next = Q6kx\n else:\n YKHO.head = o7DN(nPrm)\n CXwD = Q6kx\n Q6kx = Q6kx.next\n... | [
"0.8301777",
"0.80675995",
"0.76522803",
"0.7444136",
"0.7386692",
"0.73810995",
"0.7309608",
"0.7308176",
"0.7303717",
"0.7291602",
"0.7215452",
"0.7205012",
"0.7147587",
"0.71389884",
"0.7126338",
"0.7084916",
"0.7027964",
"0.69982004",
"0.6907787",
"0.6905917",
"0.6886486"... | 0.75377756 | 3 |
Get the length of the user's longest streak. | def pXVz(CBIr):
VECZ = GCD0.objects.filter(user=CBIr).order_by('-date')
UHFx = 1
nSFH = 0
t5BG = qcWV.date.today() + qcWV.timedelta(1)
for bTKY in VECZ:
if t5BG - bTKY.date != qcWV.timedelta(1):
nSFH = max(UHFx, nSFH)
UHFx = 1
elif bTKY.word_count < bTKY.word_... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ecv2(YKHO, cpSQ=[0, 1, 2]):\n wmvg = []\n for yk4i in cpSQ:\n YKHO.curs.execute('SELECT longest_draw,ts_begin FROM game_stats WHERE difficulty = ?', (yk4i,))\n wmvg += YKHO.curs.fetchall()\n XuMv = max(wmvg)\n return XuMv",
"def vBVG(XbFU):\n wzH_ = 0\n for Cj1R in XbFU:\n ... | [
"0.71922255",
"0.6999545",
"0.6901904",
"0.6649237",
"0.65975213",
"0.6486094",
"0.6428278",
"0.63829625",
"0.6370923",
"0.6334968",
"0.6321874",
"0.62715393",
"0.62637657",
"0.6261306",
"0.6241927",
"0.62410104",
"0.6237151",
"0.6232485",
"0.62269235",
"0.62223375",
"0.62116... | 0.75057036 | 0 |
Determine if a record has data required in the output. | def LUSK(YKHO):
for Jyyj in YKHO._fields[1:]:
if Jyyj is not '':
return True
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xbuE(YKHO):\n return YKHO._data and YKHO._find_end_of_current_record() != -1",
"def b59n(YKHO):\n return 'end' in YKHO.result and ('sum_received' in YKHO.result['end'] or 'sum' in YKHO.result['end'])",
"def LUSK(YKHO):\n return YKHO.preamble.has_results or YKHO.body.has_data",
"def LUSK(YKHO):\n... | [
"0.74578005",
"0.7264857",
"0.7071973",
"0.70308846",
"0.70308846",
"0.6957262",
"0.6928687",
"0.68934083",
"0.68615764",
"0.6851862",
"0.6836445",
"0.677879",
"0.6767442",
"0.6689762",
"0.66849846",
"0.6593261",
"0.65273756",
"0.6525931",
"0.65196085",
"0.6487896",
"0.64709"... | 0.7075346 | 2 |
View for index '/movies/' path, to work as the app home page. | def d6pt(QePW):
t5gs = rp_k.objects.count()
eJYf = list(rp_k.objects.order_by('title_year'))[-5:]
QpfX = {'movie_count': t5gs, 'latest_movies': eJYf}
return _1tc(QePW, 'movies/index.html', QpfX) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kZiy():\n MDIn = [Pr14['name'] for Pr14 in LHvA.get_genre_list()]\n return TvZl('index.html', genres=MDIn)",
"def d6pt():\n osB3 = qm8v.db.movies.find().sort([('views', VoaI)]).limit(4)\n return TvZl('index.html', title='Home', movies=osB3)",
"def d6pt():\n THn8 = wVsX()\n U10q = UEmZ()\n... | [
"0.75642353",
"0.73663884",
"0.7086076",
"0.70833945",
"0.69803816",
"0.6904042",
"0.68947387",
"0.68451256",
"0.6825563",
"0.6801343",
"0.67815685",
"0.67708236",
"0.6753105",
"0.65743226",
"0.65658534",
"0.65591496",
"0.6495989",
"0.6492751",
"0.64433795",
"0.64287263",
"0.... | 0.7466922 | 1 |
test to load a csv file using pandas (as string). | def Yec4():
Go4X(oyIN.array(CwDs.io.parsers.read_csv(Mso5)).astype('str')) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def b7Ts(YKHO):\n assert isinstance(VhIX('example_outcome_df.csv')[0], oyIN.ndarray)",
"def DMrX(pmON):\n return rLdf.read_csv(pmON)",
"def tOXC(m6_J):\n sxif = rLdf.read_csv(m6_J)\n return sxif",
"def mjM_(i0XC):\n from os import path\n assert isinstance(i0XC, str)\n assert path.exists(... | [
"0.7446182",
"0.69381756",
"0.68997115",
"0.6878792",
"0.6873481",
"0.68409324",
"0.68192387",
"0.67938",
"0.67517",
"0.6718149",
"0.67164546",
"0.6687992",
"0.6687359",
"0.66816676",
"0.66816676",
"0.66770583",
"0.6662372",
"0.6650972",
"0.66458744",
"0.6609671",
"0.65910375... | 0.6946542 | 1 |
test to load a csv file using pandas (as int). | def NHPh():
Go4X(oyIN.array(CwDs.io.parsers.read_csv(Mso5)).astype('int')) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BYHY(YKHO):\n YKHO.data = eK5b.load_csv_data(YKHO.csv_file)\n assert isinstance(YKHO.data.index, z1fx.RangeIndex)\n YKHO.eval_data_cols()\n assert len(YKHO.data.columns) == len(YKHO.data_cols) + 1\n return",
"def jFPC(YKHO):\n YKHO.data = eK5b.load_csv_data([YKHO.csv_file, YKHO.csv_file])\n... | [
"0.7265898",
"0.70601606",
"0.7001201",
"0.68833435",
"0.6710964",
"0.6666244",
"0.66561204",
"0.65136844",
"0.6504218",
"0.6466556",
"0.6439925",
"0.640915",
"0.64027035",
"0.6396274",
"0.639565",
"0.6352657",
"0.635182",
"0.6340937",
"0.6325467",
"0.63191146",
"0.6296041",
... | 0.76415336 | 0 |
Create a configured Resource object. The logging.resource.Resource object enables GCL to filter and bucket incoming logs according to which resource (host) they're coming from. | def Iv1B(YKHO):
return CE0u.Resource('gce_instance', {'project_id': YKHO.project_id, 'instance_id': YKHO.instance_id, 'zone': YKHO.zone}) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(Ro_8, kFeU: str, VKhi: Optional[pulumi.ResourceOptions]=None, drC_: Optional[pulumi.Input[str]]=None, bSbV: Optional[pulumi.Input[pulumi.InputType['DestinationOptionsPropertiesArgs']]]=None, xeiN: Optional[pulumi.Input[str]]=None, Wxn_: Optional[pulumi.Input['FlowLogLogDestinationType']]=None, IpOZ: Optio... | [
"0.65951043",
"0.6440433",
"0.6440433",
"0.6242352",
"0.61935383",
"0.61142313",
"0.6084315",
"0.60560906",
"0.60553813",
"0.60520566",
"0.60289705",
"0.5988859",
"0.5988854",
"0.5980841",
"0.59742886",
"0.596056",
"0.59587586",
"0.59357476",
"0.5867206",
"0.58595103",
"0.584... | 0.568915 | 46 |
Tokenize the input sequence and map it into a integer sequence | def wr3U(YKHO, cbXH):
s2mk = Dhdw.word_tokenize(cbXH)
s2mk = [yzQ0.lower() for yzQ0 in s2mk if yzQ0.isalpha()]
try:
return [YKHO.word_idx[YRbF] for YRbF in s2mk]
except:
raise ValueError('Provided word not in vocabulary') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bpa4(YKHO, jWWN):\n return [YKHO.sym2idx.get(eOtH, YKHO.unk_idx) for eOtH in jWWN]",
"def MJrf(KCHu):\n return [24] + [cIDo[jzdc] for jzdc in KCHu] + [25]",
"def X9oF(zFiD):\n return map(int, zFiD.strip().split(' '))",
"def sQSW(Inpp, hksT, Keew):\n return int(Keew[0])",
"def JhAN(s2mk):\n ... | [
"0.6944175",
"0.6359091",
"0.62860954",
"0.62483746",
"0.6228715",
"0.6220835",
"0.6201615",
"0.61763394",
"0.6134292",
"0.6114445",
"0.6103585",
"0.60818785",
"0.6022095",
"0.6002462",
"0.60023963",
"0.59896225",
"0.59812164",
"0.5972584",
"0.597179",
"0.5970067",
"0.5968149... | 0.0 | -1 |
brief This function opens txt file with a standard format and returns its contents as sting | def VNP_(WJHQ):
try:
nHI3 = open(WJHQ, 'r')
l5Ny = nHI3.read()
nHI3.close()
if l5Ny == '':
return False
except Exception:
raise
return l5Ny | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zlYa(NOrA):\n with open(NOrA, 'r') as eHNT:\n hGN5 = eHNT.readlines()\n return hGN5",
"def YVtT(gIsw):\n with open(gIsw, 'r') as nUeQ:\n nPrm = nUeQ.read()\n return nPrm",
"def TLtU(FYKK):\n with open(FYKK, 'r') as Fwbn:\n Novh = Fwbn.readlines()\n return Novh",
"de... | [
"0.73590934",
"0.7266821",
"0.72639835",
"0.7255347",
"0.7248162",
"0.7189944",
"0.7183925",
"0.7153584",
"0.7153584",
"0.7153584",
"0.71413386",
"0.7114355",
"0.71031505",
"0.7082045",
"0.701392",
"0.7010571",
"0.70068353",
"0.699633",
"0.69912577",
"0.69655555",
"0.69605505... | 0.0 | -1 |
convert line to list of ints | def X9oF(zFiD):
return map(int, zFiD.strip().split(' ')) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pjGW(zFiD):\n return [int(mLGw) for mLGw in zFiD.split()]",
"def hfK9(Nqlg: Lines) -> x1iM[int]:\n return [int(zFiD) for zFiD in Nqlg]",
"def fKy8(zFiD: str) -> x1iM[int]:\n rdlD = zFiD.strip('\\n').split()\n rdlD = [int(Mkmy) for Mkmy in rdlD]\n return rdlD",
"def SyRt(l5Ny):\n gXtX = ... | [
"0.84341305",
"0.83286536",
"0.808912",
"0.79577214",
"0.79392266",
"0.768556",
"0.750782",
"0.750488",
"0.73995525",
"0.7350785",
"0.7337237",
"0.7315281",
"0.7223723",
"0.71990544",
"0.71744144",
"0.71715844",
"0.7151489",
"0.707573",
"0.70581603",
"0.70245683",
"0.70037866... | 0.7898026 | 5 |
Renders the home page. | def kZiy(QePW):
assert isinstance(QePW, eu5F)
return vKnz('/departments') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kZiy():\n return TvZl('home.html')",
"def C_QL():\n return TvZl('home.html')",
"def kZiy():\n return TvZl('homepage.html')",
"def kZiy():\n return TvZl('home.html')",
"def kZiy():\n return TvZl('home.html')",
"def kZiy():\n return TvZl('pages/home.html')",
"def kZiy():\n leAC =... | [
"0.86085397",
"0.85661966",
"0.8562984",
"0.84564984",
"0.8353822",
"0.8353445",
"0.832796",
"0.83265287",
"0.83265287",
"0.8311966",
"0.83088946",
"0.83046836",
"0.8296962",
"0.82942903",
"0.82942903",
"0.82872546",
"0.8279762",
"0.8279762",
"0.8279762",
"0.8279762",
"0.8279... | 0.0 | -1 |
Renders the contact page. | def Mxk0(QePW):
assert isinstance(QePW, eu5F)
return _1tc(QePW, 'app/contact.html', {'title': 'Contact', 'message': 'Your contact page.', 'year': qcWV.now().year}) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Mxk0():\n bo34.info('User visited the contact page.')\n return TvZl('contact.html')",
"def Mxk0():\n return TvZl('contact.html')",
"def Mxk0():\n return TvZl('contact.html')",
"def Mxk0():\n return TvZl('contact.html')",
"def Mxk0():\n return TvZl('contact.html')",
"def Mxk0():\n ... | [
"0.85942996",
"0.856412",
"0.856412",
"0.8553042",
"0.84771496",
"0.84180754",
"0.84098697",
"0.8347894",
"0.8342256",
"0.8328687",
"0.82468224",
"0.82289207",
"0.81830716",
"0.81830716",
"0.81830716",
"0.81830716",
"0.81830716",
"0.81830716",
"0.81830716",
"0.81830716",
"0.8... | 0.7544711 | 58 |
Displays statistics on the most frequent times of travel. | def dWJR(jQ3Z):
print('\nCalculating The Most Frequent Times of Travel...\n')
SWox = ITS7.time()
sve5 = jQ3Z['month'].mode()[0]
print('Most Frequent month:', sve5)
ftYZ = jQ3Z['day_of_week'].mode()[0]
print('Most common day of week:', ftYZ)
jQ3Z['Start Time'] = rLdf.to_datetime(jQ3Z['Start T... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dWJR(jQ3Z):\n print('\\nCalculating The Most Frequent Times of Travel...\\n')\n SWox = ITS7.time()\n print('The most common month of travel is: {} '.format(jQ3Z.Month.mode()[0]))\n print('The most common day of travel is: {} '.format(jQ3Z.Day.mode()[0]))\n print('The most common hour of travel i... | [
"0.8001135",
"0.7922667",
"0.7892501",
"0.786295",
"0.7860047",
"0.7840831",
"0.7801381",
"0.7785867",
"0.7736821",
"0.77246106",
"0.77151954",
"0.7710127",
"0.7705659",
"0.77033156",
"0.7691183",
"0.7687095",
"0.7681752",
"0.7680381",
"0.76739514",
"0.7663132",
"0.76616323",... | 0.0 | -1 |
Displays statistics on the most popular stations and trip. | def Huc_(jQ3Z):
print('\nCalculating The Most Popular Stations and Trip...\n')
SWox = ITS7.time()
S85U = jQ3Z['Start Station'].mode()[0]
print('Most commonly used start station:', S85U)
DM_C = jQ3Z['End Station'].mode()[0]
print('Most commonly used end station:', DM_C)
jQ3Z['station_com'] = ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Huc_(jQ3Z):\n print('\\nCalculating The Most Popular Stations and Trip...\\n')\n SWox = ITS7.time()\n v6Be(jQ3Z)\n BeYU(jQ3Z)\n O6Ct(jQ3Z)\n print('\\nThis took %s seconds.' % (ITS7.time() - SWox))\n print('-' * 40)",
"def Huc_(jQ3Z):\n print('\\nCalculating The Most Popular Stations ... | [
"0.7665365",
"0.76264536",
"0.7610902",
"0.75852126",
"0.7576492",
"0.7567089",
"0.75577486",
"0.7538181",
"0.75294757",
"0.7502035",
"0.74997437",
"0.7496321",
"0.74872565",
"0.74840283",
"0.7475714",
"0.7472988",
"0.7437631",
"0.74366206",
"0.7433223",
"0.7428372",
"0.74269... | 0.0 | -1 |
Displays statistics on the total and average trip duration. | def kDMA(jQ3Z):
print('\nCalculating Trip Duration...\n')
SWox = ITS7.time()
bJiw = jQ3Z['Trip Duration'].sum()
print('Total travel time :', bJiw)
RB_u = jQ3Z['Trip Duration'].mean()
print('Mean travel time :', RB_u)
print('\nThis took %s seconds.' % (ITS7.time() - SWox))
print('-' * 40) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kDMA(dMlt):\n print('\\nCalculating Trip Duration...\\n')\n SWox = ITS7.time()\n qZ1g = dMlt['Trip Duration'].sum()\n print('The total travel time is ', qZ1g, ' seconds.')\n NPSF = dMlt['Trip Duration'].mean()\n print('The average travel time is ', NPSF, ' seconds.')\n print('\\nThis took ... | [
"0.8251978",
"0.81471264",
"0.80965656",
"0.80127156",
"0.7987783",
"0.79834235",
"0.7978646",
"0.79705906",
"0.7965226",
"0.79636025",
"0.79616374",
"0.79614663",
"0.79523134",
"0.7948989",
"0.79445267",
"0.7937707",
"0.7923821",
"0.792045",
"0.79198813",
"0.7918623",
"0.791... | 0.78775483 | 43 |
An instance of PointCollection. | def WbY2(YKHO):
return oykV([0, 0], [20, 50]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LTIa(YKHO, *qIxc, **c_sp):\n if not hasattr(YKHO, '_points'):\n if YKHO.dim() <= 0:\n YKHO._points = YKHO._vertices\n else:\n LTIa = YKHO._embed(D4vW(YKHO.poly_x('p', reduce_dimension=True))).columns()\n E3D9 = YKHO.lattice()\n LTIa = [E3D9(bGrB) for... | [
"0.7243602",
"0.6459903",
"0.64403534",
"0.64214975",
"0.6418413",
"0.64024895",
"0.63418686",
"0.6332082",
"0.6328071",
"0.6302681",
"0.6302681",
"0.6302681",
"0.6302681",
"0.6273146",
"0.62585646",
"0.6194053",
"0.6182773",
"0.6181296",
"0.61771816",
"0.61735165",
"0.616720... | 0.8705844 | 0 |
Test an invalid config entry id parameter. | async def test_dump_view_invalid_entry_id(Urat, blVQ):
x0hE = await blVQ()
_hkX = await x0hE.get('/api/zwave_js/dump/INVALID')
assert _hkX.status == 400 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RTfW():\n Qjbs = 'tokens'\n id = None\n with trZe.raises(UAju.InvalidId):\n dM6R.Analytics(access_token='pk.test')._validate_id(Qjbs, id)",
"def lhUj(YKHO, id):\n if not ldRb(id):\n eJmI.error_exit('Invalid id %s: Id should be group:artifact:version, such as jaxen:jaxen:1.1.6' % id)... | [
"0.7283501",
"0.698091",
"0.69768447",
"0.6932247",
"0.6928366",
"0.69008005",
"0.6870597",
"0.68472826",
"0.68385446",
"0.6778181",
"0.66851",
"0.6655014",
"0.6644346",
"0.6620384",
"0.659903",
"0.659903",
"0.6559488",
"0.65517515",
"0.6523995",
"0.650936",
"0.6469332",
"0... | 0.5931534 | 86 |
Get an instance of the mongo wrapper based on environment variables. | def nXV7() -> FO3g:
LITF = Hy7s.environ.get('SELECTED_TESTS_MONGO_URI')
if LITF is None:
raise RuntimeError('Cannot connect to mongodb, SELECTED_TESTS_MONGO_URI is not set')
return FO3g.connect(LITF) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nUjK():\n try:\n cmRX = '%s_%s' % (gCuF.MONGODB_URI, 'test')\n except AttributeError:\n raise rqaQ('Missing required MONGODB_URI setting')\n return PGNO(cmRX)",
"def zSEG():\n try:\n P4t4.mongo = BFCm(host=P4t4.config['MONGO_HOST'], connectTimeoutMS=500, socketTimeoutMS=1000)... | [
"0.7924608",
"0.76463497",
"0.7298747",
"0.7168827",
"0.7159886",
"0.7127096",
"0.70862025",
"0.7060955",
"0.6981424",
"0.6941903",
"0.69272447",
"0.69197553",
"0.69100124",
"0.68966794",
"0.6826721",
"0.6805289",
"0.67792225",
"0.676232",
"0.67405945",
"0.67013574",
"0.66826... | 0.81502026 | 0 |
Batch normalization on convolutional maps. | def idFg(g4y1, LT6S, WMj5=0.9, _hZ2=1e-05):
gqcO = g4y1.get_shape()
_LFN = gqcO[-1]
UqYS = ZylS.Variable(ZylS.constant(0.0, shape=[_LFN]), name='beta', trainable=True)
KMvS = ZylS.Variable(ZylS.constant(1.0, shape=[_LFN]), name='gamma', trainable=True)
_ni1, It1b = ZylS.nn.moments(g4y1, [0], name='m... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lS53(CK9p):\n assert len(CK9p.get_shape()) == 4\n yphq = CK9p.get_shape().as_list()\n JBMS, SRYB = ZylS.nn.moments(CK9p, axes=[0, 1, 2])\n tYiq = yphq[3]\n vgXP = ZylS.Variable(ZylS.zeros([tYiq]))\n NXpY = ZylS.Variable(ZylS.ones([tYiq]))\n idFg = ZylS.nn.batch_normalization(CK9p, JBMS, SR... | [
"0.72602606",
"0.71213925",
"0.6958709",
"0.6916365",
"0.6906669",
"0.68352735",
"0.68087155",
"0.677795",
"0.6758743",
"0.6722728",
"0.67170495",
"0.6716704",
"0.66944355",
"0.66510403",
"0.6623104",
"0.659641",
"0.65921295",
"0.6587665",
"0.65831465",
"0.65773785",
"0.65747... | 0.0 | -1 |
Batch normalization on convolutional maps. | def uZHF(g4y1, LT6S, WMj5=0.9, _hZ2=1e-05):
gqcO = g4y1.get_shape()
_LFN = gqcO[-1]
UqYS = ZylS.get_variable(shape=[_LFN], initializer=ZylS.zeros_initializer(), name='beta', trainable=True)
KMvS = ZylS.get_variable(shape=[_LFN], initializer=ZylS.zeros_initializer(), name='gamma', trainable=True)
_ni... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lS53(CK9p):\n assert len(CK9p.get_shape()) == 4\n yphq = CK9p.get_shape().as_list()\n JBMS, SRYB = ZylS.nn.moments(CK9p, axes=[0, 1, 2])\n tYiq = yphq[3]\n vgXP = ZylS.Variable(ZylS.zeros([tYiq]))\n NXpY = ZylS.Variable(ZylS.ones([tYiq]))\n idFg = ZylS.nn.batch_normalization(CK9p, JBMS, SR... | [
"0.72602606",
"0.71213925",
"0.6958709",
"0.6916365",
"0.6906669",
"0.68352735",
"0.68087155",
"0.677795",
"0.6758743",
"0.6722728",
"0.67170495",
"0.6716704",
"0.66944355",
"0.66510403",
"0.6623104",
"0.659641",
"0.65921295",
"0.6587665",
"0.65831465",
"0.65773785",
"0.65747... | 0.6430536 | 28 |
Computes value of the piecewise constant function. Returns a value of the piecewise function with jump locations and values given by the initializer. | def nrOS(YKHO, WKvO, oZTm=True, mWFP=None):
mWFP = mWFP or YKHO._name + '_call'
with ZylS.name_scope(mWFP):
WKvO = ZylS.convert_to_tensor(WKvO, dtype=YKHO.dtype(), name='x')
ooTa = ZylS.shape(YKHO._jump_locations)[:-1]
WKvO = kazR(WKvO, ooTa)
HEZd = 'left' if oZTm else 'right'
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def axhT(Aak1, *qIxc, **B2fa):\n return ZylS.train.piecewise_constant(Aak1, *qIxc, **B2fa)",
"def NoNy(WKvO, Sao9, hkxX, ffK7, HEZd='left'):\n ooTa = Sao9.shape.as_list()[:-1]\n j8X2 = WKvO.shape.as_list()[:ffK7]\n if j8X2 != ooTa:\n raise ValueError('Batch shape of `x` is {1} but should be {0... | [
"0.64321077",
"0.6029959",
"0.6027384",
"0.60195273",
"0.58879834",
"0.58879834",
"0.58819836",
"0.58819836",
"0.58517057",
"0.5846699",
"0.5787967",
"0.5716148",
"0.5685725",
"0.56533766",
"0.5651602",
"0.5621035",
"0.5565772",
"0.5554383",
"0.55445576",
"0.5507694",
"0.5485... | 0.0 | -1 |
Computes value of the piecewise constant function. | def NoNy(WKvO, Sao9, hkxX, ffK7, HEZd='left'):
ooTa = Sao9.shape.as_list()[:-1]
j8X2 = WKvO.shape.as_list()[:ffK7]
if j8X2 != ooTa:
raise ValueError('Batch shape of `x` is {1} but should be {0}'.format(ooTa, j8X2))
if WKvO.shape.as_list()[:ffK7]:
zdI2 = False
else:
zdI2 = Tru... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def si3H(WKvO):\n WKvO = oyIN.asarray(WKvO, dtype=oyIN.float64)\n rmPZ = WKvO.shape[0]\n eHNT = oyIN.ones([rmPZ, 1])\n return eHNT",
"def vqnm(YKHO, qw7D, jv7Q=8):\n COsz = (qw7D - qw7D.mean(0)) / qw7D.std(0)\n ywwl = len(COsz)\n yzQ0 = ywwl / jv7Q\n IhAk = COsz.reshape(jv7Q, oyIN.int(yzQ... | [
"0.6870005",
"0.6643202",
"0.65888935",
"0.6506538",
"0.6480174",
"0.6480174",
"0.6475749",
"0.6441716",
"0.6360921",
"0.63590086",
"0.6346282",
"0.6304147",
"0.6304147",
"0.62913674",
"0.6193032",
"0.61755943",
"0.6166505",
"0.6166505",
"0.6166288",
"0.6146055",
"0.61318064"... | 0.0 | -1 |
Broadcasts batch shape of `x` to a `batch_shape` if possible. | def kazR(WKvO, ooTa):
moed = ZylS.concat([ooTa, ZylS.shape(WKvO)[-1:]], axis=0)
return WKvO + ZylS.zeros(moed, dtype=WKvO.dtype) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jtwv(YKHO, WKvO):\n if YKHO._batch_shape_arg is None:\n return WKvO\n ZzXB = YKHO.batch_shape.concatenate([1, 1])\n arSB = _WqI.broadcast_static_shape(WKvO.get_shape(), ZzXB)\n if ZzXB.is_fully_defined():\n if arSB == WKvO.get_shape():\n return WKvO\n VNqG = _WqI.zer... | [
"0.81784415",
"0.77959263",
"0.7280201",
"0.701139",
"0.6594004",
"0.65007573",
"0.64617485",
"0.6430804",
"0.6309844",
"0.62849593",
"0.6216814",
"0.6100082",
"0.6075653",
"0.6006813",
"0.59499323",
"0.5942891",
"0.5936931",
"0.5895148",
"0.5895018",
"0.5889006",
"0.5883299"... | 0.7711251 | 2 |
project a along b (a dot b / magnitude(b)) | def bNKA(pO8L, sEEf):
aNZO, xQ3W, kDNl = pO8L.component_views()
bcP8, xEOs, nyuy = sEEf.component_views()
hPuM = d_5N.evaluate('((ax * bx) + (ay * by) + (az * bz)) / sqrt((bx**2) + (by**2) + (bz**2))')
return pO8L.wrap(hPuM, fldtype='Scalar') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bNKA(jzdc, Fg_i):\n NRKk = oyIN.array(jzdc)\n bfEg = oyIN.array(Fg_i)\n return oyIN.dot(NRKk.T, bfEg) / oyIN.dot(NRKk.T, NRKk) * NRKk",
"def IDBL(jzdc, Fg_i):\n return ywW_(jzdc, BJ1H(jzdc, Fg_i) / Ayfi(jzdc) ** 2)",
"def hPuM(jzdc, Fg_i):\n K9fJ = Fg_i.get_spherical_as_list()\n Fg_i.set_... | [
"0.75135607",
"0.746154",
"0.6927439",
"0.6758002",
"0.6639142",
"0.6610895",
"0.6603127",
"0.6603127",
"0.6520724",
"0.6507225",
"0.6490186",
"0.6463751",
"0.6371136",
"0.6311285",
"0.6254954",
"0.6247231",
"0.6232213",
"0.62233824",
"0.6206987",
"0.61986655",
"0.61986655",
... | 0.6350209 | 13 |
normalize a vector field | def NkkI(pO8L):
jzdc = pO8L.as_flat().data
aNZO, xQ3W, kDNl = pO8L.component_views()
AXJc = d_5N.evaluate('a / sqrt((ax**2) + (ay**2) + (az**2))')
return pO8L.wrap(AXJc, fldtype='Vector') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VDTB(Ty9i):\n return Ty9i / i1gc(Ty9i)",
"def Cnx3(Ty9i):\n return Ty9i / Q5Nl(Ty9i)",
"def NkkI(YKHO):\n YKHO.number_of_vectors = YKHO.values.shape[0]\n rRIa = oyIN.linalg.norm(YKHO.values, axis=1).reshape(-1, 1)\n YCnv = oyIN.sum(YKHO.values_planar, axis=1).reshape(-1, 1)\n rRIa[rRIa ==... | [
"0.7735817",
"0.77131766",
"0.7625946",
"0.7622454",
"0.75360775",
"0.7504899",
"0.7455315",
"0.7424655",
"0.73817694",
"0.7369776",
"0.73604876",
"0.73352295",
"0.7329413",
"0.73189104",
"0.7309583",
"0.727412",
"0.72690445",
"0.7265907",
"0.7231744",
"0.7228852",
"0.7211191... | 0.7453429 | 7 |
Plot the model loss. | def mBbd(YJbR):
HasU = oyIN.arange(0, len(YJbR.history['loss']))
QrM1.plot(HasU, YJbR.history['loss'])
QrM1.show()
QrM1.clf() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mBbd(YKHO):\n nPrm = YKHO._setup_loss()\n QrM1.plot(nPrm)",
"def mBbd(YKHO):\n QrM1.plot(YKHO.history.history['loss'])\n QrM1.plot(YKHO.history.history['val_loss'])\n QrM1.title('Model loss')\n QrM1.ylabel('Loss')\n QrM1.xlabel('Epoch')\n QrM1.legend(['Train', 'Test'], loc='upper left... | [
"0.8669281",
"0.84584355",
"0.8342674",
"0.8291497",
"0.81855905",
"0.8068872",
"0.79902554",
"0.7967672",
"0.7959369",
"0.7910421",
"0.78509086",
"0.78358996",
"0.78253406",
"0.7790882",
"0.77882147",
"0.776075",
"0.7758452",
"0.77563095",
"0.7728337",
"0.7656276",
"0.763551... | 0.7760902 | 15 |
Convert dataframe to overlapping sequences/windows of len `window_data`. | def q4_r(jQ3Z, WEZm=10, J5Cg=False):
NxrV = []
for or8S in range(len(jQ3Z) - WEZm):
jbXL = jQ3Z[or8S:or8S + WEZm].copy()
if J5Cg:
jbXL = uW8b(jbXL)
NxrV.append(jbXL.values)
return oyIN.array(NxrV) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TciN(jQ3Z, TVTK, yHH9):\n w_5H = KnxT(TVTK, yHH9, len(jQ3Z))\n for yKcO, Os4s in w_5H:\n yield jQ3Z[yKcO:Os4s]",
"def FHbi(__n6, dbbf, CAr7=5, yHH9=1):\n uGM2 = 0\n WEZm = epAf.ceil(CAr7 / dbbf)\n H0ZT = []\n while uGM2 < len(__n6):\n rdlD = []\n r845 = 0\n while... | [
"0.71316195",
"0.66691613",
"0.66691613",
"0.6614298",
"0.6603026",
"0.65731657",
"0.6529628",
"0.6511927",
"0.6371513",
"0.6335256",
"0.6305394",
"0.62902296",
"0.6280703",
"0.6269951",
"0.61798406",
"0.61778116",
"0.6172814",
"0.6134145",
"0.6105655",
"0.60577625",
"0.60325... | 0.6648029 | 3 |
Assert an error is raised if a name is invalid. Numpy should raise a ValueError if the name is not a field in the array. | def E3j5():
WKvO = oyIN.array([(1,), (2,)], dtype=[('x', 'i4')])
with trZe.raises(ValueError):
Dvp1(WKvO, ['y']) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tFxl(YKHO):\n with YKHO.assertRaises(ValueError):\n IVmX.check_field_name(HtA0)",
"def olSX(YKHO):\n KAOR = qcrw(name='this is an invalid field name')\n try:\n KAOR.full_clean()\n except sUXu as err:\n YKHO.assertIn('The name may only contain alphanumeric characters and under... | [
"0.7277903",
"0.70079106",
"0.69661266",
"0.6891256",
"0.68491143",
"0.67629397",
"0.6737774",
"0.6722328",
"0.6710814",
"0.67022556",
"0.66656816",
"0.6658648",
"0.6633306",
"0.6624317",
"0.6618216",
"0.6572643",
"0.6569145",
"0.65470487",
"0.65445006",
"0.65301967",
"0.6509... | 0.61153054 | 56 |
Return a list of option names for the given section name. | def xAU6(YKHO, XLMv):
if XLMv in YKHO.data:
return list(YKHO.data[XLMv])
else:
raise EtCm(XLMv) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _a98(YKHO, M8YW):\n return YKHO.config.options(M8YW)",
"def xAU6(YKHO, XLMv):\n return [y7GR for y7GR, wEf2 in YKHO.sectionDict[XLMv]]",
"def xAU6(YKHO, XLMv):\n if XLMv in list(YKHO.keys()):\n return list(YKHO[XLMv].keys())\n else:\n raise EtCm(XLMv)",
"def xAU6(YKHO, XLMv):\n ... | [
"0.77612615",
"0.77087307",
"0.7634737",
"0.76207936",
"0.74931973",
"0.7470597",
"0.74434423",
"0.7405541",
"0.70644194",
"0.70488614",
"0.6866277",
"0.6803183",
"0.6640582",
"0.6598631",
"0.6543991",
"0.6526765",
"0.6428039",
"0.6387052",
"0.6310382",
"0.6279586",
"0.623180... | 0.73328185 | 8 |
The name which should be used for this Policy Option. | def mWFP(YKHO) -> str:
return qe4Y.get(YKHO, 'name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mWFP(YKHO):\n return YKHO.opts['name']",
"def mWFP(YKHO):\n return YKHO.opts.get('name', None)",
"def u8xN(Emd4):\n raise NotImplementedError()",
"def CX3n(YKHO) -> str:\n return qe4Y.get(YKHO, 'policy_name')",
"def CX3n(YKHO) -> str:\n return qe4Y.get(YKHO, 'policy_name')",
"def CX3n(... | [
"0.80753607",
"0.77543324",
"0.757609",
"0.7482303",
"0.7482303",
"0.7482303",
"0.7482303",
"0.7482303",
"0.7482303",
"0.7482303",
"0.7365552",
"0.7333395",
"0.7333395",
"0.7333395",
"0.7333395",
"0.7333395",
"0.7330297",
"0.7330297",
"0.7330297",
"0.7292065",
"0.72915107",
... | 0.7163756 | 36 |
One or more `playready_configuration_license` blocks as defined above. | def MdzA(YKHO) -> h8nf[bdIy['outputs.ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicense']]:
return qe4Y.get(YKHO, 'playready_configuration_licenses') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def voYm():\n KeQe = {}\n KeQe['name'] = 'cc-by-4.0'\n KeQe['url'] = 'https://creativecommons.org/licenses/by/4.0/'\n KeQe['description'] = 'The content can be shared and adapted but you must give appropriate credit and cannot restrict access to others.'\n return KeQe",
"async def lice... | [
"0.65202725",
"0.63929063",
"0.6357762",
"0.6357762",
"0.6357762",
"0.62208694",
"0.619413",
"0.61632866",
"0.6146519",
"0.6115145",
"0.6113785",
"0.61037415",
"0.6095227",
"0.6088064",
"0.60563403",
"0.60179675",
"0.60061574",
"0.60033786",
"0.5980435",
"0.5969471",
"0.59506... | 0.6976862 | 0 |
A flag indicating whether test devices can use the license. | def aeOk(YKHO) -> h8nf[bool]:
return qe4Y.get(YKHO, 'allow_test_devices') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ku2f(YKHO):\n return True",
"def ku2f(YKHO):\n return True",
"def ku2f(YKHO):\n return True",
"def ku2f(YKHO):\n return True",
"def ku2f(YKHO):\n return True",
"def ku2f(YKHO):\n return True",
"def ku2f(YKHO):\n return True",
"def ku2f(YKHO):\n return True",
"def ku2f(YK... | [
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"0.7451519",
"... | 0.0 | -1 |
The expiration date of license. | def ad72(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'expiration_date') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ad72(YKHO):\n return YKHO._expiration_date",
"def ad72(YKHO):\n return YKHO._expiration_date",
"def ad72(YKHO):\n return YKHO._expiration_date",
"def ad72(YKHO):\n return YKHO._expires_at.date()",
"def ycq0(YKHO):\n return YKHO.expirationdate",
"def ad72(YKHO) -> qcWV.datetime:\n re... | [
"0.80263954",
"0.80263954",
"0.80263954",
"0.79836684",
"0.7980293",
"0.7862098",
"0.78561956",
"0.77834654",
"0.7555208",
"0.7464361",
"0.7458471",
"0.74573916",
"0.74289316",
"0.7299955",
"0.7270737",
"0.7197293",
"0.71788883",
"0.71788883",
"0.71788883",
"0.7124097",
"0.71... | 0.77592176 | 8 |
The license type. Supported values are `NonPersistent` or `Persistent`. | def O7QO(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'license_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def O7QO(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'license_type')",
"def O7QO(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'license_type')",
"def O7QO(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'license_type')",
"def O7QO(YKHO) -> h8nf[qe4Y.Input[str]]:\n ... | [
"0.823503",
"0.823503",
"0.81696194",
"0.81696194",
"0.81696194",
"0.81696194",
"0.68466264",
"0.66387355",
"0.6526445",
"0.6516513",
"0.6413503",
"0.6412728",
"0.64016587",
"0.64016587",
"0.64016587",
"0.63942266",
"0.63489366",
"0.63263565",
"0.63263565",
"0.6302243",
"0.62... | 0.84931916 | 0 |
The relative expiration date of license. | def PDEi(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'relative_expiration_date') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KxgE() -> qcWV:\n return qcWV.utcnow() + SaoX",
"def ycq0(YKHO):\n return YKHO.expirationdate",
"def rG7T(YKHO):\n OBx7 = fCoM(days=31)\n return YKHO.date + OBx7",
"def ad72(YKHO):\n return YKHO._expiration_date",
"def ad72(YKHO):\n return YKHO._expiration_date",
"def ad72(YKHO):\n ... | [
"0.76788294",
"0.7614846",
"0.7564375",
"0.7561179",
"0.7561179",
"0.7561179",
"0.7498901",
"0.7435932",
"0.7430808",
"0.7359109",
"0.73366195",
"0.73366195",
"0.73363554",
"0.7056427",
"0.7045764",
"0.7022952",
"0.6928731",
"0.6889619",
"0.68870854",
"0.6880749",
"0.6858932"... | 0.74275565 | 9 |
Indicates whether this restriction is enforced on a best effort basis. Possible values are `true` or `false`. Defaults to `false`. | def v7bj(YKHO) -> h8nf[bool]:
return qe4Y.get(YKHO, 'best_effort_enforced') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Cpax(YKHO) -> h8nf[bool]:\n return qe4Y.get(YKHO, 'enable_restriction')",
"def Cpax(YKHO) -> h8nf[bool]:\n return qe4Y.get(YKHO, 'enable_restriction')",
"def Cpax(YKHO) -> h8nf[bool]:\n return qe4Y.get(YKHO, 'enable_restriction')",
"def Cpax(YKHO) -> h8nf[bool]:\n return qe4Y.get(YKHO, 'enabl... | [
"0.7013553",
"0.7013553",
"0.7013553",
"0.7013553",
"0.7004584",
"0.68125194",
"0.6781129",
"0.66895545",
"0.64786404",
"0.6440335",
"0.63665754",
"0.63665754",
"0.63322973",
"0.61512876",
"0.614543",
"0.6141451",
"0.6141451",
"0.6141451",
"0.6141451",
"0.6141451",
"0.6141451... | 0.7724978 | 0 |
The audience for the token. | def PhGN(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'audience') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PhGN(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'audience')",
"def PhGN(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'audience')",
"def SWgM(YKHO):\n return YKHO.properties.get('signInAudience', None)",
"def _fIQ(YKHO):\n H5ew = ''\n if YKHO.audiences and VAZI.AUDIE... | [
"0.7792089",
"0.7792089",
"0.69945717",
"0.62405217",
"0.6132624",
"0.6117624",
"0.61083186",
"0.60180366",
"0.60015005",
"0.59074336",
"0.5885494",
"0.5837138",
"0.5728498",
"0.5562736",
"0.5550975",
"0.5463193",
"0.5424923",
"0.53928846",
"0.5380539",
"0.53343976",
"0.53283... | 0.7928257 | 0 |
The type of token. Supported values are `Jwt` or `Swt`. | def sOU6(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'token_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sOU6(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'TokenType']]]:\n return qe4Y.get(YKHO, 'token_type')",
"def sOU6(YKHO):\n return YKHO._token_type",
"def sOU6(YKHO):\n return YKHO._token_type",
"def x1sj(YKHO):\n return YKHO.token_type",
"def sOU6(YKHO):\n return YKHO.__current_type",
"def G1l... | [
"0.79905874",
"0.79424477",
"0.79424477",
"0.7923684",
"0.7421234",
"0.6959531",
"0.670331",
"0.670331",
"0.670331",
"0.670331",
"0.670331",
"0.670331",
"0.670331",
"0.670331",
"0.66155696",
"0.66155696",
"0.661407",
"0.6602855",
"0.65864223",
"0.6535882",
"0.6521904",
"0.6... | 0.82958406 | 0 |
The name of the input Asset. Changing this forces a new Media Job to be created. | def mWFP(YKHO) -> str:
return qe4Y.get(YKHO, 'name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ThMV(YKHO):\n z0hT = YKHO.assetName_le.text()\n if z0hT == '':\n FQNo.error('PLEASE SET A NAME FOR THE ASSET')\n return str(z0hT)",
"def wxIh(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'job_name')",
"def mWFP(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'name')",
"def mW... | [
"0.7381991",
"0.6274763",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
"0.62680256",
... | 0.0 | -1 |
A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Tra... | def UXqs(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'label') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _LMP(raQ7, cO4L, JC16, pOkL):\n return (raQ7 + '.' if raQ7 else '') + f'{cO4L}.{JC16}' + ('.' + str(pOkL) if pOkL != -1 else '')",
"def ffcr(YKHO):\n return YKHO.__out_label",
"def TGrx(YKHO):\n return YKHO._config.get('label_output')",
"def E8CA(tEZ3: config.ModelSpec, xYGm: Text) -> h8nf[I2jr]... | [
"0.6672702",
"0.64505154",
"0.63080305",
"0.62729305",
"0.6158774",
"0.61360633",
"0.6123866",
"0.6121678",
"0.60280293",
"0.6010131",
"0.5915386",
"0.58334404",
"0.58195424",
"0.5763679",
"0.57117903",
"0.57117903",
"0.56787723",
"0.56787723",
"0.56787723",
"0.56787723",
"0.... | 0.5250759 | 44 |
The identifier of the preview locator in GUID format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. Changing this forces a new resource to be created. | def gDyj(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'preview_locator') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def id(YKHO):\n try:\n return 'diaspora://%s/%s/%s' % (YKHO.handle, YKHO._tag_name, YKHO.guid)\n except AttributeError:\n return None",
"def id(YKHO):\n return YKHO.meta().get('id', YKHO.meta().get('uuid'))",
"def ShR8(YKHO):\n return f'reolink_camera_{YKHO._base.unique_id}'",
"def ... | [
"0.64915234",
"0.612093",
"0.61126584",
"0.60386264",
"0.5986772",
"0.595849",
"0.59444815",
"0.5925855",
"0.586941",
"0.5845189",
"0.58407813",
"0.58405155",
"0.5833136",
"0.57991797",
"0.57991797",
"0.5796869",
"0.57968205",
"0.5775242",
"0.5768817",
"0.5766704",
"0.5764219... | 0.63626695 | 1 |
Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both). | def type(YKHO) -> str:
return qe4Y.get(YKHO, 'type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def type(YKHO) -> qe4Y.Input[uLKX[str, 'ManagedServiceIdentityType']]:\n return qe4Y.get(YKHO, 'type')",
"def type(YKHO) -> qe4Y.Input[uLKX[str, 'ManagedServiceIdentityType']]:\n return qe4Y.get(YKHO, 'type')",
"def type(YKHO) -> h8nf[qe4Y.Input['ManagedIdentityType']]:\n return qe4Y.get(YKHO, 'type')... | [
"0.6653205",
"0.6653205",
"0.64055663",
"0.63531613",
"0.6337992",
"0.61460495",
"0.6118122",
"0.6054575",
"0.60011864",
"0.59692466",
"0.5640049",
"0.56337196",
"0.5601762",
"0.5595193",
"0.5546254",
"0.55430216",
"0.54833096",
"0.54740024",
"0.5466977",
"0.5466977",
"0.5466... | 0.0 | -1 |
The Principal ID associated with this Managed Service Identity. | def UENi(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'principal_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UENi(YKHO) -> str:\n return qe4Y.get(YKHO, 'principal_id')",
"def UENi(YKHO) -> str:\n return qe4Y.get(YKHO, 'principal_id')",
"def UENi(YKHO) -> str:\n return qe4Y.get(YKHO, 'principal_id')",
"def UENi(YKHO) -> str:\n return qe4Y.get(YKHO, 'principal_id')",
"def UENi(YKHO) -> str:\n ret... | [
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287",
"0.83581287"... | 0.783566 | 26 |
The Tenant ID associated with this Managed Service Identity. | def mLXZ(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'tenant_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mLXZ(YKHO) -> str:\n return qe4Y.get(YKHO, 'tenant_id')",
"def mLXZ(YKHO) -> str:\n return qe4Y.get(YKHO, 'tenant_id')",
"def mLXZ(YKHO) -> str:\n return qe4Y.get(YKHO, 'tenant_id')",
"def mLXZ(YKHO) -> str:\n return qe4Y.get(YKHO, 'tenant_id')",
"def mLXZ(YKHO) -> str:\n return qe4Y.get... | [
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8760913",
"0.8423441",
"0.8423441",
"0.8423441",
"... | 0.82391137 | 25 |
The expiration time of the authentication key. | def N850(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'expiration') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OBx7(YKHO) -> str:\n return qe4Y.get(YKHO, 'expiration_time')",
"def OBx7(YKHO) -> str:\n return qe4Y.get(YKHO, 'expiration_time')",
"def OBx7(YKHO) -> float:\n return qe4Y.get(YKHO, 'expiration_time')",
"def fCnL(YKHO):\n return YKHO.__expiration_time",
"def PeWH(YKHO) -> h8nf[str]:\n r... | [
"0.7913731",
"0.7913731",
"0.7774951",
"0.77502453",
"0.7699618",
"0.7666198",
"0.76408726",
"0.76157546",
"0.76157546",
"0.7603053",
"0.75839084",
"0.75696874",
"0.7537754",
"0.74437493",
"0.7407361",
"0.74036306",
"0.7396475",
"0.73691887",
"0.7356756",
"0.73293394",
"0.732... | 0.74580604 | 13 |
Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created. | def uSTt(YKHO) -> h8nf[bool]:
return qe4Y.get(YKHO, 'smooth_streaming') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GmU3(YKHO):\n YKHO.playback_allowed = True",
"def Y13w(YKHO):\n G9jH.info('Cert: Sending WRITE_SIMPLE_PAIRING_MODE [True]')\n YKHO._enqueue_hci_command(Sq2B.WriteSimplePairingModeBuilder(Sq2B.Enable.ENABLED), True)\n G9jH.info('Cert: Waiting for controller response')\n XIQB(YKHO._hci_event_str... | [
"0.58785766",
"0.5716789",
"0.5681034",
"0.53980273",
"0.5305137",
"0.52964956",
"0.52820605",
"0.52630514",
"0.51825666",
"0.5166617",
"0.5117799",
"0.5114212",
"0.51126075",
"0.5101796",
"0.5059883",
"0.50530666",
"0.5017825",
"0.50089675",
"0.5002008",
"0.4997956",
"0.4995... | 0.6058493 | 0 |
Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created. | def uSTt(YKHO) -> h8nf[bool]:
return qe4Y.get(YKHO, 'smooth_streaming') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GmU3(YKHO):\n YKHO.playback_allowed = True",
"def Y13w(YKHO):\n G9jH.info('Cert: Sending WRITE_SIMPLE_PAIRING_MODE [True]')\n YKHO._enqueue_hci_command(Sq2B.WriteSimplePairingModeBuilder(Sq2B.Enable.ENABLED), True)\n G9jH.info('Cert: Waiting for controller response')\n XIQB(YKHO._hci_event_str... | [
"0.5876978",
"0.57161385",
"0.5680148",
"0.5398226",
"0.53039354",
"0.5295096",
"0.52824926",
"0.52631575",
"0.5182079",
"0.51663035",
"0.51178086",
"0.51148504",
"0.5112553",
"0.510246",
"0.50592077",
"0.5053714",
"0.5018709",
"0.50097215",
"0.5002256",
"0.4996818",
"0.49966... | 0.60597515 | 1 |
Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created. | def uSTt(YKHO) -> h8nf[bool]:
return qe4Y.get(YKHO, 'smooth_streaming') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GmU3(YKHO):\n YKHO.playback_allowed = True",
"def Y13w(YKHO):\n G9jH.info('Cert: Sending WRITE_SIMPLE_PAIRING_MODE [True]')\n YKHO._enqueue_hci_command(Sq2B.WriteSimplePairingModeBuilder(Sq2B.Enable.ENABLED), True)\n G9jH.info('Cert: Waiting for controller response')\n XIQB(YKHO._hci_event_str... | [
"0.58785766",
"0.5716789",
"0.5681034",
"0.53980273",
"0.5305137",
"0.52964956",
"0.52820605",
"0.52630514",
"0.51825666",
"0.5166617",
"0.5117799",
"0.5114212",
"0.51126075",
"0.5101796",
"0.5059883",
"0.50530666",
"0.5017825",
"0.50089675",
"0.5002008",
"0.4997956",
"0.4995... | 0.6058493 | 3 |
Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created. | def uSTt(YKHO) -> h8nf[bool]:
return qe4Y.get(YKHO, 'smooth_streaming') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GmU3(YKHO):\n YKHO.playback_allowed = True",
"def Y13w(YKHO):\n G9jH.info('Cert: Sending WRITE_SIMPLE_PAIRING_MODE [True]')\n YKHO._enqueue_hci_command(Sq2B.WriteSimplePairingModeBuilder(Sq2B.Enable.ENABLED), True)\n G9jH.info('Cert: Waiting for controller response')\n XIQB(YKHO._hci_event_str... | [
"0.58785766",
"0.5716789",
"0.5681034",
"0.53980273",
"0.5305137",
"0.52964956",
"0.52820605",
"0.52630514",
"0.51825666",
"0.5166617",
"0.5117799",
"0.5114212",
"0.51126075",
"0.5101796",
"0.5059883",
"0.50530666",
"0.5017825",
"0.50089675",
"0.5002008",
"0.4997956",
"0.4995... | 0.6058493 | 2 |
The builtin preset to be used for encoding videos. The Possible values are `AACGoodQualityAudio`, `AdaptiveStreaming`, `ContentAwareEncoding`, `ContentAwareEncodingExperimental`, `CopyAllBitrateNonInterleaved`, `DDGoodQualityAudio`, `H265AdaptiveStreaming`, `H265ContentAwareEncoding`, `H265SingleBitrate4K`, `H265Single... | def XzxE(YKHO) -> str:
return qe4Y.get(YKHO, 'preset_name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lxt5(YKHO) -> h8nf['outputs.TransformOutputVideoAnalyzerPreset']:\n return qe4Y.get(YKHO, 'video_analyzer_preset')",
"def TaiO(YKHO) -> h8nf['outputs.TransformOutputCustomPresetCodecH264Video']:\n return qe4Y.get(YKHO, 'h264_video')",
"def _ZvT(YKHO) -> h8nf['ChannelPreset']:\n return qe4Y.get(YKH... | [
"0.6824076",
"0.63978475",
"0.6254756",
"0.6215196",
"0.6188642",
"0.6168406",
"0.6077318",
"0.6019747",
"0.6012842",
"0.59726894",
"0.593465",
"0.59196377",
"0.5892774",
"0.5878457",
"0.5787974",
"0.5750061",
"0.57419026",
"0.57337743",
"0.5706855",
"0.5705532",
"0.5701315",... | 0.5108134 | 75 |
The minimum bitrate in bits per second (threshold for the bottom video layer). For example, set as `200000` to have a bottom layer that covers users with low network bandwidth. | def x99Q(YKHO) -> h8nf[int]:
return qe4Y.get(YKHO, 'min_bitrate_bps') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ONo3(YKHO):\n return YKHO._min_bitrate",
"def WiHF(YKHO) -> h8nf[int]:\n return qe4Y.get(YKHO, 'max_bitrate_bps')",
"def HaOD(YKHO):\n return YKHO._get_attribute('minBinaryLoadRate')",
"def uPdf(YKHO) -> int:\n return qe4Y.get(YKHO, 'bitrate_kbps')",
"def zjt0(YKHO) -> h8nf[int]:\n retur... | [
"0.78718835",
"0.6992684",
"0.6897432",
"0.68082756",
"0.6754601",
"0.6754601",
"0.6696925",
"0.66759574",
"0.6628539",
"0.66146463",
"0.66146463",
"0.6558402",
"0.65343654",
"0.64904296",
"0.64843184",
"0.64777017",
"0.64372164",
"0.63825077",
"0.63825077",
"0.6327093",
"0.6... | 0.80760854 | 0 |
The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file. | def UXqs(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'label') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Of4o(YKHO, UXqs):\n if UXqs == -1:\n UXqs = 2\n return YKHO.labels[UXqs]",
"def UXqs(YKHO):\n return 'brick_{}'.format(YKHO._label)",
"def UXqs(YKHO) -> str:\n return YKHO._str_representation_for('name')",
"def M9Mk(YKHO, ZI14):\n return '.L%s' % ZI14",
"def UXqs(YKHO):\n retur... | [
"0.72340727",
"0.7226695",
"0.72201526",
"0.71862864",
"0.715721",
"0.7155087",
"0.714332",
"0.7093342",
"0.7061439",
"0.7061439",
"0.7061439",
"0.7061439",
"0.7056125",
"0.69841206",
"0.6968937",
"0.6890305",
"0.6890305",
"0.6890305",
"0.6890305",
"0.6873218",
"0.6862229",
... | 0.0 | -1 |
The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example `50%` means the output video has half as many pixels in width as the input. | def TVTK(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'width') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eAD1(YKHO, BWXx: Union[int, str]=None):\n if BWXx is not None:\n YKHO.animation_parameters(video_width=BWXx, animate=None)\n return YKHO._video_width",
"def Y1MU() -> float:\n pass",
"def eAD1(YKHO):\n return YKHO._video_width",
"def TVTK(YKHO):\n return YKHO._from_attr((SnBA.Docume... | [
"0.71431756",
"0.6946617",
"0.67427456",
"0.64512414",
"0.6439031",
"0.6340461",
"0.6158716",
"0.61016846",
"0.60993665",
"0.6049195",
"0.6006281",
"0.6006281",
"0.6006281",
"0.59975934",
"0.5987176",
"0.5976703",
"0.596745",
"0.59647",
"0.5936757",
"0.5933498",
"0.59296685",... | 0.5685611 | 54 |
The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file. | def UXqs(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'label') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Of4o(YKHO, UXqs):\n if UXqs == -1:\n UXqs = 2\n return YKHO.labels[UXqs]",
"def UXqs(YKHO):\n return 'brick_{}'.format(YKHO._label)",
"def UXqs(YKHO) -> str:\n return YKHO._str_representation_for('name')",
"def M9Mk(YKHO, ZI14):\n return '.L%s' % ZI14",
"def UXqs(YKHO):\n retur... | [
"0.7235614",
"0.72276783",
"0.72209746",
"0.7187687",
"0.71583664",
"0.7156688",
"0.71445715",
"0.70937544",
"0.70630985",
"0.70630985",
"0.70630985",
"0.70630985",
"0.70560366",
"0.69846874",
"0.6969698",
"0.6890445",
"0.6890445",
"0.6890445",
"0.6890445",
"0.68742794",
"0.6... | 0.0 | -1 |
The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example `50%` means the output video has half as many pixels in width as the input. | def TVTK(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'width') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eAD1(YKHO, BWXx: Union[int, str]=None):\n if BWXx is not None:\n YKHO.animation_parameters(video_width=BWXx, animate=None)\n return YKHO._video_width",
"def Y1MU() -> float:\n pass",
"def eAD1(YKHO):\n return YKHO._video_width",
"def TVTK(YKHO):\n return YKHO._from_attr((SnBA.Docume... | [
"0.7145198",
"0.69504935",
"0.67461246",
"0.64530116",
"0.6439219",
"0.6341406",
"0.6157803",
"0.61034185",
"0.6099883",
"0.6050014",
"0.6006735",
"0.6006735",
"0.6006735",
"0.60004437",
"0.5986297",
"0.59762305",
"0.5967843",
"0.59655285",
"0.59358996",
"0.5933657",
"0.59299... | 0.5685881 | 52 |
The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file. | def UXqs(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'label') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Of4o(YKHO, UXqs):\n if UXqs == -1:\n UXqs = 2\n return YKHO.labels[UXqs]",
"def UXqs(YKHO):\n return 'brick_{}'.format(YKHO._label)",
"def UXqs(YKHO) -> str:\n return YKHO._str_representation_for('name')",
"def M9Mk(YKHO, ZI14):\n return '.L%s' % ZI14",
"def UXqs(YKHO):\n retur... | [
"0.72340727",
"0.7226695",
"0.72201526",
"0.71862864",
"0.715721",
"0.7155087",
"0.714332",
"0.7093342",
"0.7061439",
"0.7061439",
"0.7061439",
"0.7061439",
"0.7056125",
"0.69841206",
"0.6968937",
"0.6890305",
"0.6890305",
"0.6890305",
"0.6890305",
"0.6873218",
"0.6862229",
... | 0.0 | -1 |
The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example `50%` means the output video has half as many pixels in width as the input. | def TVTK(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'width') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eAD1(YKHO, BWXx: Union[int, str]=None):\n if BWXx is not None:\n YKHO.animation_parameters(video_width=BWXx, animate=None)\n return YKHO._video_width",
"def Y1MU() -> float:\n pass",
"def eAD1(YKHO):\n return YKHO._video_width",
"def TVTK(YKHO):\n return YKHO._from_attr((SnBA.Docume... | [
"0.71431756",
"0.6946617",
"0.67427456",
"0.64512414",
"0.6439031",
"0.6340461",
"0.6158716",
"0.61016846",
"0.60993665",
"0.6049195",
"0.6006281",
"0.6006281",
"0.6006281",
"0.59975934",
"0.5987176",
"0.5976703",
"0.596745",
"0.59647",
"0.5936757",
"0.5933498",
"0.59296685",... | 0.5685611 | 45 |
The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file. | def UXqs(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'label') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Of4o(YKHO, UXqs):\n if UXqs == -1:\n UXqs = 2\n return YKHO.labels[UXqs]",
"def UXqs(YKHO):\n return 'brick_{}'.format(YKHO._label)",
"def UXqs(YKHO) -> str:\n return YKHO._str_representation_for('name')",
"def M9Mk(YKHO, ZI14):\n return '.L%s' % ZI14",
"def UXqs(YKHO):\n retur... | [
"0.72340727",
"0.7226695",
"0.72201526",
"0.71862864",
"0.715721",
"0.7155087",
"0.714332",
"0.7093342",
"0.7061439",
"0.7061439",
"0.7061439",
"0.7061439",
"0.7056125",
"0.69841206",
"0.6968937",
"0.6890305",
"0.6890305",
"0.6890305",
"0.6890305",
"0.6873218",
"0.6862229",
... | 0.0 | -1 |
The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example `50%` means the output video has half as many pixels in width as the input. | def TVTK(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'width') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eAD1(YKHO, BWXx: Union[int, str]=None):\n if BWXx is not None:\n YKHO.animation_parameters(video_width=BWXx, animate=None)\n return YKHO._video_width",
"def Y1MU() -> float:\n pass",
"def eAD1(YKHO):\n return YKHO._video_width",
"def TVTK(YKHO):\n return YKHO._from_attr((SnBA.Docume... | [
"0.7145198",
"0.69504935",
"0.67461246",
"0.64530116",
"0.6439219",
"0.6341406",
"0.6157803",
"0.61034185",
"0.6099883",
"0.6050014",
"0.6006735",
"0.6006735",
"0.6006735",
"0.60004437",
"0.5986297",
"0.59762305",
"0.5967843",
"0.59655285",
"0.59358996",
"0.5933657",
"0.59299... | 0.5685881 | 53 |
The start position, with reference to the input video, at which the overlay starts. The value should be in ISO 8601 format. For example, `PT05S` to start the overlay at 5 seconds into the input video. If not specified the overlay starts from the beginning of the input video. | def yKcO(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'start') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def r8nq(YKHO):\n return YKHO.startPt + YKHO.position",
"def dQgj(YKHO) -> h8nf['outputs.TransformOutputCustomPresetFilterOverlayVideoPosition']:\n return qe4Y.get(YKHO, 'position')",
"def Pdd2(YKHO):\n return YKHO.screen.get_rect().center",
"def xjt3(YKHO) -> str:\n return qe4Y.get(YKHO, 'start_... | [
"0.60607064",
"0.6043674",
"0.59857625",
"0.5868435",
"0.57923716",
"0.57394665",
"0.57319856",
"0.5720469",
"0.56938446",
"0.56938446",
"0.56822556",
"0.5610228",
"0.56100357",
"0.5579818",
"0.55744916",
"0.5565884",
"0.55636233",
"0.55240864",
"0.55176026",
"0.55157614",
"0... | 0.0 | -1 |
The start position, with reference to the input video, at which the overlay starts. The value should be in ISO 8601 format. For example, `PT05S` to start the overlay at 5 seconds into the input video. If not specified the overlay starts from the beginning of the input video. | def yKcO(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'start') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def r8nq(YKHO):\n return YKHO.startPt + YKHO.position",
"def dQgj(YKHO) -> h8nf['outputs.TransformOutputCustomPresetFilterOverlayVideoPosition']:\n return qe4Y.get(YKHO, 'position')",
"def Pdd2(YKHO):\n return YKHO.screen.get_rect().center",
"def xjt3(YKHO) -> str:\n return qe4Y.get(YKHO, 'start_... | [
"0.6063305",
"0.6043966",
"0.5987803",
"0.5868807",
"0.57945585",
"0.5741455",
"0.5734656",
"0.5722783",
"0.5695649",
"0.5695649",
"0.56835836",
"0.5612474",
"0.5611793",
"0.5580092",
"0.55759054",
"0.55670315",
"0.55644256",
"0.55270773",
"0.55187964",
"0.5517048",
"0.551704... | 0.0 | -1 |
Add the dependee if self is not completed, otherwise return False. | def ZI_t(YKHO, aATw: 'Task'):
with YKHO._mutex:
if YKHO._state.is_terminal:
return False
else:
YKHO._dependees.append(aATw)
return True | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tHS9(YKHO) -> bool:\n YKHO._done_adding = True",
"def tHS9(YKHO) -> bool:\n YKHO._done_adding = True",
"def tHS9(YKHO) -> bool:\n raise NotImplementedError()",
"def TwPc(YKHO):\n return False if YKHO.dominoes else True",
"def _ins(YKHO):\n for Mjtj in YKHO.events:\n if not Mjtj.is... | [
"0.6816951",
"0.6816951",
"0.67912203",
"0.6207734",
"0.6130462",
"0.61133015",
"0.6100536",
"0.6002361",
"0.6002361",
"0.60012364",
"0.5870246",
"0.58458525",
"0.58437204",
"0.5842127",
"0.5841559",
"0.577569",
"0.5772356",
"0.5761529",
"0.5759391",
"0.5753231",
"0.5740791",... | 0.8096216 | 0 |