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
Gets or sets the Snapshot Resource Group Uri.
def vFpg(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'resource_group_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zFcP(YKHO):\n if YKHO._uri is None:\n YKHO._uri = '{0}{1}/{2}'.format(YKHO.session.resource_prefix, YKHO.base_uri, YKHO.ip_or_ifname_or_group_name)\n return YKHO._uri", "def Y1be(YKHO, Yj8_: str):\n hHld = YKHO.suggestSourceGroups(Yj8_)\n if hHld is not None and isinstance(hHld, list) and ...
[ "0.6672572", "0.6584541", "0.6555394", "0.62171316", "0.6185841", "0.60799724", "0.60523444", "0.60163105", "0.60163105", "0.60163105", "0.60163105", "0.60163105", "0.60163105", "0.5857674", "0.5845869", "0.5804673", "0.5778218", "0.5741504", "0.5653732", "0.56422544", "0.563...
0.0
-1
Gets or sets the Backup Instance friendly name.
def D7WV(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'friendly_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZUM3(YKHO):\n if YKHO.instance is not None:\n return '%s_%s' % (YKHO.name, YKHO.instance)\n else:\n return YKHO.name", "def xuAm(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'base_instance_name')", "def eHWp(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'recovery_b...
[ "0.6856098", "0.6756638", "0.66634184", "0.66634184", "0.6636592", "0.6622414", "0.6599539", "0.6565111", "0.64920545", "0.6442701", "0.6422962", "0.6302145", "0.6264109", "0.6263948", "0.62619346", "0.6215663", "0.62055", "0.62055", "0.6185765", "0.6179922", "0.6179922", "...
0.0
-1
DatasourceType of the resource.
def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'datasource_type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AjOf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datasource_type')", "def AjOf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datasource_type')", "def Qjbs(Emd4):\n pass", "def TbQV(YKHO) -> bdIy[str]:\n return qe4Y.get(YKHO, 'datasource_types')", "def X3sg(YKHO):\n Ghho = YKHO.get_first_...
[ "0.8332458", "0.8332458", "0.6924982", "0.6771135", "0.6762105", "0.6757145", "0.6757145", "0.6676432", "0.6616782", "0.65630734", "0.6558074", "0.6558074", "0.6558074", "0.6558074", "0.6558074", "0.65022177", "0.6381401", "0.63401395", "0.63123864", "0.61606944", "0.6122727"...
0.8126562
4
Resource Type of Datasource.
def Qjbs(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'resource_type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qjbs(Emd4):\n pass", "def Qjbs(YKHO) -> str:\n return 'TABLE'", "def AjOf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datasource_type')", "def AjOf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datasource_type')", "def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'datasou...
[ "0.7715713", "0.7293414", "0.7189991", "0.7189991", "0.7006099", "0.7006099", "0.7006099", "0.7006099", "0.69505984", "0.69505984", "0.6874316", "0.6779358", "0.663781", "0.6331858", "0.6200698", "0.6200294", "0.609024", "0.609024", "0.609024", "0.609024", "0.6067112", "0.6...
0.67527145
15
DatasourceType of the resource.
def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'datasource_type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AjOf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datasource_type')", "def AjOf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datasource_type')", "def Qjbs(Emd4):\n pass", "def TbQV(YKHO) -> bdIy[str]:\n return qe4Y.get(YKHO, 'datasource_types')", "def X3sg(YKHO):\n Ghho = YKHO.get_first_...
[ "0.8332458", "0.8332458", "0.6924982", "0.6771135", "0.6762105", "0.6757145", "0.6757145", "0.6676432", "0.6616782", "0.65630734", "0.6558074", "0.6558074", "0.6558074", "0.6558074", "0.6558074", "0.65022177", "0.6381401", "0.63401395", "0.63123864", "0.61606944", "0.6122727"...
0.8126562
5
Resource Type of Datasource.
def Qjbs(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'resource_type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qjbs(Emd4):\n pass", "def Qjbs(YKHO) -> str:\n return 'TABLE'", "def AjOf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datasource_type')", "def AjOf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datasource_type')", "def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'datasou...
[ "0.7715713", "0.7293414", "0.7189991", "0.7189991", "0.7006099", "0.7006099", "0.7006099", "0.7006099", "0.69505984", "0.69505984", "0.6874316", "0.6779358", "0.663781", "0.6331858", "0.6200698", "0.6200294", "0.609024", "0.609024", "0.609024", "0.609024", "0.6067112", "0.6...
0.67527145
16
Whether Date is last date of month
def V5s8(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'is_last')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oxvU(YKHO):\n M_lQ = 'find date last month'\n uDRR = 'year:' + qcWV.datetime.strftime(qcWV.datetime.today() + d5IO.relativedelta.relativedelta(months=-1), '%Y-%m')\n YKHO._compare_searches(uDRR, M_lQ)", "def gCRe(YKHO):\n return ZylS.math.equal(YKHO._days, l3Gx(YKHO._months, YKHO._years))", "de...
[ "0.77162737", "0.7637003", "0.7193566", "0.70495266", "0.7004585", "0.7004585", "0.6877646", "0.6862508", "0.682804", "0.68218356", "0.6819492", "0.6755318", "0.66948193", "0.6609038", "0.6583995", "0.6571988", "0.65471333", "0.639158", "0.62951434", "0.6255444", "0.6177465",...
0.5627973
44
The identityType which can be either SystemAssigned or None
def type(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def type(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'ManagedIdentityType']]]:\n return qe4Y.get(YKHO, 'type')", "def H_dn(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'CmkIdentityType']]]:\n return qe4Y.get(YKHO, 'identity_type')", "def type(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'IdentityType']]]:\n return qe4Y.get(YKHO, ...
[ "0.75816554", "0.74341595", "0.7400746", "0.7229784", "0.69520336", "0.6785936", "0.67084223", "0.6648023", "0.6622422", "0.6600688", "0.6586064", "0.6586064", "0.6508316", "0.6442587", "0.6383647", "0.63552207", "0.62491965", "0.6175007", "0.616516", "0.616516", "0.61416066"...
0.0
-1
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore.
def smPq(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]: return qe4Y.get(YKHO, 'excluded_namespaces')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def smPq(YKHO) -> h8nf[bdIy[str]]:\n return qe4Y.get(YKHO, 'excluded_namespaces')", "def X396(YKHO) -> qe4Y.Output[h8nf[bdIy[str]]]:\n return qe4Y.get(YKHO, 'network_excludes')", "def j28w(YKHO) -> fHNa:\n if YKHO._excludes is None:\n Kz8N = YKHO._get_manifest()\n YKHO._excludes = Kz8N['...
[ "0.726951", "0.62028396", "0.5755019", "0.5741694", "0.5657844", "0.5616728", "0.5605919", "0.5605919", "0.54789275", "0.541648", "0.5362451", "0.53375274", "0.5171774", "0.51673895", "0.51673895", "0.5159387", "0.51503", "0.51384497", "0.5132136", "0.511799", "0.5068539", ...
0.68901426
2
Gets or sets the Backup Data Source Parameters
def wSwF(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[uLKX['BlobBackupDatasourceParametersArgs', 'KubernetesClusterBackupDatasourceParametersArgs']]]]]: return qe4Y.get(YKHO, 'backup_datasource_parameters_list')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wSwF(YKHO) -> h8nf[bdIy[ImMB]]:\n return qe4Y.get(YKHO, 'backup_datasource_parameters_list')", "def XVUW(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input['DataSourceParametersArgs']]]]:\n return qe4Y.get(YKHO, 'alternate_data_source_parameters')", "def tlXF(YKHO) -> qe4Y.Input['DatasourceArgs']:\n return ...
[ "0.65967256", "0.6167608", "0.60494995", "0.57744884", "0.5750568", "0.56374073", "0.5545736", "0.55366623", "0.55174905", "0.5504011", "0.54434407", "0.5417025", "0.5359193", "0.53465897", "0.52679724", "0.5253878", "0.5172687", "0.51035506", "0.50621635", "0.5059192", "0.50...
0.65284705
1
Gets or sets the DataStore Parameters
def oEQo(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input['AzureOperationalStoreParametersArgs']]]]: return qe4Y.get(YKHO, 'data_store_parameters_list')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u2b_(YKHO):\n return YKHO.get_section_config('db')", "def SGXC(YKHO) -> qe4Y.Input['DataStoreInfoBaseArgs']:\n return qe4Y.get(YKHO, 'data_store')", "def oEQo(YKHO) -> h8nf[bdIy['outputs.AzureOperationalStoreParametersResponse']]:\n return qe4Y.get(YKHO, 'data_store_parameters_list')", "def pLcP...
[ "0.6543305", "0.6396027", "0.62810415", "0.60769933", "0.60487574", "0.59728533", "0.5954893", "0.5902878", "0.5873714", "0.5806075", "0.5778994", "0.5533632", "0.55123836", "0.53959596", "0.53892213", "0.53793097", "0.5341296", "0.5333229", "0.5328833", "0.53278583", "0.5304...
0.6497708
2
This is day of the month from 1 to 28 other wise last of month
def Oaiy(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input['DayArgs']]]]: return qe4Y.get(YKHO, 'days_of_month')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o4Rw(x0eS):\n return qcWV(2020, x0eS, 28)", "def vKLp():\n return (qcWV.now().replace(day=1) + enlf(months=1) + fCoM(days=-1)).strftime('%d-%m-%Y')", "def sz_R(Csk6):\n return _c1T(Csk6.year, Csk6.month, wTnG(Csk6.year, Csk6.month)[1])", "def JtWs():\n return qcWV.now() + enlf(months=-1)", ...
[ "0.72630197", "0.72102946", "0.69404685", "0.68378407", "0.6751712", "0.6708872", "0.66512066", "0.66361827", "0.66361827", "0.6594036", "0.6382701", "0.63677865", "0.6337808", "0.6312749", "0.6309078", "0.63083476", "0.63046056", "0.62925106", "0.62711346", "0.6258508", "0.6...
0.0
-1
It should be January/February/....../December
def WwFs(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[uLKX[str, 'Month']]]]]: return qe4Y.get(YKHO, 'months_of_year')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Pt3R(YKHO):\n YKHO.assertEqual(b0Jg.month_from_number(1).lower(), 'january')\n YKHO.assertEqual(b0Jg.month_from_number(2).lower(), 'february')\n YKHO.assertEqual(b0Jg.month_from_number(3).lower(), 'march')\n YKHO.assertEqual(b0Jg.month_from_number(4).lower(), 'april')\n YKHO.assertEqual(b0Jg.mon...
[ "0.68180126", "0.66443074", "0.6586514", "0.6534415", "0.6534415", "0.6532568", "0.6496522", "0.64385635", "0.6434855", "0.6405171", "0.63991946", "0.63788974", "0.6369394", "0.63448685", "0.63098675", "0.63045895", "0.62641734", "0.62180465", "0.62179214", "0.62167174", "0.6...
0.0
-1
Class representing a secret store resource.
def FIMM(Ro_8, *, RoiT: pulumi.Input[Union[str, 'SecretStoreType']], j8eK: Optional[pulumi.Input[str]]=None, BWXx: Optional[pulumi.Input[str]]=None): qe4Y.set(Ro_8, 'secret_store_type', RoiT) if j8eK is not None: qe4Y.set(Ro_8, 'uri', j8eK) if BWXx is not None: qe4Y.set(Ro_8, 'value', BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QMUg():\n pass", "def SN8k(YKHO) -> h8nf['outputs.SecretStoreResponse']:\n return qe4Y.get(YKHO, 'secret_store')", "def FXSn(YKHO):\n return YKHO._secrets_store", "def FIMM(Ro_8, *, RoiT: str, j8eK: Optional[str]=None, BWXx: Optional[str]=None):\n qe4Y.set(Ro_8, 'secret_store_type', RoiT)\n ...
[ "0.6171773", "0.60597205", "0.5969506", "0.58767223", "0.5844875", "0.5803025", "0.57169145", "0.57089055", "0.5687889", "0.56631774", "0.5640458", "0.5571856", "0.5555573", "0.5554669", "0.5450947", "0.5418171", "0.5418171", "0.54017866", "0.5349379", "0.53453124", "0.534502...
0.5872231
4
Gets or sets the type of the datastore.
def jYzT(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'StorageSettingStoreTypes']]]: return qe4Y.get(YKHO, 'datastore_type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jYzT(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datastore_type')", "def bzA2(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_store_type')", "def bzA2(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_store_type')", "def bzA2(YKHO) -> qe4Y.Input[uLKX[str, 'DataStoreTypes']]:\n return qe4Y.get(YKHO, 'd...
[ "0.83830196", "0.7282083", "0.7282083", "0.7005503", "0.7005503", "0.7005503", "0.68426", "0.67546064", "0.6690773", "0.6659043", "0.66421914", "0.6623806", "0.66209894", "0.66209894", "0.6607081", "0.6566162", "0.6566162", "0.6554883", "0.6511155", "0.6494774", "0.64919704",...
0.7673924
1
Gets or sets the type.
def type(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'StorageSettingTypes']]]: return qe4Y.get(YKHO, 'type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FRul(YKHO):\n return YKHO.type", "def FRul(YKHO):\n return YKHO.type", "def FRul(YKHO):\n return YKHO._type", "def FRul(YKHO):\n return YKHO._type", "def type(YKHO):\n return YKHO._getValue('type')", "def FRul(YKHO):\n return YKHO._TYPE", "def FRul(YKHO):\n return YKHO._type_ob...
[ "0.8533302", "0.8533302", "0.844054", "0.844054", "0.8312111", "0.827963", "0.8276462", "0.82763165", "0.81963736", "0.8196329", "0.8196329", "0.8196329", "0.8196329", "0.8196329", "0.8196329", "0.8196329", "0.8196329", "0.8196329", "0.8196329", "0.8196329", "0.8196329", "0...
0.0
-1
calculate the probabilities of the given data and labels p(x), p(y) and (y|x)
def uJOo(UXqs, WKvO): Fg_i = oyIN.ascontiguousarray(WKvO).view(oyIN.dtype((oyIN.void, WKvO.dtype.itemsize * WKvO.shape[1]))) W4eX, v34l, YYv5, BBC2 = oyIN.unique(Fg_i, return_index=True, return_inverse=True, return_counts=True) HhqH = WKvO[v34l] kYGz = oyIN.ascontiguousarray(HhqH).view(oyIN.dtype((oyIN....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JxU2(YKHO, WKvO, LVAh):\n XP5J = YKHO.tag_prob(LVAh)\n for YRbF in range(len(LVAh)):\n XP5J *= YKHO.out_prob(WKvO[YRbF], LVAh[YRbF])\n return XP5J", "def WErR(YKHO, WKvO, LVAh):\n return YKHO.feed_and_return(WKvO, LVAh, YKHO.network.a)", "def mrXK(YKHO, zucO):\n i9xj = YKHO.merged_mod...
[ "0.69859254", "0.6970387", "0.6938792", "0.6771588", "0.6624184", "0.65702873", "0.6564338", "0.6527763", "0.6505747", "0.6497186", "0.6476133", "0.64545935", "0.644594", "0.6423038", "0.641216", "0.63977325", "0.63880986", "0.63880986", "0.63880986", "0.6362084", "0.6315531"...
0.732544
0
View method. Renders page for contact help
def lkAe(QePW): if not RpR0(QePW): return vKnz(gxEw(IRJ7)) if QePW.method == 'GET': return _1tc(QePW, 'app/referee/help_contacts.html', {'title': 'Help Contacts', 'layout_data': lPEY(QePW)}) else: return vKnz(gxEw(uhpG))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Mxk0():\n return TvZl('contact.html')", "def Mxk0():\n return TvZl('contact.html', title='Contact', year=qcWV.now().year, message='Your contact page.')", "def Mxk0():\n return TvZl('contact.html', title='Contact', message='Contact me if you have any questions.')", "def RyYT():\n return TvZl('...
[ "0.773772", "0.7708961", "0.7685682", "0.7600462", "0.75811005", "0.7575485", "0.7575485", "0.7569908", "0.75331885", "0.7529173", "0.7511574", "0.74924576", "0.74924576", "0.74924576", "0.74924576", "0.74924576", "0.74924576", "0.74924576", "0.74924576", "0.747382", "0.74411...
0.7591644
4
Loads the data from a json file. If there are no objects of interest, then load all the objects.
def udIs(pmON, YhUR, VXjJ): with open(pmON) as KAfx: nPrm = qQXR.load(KAfx) knt2 = [] oUSw = [] oXZZ = [] sA1K = [] pe8I = [] Tegh = [] yHxN = [] I2Vp = [] HJh3 = [] LTIa = [] for Oome in range(len(nPrm['objects'])): U34r = nPrm['objects'][Oome] if...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AXOg(YKHO):\n if YKHO.file_path.exists():\n with open(YKHO.file_path) as hOYR:\n YKHO.data = qQXR.load(hOYR)", "def tyeH(YKHO):\n if not YKHO.exist:\n YKHO.create()\n with open(YKHO.file_path, encoding=PSrQ.ENCODING) as nUeQ:\n YKHO.data = qQXR.load(nUeQ)", "def tye...
[ "0.77436537", "0.7502876", "0.71920633", "0.7154787", "0.7097119", "0.70624936", "0.69570625", "0.6944725", "0.6907088", "0.6882725", "0.6871144", "0.6864754", "0.68565696", "0.6854614", "0.6841895", "0.6838909", "0.6832275", "0.68125933", "0.67923707", "0.67768687", "0.67741...
0.0
-1
Unload a config entry.
async def async_unload_entry(ajET: HomeAssistant, bTKY: ConfigEntry) -> bool: if (yT1k := (await ajET.config_entries.async_unload_platforms(bTKY, aprE))): ajET.data[Sugg].pop(bTKY.entry_id) return yT1k
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def async_unload_entry(ajET, PhL6):\n yT1k = await ajET.config_entries.async_forward_entry_unload(PhL6, 'climate')\n return yT1k", "async def async_unload_entry(ajET: HomeAssistant, bTKY: ConfigEntry) -> bool:\n ajET.data.pop(Sugg)\n return True", "async def async_unload_entry(ajET: HomeAssis...
[ "0.697284", "0.6888074", "0.6779855", "0.6747459", "0.6689002", "0.6657831", "0.66162205", "0.6603433", "0.65925974", "0.65595686", "0.65411645", "0.6507643", "0.6507643", "0.6507643", "0.6507643", "0.64977276", "0.64931643", "0.6486601", "0.6486601", "0.6486601", "0.6486601"...
0.64530563
34
Return the dataset used to populate the search index.
def BWCr(YKHO, d6pt='_all'): raise NotImplementedError("{} does not implement 'get_search_queryset'.".format(YKHO.__class__.__name__))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dD7q(YKHO):\n if YKHO.mode == 'test':\n return UQQ4(YKHO.mode, YKHO.df, YKHO.tokenizer)\n else:\n return UQQ4(YKHO.mode, YKHO.df_reindex, YKHO.tokenizer)", "def MKIS(YKHO) -> cuzp[int, x1iM]:\n if YKHO.__indexed_dataset is None:\n __n6 = YKHO.dataset()\n uf7k = __n6[:1000...
[ "0.725499", "0.72075206", "0.7205865", "0.6751035", "0.66947275", "0.6607834", "0.6565908", "0.6444941", "0.64403594", "0.6313509", "0.627967", "0.62438416", "0.623242", "0.622177", "0.61654854", "0.6106826", "0.6089863", "0.60442346", "0.60292387", "0.60286516", "0.6016198",...
0.0
-1
Return the list of indexes for which this model is configured.
def aHvR(YKHO): return yjl6(YKHO.__class__)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bS0K(YKHO) -> list:\n return YKHO._indexes", "def bS0K(YKHO):\n return getattr(YKHO, '_indexes', None)", "def bS0K(YKHO):\n bS0K = YKHO.execute(YKHO.commands.get_indexes(YKHO.name))\n return [tTFA(*SjLr) for SjLr in bS0K]", "def DzXR(YKHO):\n bS0K = []\n for Z9rn in YKHO.components:\n ...
[ "0.8692105", "0.8514446", "0.8210036", "0.795419", "0.77589834", "0.76806927", "0.7617313", "0.7530399", "0.7503585", "0.73796904", "0.7201449", "0.71161354", "0.7091268", "0.707684", "0.70442325", "0.7041412", "0.7020364", "0.6934508", "0.68621194", "0.67804945", "0.67197925...
0.83852255
2
Return the doc_type used for the model.
def FEQU(YKHO): return YKHO._meta.model_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XV9O(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'document_type')", "def mmuw(YKHO):\n if not YKHO.is_documented():\n return ByTw.none\n if YKHO._rawdoc.is_local():\n return ByTw.internal\n return YKHO._rawdoc.get_visibility()", "def t1IH(YKHO):\n uRP3, Fg5l = Hy7s....
[ "0.82361764", "0.80209893", "0.7931122", "0.7815026", "0.77053124", "0.76103824", "0.7474635", "0.7339738", "0.7115166", "0.70386565", "0.7001553", "0.6996704", "0.6989295", "0.69780153", "0.69780153", "0.6934298", "0.69298863", "0.6918553", "0.6918553", "0.6918553", "0.69185...
0.8121655
1
The max relevance score in the returned page.
def jB5X(YKHO): return max(YKHO._extract_set('score') or [0])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jB5X(YKHO):\n return YKHO.lcp.get_max_score()", "def aNGM(YKHO):\n DmEQ = 0\n for rmft in YKHO.responders.values():\n DmEQ += rmft.get_max_score()\n return DmEQ", "def jB5X(YKHO):\n return YKHO.raw_possible", "def jB5X(YKHO):\n jB5X = None\n if YKHO.check_if_done_and_scored():...
[ "0.76658165", "0.7388483", "0.73434436", "0.7306693", "0.7241699", "0.7122095", "0.70414704", "0.70045257", "0.6962654", "0.69466114", "0.68930626", "0.68438125", "0.6801763", "0.6801763", "0.67588747", "0.6756714", "0.6755588", "0.6690131", "0.6664121", "0.66097033", "0.6591...
0.77822024
0
The min relevance score in the returned page.
def AjsF(YKHO): return min(YKHO._extract_set('score') or [0])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XcNI(YKHO):\n return YKHO.min", "def XcNI(YKHO):\n return YKHO.min", "def VLaI(YKHO):\n return YKHO.metadata.relevance", "def ry_o(leAC, lgQJ=0):\n U34r = u9zX(leAC)\n if U34r:\n if lgQJ and U34r['votes'] < lgQJ:\n return 0\n return U34r['vote_average']\n return...
[ "0.6556876", "0.6556876", "0.6471062", "0.64088386", "0.6408385", "0.6394548", "0.6357086", "0.6329675", "0.6329675", "0.6329516", "0.63281", "0.63099796", "0.63099796", "0.63099796", "0.62903345", "0.62828356", "0.6275028", "0.6274877", "0.62644005", "0.625758", "0.625758", ...
0.7817991
0
Find nearest value is an array
def uiJA(qw7D, BWXx): or8S = oyIN.abs(qw7D - BWXx).argmin() return or8S
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uiJA(qw7D, BWXx):\n if isinstance(qw7D, list):\n qw7D = oyIN.array(qw7D)\n or8S = oyIN.abs(qw7D - BWXx).argmin()\n return or8S", "def uiJA(qw7D, BWXx):\n or8S = oyIN.abs(qw7D - BWXx).argmin()\n return or8S", "def uiJA(BWXx, qw7D):\n or8S = XTiz.abs(BWXx - qw7D).argmin()\n return...
[ "0.7865756", "0.77515066", "0.76853406", "0.7665857", "0.76219594", "0.76063406", "0.76048523", "0.76048523", "0.753522", "0.7457811", "0.7457811", "0.7439638", "0.73862314", "0.73599696", "0.73247737", "0.72137177", "0.7179227", "0.71250546", "0.710034", "0.703493", "0.69839...
0.7605422
6
function for Gaussian doublet
def PeQx(WKvO, Z9rn, TPao, fVVZ, UG9l, epBp, x9Kx): YIEN = [3727.092, 3729.875] jtyf = YIEN[0] * (1 + epBp) V70B = YIEN[1] * (1 + epBp) WTkW = oyIN.sqrt(UG9l ** 2 + x9Kx ** 2) CkYf = WTkW * oyIN.sqrt(2 * oyIN.pi) OpKk = TPao / CkYf * oyIN.exp(-(WKvO - jtyf) ** 2 / (2 * WTkW ** 2)) itg4 = fVV...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dsu2(YKHO, sTX0, Gmq6):\n NUWz = sTX0 - Gmq6[0]\n wEsz = Gmq6[1]\n wEsz = wEsz * wEsz\n return oyIN.exp(-0.5 * NUWz * NUWz / wEsz) * YKHO.ThetaFunc(sTX0)", "def Gkmu(WKvO, a1PO, WTkW):\n return oyIN.exp(-(WKvO - a1PO) ** 2 / (2 * WTkW ** 2))", "def IYu9(YKHO, WKvO: ndarray, yGTL: float, WTkW...
[ "0.70588374", "0.7025088", "0.69851714", "0.6947471", "0.6907649", "0.6901051", "0.6871714", "0.6869415", "0.68690425", "0.68538356", "0.68074876", "0.6803383", "0.6794585", "0.67712307", "0.6753062", "0.67484576", "0.6735663", "0.67319995", "0.6726064", "0.6708039", "0.67017...
0.0
-1
Returns True if n is prime.
def _f0Y(exwG): if exwG == 2: return True if exwG == 3: return True if exwG % 2 == 0: return False if exwG % 3 == 0: return False YRbF = 5 yzQ0 = 2 while YRbF * YRbF <= exwG: if exwG % YRbF == 0: return False YRbF += yzQ0 yz...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FBNJ(exwG):\n return T1qg(exwG)", "def FBNJ(exwG):\n return T1qg(exwG)", "def JVAb(Emd4, exwG):\n if exwG <= 1:\n return False\n if exwG <= 3:\n return True\n if exwG % 2 == 0 or exwG % 3 == 0:\n return False\n YRbF = 5\n while YRbF * YRbF <= exwG:\n if exwG...
[ "0.8514553", "0.85052115", "0.8478591", "0.8415317", "0.8408101", "0.84059155", "0.8389028", "0.8350958", "0.83173066", "0.83133805", "0.8305305", "0.83034956", "0.830075", "0.82713956", "0.8248401", "0.8248108", "0.8245176", "0.82376003", "0.82293326", "0.82223743", "0.82108...
0.7929015
52
update learning rate based on number of epochs.
def NkTt(YKHO): GPtr = YKHO.config JQpF = LXsA.adjust_learning_rate(YKHO.optimizer, YKHO.epoch, GPtr['training']['learning_rate'], decay=GPtr['training']['lr_decay_rate'], step=GPtr['training']['lr_decay_step']) YKHO.cur_lr = JQpF return JQpF
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fggk(YKHO):\n YKHO.scheduler.step(YKHO.clock.epoch)", "def b0Ix(qtWj):\n YKHO.lr = YKHO.lr / 1.00000001\n return YKHO.lr", "def d9M4(YKHO, qtWj):\n YKHO.lr = oTIY(epoch=qtWj, opt=YKHO.opt)\n if isinstance(YKHO.model, list):\n UHFx = 0\n for Lwm5 in YKHO.optimzer.param_groups:\n...
[ "0.84405017", "0.81472224", "0.803189", "0.796083", "0.79512155", "0.79512155", "0.7872908", "0.7766583", "0.7766583", "0.7752016", "0.76515144", "0.76494586", "0.7617318", "0.7574289", "0.75422424", "0.75035465", "0.7499424", "0.74836063", "0.7475335", "0.74470955", "0.74378...
0.0
-1
This function returns a singular html template. This template enables the user to view the home page. This is the centre of the program and where you can access all the various different parts of the program through the buttons provided.
def vja_() -> str: return TvZl('home.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy():\n return TvZl('Main_Page.html')", "def kZiy():\n return TvZl('main.html')", "def kZiy():\n return TvZl('homepage.html')", "def kZiy():\n return TvZl('home.html')", "def kZiy():\n return TvZl('home.html')", "def kZiy():\n return TvZl('home.html')", "def kZiy():\n return ...
[ "0.8343259", "0.82844776", "0.8245626", "0.8198781", "0.8198781", "0.81965923", "0.8167671", "0.8156996", "0.8156996", "0.8156996", "0.8156996", "0.8156996", "0.8156996", "0.8156996", "0.8156996", "0.8156996", "0.8156996", "0.8156996", "0.8156996", "0.8156996", "0.8156996", ...
0.83848834
0
This is the first part of the recommendation to the user. This calls a function that searches for all the tanks currently available and all their capabilites. It then passes this information to a html template that is returned at the end of the function. The html template allows the user interface to display all the av...
def e6CY() -> str: dTu8 = ukp3() VD9r = dTu8[0] muG1 = dTu8[1] FzpN = dTu8[2] KsKN = dTu8[3] CJ90 = dTu8[4] return TvZl('make_first_recommendation.html', fermentation_string=VD9r, conditioning_string=muG1, first_advice=FzpN, second_advice=KsKN, next_page=CJ90)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ukp3():\n RQmc = None\n RQmc = None\n VD9r = []\n muG1 = []\n for uhDz in ZrI9:\n if 'Fermenter' in upB8[uhDz]['Capabilities']:\n if upB8[uhDz]['Activity_Status'] == 'Nothing':\n VD9r.append(uhDz)\n for IO2M in ZrI9:\n if 'Conditioner' in upB8[IO2M]['Ca...
[ "0.65310216", "0.6325169", "0.60679734", "0.5968718", "0.5820628", "0.578148", "0.57569426", "0.55996466", "0.5597419", "0.5594505", "0.55584127", "0.5540173", "0.5539492", "0.548138", "0.54568136", "0.54489106", "0.54305226", "0.54056174", "0.54024667", "0.5389053", "0.53655...
0.6866057
0
Check to see if the data to be set is greater than 41. If so it sets its self to an empty bytearray
def nPrm(YKHO, nPrm): if len(nPrm) > 41: YKHO._data = b'' else: YKHO._data = nPrm return YKHO._data
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def n2D4(YKHO):\n YKHO._doesnt_overfill_test(bytearray)", "def ULGA(YKHO):\n YKHO._doesnt_overfill_test(bytearray)", "def cZSK(YKHO) -> None:\n assert len(list(YKHO._dataset)) == 7168", "def s377(YKHO):\n return YKHO.byte_ptr >= len(YKHO.data)", "def lsmZ(YKHO):\n return 0 >= len(YKHO.__data...
[ "0.6138799", "0.60896724", "0.59207314", "0.5884751", "0.5841276", "0.58060604", "0.5703514", "0.5611757", "0.55998605", "0.55391407", "0.5529907", "0.5529907", "0.5501765", "0.5496981", "0.54673624", "0.54673624", "0.54673624", "0.54673624", "0.5466879", "0.5455637", "0.5447...
0.59941256
2
Initializes the DMAX class
def FIMM(YKHO, qQXR): if 'show' not in qQXR or 'videos' not in qQXR: raise Exception('Invalid JSON.') YKHO.show = V4m6(qQXR['show']) YKHO.seasons = [] for O0fe in YKHO.show.seasonNumbers: try: Tr4B = qQXR['videos']['episode'][str(O0fe)] except KeyError: co...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO):\n YKHO.max = None\n YKHO.st = []", "def FIMM(YKHO, lEar=6):\n YKHO.DIE_MAX = lEar\n YKHO.NUMBER = 0", "def FIMM(YKHO):\n YKHO.counts = [0] * 10\n YKHO.values = [0] * 10\n YKHO.softmaxvalues = [0] * 10\n YKHO.t = 0.3", "def FIMM(YKHO, ojHl, J6w9=-1, bi5h=-1):\n YKHO....
[ "0.6973113", "0.666962", "0.6616509", "0.6554326", "0.65416646", "0.65109324", "0.6510333", "0.650464", "0.6479047", "0.64742815", "0.64552224", "0.6419474", "0.6398021", "0.63797534", "0.6374326", "0.6365662", "0.6362007", "0.63569117", "0.6339352", "0.6321092", "0.6305269",...
0.0
-1
1hot encodes a tensor
def fKLU(LVAh, jTqs): return oyIN.eye(jTqs, dtype='uint8')[LVAh]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zGX0(WKvO):\n hlel = oyIN.zeros((len(WKvO), 10))\n for YRbF, r845 in enumerate(WKvO):\n hlel[YRbF, r845] = 1\n return hlel", "def zGX0(YKHO, ezWE, OR2u):\n KLLm = oyIN.zeros((oyIN.multiply(*ezWE.shape), OR2u), dtype=oyIN.float32)\n KLLm[oyIN.arange(KLLm.shape[0]), ezWE.flatten()] = 1.0\...
[ "0.82578593", "0.8061468", "0.80140257", "0.7917851", "0.7914897", "0.7883416", "0.78429884", "0.78089696", "0.7765784", "0.77376443", "0.77376443", "0.7733915", "0.7728651", "0.77133274", "0.7686273", "0.76797515", "0.75851345", "0.7560708", "0.75560004", "0.75353223", "0.75...
0.0
-1
return a zero value corresponding to a flux calculation on sflux
def bnlz(Emd4, XOYi, jDK_=-1): return oyIN.zeros_like(XOYi).sum(axis=jDK_)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YCoW(YKHO):\n return 10 ** (-0.4 * YKHO.ST_zero_mag) * s_TI('erg*s-1*cm-2*AA-1')", "def YCoW(YKHO):\n return 10 ** (-0.4 * YKHO.ST_zero_mag) * s_TI('erg*s**-1*cm**-2*AA**-1')", "def m0Se(YKHO):\n return 10 ** (-0.4 * YKHO.AB_zero_mag) * s_TI('erg*s**-1*cm**-2*AA**-1')", "def rNtf(YKHO):\n ret...
[ "0.81539816", "0.812855", "0.739736", "0.7279082", "0.72650796", "0.7200664", "0.69272596", "0.69256216", "0.6809822", "0.67327976", "0.6680877", "0.6661498", "0.65945995", "0.6578463", "0.6567132", "0.6441287", "0.6402233", "0.6368012", "0.6365504", "0.63605064", "0.6322309"...
0.7736126
2
AB flux zero point in Jansky (Jy)
def B5gs(YKHO): Z9rn = 1e-08 * Byma.c.to('m/s').value eHNT = 100000.0 / Z9rn * YKHO.lpivot.to('AA').value ** 2 * YKHO.AB_zero_flux.value return eHNT * s_TI('Jy')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def B30k(YKHO):\n Z9rn = 1e-08 * Byma.c.to('m/s').value\n eHNT = 100000.0 / Z9rn * (YKHO.lpivot.to('AA').value ** 2 * YKHO.Vega_zero_flux.to('erg*s**-1*cm**-2*AA**-1').value)\n return eHNT * s_TI('Jy')", "def s6WT(YKHO):\n Z9rn = 1e-08 * Byma.c.to('m/s').value\n eHNT = 100000.0 / Z9rn * YKHO.lpivo...
[ "0.7955171", "0.7926594", "0.74460584", "0.7234044", "0.7013625", "0.67468727", "0.66445875", "0.6607706", "0.6427392", "0.62358874", "0.60310906", "0.5993075", "0.59417474", "0.5927505", "0.5927505", "0.59052306", "0.5900024", "0.58882886", "0.5878071", "0.5853615", "0.58445...
0.8312335
0
Vega flux zero point in Jansky (Jy)
def B30k(YKHO): Z9rn = 1e-08 * Byma.c.to('m/s').value eHNT = 100000.0 / Z9rn * (YKHO.lpivot.to('AA').value ** 2 * YKHO.Vega_zero_flux.to('erg*s**-1*cm**-2*AA**-1').value) return eHNT * s_TI('Jy')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def s6WT(YKHO):\n Z9rn = 1e-08 * Byma.c.to('m/s').value\n eHNT = 100000.0 / Z9rn * YKHO.lpivot.to('AA').value ** 2 * YKHO.ST_zero_flux.value\n return eHNT * s_TI('Jy')", "def B30k(YKHO):\n return YKHO._get_mean_and_samples_attribute('Vega_zero_Jy')", "def B5gs(YKHO):\n Z9rn = 1e-08 * Byma.c.to('...
[ "0.78034115", "0.7717615", "0.74681675", "0.6807964", "0.6759582", "0.6725391", "0.6689461", "0.6658358", "0.6530621", "0.6493975", "0.63182706", "0.6184906", "0.6149092", "0.60269374", "0.60091394", "0.59725505", "0.5924603", "0.5868209", "0.585497", "0.5825818", "0.58106613...
0.8467789
0
Returns the attribute from the mean passband
def azT4(YKHO, hkS8, *qIxc, **B2fa): hkS8 = getattr(YKHO.mean_, hkS8) try: return hkS8(*qIxc, **B2fa) except TypeError: return hkS8
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lVH4(YKHO):\n return YKHO.mean", "def JBMS(YKHO):\n return sum(YKHO.sample) / len(YKHO.sample)", "def SfSc(YKHO, U_NH):\n return YKHO.gp_link.transf(U_NH)", "def SfSc(YKHO, U_NH):\n return YKHO.gp_link.transf(U_NH)", "def SfSc(YKHO, U_NH):\n return YKHO.gp_link.transf(U_NH)", "def SfSc...
[ "0.6703737", "0.65768284", "0.6554898", "0.6554898", "0.6554898", "0.6554898", "0.6554898", "0.6549539", "0.651033", "0.6477349", "0.6470019", "0.6453719", "0.6453719", "0.6441814", "0.64380246", "0.6393722", "0.63826346", "0.6331023", "0.6312477", "0.62369126", "0.6231755", ...
0.6751219
0
AB flux zero point in Jansky (Jy)
def B5gs(YKHO): return YKHO._get_mean_and_samples_attribute('AB_zero_Jy')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def B5gs(YKHO):\n Z9rn = 1e-08 * Byma.c.to('m/s').value\n eHNT = 100000.0 / Z9rn * YKHO.lpivot.to('AA').value ** 2 * YKHO.AB_zero_flux.value\n return eHNT * s_TI('Jy')", "def B30k(YKHO):\n Z9rn = 1e-08 * Byma.c.to('m/s').value\n eHNT = 100000.0 / Z9rn * (YKHO.lpivot.to('AA').value ** 2 * YKHO.Vega...
[ "0.8312335", "0.7955171", "0.7926594", "0.7234044", "0.7013625", "0.67468727", "0.66445875", "0.6607706", "0.6427392", "0.62358874", "0.60310906", "0.5993075", "0.59417474", "0.5927505", "0.5927505", "0.59052306", "0.5900024", "0.58882886", "0.5878071", "0.5853615", "0.584456...
0.74460584
3
Vega magnitude zero point Vegamag = 2.5 log10(f_lamb) + 2.5 log10(f_vega) Vegamag = 2.5 log10(f_lamb) zpts
def KmM2(YKHO): return YKHO._get_mean_and_samples_attribute('Vega_zero_mag')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KmM2(YKHO):\n shSu = YKHO.Vega_zero_flux.value\n if shSu > 0:\n return -2.5 * oyIN.log10(shSu)\n else:\n return float('nan')", "def YW11(Cwt5, wv7i, Csk6):\n cAlv = 5.0 * oyIN.log10(wv7i * Csk6) - 3.99 - 0.00106 * Cwt5 + 0.0002054 * Cwt5 ** 2.0\n return cAlv", "def PmWe(I1mm, o...
[ "0.7171862", "0.6595487", "0.6569158", "0.6311985", "0.6289262", "0.62558156", "0.6234904", "0.61879754", "0.616959", "0.61420524", "0.6128055", "0.61219585", "0.60586685", "0.6034381", "0.60135555", "0.5930348", "0.5930348", "0.5911923", "0.590989", "0.5858539", "0.58078855"...
0.69578356
1
Vega flux zero point in Jansky (Jy)
def B30k(YKHO): return YKHO._get_mean_and_samples_attribute('Vega_zero_Jy')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def B30k(YKHO):\n Z9rn = 1e-08 * Byma.c.to('m/s').value\n eHNT = 100000.0 / Z9rn * (YKHO.lpivot.to('AA').value ** 2 * YKHO.Vega_zero_flux.to('erg*s**-1*cm**-2*AA**-1').value)\n return eHNT * s_TI('Jy')", "def s6WT(YKHO):\n Z9rn = 1e-08 * Byma.c.to('m/s').value\n eHNT = 100000.0 / Z9rn * YKHO.lpivo...
[ "0.8467789", "0.78034115", "0.74681675", "0.6807964", "0.6759582", "0.6725391", "0.6689461", "0.6658358", "0.6530621", "0.6493975", "0.63182706", "0.6184906", "0.6149092", "0.60269374", "0.60091394", "0.59725505", "0.5924603", "0.5868209", "0.585497", "0.5825818", "0.58106613...
0.7717615
2
Send out email to user with the order details
def kitd(QePW, T4Wy, Bhhr): Ymy9 = Oe1I(T4Wy) boaR = DWkG.render_to_string('email_templates/order_complete.html', {'order': T4Wy, 'user': QePW.user.first_name, 'user_correct': Bhhr, 'users_entries': Ymy9}) Ol8d = t5Yq(boaR) J_Di('Your Order for Project Parts', message=Ol8d, from_email='noreply@projectpa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _48s(YKHO, T4Wy):\n EFZl = T4Wy.email\n H4oe = eoaG('checkout/confirmation_emails/confirmation_email_subject.txt', {'order': T4Wy})\n MhNs = eoaG('checkout/confirmation_emails/confirmation_email_body.txt', {'order': T4Wy, 'contact_email': gCuF.DEFAULT_FROM_EMAIL})\n J_Di(H4oe, MhNs, gCuF.DEFAULT_FR...
[ "0.82928586", "0.7682682", "0.74174416", "0.7049885", "0.70146614", "0.6994562", "0.6991252", "0.6910069", "0.6819035", "0.6795749", "0.6749802", "0.660168", "0.64808744", "0.6464286", "0.6408604", "0.6406102", "0.63820356", "0.6380898", "0.63727355", "0.6362171", "0.63594854...
0.7942199
1
Getter function for tensor's maximum value Returns
def max(YKHO): return YKHO.__max
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qfB5(YKHO):\n if YKHO.right:\n return YKHO.right.get_max()\n return YKHO.value", "def qfB5(YKHO):\n if not YKHO:\n return None\n return YKHO.right.get_max() if YKHO.right else YKHO.value", "def BfFQ(YKHO):\n if YKHO.is_ready():\n ME8y = [RMLF.get_max_value() for RMLF in ...
[ "0.7814502", "0.7655354", "0.76547945", "0.7586031", "0.7586031", "0.7586031", "0.7586031", "0.7586031", "0.7586031", "0.75612974", "0.7405042", "0.7402439", "0.74016994", "0.7342071", "0.732159", "0.7286938", "0.72835016", "0.7277852", "0.72358626", "0.72238904", "0.7197944"...
0.7198591
20
Constructor for dictionary of quantized tensors and it's parameters. Defines Qmn data format for all operands taking into account accumulator limitations and containers size. Construct dictionary with quantized data and number of integer and fractional bits.
def A9tf(YKHO, vNYJ, ZRB_, s_p_): e31C = YKHO.__weights.get_shape() Gnft = int(oyIN.prod(e31C[1:])) + 1 if e31C is not None else 1 Uqzq = int(oyIN.ceil(oyIN.log2(Gnft))) JOKc = s_p_ - 1 - (oyIN.iinfo(vNYJ).bits - 1 + oyIN.iinfo(ZRB_).bits - 1) slpp = max(0, Uqzq - JOKc) TtUO = slpp // 2 if slpp ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AaEW(YKHO, tS2P, UOVU=32) -> dict:\n raise NotImplementedError('To be Overidden by derived class')", "def FIMM(YKHO, qBqe=None, U3Fm=True):\n YKHO.conversionFactor = None\n ' SI to Customary unit conversion factor.\\n Type `float`. '\n YKHO.customaryUnit = None\n ' Customary unit for qu...
[ "0.62280905", "0.564548", "0.56182826", "0.55725956", "0.5435131", "0.54296976", "0.54244226", "0.53989583", "0.53947866", "0.5351157", "0.53509235", "0.534555", "0.5313687", "0.5309652", "0.5300345", "0.5295646", "0.52824205", "0.52723515", "0.52277386", "0.51975316", "0.518...
0.49785843
57
Draw multiline segment line.
def FUY5(XQzp, LTIa, BOkw): WKvO, LVAh = ([], []) for o4D3, si3g in LTIa: WKvO.append(o4D3) LVAh.append(si3g) fUYa, bEXe = (oyIN.array(WKvO), oyIN.array(LVAh)) LTIa = rLdf.DataFrame({'x': fUYa, 'y': bEXe, 'val': 5.0}) waEm = XQzp.line(LTIa, 'x', 'y', agg=oxOY.reductions.max('val'), a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UaY5(o4D3: float, si3g: float, ajwV: float, skBL: float, qfpW: C3F) -> None:\n _y2g.graphics.draw(2, _y2g.gl.GL_LINE_STRIP, (bqJo._VERTEX_MODE, [o4D3, si3g, ajwV, skBL]), (bqJo._COLOR_MODE, qfpW * 2))", "def egFI(YKHO):\n return _VfD.Layout_createLineSegment(YKHO)", "def cbEp(YKHO):\n return YKHO....
[ "0.712841", "0.71167517", "0.7035058", "0.6927008", "0.69184357", "0.6912172", "0.68933135", "0.6888025", "0.687332", "0.68591684", "0.6811891", "0.6798206", "0.6752544", "0.6743064", "0.6726996", "0.668786", "0.6682396", "0.6651137", "0.6635995", "0.66094404", "0.66072714", ...
0.6414569
38
Add the positions of the extra analysis points to the plot using a scatter plot.
def xy13(YKHO, r8hN=None, **B2fa): if r8hN is None: bo34.debug('No projection defined') bo34.debug('Adding extra analysis points to plot') Z9t6 = QrM1.scatter(YKHO.x, YKHO.y, **B2fa) else: bo34.debug('Applying projection to coordinates') bo34.debug('Adding extra analysis ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nSFJ(YKHO, **B2fa):\n bo34.debug('Adding data positions to plot')\n QrM1.scatter(YKHO.x, YKHO.y, **B2fa)", "def u6_w(YKHO):\n YKHO.plot(1)", "def kGfO(YKHO):\n YKHO.plot(2)", "def JFjE(YKHO):\n QrM1.scatter(YKHO.a1[:, 0], YKHO.a1[:, 1], c='red', alpha=0.5, s=10)\n QrM1.scatter(YKHO.a2[:...
[ "0.7823959", "0.76678294", "0.7274649", "0.67439365", "0.6629936", "0.65924805", "0.65924805", "0.6554216", "0.6543434", "0.65303415", "0.6525799", "0.65004516", "0.6477438", "0.64087903", "0.63663775", "0.6360046", "0.63596565", "0.6346742", "0.6313364", "0.6305566", "0.6264...
0.6911374
3
ConvReLUBatch Normalization layer for timing. This does not use dilated convolutions.
def vRjs(C3ST, pt4o): C3ST = lTlC(filters=pt4o, kernel_size=3, padding='causal', activation='relu')(C3ST) C3ST = GVKG()(C3ST) return C3ST
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def t09U(Gzv5):\n mJgj = oyIN.array([1, 2, 4, 8, 16, 32])\n Gzv5.insert(0, 1)\n print(f'input_dim: {Gzv5}')\n vHnr = X6a0(shape=Gzv5)\n Z5Kd = 0\n assert sum(mJgj) * Z1S6 + 1 == 127, 'Paper specifies receptive field size should be 127'\n i92A, wcxD, bGrB = riFb(vHnr, None, 1, 1, Z5Kd)\n for...
[ "0.60287344", "0.5751664", "0.5739958", "0.57281977", "0.5697611", "0.5562304", "0.55605", "0.5474903", "0.54483545", "0.5435087", "0.5429619", "0.5400676", "0.53994817", "0.5386998", "0.5351907", "0.5351409", "0.5315514", "0.5312692", "0.53119487", "0.531136", "0.5309245", ...
0.5593623
5
Multiplies learning rate by 0.1 at 100 and 150 epochs, i.e., new learning rate = old learning rate 0.1
def hc6Z(HasU): qs39 = [0, 99, 149] for YRbF in [2, 1, 0]: if HasU >= qs39[YRbF]: return 0.001 * pow(0.1, YRbF)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b0Ix(qtWj):\n YKHO.lr = YKHO.lr / 1.00000001\n return YKHO.lr", "def e_63(K0do, qtWj):\n tspZ = y7GR.lr * 0.5 ** (qtWj // y7GR.step)\n return tspZ", "def e_63(ouZy, K0do, qtWj, dLlC):\n tspZ = ouZy * 0.3 ** (qtWj // 5)\n if qtWj == dLlC:\n tspZ = tspZ * 0.3\n for Lwm5 in K0do.pa...
[ "0.7858263", "0.77125233", "0.7631209", "0.7599146", "0.7599146", "0.75638705", "0.7546732", "0.7529453", "0.75288504", "0.75178415", "0.7515504", "0.75136405", "0.7512143", "0.75012887", "0.7496099", "0.7484208", "0.7483087", "0.7482462", "0.7481481", "0.74794", "0.74794", ...
0.0
-1
Update segment tree. Don't forget to update cur.val when finishing update left or right branch.
def Pino(YKHO, YRbF, wEf2, DpUl): yKcO, Os4s = (DpUl.start, DpUl.end) if yKcO == Os4s == YRbF: DpUl.val = wEf2 return x1fj = yKcO + (Os4s - yKcO) / 2 if YRbF <= x1fj: DpUl.val -= DpUl.left.val YKHO.updateTree(YRbF, wEf2, DpUl.left) DpUl.val += DpUl.left.val el...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IDad(YKHO, or8S):\n _AKB = (or8S - 1) // 2\n while _AKB >= 0:\n LFlW, _tIi = (2 * _AKB + 1, 2 * _AKB + 2)\n YKHO.__tree[_AKB] = YKHO.__tree[LFlW] + YKHO.__tree[_tIi]\n _AKB = (_AKB - 1) // 2", "def xHUQ(YKHO):\n if YKHO.node:\n YKHO.node.update()\n YKHO.draw()", ...
[ "0.67214155", "0.6306272", "0.61446464", "0.6127258", "0.59922403", "0.5971634", "0.5816988", "0.5806862", "0.5668333", "0.5661651", "0.56332695", "0.5599132", "0.5585826", "0.55756366", "0.5561707", "0.549598", "0.5485218", "0.54720384", "0.54681623", "0.54573953", "0.543765...
0.7396965
0
Determines the dot product of two vectors.
def X6_J(hQHm, jlSq): return sum((jzdc * Fg_i for jzdc, Fg_i in zip(hQHm, jlSq)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BJ1H(jzdc, Fg_i):\n if len(jzdc) != len(Fg_i):\n raise Exception('Input vectors must be of same length, not %d and %d' % (len(jzdc), len(Fg_i)))\n return float(sum([jzdc[YRbF] * Fg_i[YRbF] for YRbF in range(len(jzdc))]))", "def BJ1H(ENWa, ZoT5):\n return sum((XOOk * pHXX for XOOk, pHXX in zip...
[ "0.8847897", "0.87523925", "0.87215096", "0.8702009", "0.8628717", "0.86110663", "0.86099905", "0.8586864", "0.8546255", "0.8509135", "0.848024", "0.8465942", "0.84573877", "0.83769715", "0.835582", "0.83436835", "0.82595724", "0.8258707", "0.82569945", "0.8238753", "0.822051...
0.8594053
7
Instantiate a new Location object.
def FIMM(YKHO, TPao=None, fVVZ=None, ytks=None, UXqs=None): YKHO.i1 = TPao YKHO.i2 = fVVZ YKHO.setAxial(ytks) if not UXqs: YKHO.label = 'ExCore' YKHO.makeLabel() else: YKHO.fromLabel(UXqs) YKHO.firstChar = None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gdre(YKHO, **MFnN):\n return _JMH(YKHO, **MFnN)", "def FIMM(YKHO, Rci7):\n YKHO.location = Rci7", "def Y6zq(YKHO, Rci7):\n \"\"\"Does nothing\"\"\"", "def FIMM(YKHO):\n VQ6Z = qqdq.new_cLocation()\n try:\n YKHO.this.append(VQ6Z)\n except:\n YKHO.this = VQ6Z", "def Rci7(Y...
[ "0.75213677", "0.7396841", "0.7207325", "0.714897", "0.7116795", "0.708318", "0.6895766", "0.688466", "0.6838823", "0.67938846", "0.6786126", "0.67531747", "0.6702149", "0.651652", "0.6497623", "0.6468116", "0.64227", "0.6399603", "0.6314982", "0.6285724", "0.6156157", "0.6...
0.0
-1
Check equality between locations.
def xa14(YKHO, Elif): if not issubclass(Elif.__class__, _JMH): return False Toy4 = [YKHO.i1 == Elif.i1, YKHO.i2 == Elif.i2, YKHO.axial == Elif.axial, YKHO.label == Elif.label] return all(Toy4)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n if not isinstance(Elif, _JMH):\n return False\n return YKHO.latitude == Elif.latitude and YKHO.longitude == Elif.longitude", "def kJTp(YKHO, Elif):\n if not isinstance(Elif, PvyL):\n return False\n return YKHO.longitude == Elif.getLongitude() and YKHO.latitude ==...
[ "0.7465757", "0.7173755", "0.69456905", "0.68631357", "0.6830194", "0.6830194", "0.68289477", "0.6805213", "0.6774094", "0.67294335", "0.66825354", "0.6651678", "0.6637405", "0.6637012", "0.6622103", "0.65752906", "0.65546346", "0.64931685", "0.64499307", "0.644077", "0.64161...
0.7117363
2
Determines if another location is stacked with this one (for equivalence testing).
def gy7h(YKHO, hksT): if YKHO.i1 == hksT.i1 and YKHO.i2 == hksT.i2: return True else: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u8VQ(YKHO, Elif: AtomKey) -> bool:\n ...", "def NhD0(YKHO, DV6u):\n if YKHO._locations != DV6u:\n return True\n elif YKHO.size:\n return True\n elif YKHO._count:\n return True\n return False", "def thHz(YKHO, Elif):\n k0lF = YKHO.minimization().relabeled()\n [RqgG]...
[ "0.6210208", "0.6191093", "0.6158436", "0.61319274", "0.6059272", "0.6009066", "0.5975616", "0.5886521", "0.58241713", "0.5813602", "0.57885575", "0.57864624", "0.5772882", "0.5749183", "0.5728331", "0.570694", "0.5688356", "0.5680987", "0.5679803", "0.5677977", "0.5656998", ...
0.7433343
0
Calculates the distance between the current coordinates and the targetCoords. This is used to help determine the optimal packing for a core
def HtDb(YKHO, CKGV=None, H2HG=None): if CKGV: if not isinstance(CKGV, tuple): CKGV = CKGV.coords(p=H2HG) else: CKGV = (0, 0) UVtp = YKHO.coords(H2HG) Csk6 = epAf.sqrt((UVtp[0] - CKGV[0]) ** 2 + (UVtp[1] - CKGV[1]) ** 2) return Csk6
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AUp_(AXTs, x_MU):\n for epBp in x_MU.coordinates:\n for LVAh in epBp:\n for WKvO in LVAh:\n WKvO.distance_to_goal = abs(WKvO.x_coord - AXTs[0])\n WKvO.distance_to_goal += abs(WKvO.y_coord - AXTs[1])\n WKvO.distance_to_goal += abs(WKvO.z_coord - ...
[ "0.7075014", "0.6965575", "0.68605727", "0.6628953", "0.65025884", "0.6489333", "0.6477388", "0.6429518", "0.6356393", "0.6328232", "0.63032037", "0.62321806", "0.61943305", "0.6167752", "0.6164678", "0.6150171", "0.6142189", "0.6053825", "0.6036588", "0.6034328", "0.6030777"...
0.59636754
27
Return The total number of positions in the specified number of rings. Notes a single pin counts as 1 ring.
def ey7G(YKHO, HlHH=None): if HlHH is None: HlHH = YKHO.ring if HlHH == 0: return 0 else: return 1 + sum([6 * exwG for exwG in range(HlHH)])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ey7G(YKHO, HlHH=None):\n if HlHH is None:\n HlHH = YKHO.i1\n return sum((YKHO.getNumPosInRing(ND37) for ND37 in range(HlHH + 1)))", "def PBfM(YKHO, kwKR, CK6s=False):\n ShMD = 0\n for bD2m in Hs6x.count(0):\n ShMD += YKHO.getNumPosInRing(bD2m)\n if not CK6s and ShMD > kwKR:\n...
[ "0.78359944", "0.72448283", "0.703219", "0.6982429", "0.67126626", "0.6570651", "0.64970434", "0.6483523", "0.62990856", "0.6290666", "0.61671436", "0.61543256", "0.61224073", "0.6110513", "0.6020392", "0.5976255", "0.59602314", "0.5941542", "0.5895465", "0.5866224", "0.58632...
0.833412
0
r""" Compute the difference mesh points contained in a certain location. When building finite different meshes, a lookup table from mesh point to block is required. This method returns a list of x, y indices that the triangle meshes in this location will have in 1/3 symmetric 120 geometry. The mesh indices returned wil...
def W9Kt(YKHO, B1Wx=1, ogBj=False, DWhD=False): if not ogBj: soth = YKHO.isOnWhichSymmetryLine() else: soth = False q45D = 2 * B1Wx W2Jm = 4 * B1Wx - 1 rsV2, pE9Q = YKHO._getTopCenterIndices(B1Wx, DWhD) Cv1w = YKHO._getDeltaMeshJ(q45D, soth) IOpm = [] for RA_F in reversed...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tNid(YKHO):\n YKHO._ensure_mesh()\n RYOy = YKHO._knots_to_mesh\n return oyIN.where(RYOy[1:] != RYOy[:-1])[0]", "def vRWl(YKHO):\n Rci7 = s48k()\n ZK7B = ql_G()\n T7Wz = ZK7B.Triangulation(YKHO.topods_shape(), Rci7)\n if T7Wz == None:\n return ([], [])\n Xg1X = T7Wz.Nodes()\n ...
[ "0.60541624", "0.5712651", "0.547683", "0.5457749", "0.5442335", "0.5435382", "0.52934265", "0.52836204", "0.52721506", "0.5267491", "0.5251447", "0.5227243", "0.5209922", "0.51972866", "0.5188963", "0.51312953", "0.5103185", "0.50842696", "0.507303", "0.5047566", "0.50386953...
0.0
-1
Figures out R coordinates of the center of a ThetaRZ voxel given thetaR mesh object parameters.
def x9oC(YKHO): if YKHO.radial > 0 and YKHO.radial < len(YKHO.ThRZmesh.getPositions(label='R')): A3Vt = (YKHO.radialInner() + YKHO.radialOuter()) / 2.0 else: v8K1.warning('Error: Radial Index ({}) location not INSIDE mesh '.format(YKHO.radial)) v8K1.warning(YKHO.ThRZmesh.getPositions(lab...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nrOS(YKHO, q7In):\n vgXP = oyIN.dot(xKjh(q7In), [YKHO.radius, 0, 0])\n return oyIN.add(YKHO.center, vgXP)", "def D2aF(ggLL, eeC1, CRXa):\n e0u2 = lfU3(t_x=0.265, t_y=0, t_z=0.014)\n y5SI = mjcn(PNGo(ggLL) @ JOWT(eeC1) @ DxWu(CRXa))\n G2KB = lfU3(t_x=0.015, t_y=0.029, t_z=-0.0965)\n yDNz = l...
[ "0.67175555", "0.6523676", "0.6337126", "0.60952574", "0.60732174", "0.5942562", "0.593301", "0.59314597", "0.58047277", "0.5804206", "0.58019036", "0.5718087", "0.5674354", "0.5651975", "0.56510645", "0.5645725", "0.56287086", "0.55805355", "0.5551723", "0.55281585", "0.5524...
0.6335604
3
Figures out R, theta and Z coordinates of the center of a ThetaRZ voxel given thetaR mesh object parameters.
def fxra(YKHO): sjV0, A3Vt = YKHO.ThRcoords() if YKHO.axial >= 0 and YKHO.axial < len(YKHO.ThRZmesh.getPositions(label='Z')): Nk6w = (YKHO.ThRZmesh.getUpper(label='Z', n=YKHO.axial - 1) + YKHO.ThRZmesh.getUpper(label='Z', n=YKHO.axial)) * 0.5 else: v8K1.warning('Error: Axial Index ({0}) loca...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nrOS(YKHO, q7In):\n vgXP = oyIN.dot(xKjh(q7In), [YKHO.radius, 0, 0])\n return oyIN.add(YKHO.center, vgXP)", "def D2aF(ggLL, eeC1, CRXa):\n e0u2 = lfU3(t_x=0.265, t_y=0, t_z=0.014)\n y5SI = mjcn(PNGo(ggLL) @ JOWT(eeC1) @ DxWu(CRXa))\n G2KB = lfU3(t_x=0.015, t_y=0.029, t_z=-0.0965)\n yDNz = l...
[ "0.66900045", "0.6504501", "0.6101904", "0.58051807", "0.57429713", "0.5628544", "0.5626944", "0.56118596", "0.55709165", "0.55703896", "0.55318254", "0.55297714", "0.5472685", "0.5471592", "0.54359967", "0.54348487", "0.543136", "0.542039", "0.54114324", "0.53719383", "0.537...
0.53953683
19
This method returns the outer radial position of a ThetaRZ voxel given a ThetaR mesh object.
def OnIL(YKHO): if YKHO.radial in range(1, len(YKHO.ThRZmesh.getPositions(label='R'))): A3Vt = YKHO.ThRZmesh.getUpper(label='R', n=YKHO.radial) else: v8K1.warning('Error: Radial Index ({0}) location not INSIDE mesh '.format(YKHO.radial)) v8K1.warning(YKHO.ThRZmesh.getPositions(label='R')...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x9oC(YKHO):\n if YKHO.radial > 0 and YKHO.radial < len(YKHO.ThRZmesh.getPositions(label='R')):\n A3Vt = (YKHO.radialInner() + YKHO.radialOuter()) / 2.0\n else:\n v8K1.warning('Error: Radial Index ({}) location not INSIDE mesh '.format(YKHO.radial))\n v8K1.warning(YKHO.ThRZmesh.getPos...
[ "0.7125406", "0.71002066", "0.62747943", "0.6120533", "0.6097724", "0.607654", "0.59881234", "0.58473873", "0.57180834", "0.5704827", "0.566809", "0.5636048", "0.5629548", "0.5613639", "0.557644", "0.54943687", "0.5480546", "0.54482675", "0.5424394", "0.5413129", "0.53982836"...
0.7560898
0
This method returns the inner theta position of a ThetaRZ voxel given a ThetaR mesh object.
def w9KA(YKHO): if YKHO.theta in range(1, len(YKHO.ThRZmesh.getPositions(label='Th'))): sjV0 = YKHO.ThRZmesh.getUpper(label='Th', n=YKHO.theta - 1) else: v8K1.warning('Error: Azimuthal Index ({0}) location not INSIDE mesh '.format(YKHO.theta)) v8K1.warning(YKHO.ThRZmesh.getPositions(labe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wjcz(YKHO):\n if YKHO.theta in range(1, len(YKHO.ThRZmesh.getPositions(label='Th'))):\n sjV0 = YKHO.ThRZmesh.getUpper(label='Th', n=YKHO.theta)\n else:\n v8K1.warning('Error: Azimuthal Index ({}) location not INSIDE mesh '.format(YKHO.theta))\n v8K1.warning(YKHO.ThRZmesh.getPositions...
[ "0.6630596", "0.6424146", "0.6071748", "0.6050471", "0.600254", "0.5967101", "0.59149945", "0.59070295", "0.58497214", "0.58067834", "0.57926005", "0.57720226", "0.56903493", "0.5669455", "0.56661713", "0.56590486", "0.5624296", "0.56221735", "0.56156856", "0.56049436", "0.55...
0.6993555
0
Returns the nth difference in lengths in the mesh in the direction labeled.
def nm_k(YKHO, exwG=None, UXqs=None): return YKHO.di[UXqs][exwG]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xBY4(YKHO, *qIxc):\n YRbF, r845 = qIxc\n return gftJ(list(YKHO)).leg_length(YRbF - 1, r845 - 1)", "def u54L(YKHO, CG54=(0, 0, 0), legC=(0, 0, 0)):\n Y7fn, g_QQ = YKHO.get_nodes()\n CG54, legC = (oyIN.asarray(CG54), oyIN.asarray(legC))\n RA_F = g_QQ - Y7fn + (legC - CG54)\n return oyIN.linal...
[ "0.66709244", "0.6425134", "0.63889205", "0.6266382", "0.61785126", "0.6163906", "0.61486536", "0.6041887", "0.60280704", "0.5987003", "0.59715474", "0.5940551", "0.5937415", "0.5912157", "0.58962286", "0.588649", "0.58689743", "0.5846504", "0.58340883", "0.5818476", "0.58032...
0.0
-1
Create Dataset object out of JSON.
def UOy1(zgjV, UXqs='', xxp5=HRmL.DEFAULT_COLOR, gCuF=None): if gCuF is None or not isinstance(gCuF, dict): gCuF = {} zgjV = qQXR.loads(zgjV) try: return x3i3(label=UXqs, arguments=zgjV['arguments'], values=zgjV['values'], settings=roQF(yiks, {'borderColor': xxp5}, gCuF)) except KeyError...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P8XT(bD7m: URL, nPrm: JsonDict) -> CAbl:\n U7YL = _qLf(nPrm)\n return CAbl(bD7m, name=U7YL['name'], description=U7YL.get('description'), key_attribute_names=tuple(U7YL['keyAttributeNames']))", "def pktP(nPrm: Dict[str, Any]) -> 'ModelData':\n return wZHc(nPrm.get('name'), nPrm.get('type'), nPrm.get(...
[ "0.76634896", "0.67382026", "0.65945363", "0.6544209", "0.6420733", "0.64172965", "0.6387566", "0.6356376", "0.6267794", "0.624005", "0.6219303", "0.6147498", "0.6137764", "0.61078167", "0.6095902", "0.6086496", "0.60748947", "0.60668117", "0.6061267", "0.605603", "0.60260636...
0.75412256
1
Checks, if the path of a figure to its target position is clear.
def q7jH(YKHO, iBIi, BZN_, A314, KbRe): if not (A314 > 7 or A314 < 0 or KbRe > 7 or (KbRe < 0)): WMyo = oyIN.sign(BZN_[0]) UImT = oyIN.sign(BZN_[1]) GUTW = not any((iBIi.status[YKHO.field_row + YRbF * WMyo, YKHO.field_col + YRbF * UImT] for YRbF in range(1, abs(BZN_[0])))) return GUT...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def enTG(YKHO):\n if YKHO.distance_from_goal >= YKHO.best_distance:\n return False\n if YKHO.is_at_wall():\n return False\n r0fc = YKHO.gtg.get_heading_angle(YKHO.parameters)\n ABxu = YKHO.wall.heading_angle - r0fc\n if YKHO.parameters.direction == 'right':\n ABxu = -ABxu\n r...
[ "0.60310495", "0.5940462", "0.5855814", "0.5840895", "0.5771076", "0.5756367", "0.5753545", "0.574017", "0.5731048", "0.572563", "0.5681641", "0.56763905", "0.56761026", "0.5662323", "0.5650444", "0.5630062", "0.5579302", "0.5577852", "0.5577646", "0.5575347", "0.55417365", ...
0.6286603
0
get all legal moves from potential moves considering the current board.
def dgbU(YKHO, iBIi): oLdq = set() zORi = set() for BZN_ in YKHO.pot_moves: A314 = YKHO.field_row + BZN_[0] KbRe = YKHO.field_col + BZN_[1] if YKHO.path_clear(iBIi, BZN_, A314, KbRe): if iBIi.status[A314, KbRe] * YKHO.color_value == 0: oLdq.add(BZN_) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ima0(YKHO, iBIi):\n YKHO.available_moves = [BZN_ for BZN_ in iBIi.legal_moves]", "def dgbU(YKHO):\n oLdq = []\n KzJa = [YKHO.turn]\n if YKHO.turn == j6j3:\n KzJa.extend((_1Sw, Ntwz))\n WhY1 = oyIN.nditer(YKHO.board_state, flags=['multi_index'])\n while not WhY1.finished:\n d6p...
[ "0.8295077", "0.8193593", "0.81157243", "0.79403186", "0.7798424", "0.7759739", "0.77489996", "0.77317995", "0.77316743", "0.76567984", "0.76404345", "0.76131314", "0.7591718", "0.75232416", "0.7510404", "0.74947417", "0.7491143", "0.74813557", "0.74730325", "0.745837", "0.74...
0.76901984
9
get all legal moves from potential moves considering the current board.
def dgbU(YKHO, iBIi): oLdq = set() zORi = set() if not (YKHO.field_row * YKHO.color_value == 1 or YKHO.field_row * YKHO.color_value == -6): YKHO.pot_moves = {(1 * YKHO.color_value, 0)} for BZN_ in YKHO.pot_moves: A314 = YKHO.field_row + BZN_[0] KbRe = YKHO.field_col + BZN_[1] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ima0(YKHO, iBIi):\n YKHO.available_moves = [BZN_ for BZN_ in iBIi.legal_moves]", "def dgbU(YKHO):\n oLdq = []\n KzJa = [YKHO.turn]\n if YKHO.turn == j6j3:\n KzJa.extend((_1Sw, Ntwz))\n WhY1 = oyIN.nditer(YKHO.board_state, flags=['multi_index'])\n while not WhY1.finished:\n d6p...
[ "0.8295077", "0.8193593", "0.81157243", "0.79403186", "0.7759739", "0.77489996", "0.77317995", "0.77316743", "0.76901984", "0.76567984", "0.76404345", "0.76131314", "0.7591718", "0.75232416", "0.7510404", "0.74947417", "0.7491143", "0.74813557", "0.74730325", "0.745837", "0.7...
0.7798424
4
get all legal moves from potential moves considering the current board.
def dgbU(YKHO, iBIi): oLdq = set() zORi = set() for BZN_ in YKHO.pot_moves: A314 = YKHO.field_row + BZN_[0] KbRe = YKHO.field_col + BZN_[1] if not (A314 > 7 or A314 < 0 or KbRe > 7 or (KbRe < 0)): if iBIi.status[A314, KbRe] == 0: oLdq.add(BZN_) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ima0(YKHO, iBIi):\n YKHO.available_moves = [BZN_ for BZN_ in iBIi.legal_moves]", "def dgbU(YKHO):\n oLdq = []\n KzJa = [YKHO.turn]\n if YKHO.turn == j6j3:\n KzJa.extend((_1Sw, Ntwz))\n WhY1 = oyIN.nditer(YKHO.board_state, flags=['multi_index'])\n while not WhY1.finished:\n d6p...
[ "0.8295077", "0.8193593", "0.81157243", "0.79403186", "0.7798424", "0.7759739", "0.77317995", "0.77316743", "0.76901984", "0.76567984", "0.76404345", "0.76131314", "0.7591718", "0.75232416", "0.7510404", "0.74947417", "0.7491143", "0.74813557", "0.74730325", "0.745837", "0.74...
0.77489996
6
Override the default Equals behavior
def xa14(YKHO, Elif): return YKHO.sha == Elif.sha
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n pass", "def xa14(YKHO, Elif):\n pass", "def xa14(YKHO, Elif):\n raise NotImplementedError('must be implemented by subclass')", "def xa14(YKHO, Elif):\n raise NotImplementedError('must be implemented by subclass')", "def xa14(YKHO, Elif):\n raise NotImplementedError('m...
[ "0.8262612", "0.8262612", "0.81877613", "0.81877613", "0.81877613", "0.81877613", "0.8174912", "0.81672645", "0.80995893", "0.80995893", "0.80995893", "0.80995893", "0.80995893", "0.80995893", "0.80995893", "0.80995893", "0.80995893", "0.80995893", "0.80995893", "0.8097035", ...
0.0
-1
Return the 3x3 rotation matrix around the specified axis (0, 1, or 2)
def gk1U(jDK_, q7In): A3Vt = oyIN.eye(3) Z9rn = epAf.cos(q7In) KCHu = epAf.sin(q7In) XOOk = (jDK_ + 1) % 3 pHXX = (jDK_ + 2) % 3 A3Vt[XOOk, XOOk] = Z9rn A3Vt[XOOk, pHXX] = -KCHu A3Vt[pHXX, XOOk] = KCHu A3Vt[pHXX, pHXX] = Z9rn return oyIN.matrix(A3Vt)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def r0pu(YylR, jDK_):\n assert jDK_.lower() in ['x', 'y', 'z']\n assert -180.0 <= YylR <= 180.0\n anW9 = YylR * (oyIN.pi / 180.0)\n RyuO = oyIN.sin(anW9)\n ZLSD = oyIN.cos(anW9)\n if jDK_ == 'x':\n A3Vt = oyIN.array([[1, 0, 0], [0, ZLSD, -RyuO], [0, RyuO, ZLSD]])\n elif jDK_ == 'y':\n ...
[ "0.8405892", "0.80142015", "0.80082905", "0.7910554", "0.7863072", "0.77934295", "0.7754999", "0.759178", "0.7467054", "0.74107707", "0.73978674", "0.7268829", "0.72499263", "0.7171435", "0.70944816", "0.70641387", "0.70350474", "0.6999859", "0.6960819", "0.69501597", "0.6948...
0.81351817
1
Return the 3x3 rotation matrix around an arbitrary unit vector
def H1AV(PXGI, q7In): WKvO, LVAh, epBp = PXGI Z9rn = epAf.cos(q7In) KCHu = epAf.sin(q7In) Nq1b = 1 - Z9rn return oyIN.matrix([[WKvO * WKvO * Nq1b + Z9rn, WKvO * LVAh * Nq1b - epBp * KCHu, WKvO * epBp * Nq1b + LVAh * KCHu], [LVAh * WKvO * Nq1b + epBp * KCHu, LVAh * LVAh * Nq1b + Z9rn, LVAh * epBp * N...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gEt9(iArr):\n yR1F = oyIN.eye(len(iArr))\n Ty9i = iArr[oyIN.newaxis]\n UUZ1 = oyIN.matmul(Ty9i, Ty9i.T)\n M6pt = oyIN.matmul(Ty9i.T, Ty9i)\n SCXK = yR1F - 2 * M6pt / UUZ1\n return SCXK", "def chcK(iArr, q7In):\n A3Vt = oyIN.array([[oyIN.cos(q7In), 0, oyIN.sin(q7In)], [0, 1, 0], [-oyIN.si...
[ "0.7235691", "0.7223199", "0.71644384", "0.71598166", "0.7087552", "0.7070188", "0.70591825", "0.70576674", "0.70284325", "0.7022017", "0.6956621", "0.69373316", "0.69373304", "0.6937175", "0.6884467", "0.68788654", "0.68784523", "0.6834428", "0.68294567", "0.68276125", "0.68...
0.67920434
23
Returns the equation of the vanishing line given a normal
def efuI(exwG, qvah): return (exwG[0], exwG[1], exwG[2] * qvah)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mhAC(YKHO, a1PO=0):\n XP5J = YKHO.lerp(a1PO)\n if YKHO.da < 0:\n return NTRO(XP5J, YKHO.c - XP5J)\n else:\n return NTRO(XP5J, XP5J - YKHO.c)", "def mhAC(YKHO, a1PO=0):\n return NTRO(YKHO.lerp(a1PO), YKHO.cross_z)", "def mhAC(YKHO, a1PO=0):\n exwG = A_kQ()\n exwG.p = YKHO.ler...
[ "0.61756206", "0.609104", "0.6088258", "0.6026685", "0.58346623", "0.5822214", "0.57844436", "0.5775565", "0.5746366", "0.566986", "0.5667866", "0.561225", "0.55971414", "0.5565568", "0.5564125", "0.55548465", "0.5542301", "0.5473425", "0.544308", "0.5440846", "0.54264593", ...
0.55697656
13
Return true if the bbox contains or partially intersects segment a.
def OdhY(cviu, jzdc, Fg_i): if jzdc[0] < cviu[0] and Fg_i[0] < cviu[0] or (jzdc[0] > cviu[2] and Fg_i[0] > cviu[2]) or (jzdc[1] < cviu[1] and Fg_i[1] < cviu[1]) or (jzdc[1] > cviu[3] and Fg_i[1] > cviu[2]): return False MKlR = h3xX(jzdc, Fg_i) KCHu = [MKlR[0] * XP5J[0] + MKlR[1] * XP5J[1] + MKlR[2] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aKaY(YKHO, jzdc: Tuple[float, float], Fg_i: Tuple[float, float]) -> bool:\n assert len(jzdc) == 2\n assert len(Fg_i) == 2\n return bool(_e0h.cpBBIntersectsSegment(YKHO, jzdc, Fg_i))", "def rzRz(n7Hy, xKHr):\n aSQ0, LgnZ, fUKV, lwoF = n7Hy\n mU2H, FNDa, caJb, YPa5 = xKHr\n Bebd, RwWo = (aSQ0...
[ "0.75345826", "0.684739", "0.6468728", "0.6411044", "0.63948536", "0.63697517", "0.6360881", "0.6358078", "0.6333877", "0.6333793", "0.6324441", "0.6304301", "0.6261146", "0.6251937", "0.6216856", "0.61753935", "0.6174581", "0.615982", "0.6148548", "0.6109364", "0.6099023", ...
0.7556597
0
Return the area of the triangle defined by ``[a, b, c]``, where each vertex contains floats ``[x, y]``
def cGOR(jzdc, Fg_i, Z9rn): return 0.5 * abs(jzdc[0] * (Fg_i[1] - Z9rn[1]) + Fg_i[0] * (Z9rn[1] - jzdc[1]) + Z9rn[0] * (jzdc[1] - Fg_i[1]))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a1HB(jzdc: Vec3, Fg_i: Vec3, Z9rn: Vec3) -> float:\n return B4Ha(Fg_i - jzdc, Z9rn - jzdc).length() / 2.0", "def E8vm(jzdc, Fg_i, Z9rn):\n bBVO = oyIN.sqrt(((jzdc - Fg_i) ** 2).sum())\n _P6x = oyIN.sqrt(((jzdc - Z9rn) ** 2).sum())\n P9SZ = oyIN.sqrt(((Fg_i - Z9rn) ** 2).sum())\n KCHu = (bBVO +...
[ "0.84191346", "0.8271097", "0.7881103", "0.7828473", "0.7608223", "0.7597579", "0.7597544", "0.7516894", "0.73595786", "0.7270853", "0.7270003", "0.7252681", "0.7234488", "0.72305065", "0.7196257", "0.716151", "0.71598786", "0.7150997", "0.7081849", "0.70540684", "0.701454", ...
0.8303363
1
Returns an orthonormal 3x3 frame from a normal and one inplane vector
def FgmT(exwG, P6bq, Fg_i=None, TAha=True): exwG = HBfW(exwG) P6bq = HBfW(oyIN.array(P6bq) - oyIN.dot(exwG, P6bq) * exwG) Ty9i = JNxw(exwG, P6bq) if TAha: if abs(P6bq[1]) > abs(Ty9i[1]): P6bq, Ty9i = (Ty9i, P6bq) if P6bq[0] < 0: P6bq = oyIN.negative(P6bq) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jCKE(zq5a):\n WKvO, LVAh, epBp = zq5a\n return (WKvO, LVAh, 0.0)", "def sta2(KwKv, YBrO, Qz2I):\n hQHm = oyIN.subtract(KwKv, Qz2I)\n jlSq = oyIN.subtract(KwKv, YBrO)\n mhAC = oyIN.cross(hQHm, jlSq)\n V4se = uYu4(mhAC)\n return V4se", "def ctsk(V4se, RPT1, Yixg, EhSX):\n epBp = (V4se...
[ "0.6525695", "0.6157837", "0.60390997", "0.59814924", "0.59446204", "0.58689696", "0.58418417", "0.5819643", "0.57625496", "0.5758399", "0.57176363", "0.56957775", "0.5681581", "0.56814426", "0.56757444", "0.5649199", "0.5647722", "0.5647722", "0.5647695", "0.56239986", "0.56...
0.0
-1
Returns the most orthogonal vector to v, from the set w. The vector must also be at least as orthogonal as the tolerance. If nothing is that orthogonal, None is returned. All vectors are assumed to be unit length.
def v8a1(Ty9i, F_On, u_JH=1.0): POsX = u_JH udb1 = None for yzQ0 in F_On: Csk6 = esB7(Ty9i, yzQ0) if Csk6 < POsX: POsX = Csk6 udb1 = yzQ0 return udb1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fWWE(Ty9i):\n return oyIN.array([-Ty9i[1], Ty9i[0]])", "def YIAH(*oXiZ, m_kH=False):\n if not all((isinstance(he6J, lNLu) for he6J in oXiZ)):\n raise TypeError('Each element must be of Type Vector')\n xAgV = []\n for YRbF, OXAZ in enumerate(oXiZ):\n for r845 in range(YRbF):\n ...
[ "0.67741066", "0.6380468", "0.62507844", "0.61287045", "0.60421896", "0.5899978", "0.5876221", "0.5853856", "0.5655817", "0.560325", "0.55841815", "0.55465436", "0.5517424", "0.54806405", "0.5453591", "0.54417384", "0.54243976", "0.5406809", "0.54068065", "0.5386803", "0.5348...
0.782882
0
Returns the background escape code for a 256 color id.
def dnR4(BWXx: int) -> str: return f'\x1b[48;5;{BWXx}m'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fVre(YKHO):\n __Fp = '#%.02X%.02X%.02X' % (int(YKHO.rgb_255[0]), int(YKHO.rgb_255[1]), int(YKHO.rgb_255[2]))\n return __Fp", "def Ccs2(YKHO):\n pass", "def qfpW(YKHO):\n return 3092790", "def NJpC(l5Ny):\n ysHv = int(hqsM(l5Ny.encode('utf-8')).hexdigest(), 16) % 230\n y0cW, ZI14 = yOvc(...
[ "0.6310946", "0.62702185", "0.6235028", "0.6176788", "0.60505176", "0.6033834", "0.60268897", "0.6003054", "0.59891343", "0.59841806", "0.5935414", "0.5923829", "0.58932525", "0.5881386", "0.586129", "0.58512115", "0.58179986", "0.5817131", "0.58159465", "0.5809037", "0.58073...
0.58415335
16
Returns the foreground escape code for an rgb truecolor.
def mHuL(Mkmy: int, Oa1e: int, Fg_i: int) -> str: return f'\x1b[38;2;{Mkmy};{Oa1e};{Fg_i}m'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aPlW(d7Eb):\n if d7Eb == uKxi.pastel_purple():\n return 'p'\n elif d7Eb == uKxi.pastel_yellow():\n return 'y'\n elif d7Eb == uKxi.pastel_green():\n return 'g'\n elif d7Eb == uKxi.pastel_blue():\n return 'b'\n elif d7Eb == uKxi.strong_red():\n return ' '\n re...
[ "0.66595185", "0.66303104", "0.63110197", "0.62869054", "0.62146926", "0.6190109", "0.61543214", "0.6143453", "0.6120535", "0.6107546", "0.60825795", "0.6072191", "0.6029597", "0.602686", "0.6022544", "0.60008687", "0.5992301", "0.5976879", "0.597485", "0.5958026", "0.5956799...
0.60285276
13
Adds a square target (green) zone.
def qVou(YKHO, sEAN): Nmp9 = 'assets/zone/zone-template.urdf' qx_G = {'LENGTH': (YKHO._zone_scale, YKHO._zone_scale)} V46b = YKHO.fill_template(Nmp9, qx_G) YKHO.zone_pose = YKHO.random_pose(sEAN, YKHO.zone_size) DVVB = sEAN.add_object(V46b, YKHO.zone_pose, fixed=True) Hy7s.remove(V46b) YKHO....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oyXo(YKHO, KiQ9):\n YKHO.targets.append(KiQ9)", "def xy_z(YKHO):\n YKHO.check_top()\n YKHO.check_bottom()\n YKHO.update()\n YKHO.screen.fill(YKHO.target_color, YKHO.rect)", "def Pm_i(YKHO, GDml, ixdr):\n YKHO._moves.append((GDml, ixdr))", "def lJhb(YKHO, BZN_, qfpW):\n WKvO, LVAh = B...
[ "0.54892117", "0.5287607", "0.5159287", "0.51099575", "0.50726104", "0.50259787", "0.5017053", "0.50017875", "0.49952358", "0.4977025", "0.4966806", "0.4947801", "0.4937651", "0.49312523", "0.49185157", "0.4904081", "0.48650113", "0.4852642", "0.4852642", "0.4852642", "0.4847...
0.0
-1
Reset to start an episode. If generating training data for goalconditioned Transporters with `main.py` or goal images using `generate_goals.py`, then call the superclass. The code already puts the bead poses inside `info`. For this env it's IDs 4 through 27 (for 24 beads) but I scale it based on num_parts in case we ch...
def SiRx(YKHO, sEAN, dlH_=None): super().reset(sEAN) if YKHO.goal_cond_testing: assert dlH_ is not None YKHO.goal['places'] = YKHO._get_goal_info(dlH_)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SiRx(YKHO):\n YKHO.finish = False\n YKHO.curr_step = -1\n YKHO.curr_episode += 1\n YKHO.target = oyIN.random.uniform(-10.0, 10.0, size=2)\n if YKHO.fixed_reset:\n OVab = oyIN.array([75.0, 75.0])\n YKHO.sheep_poses = oyIN.random.uniform(-50.0, 50.0, size=(YKHO.num_sheep, 2)) + OVab[...
[ "0.6176949", "0.6074522", "0.5975602", "0.59743005", "0.57683575", "0.5717546", "0.5702152", "0.5672596", "0.56602925", "0.5626447", "0.5621834", "0.56006604", "0.5592225", "0.5589756", "0.5568318", "0.5528508", "0.5511361", "0.551104", "0.55050945", "0.5504384", "0.5470071",...
0.64481753
0
Sets the visit_count of this GetClientServicesRequest.
def iUR3(YKHO, iUR3): YKHO._visit_count = iUR3
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T5kv(YKHO, T5kv):\n YKHO._request_count = T5kv", "def bLlY(YKHO, IGtf):\n YKHO.city_count = IGtf", "def i2VU(YKHO, UHFx):\n YKHO._count = UHFx", "def UHFx(YKHO, UHFx: int):\n YKHO._count = UHFx", "def JNkp(YKHO):\n YKHO.nVisits += 1", "def UHFx(YKHO, UHFx):\n YKHO._count = UHFx", ...
[ "0.608174", "0.5842999", "0.56502795", "0.55906713", "0.55700123", "0.55493486", "0.55493486", "0.55493486", "0.55493486", "0.5548173", "0.55150986", "0.54957044", "0.54957044", "0.5489625", "0.5472022", "0.5438496", "0.53750515", "0.5366077", "0.53258246", "0.53239393", "0.5...
0.73123235
0
Sets the start_date of this GetClientServicesRequest.
def kepv(YKHO, kepv): YKHO._start_date = kepv
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kepv(YKHO, kepv):\n YKHO._start_date = kepv", "def YFxH(YKHO, _c1T):\n pass", "def kepv(YKHO, kepv):\n YKHO._start_date = kepv", "def wEtp(YKHO, wEtp):\n YKHO._date_start = wEtp", "def kepv(YKHO, kepv):\n if YKHO.local_vars_configuration.client_side_validation and kepv is None:\n ...
[ "0.7699701", "0.76394147", "0.7597023", "0.7369677", "0.72937465", "0.7273931", "0.72681415", "0.71883243", "0.69063133", "0.645389", "0.645389", "0.645389", "0.645389", "0.6425524", "0.636349", "0.6338499", "0.6250987", "0.6109751", "0.6109751", "0.6107773", "0.6101889", "...
0.7600645
7
Sets the end_date of this GetClientServicesRequest.
def KhBf(YKHO, KhBf): YKHO._end_date = KhBf
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KhBf(YKHO, KhBf):\n YKHO._end_date = KhBf", "def EmhK(YKHO, _c1T):\n pass", "def KhBf(YKHO, KhBf):\n if YKHO.local_vars_configuration.client_side_validation and KhBf is None:\n raise ValueError('Invalid value for `end_date`, must not be `None`')\n if YKHO.local_vars_configuration.client_...
[ "0.737525", "0.7255867", "0.7021835", "0.7009939", "0.69576657", "0.69027793", "0.6617165", "0.66137564", "0.650738", "0.6492513", "0.6492513", "0.6492513", "0.6478739", "0.64646107", "0.64540136", "0.6451111", "0.6359585", "0.6307575", "0.6307575", "0.61456215", "0.60940623"...
0.7405955
4
Sets the limit of this GetClientServicesRequest.
def qoqK(YKHO, qoqK): YKHO._limit = qoqK
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qoqK(YKHO, qoqK):\n YKHO._limit = qoqK\n return YKHO", "def qoqK(YKHO, qoqK):\n YKHO._limit = qoqK", "def qoqK(YKHO, qoqK):\n YKHO._limit = qoqK\n return YKHO", "def qoqK(YKHO, qoqK):\n YKHO._limit = qoqK\n return YKHO", "def IVSx(YKHO, ekCf, qoqK):\n YKHO.storage_controller.set...
[ "0.6759188", "0.6724407", "0.671666", "0.6714211", "0.6648048", "0.6555463", "0.63988847", "0.634026", "0.62916523", "0.6282289", "0.622684", "0.6140334", "0.609011", "0.60771364", "0.5974385", "0.5922815", "0.5886958", "0.58447844", "0.58338434", "0.5806115", "0.58045757", ...
0.6674071
5
Sets the offset of this GetClientServicesRequest.
def vgXP(YKHO, vgXP): YKHO._offset = vgXP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TCXn(YKHO, vgXP):\n YKHO.offset = vgXP", "def TCXn(YKHO, vgXP):\n YKHO.offset = vgXP", "def Qa1z(YKHO, vgXP):\n YKHO.out_offs = vgXP", "def vgXP(YKHO, vgXP):\n YKHO._offset = vgXP", "def TCXn(YKHO, vgXP):\n assert vgXP in range(len(YKHO.buffer))\n YKHO.pos = vgXP\n YKHO._fill_buffe...
[ "0.6168336", "0.6168336", "0.5714592", "0.5659624", "0.557069", "0.5545384", "0.5450055", "0.5446242", "0.5425994", "0.53646356", "0.53536147", "0.53251964", "0.5301169", "0.5297789", "0.52944046", "0.5273003", "0.5180155", "0.51798755", "0.51798755", "0.51798755", "0.5179875...
0.5639379
5
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, zgPB): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.8088132", "0.8088132", "0.8054589", "0.7982687", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.845611", "0.8391477", "0.8144138", "0.81410587", "0.8132492", "0.8093973", "0.80920255", "0.80920255", "0.80920255", "0.8085325", "0.8085325", "0.8076365", "0.8076365", "0.8065748" ]
0.0
-1
Given a time units string (one of ``VALID_TIME_UNITS``), return a function that converts from the time units to hours.
def KCAp(qrj1): if qrj1 not in X9Jo: raise ValueError('Time units must be one of', X9Jo) if qrj1 == 'min': return lambda WKvO: WKvO / 60 elif qrj1 == 'h': return lambda WKvO: WKvO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wave(WbTE):\n if not WbTE:\n return 0\n try:\n MKlR, r8hN, KCHu = RBJO(WbTE)\n return MKlR\n except (ValueError, TypeError):\n return 0", "def Wave(input=None):\n return NMoC(input).hours", "def _yEP(YKHO, L4bz, uOJa=False):\n yvT9 = L4bz * YKHO.dt / (60 * 60)\n ...
[ "0.6261804", "0.60468644", "0.58977234", "0.58977234", "0.58977234", "0.58977234", "0.5757926", "0.5731297", "0.565108", "0.5632827", "0.550144", "0.5429626", "0.5423557", "0.5398271", "0.53578603", "0.53249365", "0.530017", "0.52656287", "0.52480775", "0.5216525", "0.5207281...
0.86979634
0
Given a model name, returns a model as well as an example input.
def uyMl(ZGE9): if hasattr(TTda.models, ZGE9): with ht2j.no_grad(): if ZGE9.startswith('inception'): H2v2 = TVTK = 299 JBMS = [0.5, 0.5, 0.5] M1Jx = [0.5, 0.5, 0.5] else: H2v2 = TVTK = 224 JBMS = [0.485, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aRoa(ZGE9):\n if ZGE9 == 'resnet50':\n C3ST = SfRQ.resnet50.ResNet50(weights='imagenet', include_top=False)\n return (C3ST, SfRQ.resnet50.preprocess_input)\n elif ZGE9 == 'vgg16':\n C3ST = SfRQ.vgg16.VGG16(weights='imagenet', include_top=False)\n return (C3ST, SfRQ.vgg16.prepr...
[ "0.71637535", "0.7161927", "0.7068853", "0.7063607", "0.70578015", "0.7014156", "0.69370425", "0.68783695", "0.6842377", "0.6840033", "0.6838576", "0.6804577", "0.67129", "0.6629585", "0.659486", "0.65926605", "0.6517887", "0.65063035", "0.6504377", "0.64932567", "0.64932567"...
0.6710387
13
get args from stdin.
def rwTO(): wvEv = j1Jz.ArgumentParser(description='snorm score.', formatter_class=j1Jz.ArgumentDefaultsHelpFormatter, conflict_handler='resolve') wvEv.add_argument('--score-file', dest='score_file', type=str, help='score file') wvEv.add_argument('--enroll-file', dest='enroll_file', type=str, help='score fi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b86o(qIxc, wvEv):\n if qIxc.text == HwRy.stdin:\n H3iZ, bGrB, bGrB = EfUA.select([HwRy.stdin], [], [], 0)\n if H3iZ:\n return HwRy.stdin.read().strip()\n wvEv.print_help()\n HwRy.exit(1)\n return qIxc.text", "def GdfC():\n NArs = HwRy.stdin.read()\n if not N...
[ "0.73058635", "0.7126134", "0.7054991", "0.6979393", "0.6765645", "0.6667644", "0.66592336", "0.6655319", "0.6599314", "0.655588", "0.6501059", "0.6484747", "0.64797246", "0.6465973", "0.6456041", "0.6447803", "0.6429599", "0.6416855", "0.6401787", "0.63615966", "0.6320257", ...
0.5825679
98
Get message subject line
def U4ZT(YKHO): return YKHO.mail.get('Subject')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LZJ7(YKHO):\n return YKHO.msg['Subject']", "def mUtM(YKHO):\n return YKHO._subject", "def U4ZT(YKHO):\n U4ZT = DWkG.render_to_string(YKHO.subject_template_name, YKHO.get_context())\n return ''.join(U4ZT.splitlines())", "def U4ZT(YKHO):\n return YKHO.get('subject')", "def U4ZT(YKHO) -> qe...
[ "0.8046902", "0.713639", "0.70704764", "0.6882871", "0.6728475", "0.6697977", "0.66049546", "0.659011", "0.659011", "0.65697634", "0.65524113", "0.65075904", "0.64527464", "0.6405712", "0.63926536", "0.63926536", "0.6358073", "0.6332952", "0.6273278", "0.62127334", "0.6203614...
0.68855006
3
Ensures a correctly formatted post succeeds.
def rBLT(YKHO, SIzm): geh0 = YKHO.post_course_goal(valid=True, goal_key='certify') SIzm.assert_called_once_with(YKHO.user.id, XdvB, {'courserun_key': str(YKHO.course.id), 'goal_key': 'certify', 'days_per_week': 0, 'subscribed_to_reminders': False}) assert geh0.status_code == 201 TlW8 = PlvM.objects.filt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iD95(YKHO):\n geh0 = YKHO.post(content='foo', style='friendly', embed_title=False)\n YKHO.assertEqual(geh0.status_code, jGRS.HTTP_201_CREATED)\n YKHO.assertEqual(geh0.data['content'], 'foo')\n YKHO.assertEqual(geh0.data['title'], '')\n YKHO.assertEqual(geh0.data['language'], '')\n YKHO.assert...
[ "0.742366", "0.6810092", "0.6495741", "0.6447934", "0.640869", "0.640869", "0.63786227", "0.63388467", "0.62946403", "0.6293656", "0.62799037", "0.62168", "0.62142015", "0.62138104", "0.61901057", "0.61895293", "0.6187757", "0.61821365", "0.6157818", "0.6152794", "0.61493397"...
0.0
-1
This function removes the double spaces in a string, on top of the spaces at the beginning/end. INPUT string any kind of string, works with Arabic string if utf8 encoded OUTPUT The same string without double spaces, or single spaces in the beginning/end of string.
def mEYa(vIwR): return ' '.join([WKvO for WKvO in vIwR.split(' ') if WKvO])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YF9t(vIwR):\n vIwR = ZbWC.sub('(?m)^\\\\s+', '', vIwR)\n return ZbWC.sub('(?m)\\\\s+$', '', vIwR)", "def WT6s(mjUg, u_0o=False):\n if u_0o:\n mjUg = ZbWC.sub('[ ]+', ' ', mjUg, flags=ZbWC.UNICODE)\n return ZbWC.sub('([(|]) ([|)])', '\\\\g<1> \\\\g<2>', mjUg, flags=ZbWC.UNICODE)\n ...
[ "0.7796933", "0.77147436", "0.7688684", "0.746226", "0.7418028", "0.7329049", "0.7316045", "0.7295581", "0.7234878", "0.71832365", "0.71593314", "0.713508", "0.713136", "0.713136", "0.71208656", "0.70681256", "0.7028967", "0.70131916", "0.70041305", "0.698904", "0.69790846", ...
0.7066367
16
Returns an LLLreduced basis.
def N4Ub(SxVy, RA_F=0.75): mfcf = K3B_(SxVy) yGTL = klMb(SxVy, mfcf) G1Hx = 1 while G1Hx < len(SxVy): for r845 in range(G1Hx - 1, -1, -1): if oyIN.abs(yGTL[G1Hx][r845]) > 0.5: SxVy[G1Hx] = SxVy[G1Hx] - oyIN.rint(yGTL[G1Hx, r845]) * SxVy[r845] mfcf = K3...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N4Ub(SxVy, RA_F=0.75):\n mfcf = K3B_(SxVy)\n yGTL = klMb(SxVy, mfcf)\n G1Hx = 1\n while G1Hx < len(SxVy):\n for r845 in range(G1Hx - 1, -1, -1):\n if oyIN.abs(yGTL[G1Hx][r845]) > 0.5:\n SxVy[G1Hx] = SxVy[G1Hx] - oyIN.rint(yGTL[G1Hx, r845]) * SxVy[r845]\n ...
[ "0.6088242", "0.5603393", "0.55973816", "0.55534863", "0.54981947", "0.5453062", "0.54469985", "0.54325265", "0.5411515", "0.5392617", "0.5347899", "0.5345974", "0.53293407", "0.5326715", "0.5310972", "0.52872187", "0.5283247", "0.52804685", "0.5273278", "0.5272898", "0.52615...
0.6045903
1
Returns an LLLreduced basis.
def N4Ub(SxVy, RA_F=0.75): mfcf = K3B_(SxVy) yGTL = klMb(SxVy, mfcf) G1Hx = 1 while G1Hx < len(SxVy): for r845 in range(G1Hx - 1, -1, -1): if oyIN.abs(yGTL[G1Hx][r845]) > 0.5: SxVy[G1Hx] = SxVy[G1Hx] - oyIN.rint(yGTL[G1Hx, r845]) * SxVy[r845] mfcf = K3...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N4Ub(SxVy, RA_F=0.75):\n mfcf = K3B_(SxVy)\n yGTL = klMb(SxVy, mfcf)\n G1Hx = 1\n while G1Hx < len(SxVy):\n for r845 in range(G1Hx - 1, -1, -1):\n if oyIN.abs(yGTL[G1Hx][r845]) > 0.5:\n SxVy[G1Hx] = SxVy[G1Hx] - oyIN.rint(yGTL[G1Hx, r845]) * SxVy[r845]\n ...
[ "0.6045903", "0.5603393", "0.55973816", "0.55534863", "0.54981947", "0.5453062", "0.54469985", "0.54325265", "0.5411515", "0.5392617", "0.5347899", "0.5345974", "0.53293407", "0.5326715", "0.5310972", "0.52872187", "0.5283247", "0.52804685", "0.5273278", "0.5272898", "0.52615...
0.6088242
0
Convert word indices to strings.
def rw2c(kxt2, CtWL: Vocab, uN0v: OOVDict) -> x1iM[x1iM[str]]: ZE2T = [] if not isinstance(kxt2, list): kxt2 = kxt2.transpose(0, 1).tolist() for YRbF, A97Q in enumerate(kxt2): F0F_ = [] for iM5j in A97Q: if iM5j >= len(CtWL): GIN8 = uN0v.index2word.get((YR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kuME():\n cBMM = {}\n Csk6 = ppBc.shared['word2idx']\n for GIN8, or8S in Csk6.items():\n print(GIN8)\n cBMM[or8S] = GIN8\n if GPtr.use_glove_for_unk:\n _sQW = ppBc.shared['new_word2idx']\n for GIN8, or8S in _sQW.items():\n print(GIN8)\n cBMM[or8S + ...
[ "0.691161", "0.6769812", "0.67211235", "0.6648241", "0.65625167", "0.6545675", "0.6496118", "0.6462496", "0.6454771", "0.64292914", "0.6411378", "0.6349923", "0.63463485", "0.61219895", "0.6090902", "0.6039364", "0.6024312", "0.6007287", "0.5997666", "0.59450454", "0.59119964...
0.0
-1
Test the `model` on the `batch`, return the decoded textual tokens and the Seq2SeqOutput.
def Adx3(Wc9F: Batch, C3ST: Seq2Seq, CtWL: Vocab, OPAs=None, *, BGM1=True, j4Mo=False) -> AzJI[x1iM[x1iM[str]], slW8]: if not BGM1: vLJr = None else: vLJr = Wc9F.input_lengths with ht2j.no_grad(): FRUf = Wc9F.input_tensor.to(nda8) if Wc9F.target_tensor is None or OPAs is None...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Adx3(Wc9F: Batch, C3ST: Seq2Seq, CtWL: Vocab, OPAs=None, *, BGM1=True, j4Mo=False) -> AzJI[x1iM[x1iM[str]], slW8]:\n if not BGM1:\n vLJr = None\n else:\n vLJr = Wc9F.input_lengths\n with ht2j.no_grad():\n FRUf = Wc9F.input_tensor.to(nda8)\n if Wc9F.target_tensor is None or ...
[ "0.7244397", "0.6625542", "0.61642754", "0.6108666", "0.6038354", "0.6008881", "0.5928245", "0.5921694", "0.58876944", "0.58759373", "0.5862399", "0.5862399", "0.58540314", "0.58071756", "0.579755", "0.5755968", "0.57550913", "0.5715045", "0.5712757", "0.5697481", "0.5682049"...
0.7166712
1
Test limit value of minus
def D1VB(YKHO, TMAJ): TMAJ.configure_mock(**YKHO.config_payload(1, 1)) Csk6 = bJi7.lambda_handler(event=YKHO.lambdaevent_minus, context=None) YKHO.assertEqual(Csk6, 0) TMAJ.client.return_value.update_thing_shadow.assert_called_once_with(thingName=YKHO.thingname, payload=bJi7.payload_put(bJi7.shadow_upda...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Swck(YKHO):\n yv6U = [-1, -5, -98]\n YKHO.assertEqual(qOmX(yv6U), -1)", "def Nvcv(YKHO):\n YKHO.assertEqual(qOmX([-1, -2, -3, -4]), -1)\n YKHO.assertEqual(qOmX([-4, -3, -2, 0]), 0)", "def I6fk(YKHO) -> None:\n YwkQ = YKHO.make_request('GET', YKHO.url + '?limit=-5', access_token=YKHO.admin_us...
[ "0.6971001", "0.69547564", "0.69515455", "0.69505113", "0.6830236", "0.68218106", "0.6651907", "0.66355497", "0.6612457", "0.66121453", "0.65927035", "0.65729046", "0.65464723", "0.65441155", "0.6542076", "0.6521281", "0.6495326", "0.647462", "0.64617383", "0.63836545", "0.63...
0.0
-1
In the constructor we instantiate two nn.Linear modules and assign them as member variables.
def FIMM(YKHO): super(xupk, YKHO).__init__() YKHO.features = U78l.Sequential(U78l.Conv3d(1, 64, kernel_size=3, stride=1, padding=0), U78l.ReLU(inplace=True), U78l.Conv3d(64, 64, kernel_size=3, stride=1, padding=0), U78l.ReLU(inplace=True), U78l.MaxPool3d(kernel_size=2, stride=2), U78l.Conv3d(64, 128, kernel_siz...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, *qIxc):\n super(byfJ, YKHO).__init__()\n YKHO.fc = U78l.Linear(*qIxc)", "def FIMM(YKHO, Ce0Y, Q9YM, N93T=False):\n super(zSGR, YKHO).__init__()\n assert len(Q9YM) == len(Ce0Y) - 1\n G1Hx = len(Ce0Y)\n assert all([Ce0Y[r845][1] == Ce0Y[r845 + 1][0] for r845 in range(G1Hx - 1)])\n ...
[ "0.77401125", "0.75483596", "0.75074446", "0.74346", "0.7366003", "0.7335429", "0.73152226", "0.7286699", "0.7273464", "0.72729063", "0.72729063", "0.7268201", "0.72429734", "0.72211164", "0.72030157", "0.7167753", "0.7111596", "0.7077496", "0.7065618", "0.7063983", "0.705345...
0.0
-1
Returns whether a password is valid Each policy actually describes two positions in the password Exactly one of these positions must contain the given letter. valid_password(1, 3, "a", "abcde") == True valid_password(1, 3, "b", "cdefg") == False valid_password(2, 9, "c", "ccccccccc") == False
def UpdD(LSh8, CN9P, sZqf, jTXt): hHld = [or8S for or8S in (LSh8, CN9P) if jTXt[or8S - 1] == sZqf] return len(hHld) == 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wDDJ(jTXt):\n s0Go = sum([WKvO == jTXt['letter'] for WKvO in list(jTXt['password'])])\n return jTXt['low'] <= s0Go <= jTXt['high']", "def UpdD(jTXt):\n wEf2 = True\n if len(jTXt) < 8:\n wEf2 = False\n return wEf2\n if not any((hcXw.isdigit() for hcXw in jTXt)):\n wEf2 = Fa...
[ "0.79252726", "0.7824308", "0.7759457", "0.7746773", "0.77271616", "0.7685118", "0.7660412", "0.7639942", "0.7581784", "0.75088835", "0.7507734", "0.7464349", "0.7456752", "0.73747814", "0.7365335", "0.7202525", "0.71280706", "0.7126687", "0.7121084", "0.71059006", "0.7095532...
0.8354784
0
Takes a datetime object and converts the day and month into a cleanly formatted string.
def MoIn(_c1T: datetime) -> str: juOG = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] LyLE = juOG[_c1T.month - 1] CjKC = _c1T.day if CjKC == 1 or CjKC == 21 or CjKC == 31: ZI14 = 'st' elif CjKC == 2 or CjKC == 22: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ab7L(JRYC):\n return '{0}-{1}-{2}'.format(JRYC.year, JRYC.month, JRYC.day)", "def ab7L(JRYC):\n return '{0}-{1}-{2}'.format(JRYC.year, JRYC.month, JRYC.day)", "def hLAQ(eGVy: Union[dt.datetime, dt.date]=JRYC.datetime.now(), VWe_: str=J8Wb) -> str:\n if eGVy:\n return f'{eGVy:%Y}{VWe_}{eGVy:...
[ "0.7655184", "0.7655184", "0.7104725", "0.6919156", "0.6866312", "0.6797844", "0.67698574", "0.67675644", "0.6765239", "0.67409647", "0.669554", "0.6692237", "0.6640842", "0.6617632", "0.6605277", "0.6573202", "0.65608084", "0.65386665", "0.6499084", "0.6496182", "0.6489382",...
0.0
-1
Left shift with public integral offset.
def MagG(YKHO, Elif): if not isinstance(Elif, int): return NotImplemented return Qvn0.mul(YKHO, 1 << Elif)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JR58(YKHO):\n YKHO.pointer = (YKHO.pointer - 1) % len(YKHO.data)", "def gzEI(wEf2, exwG) -> oyIN.int64:\n return wEf2 % (1 << 64) >> exwG", "def iP6j(WKvO, Z9rn):\n return WKvO << Z9rn", "def Cze6(YKHO, BWXx):\n assert isinstance(BWXx, int), 'lshift must take an integer argument.'\n YKHO.s...
[ "0.70157146", "0.6971136", "0.6966064", "0.687211", "0.6779076", "0.6691059", "0.6663449", "0.6568696", "0.65645045", "0.65489537", "0.6513061", "0.64453125", "0.6443939", "0.6401666", "0.6386486", "0.63442093", "0.63239676", "0.6321679", "0.6321679", "0.62379247", "0.6200954...
0.7011936
1