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 |
|---|---|---|---|---|---|---|
inplace_transpose(vnl_matrixUS self) > vnl_matrixUS | def Dqs5(YKHO) -> 'vnl_matrixUS &':
return hBPC.vnl_matrixUS_inplace_transpose(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Dqs5(YKHO) -> 'vnl_matrixUC &':\n return hBPC.vnl_matrixUC_inplace_transpose(YKHO)",
"def Dqs5(YKHO) -> 'vnl_matrixUL &':\n return hBPC.vnl_matrixUL_inplace_transpose(YKHO)",
"def Dqs5(YKHO) -> 'vnl_matrixULL &':\n return hBPC.vnl_matrixULL_inplace_transpose(YKHO)",
"def Dqs5(YKHO) -> 'vnl_matri... | [
"0.7358209",
"0.7254727",
"0.7171087",
"0.71236",
"0.70337397",
"0.7028966",
"0.7014614",
"0.6978087",
"0.69758105",
"0.6947624",
"0.6943783",
"0.6912427",
"0.678969",
"0.6254062",
"0.61021775",
"0.6082185",
"0.6082185",
"0.60554004",
"0.60513073",
"0.6011775",
"0.6001071",
... | 0.7523465 | 0 |
flipud(vnl_matrixUS self) > vnl_matrixUS | def jrYZ(YKHO) -> 'vnl_matrixUS &':
return hBPC.vnl_matrixUS_flipud(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jrYZ(YKHO) -> 'vnl_matrixUC &':\n return hBPC.vnl_matrixUC_flipud(YKHO)",
"def jrYZ(YKHO) -> 'vnl_matrixUL &':\n return hBPC.vnl_matrixUL_flipud(YKHO)",
"def jrYZ(YKHO) -> 'vnl_matrixSLL &':\n return hBPC.vnl_matrixSLL_flipud(YKHO)",
"def jrYZ(YKHO) -> 'vnl_matrixULL &':\n return hBPC.vnl_mat... | [
"0.70414996",
"0.6904636",
"0.69023407",
"0.68306726",
"0.6828766",
"0.681934",
"0.67890745",
"0.6756443",
"0.6743319",
"0.6734084",
"0.66846716",
"0.6582436",
"0.6569377",
"0.6538628",
"0.64933914",
"0.6406452",
"0.63814193",
"0.63795525",
"0.6372134",
"0.63501805",
"0.63001... | 0.72325355 | 0 |
fliplr(vnl_matrixUS self) > vnl_matrixUS | def qpIV(YKHO) -> 'vnl_matrixUS &':
return hBPC.vnl_matrixUS_fliplr(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, fh3O: 'vnl_matrixUS') -> 'bool':\n return hBPC.vnl_matrixUS___ne__(YKHO, fh3O)",
"def qpIV(YKHO) -> 'vnl_matrixUC &':\n return hBPC.vnl_matrixUC_fliplr(YKHO)",
"def qpIV(YKHO) -> 'vnl_matrixUL &':\n return hBPC.vnl_matrixUL_fliplr(YKHO)",
"def qpIV(YKHO) -> 'vnl_matrixSC &':\n retu... | [
"0.6608829",
"0.6581105",
"0.65186805",
"0.638218",
"0.6379023",
"0.6364938",
"0.6361077",
"0.6348293",
"0.63166296",
"0.63160664",
"0.62855786",
"0.62654126",
"0.62620246",
"0.625321",
"0.62326616",
"0.6232048",
"0.6215547",
"0.62020636",
"0.61797",
"0.6171408",
"0.61554736"... | 0.70323455 | 0 |
normalize_columns(vnl_matrixUS self) > vnl_matrixUS | def FM5M(YKHO) -> 'vnl_matrixUS &':
return hBPC.vnl_matrixUS_normalize_columns(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FM5M(YKHO) -> 'vnl_matrixUC &':\n return hBPC.vnl_matrixUC_normalize_columns(YKHO)",
"def FM5M(YKHO) -> 'vnl_matrixUL &':\n return hBPC.vnl_matrixUL_normalize_columns(YKHO)",
"def FM5M(YKHO) -> 'vnl_matrixSLL &':\n return hBPC.vnl_matrixSLL_normalize_columns(YKHO)",
"def FM5M(YKHO) -> 'vnl_matri... | [
"0.72765636",
"0.7230309",
"0.7197267",
"0.7191792",
"0.71786046",
"0.7136126",
"0.70893174",
"0.7057521",
"0.70223963",
"0.7006432",
"0.6958264",
"0.6914776",
"0.67228293",
"0.6663962",
"0.63594586",
"0.6194437",
"0.6172792",
"0.5922997",
"0.5898462",
"0.5876838",
"0.5838195... | 0.7605015 | 0 |
swap(vnl_matrixUS self, vnl_matrixUS that) | def b3SJ(YKHO, fh3O: 'vnl_matrixUS') -> 'void':
return hBPC.vnl_matrixUS_swap(YKHO, fh3O) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def b3SJ(YKHO, fh3O: 'vnl_matrixUL') -> 'void':\n return hBPC.vnl_matrixUL_swap(YKHO, fh3O)",
"def b3SJ(YKHO, fh3O: 'vnl_matrixSLL') -> 'void':\n return hBPC.vnl_matrixSLL_swap(YKHO, fh3O)",
"def b3SJ(YKHO, fh3O: 'vnl_matrixSS') -> 'void':\n return hBPC.vnl_matrixSS_swap(YKHO, fh3O)",
"def b3SJ(YKHO... | [
"0.84708494",
"0.84643483",
"0.83829623",
"0.83578503",
"0.8346998",
"0.8308697",
"0.82107913",
"0.81894004",
"0.81533056",
"0.8097677",
"0.8080962",
"0.7948094",
"0.7939225",
"0.64697444",
"0.63786376",
"0.6315921",
"0.6293046",
"0.62395495",
"0.62268656",
"0.6216706",
"0.62... | 0.889049 | 0 |
array_one_norm(vnl_matrixUS self) > unsigned short | def Wopw(YKHO) -> 'unsigned short':
return hBPC.vnl_matrixUS_array_one_norm(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Wopw(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_array_one_norm(YKHO)",
"def hHPi(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixUS_operator_one_norm(YKHO)",
"def hHPi(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_operator_one_norm(YKHO)",
"def Wopw(YKHO) -> 'unsigned long'... | [
"0.83098334",
"0.7938771",
"0.7799001",
"0.76825756",
"0.7666538",
"0.7657653",
"0.7624611",
"0.758807",
"0.75761044",
"0.7549211",
"0.75207716",
"0.7420536",
"0.73037356",
"0.72854847",
"0.7269078",
"0.7218082",
"0.7195046",
"0.71569693",
"0.7139332",
"0.7003726",
"0.6987124... | 0.8460808 | 0 |
array_two_norm(vnl_matrixUS self) > unsigned short | def i5bn(YKHO) -> 'unsigned short':
return hBPC.vnl_matrixUS_array_two_norm(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def i5bn(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_array_two_norm(YKHO)",
"def i5bn(YKHO) -> 'unsigned long':\n return hBPC.vnl_matrixSL_array_two_norm(YKHO)",
"def i5bn(YKHO) -> 'unsigned long long':\n return hBPC.vnl_matrixSLL_array_two_norm(YKHO)",
"def i5bn(YKHO) -> 'unsigned long':\... | [
"0.8385492",
"0.77740264",
"0.775855",
"0.77563155",
"0.77172065",
"0.77139944",
"0.7682107",
"0.7678287",
"0.7657684",
"0.7429448",
"0.7307443",
"0.72685015",
"0.72666997",
"0.70053685",
"0.6980247",
"0.6638346",
"0.64945596",
"0.6484876",
"0.6479888",
"0.6464079",
"0.646277... | 0.8494611 | 0 |
array_inf_norm(vnl_matrixUS self) > unsigned short | def ClE1(YKHO) -> 'unsigned short':
return hBPC.vnl_matrixUS_array_inf_norm(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ClE1(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_array_inf_norm(YKHO)",
"def jhXN(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixUS_operator_inf_norm(YKHO)",
"def jhXN(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_operator_inf_norm(YKHO)",
"def ClE1(YKHO) -> 'unsigned int':... | [
"0.8396624",
"0.8064233",
"0.7962014",
"0.7838778",
"0.7829171",
"0.7821762",
"0.7811981",
"0.7804831",
"0.7801295",
"0.7766833",
"0.77082837",
"0.76961493",
"0.7688451",
"0.7671096",
"0.76412266",
"0.74276507",
"0.73822385",
"0.7374486",
"0.73592335",
"0.72760504",
"0.726023... | 0.84936637 | 0 |
operator_one_norm(vnl_matrixUS self) > unsigned short | def hHPi(YKHO) -> 'unsigned short':
return hBPC.vnl_matrixUS_operator_one_norm(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hHPi(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_operator_one_norm(YKHO)",
"def Wopw(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixUS_array_one_norm(YKHO)",
"def hHPi(YKHO) -> 'unsigned long':\n return hBPC.vnl_matrixUL_operator_one_norm(YKHO)",
"def hHPi(YKHO) -> 'unsigned long l... | [
"0.8156899",
"0.7685116",
"0.7548352",
"0.75290895",
"0.7516085",
"0.74601376",
"0.74377966",
"0.73381096",
"0.73193616",
"0.730473",
"0.72916496",
"0.71823066",
"0.70560205",
"0.69637656",
"0.6949708",
"0.6878219",
"0.6825906",
"0.681924",
"0.6810976",
"0.68087345",
"0.68025... | 0.8321415 | 0 |
operator_inf_norm(vnl_matrixUS self) > unsigned short | def jhXN(YKHO) -> 'unsigned short':
return hBPC.vnl_matrixUS_operator_inf_norm(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jhXN(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_operator_inf_norm(YKHO)",
"def ClE1(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixUS_array_inf_norm(YKHO)",
"def ClE1(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_array_inf_norm(YKHO)",
"def jhXN(YKHO) -> 'unsigned long':\n... | [
"0.8208394",
"0.776807",
"0.7636284",
"0.76094705",
"0.7609083",
"0.75846684",
"0.75822914",
"0.7523732",
"0.74874353",
"0.7473373",
"0.7442842",
"0.739351",
"0.7367113",
"0.7356199",
"0.73413765",
"0.71082443",
"0.7094093",
"0.7063595",
"0.70562184",
"0.7037712",
"0.70264137... | 0.83375883 | 0 |
frobenius_norm(vnl_matrixUS self) > unsigned short | def zn0E(YKHO) -> 'unsigned short':
return hBPC.vnl_matrixUS_frobenius_norm(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def k7J3(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixUS_fro_norm(YKHO)",
"def zn0E(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_frobenius_norm(YKHO)",
"def k7J3(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_fro_norm(YKHO)",
"def zn0E(YKHO) -> 'unsigned long long':\n return... | [
"0.7966612",
"0.79492337",
"0.75735694",
"0.7500103",
"0.7483256",
"0.74624014",
"0.74283177",
"0.7417886",
"0.7360113",
"0.7307089",
"0.72403556",
"0.71372765",
"0.7123606",
"0.7122473",
"0.70901316",
"0.70596373",
"0.7058108",
"0.7042001",
"0.7024024",
"0.7022786",
"0.69965... | 0.81170076 | 0 |
fro_norm(vnl_matrixUS self) > unsigned short | def k7J3(YKHO) -> 'unsigned short':
return hBPC.vnl_matrixUS_fro_norm(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def k7J3(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_fro_norm(YKHO)",
"def hHPi(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixUS_operator_one_norm(YKHO)",
"def Wopw(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixUS_array_one_norm(YKHO)",
"def hHPi(YKHO) -> 'unsigned short':\n r... | [
"0.77841395",
"0.7428352",
"0.7295069",
"0.7238548",
"0.72065747",
"0.71915793",
"0.71491283",
"0.71225303",
"0.71119726",
"0.70840573",
"0.70371825",
"0.7018606",
"0.7009315",
"0.6957327",
"0.69335496",
"0.6904187",
"0.6880012",
"0.6839459",
"0.6829722",
"0.6799575",
"0.6773... | 0.8071611 | 0 |
rms(vnl_matrixUS self) > unsigned short | def ii_g(YKHO) -> 'unsigned short':
return hBPC.vnl_matrixUS_rms(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ii_g(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_rms(YKHO)",
"def ii_g(YKHO) -> 'unsigned char':\n return hBPC.vnl_matrixSC_rms(YKHO)",
"def ii_g(YKHO) -> 'unsigned char':\n return hBPC.vnl_matrixUC_rms(YKHO)",
"def ii_g(YKHO) -> 'unsigned long':\n return hBPC.vnl_matrixSL_rms(YKHO)... | [
"0.7820575",
"0.7200611",
"0.71125704",
"0.68331593",
"0.68314916",
"0.6787527",
"0.676958",
"0.66631514",
"0.65932274",
"0.6484979",
"0.639378",
"0.62943006",
"0.6236641",
"0.60854596",
"0.60470945",
"0.60195804",
"0.60093844",
"0.60023755",
"0.59962773",
"0.5981367",
"0.592... | 0.78702533 | 0 |
min_value(vnl_matrixUS self) > unsigned short | def dgIT(YKHO) -> 'unsigned short':
return hBPC.vnl_matrixUS_min_value(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dgIT(YKHO) -> 'short':\n return hBPC.vnl_matrixSS_min_value(YKHO)",
"def dgIT(YKHO) -> 'unsigned char':\n return hBPC.vnl_matrixUC_min_value(YKHO)",
"def dgIT(YKHO) -> 'unsigned long':\n return hBPC.vnl_matrixUL_min_value(YKHO)",
"def dgIT(YKHO) -> 'signed char':\n return hBPC.vnl_matrixSC_mi... | [
"0.7178435",
"0.6825233",
"0.6512183",
"0.64907336",
"0.6461105",
"0.6375454",
"0.6361939",
"0.6284895",
"0.6271302",
"0.62674034",
"0.6203512",
"0.6190045",
"0.61834055",
"0.61459965",
"0.6109806",
"0.6061835",
"0.605887",
"0.6044494",
"0.60187435",
"0.60173774",
"0.60173774... | 0.7770758 | 0 |
is_zero(vnl_matrixUS self) > bool is_zero(vnl_matrixUS self, double tol) > bool | def Witr(YKHO, *qIxc) -> 'bool':
return hBPC.vnl_matrixUS_is_zero(YKHO, *qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Witr(YKHO, *qIxc) -> 'bool':\n return hBPC.vnl_matrixSLL_is_zero(YKHO, *qIxc)",
"def Witr(YKHO, *qIxc) -> 'bool':\n return hBPC.vnl_matrixUL_is_zero(YKHO, *qIxc)",
"def Witr(YKHO, *qIxc) -> 'bool':\n return hBPC.vnl_matrixSS_is_zero(YKHO, *qIxc)",
"def Witr(YKHO, *qIxc) -> 'bool':\n return hB... | [
"0.7349046",
"0.7230359",
"0.7198581",
"0.7177363",
"0.7176155",
"0.7149863",
"0.7136436",
"0.7116188",
"0.7098749",
"0.70956755",
"0.70490646",
"0.7026767",
"0.70197856",
"0.70114595",
"0.68874365",
"0.68728715",
"0.6856021",
"0.6736704",
"0.6732159",
"0.6710509",
"0.6658678... | 0.73780155 | 0 |
is_finite(vnl_matrixUS self) > bool | def Rb_1(YKHO) -> 'bool':
return hBPC.vnl_matrixUS_is_finite(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Rb_1(YKHO) -> 'bool':\n return hBPC.vnl_matrixUL_is_finite(YKHO)",
"def Rb_1(YKHO) -> 'bool':\n return hBPC.vnl_matrixF_is_finite(YKHO)",
"def Rb_1(YKHO) -> 'bool':\n return hBPC.vnl_matrixD_is_finite(YKHO)",
"def Rb_1(YKHO) -> 'bool':\n return hBPC.vnl_matrixSLL_is_finite(YKHO)",
"def Rb_1... | [
"0.87960917",
"0.8708239",
"0.868863",
"0.86587566",
"0.8637046",
"0.86128616",
"0.8604138",
"0.8568888",
"0.8556229",
"0.85446",
"0.8510919",
"0.837597",
"0.82832986",
"0.8013231",
"0.7857513",
"0.7848776",
"0.77751285",
"0.7715331",
"0.76722705",
"0.7596719",
"0.7587279",
... | 0.8938407 | 0 |
has_nans(vnl_matrixUS self) > bool | def Zc3l(YKHO) -> 'bool':
return hBPC.vnl_matrixUS_has_nans(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Zc3l(YKHO) -> 'bool':\n return hBPC.vnl_matrixD_has_nans(YKHO)",
"def Zc3l(YKHO) -> 'bool':\n return hBPC.vnl_matrixUL_has_nans(YKHO)",
"def Zc3l(YKHO) -> 'bool':\n return hBPC.vnl_matrixF_has_nans(YKHO)",
"def Zc3l(YKHO) -> 'bool':\n return hBPC.vnl_matrixSLL_has_nans(YKHO)",
"def Zc3l(YKH... | [
"0.89145243",
"0.88910395",
"0.888225",
"0.8845918",
"0.8832707",
"0.88130444",
"0.88093764",
"0.8790109",
"0.87830687",
"0.87597156",
"0.87379605",
"0.8735083",
"0.86624086",
"0.7150847",
"0.6939128",
"0.6912684",
"0.6837095",
"0.6833281",
"0.6829106",
"0.67801285",
"0.67560... | 0.89886266 | 0 |
operator_eq(vnl_matrixUS self, vnl_matrixUS rhs) > bool | def Tdm0(YKHO, RKYb: 'vnl_matrixUS') -> 'bool':
return hBPC.vnl_matrixUS_operator_eq(YKHO, RKYb) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Tdm0(YKHO, RKYb: 'vnl_matrixUL') -> 'bool':\n return hBPC.vnl_matrixUL_operator_eq(YKHO, RKYb)",
"def Tdm0(YKHO, RKYb: 'vnl_matrixUC') -> 'bool':\n return hBPC.vnl_matrixUC_operator_eq(YKHO, RKYb)",
"def xa14(YKHO, fh3O: 'vnl_matrixUS') -> 'bool':\n return hBPC.vnl_matrixUS___eq__(YKHO, fh3O)",
... | [
"0.8551033",
"0.84673685",
"0.8352394",
"0.83345455",
"0.82671106",
"0.8254505",
"0.8212209",
"0.8191534",
"0.8178237",
"0.81757915",
"0.81366044",
"0.81047505",
"0.8089958",
"0.8023901",
"0.79905206",
"0.7957998",
"0.7806517",
"0.78056455",
"0.776858",
"0.7754083",
"0.773278... | 0.8947742 | 0 |
Returns the layer type | def mCcN(YKHO) -> str:
return YKHO.layertype | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FRul(gEmA):\n return gEmA.__class__.__name__",
"def mCcN(gEmA):\n if type(gEmA.type) == int:\n cM24 = Yqdb[gEmA.type]\n else:\n cM24 = str(gEmA.type)\n return cM24.lower()",
"def gEmA(YKHO) -> 'lpp_type':\n return YKHO._layer",
"def eJTR(YKHO):\n return c1AQ.human_name_of(... | [
"0.8635865",
"0.83202356",
"0.7842985",
"0.73205763",
"0.71851176",
"0.6924637",
"0.69122565",
"0.6755417",
"0.6672881",
"0.6642594",
"0.6547018",
"0.653968",
"0.6533015",
"0.6494209",
"0.6494209",
"0.6483533",
"0.6470147",
"0.6448644",
"0.64466524",
"0.6435575",
"0.6433489",... | 0.86961734 | 0 |
Performs database connection using database settings from settings.py. Returns sqlalchemy engine instance | def WyYT():
return y2U9(rOmR(**gCuF.DATABASE)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WyYT():\n return y2U9(rOmR(**GPtr.DATABASE))",
"def WyYT():\n return y2U9(moDH)",
"def WyYT():\n return y2U9(KIPK().get('CONNECTION_STRING'))",
"def WyYT():\n return y2U9(KIPK().get('CONNECTION_STRING'))",
"def WyYT():\n return y2U9(KIPK().get('CONNECTION_STRING'))",
"def WyYT():\n ... | [
"0.82956547",
"0.8233084",
"0.8231434",
"0.8231434",
"0.8231434",
"0.82268506",
"0.8215186",
"0.8215186",
"0.8215186",
"0.81917554",
"0.8176266",
"0.8071731",
"0.805458",
"0.80141133",
"0.79582584",
"0.7814673",
"0.7812216",
"0.7705176",
"0.7653332",
"0.76182956",
"0.75847",
... | 0.80810624 | 13 |
Sends a list of guilds the bot is currently active. | async def where(YKHO, OaeV: commands.Context):
zBH8 = YKHO.bot.guilds
PLTA = [await YKHO.guild_name(lSCo) for lSCo in zBH8]
MhSe = ZOrr.Embed(title="I'm at home in:", colour=ZOrr.Colour(65403), description='\n'.join(PLTA))
await OaeV.send(embed=MhSe) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def guilds(YKHO, OaeV):\n aZ1_ = ''\n OVi1 = ''\n for lSCo in YKHO.bot.guilds:\n aZ1_ += f'{lSCo}\\n'\n OVi1 += f'{lSCo.member_count}\\n'\n Q1PJ = ZOrr.Embed(title='Guilds AmazingBot Is In', color=11081003)\n Q1PJ.add_field(name='Guild Name', value=aZ1_, inline=True)\n Q1PJ.ad... | [
"0.7230992",
"0.6901202",
"0.67956555",
"0.67627156",
"0.67311126",
"0.67237616",
"0.6722926",
"0.65560484",
"0.64101964",
"0.6356185",
"0.6349882",
"0.62879866",
"0.62527514",
"0.62460196",
"0.624252",
"0.6183967",
"0.6183045",
"0.6158618",
"0.6112869",
"0.61027294",
"0.6077... | 0.57145417 | 41 |
Gets the guild name from a Guild object. | async def guild_name(lSCo: discord.Guild) -> str:
if lSCo.unavailable:
return f'{lSCo.id} (guild name unavailable)'
else:
return lSCo.name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def getGuildNameByID(YKHO, LRlk: str) -> str:\n nPrm = await YKHO.get(f'guild?key=api_key&id={LRlk}')\n if not nPrm['success']:\n raise EkUD(nPrm.get('cause'))\n if nPrm['guild'] is None:\n raise EkUD('Guild not found!')\n return nPrm['guild']['name']",
"def jmFI(YKHO, LRlk):\n ... | [
"0.7881155",
"0.7105361",
"0.69065887",
"0.6865554",
"0.6865554",
"0.6639456",
"0.66329896",
"0.6442223",
"0.6435116",
"0.6337753",
"0.6325549",
"0.62769437",
"0.6180819",
"0.6132149",
"0.6116367",
"0.6066943",
"0.60647446",
"0.60443234",
"0.59355944",
"0.59145993",
"0.582553... | 0.77448463 | 1 |
Adds a node to the configuration. | def SOk_(YKHO, _Fei, Q6kx, ypkX):
_Fei.AddNode(Q6kx, ypkX)
YKHO.jobqueue.AddNode(Q6kx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def g5gD(YKHO, Q6kx):\n YKHO.__nodes[Q6kx.name] = Q6kx",
"def g5gD(YKHO, Q6kx):\n raise NotImplementedError",
"def g5gD(YKHO, Q6kx):\n YKHO.nodes.add(Q6kx)",
"def g5gD(YKHO, Q6kx):\n YKHO.nodes.append(Q6kx)",
"def g5gD(YKHO, Q6kx):\n YKHO.nodes.append(Q6kx)",
"def g5gD(YKHO, Q6kx):\n YK... | [
"0.8073589",
"0.79114485",
"0.7905623",
"0.78472507",
"0.78472507",
"0.78194386",
"0.77762043",
"0.77762043",
"0.77717584",
"0.77331847",
"0.77288723",
"0.7701111",
"0.7701018",
"0.76654345",
"0.76589614",
"0.7641737",
"0.7593394",
"0.7580655",
"0.75531644",
"0.7552642",
"0.7... | 0.75466424 | 20 |
Appends a new student to the given list. | def DUZ_(VLXD, id, credits):
if xAIQ(VLXD, id) is None:
g3Gt = G8qb(id, credits)
VLXD += [g3Gt] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nvzk(c9ua, zp3f):\n global students\n VLXD.append([c9ua, zp3f])",
"def V6ye(YKHO, VLXD):\n for KCHu in VLXD:\n YKHO.addStudent(KCHu)",
"def V6ye(YKHO, pN3e):\n for YRbF in range(0, len(pN3e) - 2):\n I8Df = '/html/body/div[2]/div[2]/div[6]/form/ul/li[' + str(3 + YRbF) + ']/button[1... | [
"0.74773383",
"0.7343447",
"0.70466447",
"0.70048946",
"0.6998187",
"0.6863996",
"0.68037146",
"0.67030543",
"0.6646237",
"0.657733",
"0.64962727",
"0.64298594",
"0.6423959",
"0.64166737",
"0.63496864",
"0.62465835",
"0.6239436",
"0.6229205",
"0.6202028",
"0.61466116",
"0.613... | 0.72620875 | 2 |
Compute the centroids of the points of a set of elements. X (nelems,nplex,3) | def yHxN(EcVT):
return EcVT.sum(axis=1) / EcVT.shape[1] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def e6ux(fUYa):\n wjRY = sum(fUYa)\n e6ux = wjRY / len(fUYa)\n return e6ux",
"def yHxN(YKHO):\n YKHO.message('Generating centroids')\n return oyIN.divide(oyIN.sum(YKHO.element_coordinates(), axis=1), 3.0)",
"def e6ux(YKHO):\n return list(oyIN.mean([(Q6kx.cx, Q6kx.cy) for Q6kx in YKHO.nodes], ... | [
"0.8203932",
"0.77916354",
"0.7522604",
"0.7518192",
"0.7511545",
"0.7496574",
"0.7442588",
"0.7434332",
"0.7423894",
"0.73189914",
"0.7303485",
"0.7270047",
"0.7150277",
"0.7114313",
"0.7048024",
"0.70041883",
"0.70001584",
"0.6999852",
"0.6999236",
"0.6997924",
"0.6926058",... | 0.7911564 | 1 |
Compute the inertia tensor of an array of points. mass is an optional array of masses to be atributed to the points. The default is to attribute a mass=1 to all points. | def SQgp(EcVT, bMbF=None):
EcVT = EcVT.reshape((-1, EcVT.shape[-1]))
if bMbF is not None:
bMbF = qw7D(bMbF)
We7B = (EcVT * bMbF).mean(axis=0) / bMbF.sum()
else:
We7B = EcVT.mean(axis=0)
iMqM = EcVT - We7B
WKvO, LVAh, epBp = (iMqM[:, 0], iMqM[:, 1], iMqM[:, 2])
CAzz, Jd40,... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def paEg(bMbF, j5Yb, f4IJ):\n return bMbF * (((f4IJ.x | f4IJ.x) + (f4IJ.y | f4IJ.y) + (f4IJ.z | f4IJ.z)) * (j5Yb & j5Yb) - (j5Yb | j5Yb))",
"def h5nM(TuoA, PNSK=True):\n TuoA = GAWT(TuoA)\n LnTQ = kQKO(TuoA, amu=PNSK)\n BHZO = W0Eb(TuoA)\n aZzc = tuple(map(tuple, sum((gn01 * (XTiz.vdot(UqpO, UqpO)... | [
"0.68087506",
"0.6427853",
"0.6405632",
"0.6337028",
"0.6199857",
"0.6190529",
"0.6180208",
"0.60406667",
"0.59844047",
"0.5983093",
"0.5954215",
"0.5938871",
"0.5911475",
"0.59083813",
"0.5832333",
"0.57930183",
"0.57447106",
"0.5680237",
"0.56731176",
"0.56424236",
"0.56217... | 0.77187675 | 0 |
Returns the principal values and axes of the inertia tensor. | def AQnM(SQgp):
nwrw, aCPI, AGcG, FwC5, jsUS, RW6q = SQgp
q8SR = qw7D([[nwrw, RW6q, jsUS], [RW6q, aCPI, FwC5], [jsUS, FwC5, AGcG]])
o3Rq, qKBe = aJJu.eig(q8SR)
return (o3Rq, qKBe) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KhYA(YKHO):\n return J87D.compute_inertia_tensor(YKHO.traj)",
"def OJ5a(YKHO):\n return YKHO._inertia_matrix",
"def uLj7(YKHO):\n Nq1b = YKHO.covariance()\n return YKHO.density_ * (oyIN.trace(Nq1b) * oyIN.eye(3) - Nq1b)",
"def SQgp(YKHO):\n return YKHO._inertia",
"def rumL(TuoA, PNSK=Tru... | [
"0.7460363",
"0.72641504",
"0.7057826",
"0.69310164",
"0.67355055",
"0.6645048",
"0.6645048",
"0.658204",
"0.64308625",
"0.64303994",
"0.64205265",
"0.6400962",
"0.6378151",
"0.6367383",
"0.6355865",
"0.63427997",
"0.63319314",
"0.6331198",
"0.62582105",
"0.6242682",
"0.62250... | 0.81655467 | 0 |
Given the returnQuantities in a group as a Series, divide the number of rows with returns (quantity > 0) by the number of rows in total. | def mQ1O(uOe2: pd.Series) -> oyIN.float64:
return uOe2.astype(bool).sum() / len(uOe2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KHYR(Dt1m: pd.DataFrame, _c9l: pd.DataFrame=None):\n if _c9l is None:\n _c9l = (rLdf.read_csv(Hy7s.path.join(KfRp, 'data', 'rf_rate_germany.csv'), parse_dates=True, index_col=0) / 100).resample('D').ffill()\n TTm1 = rLdf.merge(Dt1m, C0Rs(_c9l), how='left', left_index=True, right_index=True)\n O... | [
"0.53067863",
"0.5272199",
"0.5215011",
"0.5173667",
"0.5162751",
"0.5155239",
"0.5126071",
"0.5101545",
"0.50987244",
"0.50981903",
"0.5087945",
"0.5087945",
"0.50856125",
"0.5084951",
"0.5024982",
"0.4998687",
"0.49954358",
"0.49785995",
"0.49743733",
"0.49664903",
"0.49431... | 0.6172863 | 0 |
Sets the learning rate to the initial LR decayed by 2 every 30 epochs | def e_63(K0do, qtWj):
tspZ = qIxc.lr * 0.5 ** (qtWj // 30)
for Lwm5 in K0do.param_groups:
Lwm5['lr'] = tspZ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def e_63(K0do, qtWj, qIxc):\n tspZ = qIxc.lr * 0.1 ** (qtWj // 30)\n K0do.state_dict()['param_groups'][-1]['lr'] = tspZ",
"def e_63(K0do, qtWj):\n nIX4 = nIX4 * 0.1 ** ((qtWj - 117) // 30)",
"def Ujqe(K0do, qtWj):\n tspZ = U6hM\n R_2N = len(xqyT)\n for sEnG in range(R_2N):\n if qtWj >=... | [
"0.79036176",
"0.78743416",
"0.78234935",
"0.78041404",
"0.7799361",
"0.7786407",
"0.7779032",
"0.7766816",
"0.77535427",
"0.7742584",
"0.77424085",
"0.7735425",
"0.7726428",
"0.77189165",
"0.7716391",
"0.77133334",
"0.7706479",
"0.7696069",
"0.7679147",
"0.7677093",
"0.76764... | 0.74784666 | 96 |
Makes a gl compatible type conversion string for accessing state variables. Useful when accessing state variables through glGetXXX calls. | def rzJC(HfXH, fX1C, BWXx):
if HfXH == 'GLint':
if fX1C == 'GLfloat':
return 'static_cast<GLint>(round(%s))' % BWXx
return 'static_cast<%s>(%s)' % (HfXH, BWXx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def M9s9(YKHO):\n if YKHO.type == 'GLboolean':\n return 'GLES2Util::GetStringBool(%s)' % YKHO.name\n if YKHO.type == 'GLenum':\n return 'GLES2Util::GetStringEnum(%s)' % YKHO.name\n return YKHO.name",
"def cGtN(YKHO, WKvO):\n pass",
"def oztE(cM24, *qIxc):\n if len(qIxc) == 1:\n ... | [
"0.61817646",
"0.6150928",
"0.59567255",
"0.5907714",
"0.5907714",
"0.58360267",
"0.5804772",
"0.5780931",
"0.5780931",
"0.57338744",
"0.5716897",
"0.5667943",
"0.5667165",
"0.56665134",
"0.56446755",
"0.5625229",
"0.56175303",
"0.55983454",
"0.55960476",
"0.5572074",
"0.5568... | 0.699852 | 0 |
Returns the count of the elements in the array being PUT to. | def lJc4(YKHO, JfyU):
return JfyU.GetInfo('count') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lJc4(YKHO, *qIxc, **B2fa):\n pass",
"def szAg(YKHO) -> int:\n return len(YKHO.array)",
"def szAg(YKHO) -> int:\n return len(YKHO.array)",
"def t892(YKHO) -> int:\n ...",
"def UHFx(YKHO):\n YKHO.__prepare()\n return len(YKHO._json_data)",
"def szAg(YKHO):\n if YKHO.json_items:\n ... | [
"0.6716178",
"0.66979706",
"0.6688959",
"0.66437656",
"0.65557283",
"0.65506405",
"0.6501952",
"0.64895123",
"0.6464866",
"0.6439816",
"0.64295673",
"0.6423524",
"0.64176935",
"0.63852423",
"0.6372909",
"0.6364781",
"0.6346671",
"0.63414186",
"0.63414186",
"0.63414186",
"0.63... | 0.6286344 | 25 |
Returns true if the argument has only one valid value. | def feog(YKHO):
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qSmh(YKHO):\n return YKHO.length == 1",
"def U0Lk(BWXx, YEnM=None):\n if len(BWXx) >= 1:\n return (True, BWXx)\n else:\n return (False, BWXx)",
"def bPYL(BWXx):\n return len(BWXx) == 1",
"def EbRs(YKHO):\n return len(YKHO.d1.house) == 1",
"def uufi() -> bool:\n return le... | [
"0.72735804",
"0.68636733",
"0.68622917",
"0.67759615",
"0.67028034",
"0.66814274",
"0.6527941",
"0.6525222",
"0.65132207",
"0.64256245",
"0.64247245",
"0.64201695",
"0.63908255",
"0.6340374",
"0.6334353",
"0.6319088",
"0.6302695",
"0.6299189",
"0.6296695",
"0.62757605",
"0.6... | 0.0 | -1 |
Gets a valid value for this argument. | def h5Jx(YKHO, JfyU):
wXPM = JfyU.GetValidArg(YKHO)
if wXPM != None:
return wXPM
d6pt = JfyU.GetOriginalArgs().index(YKHO)
return str(d6pt + 1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Zmkp(YKHO) -> ImMB:\n raise ValueError(f'{YKHO.get_class_id()} does not accept value')",
"def umPh(YKHO):\n if YKHO._value_accepted is None:\n return YKHO._value\n else:\n return YKHO._value_accepted",
"def NMoC(YKHO):\n BWXx = YKHO.var.get()\n return YKHO.validate_value(BWXx)"... | [
"0.74708086",
"0.7467553",
"0.717793",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"... | 0.0 | -1 |
Gets a valid value for this argument. | def au6w(YKHO, JfyU):
wXPM = JfyU.GetValidArg(YKHO)
if wXPM != None:
return wXPM
if YKHO.IsPointer():
return 'nullptr'
d6pt = JfyU.GetOriginalArgs().index(YKHO)
if YKHO.type == 'GLsync':
return 'reinterpret_cast<GLsync>(%d)' % (d6pt + 1)
return str(d6pt + 1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Zmkp(YKHO) -> ImMB:\n raise ValueError(f'{YKHO.get_class_id()} does not accept value')",
"def umPh(YKHO):\n if YKHO._value_accepted is None:\n return YKHO._value\n else:\n return YKHO._value_accepted",
"def NMoC(YKHO):\n BWXx = YKHO.var.get()\n return YKHO.validate_value(BWXx)"... | [
"0.74708086",
"0.7467553",
"0.717793",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"... | 0.0 | -1 |
Gets a valid value for this argument. | def hSVf(YKHO, JfyU):
wXPM = JfyU.GetValidArg(YKHO)
if wXPM != None:
return wXPM
try:
d6pt = JfyU.GetOriginalArgs().index(YKHO)
return str(d6pt + 1)
except ValueError:
pass
d6pt = JfyU.GetCmdArgs().index(YKHO)
return str(d6pt + 1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Zmkp(YKHO) -> ImMB:\n raise ValueError(f'{YKHO.get_class_id()} does not accept value')",
"def umPh(YKHO):\n if YKHO._value_accepted is None:\n return YKHO._value\n else:\n return YKHO._value_accepted",
"def NMoC(YKHO):\n BWXx = YKHO.var.get()\n return YKHO.validate_value(BWXx)"... | [
"0.74708086",
"0.7467553",
"0.717793",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"... | 0.0 | -1 |
Gets the immediate version of this argument. | def nHjL(YKHO):
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def d7pR(YKHO):\n return YKHO._arg",
"def wAVY(YKHO):\n return YKHO._assign + YKHO.expr",
"def d7pR(YKHO):\n return YKHO._arg",
"def RZXJ(YKHO):\n return YKHO._argument_1",
"def B7wk(YKHO):\n return YKHO.__vararg",
"def P8oC(YKHO):\n return YKHO.args[0]",
"def VN2L(YKHO):\n return ... | [
"0.66388404",
"0.65949005",
"0.6537474",
"0.63847846",
"0.59988946",
"0.59884226",
"0.59542775",
"0.58310235",
"0.57806426",
"0.5729353",
"0.572684",
"0.57169646",
"0.57156664",
"0.5606577",
"0.55718464",
"0.5554627",
"0.55201286",
"0.54996496",
"0.54897547",
"0.54252964",
"0... | 0.5919705 | 7 |
Gets a valid value for this argument. | def h5Jx(YKHO, JfyU):
return 'true' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Zmkp(YKHO) -> ImMB:\n raise ValueError(f'{YKHO.get_class_id()} does not accept value')",
"def umPh(YKHO):\n if YKHO._value_accepted is None:\n return YKHO._value\n else:\n return YKHO._value_accepted",
"def NMoC(YKHO):\n BWXx = YKHO.var.get()\n return YKHO.validate_value(BWXx)"... | [
"0.74699426",
"0.7466744",
"0.7176012",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
"0.71525526",
... | 0.0 | -1 |
Gets a valid value for this argument. | def au6w(YKHO, JfyU):
return 'true' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Zmkp(YKHO) -> ImMB:\n raise ValueError(f'{YKHO.get_class_id()} does not accept value')",
"def umPh(YKHO):\n if YKHO._value_accepted is None:\n return YKHO._value\n else:\n return YKHO._value_accepted",
"def NMoC(YKHO):\n BWXx = YKHO.var.get()\n return YKHO.validate_value(BWXx)"... | [
"0.74708086",
"0.7467553",
"0.717793",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"... | 0.0 | -1 |
Gets a valid value for this argument. | def hSVf(YKHO, JfyU):
return 'true' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Zmkp(YKHO) -> ImMB:\n raise ValueError(f'{YKHO.get_class_id()} does not accept value')",
"def umPh(YKHO):\n if YKHO._value_accepted is None:\n return YKHO._value\n else:\n return YKHO._value_accepted",
"def NMoC(YKHO):\n BWXx = YKHO.var.get()\n return YKHO.validate_value(BWXx)"... | [
"0.74708086",
"0.7467553",
"0.717793",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"... | 0.0 | -1 |
Gets a valid value for this argument. | def au6w(YKHO, JfyU):
return YKHO.GetValidArg(JfyU) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Zmkp(YKHO) -> ImMB:\n raise ValueError(f'{YKHO.get_class_id()} does not accept value')",
"def umPh(YKHO):\n if YKHO._value_accepted is None:\n return YKHO._value\n else:\n return YKHO._value_accepted",
"def NMoC(YKHO):\n BWXx = YKHO.var.get()\n return YKHO.validate_value(BWXx)"... | [
"0.74708086",
"0.7467553",
"0.717793",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"... | 0.0 | -1 |
Gets a valid value for this argument. | def hSVf(YKHO, JfyU):
wXPM = JfyU.GetValidArg(YKHO)
if wXPM != None:
return wXPM
deVW = YKHO.named_type.GetValidValues()
if deVW:
return deVW[0]
try:
d6pt = JfyU.GetOriginalArgs().index(YKHO)
return str(d6pt + 1)
except ValueError:
pass
d6pt = JfyU.Get... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Zmkp(YKHO) -> ImMB:\n raise ValueError(f'{YKHO.get_class_id()} does not accept value')",
"def umPh(YKHO):\n if YKHO._value_accepted is None:\n return YKHO._value\n else:\n return YKHO._value_accepted",
"def NMoC(YKHO):\n BWXx = YKHO.var.get()\n return YKHO.validate_value(BWXx)"... | [
"0.74708086",
"0.7467553",
"0.717793",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"... | 0.0 | -1 |
Gets a valid value for this argument. | def JL0D(YKHO, JfyU):
return YKHO.GetValidArg(JfyU) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Zmkp(YKHO) -> ImMB:\n raise ValueError(f'{YKHO.get_class_id()} does not accept value')",
"def umPh(YKHO):\n if YKHO._value_accepted is None:\n return YKHO._value\n else:\n return YKHO._value_accepted",
"def NMoC(YKHO):\n BWXx = YKHO.var.get()\n return YKHO.validate_value(BWXx)"... | [
"0.74708086",
"0.7467553",
"0.717793",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"0.7154426",
"... | 0.0 | -1 |
Returns whether the function is immediate data function or not. | def FhFq(YKHO):
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yfnB(YKHO):\n return YKHO.op is not None and YKHO.op.is_data_op",
"def B6rX(nPrm):\n for JRYC in nPrm.dtypes:\n if JRYC == 'float64':\n return True\n return False",
"def nNQb(g75F):\n if g75F[0] != '?':\n return False\n return '(' not in fs6E(g75F)",
"def loqR(YKHO... | [
"0.637834",
"0.6281493",
"0.61923075",
"0.6160302",
"0.61526614",
"0.60955274",
"0.6055574",
"0.5994574",
"0.5981219",
"0.59757733",
"0.597284",
"0.5909763",
"0.5875024",
"0.58304244",
"0.5828675",
"0.58197504",
"0.5811227",
"0.5731964",
"0.57243377",
"0.5668092",
"0.56622666... | 0.5528601 | 26 |
Gets the command args for this function. | def Cnr0(YKHO):
return YKHO.cmd_args | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dfWf(YKHO):\n return YKHO._cmd_args",
"def y7_v(YKHO) -> x1iM:\n return YKHO._command_args",
"def jgwn(YKHO):\n return YKHO.argv",
"def orPS(YKHO):\n return ' '.join(YKHO.get_commandargs_list())",
"def rwTO(YKHO) -> x1iM[str]:\n return YKHO.m_argv",
"def wP0Y(YKHO, oUZx):\n return o... | [
"0.842616",
"0.81630075",
"0.810835",
"0.8091754",
"0.80206144",
"0.7822273",
"0.7789712",
"0.7775773",
"0.777439",
"0.7715283",
"0.76983833",
"0.7680236",
"0.76376224",
"0.7633757",
"0.7625715",
"0.76110554",
"0.76110554",
"0.7600769",
"0.75944144",
"0.75859",
"0.7564696",
... | 0.8427202 | 0 |
Adds a comma if arg_string is not empty and add_comma is true. | def UV6E(YKHO, xuVI, duIk):
M6hN = ''
if duIk and len(xuVI):
M6hN = ', '
return '%s%s' % (M6hN, xuVI) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def duIk(EoWa):\n pass",
"def OiV9(YKHO, xuVI, TOtf, g8rx):\n y0cW = ''\n if TOtf and len(xuVI):\n y0cW = g8rx\n return '%s%s' % (y0cW, xuVI)",
"def PaBt(vIwR, qIxc, Xm0y='_'):\n for d7pR in qIxc:\n vIwR = vIwR + ('' if d7pR.val is None or d7pR.val is False or (hasattr(d7pR.val, '_... | [
"0.71066886",
"0.62940675",
"0.6186692",
"0.60900426",
"0.59597796",
"0.5793203",
"0.56591964",
"0.5646264",
"0.5630532",
"0.5580782",
"0.55529004",
"0.55316776",
"0.5520159",
"0.55015093",
"0.5490379",
"0.54649407",
"0.5421079",
"0.5363196",
"0.5340774",
"0.5326882",
"0.5296... | 0.79925454 | 0 |
Gets the list of arguments as they need to be for command buffers. | def a8K2(YKHO, y0cW, duIk=False):
qIxc = YKHO.GetCmdArgs()
xuVI = ', '.join(['%s%s' % (y0cW, d7pR.name) for d7pR in qIxc])
return YKHO._MaybePrependComma(xuVI, duIk) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rwTO(YKHO) -> x1iM[str]:\n return YKHO.m_argv",
"def y7_v(YKHO) -> x1iM:\n return YKHO._command_args",
"def orPS(YKHO):\n return ' '.join(YKHO.get_commandargs_list())",
"def U5Ri(YKHO):\n return []",
"def MVUr(YKHO):\n if YKHO._cleanup:\n return filter(None, YKHO.get_cleanup() + Y... | [
"0.82188475",
"0.80974805",
"0.7918524",
"0.7884678",
"0.78634363",
"0.7824022",
"0.7763145",
"0.7763145",
"0.76863474",
"0.7642581",
"0.76222765",
"0.7551332",
"0.75406164",
"0.75212604",
"0.75150615",
"0.7405761",
"0.73819035",
"0.73747355",
"0.7372121",
"0.7344478",
"0.734... | 0.0 | -1 |
Return the file path for the public key given the peer id. | def PttT(YKHO, u_3c):
if u_3c == YKHO.peer_id:
D__j = YKHO.public_key_file
else:
O5gr = YKHO.compute_safe_filename(u_3c)
D__j = Hy7s.path.join(YKHO.peer_keys_directory, O5gr + '.pem')
return D__j | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WcF4(YKHO, u_3c):\n if u_3c == YKHO.peer_id:\n return YKHO.public_key\n with open(YKHO.get_peer_key_path(u_3c), 'r') as eHNT:\n dD1L = jUs4.PublicKey.RSA.importKey(eHNT.read())\n return dD1L",
"def WrqJ(YKHO, Lnes):\n return Hy7s.path.join(YKHO._store_path, '{}.pub'.format(Lnes))",
... | [
"0.7541175",
"0.67970014",
"0.67204285",
"0.6691149",
"0.6690699",
"0.6373546",
"0.6347872",
"0.62688816",
"0.6261442",
"0.62521785",
"0.62369305",
"0.6228331",
"0.6173979",
"0.61036354",
"0.60926574",
"0.6076649",
"0.60692173",
"0.60589516",
"0.59917617",
"0.5991515",
"0.598... | 0.8741087 | 0 |
A quasiunique identifier for this peer's store. | def fmKd(YKHO):
return YKHO.metadata.store_id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fmKd(YKHO):\n return YKHO._store_id",
"def fO6q(YKHO):\n j1AS = QMSQ(qxeD.uuid4())\n return j1AS",
"def ShR8(YKHO) -> str:\n return YKHO._key",
"def ShR8(YKHO):\n return f'{YKHO._stationinfo[aQmS]}-{YKHO._key}'",
"def yQxm(YKHO, dD1L=None):\n if not dD1L:\n dD1L = YKHO.public_k... | [
"0.8108098",
"0.7470052",
"0.7440913",
"0.733486",
"0.73155427",
"0.7309517",
"0.7309517",
"0.7204856",
"0.7160152",
"0.7138766",
"0.7138766",
"0.7138766",
"0.7138766",
"0.7138766",
"0.7138766",
"0.7138766",
"0.7138766",
"0.7138766",
"0.71204245",
"0.711812",
"0.710832",
"0... | 0.79977524 | 1 |
A mapping from store IDs to important metadata such as this peer's current revision for the store and the IDs of peers known to be associated with the store. | def XGvb(YKHO):
return YKHO.metadata.store_dict | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fmKd(YKHO):\n return YKHO.metadata.store_id",
"def l4jK(YKHO, u_3c, fmKd):\n uHIL = YKHO.peer_dict[u_3c].store_revisions[fmKd]\n return uHIL",
"def rZqx(YKHO) -> bdIy[str]:\n return qe4Y.get(YKHO, 'identity_store_ids')",
"def QhZv(YKHO):\n DFSo, F1m0 = ([], [])\n for cq8K in YKHO.rooms.... | [
"0.620201",
"0.6153098",
"0.5875776",
"0.5750493",
"0.57085276",
"0.5701469",
"0.56369877",
"0.55944526",
"0.55029315",
"0.550074",
"0.548414",
"0.5384423",
"0.5229058",
"0.52215713",
"0.52141947",
"0.518181",
"0.5166381",
"0.51213723",
"0.5110642",
"0.50712126",
"0.50681275"... | 0.57975686 | 3 |
Get the locally computed Merkel tree for a store. | def wQfY(YKHO, fmKd, bEAa=None):
if fmKd == YKHO.store_id and (not bEAa):
return YKHO.merkel_tree
elif fmKd == YKHO.store_id:
cbK2 = kX19.make_dmt(YKHO._get_store_path(fmKd), nonce=bEAa, encrypter=YKHO)
else:
cbK2 = kX19.make_dmt(YKHO._get_store_path(fmKd), nonce=bEAa)
return cbK... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def L7fU(YKHO, fmKd, pFNJ):\n TgsD = YKHO.get_merkel_tree(fmKd)\n sPBL, BdN0, AaTp = kX19.compute_tree_changes(TgsD, pFNJ)\n return (sPBL.union(BdN0), AaTp)",
"def IZpx():\n assert evob\n if 'tree' not in Oa1e:\n Oa1e.tree = evob\n return Oa1e.tree",
"def IZpx(YKHO):\n return YKHO._... | [
"0.62924254",
"0.6041526",
"0.59933287",
"0.5965336",
"0.5941644",
"0.59045166",
"0.5865161",
"0.5860108",
"0.5842527",
"0.58126324",
"0.5790063",
"0.57688195",
"0.574959",
"0.5732307",
"0.5705327",
"0.5701711",
"0.56445193",
"0.5633756",
"0.56202596",
"0.5611158",
"0.557111"... | 0.7809263 | 0 |
Returns the weighted average score of the neighbors of a test point. | def qw4b(YKHO, A_IW, AU8u):
y7O9 = 0
lCK7 = 0
for AAbN in A_IW:
Ayfi = YKHO.getDistance(AAbN, AU8u)
lCK7 += float(AAbN[8]) * Ayfi
y7O9 += Ayfi
if y7O9 != 0:
return lCK7 / y7O9
else:
return lCK7 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ibow(XxFT, t4zr, camq=2):\n PYVH = HFk3(n_neighbors=camq)\n PYVH.fit(XxFT)\n lWPh, pdhd = PYVH.kneighbors(t4zr)\n return oyIN.sum(lWPh, axis=1)",
"def L7c1(YKHO, ZfUD: Any) -> float:\n if ZfUD in YKHO._vertices:\n Ty9i = YKHO._vertices[ZfUD]\n return sum(Ty9i.neighbours.values())... | [
"0.66714805",
"0.6500139",
"0.6431401",
"0.6177045",
"0.6177045",
"0.60903996",
"0.60241586",
"0.5984429",
"0.59547627",
"0.5947567",
"0.59067273",
"0.5861366",
"0.5841776",
"0.5810314",
"0.5804979",
"0.57931495",
"0.57730234",
"0.57679856",
"0.5763618",
"0.57466644",
"0.5741... | 0.7713783 | 0 |
Get all wave data for related Spotters | def J0a_(YKHO, kepv: str=None, KhBf: str=None, NArs: dict=None):
return YKHO._get_all_data(['waves'], kepv, KhBf, NArs) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZS6E(YKHO):\n return YKHO.song.song_data.wave_frames[YKHO.index]",
"def HYQV(YKHO):\n return YKHO.wave.get_data()",
"def CbP0(YKHO):\n a97M = YKHO.component1.GetWaveSet()\n IE0u = YKHO.component2.GetWaveSet()\n return RTvK(a97M, IE0u)",
"def ZW7Z(YKHO, IXKo):\n iQ7e = YKHO._get_wavelane... | [
"0.6303754",
"0.6204129",
"0.6110532",
"0.6067933",
"0.6059",
"0.6040301",
"0.5977051",
"0.5973337",
"0.5953337",
"0.59054893",
"0.5814028",
"0.5731305",
"0.5716917",
"0.5706438",
"0.5676922",
"0.56702673",
"0.5659749",
"0.5656863",
"0.5643122",
"0.5578909",
"0.55365556",
"... | 0.5668331 | 16 |
Get all track data for related Spotters | def b9Ed(YKHO, kepv: str=None, KhBf: str=None, NArs: dict=None):
return YKHO._get_all_data(['track'], kepv, KhBf, NArs) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NaSh(YKHO):\n sRpv = []\n return sRpv",
"def ayuK(YKHO):\n return YKHO._tracks",
"def r2Y1(YKHO):\n return YKHO.trackers",
"def QZEx(YKHO):\n YKHO._get_ID()\n Mkmy = G4JS.get(YKHO.API_URL.format(YKHO.set_ID, YKHO._clientID)).json()\n YKHO.set_name = Mkmy['permalink']\n HqKa = Mkmy... | [
"0.673807",
"0.670598",
"0.6626857",
"0.6576173",
"0.6564836",
"0.65160507",
"0.64546794",
"0.6341089",
"0.623739",
"0.6232338",
"0.6218947",
"0.6125627",
"0.607815",
"0.6056155",
"0.60507154",
"0.6040897",
"0.6033433",
"0.6025095",
"0.6016579",
"0.60129744",
"0.5991082",
"... | 0.5735287 | 43 |
to know num is even or odd | def cLIG(mLGw):
if mLGw % 2 == 0:
print(mLGw, 'is even')
else:
print(mLGw, 'is odd') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def C_CQ(mLGw):\n return mLGw % 2 != 0",
"def ubP8(mLGw):\n return mLGw % 2 == 0",
"def ubP8(mLGw):\n return mLGw % 2 == 0",
"def cLIG(mLGw: int):\n vf3I = len([geyT for geyT in list(map(int, str(mLGw))) if not geyT & 1])\n C_CQ = len([geyT for geyT in list(map(int, str(mLGw))) if geyT & 1])\n... | [
"0.82952577",
"0.82927775",
"0.82927775",
"0.8281087",
"0.82162285",
"0.82108337",
"0.8144656",
"0.8135197",
"0.8081391",
"0.8057772",
"0.8032342",
"0.8023675",
"0.80229133",
"0.79751945",
"0.7955143",
"0.794163",
"0.7940997",
"0.7927707",
"0.7916401",
"0.7916401",
"0.7916401... | 0.75090325 | 56 |
get tables collects table row data from an html table on a webpage | def d_72(QZnA):
_R2e = GlvW(QZnA, False)
lMXX = rKuS(_R2e, 'html.parser')
tyNF = lMXX.find_all('tr')
return tyNF | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kEiw(vbEO, bD7m):\n b6Gq = vbEO.get(bD7m)\n z6Oh = lHmx(b6Gq.content, 'html.parser')\n cd71 = z6Oh.find_all('tr')\n return cd71",
"def x4QD(bD7m):\n B2Dn = Z6vV.urlopen(bD7m).read()\n Z9JV = rKuS(B2Dn, 'lxml')\n tyNF = Z9JV.find_all('table')[0]\n D6Z9 = []\n for rdlD in tyNF.find_a... | [
"0.76861596",
"0.73070455",
"0.7286084",
"0.7252448",
"0.72134936",
"0.71239483",
"0.7064049",
"0.70563483",
"0.70366395",
"0.7036162",
"0.7035221",
"0.70131195",
"0.69918966",
"0.6955661",
"0.69332194",
"0.68426317",
"0.6820506",
"0.6799689",
"0.6796711",
"0.6742927",
"0.673... | 0.71084565 | 6 |
Generate random points for a given pointing in the sky. | def Y5Bk(qllW, bjsd):
pJNR = epAf.cos(pG0V.PLATE_RADIUS_RADIANS)
hgjH = (bjsd.cartesian_x, bjsd.cartesian_y, bjsd.cartesian_z)
LYYN = []
while len(LYYN) < qllW:
yxpl = PvyL()
P6bq = tuKI.random()
Ty9i = tuKI.random()
rVnq = epAf.acos(1 - P6bq * (1 - pJNR))
XdG6 = ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qRtf():\n return (ajWY(0, 4), 2)",
"def AU8u(YKHO):\n tuKI.seed()\n return PvyL(tuKI.randint(15, 80), tuKI.randint(15, 80))",
"def _A_N(YKHO):\n gT7o = 2.0 * oyIN.pi * oyIN.random.random_sample()\n WKvO = YKHO.mid + (YKHO.particle_radius * YKHO.r_max + 2) * oyIN.cos(gT7o)\n LVAh = YKHO.mi... | [
"0.7399056",
"0.73003227",
"0.7266126",
"0.72116435",
"0.7053687",
"0.70468765",
"0.70468765",
"0.70468765",
"0.7029392",
"0.6961572",
"0.69225365",
"0.69190633",
"0.69154584",
"0.6896953",
"0.68712515",
"0.68558407",
"0.68393457",
"0.68393457",
"0.6810091",
"0.6730016",
"0.6... | 0.60887784 | 93 |
Assign distances to random points. Random points are distributed uniformly in a shell between [rmin, rmax]. | def yrQA(LYYN, J1b4, CYjz):
if CYjz <= J1b4:
HwRy.stderr.write('Error: Cannot assign distance. Shell parameters error.\nThe max radius smaller than the min.\n ')
HwRy.exit()
jzdc = J1b4 ** 3
Fg_i = CYjz ** 3 - jzdc
for XP5J in LYYN:
P6bq = tuKI.random()
XP5J.distance = (P... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yzXB(UoOD, mzRb=100):\n return [[ajWY(0, mzRb), ajWY(0, mzRb)] for YRbF in range(UoOD)]",
"def rI0Q(LFlW, _tIi, UoOD, t3eI=None):\n EZRN = t3eI.uniform(low=LFlW, high=_tIi, size=UoOD)\n EZRN = EZRN.reshape((EZRN.size, 1))\n yvT9 = V2xB(EZRN, 'euclidean')\n return W5Jy(yvT9)",
"def fDZP():\n\... | [
"0.745034",
"0.6687665",
"0.65842223",
"0.65448123",
"0.6476275",
"0.6465678",
"0.6447753",
"0.64243495",
"0.63975835",
"0.6397251",
"0.6364277",
"0.6350226",
"0.632177",
"0.62917536",
"0.6278091",
"0.62588567",
"0.62281734",
"0.62276185",
"0.6222158",
"0.61954975",
"0.616701... | 0.79187924 | 0 |
Calculate the running mean of the sequence passed in, returns a sequence of same length with the averages. You can assume all items in sequence are numeric. | def zsZT(aWuw):
for YRbF, Ty9i in enumerate(pD6w(aWuw)):
yield round(Ty9i / (YRbF + 1), 2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zsZT(aWuw):\n for UHFx, dcxj in enumerate(pD6w(aWuw), 1):\n yield round(dcxj / UHFx, 2)",
"def zsZT(aWuw):\n pass",
"def zsZT(aWuw):\n pass",
"def zsZT(aWuw: list) -> list:\n WhY1 = iter(aWuw)\n exwG = len(aWuw)\n _l9F = []\n for YRbF in range(1, exwG + 1):\n ufJO = lis... | [
"0.85912466",
"0.8334667",
"0.8334667",
"0.82804257",
"0.75616956",
"0.75616956",
"0.7470991",
"0.7463572",
"0.7452135",
"0.73048913",
"0.7271006",
"0.72576207",
"0.71160436",
"0.70260626",
"0.698876",
"0.68791467",
"0.6867444",
"0.68495476",
"0.6793259",
"0.6789583",
"0.6715... | 0.8689427 | 0 |
Returns the string representation of the model | def gTzM(YKHO):
return CgYo.pformat(YKHO.to_dict()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n return YKHO.text",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\... | [
"0.86418265",
"0.85103965",
"0.7853324",
"0.77442306",
"0.7712258",
"0.76979405",
"0.765959",
"0.7637644",
"0.76218504",
"0.7607561",
"0.7606604",
"0.7606604",
"0.7606604",
"0.75990754",
"0.7585653",
"0.758149",
"0.7570811",
"0.7567585",
"0.75392604",
"0.75392604",
"0.7527967... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
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 |
Sets the learning rate to the initial LR decayed by 10 every 30 epochs | def e_63(K0do, qtWj, sOEb):
WMj5 = 0.1 ** sum(qtWj >= oyIN.array(sOEb))
tspZ = bYD2 * WMj5
WMj5 = oNEO
for Lwm5 in K0do.param_groups:
Lwm5['lr'] = tspZ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def e_63(K0do, qtWj):\n nIX4 = nIX4 * 0.1 ** ((qtWj - 117) // 30)",
"def e_63(K0do, qtWj, qIxc):\n tspZ = qIxc.lr * 0.1 ** (qtWj // 30)\n K0do.state_dict()['param_groups'][-1]['lr'] = tspZ",
"def e_63(ma4o, K0do, qtWj, ctbl):\n tspZ = ma4o * 0.1 ** (qtWj // int(epAf.ceil(30.0 / ctbl)))\n for Lwm... | [
"0.7991837",
"0.7940576",
"0.78895533",
"0.78278863",
"0.7822731",
"0.78170556",
"0.7810941",
"0.78027624",
"0.77914375",
"0.7788607",
"0.7782131",
"0.7765793",
"0.77645",
"0.77609223",
"0.7749379",
"0.7739108",
"0.7731853",
"0.77242327",
"0.77121335",
"0.7708826",
"0.7704794... | 0.0 | -1 |
Computes the precision for the specified values of k | def vjyh(hlel, pan_, hz5a=(1,)):
Gq8e = max(hz5a)
Ep8u = pan_.size(0)
bGrB, nvEb = hlel.topk(Gq8e, 1, True, True)
nvEb = nvEb.t()
gXXc = nvEb.eq(pan_.view(1, -1).expand_as(nvEb))
Ylbp = []
for G1Hx in hz5a:
R2Dg = gXXc[:G1Hx].view(-1).float().sum(0)
Ylbp.append(R2Dg.mul_(100.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rhd_(u5Ef, G1Hx):\n return len(u5Ef) / G1Hx",
"def sEak(Mkmy, G1Hx):\n assert G1Hx >= 1\n Mkmy = oyIN.asarray(Mkmy)[:G1Hx]\n return oyIN.mean(Mkmy)",
"def sEak(YKHO, G1Hx):\n fdMZ = YKHO.pred_rankings.rdd.map(lambda SjLr: (SjLr[2], SjLr[1]))\n Wbxz = rRQi(fdMZ)\n return Wbxz.precisionA... | [
"0.8003211",
"0.79748034",
"0.79735845",
"0.7941222",
"0.78642285",
"0.7803938",
"0.7707779",
"0.7621563",
"0.7593218",
"0.75612706",
"0.752028",
"0.7430132",
"0.74122673",
"0.7375894",
"0.7374447",
"0.7321427",
"0.7254542",
"0.7236769",
"0.72279894",
"0.7204469",
"0.7137302"... | 0.0 | -1 |
3x3 convolution with padding | def Myly(UUZO, sYyA, _0fC=1):
return U78l.Conv2d(UUZO, sYyA, kernel_size=3, stride=_0fC, padding=1, bias=False) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sx6c(input, KUnM, FEri, dvgN, wH3T='NHWC', mJgj=1, mWFP=None):\n return o6Bz(**locals())",
"def Myly(UUZO, sYyA, _0fC=1, moMn=1, ivFb=1):\n return U78l.Conv2d(UUZO, sYyA, kernel_size=3, stride=_0fC, padding=0, groups=moMn, bias=False, dilation=ivFb)",
"def DO8L(WKvO, yzQ0, UP6E=[0, 0, 0], FEri=[1, 1,... | [
"0.78404945",
"0.7541354",
"0.753996",
"0.7491138",
"0.7434801",
"0.74207747",
"0.73415834",
"0.7320252",
"0.7299599",
"0.7287539",
"0.72799367",
"0.72799367",
"0.7257735",
"0.7226928",
"0.72204214",
"0.7214909",
"0.7214909",
"0.7210775",
"0.7198222",
"0.71639067",
"0.7161914... | 0.70801866 | 82 |
Gets the email of this ApiKeyResponseAllOf. | def D3lj(YKHO) -> str:
return YKHO._email | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def D3lj(YKHO):\n return YKHO._data.get('email')",
"def D3lj(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'email')",
"def D3lj(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'email')",
"def jluS(YKHO) -> qe4Y.Output[bdIy[str]]:\n return qe4Y.get(YKHO, 'email_addresses')",
"def Jwx4(YK... | [
"0.68463206",
"0.6813836",
"0.6813836",
"0.6697763",
"0.6684381",
"0.66775686",
"0.66775686",
"0.6677058",
"0.6624895",
"0.6624895",
"0.6624895",
"0.6624895",
"0.6624895",
"0.6624895",
"0.6624895",
"0.6624895",
"0.65884936",
"0.65884936",
"0.65884936",
"0.6585869",
"0.6563877... | 0.626219 | 65 |
Sets the email of this ApiKeyResponseAllOf. | def D3lj(YKHO, D3lj: str):
if D3lj is None:
raise ValueError('Invalid value for `email`, must not be `None`')
YKHO._email = D3lj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def D3lj(YKHO, BWXx):\n YKHO._email = BWXx",
"def srEc(YKHO, D3lj=''):\n YKHO._email = D3lj",
"def D3lj(YKHO, D3lj):\n YKHO._email = D3lj",
"def srEc(YKHO, D3lj):\n YKHO.email = D3lj",
"def lEeL(YKHO, D3lj: str):\n YKHO.__email = D3lj\n return YKHO",
"def lEeL(YKHO, D3lj):\n YKHO.__e... | [
"0.64605385",
"0.631481",
"0.62906444",
"0.626603",
"0.6252995",
"0.62168354",
"0.6185883",
"0.61425203",
"0.61425203",
"0.60875237",
"0.60875237",
"0.60875237",
"0.60875237",
"0.60875237",
"0.60875237",
"0.60875237",
"0.60875237",
"0.60875237",
"0.60875237",
"0.60875237",
"0... | 0.5609318 | 69 |
Convert a humdrum recip string to a wholenote duration. | def KRv1(Uel5):
if Uel5[0] == '0':
WbTE = 2
else:
WbTE = float(Uel5.rstrip('.')) ** (-1)
N06i = Uel5.count('.')
return 2 * WbTE - WbTE * 2.0 ** (-1 * N06i) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hfK9(KCHu):\n try:\n hZUQ = ZbWC.search('(added|subtracted) (.*) of time', KCHu).group(2)\n except AttributeError:\n return 0\n WbTE = 0\n for Q7me in hZUQ.split():\n for PXGI in sWIo:\n if PXGI in Q7me:\n WbTE += float(Q7me.strip(PXGI)) * qExm[PXGI]\n... | [
"0.660711",
"0.6464137",
"0.6380784",
"0.635495",
"0.6291909",
"0.6289036",
"0.6278622",
"0.6257145",
"0.6189768",
"0.6159239",
"0.61369693",
"0.61256385",
"0.60506535",
"0.6046623",
"0.6035691",
"0.59935015",
"0.59816676",
"0.59628594",
"0.5957709",
"0.5951487",
"0.59297436"... | 0.70478827 | 0 |
Return a formatted payload query | def MNRr(YKHO):
return {'indexOfFirstRow': YKHO.index_of_first_row, 'sortColumn': 'sortOrder', 'value': YKHO.form_number, 'criteria': 'formNumber', 'resultsPerPage': YKHO.result_per_page, 'isDescending': 'false'} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gkea(YKHO, xDcj, c00E):\n WnDT = xDcj.replace('%(', '{').replace(')s', '}')\n return WnDT.format(**c00E)",
"def V2Hq(nxJw=None):\n Ltpw = QePW.get_json(force=True)\n xDcj = Ltpw.get('query', '')\n return pz3A({'query': g4Ww.format(xDcj, **gCuF.SQLPARSE_FORMAT_OPTIONS)})",
"def z5ps(YKHO, cuW... | [
"0.71117294",
"0.6899583",
"0.6839256",
"0.6796346",
"0.67223984",
"0.6573981",
"0.65606093",
"0.6498434",
"0.6482677",
"0.6448682",
"0.6435774",
"0.64316326",
"0.64252466",
"0.6402361",
"0.63792086",
"0.6372539",
"0.6336918",
"0.6253159",
"0.62525547",
"0.62512743",
"0.62316... | 0.0 | -1 |
Reinitialize the data, to be used when starting a new period | def IMew(YKHO):
YKHO.period_data = {'tarif': '....', 'subscribed_amperage': 0, 'count': 0, 'sum_of_all': 0, 'min': 1000, 'max': 0, 'period': '....', 'tomorrow': '....'} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SiRx(YKHO):\n YKHO.prev_itr_time = None\n ZLJ_ = [SRYB.name for SRYB in YKHO.domain.variables]\n _NDp = ['computation_t', 'experiment_t', 'strategy']\n ZLJ_ += _NDp\n YKHO._data = uy3w(columns=ZLJ_, metadata_columns=_NDp)\n YKHO.extras = []",
"def fUe2(YKHO):\n YKHO.time = []\n YKHO.i... | [
"0.7499729",
"0.743099",
"0.719274",
"0.71793973",
"0.7154218",
"0.712724",
"0.70767576",
"0.6873808",
"0.68562615",
"0.68458474",
"0.6832884",
"0.6820419",
"0.6804425",
"0.67984366",
"0.6777315",
"0.6772058",
"0.6673152",
"0.65737534",
"0.65710783",
"0.6559705",
"0.65561616"... | 0.85871696 | 0 |
Get master configuration scheme. | def se6S(YKHO):
return YKHO.__merge_scheme(YKHO.__master_scheme) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LDIG():\n return Azc_._get_config(Azc_._master)",
"def Zn7e(YKHO):\n return YKHO.__merge_scheme(YKHO.__client_scheme)",
"def CSVQ(YKHO) -> h8nf[qe4Y.Input['ClusterClusterConfigMasterConfigArgs']]:\n return qe4Y.get(YKHO, 'master_config')",
"def XdVK(mWFP):\n if not mWFP in dDK_:\n dDK_... | [
"0.7666604",
"0.6771482",
"0.65870607",
"0.645338",
"0.64395523",
"0.64395523",
"0.64395523",
"0.64395523",
"0.64366096",
"0.64366096",
"0.6401456",
"0.6389502",
"0.62484974",
"0.6197486",
"0.6173823",
"0.6119635",
"0.59855765",
"0.5976089",
"0.5976089",
"0.5976089",
"0.59667... | 0.8316421 | 0 |
Update dataframe based on current graph | def ms_u(yvY1):
return rLdf.DataFrame(HLqH(yvY1), columns=['node', 'degree', 'in_deg', 'out_deg']) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Db7r():\n global recording\n global absolute_df, relative_df, user_df, raw_df, cardio_df, resp_df, button_df\n if 0 < HFkI < 29:\n IGX5 = 'lqt' + str(HFkI)\n elif 29 <= HFkI:\n IGX5 = 'rec' + str(HFkI - 27)\n else:\n print('index out of range')\n uBuf = None\n yEm6 = N... | [
"0.71263844",
"0.6753691",
"0.66593564",
"0.6588837",
"0.6414413",
"0.6299639",
"0.61389714",
"0.61367714",
"0.61075485",
"0.6031147",
"0.6026446",
"0.6026446",
"0.5987154",
"0.5972996",
"0.59152555",
"0.58897805",
"0.58375263",
"0.5779192",
"0.5774712",
"0.57596755",
"0.5756... | 0.7154586 | 0 |
Utility function for checking if all the elements in an iterable are equal | def ac8g(OxJJ: Iterable):
if isinstance(OxJJ, list):
return not OxJJ or OxJJ.count(OxJJ[0]) == len(OxJJ)
elif isinstance(OxJJ, tuple):
return OxJJ[1:] == OxJJ[:-1]
else:
WhY1 = iter(OxJJ)
try:
cntZ = next(WhY1)
except StopIteration:
return True... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ac8g(OxJJ):\n ...",
"def BhqZ(OxJJ: Iterable) -> bool:\n oHE7 = iter(OxJJ)\n try:\n cntZ = next(oHE7)\n except StopIteration:\n return True\n return all((cntZ == wOmD for wOmD in oHE7))",
"def ac8g(OxJJ):\n Oa1e = WhY1.groupby(OxJJ)\n return next(Oa1e, True) and (not next... | [
"0.8932604",
"0.89257187",
"0.843793",
"0.8407918",
"0.82417166",
"0.7977292",
"0.7892127",
"0.7833189",
"0.78281367",
"0.7744017",
"0.7702886",
"0.7595067",
"0.7523038",
"0.7498235",
"0.74894124",
"0.73861945",
"0.7385401",
"0.7357696",
"0.73575854",
"0.7312147",
"0.72559655... | 0.850283 | 2 |
Return the Intersection over Union (IoU) for a given label. | def RjuK(Y8eF, aMgO, UXqs: int):
Y8eF = nMvt.cast(nMvt.equal(nMvt.argmax(Y8eF), UXqs), nMvt.floatx())
aMgO = nMvt.cast(nMvt.equal(nMvt.argmax(aMgO), UXqs), nMvt.floatx())
iQin = nMvt.sum(Y8eF * aMgO)
b65I = nMvt.sum(Y8eF) + nMvt.sum(aMgO) - iQin
return nMvt.switch(nMvt.equal(b65I, 0), 1.0, iQin / b6... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _xWy(nvEb, UXqs):\n OrFa = oyIN.unique(UXqs)\n exgV = len(OrFa)\n QdhN = oyIN.zeros(exgV)\n uLKX = oyIN.zeros(exgV)\n for d6pt, wEf2 in enumerate(OrFa):\n SEx8 = nvEb == wEf2\n wnIp = UXqs == wEf2\n QdhN[d6pt] = float(oyIN.sum(oyIN.logical_and(wnIp, SEx8)))\n uLKX[d6p... | [
"0.76123375",
"0.7604112",
"0.70084655",
"0.6727569",
"0.67131966",
"0.63975745",
"0.61881924",
"0.616593",
"0.61610746",
"0.6152727",
"0.6132302",
"0.6113364",
"0.61051965",
"0.60816014",
"0.60425085",
"0.60209405",
"0.5992733",
"0.59053135",
"0.58825743",
"0.58690697",
"0.5... | 0.6110947 | 12 |
Return the Intersection over Union (IoU) score. | def NBhu(Y8eF, aMgO):
svPB = nMvt.int_shape(aMgO)[-1]
Uh1C = nMvt.variable(0)
for UXqs in range(svPB):
Uh1C = Uh1C + RjuK(Y8eF, aMgO, UXqs)
return Uh1C / svPB | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DM5Z(cCrA):\n RjuK = 0\n for p1kx in cCrA:\n RjuK += p1kx.get_iou()\n if len(cCrA) < 1:\n return 0\n return RjuK / len(cCrA)",
"def _xWy(YKHO, UXqs, xfCv):\n iQin = YKHO.compute_intersection(UXqs, xfCv)\n b65I = YKHO.compute_union(UXqs, xfCv, iQin)\n return iQin / b65I",
... | [
"0.7443824",
"0.73567927",
"0.7193706",
"0.7109505",
"0.7079657",
"0.705223",
"0.69228023",
"0.6919049",
"0.6909645",
"0.68456453",
"0.68425244",
"0.68391424",
"0.6832664",
"0.6817961",
"0.6817067",
"0.6813704",
"0.68093157",
"0.6789594",
"0.6789594",
"0.6777402",
"0.6773706"... | 0.0 | -1 |
IoU = (|X & Y|)/ (|X or Y|) | def aIwW(Y8eF, aMgO, gyoy=Wxcx):
iQin = nMvt.sum(nMvt.abs(Y8eF * aMgO), axis=-1)
b65I = nMvt.sum((Y8eF, -1) + nMvt.sum(aMgO, -1)) - iQin
return (iQin + gyoy) / (b65I + gyoy) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aOkw(k0lF, tjUW):\n if len(k0lF.union(tjUW)) != 0:\n return len(k0lF & tjUW) / len(k0lF.union(tjUW))\n else:\n return 0",
"def RjuK(gpRq, E43s):\n return (gpRq & E43s).sum() / (gpRq | E43s).sum()",
"def RjuK(jZl0, ORtl):\n C7_8 = oyIN.float32(oyIN.sum(jZl0 == ORtl))\n b65I = oy... | [
"0.71388036",
"0.7131868",
"0.7060063",
"0.69281",
"0.69263667",
"0.69173056",
"0.68956125",
"0.6883647",
"0.6712653",
"0.67048866",
"0.6670548",
"0.66485786",
"0.658872",
"0.65842354",
"0.6584109",
"0.65755117",
"0.65752286",
"0.65734357",
"0.65508574",
"0.65508574",
"0.6521... | 0.0 | -1 |
Counts number of edges in each partition that estimates the size of partition. | def uFIm(YKHO, XOh9):
U34r = []
for Qrt_ in XOh9:
mC4V = Qrt_.get_data_size()
U34r.append(mC4V)
return U34r | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def h1pV(YKHO):\n assert YKHO.parameters is not None\n Ylbp = 1\n for fsWn in YKHO.parameters:\n for H5ew in fsWn.keys():\n Ylbp *= len(fsWn.get(H5ew))\n return Ylbp",
"def szAg(YKHO) -> int:\n return sum((len(XP5J) for XP5J in YKHO.partitions))",
"def St5B(YKHO):\n mC4V = Y... | [
"0.7312475",
"0.7089929",
"0.6969046",
"0.6924178",
"0.6924178",
"0.6877586",
"0.6868345",
"0.68080384",
"0.6802755",
"0.6777049",
"0.6750891",
"0.67307377",
"0.6686967",
"0.6682142",
"0.66519105",
"0.6641533",
"0.66323364",
"0.6610891",
"0.6610712",
"0.66072726",
"0.6602141"... | 0.7627187 | 0 |
Dequeue the earliest enqueued item still in the queue. This operation removes the item from the queue. | def BEuN(YKHO):
return YKHO.list.pop() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def he0F(YKHO):\n YKHO.q.remove_newest()",
"def WvVJ(YKHO):\n if not YKHO.isEmpty():\n ZfUD = YKHO.queue[0]\n YKHO.queue = YKHO.queue[1:]\n YKHO.rear -= 1\n YKHO._print()\n return ZfUD\n YKHO._print()\n return None",
"def he0F(YKHO):\n assert YKHO.__count != 0,... | [
"0.7952108",
"0.7717849",
"0.7583509",
"0.75687605",
"0.7556042",
"0.75497997",
"0.7539187",
"0.75381327",
"0.75373924",
"0.75314003",
"0.7493529",
"0.7462194",
"0.7443514",
"0.74373627",
"0.73640794",
"0.73640794",
"0.73596966",
"0.735459",
"0.7338166",
"0.7332026",
"0.73129... | 0.0 | -1 |
Load weights for the agent from pretrained model | def SUd8(YKHO, _mSQ) -> None:
YKHO.ac.load_state_dict(_mSQ['weights']) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uyMl(YKHO):\n YKHO.network.load_weights(YKHO.weight_backup)",
"def XSwm(YKHO, L1Oy):\n YKHO.target_model.load_weights(L1Oy)\n YKHO.eval_model.load_weights(L1Oy)",
"def wyMC(YKHO):\n bo34.info('Loading pre-trained model weights')\n if YKHO.model_path.endswith('.npy'):\n bo34.debug('loa... | [
"0.7825449",
"0.7809584",
"0.75939626",
"0.75878614",
"0.75816166",
"0.75316817",
"0.7519868",
"0.7494382",
"0.7492733",
"0.74670833",
"0.74670833",
"0.74670833",
"0.74287784",
"0.7404024",
"0.73998636",
"0.73998636",
"0.73575735",
"0.7355894",
"0.73346627",
"0.73071945",
"0.... | 0.68616915 | 83 |
Removes batch normalization ops by folding them into convolutions. Batch normalization during training has multiple dynamic parameters that are updated, but once the graph is finalized these become constants. That means there's an opportunity to reduce the computations down to a scale and addition, rather than the more... | def KWqC(uDSE):
AYTE = {}
for Q6kx in uDSE.node:
if Q6kx.name not in AYTE:
AYTE[Q6kx.name] = Q6kx
else:
raise ValueError('Duplicate node names detected for ', Q6kx.name)
ojwn = {}
eqRF = []
for Q6kx in uDSE.node:
if Q6kx.op not in ('BatchNormWithGlobal... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KWqC(uDSE):\n AYTE = {}\n for Q6kx in uDSE.node:\n if Q6kx.name not in AYTE:\n AYTE[Q6kx.name] = Q6kx\n else:\n raise ValueError('Duplicate node names detected for ', Q6kx.name)\n ojwn = {}\n eqRF = []\n for Q6kx in uDSE.node:\n if Q6kx.op not in ('Batc... | [
"0.71165603",
"0.67845947",
"0.66245085",
"0.6334465",
"0.63135856",
"0.6301911",
"0.6093338",
"0.60491335",
"0.60454947",
"0.60202533",
"0.60177165",
"0.6017464",
"0.59439576",
"0.5898805",
"0.58326215",
"0.58288765",
"0.5821194",
"0.58136284",
"0.581201",
"0.5799755",
"0.57... | 0.72035635 | 0 |
Comprueba si el Stack esta vacio | def A4KR(YKHO):
return YKHO.size() == 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def A4KR(YKHO):\n return YKHO.stack == []",
"def FBfn(YKHO):\n return YKHO.stack == []",
"def lsmZ(YKHO):\n if YKHO.myStack.empty():\n return True\n else:\n return False",
"def lsmZ(YKHO) -> bool:\n return not YKHO.stack1",
"def lsmZ(YKHO):\n return YKHO.stack == []",
"def... | [
"0.7555121",
"0.755497",
"0.7540904",
"0.74998343",
"0.7472499",
"0.74558145",
"0.74558145",
"0.74487144",
"0.7441289",
"0.74385035",
"0.7401288",
"0.7394835",
"0.7394835",
"0.7394835",
"0.73886365",
"0.7373895",
"0.7359983",
"0.7359983",
"0.7359498",
"0.73500264",
"0.7349075... | 0.0 | -1 |
Create player change data for testing. | def rcW0() -> dict:
return {PtXs.DATA_MAPPED_IDS: {}, PtXs.DATA_NEW: []} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TAeg():\n oyg0 = mVZ4(player_id=116380, first='Raul', last='Ibanez', boxname='Ibanez', rl='R', bats='L')\n return oyg0",
"def CBZU(YKHO):\n AzF9 = YKHO.get_game_log_soup()\n yPHI = YKHO.get_game_log_table_body(AzF9)\n nPrm = YKHO.fetch_data_from_table(yPHI)\n nPrm = YKHO.remove_empty_data(n... | [
"0.7055091",
"0.6126933",
"0.60665005",
"0.6037525",
"0.5985242",
"0.59752345",
"0.5970088",
"0.59640235",
"0.593812",
"0.59013313",
"0.5850556",
"0.58199584",
"0.579387",
"0.5783542",
"0.577394",
"0.5770384",
"0.57497483",
"0.5743822",
"0.57387",
"0.5722874",
"0.5698444",
... | 0.5636534 | 22 |
Create player change data for testing. | def pHtx() -> dict:
return {PtXs.DATA_MAPPED_IDS: {101: 1}, PtXs.DATA_NEW: []} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TAeg():\n oyg0 = mVZ4(player_id=116380, first='Raul', last='Ibanez', boxname='Ibanez', rl='R', bats='L')\n return oyg0",
"def CBZU(YKHO):\n AzF9 = YKHO.get_game_log_soup()\n yPHI = YKHO.get_game_log_table_body(AzF9)\n nPrm = YKHO.fetch_data_from_table(yPHI)\n nPrm = YKHO.remove_empty_data(n... | [
"0.7055091",
"0.6126933",
"0.60665005",
"0.6037525",
"0.5985242",
"0.59752345",
"0.5970088",
"0.59640235",
"0.593812",
"0.59013313",
"0.5850556",
"0.58199584",
"0.579387",
"0.5783542",
"0.577394",
"0.5770384",
"0.57497483",
"0.5743822",
"0.57387",
"0.5722874",
"0.5698444",
... | 0.0 | -1 |
Constructs complete error response. | def j_dP(h0nS):
try:
geh0 = jdDJ(h0nS)
jGRS = geh0[geh0.find('<title>') + 7:geh0.find('</title>')]
G1bx = 'HTTP/1.1 ' + jGRS + '\r\n'
ZCQF = qcWV.utcnow()
G1bx += 'Date: ' + ZCQF.strftime('%a, %d %b %Y %H:%M:%S GMT') + '\r\n'
G1bx += 'Content-Type: text/html\r\n'
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rS_m(YKHO, P1dF):\n raise NotImplementedError()",
"def bonc(YKHO):\n hRQP = 'No additional information.'\n if YKHO.abort:\n if YKHO.http_code == 400:\n hRQP = 'Bad request.'\n if YKHO.http_code == 401:\n hRQP = 'Unauthorised.'\n if YKHO.http_code == 403:\n ... | [
"0.7363282",
"0.7278604",
"0.7267453",
"0.71644616",
"0.71644616",
"0.71015686",
"0.7079106",
"0.69829506",
"0.6982619",
"0.6952989",
"0.68759954",
"0.6821358",
"0.67842376",
"0.67766327",
"0.67487884",
"0.6733658",
"0.6716903",
"0.67167693",
"0.67167693",
"0.67055947",
"0.67... | 0.6607646 | 26 |
date_to_epoch Takes a string in format YYYYMMDD and converts to epoch time INPUTS | def ilM7(_c1T):
qtWj = int(ITS7.mktime(ITS7.strptime(_c1T, '%Y-%m-%d')))
return qtWj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def K8gd(_c1T):\n return int(ITS7.mktime(ITS7.strptime(_c1T, '%d/%m/%Y')))",
"def AkTL(KCHu):\n import time\n return time.mktime(time.strptime(KCHu, '%a, %d %b %Y %H:%M:%S'))",
"def YOHk(YKHO, mbyn):\n try:\n qtWj = ITS7.strptime(mbyn, '%m/%d/%Y')\n return int(GRk0.timegm(qtWj)) * 100... | [
"0.7918328",
"0.7477556",
"0.74168855",
"0.72346705",
"0.7185081",
"0.7118337",
"0.7089868",
"0.7001921",
"0.69786763",
"0.68934876",
"0.6858679",
"0.6854587",
"0.6801063",
"0.67984444",
"0.67925316",
"0.6789893",
"0.6744448",
"0.67431504",
"0.6673038",
"0.66690904",
"0.66622... | 0.80000097 | 0 |
_epoch_to_datetime Converts an integer epoch timestamp into a datetime string. INPUTS | def P9gz(qtWj):
return JRYC.datetime.strptime(ITS7.strftime('%Y-%m-%d %H:%M:%S', ITS7.localtime(int(qtWj))), '%Y-%m-%d %H:%M:%S') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def P9gz(qtWj):\n return qcWV(*ITS7.gmtime(qtWj / 1000)[:7])",
"def P9gz(jpNe, DAsM):\n return qcWV.datetime.fromtimestamp(jpNe).strftime(DAsM)",
"def rXZ3(qtWj):\n qtWj = qtWj + 21600\n return ITS7.strftime('%Y-%m-%d', ITS7.localtime(qtWj))",
"def P9gz(a1PO):\n if a1PO is None:\n retur... | [
"0.79871327",
"0.79369754",
"0.7892352",
"0.7690139",
"0.7667274",
"0.76153326",
"0.7593599",
"0.75405943",
"0.7524191",
"0.751335",
"0.7407197",
"0.7399488",
"0.7353751",
"0.7332808",
"0.732779",
"0.730578",
"0.7288127",
"0.7216242",
"0.716932",
"0.71432173",
"0.7120695",
... | 0.8091578 | 0 |
create_api_host_url Creates the endpoint url for the API call. INPUTS | def KQUe(KcEq, wnQ_):
Ms2Z = '/'.join((KcEq, *wnQ_))
return Ms2Z | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def R34a(NKRf, zVa7, DpZH):\n bD7m = NKRf.rstrip('/')\n bD7m += '/' + zVa7.strip('/')\n bD7m += '/' + DpZH.strip('/')\n S0MI.debug('URL created: %s', bD7m)\n return bD7m",
"def qYwM(YKHO) -> str:\n KcEq = ZR0i('Deluge', 'host')\n bIwZ = ZR0i('Deluge', 'port')\n return f'http://{KcEq}:{bIw... | [
"0.6747171",
"0.66836876",
"0.6563786",
"0.65309924",
"0.6508978",
"0.6411414",
"0.6401661",
"0.63711876",
"0.62427807",
"0.6207137",
"0.6190776",
"0.6190391",
"0.6078322",
"0.6062706",
"0.6062544",
"0.6060841",
"0.60586315",
"0.60415167",
"0.6040925",
"0.6034015",
"0.6029619... | 0.7755347 | 0 |
_merge_dicts Merges two dictionaries into one. INPUTS | def roQF(WbPA, S69B):
XIcQ = {**WbPA, **S69B}
return XIcQ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def roQF(AjzU, _sQW):\n return {**AjzU, **_sQW}",
"def roQF(jzdc, Fg_i):\n return W0j7(jth9.deepcopy(jzdc), Fg_i)",
"def roQF(WbPA, S69B):\n epBp = WbPA.copy()\n epBp.update(S69B)\n return epBp",
"def roQF(m2Vb, g6HL):\n RgYu = m2Vb.copy()\n for H5ew in g6HL:\n if H5ew in m2Vb and... | [
"0.82369477",
"0.80845755",
"0.8071732",
"0.8046677",
"0.8039941",
"0.8039645",
"0.8024564",
"0.80199856",
"0.8017836",
"0.8010394",
"0.7969924",
"0.79607904",
"0.7957855",
"0.7957142",
"0.7913845",
"0.79062253",
"0.7898498",
"0.78886163",
"0.7879709",
"0.787845",
"0.787845",... | 0.83830374 | 0 |
String for representing the MyModelName object (in Admin site etc.). | def zAg0(YKHO):
return '{0}'.format(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 zAg0(YKHO) -> str:\n return f'MyModel(id={YKHO.id}, my_column={YKHO.my_column})'",
"def zAg0(YKHO):\n return f'{YKHO.name} object'",
"def XWXe(YKHO):\n return 'a model'",
"def XWXe(YKHO):\n ret... | [
"0.78501266",
"0.7635767",
"0.74491674",
"0.7264097",
"0.7239198",
"0.7239198",
"0.7209188",
"0.7205393",
"0.7187224",
"0.71470577",
"0.71187836",
"0.7104075",
"0.7104075",
"0.7104075",
"0.7104075",
"0.7104075",
"0.7104075",
"0.7104075",
"0.7097976",
"0.70922244",
"0.7086534"... | 0.7038299 | 30 |
Convert a `geometry_msgs/Quaternion` ROS message into a numpy array. | def lsfI(tO9_):
return oyIN.array([tO9_.w, tO9_.x, tO9_.y, tO9_.z]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def t8tO(Wiw9):\n r9o4 = ZylS.quaternion_matrix([Wiw9.pose.orientation.x, Wiw9.pose.orientation.y, Wiw9.pose.orientation.z, Wiw9.pose.orientation.w])\n r9o4[0][3] = Wiw9.pose.position.x\n r9o4[1][3] = Wiw9.pose.position.y\n r9o4[2][3] = Wiw9.pose.position.z\n return r9o4",
"def aNWl(yt3G):\n ve... | [
"0.71350455",
"0.6766531",
"0.6605937",
"0.6367527",
"0.62832296",
"0.62764907",
"0.62417716",
"0.6206971",
"0.6200677",
"0.6193129",
"0.61846995",
"0.6173984",
"0.6116808",
"0.61121845",
"0.61107206",
"0.61103237",
"0.60993254",
"0.6088733",
"0.6080052",
"0.6048303",
"0.6046... | 0.80951667 | 0 |
Convert a `geometry_msgs/Wrench` ROS message into a numpy array. | def C314(tO9_):
qw7D = oyIN.zeros(6)
qw7D[:3] = k4Jc(tO9_.force)
qw7D[3:] = k4Jc(tO9_.torque)
return qw7D | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VfQQ(tO9_):\n Dfxc = type(tO9_)\n if Dfxc == jH6u:\n return {'x': tO9_.x, 'y': tO9_.y, 'theta': tO9_.theta}\n elif Dfxc == P5Mn or Dfxc == uDRw or Dfxc == B5By or (Dfxc == rIau) or (Dfxc == b07A) or (Dfxc == EeZh):\n return tO9_.data\n elif Dfxc == btbs or Dfxc == Ezqs:\n retur... | [
"0.6918021",
"0.6456868",
"0.6167088",
"0.6131205",
"0.6111004",
"0.60701984",
"0.6023586",
"0.59100175",
"0.5904315",
"0.58927894",
"0.5881154",
"0.58791184",
"0.58730394",
"0.58291405",
"0.5825956",
"0.5811974",
"0.5808978",
"0.5750003",
"0.57399404",
"0.5675228",
"0.567279... | 0.68894005 | 1 |
Convert a numpy array WXYZ into a `geometry_msgs/Quaternion` ROS message. | def Omrx(qw7D):
return R5H8(qw7D[1], qw7D[2], qw7D[3], qw7D[0]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lsfI(tO9_):\n return oyIN.array([tO9_.w, tO9_.x, tO9_.y, tO9_.z])",
"def aNWl(yt3G):\n vexM = [yt3G.w, yt3G.x, yt3G.y, yt3G.z]\n return V2xT.from_quaternion(vexM)",
"def iXYV(YKHO):\n yzQ0, WKvO, LVAh, epBp = YKHO._read_vector(YKHO.BNO055_QUATERNION_DATA_W_LSB_ADDR, 4)\n NXpY = 1.0 / (1 << 1... | [
"0.76461715",
"0.67865014",
"0.66099495",
"0.6372691",
"0.6347324",
"0.63431436",
"0.63339806",
"0.6302076",
"0.62766725",
"0.62763584",
"0.6260724",
"0.62504923",
"0.6211001",
"0.6204314",
"0.6170172",
"0.61537236",
"0.61456555",
"0.6095141",
"0.60507786",
"0.6045063",
"0.60... | 0.6731032 | 2 |
Replace integers (followed by /) as well as float numbers by Fraction objects. For floating point numbers, the denominator is limited to be 1e12, which makes it possible to create simple and intuitive representations of floats with 'a few' decimal places. For example, 0.1 will be represented as 1/10 as expected. | def GQey(JZXy, **jwjR):
s2mk = I36p.tokenize(JZXy)
gYaT = []
for eOtH, wkpI in zip(s2mk, s2mk[1:]):
if eOtH.is_float():
eOtH.string = f"Fraction('{eOtH.string}').limit_denominator(1_000_000_000_000)"
elif eOtH.is_integer() and wkpI == '/':
eOtH.string = f'Fraction({eO... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kAFt(YKHO, SOnQ):\n PBWZ = str(SOnQ)\n PBWZ = PBWZ.split('.')\n LuCq = ''.join(PBWZ)\n LuCq = int(LuCq)\n LuCq = str(LuCq)\n CTkK = '1' + '0' * len(PBWZ[1])\n fNjd = [LuCq, CTkK]\n fNjd = '/'.join(fNjd)\n return YKHO._shorten_fraction(fNjd)",
"def YVpO(YKHO):\n for UXqs, aEqx, o... | [
"0.7119036",
"0.69570285",
"0.6924074",
"0.69025415",
"0.68854463",
"0.6866902",
"0.6855067",
"0.68249875",
"0.68249875",
"0.682042",
"0.67707956",
"0.67624295",
"0.6714097",
"0.6687992",
"0.6628201",
"0.6575911",
"0.6573421",
"0.65410787",
"0.65104914",
"0.649813",
"0.648288... | 0.0 | -1 |
Set the longitude and latitude. | def kUGM(YKHO):
YKHO.df = yJEr(YKHO.df) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NE4R(YKHO, fOel, Hdan):\n YKHO.lat = fOel\n YKHO.lng = Hdan",
"def QDqo(YKHO, _UuI, fopC, yzQA):\n YKHO.elevation = yzQA\n YKHO.longitude, YKHO.latitude = (fopC, _UuI)\n YKHO.location = XUjt.from_geodetic(YKHO.longitude, YKHO.latitude, YKHO.elevation)",
"def HSzC(YKHO, W0Eb):\n YKHO.set_l... | [
"0.72104347",
"0.713156",
"0.7116477",
"0.6909063",
"0.6898941",
"0.6848359",
"0.6834278",
"0.68279076",
"0.6811231",
"0.6804631",
"0.67810535",
"0.6756829",
"0.6753485",
"0.6734694",
"0.6730747",
"0.67275715",
"0.67275715",
"0.67275715",
"0.67275715",
"0.67275715",
"0.670918... | 0.6081197 | 84 |
Validate if the given string is a URI. | def Q6lo(vIwR):
return ':' in vIwR | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def n4Ed(j8eK):\n deVW = False\n if isinstance(j8eK, str):\n deVW = True\n return deVW",
"def Xx6s(j8eK):\n raise NotImplementedError",
"def n4Ed(j8eK):\n P6bq = KVWQ.urlparse(j8eK)\n if P6bq.scheme not in ('http', 'https', 'ftp'):\n raise ValueError(\"Invalid URI scheme used in... | [
"0.8512218",
"0.7877931",
"0.76854527",
"0.7624261",
"0.74517304",
"0.72675645",
"0.72631437",
"0.7195054",
"0.7164635",
"0.7141332",
"0.70299655",
"0.7013767",
"0.699518",
"0.69506884",
"0.6925327",
"0.6915871",
"0.6913391",
"0.6908811",
"0.69005877",
"0.68983096",
"0.684299... | 0.7960299 | 1 |
Inserts a new node as the left child of the root | def xLXf(YKHO, BQJU):
if YKHO.leftChild is None:
YKHO.leftChild = fg9Z(BQJU)
else:
a1PO = fg9Z(BQJU)
a1PO.leftChild = YKHO.leftChild
YKHO.leftChild = a1PO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xLXf(YKHO, Q6kx):\n if not YKHO.leftChild:\n YKHO.leftChild = fg9Z(Q6kx)\n else:\n tk5Y = fg9Z(Q6kx)\n tk5Y.leftChild = YKHO.leftChild\n YKHO.leftChild = tk5Y",
"def pTNu(YKHO, Esd_):\n if YKHO.leftChild is None:\n YKHO.leftChild = fg9Z(Esd_)\n else:\n a1... | [
"0.8756141",
"0.8591665",
"0.85236585",
"0.8456989",
"0.8030226",
"0.7958441",
"0.7908558",
"0.78983593",
"0.7654041",
"0.76239485",
"0.7557793",
"0.75455344",
"0.7518344",
"0.7505056",
"0.7425926",
"0.7367472",
"0.73352796",
"0.73261714",
"0.7278286",
"0.7205869",
"0.7166108... | 0.85308605 | 2 |
Return waypoint path between port1 and port2 in a U shape. Useful when ports face the same direction or toward each other. | def MWwb(boXh: Port, XXPt: Port, SGpO=200) -> GkAb:
dAKJ = oyIN.round(oyIN.abs(oyIN.mod(boXh.orientation - XXPt.orientation, 360)), 3)
if dAKJ not in (0, 180, 360):
raise ValueError('path_U(): ports must be parallel.')
q7In = oyIN.radians(boXh.orientation)
TP50 = oyIN.array([oyIN.cos(q7In), oyIN... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jFrl(boXh: Port, XXPt: Port) -> GkAb:\n dAKJ = oyIN.round(oyIN.abs(oyIN.mod(boXh.orientation - XXPt.orientation, 360)), 3)\n if dAKJ not in (90, 270):\n raise ValueError('path_L(): ports must be orthogonal.')\n TP50, fHZS = d6nZ(boXh.orientation)\n X3qZ = boXh.center\n uAKT = XXPt.center\... | [
"0.70991766",
"0.70276785",
"0.6900413",
"0.68973833",
"0.689167",
"0.6420299",
"0.63256925",
"0.62851626",
"0.62105554",
"0.57875764",
"0.57503027",
"0.57010156",
"0.5591674",
"0.558899",
"0.55761397",
"0.5538909",
"0.5526554",
"0.54659396",
"0.5442781",
"0.5432852",
"0.5415... | 0.8081936 | 0 |
Return waypoint path between port1 and port2 in a C shape. Useful when ports are parallel and face away from each other. | def P5Iu(boXh: Port, XXPt: Port, SGpO=100, LXQN=100, Wzcb=100) -> GkAb:
dAKJ = oyIN.round(oyIN.abs(oyIN.mod(boXh.orientation - XXPt.orientation, 360)), 3)
if dAKJ not in (0, 180, 360):
raise ValueError('path_C(): ports must be parallel.')
TP50, QGc7 = d6nZ(boXh.orientation)
fHZS, bGrB = d6nZ(XXP... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jFrl(boXh: Port, XXPt: Port) -> GkAb:\n dAKJ = oyIN.round(oyIN.abs(oyIN.mod(boXh.orientation - XXPt.orientation, 360)), 3)\n if dAKJ not in (90, 270):\n raise ValueError('path_L(): ports must be orthogonal.')\n TP50, fHZS = d6nZ(boXh.orientation)\n X3qZ = boXh.center\n uAKT = XXPt.center\... | [
"0.7247392",
"0.7145642",
"0.711626",
"0.7094627",
"0.697476",
"0.66932225",
"0.6588398",
"0.6442864",
"0.63862664",
"0.60798085",
"0.6019206",
"0.59683084",
"0.59478945",
"0.59129804",
"0.58334655",
"0.57053554",
"0.57050556",
"0.56845576",
"0.5651667",
"0.5634281",
"0.56268... | 0.7641078 | 0 |
Return waypoint path between port1 and port2 in a V shape. Useful when \ ports point to a single connecting point. | def wtEG(boXh: Port, XXPt: Port) -> GkAb:
TP50, bGrB = d6nZ(boXh.orientation)
fHZS, bGrB = d6nZ(XXPt.orientation)
X3qZ = boXh.center
uAKT = XXPt.center
ut5U = oyIN.column_stack((TP50, -1 * fHZS))
ZYCo = oyIN.matmul(oyIN.linalg.inv(ut5U), uAKT - X3qZ)[0] * TP50 + X3qZ
return GkAb(oyIN.array([... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jFrl(boXh: Port, XXPt: Port) -> GkAb:\n dAKJ = oyIN.round(oyIN.abs(oyIN.mod(boXh.orientation - XXPt.orientation, 360)), 3)\n if dAKJ not in (90, 270):\n raise ValueError('path_L(): ports must be orthogonal.')\n TP50, fHZS = d6nZ(boXh.orientation)\n X3qZ = boXh.center\n uAKT = XXPt.center\... | [
"0.737265",
"0.73459953",
"0.716158",
"0.70198476",
"0.7015207",
"0.6698849",
"0.66968465",
"0.6217737",
"0.61900556",
"0.61201423",
"0.60284793",
"0.59853506",
"0.5933778",
"0.5835231",
"0.58270353",
"0.58139193",
"0.5750928",
"0.5694212",
"0.5675728",
"0.5649015",
"0.564846... | 0.8066422 | 0 |
Returns a sorted list of (code, translation) tuples for currency codes | def gjrL(F_cR=dDnA.PRIORITY_CURRENCY_CODES, cwhV=dDnA.ALL_CURRENCY_CODES):
vnXf = list(set(cwhV) - set(F_cR))
H5ew = goNn(F_cR + vnXf, True)
uKZs = Swf8(H5ew)
if uKZs:
return uKZs
uKZs = Swf8(H5ew)
_CiP = IHYV(F_cR)
uKZs = NP2I(vnXf)
acD5 = _CiP + uKZs
DZjS(H5ew, acD5)
re... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mCEK(cwhV):\n uKZs = [(Wxnj, ppNb(Wxnj)) for Wxnj in cwhV]\n return uKZs",
"def NP2I(cwhV=dDnA.ALL_CURRENCY_CODES):\n H5ew = goNn(cwhV, True)\n uKZs = Swf8(H5ew)\n if uKZs:\n return uKZs\n uKZs = sorted(mCEK(cwhV), key=xBlr.cmp_to_key(lambda jzdc, Fg_i: NCqB.strcoll(jzdc[1], Fg_i[1])... | [
"0.7201554",
"0.7061874",
"0.68916774",
"0.6478487",
"0.62557745",
"0.61402476",
"0.61043644",
"0.6022232",
"0.59327537",
"0.57710683",
"0.57681334",
"0.57665384",
"0.5765508",
"0.57433724",
"0.57072455",
"0.5633883",
"0.5626604",
"0.56054574",
"0.55776566",
"0.5568993",
"0.5... | 0.6075112 | 7 |
Load the model associated with the dataset. | def uyMl(j3aw, tpio, SXDc, hzL5):
if j3aw == 'mnist_012':
C3ST = PdQS(dim=tpio, laplacian_matrix=SXDc, shifted_laplacian_matrix=hzL5, batch_size=Pp2K, learning_rate=RYHy, load_pretrained_weights=True)
elif j3aw == 'mnist_rot':
C3ST = zZ_E(dim=tpio, laplacian_matrix=SXDc, shifted_laplacian_matrix... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uyMl(YKHO):\n pass",
"def uyMl(YKHO):\n pass",
"def uyMl(YKHO):\n pass",
"def uyMl(YKHO):\n pass",
"def tyeH(YKHO):\n YKHO.model = wOed.load_from_file(Hy7s.path.join(YKHO.scenario.data_dir, YKHO.model_file))",
"def uyMl(YKHO):\n NotImplementedError()",
"def tyeH(YKHO, __n6, eG0V):... | [
"0.8324861",
"0.8324861",
"0.8324861",
"0.8324861",
"0.7944776",
"0.7940276",
"0.79368484",
"0.7889378",
"0.7889378",
"0.7845907",
"0.7763145",
"0.7713918",
"0.7691941",
"0.7621036",
"0.76112324",
"0.7571232",
"0.7549774",
"0.7528243",
"0.7511106",
"0.7509415",
"0.7508696",
... | 0.0 | -1 |
Return a guaranteedunique version of a given filename. | def kcwm(Ux0P):
if not Hy7s.path.exists(Ux0P):
return Ux0P
else:
SQ3m = Ux0P.split('.')
SQ3m.insert(-1, '%d')
XlSS = '.'.join(SQ3m)
mLGw = 0
while Hy7s.path.exists(XlSS % mLGw):
mLGw += 1
return XlSS % mLGw | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uuqz(Ux0P):\n return '%s__%s' % (kxTZ(), Ux0P)",
"def wOyJ(Ux0P: str) -> str:\n _c1T = qcWV.utcnow().strftime('%Y-%m-%d-%H%M%S')\n aPr_, Fst3 = Ux0P.rsplit('.', 1)\n return '{0}-{1}-{2}.{3}'.format(aPr_, _c1T, str(kxTZ()), Fst3)",
"def Lj0k(IznC):\n if not Hy7s.path.exists(IznC):\n re... | [
"0.8487091",
"0.84635305",
"0.82474434",
"0.7960983",
"0.7500985",
"0.7494641",
"0.7453554",
"0.7415511",
"0.7410022",
"0.7395847",
"0.7276017",
"0.72294456",
"0.72041863",
"0.71762407",
"0.7165418",
"0.71292764",
"0.71194094",
"0.7003163",
"0.6978233",
"0.693658",
"0.6931963... | 0.8457083 | 2 |