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 |
|---|---|---|---|---|---|---|
A mapping of tags to assign to the Virtual Hub. | def dJ1p(YKHO) -> h8nf[qe4Y.Input[GySg[str, qe4Y.Input[str]]]]:
return qe4Y.get(YKHO, 'tags') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> G... | [
"0.7096845",
"0.7096845",
"0.7096845",
"0.7096845",
"0.7096845",
"0.7096845",
"0.7096845",
"0.7096845",
"0.7096845",
"0.7096845",
"0.7096845",
"0.7096845",
"0.7096845",
"0.7096845",
"0.66385376",
"0.63898426",
"0.6320334",
"0.6310643",
"0.6282639",
"0.62472415",
"0.6178945",
... | 0.0 | -1 |
The ID of the default Route Table in the Virtual Hub. | def fAfe(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'default_route_table_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fAfe(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'default_route_table_id')",
"def Fknb(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'route_table_id')",
"def Fknb(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'route_table_id')",
"def Fknb(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(... | [
"0.84057915",
"0.7854175",
"0.7654083",
"0.7566701",
"0.70996344",
"0.6920149",
"0.6815583",
"0.6786553",
"0.6638212",
"0.6616624",
"0.6435986",
"0.63759446",
"0.63759446",
"0.62587905",
"0.62051713",
"0.620471",
"0.62001085",
"0.6193702",
"0.6175103",
"0.6111875",
"0.6096830... | 0.8138624 | 1 |
Specifies the name of the Resource Group where the Virtual Hub should exist. Changing this forces a new resource to be created. | def TRLE(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'resource_group_name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gMm1(YKHO, mWFP):\n YKHO.groupName = mWFP",
"def b0A6(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'virtual_network_resource_group')",
"def TRLE(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'resource_group_name')",
"def TRLE(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'resourc... | [
"0.65598124",
"0.6449571",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",
"0.63728034",... | 0.62469804 | 80 |
The SKU of the Virtual Hub. Possible values are `Basic` and `Standard`. Changing this forces a new resource to be created. | def PXIM(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'sku') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PXIM(YKHO) -> str:\n return qe4Y.get(YKHO, 'sku')",
"def PXIM(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'sku')",
"def PXIM(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'sku')",
"def PXIM(YKHO) -> 'outputs.ResourceSkuResponse':\n return qe4Y.get(YKHO, 'sku')",
"def PXIM(YKHO) -> qe4Y.Input[... | [
"0.73639935",
"0.7180977",
"0.7180977",
"0.71800137",
"0.71649206",
"0.71649206",
"0.7011459",
"0.7002825",
"0.6992678",
"0.6992678",
"0.6988666",
"0.6988666",
"0.6988666",
"0.6988666",
"0.69587505",
"0.69587505",
"0.69587505",
"0.6936166",
"0.69309825",
"0.6927545",
"0.68127... | 0.70511234 | 6 |
A mapping of tags to assign to the Virtual Hub. | def dJ1p(YKHO) -> h8nf[qe4Y.Input[GySg[str, qe4Y.Input[str]]]]:
return qe4Y.get(YKHO, 'tags') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> G... | [
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.6637477",
"0.6392514",
"0.6320107",
"0.63092935",
"0.62831",
"0.624558",
"0.61814046",
"0... | 0.0 | -1 |
The ID of the default Route Table in the Virtual Hub. | def fAfe(YKHO) -> qe4Y.Output[str]:
return qe4Y.get(YKHO, 'default_route_table_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fAfe(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'default_route_table_id')",
"def Fknb(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'route_table_id')",
"def Fknb(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'route_table_id')",
"def Fknb(YKHO) -> qe4Y.Input[str]:\n return qe4Y... | [
"0.8138009",
"0.7855492",
"0.7656316",
"0.75688416",
"0.7101402",
"0.69219226",
"0.6814848",
"0.67876345",
"0.66382486",
"0.66173047",
"0.6435514",
"0.6378145",
"0.6378145",
"0.6258203",
"0.6206054",
"0.62051237",
"0.6198245",
"0.6194159",
"0.6173492",
"0.61127424",
"0.609689... | 0.8405753 | 0 |
Specifies the name of the Resource Group where the Virtual Hub should exist. Changing this forces a new resource to be created. | def TRLE(YKHO) -> qe4Y.Output[str]:
return qe4Y.get(YKHO, 'resource_group_name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gMm1(YKHO, mWFP):\n YKHO.groupName = mWFP",
"def b0A6(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'virtual_network_resource_group')",
"def TRLE(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'resource_group_name')",
"def TRLE(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'resourc... | [
"0.6557469",
"0.6449125",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"0.6371131",
"... | 0.0 | -1 |
The SKU of the Virtual Hub. Possible values are `Basic` and `Standard`. Changing this forces a new resource to be created. | def PXIM(YKHO) -> qe4Y.Output[h8nf[str]]:
return qe4Y.get(YKHO, 'sku') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PXIM(YKHO) -> str:\n return qe4Y.get(YKHO, 'sku')",
"def PXIM(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'sku')",
"def PXIM(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'sku')",
"def PXIM(YKHO) -> 'outputs.ResourceSkuResponse':\n return qe4Y.get(YKHO, 'sku')",
"def PXIM(YKHO) -> qe4Y.Input[... | [
"0.73619044",
"0.7178878",
"0.7178878",
"0.7178291",
"0.716234",
"0.716234",
"0.7048674",
"0.7048674",
"0.7048674",
"0.7048674",
"0.7048674",
"0.7048674",
"0.7048674",
"0.7048674",
"0.700951",
"0.7000642",
"0.6986172",
"0.6986172",
"0.6986172",
"0.6986172",
"0.6955877",
"0.... | 0.69905794 | 16 |
A mapping of tags to assign to the Virtual Hub. | def dJ1p(YKHO) -> qe4Y.Output[h8nf[GySg[str, str]]]:
return qe4Y.get(YKHO, 'tags') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')",
"def dJ1p(YKHO) -> G... | [
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.7096124",
"0.6637477",
"0.6392514",
"0.6320107",
"0.63092935",
"0.62831",
"0.624558",
"0.61814046",
"0... | 0.599755 | 92 |
cast(itkLightObject obj) > itkSimpleMultipleContourExtractorImageFilterIUC2IUC2 | def YWvJ(*qIxc):
return cBGj.itkSimpleMultipleContourExtractorImageFilterIUC2IUC2_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gDPs(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC2IUC2 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC2IUC2_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC2IUC2 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC2IUC2_cas... | [
"0.8898619",
"0.8883821",
"0.84407604",
"0.84373516",
"0.840959",
"0.83156085",
"0.8315234",
"0.8281776",
"0.8261261",
"0.8173965",
"0.81730026",
"0.81241614",
"0.81207055",
"0.811531",
"0.8097085",
"0.8094334",
"0.8092338",
"0.8089354",
"0.80850744",
"0.80786175",
"0.8063283... | 0.0 | -1 |
New() > itkSimpleMultipleContourExtractorImageFilterIUC2IUC2 Create a new object of the class itkSimpleMultipleContourExtractorImageFilterIUC2IUC2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the ne... | def oW_4(*qIxc, **PECO):
YEnM = qoCp.__New_orig__()
import itkTemplate
itkTemplate.New(YEnM, *qIxc, **PECO)
return YEnM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oW_4(*qIxc, **PECO):\n YEnM = krdX.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = pgJ3.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.81646377",
"0.7936427",
"0.7912341",
"0.79081064",
"0.786822",
"0.786822",
"0.7787058",
"0.77827483",
"0.7771052",
"0.77477384",
"0.7738671",
"0.7716403",
"0.7704898",
"0.7701819",
"0.7668733",
"0.76677626",
"0.7661111",
"0.7653623",
"0.7652184",
"0.7651857",
"0.7644864",
... | 0.8292958 | 0 |
itkSimpleMultipleContourExtractorImageFilterIUC2IUC2_cast(itkLightObject obj) > itkSimpleMultipleContourExtractorImageFilterIUC2IUC2 | def KDa3(*qIxc):
return cBGj.itkSimpleMultipleContourExtractorImageFilterIUC2IUC2_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gDPs(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC2IUC2 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC2IUC2_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC2IUC2 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC2IUC2_cas... | [
"0.93792474",
"0.90916914",
"0.8799449",
"0.85930663",
"0.8552422",
"0.85401875",
"0.8526927",
"0.84488827",
"0.8432548",
"0.8429619",
"0.84248745",
"0.8424696",
"0.8418728",
"0.84184176",
"0.8398893",
"0.8393259",
"0.8362071",
"0.835277",
"0.8324195",
"0.8291822",
"0.8282361... | 0.8476684 | 7 |
cast(itkLightObject obj) > itkSimpleMultipleContourExtractorImageFilterIUC3IUC3 | def YWvJ(*qIxc):
return cBGj.itkSimpleMultipleContourExtractorImageFilterIUC3IUC3_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC3IUC3 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC3IUC3_cast(YEnM)",
"def cC8Y(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC3IUC3 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC3IUC3_cas... | [
"0.88748264",
"0.8856856",
"0.8562136",
"0.8514224",
"0.8458631",
"0.84080386",
"0.83393383",
"0.8337777",
"0.8283769",
"0.8273368",
"0.8255199",
"0.8206198",
"0.81691",
"0.81570625",
"0.8059386",
"0.805389",
"0.8045304",
"0.8027022",
"0.80041766",
"0.7986251",
"0.797039",
... | 0.0 | -1 |
New() > itkSimpleMultipleContourExtractorImageFilterIUC3IUC3 Create a new object of the class itkSimpleMultipleContourExtractorImageFilterIUC3IUC3 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the ne... | def oW_4(*qIxc, **PECO):
YEnM = QRLV.__New_orig__()
import itkTemplate
itkTemplate.New(YEnM, *qIxc, **PECO)
return YEnM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oW_4(*qIxc, **PECO):\n YEnM = C2sl.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = oye3.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.82289165",
"0.80858964",
"0.8032959",
"0.7974708",
"0.7974708",
"0.7961683",
"0.7869015",
"0.78638774",
"0.78624374",
"0.78414714",
"0.7827487",
"0.7820968",
"0.77990925",
"0.77931124",
"0.778663",
"0.77803147",
"0.77773845",
"0.7775286",
"0.77692294",
"0.7766044",
"0.7750... | 0.83681476 | 0 |
itkSimpleMultipleContourExtractorImageFilterIUC3IUC3_cast(itkLightObject obj) > itkSimpleMultipleContourExtractorImageFilterIUC3IUC3 | def ZV7F(*qIxc):
return cBGj.itkSimpleMultipleContourExtractorImageFilterIUC3IUC3_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cC8Y(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC3IUC3 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC3IUC3_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC3IUC3 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC3IUC3_cas... | [
"0.93464845",
"0.90148234",
"0.8861147",
"0.8659495",
"0.86405545",
"0.8631324",
"0.862805",
"0.8519993",
"0.8453259",
"0.8435814",
"0.84298015",
"0.8411161",
"0.8395243",
"0.83909583",
"0.8371679",
"0.8361281",
"0.8354715",
"0.8338197",
"0.8337275",
"0.8329701",
"0.8285277",... | 0.8477955 | 8 |
cast(itkLightObject obj) > itkSimpleMultipleContourExtractorImageFilterIUL2IUL2 | def YWvJ(*qIxc):
return cBGj.itkSimpleMultipleContourExtractorImageFilterIUL2IUL2_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIF2IF2 *':\n return zWdX.itkSimpleContourExtractorImageFilterIF2IF2_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC2IUC2 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC2IUC2_cast(YE... | [
"0.8587684",
"0.85802",
"0.8474408",
"0.84531087",
"0.8254241",
"0.81639487",
"0.81333095",
"0.8071168",
"0.8050599",
"0.80497247",
"0.80426747",
"0.80071527",
"0.79831874",
"0.797937",
"0.79720974",
"0.79669136",
"0.7956335",
"0.79545254",
"0.7900575",
"0.7892451",
"0.788107... | 0.0 | -1 |
New() > itkSimpleMultipleContourExtractorImageFilterIUL2IUL2 Create a new object of the class itkSimpleMultipleContourExtractorImageFilterIUL2IUL2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the ne... | def oW_4(*qIxc, **PECO):
YEnM = pgJ3.__New_orig__()
import itkTemplate
itkTemplate.New(YEnM, *qIxc, **PECO)
return YEnM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oW_4(*qIxc, **PECO):\n YEnM = qoCp.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = krdX.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.8048835",
"0.78328717",
"0.779282",
"0.77004737",
"0.76598924",
"0.7624767",
"0.76221883",
"0.75836515",
"0.7569125",
"0.7539001",
"0.7514246",
"0.7494765",
"0.74903566",
"0.7482408",
"0.7481789",
"0.74723655",
"0.7459368",
"0.74528795",
"0.742037",
"0.7419031",
"0.7416919... | 0.82122004 | 0 |
itkSimpleMultipleContourExtractorImageFilterIUL2IUL2_cast(itkLightObject obj) > itkSimpleMultipleContourExtractorImageFilterIUL2IUL2 | def QORD(*qIxc):
return cBGj.itkSimpleMultipleContourExtractorImageFilterIUL2IUL2_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gDPs(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC2IUC2 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC2IUC2_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC2IUC2 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC2IUC2_cas... | [
"0.89401877",
"0.8824165",
"0.8792476",
"0.8743827",
"0.83864194",
"0.83677506",
"0.83476144",
"0.8297867",
"0.8226244",
"0.8210343",
"0.8201507",
"0.8166996",
"0.8160079",
"0.81535476",
"0.81258786",
"0.81215996",
"0.81167066",
"0.8115245",
"0.8110853",
"0.8092918",
"0.80853... | 0.8208566 | 10 |
cast(itkLightObject obj) > itkSimpleMultipleContourExtractorImageFilterIUL3IUL3 | def YWvJ(*qIxc):
return cBGj.itkSimpleMultipleContourExtractorImageFilterIUL3IUL3_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIF3IF3 *':\n return zWdX.itkSimpleContourExtractorImageFilterIF3IF3_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC3IUC3 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC3IUC3_cast(YE... | [
"0.85969007",
"0.8585968",
"0.8502028",
"0.8496066",
"0.8421263",
"0.83826303",
"0.8334537",
"0.81815064",
"0.81108755",
"0.80765057",
"0.8050627",
"0.7976501",
"0.7944554",
"0.79387355",
"0.7929457",
"0.7919896",
"0.7899366",
"0.7892174",
"0.78892934",
"0.7874373",
"0.787152... | 0.0 | -1 |
New() > itkSimpleMultipleContourExtractorImageFilterIUL3IUL3 Create a new object of the class itkSimpleMultipleContourExtractorImageFilterIUL3IUL3 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the ne... | def oW_4(*qIxc, **PECO):
YEnM = oye3.__New_orig__()
import itkTemplate
itkTemplate.New(YEnM, *qIxc, **PECO)
return YEnM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oW_4(*qIxc, **PECO):\n YEnM = QRLV.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = D7Oh.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.8103502",
"0.7944346",
"0.7905776",
"0.78822225",
"0.7714785",
"0.7683878",
"0.7680061",
"0.7674041",
"0.765657",
"0.76515067",
"0.76459384",
"0.76338166",
"0.7605595",
"0.7602606",
"0.7554372",
"0.75457627",
"0.7537818",
"0.753463",
"0.753221",
"0.7531464",
"0.75286293",
... | 0.82667136 | 0 |
itkSimpleMultipleContourExtractorImageFilterIUL3IUL3_cast(itkLightObject obj) > itkSimpleMultipleContourExtractorImageFilterIUL3IUL3 | def pG7F(*qIxc):
return cBGj.itkSimpleMultipleContourExtractorImageFilterIUL3IUL3_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RN2k(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIF3IF3 *':\n return zWdX.itkSimpleContourExtractorImageFilterIF3IF3_cast(YEnM)",
"def cC8Y(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUC3IUC3 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUC3IUC3_cast(YE... | [
"0.89961386",
"0.89860314",
"0.8834345",
"0.8829949",
"0.8766095",
"0.86925983",
"0.8642341",
"0.85716754",
"0.8366744",
"0.8296258",
"0.82494193",
"0.8212563",
"0.8155936",
"0.81523407",
"0.815139",
"0.81489116",
"0.8146829",
"0.81458646",
"0.8133826",
"0.81251657",
"0.81171... | 0.83128 | 9 |
cast(itkLightObject obj) > itkSimpleMultipleContourExtractorImageFilterIUS2IUS2 | def YWvJ(*qIxc):
return cBGj.itkSimpleMultipleContourExtractorImageFilterIUS2IUS2_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUS2IUS2 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUS2IUS2_cast(YEnM)",
"def wMVp(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUS2IUS2 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUS2IUS2_cas... | [
"0.88124686",
"0.87333715",
"0.83236676",
"0.8311033",
"0.8295018",
"0.8221627",
"0.8189597",
"0.81547886",
"0.8134627",
"0.81019586",
"0.80368423",
"0.803191",
"0.79861754",
"0.79438055",
"0.7924534",
"0.79049",
"0.7890759",
"0.788539",
"0.78451514",
"0.78306895",
"0.7822043... | 0.0 | -1 |
New() > itkSimpleMultipleContourExtractorImageFilterIUS2IUS2 Create a new object of the class itkSimpleMultipleContourExtractorImageFilterIUS2IUS2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the ne... | def oW_4(*qIxc, **PECO):
YEnM = SwUT.__New_orig__()
import itkTemplate
itkTemplate.New(YEnM, *qIxc, **PECO)
return YEnM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oW_4(*qIxc, **PECO):\n YEnM = ptK5.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = yNov.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.8128189",
"0.78261006",
"0.77744216",
"0.77086586",
"0.7704141",
"0.76997614",
"0.76573205",
"0.76573205",
"0.76556313",
"0.7600051",
"0.7586311",
"0.7586013",
"0.75800097",
"0.7568932",
"0.7568583",
"0.75634575",
"0.7562736",
"0.75561154",
"0.7550608",
"0.7544139",
"0.754... | 0.8316523 | 0 |
itkSimpleMultipleContourExtractorImageFilterIUS2IUS2_cast(itkLightObject obj) > itkSimpleMultipleContourExtractorImageFilterIUS2IUS2 | def iDtg(*qIxc):
return cBGj.itkSimpleMultipleContourExtractorImageFilterIUS2IUS2_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wMVp(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUS2IUS2 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUS2IUS2_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUS2IUS2 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUS2IUS2_cas... | [
"0.92479426",
"0.9073281",
"0.8498919",
"0.84446514",
"0.8444212",
"0.8439316",
"0.8414136",
"0.8375298",
"0.8340859",
"0.83391684",
"0.83053845",
"0.82588494",
"0.82044405",
"0.8195839",
"0.819415",
"0.81588864",
"0.8146249",
"0.8123306",
"0.8120836",
"0.81116426",
"0.811063... | 0.8251715 | 12 |
cast(itkLightObject obj) > itkSimpleMultipleContourExtractorImageFilterIUS3IUS3 | def YWvJ(*qIxc):
return cBGj.itkSimpleMultipleContourExtractorImageFilterIUS3IUS3_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUS3IUS3 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUS3IUS3_cast(YEnM)",
"def Swxs(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUS3IUS3 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUS3IUS3_cas... | [
"0.8753951",
"0.86203873",
"0.83460057",
"0.8311167",
"0.82981235",
"0.8296902",
"0.81867963",
"0.81623304",
"0.810041",
"0.80772763",
"0.8062246",
"0.80596364",
"0.8019445",
"0.7919905",
"0.78776854",
"0.786828",
"0.78642756",
"0.78636354",
"0.7859898",
"0.7840754",
"0.78363... | 0.0 | -1 |
New() > itkSimpleMultipleContourExtractorImageFilterIUS3IUS3 Create a new object of the class itkSimpleMultipleContourExtractorImageFilterIUS3IUS3 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the ne... | def oW_4(*qIxc, **PECO):
YEnM = D7Oh.__New_orig__()
import itkTemplate
itkTemplate.New(YEnM, *qIxc, **PECO)
return YEnM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oW_4(*qIxc, **PECO):\n YEnM = tIyp.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = oye3.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.8120417",
"0.7970094",
"0.78948",
"0.78835225",
"0.77039003",
"0.76982975",
"0.76982975",
"0.76926124",
"0.76857615",
"0.76707137",
"0.76696163",
"0.7625329",
"0.7610802",
"0.76065016",
"0.760079",
"0.7598249",
"0.7597058",
"0.7595137",
"0.75934225",
"0.75918806",
"0.75841... | 0.8360875 | 0 |
itkSimpleMultipleContourExtractorImageFilterIUS3IUS3_cast(itkLightObject obj) > itkSimpleMultipleContourExtractorImageFilterIUS3IUS3 | def mXrU(*qIxc):
return cBGj.itkSimpleMultipleContourExtractorImageFilterIUS3IUS3_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Swxs(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUS3IUS3 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUS3IUS3_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkSimpleContourExtractorImageFilterIUS3IUS3 *':\n return zWdX.itkSimpleContourExtractorImageFilterIUS3IUS3_cas... | [
"0.91598254",
"0.89453334",
"0.8700846",
"0.86283267",
"0.8549015",
"0.854589",
"0.84993416",
"0.84283656",
"0.83270884",
"0.82399255",
"0.82342637",
"0.8178313",
"0.8169898",
"0.8137602",
"0.811158",
"0.8107426",
"0.8067228",
"0.8065803",
"0.8063131",
"0.8028783",
"0.800294"... | 0.83114904 | 9 |
Return true if batt powering bus for significant time period. | def vXg6(YKHO, ozlK):
for YRbF, in58 in enumerate(YKHO._aio_nodes):
KAOo = YKHO._batts[YRbF]
NbJF = KAOo.batt_mon.analog_data[YKHO._i_hall_index]
if ozlK[in58].Check(NbJF):
return True
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jP65():\n return False",
"def jP65():\n return False",
"def jP65():\n return False",
"def uF5L(YKHO):\n return YKHO.__fona__.is_power_on()",
"def cK31():\n hgk9 = Yn3K.check_output(['pmset', '-g', 'batt'])\n return 'Battery Power' in hgk9",
"def ayMD(YKHO):\n return YKHO.get_stat... | [
"0.6957641",
"0.6957641",
"0.6957641",
"0.6731083",
"0.6664742",
"0.6621876",
"0.6509678",
"0.6505658",
"0.65044594",
"0.6471002",
"0.6466407",
"0.64433277",
"0.6440914",
"0.6437982",
"0.6428072",
"0.639349",
"0.63535976",
"0.6349203",
"0.6346569",
"0.6344569",
"0.632511",
... | 0.0 | -1 |
Returns True if path exists and is not ignored. | def vtfo(YKHO, PsRC):
if YKHO.isignored(YKHO._append_slash_if_dir_path(PsRC)):
return False
return YKHO._exists_raw(PsRC) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vtfo(YKHO, pmON):\n return False",
"def vtfo(pmON):\n return bool",
"def _35x(YKHO) -> bool:\n return Hy7s.path.exists(YKHO.pathname)",
"def vtfo(YKHO, pmON: str) -> bool:\n pass",
"def cw5c(qaEx: pathlib.Path) -> bool:\n try:\n return qaEx.exists()\n except OSError:\n r... | [
"0.8247991",
"0.8230869",
"0.8190068",
"0.81649476",
"0.8108999",
"0.81002945",
"0.80700696",
"0.8065339",
"0.80651385",
"0.8038737",
"0.80128855",
"0.79529715",
"0.7900326",
"0.78944117",
"0.78886855",
"0.7861354",
"0.78458995",
"0.78213316",
"0.7806602",
"0.77897435",
"0.77... | 0.74346775 | 51 |
Walk the file tree rooted at `path`. Works like os.walk but returned root value is relative path. Ignored paths will not be returned. | def ZAda(YKHO, PsRC, gqzO=True):
for tk5Y, AQSv, RRlC in YKHO._walk_raw(PsRC, gqzO):
ybAg = YKHO.ignore.match_files([Hy7s.path.join(tk5Y, '{}/'.format(Csk6)) for Csk6 in AQSv])
h4_O = YKHO.ignore.match_files([Hy7s.path.join(tk5Y, eHNT) for eHNT in RRlC])
for k5W7 in ybAg:
AQSv.re... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZAda(YKHO, pmON):\n return Hy7s.walk(YKHO.abs(pmON))",
"def ttCz(pmON: Path):\n for tk5Y, ucBt, RRlC in Hy7s.walk(str(pmON)):\n UIhB = GkAb(tk5Y).relative_to(pmON)\n ucBt[:] = [eHNT for eHNT in ucBt if eHNT not in ['.git']]\n for Ux0P in RRlC:\n t_yv = UIhB / Ux0P\n ... | [
"0.7659217",
"0.7502279",
"0.72282296",
"0.6988959",
"0.69611555",
"0.68174267",
"0.67763126",
"0.67334425",
"0.65563715",
"0.65095484",
"0.6504034",
"0.6459202",
"0.64433515",
"0.6441231",
"0.6411473",
"0.6392491",
"0.6392491",
"0.6392491",
"0.6392491",
"0.6392491",
"0.63842... | 0.0 | -1 |
For a dir path return a path that has a trailing slash. | def gzdP(YKHO, PsRC):
if YKHO._isdir_raw(PsRC):
return YKHO._append_trailing_slash(PsRC)
return PsRC | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fRAO(eHKs):\n return Hy7s.path.normpath(eHKs) + Hy7s.path.sep",
"def nAD0(pmON):\n AXJc = ENtY(pmON)\n if pmON.endswith(IA6W + '.'):\n return AXJc + IA6W + '.'\n return AXJc",
"def okwU(dir):\n if dir[-1] != '/':\n dir += '/'\n return dir",
"def TXkm(pmON):\n return pmO... | [
"0.81856686",
"0.7325856",
"0.72961164",
"0.7255403",
"0.7110133",
"0.70356137",
"0.7033585",
"0.69670767",
"0.6930229",
"0.6914957",
"0.69122046",
"0.6832616",
"0.67872775",
"0.67708147",
"0.6679895",
"0.6673259",
"0.6536079",
"0.6534526",
"0.65239733",
"0.6515559",
"0.65041... | 0.73426956 | 1 |
Creates a grid of the image colors | def MJmW(YKHO, aHEA=False, tuKI=False, xkzz=True, Cs6h=50, l5Ny=True, pmez=(0, 0, 0), dKiM=False, FH7u=-1, G2Re=-1):
Jw9H = YKHO.__reduced_color_key_ordered_list
Bibo = YKHO.__grid_swatch_width
qizI = YKHO.__grid_spacing
W8WQ = YKHO.__grid_max_size
if FH7u > 0:
Bibo = FH7u
if G2Re > -1:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Lm0U(YKHO):\n Kmi0 = YKHO.width_number\n l5eN = YKHO.height_number\n ONBY = [[0 for WKvO in range(Kmi0)] for LVAh in range(l5eN)]\n for YRbF in range(Kmi0):\n for r845 in range(l5eN):\n ONBY[r845][YRbF] = Eizh(r845, YRbF, YKHO.final_image[r845, YRbF])\n for YRbF in range(Kmi0):... | [
"0.69789994",
"0.67184067",
"0.67133874",
"0.6663879",
"0.6655243",
"0.66434485",
"0.6631171",
"0.6571138",
"0.65708315",
"0.65648633",
"0.65613216",
"0.64943534",
"0.6484804",
"0.6471642",
"0.6455038",
"0.643864",
"0.64291084",
"0.64161325",
"0.64145386",
"0.6411651",
"0.640... | 0.0 | -1 |
Calculates the maximum number of grid rows/columns | def GJ9f(YKHO, nPrm, Bibo, qizI, hlel=True):
if hlel:
print('\n')
W8WQ = epAf.floor(epAf.sqrt(len(nPrm)))
if W8WQ * (Bibo + qizI) > YKHO.__max_length:
if hlel:
print('The grid size was limited by a max width of: {}'.format(YKHO.__max_length))
W8WQ = epAf.floor(YKHO.__max_... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Gh0c(YKHO):\n x5AE = 0\n for Mkmy in YKHO.rows:\n if not Mkmy:\n continue\n VmPb = Mkmy[-1]\n x5AE = max(x5AE, VmPb.column)\n YKHO._max_row = VmPb.row\n YKHO._max_column = x5AE",
"def U4F5(Npy1, avru=None):\n wjRY = len(Npy1)\n ojeH = PZyS(wjRY)\n WfCS = i... | [
"0.7843114",
"0.77589095",
"0.7653566",
"0.7595628",
"0.7429898",
"0.7325388",
"0.73063403",
"0.7265823",
"0.719252",
"0.7184914",
"0.7139414",
"0.71306413",
"0.70256275",
"0.7014741",
"0.7007656",
"0.70061266",
"0.7001858",
"0.69991523",
"0.6993077",
"0.6990083",
"0.6979002"... | 0.6975457 | 21 |
Sorts colors by HSL | def S_at(alop):
W2in = list()
for LihS in alop:
YULi = []
for WKvO in range(3):
YULi.append(LihS[WKvO] / 255.0)
W2in.append(YULi)
W2in.sort(key=lambda d7Eb: h478.rgb_to_hls(*d7Eb))
mTL8 = []
for LihS in W2in:
YULi = []
for xBsl in LihS:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aUdi(YKHO) -> None:\n ...",
"def xtUT(Jw9H):\n nPrm = []\n for UHFx, qfpW in Jw9H:\n nPrm.extend(UHFx * [qfpW])\n return nPrm.sort()",
"def rtpO(xyoL):\n W2in = list()\n for H5ew, BWXx in xyoL.items():\n YULi = []\n for WKvO in range(3):\n YULi.append(H5ew[... | [
"0.79578876",
"0.7564192",
"0.74168247",
"0.73105246",
"0.6906503",
"0.68836683",
"0.68694407",
"0.68529224",
"0.68345755",
"0.6828212",
"0.68132657",
"0.6792464",
"0.6784028",
"0.6714121",
"0.6690333",
"0.6648487",
"0.66450346",
"0.66103894",
"0.6608377",
"0.66039324",
"0.65... | 0.77779245 | 1 |
Returns an HTTP basic authentication encrypted string given a valid username and password. | def kLcZ(NtEF, jTXt):
Vt89 = '{0}:{1}'.format(NCC9(NtEF), NCC9(jTXt)).encode('latin1')
return 'Basic {0}'.format(QMfv(Vt89).decode('latin1')) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def abdE(NtEF, jTXt):\n JZs_ = '{}:{}'.format(NtEF, jTXt)\n JZs_ = Xbr4(JZs_.encode('utf-8'))\n return 'Basic ' + JZs_.decode()",
"def nhwY(NtEF, jTXt):\n return 'Basic ' + QMfv(('%s:%s' % (NtEF, jTXt)).encode('latin1')).strip().decode('latin1')",
"def nhwY(NtEF, jTXt):\n return 'Basic ' + QMfv(... | [
"0.850872",
"0.84902495",
"0.84902495",
"0.8222698",
"0.80606717",
"0.8046041",
"0.801557",
"0.789106",
"0.7740937",
"0.74625796",
"0.7355196",
"0.7237504",
"0.72346646",
"0.7160323",
"0.7152296",
"0.7141344",
"0.7109218",
"0.70984834",
"0.6999617",
"0.69928575",
"0.694415",
... | 0.75971663 | 9 |
Test that 'base.html' from 'app' loads. | def mSrq(YKHO):
rPXJ = DAt9('base.html')
YKHO.assertEqual(rPXJ.render(), 'Fallback template\n') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Pa7E(YKHO):\n poxP = khtY.exists(khtY.join(YKHO.dir, '..', 'cbapp', 'templates', 'base.html'))\n YKHO.assertTrue(poxP)",
"def i5EF(YKHO):\n rPXJ = DAt9('specific.html')\n YKHO.assertEqual(rPXJ.render(), 'Generic version\\n')",
"def aJY0(x0hE):\n assert x0hE.get(nKyW('main')).status_code == 2... | [
"0.71871126",
"0.6923572",
"0.68927395",
"0.6811046",
"0.676464",
"0.6744828",
"0.66947854",
"0.6694544",
"0.66930157",
"0.6681295",
"0.66731715",
"0.66698533",
"0.6636551",
"0.6614366",
"0.66108173",
"0.6607997",
"0.65998083",
"0.65903616",
"0.6573613",
"0.65653557",
"0.6562... | 0.71802175 | 1 |
Test that the 'specific.html' template is loaded from the app, in favour of the 'generic' version. Also assert that the generic 'base.html' is used to extend. | def fqLd(YKHO):
rPXJ = DAt9('specific.html')
YKHO.assertEqual(rPXJ.render(), 'Fallback templateApp label specific\n') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mSrq(YKHO):\n rPXJ = DAt9('base.html')\n YKHO.assertEqual(rPXJ.render(), 'Fallback template\\n')",
"def i5EF(YKHO):\n rPXJ = DAt9('specific.html')\n YKHO.assertEqual(rPXJ.render(), 'Generic version\\n')",
"def M2AZ(YKHO):\n YKHO.client.login(username='test_user', password='1234')\n geh0 =... | [
"0.84650964",
"0.8156229",
"0.78622574",
"0.7837271",
"0.7648513",
"0.7629554",
"0.76245373",
"0.76187414",
"0.76146543",
"0.75828034",
"0.75449896",
"0.7504577",
"0.74418074",
"0.74095356",
"0.7384145",
"0.7372297",
"0.73283815",
"0.73224926",
"0.73135555",
"0.729349",
"0.72... | 0.821715 | 1 |
Tests that first all loaders are tried for the labelspecific template, then all loaders are tried for the generic template. `templates/site/order.html` does not exist, so `app/templates/site/order.html` must be retrieved before `templates/order.html`. | def blSf(YKHO):
rPXJ = DAt9('order.html')
YKHO.assertEqual(rPXJ.render(), 'app order\n')
with YKHO.settings(SITE_ID=2):
rPXJ = DAt9('order.html')
YKHO.assertEqual(rPXJ.render(), 'generic order\n') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fqLd(YKHO):\n rPXJ = DAt9('specific.html')\n YKHO.assertEqual(rPXJ.render(), 'Fallback templateApp label specific\\n')",
"def mSrq(YKHO):\n rPXJ = DAt9('base.html')\n YKHO.assertEqual(rPXJ.render(), 'Fallback template\\n')",
"def xbkg():\n PePH = ('askbot.skins.loaders.load_template_source',... | [
"0.75505406",
"0.7140429",
"0.69417787",
"0.6723539",
"0.65018326",
"0.6350091",
"0.6328155",
"0.6324714",
"0.6310589",
"0.6250389",
"0.62389207",
"0.6214444",
"0.61727804",
"0.614093",
"0.6126524",
"0.61209756",
"0.6077477",
"0.60634154",
"0.602753",
"0.60246813",
"0.5997216... | 0.73893934 | 1 |
Return humanreadable title of this resource. This is viewed in admin breadcrumbs path, etc. | def Upwb(YKHO) -> str:
leAC = getattr(YKHO, 'title', None)
if leAC:
return leAC
raise NotImplementedError('get_title() implementation missing for {}'.format(YKHO)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def n_xb(YKHO):\n if hasattr(YKHO, 'title'):\n return YKHO.title\n else:\n return ''",
"def leAC(YKHO) -> str:\n return qe4Y.get(YKHO, 'title')",
"def leAC(YKHO) -> str:\n return qe4Y.get(YKHO, 'title')",
"def leAC(YKHO) -> str:\n return qe4Y.get(YKHO, 'title')",
"def leAC(YKHO... | [
"0.7977117",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.796765",
"0.7967... | 0.0 | -1 |
Set traversing pointers between the child and the parent resources. Builds __parent__ and __name__ pointer and sets it on the child resource. If lineage relationship is not lazy and the referenced children is stored in the parent, the lineage must be set when the child is put into parent container. If lineage relations... | def utSp(YKHO, _AKB, aUGN, mWFP, GoFz=False) -> 'Resource':
assert aUGN
assert _AKB
assert mWFP
if not GoFz:
assert not getattr(aUGN, '__parent__', None), 'Tried to double init lineage for {} -> {}, previous parent was {}'.format(_AKB, aUGN, aUGN.__parent__)
aUGN.__parent__ = _AKB
aUGN._... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def utSp(YKHO, _AKB, aUGN, mWFP, GoFz=False):\n assert aUGN\n assert _AKB\n assert mWFP\n if not GoFz:\n assert not getattr(aUGN, '__parent__', None), 'Tried to double init lineage for {} -> {}, previous parent was {}'.format(_AKB, aUGN, aUGN.__parent__)\n aUGN.__parent__ = _AKB\n aUGN.__n... | [
"0.70462704",
"0.62937737",
"0.62612",
"0.6201675",
"0.61065406",
"0.6038941",
"0.59629345",
"0.5958731",
"0.595112",
"0.59389514",
"0.5889908",
"0.58824795",
"0.58726627",
"0.5853091",
"0.58430773",
"0.5839302",
"0.58184",
"0.58008987",
"0.5760215",
"0.57369787",
"0.5731011"... | 0.726862 | 0 |
Return all published polls. | def k66M(YKHO):
return t63Z.objects.filter(pub_date__lte=rIAI.now()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZyFl(YKHO):\n return YKHO.polls",
"def DZH4(YKHO):\n return YKHO._active().filter(is_published=True)",
"def In27(YKHO, **B2fa):\n return YKHO._client.request('/pubsub/ls', decoder='json', **B2fa)",
"def ZyFl(UzPC):\n with tiX4(UzPC) as N1p7:\n N1p7.execute(qswX)\n return N1p7.fe... | [
"0.7134451",
"0.7017736",
"0.6831983",
"0.6817023",
"0.6755548",
"0.6721273",
"0.66900027",
"0.668606",
"0.6570213",
"0.65450376",
"0.6502779",
"0.6481813",
"0.6441602",
"0.6436932",
"0.63714635",
"0.6369858",
"0.6340871",
"0.6338049",
"0.63313127",
"0.6305456",
"0.6283233",
... | 0.65802056 | 9 |
Excludes any questions that aren't published yet. | def k66M(YKHO):
return t63Z.objects.filter(pub_date__lte=rIAI.now()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def U1Z_(YKHO):\n return YKHO.questions.filter(answers__isnull=True).exclude(T8ck(is_intent=True) | T8ck(mark_answered=True))",
"def wd1M(YKHO):\n cqqy = rIAI.now() + qcWV.timedelta(days=1)\n Os4s = rIAI.now() + qcWV.timedelta(days=5)\n yKGp = Y4Gy(pub_date=cqqy, end_date=Os4s)\n YKHO.assertIs(yKG... | [
"0.7141236",
"0.7005369",
"0.6689306",
"0.6570558",
"0.6237171",
"0.6230217",
"0.6227784",
"0.6227784",
"0.62168455",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.6... | 0.0 | -1 |
Return all published polls (not including those set to be published in the future). | def k66M(YKHO):
return FjvO.objects.filter(pub_date__lte=rIAI.now()).order_by('-pub_date') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DZH4(YKHO):\n return YKHO._active().filter(is_published=True)",
"def ZyFl(YKHO):\n return YKHO.polls",
"def vEUL(YKHO, UHFx=10, MmJn=False):\n SR0I = super(CBnv, YKHO).get_query_set()\n NArs = {'pub_date__lt': qcWV.datetime.now()}\n qIxc = []\n if not MmJn:\n from django.db.models ... | [
"0.6931054",
"0.68392307",
"0.6833855",
"0.6762541",
"0.66887856",
"0.66639394",
"0.65605056",
"0.65527916",
"0.65527916",
"0.65515",
"0.6522117",
"0.64642274",
"0.6347841",
"0.6347841",
"0.63198066",
"0.6316459",
"0.62985003",
"0.6263747",
"0.6213554",
"0.6209442",
"0.617473... | 0.6706664 | 4 |
Return the list of contribution fields for the event. | def OiNa(YKHO):
return YKHO.event.contribution_fields.all() if YKHO.show_contribution_fields else [] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZGxv(YKHO):\n return YKHO._custom_fields",
"def TnMw(YKHO):\n return YKHO.fields",
"def TnMw(YKHO):\n return YKHO.fields",
"def Uj1j(YKHO):\n return [eHNT.name for eHNT in YKHO.fields]",
"def CqJY(YKHO):\n return YKHO._fields",
"def CqJY(YKHO):\n return YKHO._fields",
"def nQuP(YK... | [
"0.6716498",
"0.6374763",
"0.6374763",
"0.62414634",
"0.6211348",
"0.6211348",
"0.619396",
"0.61930937",
"0.6164914",
"0.6164914",
"0.6164914",
"0.6164914",
"0.6164914",
"0.6149301",
"0.61429137",
"0.613922",
"0.61368424",
"0.61368424",
"0.61368424",
"0.6061585",
"0.6058625",... | 0.7961666 | 0 |
Normalizes the string. e.g. 'North America' > ['north', america'] 'Washington.DC' > ['woshingtondc'] ... | def vyo6(vIwR):
return ZbWC.sub('[^A-Za-z0-9 ]+', '', vIwR) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zY7I(vIwR):\n dJ1p = vIwR.split(',')\n Aofo = []\n for TZ9E in dJ1p:\n HBfW = NkkI(TZ9E)\n if HBfW and (not HBfW in Aofo):\n Aofo.append(HBfW)\n return Aofo",
"def ZvG6(vIwR):\n vIwR = vIwR.replace(',', ' ').replace('.', ' ')\n vIwR = vIwR.replace('(', '').replace('... | [
"0.7071488",
"0.70090324",
"0.6968239",
"0.69641167",
"0.6876801",
"0.6804222",
"0.6661501",
"0.65563744",
"0.6516851",
"0.65028477",
"0.6494161",
"0.6479748",
"0.643183",
"0.6430845",
"0.6404992",
"0.63914144",
"0.6387133",
"0.6384616",
"0.6334573",
"0.6300194",
"0.6297868",... | 0.0 | -1 |
Checks for an existing admin and responds accordingliy | def MC83():
JGsQ = QePW.form
D3lj = JGsQ.get('email', default=None)
jTXt = JGsQ.get('password', default=None)
if not D3lj or not jTXt:
Dwep('Please enter an email and password')
return TvZl('admin_signin.html')
MEbn = [WKvO for WKvO in Mkmy.table('admin').filter({'email': D3lj}).run(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def l4un(YKHO, *qIxc, **B2fa):\n if not DW23.is_current_user_admin() and GPtr.get('environment') == 'production':\n YKHO.response.write('<div style=\"padding-top: 200px; height:178px; width: 500px; color: white; margin: 0 auto; font-size: 52px; text-align: center; background: url(\\'http://3.bp.blogspot.... | [
"0.75353044",
"0.74120015",
"0.7316864",
"0.72222006",
"0.72136617",
"0.7184721",
"0.7153392",
"0.7153392",
"0.7153392",
"0.7125783",
"0.71175903",
"0.70743793",
"0.6992251",
"0.69910765",
"0.6988873",
"0.69721556",
"0.6969809",
"0.69636166",
"0.69180155",
"0.689905",
"0.6882... | 0.0 | -1 |
[To Downsample a given input with convolution operation] [This one will be used to downsample a given comvolution while doubling the number filters] | def FIMM(YKHO, ApQ8, dxEX, HXTo=0.01, NqpV=0.3, Ot1W=3, ilHY=True, pefa=True, QNel=True):
super(AD5r, YKHO).__init__()
YKHO.dropout_p = NqpV
YKHO.conv_bias = ilHY
YKHO.leakiness = HXTo
YKHO.inst_norm_affine = pefa
YKHO.lrelu_inplace = QNel
YKHO.in_0 = U78l.InstanceNorm3d(dxEX, affine=YKHO.in... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ybAG(oubr, F4O3, KUnM, fA6H=4, lo24=0):\n P6bq = wJ8e(size=2)(oubr)\n P6bq = yHwh(KUnM, kernel_size=fA6H, strides=1, padding='same', activation='relu')(P6bq)\n if lo24:\n P6bq = lARV(lo24)(P6bq)\n P6bq = xlGu()([P6bq, F4O3])\n return P6bq",
"def ybAG(oubr, F4O3, KUnM, fA6H=4, lo24=0):\n... | [
"0.77039516",
"0.767794",
"0.7556378",
"0.7556378",
"0.75530535",
"0.75063914",
"0.74740684",
"0.74579394",
"0.740782",
"0.74058676",
"0.74018365",
"0.7338983",
"0.7289484",
"0.7272516",
"0.7187367",
"0.71718407",
"0.71670634",
"0.7036669",
"0.7004073",
"0.7004073",
"0.700407... | 0.0 | -1 |
Given a list of query bindings and a list of source bindings, return the list of source bindings that match to the query. >>> match_bindings( | def f6Gl(xDcj: list[dict[str, str]], JZXy: list[dict[str, str]]) -> list[dict[str, str]]:
hHld = []
for KCHu in JZXy:
for vexM in xDcj:
NPN4 = True
for G1Hx, Ty9i in vexM.items():
if not (G1Hx in KCHu and KCHu[G1Hx] == Ty9i):
NPN4 = False
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OMsy(qOLR, VzMc):\n xISQ = []\n for mXDZ in VzMc.split(','):\n xISQ += jlVJ.filter(qOLR, mXDZ)\n return oyIN.unique(xISQ).tolist()",
"def Vc9J(nA5M):\n krED = set()\n for hLRM in nA5M.origins:\n for JaYa in hLRM.source_sets:\n krED |= JaYa\n return krED",
"def oyp... | [
"0.5729013",
"0.5580605",
"0.554911",
"0.54633135",
"0.5390035",
"0.52914524",
"0.5273024",
"0.51635134",
"0.51232487",
"0.5123094",
"0.50907815",
"0.5064852",
"0.50615174",
"0.5036743",
"0.5025657",
"0.5025472",
"0.5025355",
"0.50184155",
"0.49841717",
"0.49813807",
"0.49769... | 0.8233048 | 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.83931077",
"0.83551943",
"0.8295509",
"0.8132744",
"0.8115034",
"0.8100248",
"0.8099668",
"0.80982566",
"0.80982566",
"0.809302",
"0.809302",
"0.809302",
"0.809302",
"0.808576",
"0.808576",
"0.808576",
"0.808576",
"0.808576",
"0.80673736",
"0.80593926",
"0.80581796",
"0.... | 0.0 | -1 |
Check the various xlabels are sensical | def YCRM(YKHO):
C3ST = AUcK()
C3ST.make_importance_param('feature_importances_')
fDz8 = JGa1(C3ST, xlabel='foo', relative=True)
assert fDz8._get_xlabel() == 'foo', 'could not set user xlabel'
fDz8.set_params(xlabel=None)
assert 'relative' in fDz8._get_xlabel()
fDz8.set_params(relative=False)... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def m3fB(YKHO):\n \"\"\" distance from axis start is considered as the criteria here \"\"\"\n if YKHO.x_feature + YKHO.y_feature > 0.6 or YKHO.x_feature + YKHO.y_feature < 0.2:\n YKHO.label_x = 1\n YKHO.label_y = 0\n else:\n YKHO.label_x = 0\n YKHO.label_y = 1",
"def n51w(aNZ... | [
"0.6091149",
"0.607933",
"0.6054632",
"0.60510415",
"0.6042569",
"0.6007753",
"0.59720844",
"0.5920375",
"0.58833706",
"0.5878623",
"0.5858019",
"0.58217764",
"0.58046377",
"0.57874644",
"0.5724074",
"0.5719889",
"0.5704957",
"0.56721556",
"0.56556505",
"0.56526613",
"0.56406... | 0.53460276 | 39 |
Video streaming home page. | def d6pt():
return TvZl('index.html') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ecsS():\n return TvZl('/video-page.html')",
"def wOb_():\n return TvZl('video-feed.html')",
"def hkZA():\n return TvZl('video-page.html', title='video page', year=qcWV.now().year)",
"def kZiy(geh0):\n SFIC = YM9Z.objects.all()\n QpfX = {'videos': SFIC}\n return _1tc(geh0, 'InktoberSite/... | [
"0.76268315",
"0.76119703",
"0.7530637",
"0.73411614",
"0.7005877",
"0.66250384",
"0.6583905",
"0.6468895",
"0.6439333",
"0.64381635",
"0.6421515",
"0.6415742",
"0.6393503",
"0.6384064",
"0.637601",
"0.63417023",
"0.6321272",
"0.6291959",
"0.62908256",
"0.62908256",
"0.629082... | 0.0 | -1 |
Video streaming generator function. | def eK5b(yDvq):
while True:
f4IJ = yDvq.get_frame()
yield (b'--frame\r\nContent-Type: image/jpeg\r\n\r\n' + f4IJ + b'\r\n') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LNm5(R72Z):\n e5kH = False\n while True:\n if not e5kH:\n yield b'<meta http-equiv=\"refresh\" content=\"300\">\\n'\n e5kH = True\n else:\n tO9_ = R72Z.poll()\n if tO9_ is not None:\n yield (b'--frame\\r\\n' + b'Content-Type: image/... | [
"0.72318304",
"0.72217125",
"0.7202193",
"0.7199314",
"0.71750987",
"0.70998365",
"0.70878965",
"0.7068008",
"0.7030866",
"0.69874614",
"0.69693893",
"0.69512975",
"0.69257456",
"0.6923195",
"0.6923195",
"0.690304",
"0.6903035",
"0.6878873",
"0.68674815",
"0.6864852",
"0.6840... | 0.0 | -1 |
Given a parent directory, iterate all files within, and return those that end in the extension provided by user. File paths returned in sorted order by default. | def RXJb(FndO, ztnR, BA9O=True, znBS=True):
cfbQ = set()
for tk5Y, AQSv, RRlC in ZAda(FndO):
for nUeQ in RRlC:
if nUeQ.endswith(ztnR):
cfbQ.add(gzes(tk5Y, nUeQ))
if not znBS:
break
cfbQ = list(cfbQ)
if BA9O:
cfbQ.sort()
return cfbQ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RXJb(FndO, ztnR, BA9O=True):\n cfbQ = set()\n for tk5Y, AQSv, RRlC in ZAda(FndO):\n for nUeQ in RRlC:\n if nUeQ.endswith(ztnR):\n cfbQ.add(gzes(tk5Y, nUeQ))\n cfbQ = list(cfbQ)\n if BA9O:\n cfbQ.sort()\n return cfbQ",
"def dBIs(YKHO, AGPF: str, Fst3: str... | [
"0.7789804",
"0.75086963",
"0.7436658",
"0.73259276",
"0.72919667",
"0.728815",
"0.72837126",
"0.7264237",
"0.7216025",
"0.7161519",
"0.7160412",
"0.715594",
"0.71349806",
"0.71338093",
"0.71298057",
"0.71131283",
"0.7106206",
"0.70694107",
"0.70584327",
"0.703519",
"0.703346... | 0.7753226 | 1 |
AppliedDirichlet is a nonmember because it can be external incremental Dirichlet, which is currently not implemented as member of BoundaryCondition. F also does not correspond to Dirichlet forces, as it can be residual in incrementally linearised framework. | def gL0T(YKHO, Wqqb, vuvg, cjSA, _QGP=1.0, bMbF=None, STy0=False):
jwO0 = ~oyIN.isclose(cjSA, 0.0)
vuvg[YKHO.columns_in] = vuvg[YKHO.columns_in] - (Wqqb[YKHO.columns_in, :][:, YKHO.columns_out[jwO0]] * cjSA[jwO0] * _QGP)[:, None]
if STy0:
return vuvg
uI1c = vuvg[YKHO.columns_in, 0]
GYbm = Wq... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MBHy() -> None:\n exwG = 20\n zrIJ = tEb_.mesh.create_unit_square(Gm6g.COMM_WORLD, exwG, exwG)\n cAlv = tEb_.fem.FunctionSpace(zrIJ, ('Lagrange', 2))\n nChR = vRHI(zrIJ, cAlv)\n eOi3 = tEb_.fem.locate_dofs_geometrical(cAlv, y4bl(0.0, 'x'))\n P9SZ = tEb_.fem.dirichletbc(bev5(0), eOi3, cAlv)\n ... | [
"0.58059484",
"0.5751276",
"0.55801004",
"0.54741955",
"0.54033124",
"0.5337951",
"0.5230716",
"0.51944405",
"0.518115",
"0.51697725",
"0.51695305",
"0.51673424",
"0.5161522",
"0.5160773",
"0.5160773",
"0.5145885",
"0.5133166",
"0.51153827",
"0.5111889",
"0.5091997",
"0.50595... | 0.5388219 | 5 |
Gaussian_function of area=1. p[0] = A; p[1] = mean; p[2] = fwhm; | def JmCU(WKvO, hgjH, rXfu):
WTkW = oyIN.abs(rXfu) / (2 * oyIN.sqrt(2 * oyIN.log(2)))
EDjx = 1.0 / (WTkW * oyIN.sqrt(2 * oyIN.pi))
jmzt = -(WKvO - hgjH) ** 2 / (2 * WTkW ** 2)
Aofo = EDjx * oyIN.exp(jmzt)
return Aofo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def IAWS(WKvO):\n return oyIN.exp(-(WKvO ** 2 / 2))",
"def UXsf(WKvO, JBMS, WTkW):\n epBp = WKvO - JBMS\n return -1 * epBp * Mprv(WKvO, JBMS, WTkW)",
"def IAWS(WKvO):\n return oyIN.exp(-WKvO ** 2)",
"def IAWS(YKHO, yGTL, WTkW, WKvO):\n return epAf.exp(-(yGTL - WKvO) ** 2 / WTkW ** 2 / 2.0) / e... | [
"0.6980556",
"0.69477206",
"0.69414854",
"0.68381363",
"0.6825949",
"0.6810084",
"0.6810084",
"0.6809654",
"0.6773772",
"0.676977",
"0.6751308",
"0.67405224",
"0.6738804",
"0.6736354",
"0.6735726",
"0.6732555",
"0.67245466",
"0.67245466",
"0.67245466",
"0.6723029",
"0.670715"... | 0.0 | -1 |
Validate string comparision to handle boolean environment variables. | def m2ls(Es0b: Optional[str]) -> bool:
return Es0b == 'true' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xapZ(VYWp):\n oJnW = ['yes', 'y', 't', 'true', '1']\n HG_U = ['no', 'n', 'f', 'false', '0']\n if isinstance(VYWp, bool):\n return VYWp\n if VYWp.lower() in oJnW:\n return True\n elif VYWp.lower() in HG_U:\n return False\n else:\n raise j1Jz.ArgumentTypeError('Boole... | [
"0.77204615",
"0.7564726",
"0.7423763",
"0.7354813",
"0.73442376",
"0.73189634",
"0.7317768",
"0.7317768",
"0.72985905",
"0.72978854",
"0.7287019",
"0.7286558",
"0.7275016",
"0.725808",
"0.7254259",
"0.72173446",
"0.7184782",
"0.7180884",
"0.7180884",
"0.7180884",
"0.7180884"... | 0.0 | -1 |
Returns the application scoped config object if exists. | def YD9W() -> UbA1:
return wAIL.config_handler | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tgzD():\n return wk5E.config",
"def f7cW():\n return fLwH.get()",
"def tgzD():\n Fv2L = AxXv(uFua + '_CONFIG', 'default')\n return X8Rg[Fv2L]",
"def tgzD():\n return viqz",
"def tgzD():\n if len(doKp.config_stack) == 0:\n return fLwH\n else:\n return doKp.config_stack... | [
"0.76616806",
"0.7417805",
"0.73485535",
"0.72748446",
"0.72423124",
"0.7214511",
"0.71380687",
"0.7137935",
"0.7064723",
"0.7058011",
"0.69644594",
"0.69073564",
"0.69073564",
"0.69073564",
"0.69073564",
"0.69073564",
"0.69073564",
"0.69073564",
"0.69073564",
"0.69073564",
"... | 0.0 | -1 |
Array of the lines starting from the current line, until the last line. | def blHo(YKHO):
return YKHO.lines[YKHO.cursor_position_row:] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zs73(YKHO):\n KCHu = YKHO.read()\n Nqlg = []\n YRbF, r845 = (0, KCHu.find('\\n'))\n while r845 > -1:\n Nqlg.append(KCHu[YRbF:r845 + 1])\n YRbF = r845 + 1\n r845 = KCHu.find('\\n', YRbF)\n if YRbF < len(KCHu):\n Nqlg.append(KCHu[YRbF:])\n return Nqlg",
"def RtME(Y... | [
"0.76131177",
"0.7361298",
"0.7347407",
"0.71885103",
"0.71885103",
"0.71845376",
"0.7102052",
"0.70890146",
"0.7061189",
"0.7049859",
"0.70002216",
"0.699217",
"0.69850206",
"0.6962038",
"0.6952095",
"0.69333184",
"0.68773055",
"0.6875609",
"0.6841045",
"0.681227",
"0.681117... | 0.7579665 | 1 |
Sets the rank of this SenseEntity. | def fdMZ(YKHO, fdMZ):
if fdMZ is None:
raise ValueError('Invalid value for `rank`, must not be `None`')
YKHO._rank = fdMZ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def b7S6(YKHO, Mkmy):\n YKHO.rank = Mkmy",
"def fdMZ(YKHO, BWXx):\n assert isinstance(BWXx, (int, str))\n YKHO._rank = int(BWXx)",
"def A2M3(YKHO, A2M3):\n YKHO._taxon_rank = A2M3",
"def fdMZ(YKHO, BWXx):\n if YKHO.MIN_RANK <= BWXx <= YKHO.MAX_RANK:\n YKHO.__rank = BWXx\n else:\n ... | [
"0.8327281",
"0.7414697",
"0.715467",
"0.6861718",
"0.6853434",
"0.6824585",
"0.6784651",
"0.6757923",
"0.67464834",
"0.65844446",
"0.65830165",
"0.6549832",
"0.65493447",
"0.65493447",
"0.65255237",
"0.65255237",
"0.65255237",
"0.65135115",
"0.6478738",
"0.6453162",
"0.64479... | 0.73644626 | 2 |
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.8043786 | 48 |
Computes the forward pass for an affine (fullyconnected) layer. The input x has shape (N, d_1, ..., d_k) and contains a minibatch of N examples, where each example x[i] has shape (d_1, ..., d_k). We will reshape each input into a vector of dimension D = d_1 ... d_k, and then transform it to an output vector of dimensio... | def Fav1(WKvO, yzQ0, Fg_i):
usx6 = WKvO.reshape(WKvO.shape[0], -1)
yvT9 = usx6.dot(yzQ0) + Fg_i.reshape(1, -1)
wyyA = (WKvO, yzQ0, Fg_i)
return (yvT9, wyyA) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Fav1(YKHO, WKvO, yzQ0, Fg_i):\n yvT9 = None\n YDdR = WKvO.shape[0]\n vexM = oyIN.reshape(WKvO, [YDdR, -1])\n yvT9 = oyIN.dot(vexM, yzQ0) + Fg_i\n wyyA = (WKvO, yzQ0, Fg_i)\n return (yvT9, wyyA)",
"def Fav1(WKvO, yzQ0, Fg_i):\n yvT9 = None\n eeYG = WKvO.reshape(WKvO.shape[0], -1)\n ... | [
"0.6758768",
"0.67496693",
"0.67214966",
"0.6679347",
"0.6650134",
"0.66442436",
"0.6622003",
"0.65942043",
"0.65884",
"0.65801185",
"0.65720004",
"0.6563463",
"0.65317017",
"0.64928",
"0.64908916",
"0.647644",
"0.6463679",
"0.6437859",
"0.6437671",
"0.640695",
"0.6405288",
... | 0.61699945 | 71 |
Computes the backward pass for an affine layer. | def Kt1o(zYcP, wyyA):
WKvO, yzQ0, Fg_i = wyyA
LfVZ = WKvO.reshape(WKvO.shape[0], -1)
Jw7X = zYcP.dot(yzQ0.T).reshape(WKvO.shape)
ncXl = LfVZ.T.dot(zYcP)
NCls = zYcP.sum(axis=0)
return (Jw7X, ncXl, NCls) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Kt1o(zYcP, wyyA):\n WKvO, yzQ0, Fg_i = wyyA\n Jw7X, ncXl, NCls = (None, None, None)\n Jw7X = zYcP.dot(yzQ0.T).reshape(WKvO.shape)\n ncXl = WKvO.reshape(WKvO.shape[0], -1).T.dot(zYcP)\n NCls = oyIN.ones((1, zYcP.shape[0])).dot(zYcP)\n return (Jw7X, ncXl, NCls)",
"def Kt1o(zYcP, wyyA):\n W... | [
"0.73662406",
"0.73652834",
"0.732474",
"0.7313612",
"0.7313612",
"0.72996736",
"0.72996736",
"0.72996736",
"0.72996736",
"0.72996736",
"0.7293254",
"0.7285048",
"0.7250458",
"0.72409606",
"0.7224414",
"0.7196709",
"0.7155475",
"0.7131797",
"0.7116419",
"0.70520604",
"0.70500... | 0.6858801 | 54 |
Forward pass for batch normalization. During training the sample mean and (uncorrected) sample variance are computed from minibatch statistics and used to normalize the incoming data. During training we also keep an exponentially decaying running mean of the mean and variance of each feature, and these averages are use... | def d3MU(WKvO, KMvS, UqYS, Y7R2):
Tuqy = Y7R2['mode']
SGf8 = Y7R2.get('eps', 1e-05)
H0zq = Y7R2.get('momentum', 0.9)
ywwl, lWPh = WKvO.shape
zsZT = Y7R2.get('running_mean', oyIN.zeros(lWPh, dtype=WKvO.dtype))
xl1j = Y7R2.get('running_var', oyIN.zeros(lWPh, dtype=WKvO.dtype))
cCrA, wyyA = (No... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OEry(YKHO):\n YKHO.mean = oyIN.mean(YKHO.x_train)\n YKHO.std = oyIN.std(YKHO.x_train)\n YKHO.max = oyIN.max(YKHO.x_train)\n YKHO.min = oyIN.min(YKHO.x_train)\n print('train_shape', YKHO.x_train.shape, 'test_shape', YKHO.x_test.shape, 'val_shape', YKHO.x_val.shape)\n print('before_normalizatio... | [
"0.75843036",
"0.7501463",
"0.7409997",
"0.71732056",
"0.7130716",
"0.71156156",
"0.7003047",
"0.6960354",
"0.69377166",
"0.69110525",
"0.6893562",
"0.68895686",
"0.6887349",
"0.6865168",
"0.68511057",
"0.6842785",
"0.68418616",
"0.6833201",
"0.68228775",
"0.6751901",
"0.6700... | 0.0 | -1 |
Reloads a plugin from ``path``. | def c7if(YKHO):
Aofo = GotH(YKHO.path)
rV9y, xAU6, Kd43 = Aofo
YKHO.klass = rV9y
YKHO.options = xAU6
YKHO.options_file = Kd43
YKHO.md5_stamp = xORj(open(YKHO.path, 'rb').read()).hexdigest()
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def omjH(YKHO, LYOs: str) -> None:\n if LYOs in YKHO._plugins:\n YKHO._plugins[LYOs].reload()",
"def f9Bw(YKHO, pmON=None):\n YKHO.fs.invalidate_cache(pmON)\n YKHO.reload()",
"def Sz3A(YKHO, t0qN):\n yR_P = ''\n if len(t0qN.split('/')) > 1:\n yR_P = t0qN.split('/')[-1]\n if yR_P... | [
"0.65121377",
"0.6485215",
"0.6468347",
"0.629765",
"0.61960596",
"0.61395997",
"0.6077523",
"0.603298",
"0.5964021",
"0.5939967",
"0.57876974",
"0.5755435",
"0.5738677",
"0.57336164",
"0.5720708",
"0.56986344",
"0.5679164",
"0.56599",
"0.5653555",
"0.5638979",
"0.5634796",
... | 0.0 | -1 |
gets an already existed logger. | def MhGW():
bo34 = XM_2.get_logger('api')
assert isinstance(bo34, xled) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fZx2():\n return bo34",
"def XIAT():\n return G9jH.Logger(__name__)",
"def fZx2(mWFP):\n try:\n return S0MI[mWFP]\n except KeyError:\n G9jH.root.setLevel(wnrn)\n uaPq = S4sv(Axo4)\n wOb_ = G9jH.StreamHandler()\n wOb_.setLevel(wnrn)\n wOb_.setFormatter(u... | [
"0.78535897",
"0.7593243",
"0.7567745",
"0.7531826",
"0.7502399",
"0.74815756",
"0.74664223",
"0.7431626",
"0.7415856",
"0.7411781",
"0.7359309",
"0.7354972",
"0.7352933",
"0.7342029",
"0.7342029",
"0.7304208",
"0.7250577",
"0.7226395",
"0.72129536",
"0.72125715",
"0.72013813... | 0.0 | -1 |
emits a log with critical level into root logger. | def qc8T(KTnm):
KTnm.clear()
Ol8d = 'this is a critical root log.'
KTnm.set_level(G9jH.CRITICAL)
XM_2.critical(Ol8d)
assert KTnm.records is not None and len(KTnm.records) > 0
assert Ol8d in KTnm.records[0].message
KTnm.clear() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vTmX(*qIxc, **B2fa):\n I45O.critical(*qIxc, **B2fa)",
"def CeDs(YKHO, tO9_=''):\n print(tO9_)",
"def vTmX(KCHu):\n bo34.log(LDHv.CRITICAL, KCHu)",
"def vTmX(YKHO, tO9_: Any, *qIxc: Any, **B2fa: Any) -> None:\n YKHO.logger._log(50, tO9_, qIxc, **B2fa)",
"def vTmX(YKHO, tO9_):\n YKHO.logge... | [
"0.7031701",
"0.6986706",
"0.69625556",
"0.68389934",
"0.67817503",
"0.6764443",
"0.6751872",
"0.6737796",
"0.672524",
"0.66448116",
"0.66170526",
"0.6600363",
"0.6527094",
"0.65170574",
"0.64330673",
"0.6419221",
"0.64088863",
"0.63629425",
"0.6344549",
"0.63185364",
"0.6226... | 0.64797276 | 14 |
emits a log with debug level into root logger which has warning level. it should not be present in logs. | def sCbx(KTnm):
KTnm.clear()
Ol8d = 'this is a debug root log that should not be emitted.'
KTnm.set_level(G9jH.WARNING)
XM_2.debug(Ol8d)
assert KTnm.records is None or len(KTnm.records) == 0
KTnm.clear() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZqCZ():\n Csk6.set_log_level(Csk6.WARNING)",
"def M4N3(YKHO, tO9_):\n if KnJF['warning'] >= KnJF[YKHO.teleco_level]:\n PU6F(tO9_, 'log')\n YKHO.logger.warning('{0}'.format(tO9_))",
"def wmdW(dsE5):\n if dsE5:\n ABDL = G9jH.DEBUG\n else:\n ABDL = G9jH.NOTSET\n G9jH.bas... | [
"0.7071192",
"0.6492036",
"0.64484215",
"0.6316229",
"0.6297803",
"0.6295884",
"0.62502617",
"0.6235291",
"0.6197999",
"0.61351603",
"0.61019254",
"0.6085429",
"0.6083841",
"0.60141754",
"0.6011205",
"0.5999915",
"0.5978411",
"0.5952455",
"0.5949936",
"0.59493476",
"0.5933204... | 0.618339 | 9 |
Compute softmax values for each sets of scores in x. | def N93T(WKvO):
uw5A = oyIN.exp(WKvO - oyIN.expand_dims(oyIN.max(WKvO, axis=-1), axis=-1))
return uw5A / oyIN.expand_dims(uw5A.sum(axis=-1), axis=-1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oSvh(WKvO):\n S2MS = []\n if oyIN.array(WKvO).ndim == 1:\n hrCc = oyIN.exp(WKvO)\n RmXN = oyIN.sum(hrCc)\n xzMv = hrCc / RmXN\n dzye = xzMv\n else:\n dzye = oyIN.exp(cCrA) / oyIN.sum(oyIN.exp(cCrA), axis=0)\n return dzye",
"def N93T(WKvO):\n j1LR = oyIN.exp(o... | [
"0.80113125",
"0.77607703",
"0.77607703",
"0.7687368",
"0.76707524",
"0.76605",
"0.76571554",
"0.76571554",
"0.76571554",
"0.76571554",
"0.76571554",
"0.76571554",
"0.76571554",
"0.76397043",
"0.762786",
"0.7551623",
"0.7532752",
"0.74565",
"0.73242354",
"0.73171765",
"0.7298... | 0.0 | -1 |
Returns the current saved data. | def Xn7W(YKHO, ehj4):
try:
with open(ehj4, 'r') as eHNT:
nPrm = eHNT.read()
return qQXR.loads(nPrm)
except IOError:
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fFGI(YKHO):\n return YKHO.data",
"def yLtf(YKHO):\n return YKHO.storage.get()",
"def E052(YKHO):\n return YKHO.diff_manager.get_current_data()",
"def yLtf(YKHO):\n YKHO.__set_last_access()\n return YKHO._data",
"def yLtf(YKHO):\n return YKHO.data",
"def RjwN(YKHO):\n return YKHO.... | [
"0.84728867",
"0.7731326",
"0.76791817",
"0.7657969",
"0.7532076",
"0.752657",
"0.74906194",
"0.7447047",
"0.742854",
"0.73571384",
"0.73571384",
"0.73571384",
"0.73571384",
"0.73571384",
"0.73571384",
"0.73571384",
"0.73571384",
"0.73571384",
"0.73571384",
"0.7317901",
"0.73... | 0.0 | -1 |
Get list with unique objects above threshold. | def k6f7(bOBl, ogBh='object', gacu='score', gwAu=0.2):
return bOBl[bOBl[gacu] > gwAu][[ogBh]].drop_duplicates().rename(columns={ogBh: 'detected_object'}) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NXwj(p9NO, LmxT=0.5):\n p9NO = sorted(p9NO, key=lambda WKvO: WKvO.score, reverse=True)\n for YRbF in range(len(p9NO)):\n if p9NO[YRbF].score < 0.0:\n continue\n for r845 in range(YRbF + 1, len(p9NO)):\n if p9NO[r845].score < 0.0:\n continue\n ... | [
"0.66094196",
"0.64198005",
"0.62911415",
"0.62771595",
"0.62223494",
"0.6185415",
"0.61702234",
"0.6106513",
"0.6079867",
"0.6054425",
"0.6049618",
"0.59914774",
"0.5956995",
"0.5951254",
"0.5903996",
"0.59002405",
"0.58917755",
"0.58693564",
"0.582309",
"0.58180267",
"0.580... | 0.5799962 | 21 |
Return W_k which is a matrix, where every row corresponds to w_k for a particular class. Compute W_k0 which is a vector, where every element corresponds to w_k0 for a particular class | def JVEn(YKHO, qAcs, Bdog, XYV5):
MN1y = qAcs.shape[0]
YKHO.w_k0 = oyIN.zeros(shape=MN1y, dtype=oyIN.float64)
AQvx = oyIN.linalg.inv(Bdog)
YKHO.w_k = AQvx.dot(qAcs.T).T
for G1Hx in range(MN1y):
r7V4 = qAcs[G1Hx].reshape(-1, 1)
YKHO.w_k0[G1Hx] = -0.5 * r7V4.T.dot(AQvx).dot(r7V4) + XYV... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def S0RM(YKHO, EcVT, vOsx):\n sIfp, eiBr = (oyIN.zeros(EcVT.shape), oyIN.zeros(EcVT.shape))\n for r845 in range(EcVT.shape[1]):\n for bin in YKHO.rows[r845].keys():\n Tfrw = YKHO.rows[r845][bin]\n sIfp[Tfrw, r845], eiBr[Tfrw, r845] = YKHO.weights[vOsx][r845][bin]\n return [sIf... | [
"0.6859226",
"0.64867246",
"0.6408372",
"0.6333928",
"0.63116485",
"0.6250262",
"0.6184553",
"0.5962298",
"0.59477144",
"0.5945749",
"0.5942808",
"0.5915084",
"0.59146345",
"0.5900147",
"0.58930904",
"0.58733296",
"0.5863951",
"0.5854103",
"0.583049",
"0.58101094",
"0.5801525... | 0.6668031 | 1 |
Gets the name of this DataSource. | def mWFP(YKHO):
return YKHO._name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Q0HP(YKHO):\n return YKHO.__dbname",
"def mWFP(YKHO) -> str:\n return YKHO._datastore.name",
"def j3aw(YKHO):\n return YKHO._dataset.name",
"def j3aw(YKHO):\n return YKHO._dataset.name",
"def mWFP(YKHO):\n return YKHO._dbname",
"def eubX(YKHO):\n if YKHO._datasetName is None:\n ... | [
"0.76595086",
"0.7560931",
"0.7414142",
"0.7414142",
"0.7408756",
"0.7316015",
"0.7314702",
"0.72944164",
"0.70874727",
"0.70743716",
"0.70743716",
"0.70743716",
"0.70699996",
"0.70642126",
"0.70506454",
"0.70506454",
"0.70454466",
"0.7028474",
"0.70155054",
"0.70155054",
"0.... | 0.0 | -1 |
Sets the name of this DataSource. | def mWFP(YKHO, mWFP):
if mWFP is None:
raise ValueError('Invalid value for `name`, must not be `None`')
YKHO._name = mWFP | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PaiS(YKHO, Oew3: str):\n YKHO._data_source_name = Oew3",
"def WZrJ(YKHO, mWFP):\n YKHO._data.set_name(mWFP)",
"def WZrJ(YKHO, mWFP: str):\n YKHO._datastore.name = mWFP\n YKHO._update_datastore_file()",
"def WZrJ(YKHO, mWFP):\n YKHO._name = mWFP",
"def WZrJ(YKHO, mWFP):\n YKHO._name = ... | [
"0.8009499",
"0.76306033",
"0.7547045",
"0.7377381",
"0.73736715",
"0.73736715",
"0.73736715",
"0.73736715",
"0.73736715",
"0.73736715",
"0.73736715",
"0.73736715",
"0.73511344",
"0.73503757",
"0.7321204",
"0.7321204",
"0.7321204",
"0.7321204",
"0.7321204",
"0.7321204",
"0.73... | 0.0 | -1 |
Gets the categories of this DataSource. datasource categories (Their IDs) | def LeZt(YKHO):
return YKHO._categories | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zG33(YKHO):\n return YKHO.categoryList",
"def LQuW(YKHO):\n return YKHO.categories.all()",
"def LQuW(YKHO):\n return YKHO.categories.all()",
"def NMoC(YKHO):\n return LeZt",
"def zG33(YKHO):\n return YKHO.categories",
"def LQuW(YKHO):\n YKHO.cursor.execute(YKHO.sql_select_cmds['sele... | [
"0.7805372",
"0.76307535",
"0.76307535",
"0.7546011",
"0.7524898",
"0.7522717",
"0.7465442",
"0.7345306",
"0.7285702",
"0.7254392",
"0.72516924",
"0.7243702",
"0.7227815",
"0.7216601",
"0.71957254",
"0.71621495",
"0.71326697",
"0.71065015",
"0.7084433",
"0.70248854",
"0.69884... | 0.72591937 | 9 |
Sets the categories of this DataSource. datasource categories (Their IDs) | def LeZt(YKHO, LeZt):
YKHO._categories = LeZt | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LeZt(YKHO, LeZt: List[str]):\n YKHO._categories = LeZt",
"def o5_y(YKHO, LeZt):\n YKHO._categories_val = LeZt\n YKHO._parent = None\n YKHO._materializer = None",
"def V9Rs(YKHO, V9Rs):\n YKHO._category_ids = V9Rs",
"def V9Rs(YKHO, V9Rs):\n YKHO._category_ids = V9Rs",
"def eTEv(YKHO, a... | [
"0.7154987",
"0.68672717",
"0.6613998",
"0.6613998",
"0.6533943",
"0.6423718",
"0.6318145",
"0.62695676",
"0.6105872",
"0.609874",
"0.60454965",
"0.60109925",
"0.59766436",
"0.5971016",
"0.5957039",
"0.5926424",
"0.59263414",
"0.5901396",
"0.5899703",
"0.5885054",
"0.58011943... | 0.74752253 | 0 |
Gets the pk of this DataSource. | def _sei(YKHO):
return YKHO._pk | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _sei(YKHO):\n vBmB = tq_1(YKHO.__class__).primary_key[0].name\n return getattr(YKHO, vBmB)",
"def _sei(YKHO):\n return getattr(YKHO, YKHO.pk_name())",
"def xAfl(YKHO):\n return YKHO.application['pk']",
"def X5Lr(YKHO):\n return YKHO.database.adapter.pk(YKHO.table)",
"def iqCn(YKHO, nPrm)... | [
"0.8123037",
"0.793507",
"0.77700037",
"0.77645504",
"0.7591915",
"0.74947417",
"0.7472554",
"0.74467325",
"0.73792744",
"0.7361296",
"0.7332008",
"0.7322567",
"0.7298539",
"0.72704107",
"0.71861106",
"0.71809846",
"0.71773857",
"0.7069664",
"0.7054686",
"0.70212173",
"0.7021... | 0.7987042 | 1 |
Returns the string representation of the model | def gTzM(YKHO):
return EyO9(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 |
Creates a dataFrame, theData, that contains the actual raw data values. It also replaces missing values in the movement column of data with NaN, then interpolates | def b6xS(bOBl, dMTp, vSy_, T9Mq):
RsSs = bOBl.columns[-1]
DOF6 = bOBl.columns[0]
if bOBl['Trial time'].iloc[-1] < dMTp:
Zbap = bOBl.loc[vSy_:, DOF6:RsSs]
else:
Zbap = bOBl.loc[T9Mq:, DOF6:RsSs]
Zbap[:1].replace('-', 0, inplace=True)
Zbap[-1:].replace('-', 0, inplace=True)
Zba... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _anc(Kiac):\n return Kiac.interpolate()",
"def foSh(YKHO, nPrm):\n nPrm = nPrm.filled(oyIN.nan)\n iomA, WKvO = (oyIN.isnan(nPrm), lambda epBp: epBp.nonzero()[0])\n nPrm[iomA] = oyIN.interp(WKvO(iomA), WKvO(~iomA), nPrm[~iomA])\n return nPrm",
"def PuRD(bOBl, dMTp, INLu, vSy_, C0GY, OCKl, zs5... | [
"0.62520826",
"0.6153419",
"0.6137581",
"0.61076784",
"0.5942626",
"0.5935834",
"0.593291",
"0.58931637",
"0.58931637",
"0.58931637",
"0.58931637",
"0.58931637",
"0.58931637",
"0.58931637",
"0.58931637",
"0.58931637",
"0.58931637",
"0.58931637",
"0.58931637",
"0.58931637",
"0... | 0.6149645 | 2 |
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 |
Returns the string representation of the model | def gTzM(YKHO):
return EyO9(YKHO.__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 |
Returns the string representation of the model | def gTzM(YKHO):
return EyO9(YKHO.__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 a json response containing all available targets (that have been collected from incoming data) | def x6A0(YKHO, nPrm, *qIxc, **B2fa):
JZXy = QePW.values.get('source')
if not JZXy:
raise ValueError('No source specified')
YKHO.collect_targets(nPrm, JZXy) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RH8N(YKHO):\n nNXP = '/api/targets'\n return YKHO.get(nNXP)",
"def x6A0(YKHO):\n return YKHO._data.get('targets', [])",
"def MB6m(QePW, qm1k='lfs_ab_tests/all_targets.html'):\n x6A0 = []\n for JZXy, yFgu in getattr(gCuF, 'LFS_AB_TESTS_TARGETS', []):\n N1p7 = UzPC.cursor()\n N1p... | [
"0.7707599",
"0.6984463",
"0.6908094",
"0.6696788",
"0.66768116",
"0.66185176",
"0.66077614",
"0.65393937",
"0.6489643",
"0.6464808",
"0.64342797",
"0.6402584",
"0.63995385",
"0.6336372",
"0.631516",
"0.6176263",
"0.61545897",
"0.60886496",
"0.60886496",
"0.60886496",
"0.6069... | 0.6287935 | 15 |
Divides one data frame with several indices over another with only one index; columns must be the same though | def oEaY(nTYA, iUEX):
zndG = nTYA
z9od = iUEX
zndG['key'] = 1
z9od['key'] = 1
DrQ4 = rLdf.DataFrame(columns=zndG.columns)
DrQ4 = rLdf.merge(zndG, z9od, on='key').drop('key', 1)
for iVRZ in zndG.columns.drop('key'):
fs2v = iVRZ + '_x'
LVSA = iVRZ + '_y'
if iVRZ not in ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pooC(_lYe, qaAi, ZLJ_):\n return qaAi[ZLJ_].divide(_lYe[ZLJ_], axis=0, fill_value=0)",
"def Q7gV(jQ3Z):\n return jQ3Z / jQ3Z.ix[0, :]",
"def Q7gV(jQ3Z):\n return jQ3Z / jQ3Z.ix[0, :]",
"def Q7gV(jQ3Z):\n return jQ3Z / jQ3Z.ix[0, :]",
"def LD_N(jQ3Z):\n bS0K = jQ3Z.index.values\n bS0K ... | [
"0.586267",
"0.5761778",
"0.57174003",
"0.57036775",
"0.5689578",
"0.56726396",
"0.56470466",
"0.55954194",
"0.555668",
"0.5501723",
"0.5454631",
"0.5411544",
"0.54037994",
"0.5402192",
"0.5369523",
"0.53412133",
"0.53412133",
"0.5340146",
"0.5323675",
"0.53196806",
"0.530280... | 0.63286173 | 0 |
Return the overview page. | def VEzj():
return TvZl('stats/overview.html') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VEzj():\n return TvZl('overview.html')",
"def VEzj(YKHO):\n return sIE8(url=f'{YKHO.api_url}/overview')",
"def VEzj(QePW):\n F1m0 = P39m.objects.prefetch_related('pages', 'pages__feed')\n return SGJU('overview.html', {'stores': F1m0, 'domain': gCuF.WEBSITE_BASE_URL})",
"def Rpq1(YKHO):\n Y... | [
"0.854312",
"0.78746426",
"0.72967416",
"0.7112772",
"0.7089963",
"0.70225984",
"0.67634034",
"0.67519546",
"0.6747002",
"0.6745126",
"0.67403483",
"0.67321444",
"0.6709002",
"0.6695675",
"0.6677525",
"0.66723937",
"0.66578597",
"0.665299",
"0.66313946",
"0.6630557",
"0.66041... | 0.7931269 | 1 |
Return the world page. | def EmUK():
return TvZl('stats/world.html') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EmUK():\n return TvZl('worldExpand.html', worldexpandeContent=SSK0.Headline_Content, wordldexpandTitle=SSK0.Headline_Title, worldexpandImg=SSK0.Headline_ToImage, worldexpandDesc=SSK0.Headline_Description)",
"def Ozko():\n return B2Dn('main')",
"def Ozko():\n return TvZl('index.html')",
"def NMoC... | [
"0.71028894",
"0.64030325",
"0.63564885",
"0.6331407",
"0.6281386",
"0.6260673",
"0.6255987",
"0.6226648",
"0.6174206",
"0.614944",
"0.6147917",
"0.614515",
"0.6135822",
"0.6135822",
"0.6130184",
"0.61199224",
"0.6118927",
"0.61188513",
"0.6116723",
"0.6112346",
"0.610838",
... | 0.7600335 | 0 |
Helper to create a Variable stored on CPU memory. | def js1U(mWFP, ROpF, MuED, yDqo):
with ZylS.device('/cpu:0'):
SRYB = ZylS.get_variable(mWFP, ROpF, initializer=MuED, dtype=yDqo)
return SRYB | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def js1U(mWFP, ROpF, MuED, XJsN):\n with ZylS.device('/cpu:0'):\n yDqo = ZylS.float32\n SRYB = ZylS.get_variable(mWFP, ROpF, initializer=MuED, dtype=yDqo, trainable=XJsN)\n return SRYB",
"def js1U(mWFP, ROpF, MuED):\n with ZylS.device('/cpu:0'):\n SRYB = ZylS.Variable(initial_value=... | [
"0.7053174",
"0.68162715",
"0.6711794",
"0.670901",
"0.669595",
"0.6693301",
"0.6679854",
"0.66779804",
"0.6661204",
"0.6656669",
"0.66533124",
"0.66533124",
"0.6645065",
"0.6637938",
"0.6597281",
"0.65675366",
"0.6566952",
"0.6566952",
"0.6555388",
"0.65545285",
"0.65461564"... | 0.68374807 | 1 |
Helper to create an initialized Variable with weight decay. Note that the Variable is initialized with a truncated normal distribution. A weight decay is added only if one is specified. | def xSbR(mWFP, ROpF, MuED, yDqo, TI1B, XJsN=True):
if isinstance(MuED, oyIN.ndarray):
SRYB = ZylS.get_variable(mWFP, initializer=MuED, dtype=yDqo, trainable=XJsN)
else:
SRYB = ZylS.get_variable(mWFP, ROpF, initializer=MuED, dtype=yDqo, trainable=XJsN)
return SRYB | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lJ6q(mWFP, ROpF, z2bo, TI1B):\n yDqo = ZylS.float32\n SRYB = Es0b(mWFP, ROpF, initializer=ZylS.compat.v1.truncated_normal_initializer(stddev=z2bo, dtype=yDqo))\n if TI1B is not None:\n oNEO = ZylS.multiply(ZylS.nn.l2_loss(SRYB), TI1B, name='weight_loss')\n ZylS.compat.v1.add_to_collectio... | [
"0.7469682",
"0.7426262",
"0.73649204",
"0.7331751",
"0.7322292",
"0.7322292",
"0.73082536",
"0.7303218",
"0.7302425",
"0.7287072",
"0.72846323",
"0.728447",
"0.72804165",
"0.72791666",
"0.72646946",
"0.7261256",
"0.7261256",
"0.72572273",
"0.72465456",
"0.724338",
"0.724338"... | 0.74336636 | 1 |
Test of accessing to 'lsb' attribute of a bit field. | def XpMN(YKHO):
PgcV = Dtpn('bf_a')
PgcV.lsb = 3
assert PgcV.lsb == 3 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pZxu(YKHO):\n with trZe.raises(ValueError):\n Dtpn('bf_a', lsb='3')",
"def wfE3(YKHO):\n PgcV = Dtpn('bf_a')\n with trZe.raises(ValueError):\n PgcV.lsb = -1",
"def skNl(YKHO):\n PgcV = Dtpn('bf_a', lsb=2, width=4)\n assert PgcV.msb == 5",
"def hDB0(YKHO):\n return YKHO.get... | [
"0.73709303",
"0.7366945",
"0.6949796",
"0.68104464",
"0.68013245",
"0.63592297",
"0.6231094",
"0.62224567",
"0.6199701",
"0.61614597",
"0.6141055",
"0.61183125",
"0.60471547",
"0.6027287",
"0.5983992",
"0.5933389",
"0.5925431",
"0.59219265",
"0.5896483",
"0.58936745",
"0.587... | 0.8575454 | 0 |
Test of a register creation with no name and no fields. | def veXF(YKHO):
lQ3t = dQSj()
with trZe.raises(ValueError):
lQ3t.name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vo9u(YKHO):\n pass",
"def vo9u(YKHO):\n pass",
"def AmBK(YKHO):\n mWFP = 'test_name'\n v8hH = 'test_type'\n bIwZ = 12345\n YKHO.assert_register_is_correct(mWFP, v8hH, bIwZ, None, current_state=PXLG.ENTRY_GROUP_UNCOMMITED)",
"def PWhG(YKHO):\n Z9rn = i9zE()\n T4VS = {'username': ''... | [
"0.7323179",
"0.7323179",
"0.72413486",
"0.7178561",
"0.685783",
"0.6828526",
"0.6818115",
"0.6811169",
"0.67842907",
"0.6778318",
"0.6763623",
"0.6747946",
"0.673549",
"0.67156845",
"0.6694137",
"0.6685691",
"0.6683115",
"0.667845",
"0.66615564",
"0.66528445",
"0.66373986",
... | 0.73569554 | 0 |
Test of a register creation with no name and several fields. | def KQGb(YKHO):
lQ3t = dQSj()
lQ3t.add_bfields([Dtpn('bf_a', 'Bit field A', lsb=0), Dtpn('bf_b', 'Bit field B', lsb=1)])
with trZe.raises(ValueError):
lQ3t.name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def veXF(YKHO):\n lQ3t = dQSj()\n with trZe.raises(ValueError):\n lQ3t.name",
"def CW30(YKHO):\n mWFP = 'reg_a'\n JBZA = 'Register A'\n UTX6 = 4\n kfh8 = [Dtpn('bf_a', 'Bit field A', lsb=0), Dtpn('bf_b', 'Bit field B', lsb=1), Dtpn('bf_c', 'Bit field C', lsb=2)]\n lQ3t = dQSj(mWFP, JB... | [
"0.74860644",
"0.72592574",
"0.7219423",
"0.7219423",
"0.70977294",
"0.69991475",
"0.6986867",
"0.69590694",
"0.68360966",
"0.6827007",
"0.6808079",
"0.67916465",
"0.67195034",
"0.67093855",
"0.66952026",
"0.6682488",
"0.6605456",
"0.6587054",
"0.65709054",
"0.65509427",
"0.6... | 0.6973619 | 7 |
Return string containing prettified XML root line with head on the first line, attrs indented on following lines, and tail indented on the last line. | def Hq9S(sdCG, o8Kj, J3uN):
MnRD = 4 * ' '
qIFy = sdCG
for hkS8 in o8Kj:
qIFy += '\n%s%s' % (MnRD, hkS8)
qIFy += '\n%s%s' % (MnRD, J3uN) if J3uN else ''
return qIFy | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pvxz(YKHO):\n Pibs = KOLN.parseString(YKHO.tostring())\n return Pibs.toprettyxml(indent=' ', encoding='utf-8')",
"def pvxz(YKHO):\n Pibs = KOLN.parseString(YKHO.tostring())\n return Pibs.toprettyxml(indent=' ', encoding='utf-8')",
"def pvxz(YKHO):\n Pibs = KOLN.parseString(YKHO.tostring())... | [
"0.71915394",
"0.71915394",
"0.71915394",
"0.71915394",
"0.6725655",
"0.6659677",
"0.6569429",
"0.65251154",
"0.65251154",
"0.6522665",
"0.6489437",
"0.6486395",
"0.6422083",
"0.64145476",
"0.6392309",
"0.6343356",
"0.63401306",
"0.63201565",
"0.6302344",
"0.63018113",
"0.628... | 0.7457286 | 0 |
Return the XML for this rels item formatted for minimal diffs. The child elements are sorted to remove arbitrary ordering between package saves. rId values are all set to 'x' so internal renumbering between saves doesn't affect the ordering. | def l5Ny(YKHO):
def yu2O(wvau):
return ZbWC.sub(' Id="[^"]+" ', ' Id="x" ', wvau)
Nqlg = YKHO.xml.split('\n')
KQdn = [vC9B for vC9B in Nqlg if vC9B.startswith(' <R')]
fT0o = sorted([yu2O(Mkmy) for Mkmy in KQdn])
cB7p = Nqlg[:2] + fT0o + Nqlg[-1:]
yvT9 = '\n'.join(cB7p)
return yvT9 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def krn_(YKHO):\n UqER = [YEnM.to_xml() for YEnM in YKHO.objects.values()]\n return JCOD(UqER, YKHO.xml_base)",
"def krn_(YKHO):\n return Kt_s.ItemId(Id=YKHO.id, ChangeKey=YKHO.change_key)",
"def hk3y(id, Ux0P, zNig, rZRz, bW3a, gV46):\n W8bl = {'id': id, 'filename': Ux0P, 'size': zNig, 'archive': ... | [
"0.5293616",
"0.5251261",
"0.51885754",
"0.51420945",
"0.51106185",
"0.5082431",
"0.5077362",
"0.5068947",
"0.50336707",
"0.4960531",
"0.4960531",
"0.4960531",
"0.4960531",
"0.49498385",
"0.49485523",
"0.48858157",
"0.48759985",
"0.4804253",
"0.47980928",
"0.47945592",
"0.479... | 0.5084538 | 5 |
Concatena el primer nombre y el primer apellido. | def cuo3(YKHO):
for AIu6 in YKHO:
AIu6.name = AIu6.primer_nombre + ' ' + AIu6.primer_apellido | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CWmu(YKHO):\n return YKHO.nombre + ' ' + YKHO.apellidos",
"def OQ_S(YKHO):\n return f'{YKHO._apellido}, {YKHO._nombre}'",
"def FHx9(YKHO):\n return '%s %s' % (YKHO.first_name, YKHO.last_name)",
"def ExTJ(YKHO):\n return f'{YKHO._nombre} {YKHO._apellido}'",
"def xpqj(YKHO):\n return YKHO.... | [
"0.7323874",
"0.6877918",
"0.67880493",
"0.6782802",
"0.669464",
"0.6655659",
"0.6636591",
"0.6630031",
"0.6501019",
"0.6497163",
"0.6486208",
"0.6475727",
"0.6468881",
"0.64319927",
"0.6427169",
"0.6412525",
"0.6408986",
"0.6407898",
"0.6404582",
"0.638329",
"0.63711435",
... | 0.68333 | 2 |
Remove the fc layer parameters from state_dict. | def gXLj(xA7f):
for H5ew, BWXx in xA7f.items():
if H5ew.startswith('fc.'):
del xA7f[H5ew]
return xA7f | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gXLj(xA7f):\n for H5ew in list(xA7f.keys()):\n if H5ew.startswith('fc.'):\n del xA7f[H5ew]\n return xA7f",
"def gXLj(xA7f):\n return {H5ew: BWXx for H5ew, BWXx in xA7f.items() if not H5ew.startswith('fc.')}",
"def rVA_(YKHO, MXK3):\n for G1Hx in list(MXK3.keys()):\n if ... | [
"0.76320803",
"0.7415124",
"0.68823403",
"0.67488295",
"0.65866965",
"0.6512849",
"0.6443955",
"0.6372054",
"0.63320273",
"0.6294449",
"0.627123",
"0.6250853",
"0.61686635",
"0.6128597",
"0.60684586",
"0.6058029",
"0.60577554",
"0.6039635",
"0.58969873",
"0.5896937",
"0.58969... | 0.75845695 | 1 |
Constructs a ResNet50 model. | def uwZX(mL4f=False, **B2fa):
C3ST = S1Vm(MF6R, [3, 4, 6, 3], **B2fa)
if mL4f:
C3ST.load_state_dict(gXLj(rA0C.load_url(mDCG['resnet50'])))
return C3ST | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def abVM():\n global ResNet50_model\n L9vW = uwZX.ResNet50(weights='imagenet')\n L9vW._make_predict_function()",
"def g4bj(YKHO):\n from tensorflow.keras.applications import ResNet50\n rvDU = ResNet50(input_shape=(uwaB.IMAGE_SIZE_EYES, uwaB.IMAGE_SIZE_EYES, 3), include_top=False, weights='imagenet... | [
"0.7942998",
"0.7562238",
"0.7498587",
"0.74903464",
"0.748225",
"0.7474884",
"0.7474884",
"0.7474884",
"0.7474884",
"0.7474884",
"0.7474884",
"0.7474884",
"0.7474884",
"0.7474884",
"0.74686694",
"0.7455879",
"0.7455879",
"0.7453793",
"0.7451919",
"0.74174935",
"0.7386383",
... | 0.7413509 | 20 |
Normalize a ND numpy array along the specified axis. | def NkkI(CiHI, T4Wy=2, jDK_=0):
CkYf = oyIN.linalg.norm(CiHI, ord=T4Wy, axis=jDK_, keepdims=True)
return CiHI / (CkYf + oyIN.finfo(oyIN.float32).eps) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jnV4(ezWE: np.array, jDK_: int=-1) -> oyIN.array:\n return ezWE / ezWE.sum(jDK_, keepdims=True)",
"def NkkI(ezWE, jDK_=0):\n return ezWE / (oyIN.expand_dims(oyIN.linalg.norm(ezWE, axis=jDK_), axis=jDK_) + 1e-10)",
"def NkkI(jzdc, jDK_=None):\n oN4y = jzdc.sum(jDK_)\n if jDK_ and jzdc.ndim > 1:\... | [
"0.84562504",
"0.8061313",
"0.79783297",
"0.7748641",
"0.75591993",
"0.7366909",
"0.73438203",
"0.7337482",
"0.728507",
"0.72849476",
"0.7283827",
"0.72761935",
"0.7206506",
"0.71976405",
"0.7193705",
"0.7188413",
"0.71701145",
"0.714972",
"0.714972",
"0.70759565",
"0.707222"... | 0.7192553 | 15 |