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
Do not return anything, modify head inplace instead.
def YCEJ(YKHO, sdCG: ListNode) -> None: if sdCG is None or sdCG.next is None: return id7O, DkUh = (sdCG, sdCG) while DkUh.next is not None and DkUh.next.next is not None: id7O = id7O.next DkUh = DkUh.next.next DkUh = YKHO.reverse(id7O.next) id7O.next = None id7O = sdCG ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sdCG(YKHO, sdCG):\n YKHO._head = sdCG", "def Tmr3(YKHO, Q6kx):\n if Q6kx is YKHO.head:\n return\n BWXx = Q6kx.value\n YKHO.delete(Q6kx)\n YKHO.add_to_head(BWXx)", "def RHuc(YKHO, Q6kx):\n YKHO._remove_node(Q6kx)\n YKHO._add_node(Q6kx)", "def NWbf(YKHO, ac0X: Node):\n lHJN =...
[ "0.7218526", "0.6802109", "0.6732775", "0.6622557", "0.6466963", "0.64551795", "0.63585746", "0.63523316", "0.63093", "0.62923217", "0.6231313", "0.622523", "0.62005043", "0.62005043", "0.62005043", "0.62005043", "0.6198878", "0.6193791", "0.61740905", "0.6149187", "0.6120934...
0.65217346
4
Returns the unit vector of length 'b' with the 'a'th element = 1
def j8U8(jzdc, Fg_i): jbXL = VEDo.zeros(Fg_i) jbXL[jzdc] = 1 return jbXL
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Cr_X(jzdc, Fg_i):\n return oyIN.dot(jzdc, Fg_i) / oyIN.linalg.norm(Fg_i)", "def mkjZ(jzdc, Fg_i):\n chmV = jzdc / oyIN.linalg.norm(jzdc)\n return oyIN.dot(jaWK(jzdc), eUM5(chmV, Fg_i))", "def sdux(jzdc, Fg_i):\n return ZylS.reduce_any(input_tensor=ZylS.equal(jzdc, Fg_i))", "def Ynff(jzdc, Fg_...
[ "0.69103354", "0.61789805", "0.60266304", "0.5970242", "0.5917055", "0.58055925", "0.57747823", "0.5774343", "0.57275933", "0.57108617", "0.57086194", "0.5653378", "0.5640164", "0.56363696", "0.5635201", "0.5619316", "0.5612011", "0.5578644", "0.5567598", "0.55610627", "0.554...
0.8058672
0
Produce a transition matrix of a given dimension given a parameter vector v. The only enforced constraint here is that the columns sum to 1
def CGbr(Ty9i, e_2d): assert len(Ty9i) == e_2d * (e_2d - 1), f'Parameter vector must have length {e_2d * (e_2d - 1)}.' for QyVM in range(e_2d): Ty9i = VEDo.insert(Ty9i, e_2d * QyVM + QyVM, 1 - sum(Ty9i[e_2d * QyVM:e_2d * (QyVM + 1) - 1])) return VEDo.reshape(Ty9i, (e_2d, e_2d)).T
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ch9m(Ty9i, upAO, Fo59):\n assert len(Ty9i) == gi2P(upAO, Fo59), 'v is the wrong dimension'\n GKv7 = Uk8W(upAO, Fo59)\n WoiY = sW92(upAO, Fo59)\n cmJd = VEDo.reshape(Ty9i, (WoiY, GKv7))\n kgDL = list(o9Tf.combinations(VEDo.arange(Fo59), upAO))\n eTPi = sum((kaxd(CGbr(Ty9i, 2 ** upAO), q2Xo, Fo...
[ "0.66123855", "0.659839", "0.6512675", "0.6472071", "0.61607957", "0.61280847", "0.61172813", "0.6090249", "0.6060008", "0.60289866", "0.59395105", "0.5909324", "0.589461", "0.5881158", "0.5878696", "0.5810041", "0.58098805", "0.5797492", "0.57407725", "0.5706977", "0.5677166...
0.83805686
0
nlog(p) such that if n == 0 the product is 0 too
def A3Q3(exwG, XP5J): return 0 if exwG == 0 else exwG * VEDo.log(max(XP5J, 1e-08))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def La78(BWXx, exwG, XP5J):\n Ylbp = ULqE(exwG) + Xf84.sum(-ULqE(BWXx) + Ecnc(XP5J, BWXx), axis=-1)\n Ylbp = Xf84.switch(Xf84.or_(Xf84.any(Xf84.lt(BWXx, 0), axis=-1), Xf84.neq(Xf84.sum(BWXx, axis=-1), exwG)), -oyIN.inf, Ylbp)\n return OTft(Ylbp, 0 <= XP5J, XP5J <= 1, Xf84.isclose(Xf84.sum(XP5J, axis=-1), ...
[ "0.69442666", "0.6770327", "0.6560092", "0.65417457", "0.65413964", "0.65390885", "0.6524766", "0.65025663", "0.6501616", "0.64737916", "0.6412889", "0.640194", "0.63932335", "0.63794905", "0.637259", "0.6369177", "0.6364026", "0.6317889", "0.6317574", "0.6298147", "0.6280467...
0.7609741
0
Builds transition matrix from a vector of parameters
def Hgll(YKHO, Cu4L=None, lfQz=True): if Cu4L is None: Cu4L = YKHO.t_params cdW4 = VEDo.sum([Cu4L[QyVM] * YKHO.t_basis[QyVM] for QyVM in range(YKHO.dim)], axis=0) + VEDo.eye(YKHO.n) return VEDo.abs(cdW4) if lfQz else cdW4
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CGbr(Ty9i, e_2d):\n assert len(Ty9i) == e_2d * (e_2d - 1), f'Parameter vector must have length {e_2d * (e_2d - 1)}.'\n for QyVM in range(e_2d):\n Ty9i = VEDo.insert(Ty9i, e_2d * QyVM + QyVM, 1 - sum(Ty9i[e_2d * QyVM:e_2d * (QyVM + 1) - 1]))\n return VEDo.reshape(Ty9i, (e_2d, e_2d)).T", "def S...
[ "0.69204134", "0.6382577", "0.6335726", "0.62243617", "0.58674526", "0.5734184", "0.5701933", "0.56205916", "0.56174636", "0.5589384", "0.5578534", "0.5559582", "0.5553468", "0.55382735", "0.5537075", "0.552143", "0.5487318", "0.54845685", "0.54607314", "0.5458033", "0.539927...
0.0
-1
Initialize a RegularizedLikelihood function object.
def FIMM(YKHO, J1M1, KQC6, ykvB='SCS'): YKHO.data_P = J1M1 YKHO.data_Q = KQC6 YKHO.solver = ykvB YKHO.warning_msg = None YKHO.n = len(J1M1) YKHO.p = VEDo.array(YKHO.data_P) / VEDo.sum(YKHO.data_P) YKHO.q = VEDo.array(YKHO.data_Q) / VEDo.sum(YKHO.data_Q) YKHO.T = fCav.Parameter(shape=(YKH...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def as4H(YKHO):\n S4jN.Gaussian()\n YKHO._standard_likelihood()", "def FIMM(YKHO, EcVT, fuBA, V3HY, JWHx=None, **B2fa):\n NzrI = S4jN.Gaussian(dtype=EcVT.dtype)\n super(mudu, YKHO).__init__(EcVT, fuBA, V3HY, NzrI, JWHx, **B2fa)\n YKHO.num_latent = fuBA.size(1)", "def FIMM(YKHO, oNEO: float=0.01,...
[ "0.66586584", "0.61447257", "0.59808815", "0.59475356", "0.5901353", "0.58593845", "0.5846005", "0.5815114", "0.5811548", "0.5807189", "0.5797716", "0.5762734", "0.57596713", "0.5753917", "0.57181686", "0.57065177", "0.5696117", "0.5692102", "0.56874007", "0.56769747", "0.564...
0.0
-1
Compute the ResidualTVD and its `confidence_percent`% confidence interval.
def nrOS(YKHO, KAVc=68.0, R79I=20, cpcC=0.1, ALz_=1e-05, U0EM=1e-05, RF4F=3, wp5n=1): if YKHO.exactly_zero: return (0.0, 0.0) MQyG = YKHO.residual_tvd(YKHO.pML, YKHO.qML) K5uz, bGrB = YKHO.profile_likelihood.at_confidence(KAVc, R79I, cpcC, ALz_, U0EM, RF4F, wp5n) return (MQyG, MQyG - K5uz)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wNdp(Fo59, OgLD, rYrh, KAVc=68.0, fniA=4, R79I=20, cpcC=0.1, ALz_=1e-05, U0EM=1e-05, ykvB='SCS', Vz39=0.001, wp5n=1):\n I2mu = []\n fSaF = None\n awgB = None\n for upAO in range(0, fniA + 1):\n lGE9 = MK1i.time()\n if fSaF is not None and fSaF < ft5L:\n if wp5n > 1:\n ...
[ "0.5448839", "0.52839804", "0.5215852", "0.4962623", "0.4926112", "0.49241406", "0.483998", "0.48300937", "0.48188868", "0.4811723", "0.47545677", "0.47459364", "0.4735199", "0.47160155", "0.4711473", "0.47067535", "0.46958262", "0.46733773", "0.46714255", "0.4669242", "0.465...
0.64043117
0
Compute the weightX distrubances between two data sets (including error bars). This function is computes the weightX disturbance, defined as the difference between the weight(X1) and weightX residual TVDs, (evaluated at the ML probability distributions implied by the data) for all weights up to `max_weight`. It also us...
def ZRIa(Fo59, OgLD, rYrh, KAVc=68.0, fniA=4, R79I=20, cpcC=0.1, ALz_=1e-05, U0EM=1e-05, ykvB='SCS', Vz39=0.001, wp5n=1): ruiY = wNdp(Fo59, OgLD, rYrh, KAVc, fniA, R79I, cpcC, ALz_, U0EM, ykvB, Vz39, wp5n) IfAC = [RTSY[0] for RTSY in ruiY] vJvd = [RTSY[1] for RTSY in ruiY] e_cj = [] for YRbF in rang...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ihk7(ZPls, rdEI, xEUp, qRIj, WGgi, WrGW):\n QDwg = oyIN.empty((len(ZPls), 0), float)\n o1zN = oyIN.empty((len(ZPls), 0), float)\n DxbE = oyIN.empty((len(ZPls), 0), float)\n for pImw in rdEI:\n Zrgy = list(qRIj[pImw])\n tfB0 = [WrGW[vI3f] for vI3f in Zrgy]\n DsiL = [xEUp['Releva...
[ "0.57511914", "0.57052124", "0.5599488", "0.53826284", "0.5343219", "0.530402", "0.5238291", "0.5229988", "0.5189967", "0.51886225", "0.5132434", "0.5092004", "0.5081781", "0.50800526", "0.50700015", "0.5065203", "0.50579405", "0.50577325", "0.5034092", "0.49957445", "0.49927...
0.56327325
2
Compute the weightX distrubances between two data sets (including error bars). This function is computes the weightX disturbance, defined as the difference between the weight(X1) and weightX residual TVDs, (evaluated at the ML probability distributions implied by the data) for all weights up to `max_weight`. It also us...
def WYSF(Fo59, OgLD, rYrh, bKcG=20, fniA=4, ykvB='SCS', wp5n=1, yokr=0, QUWL=False, CUZR=True): if wp5n > 0: print('Computing base disturbances') LMlj = ZRIa(Fo59, OgLD, rYrh, None, fniA, solver=ykvB, verbosity=wp5n - 1) xmu2 = VEDo.zeros((fniA, bKcG), 'd') ri1m = [] V4W8 = OgLD + VEDo.ones(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VmjZ(YKHO, EcVT, E4bH, NKcE='l2'):\n if NKcE == 'proj_l2' or NKcE == 'proj_l2_nonorm':\n D0DJ = oyIN.mean(E4bH, axis=0)\n yzQ0 = oyIN.linalg.lstsq(EcVT.T, D0DJ.T, rcond='warn')[0]\n _mSQ = MOJb(yzQ0, normalize=True if NKcE == 'proj_l2' else False)\n print(f'Weights sum: {oyIN.sum...
[ "0.5746039", "0.57294637", "0.5658846", "0.5586402", "0.55617136", "0.5450887", "0.5448413", "0.54287875", "0.53808665", "0.5329094", "0.5290882", "0.5256008", "0.52393866", "0.51843524", "0.5163458", "0.5157238", "0.5156935", "0.5142792", "0.51124406", "0.5104448", "0.510230...
0.52336836
13
Compute the weightX disturbances between two data sets (including error bars). This function is computes the weightX disturbance, defined as the difference between the weight(X1) and weightX residual TVDs, (evaluated at the ML probability distributions implied by the data) for all weights up to `max_weight`. It also us...
def c4DP(Fo59, OgLD, rYrh, bKcG=20, fniA=4, ykvB='SCS', wp5n=1, CUZR=True): Hcfd, pImw = WYSF(Fo59, OgLD, rYrh, bKcG, fniA, ykvB, wp5n, add_one_to_data=CUZR) return Y7uS(Hcfd, pImw)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VmjZ(YKHO, EcVT, E4bH, NKcE='l2'):\n if NKcE == 'proj_l2' or NKcE == 'proj_l2_nonorm':\n D0DJ = oyIN.mean(E4bH, axis=0)\n yzQ0 = oyIN.linalg.lstsq(EcVT.T, D0DJ.T, rcond='warn')[0]\n _mSQ = MOJb(yzQ0, normalize=True if NKcE == 'proj_l2' else False)\n print(f'Weights sum: {oyIN.sum...
[ "0.5817197", "0.57323575", "0.56812716", "0.5595151", "0.55457175", "0.5417026", "0.53960073", "0.5356345", "0.535349", "0.5335695", "0.5195208", "0.51854223", "0.51795703", "0.51758546", "0.513834", "0.5130398", "0.5111673", "0.5107391", "0.5103545", "0.51035184", "0.5102634...
0.4700948
87
Returns levelappropriate list of tokens. text single string of text to tokenize
def Kbb_(YKHO, l5Ny): if YKHO.level == 'character': return list(l5Ny) elif YKHO.level == 'word': return Dhdw.word_tokenize(l5Ny) else: print('error: invalid level')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CJYp(l5Ny):\n return l5Ny.split()", "def wr3U(l5Ny):\n return JVRB.findall(l5Ny)", "def wr3U(YKHO, l5Ny: str) -> x1iM[str]:\n DJGF = YKHO.gpt2_tokenize(l5Ny)\n return DJGF", "def NInT(YKHO, l5Ny: str) -> x1iM[str]:\n return YKHO.bpe.tokenize(l5Ny)", "def NInT(YKHO, l5Ny: str) -> x1iM[str...
[ "0.8395141", "0.831102", "0.82778656", "0.827472", "0.8222971", "0.8100803", "0.8089632", "0.8055674", "0.8055533", "0.8006163", "0.79727954", "0.7971628", "0.7934016", "0.7921817", "0.7859965", "0.7849485", "0.78251755", "0.7822752", "0.77641356", "0.77472496", "0.77387273",...
0.7967735
12
Sets the lun_count of this VnicFcAdapterPolicyAllOf.
def sWeI(YKHO, sWeI): YKHO._lun_count = sWeI
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ft08(YKHO, Ft08):\n YKHO._iscsi_luns_every = Ft08", "def a9vH(YKHO, a9vH):\n YKHO._lun = a9vH", "def M5b0(YKHO, M5b0):\n YKHO._vlans_every = M5b0", "def FGRK(YKHO, FGRK):\n YKHO._vm_count = FGRK", "def FGRK(YKHO, FGRK):\n YKHO._vm_count = FGRK", "def ctpA(YKHO, qNQF):\n YKHO._total_...
[ "0.52866864", "0.49690428", "0.49519306", "0.4915979", "0.4915979", "0.48392224", "0.4805429", "0.47879255", "0.47772548", "0.4736789", "0.4670654", "0.46086815", "0.46013558", "0.4506781", "0.45022792", "0.44786662", "0.44687417", "0.44602594", "0.44586164", "0.44425517", "0...
0.704226
0
Sets the lun_queue_depth of this VnicFcAdapterPolicyAllOf.
def e3Zv(YKHO, e3Zv): YKHO._lun_queue_depth = e3Zv
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pMZy(YKHO, vC9B, Mkmy, Fg_i, a1PO, Qh4y, Dfjx):\n YKHO.__fdim = (vC9B, Mkmy, Fg_i, a1PO, Qh4y, Dfjx)\n return YKHO", "def El2s(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=int, restriction_dict={'ran...
[ "0.47381592", "0.4707144", "0.4589882", "0.45773852", "0.45730025", "0.45462763", "0.45462763", "0.45462763", "0.45411894", "0.45411894", "0.45411894", "0.45234373", "0.44790027", "0.44655037", "0.44600165", "0.44499394", "0.43994594", "0.43762532", "0.43686432", "0.43305865", ...
0.76161265
0
Sets the organization of this VnicFcAdapterPolicyAllOf.
def wbiw(YKHO, wbiw): YKHO._organization = wbiw
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UKj1(YKHO, *qIxc):\n return _VfD.ModelCreator_setOrganization(YKHO, *qIxc)", "def oK7A(YKHO, *qIxc):\n return _VfD.ModelCreator_setOrganisation(YKHO, *qIxc)", "def wbiw(YKHO, BWXx):\n wbiw = YKHO._tower.get_organization_by_name(BWXx)\n if not wbiw:\n raise XZDv(BWXx)\n YKHO._update_va...
[ "0.5135674", "0.4929529", "0.4895023", "0.4821758", "0.47351527", "0.47320288", "0.46962047", "0.46612102", "0.4644318", "0.46372673", "0.45655122", "0.45655122", "0.45655122", "0.45513192", "0.45513192", "0.45213237", "0.44702268", "0.44630924", "0.44579676", "0.44550458", "...
0.53954524
2
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, JQOJ): return False return YKHO.to_dict() == Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.8088132", "0.8088132", "0.8054589", "0.7982687", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): if not isinstance(Elif, JQOJ): return True return YKHO.to_dict() != Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.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.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", ...
0.0
-1
Compute the LeastSquares GAN metrics for the discriminator.
def Lxqb(uSkv, GINC): N77f = (ht2j.mean((uSkv - 1) ** 2) + ht2j.mean(GINC ** 2)) / 2 return N77f
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zavf(qtWj, c2Yh, nfgB, Th55, zrIJ, exwG=100, E1ho=1):\n bGrB, DfOl = nfgB.evaluate(Th55, oyIN.ones((Th55.shape[0], 1)), verbose=0)\n epBp = mhOs(E1ho, exwG)\n _dIt = c2Yh.predict(epBp)\n bGrB, ZEiw = nfgB.evaluate(_dIt, oyIN.zeros((_dIt.shape[0], 1)), verbose=0)\n zTvC, YtJp, Rtnc = nxfb(nfgB, z...
[ "0.6416926", "0.63275605", "0.6027656", "0.5978039", "0.5974943", "0.5971676", "0.59659046", "0.59446245", "0.5943579", "0.58846956", "0.58793634", "0.58473355", "0.5832685", "0.5826789", "0.5794599", "0.5786867", "0.57866853", "0.57841074", "0.5757086", "0.5718163", "0.57101...
0.5765451
18
Given an x by y by c img, returns a xy by c array, and the original shape. Essentially, gets the img as a list of pixels, each pixel being a vector of length c.
def f9it(VXjJ): JNn7 = VXjJ.shape if len(VXjJ.shape) == 3: VXjJ = VXjJ.reshape(VXjJ.shape[0] * VXjJ.shape[1], VXjJ.shape[2]) elif len(VXjJ.shape) == 2: VXjJ = VXjJ.reshape(VXjJ.shape[0] * VXjJ.shape[1]) return (JNn7, VXjJ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O8GQ(HMBG, uRrL, Y8lG, u41L):\n qw7D = []\n QVvX = HMBG % Y8lG\n BI5l = uRrL % u41L\n ohTc = HMBG // Y8lG\n pY3b = uRrL // u41L\n IMIK = 0\n uFeA = 0\n for YRbF in range(pY3b):\n for r845 in range(ohTc):\n qw7D.append((IMIK, uFeA))\n IMIK += Y8lG\n if...
[ "0.6520238", "0.6212084", "0.6212084", "0.6058352", "0.59900266", "0.5980272", "0.59720075", "0.5923761", "0.59104073", "0.5883469", "0.58737314", "0.5866302", "0.58648556", "0.5863817", "0.58549285", "0.58212554", "0.5819949", "0.58088756", "0.580134", "0.57945895", "0.57898...
0.71679634
0
Given an x by y by c img, a number (n) of buckets per channel (c), and a max value (in the case of RGB, 255), returns an x by y array denoting the bin indices for each pixel.
def X3D8(VXjJ, exwG=3, bQ6z=255): JNn7, VXjJ = f9it(VXjJ) return oyIN.array([l0Yc(XP5J, exwG, bQ6z) for XP5J in VXjJ]).reshape(JNn7[:2])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ueoz(zNig, exwG, bQ6z):\n E1dm = AnBF(exwG, bQ6z)\n return uDu3(oyIN.array(list(Hs6x.product(E1dm, repeat=zNig))))", "def cA_G(pmON):\n bGrB, fuBA = gnPz.imread(pmON)\n oZOm = gnPz.closest_bins(fuBA).flatten()\n UHFx = oyIN.zeros(len(gnPz.bins))\n for i3cp in oZOm:\n UHFx[i3cp] += 1\...
[ "0.6368335", "0.6052963", "0.6049015", "0.5968018", "0.5940938", "0.5912678", "0.5826723", "0.57849973", "0.5782082", "0.57811564", "0.57696104", "0.5741694", "0.5706028", "0.56856173", "0.5644078", "0.5624339", "0.56134695", "0.56134695", "0.561309", "0.5595429", "0.55845946...
0.5677147
14
Given a list of colours and a list of pixels assigned to each colour, returns list of pixels with correctly assigned colours.
def r_Q1(kn2i, ZUI0): JNn7 = ZUI0.shape ZUI0 = ZUI0.flatten() VXjJ = oyIN.ones((*ZUI0.shape, kn2i.shape[1]), dtype='uint8') for YRbF in range(len(kn2i)): VXjJ[oyIN.where(ZUI0 == YRbF)] = kn2i[YRbF] return VXjJ.reshape((*JNn7, len(kn2i[0])))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KRra(BQSz, OmPC):\n xLHU = _nn5.range(BQSz, OmPC)\n return [OfK8.hexcode for OfK8 in xLHU]", "def fRt4(F4JO):\n iaF0 = []\n jzdc = [0.5, 0.5, 0.6, 0.4, 0.3, 0.2]\n YRbF = 0\n for Z9rn in F4JO:\n iaF0.append(list(Jw9H.to_rgba(Z9rn)))\n iaF0[YRbF][3] = jzdc[YRbF]\n YRbF +...
[ "0.7355043", "0.65628546", "0.64582306", "0.6348912", "0.61109716", "0.6024544", "0.601874", "0.5998875", "0.5965268", "0.5947477", "0.58933634", "0.586785", "0.5850018", "0.57869726", "0.5757383", "0.574751", "0.57411", "0.57241637", "0.5721022", "0.5715938", "0.57097244", ...
0.6144681
4
Sets the uninstanced_item_objectives of this DestinyCharacterProgressionComponent.
def d4Rt(YKHO, d4Rt): YKHO._uninstanced_item_objectives = d4Rt
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TDaR(YKHO, TDaR):\n YKHO._uninstanced_item_components = TDaR", "def hfhI(YKHO, iZvK=None):\n YKHO.objectives = iZvK", "def Mj2X(X6Xh):\n tScF = ['castsShadows', 'receiveShadows', 'motionBlur', 'primaryVisibility', 'smoothShading', 'visibleInReflections', 'visibleInRefractions', 'doubleSided', 'miT...
[ "0.6069788", "0.50686973", "0.4641322", "0.46393347", "0.4600873", "0.45567068", "0.44952974", "0.44842806", "0.44752657", "0.4380454", "0.4368845", "0.4356389", "0.43173862", "0.4311341", "0.42860755", "0.42321068", "0.4224013", "0.42219788", "0.4213827", "0.41893125", "0.41...
0.7625923
0
Sets the checklists of this DestinyCharacterProgressionComponent.
def vjeB(YKHO, vjeB): YKHO._checklists = vjeB
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mhWz(Jpbe, qIxc):\n global checklists_on\n if Jpbe['checklists'] == 'true':\n PXJe = True\n else:\n PXJe = False\n return", "def vHuy(OSvf, XwEP):\n with D7d3, D7d3.cursor() as DpUl:\n DpUl.execute('update mustard.users set checklist=%s where twitchid=%s', (XwEP, OSvf))", ...
[ "0.5388448", "0.5178056", "0.47633874", "0.4745521", "0.4715553", "0.47147065", "0.47000226", "0.4678718", "0.46702096", "0.46173793", "0.45208922", "0.4478666", "0.44753748", "0.44658512", "0.4457892", "0.443784", "0.44317162", "0.4390128", "0.43871358", "0.4377698", "0.4372...
0.6916538
0
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, QlFR): 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
Apply the 1d adaptive average pooling to input.
def I96t(input, a6Jb): qIxc = BfDw._get_adaptive_pool_args(input.size()[-1:], BfDw._single(a6Jb)) return ZHjR('AVG', BfDw._single, input, **qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KVH6(YKHO, WKvO):\n WKvO = WKvO.permute(0, 2, 1)\n WKvO = ht2j.nn.functional.avg_pool1d(WKvO, YKHO.kernel_size)\n return WKvO.permute(0, 2, 1)", "def KVH6(YKHO, WKvO):\n WKvO = WKvO.permute(0, 2, 1)\n WKvO = ht2j.nn.functional.avg_pool1d(WKvO, YKHO.kernel_size)\n return (WKvO.permute(0, 2, ...
[ "0.7058034", "0.7049231", "0.70460516", "0.7009492", "0.6925214", "0.6824373", "0.67714304", "0.67641926", "0.66673446", "0.6594632", "0.65405375", "0.65323025", "0.6501119", "0.6490693", "0.648852", "0.64639956", "0.6299861", "0.6245185", "0.620425", "0.60869217", "0.6065628...
0.7919951
0
r"""Compute the sigmoid cross entropy with contiguous target.
def fXjL(input, pan_, upAO=None, UQAb=None, Pusg=None, gH2v='mean', q8GA=None): if UQAb is not None or Pusg is not None: gH2v = w1oN.legacy_get_string(UQAb, Pusg) else: gH2v = gH2v return o8DQ.apply('SigmoidCrossEntropyLoss', input.device, [input, pan_], reduction=gH2v.upper())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ExI1(YKHO):\n tEbt = iXxX.SigmoidCrossEntropy()\n aMgO = tEbt.final_activation_op({'logits': YKHO.logits, 'metadata': {'mask': YKHO.mask}})\n assert oyIN.isclose(aMgO[0][0].numpy(), 0.54905695, atol=1e-05)\n assert oyIN.isclose(aMgO[2][4].numpy(), 0.0, atol=1e-05)\n N77f = tEbt({'mask': YKHO.mas...
[ "0.7352075", "0.7167979", "0.7135719", "0.70857906", "0.7030672", "0.6897947", "0.68060154", "0.6803094", "0.6719097", "0.670368", "0.666273", "0.66219085", "0.66211456", "0.6617892", "0.6589703", "0.65851134", "0.65599525", "0.65517175", "0.654601", "0.654601", "0.6537982", ...
0.6195339
76
r"""Apply the 3d deconvolution to input.
def _VES(input, upAO, oug5=None, _0fC=1, dvgN=0, EJc2=0, moMn=1, ivFb=1): return nK42('ConvTranspose', BfDw._triple, **locals())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nrOS(YKHO, xC9L, Tr6N='C', ZJEG=('D', 'H', 'W'), **B2fa):\n hlel = super(BzT8, YKHO).__call__(xC9L, Tr6N, ZJEG, **B2fa)\n return YKHO._slice_output(hlel, ZJEG, **B2fa)", "def RzIw(Htse, hhGw, pH0A, Ot1W, _0fC, oug5, ivFb):\n dvgN = epAf.floor((Ot1W - _0fC + 1) / 2)\n if Htse == 2:\n return...
[ "0.6751181", "0.6668589", "0.66188866", "0.6615516", "0.66007274", "0.6568923", "0.6460536", "0.6394214", "0.638967", "0.6287257", "0.628673", "0.62740326", "0.6241009", "0.6235752", "0.6231016", "0.6191527", "0.61702406", "0.6115791", "0.6084227", "0.607948", "0.6073386", ...
0.0
-1
Lookup the embedding matrix using index.
def wjQX(input, upAO, bMm2=None): if bMm2 is not None: jND7 = upAO.size(0) if bMm2 > 0: if bMm2 >= jND7: raise ValueError('<padding_idx> must be within embedding matrix.') elif bMm2 < 0: if bMm2 < -jND7: raise ValueError('<padding_idx> ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cDNJ(t8HT: str, lhva: int, acax: dict) -> oyIN.array:\n goqu = {}\n eHNT = open(t8HT, encoding='utf-8')\n for zFiD in eHNT:\n try:\n hkxX = zFiD.split()\n GIN8 = hkxX[0]\n kPcD = oyIN.asarray(hkxX[1:], dtype='float32')\n goqu[GIN8] = kPcD\n exc...
[ "0.64250535", "0.63307875", "0.6012205", "0.59973156", "0.59043014", "0.5786562", "0.57417053", "0.5724894", "0.57154804", "0.5696327", "0.56394887", "0.5635848", "0.5548168", "0.5541293", "0.5534547", "0.5517164", "0.5475266", "0.5466939", "0.54125106", "0.5383648", "0.53700...
0.5847938
5
r"""Apply the hard sigmoid function to input.
def eyDK(input, LpaZ=False): return o8DQ.apply('HardSigmoid', input.device, [input], outputs=[input if LpaZ else None], alpha=1.0 / 6.0, beta=0.5)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m1Hg(input, LpaZ=False):\n return o8DQ.apply('Sigmoid', input.device, [input], outputs=[input if LpaZ else None])", "def rjwA(WKvO):\n WKvO = 0.2 * WKvO + 0.5\n WKvO = vuvg.threshold(-WKvO, -1, -1)\n WKvO = vuvg.threshold(-WKvO, 0, 0)\n return WKvO", "def m1Hg(WKvO):\n return 1 / (1 + kLQ...
[ "0.80894077", "0.7951312", "0.78221464", "0.78221464", "0.7819268", "0.7770174", "0.7760276", "0.77378976", "0.77297324", "0.77159405", "0.77159405", "0.77159405", "0.77159405", "0.77159405", "0.77159405", "0.7710882", "0.77062887", "0.77031165", "0.7698375", "0.76947874", "0...
0.8654183
0
r"""Apply the composite of logarithm and softmax to input.
def h_oU(input, tpio, LpaZ=False): return o8DQ.apply('LogSoftmax', input.device, [input], outputs=[input if LpaZ else None], axis=tpio)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N93T(g4y1):\n return oyIN.exp(g4y1) / float(sum(oyIN.exp(g4y1)))", "def N93T(g4y1):\n return oyIN.exp(g4y1) / float(sum(oyIN.exp(g4y1)))", "def N93T(WKvO):\n \"\"\"\"\"\"\n return kLQb(WKvO) / sum(kLQb(WKvO), axis=0)", "def N93T(g4y1):\n s852 = oyIN.exp(g4y1)\n return s852 / oyIN.sum(s8...
[ "0.71724147", "0.71724147", "0.7116447", "0.6964141", "0.6947973", "0.6946497", "0.6882925", "0.68721914", "0.6845333", "0.6842002", "0.6842002", "0.6824814", "0.6824814", "0.6824814", "0.6824814", "0.6824814", "0.6824814", "0.6824814", "0.6824814", "0.6811273", "0.68048394",...
0.71576583
2
r"""Pad the input according to the given sizes.
def hVLt(input, hVLt, Tuqy='constant', BWXx=0): qC1Y = input.ndimension() PpGw, TPZa = ([0] * qC1Y, [0] * qC1Y) for YRbF in range(len(hVLt) // 2): PpGw[qC1Y - 1 - YRbF] = hVLt[YRbF * 2] TPZa[qC1Y - 1 - YRbF] = hVLt[YRbF * 2 + 1] Tuqy = {'constant': 'CONSTANT', 'reflect': 'REFLECT', 'repl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hVLt(zNig, BWXx):\n return (BWXx + zNig - 1) / zNig * zNig", "def hVLt(J7UI, zNig):\n vgXP = zNig - len(J7UI) % zNig\n return J7UI + chr(vgXP) * vgXP", "def Xso3(input, zNig):\n nyWF = ZylS.concat([input[:, :, -zNig[1]:, :], input, input[:, :, 0:zNig[1], :]], 2)\n nyWF = ZylS.concat([nyWF[:,...
[ "0.7171839", "0.68146545", "0.6789705", "0.66900754", "0.667438", "0.66301286", "0.6561065", "0.6443874", "0.64412755", "0.6316012", "0.627691", "0.62747955", "0.62624496", "0.6235029", "0.6217416", "0.6213305", "0.6173451", "0.6168228", "0.6163619", "0.615822", "0.61428016",...
0.0
-1
r"""Apply parametric rectified linear unit to input.
def d8Xq(input, upAO): return o8DQ.apply('PRelu', input.device, [input, upAO])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Pq9v(WKvO):\n return max(0, WKvO)", "def nrOS(YKHO, WKvO):\n if YKHO.W.data is None:\n FtXE = xBlr.reduce(seET.mul, WKvO.shape[1:], 1)\n YKHO._initialize_params(FtXE)\n return z8o0.linear(WKvO, YKHO.W, YKHO.b)", "def Pq9v(WKvO):\n return max(0, WKvO)", "def PXGI(Emd4, wDuC, TjAx...
[ "0.56634676", "0.55331546", "0.5529746", "0.5515971", "0.54260683", "0.535713", "0.5265965", "0.5264894", "0.5231824", "0.5196171", "0.51897967", "0.5181318", "0.5145442", "0.51351285", "0.5131469", "0.51311266", "0.5102792", "0.5093369", "0.5074015", "0.50522906", "0.5051210...
0.0
-1
r"""Apply the sigmoid function to input.
def m1Hg(input, LpaZ=False): return o8DQ.apply('Sigmoid', input.device, [input], outputs=[input if LpaZ else None])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m1Hg(WKvO):\n hcL3 = 1.0 / (1.0 + oyIN.exp(-WKvO))\n return hcL3\n pass", "def m1Hg(WKvO):\n return 1 / (1 + kLQb(-WKvO))", "def m1Hg(WKvO):\n return 1 / (1 + kLQb(-WKvO))", "def m1Hg(WKvO):\n return 1 / (1 + oyIN.exp(-WKvO))", "def m1Hg(WKvO):\n return 1.0 / (1.0 + oyIN.exp(-WKvO)...
[ "0.8157151", "0.815461", "0.815461", "0.81402355", "0.81262636", "0.81251985", "0.8111566", "0.8104822", "0.81041235", "0.81039155", "0.8098754", "0.80976367", "0.80976367", "0.80976367", "0.80976367", "0.80976367", "0.80976367", "0.8093672", "0.808155", "0.8028085", "0.80163...
0.84198445
0
r"""Compute the sigmoid focal loss with sparse labels.
def HN5_(input, pan_, Cwt5=0.25, KMvS=2.0, upAO=None, UQAb=None, V_8U=0, Pusg=None, gH2v='valid'): if UQAb is not None or Pusg is not None: gH2v = w1oN.legacy_get_string(UQAb, Pusg) else: gH2v = gH2v return o8DQ.apply('SigmoidFocalLoss', input.device, [input, pan_], axis=1, alpha=float(Cwt5)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R3Yq(Crrw, KeL5, Cwt5=0.5, KMvS=2):\n JxU2 = KeL5.sigmoid()\n Crrw = ht2j.nn.functional.one_hot(Crrw.squeeze().long(), num_classes=JxU2.shape[1])\n r4A7 = ht2j.clamp(KeL5, min=0) - KeL5 * Crrw + ht2j.log(1 + ht2j.exp(-ht2j.abs(KeL5)))\n Jjrq = Crrw * JxU2 + (1 - Crrw) * (1 - JxU2)\n Sn8X = ht2j....
[ "0.71321917", "0.7093262", "0.6633947", "0.65949", "0.6584017", "0.65449595", "0.64796317", "0.64272046", "0.63746697", "0.63526267", "0.63237005", "0.6298054", "0.6298054", "0.62878186", "0.6272728", "0.62723005", "0.62723005", "0.62723005", "0.62723005", "0.62723005", "0.62...
0.6522867
6
r"""Apply the sigmoid linear unit to input.
def eG8h(input): return o8DQ.apply('Silu', input.device, [input])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m1Hg(input, LpaZ=False):\n return o8DQ.apply('Sigmoid', input.device, [input], outputs=[input if LpaZ else None])", "def m1Hg(WKvO):\n return 1 / (1 + r8hN.exp(-WKvO))", "def m1Hg(WKvO):\n return 1 / (1 + kLQb(-WKvO))", "def m1Hg(WKvO):\n return 1 / (1 + kLQb(-WKvO))", "def m1Hg(WKvO):\n ...
[ "0.80268824", "0.77496886", "0.7746871", "0.7746871", "0.7740873", "0.7735992", "0.7733483", "0.77136153", "0.7711808", "0.77068734", "0.7700224", "0.7695171", "0.7694648", "0.7682478", "0.7682478", "0.7682478", "0.7682478", "0.7682478", "0.7682478", "0.7679615", "0.7661875",...
0.0
-1
r"""Apply the softmax function to input.
def N93T(input, tpio, LpaZ=False): return o8DQ.apply('Softmax', input.device, [input], outputs=[input if LpaZ else None], axis=tpio)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N93T(WKvO):\n return oyIN.exp(WKvO) / oyIN.sum(oyIN.exp(WKvO), axis=0)", "def N93T(WKvO):\n \"\"\"\"\"\"\n return kLQb(WKvO) / sum(kLQb(WKvO), axis=0)", "def N93T(WKvO):\n return oyIN.exp(WKvO) / oyIN.sum(oyIN.exp(WKvO), axis=0)", "def N93T(WKvO):\n hlel = oyIN.exp(WKvO)\n return hlel /...
[ "0.8264099", "0.82065403", "0.81856155", "0.8172896", "0.8162891", "0.81533456", "0.81320536", "0.81202364", "0.8104102", "0.8104102", "0.8104102", "0.8104102", "0.8104102", "0.8104102", "0.8104102", "0.8104102", "0.81020945", "0.81020945", "0.8095041", "0.80907416", "0.80886...
0.841033
0
Build VAE = encoder + decoder + vae_loss
def aJBW(YKHO): g4y1 = X6a0(shape=(YKHO.n_features_,)) gEmA = l6ZH(YKHO.n_features_, activation=YKHO.hidden_activation)(g4y1) for vNnt in YKHO.encoder_neurons: gEmA = l6ZH(vNnt, activation=YKHO.hidden_activation, activity_regularizer=V70B(YKHO.l2_regularizer))(gEmA) gEmA = lARV(YKHO.dropout_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TC9G(YKHO):\n pOvL = int(YKHO.n_dims // 2) + 1\n YKHO.encoder, g4y1, y906, bJ0J = YKHO._encoder(pOvL, YKHO.mcd)\n YKHO.decoder, o4Jx = YKHO._decoder(g4y1, pOvL, YKHO.mcd)\n YKHO.model = wOed(g4y1, o4Jx, name='VAE IMPUTER')\n N77f = YKHO.vae_loss(YKHO.n_dims, y906, bJ0J)\n YKHO.model.compile(o...
[ "0.8243037", "0.68461365", "0.66015685", "0.6523023", "0.62951744", "0.62521744", "0.62478775", "0.62023884", "0.6195851", "0.6177701", "0.61707133", "0.6160874", "0.6093952", "0.60430026", "0.59880006", "0.5972288", "0.59566015", "0.5952833", "0.59501654", "0.58542556", "0.5...
0.65911645
3
Round a datetime object to any time laps in seconds
def VGg5(JRYC=None, z_0R=60): if JRYC == None: JRYC = qcWV.datetime.now() C6wh = (JRYC - JRYC.min).seconds Y3rN = (C6wh + z_0R / 2) // z_0R * z_0R JRYC + qcWV.timedelta(0, Y3rN - C6wh, -JRYC.microsecond) JRYC.replace(second=0, microsecond=0) return JRYC
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZhNM(ITS7):\n XXcz = ITS7.minute % 5\n W3xo = ITS7.second\n oLQB = ITS7.microsecond\n ITS7 = ITS7 - fCoM(minutes=XXcz, seconds=W3xo, microseconds=oLQB)\n return ITS7", "def I3hM(JRYC=None, HlDX=60):\n if hasattr(JRYC, 'tzinfo'):\n JRYC.replace(tzinfo=None)\n yk4i = JRYC - JRYC.rep...
[ "0.74292034", "0.72201437", "0.7187189", "0.7071502", "0.70527256", "0.7039349", "0.68839186", "0.687624", "0.685757", "0.6757203", "0.6480596", "0.64093435", "0.63737726", "0.6337756", "0.62954307", "0.6294884", "0.6241491", "0.62292844", "0.6213652", "0.6170456", "0.6164732...
0.71589094
3
Round a datetime object to any time laps in seconds
def VGg5(JRYC=None, z_0R=60): if JRYC == None: JRYC = qcWV.datetime.now() C6wh = (JRYC - JRYC.min).seconds Y3rN = (C6wh + z_0R / 2) // z_0R * z_0R return JRYC + qcWV.timedelta(0, Y3rN - C6wh, -JRYC.microsecond)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZhNM(ITS7):\n XXcz = ITS7.minute % 5\n W3xo = ITS7.second\n oLQB = ITS7.microsecond\n ITS7 = ITS7 - fCoM(minutes=XXcz, seconds=W3xo, microseconds=oLQB)\n return ITS7", "def I3hM(JRYC=None, HlDX=60):\n if hasattr(JRYC, 'tzinfo'):\n JRYC.replace(tzinfo=None)\n yk4i = JRYC - JRYC.rep...
[ "0.74292034", "0.72201437", "0.7187189", "0.71589094", "0.70527256", "0.7039349", "0.68839186", "0.687624", "0.685757", "0.6757203", "0.6480596", "0.64093435", "0.63737726", "0.6337756", "0.62954307", "0.6294884", "0.6241491", "0.62292844", "0.6213652", "0.6170456", "0.616473...
0.7071502
4
Randomly initialize the LBM model and variationnal parameters.
def ktlV(YKHO, MxXY, cWFu, pjBH, pDev, erDL): M5ET = 0.01 / MxXY TViw = 0.01 / cWFu BBiW = (YKHO._np.ones(pjBH) / pjBH).reshape((pjBH, 1)) Yd1g = (YKHO._np.ones(pDev) / pDev).reshape((1, pDev)) nC59 = YKHO._np.random.uniform(size=(MxXY, pjBH)) ** 2 nC59 /= nC59.sum(axis=1).reshape(MxXY, 1) n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K55i(YKHO):\n for YRbF in range(1, YKHO.L):\n YKHO.W[YRbF - 1] = oyIN.random.randn(YKHO.layer_dims[YRbF], YKHO.layer_dims[YRbF - 1]) * 0.01\n YKHO.b[YRbF - 1] = oyIN.zeros((YKHO.layer_dims[YRbF], 1))", "def _Dec(tnev):\n jXpd = tnev.randInitRange\n HkL2 = tnev.features.shape[1]\n tn...
[ "0.6830697", "0.67434275", "0.6667895", "0.6575137", "0.64593416", "0.6400432", "0.6391768", "0.63335735", "0.62968785", "0.62917453", "0.6282881", "0.6282866", "0.6200315", "0.6192509", "0.61925", "0.61759675", "0.6128037", "0.61205316", "0.61205316", "0.61205316", "0.610299...
0.68578535
0
Returns a copy of the model.
def jth9(YKHO): C3ST = ysEZ(n_row_clusters=YKHO.n_row_clusters, n_column_clusters=YKHO.n_column_clusters, max_iter=YKHO.max_iter, n_init=YKHO.n_init, n_init_total_run=YKHO.n_init_total_run, n_iter_early_stop=YKHO.nb_iter_early_stop, rtol=YKHO.rtol, atol=YKHO.atol, verbosity=YKHO.verbosity, use_gpu=YKHO.use_gpu, gpu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jth9(YKHO):\n wJ4v = wOed(name=YKHO.name, functions=jth9.deepcopy(YKHO.functions), domain=YKHO.domain.copy(), density=YKHO.density.copy())\n wJ4v.update()\n return wJ4v", "def i3ak(YKHO):\n return _VfD.Model_clone(YKHO)", "def i3ak(YKHO):\n return _VfD.ModelCreator_clone(YKHO)", "def _qLf(...
[ "0.8543849", "0.84137756", "0.7987762", "0.7848592", "0.7686054", "0.764714", "0.7518212", "0.74770737", "0.7470365", "0.7470365", "0.7470365", "0.7456633", "0.7456633", "0.7456633", "0.7456633", "0.743308", "0.7431004", "0.74092996", "0.74092996", "0.7405514", "0.74039346", ...
0.71084404
83
Load the training data into pandas DataFrames.
def FIMM(YKHO, DvNP=True, xwuL='data/tidy/train_cli.csv', cr92='data/tidy/train_pro.csv', Ycw5='data/tidy/train_rna.csv', u_5o='data/tidy/sum_tab_1.csv', X_r9='data/raw/test_pro.tsv', RcCN='data/raw/test_cli.tsv', Z3yN='data/raw/train_rna.tsv', CzY4='data/raw/test_rna.tsv', CSOW='data/tidy/sum_tab_2.csv'): YKHO.cli...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UlWi(qIxc) -> rLdf.DataFrame:\n jQ3Z = rLdf.read_csv(Hy7s.path.join(qIxc.data_dir, qIxc.training_file), delimiter='\\t').sample(frac=1, random_state=qIxc.random_seed).reset_index(drop=True)\n af07 = rLdf.read_csv(Hy7s.path.join(qIxc.data_dir, qIxc.testing_file), delimiter='\\t')\n if not qIxc.use_cust...
[ "0.7290695", "0.7172334", "0.7125734", "0.7074254", "0.7070494", "0.70487684", "0.6976454", "0.6856729", "0.6817604", "0.6802518", "0.6802518", "0.6798619", "0.6789632", "0.67561597", "0.675587", "0.675044", "0.67149955", "0.6713223", "0.66921693", "0.6638781", "0.66356754", ...
0.0
-1
Normalize each column into roughly [1.0, 1.0] centered around 0.0.
def NkkI(YKHO, jQ3Z): return (jQ3Z - jQ3Z.mean()) / (jQ3Z.max() - jQ3Z.min())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kwsU(WKvO):\n WKvO = oyIN.copy(WKvO)\n OfOG = WKvO.shape[1]\n for TMa9 in range(OfOG):\n fvDH = WKvO[:, TMa9]\n aM8h = oyIN.max(fvDH)\n WKvO[:, TMa9] = fvDH / aM8h\n return WKvO", "def OrIz(XcU5):\n for YRbF in range(XcU5.shape[1]):\n XcU5[:, YRbF] /= oyIN.linalg.no...
[ "0.76790047", "0.75072354", "0.74424016", "0.7401769", "0.738595", "0.73849434", "0.73720634", "0.737123", "0.7362824", "0.7362824", "0.73594344", "0.7342005", "0.7226741", "0.71751434", "0.71619254", "0.71619254", "0.715494", "0.715236", "0.71468616", "0.7138", "0.7114321", ...
0.7423873
3
Return the initial estimages of parameters to be refined for this frame
def Zvhz(YKHO): from xfel.cxi.postrefine.mod_leastsqr import prep_input from xfel.cxi.postrefine.test_rs import calc_spot_radius Z0MO = Xzsc(YKHO.orientation.reciprocal_matrix()) mUL9 = YKHO.miller_array.indices() y3gc = calc_spot_radius(Z0MO, mUL9, YKHO.wavelength) n0b8 = [YKHO.G, -1 * YKHO.min...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UcWp(YKHO):\n return YKHO._initial_parameters", "def FYvy(YKHO):\n YKHO.shape, YKHO.rate = (YKHO.posterior[1] + 1, -YKHO.posterior[0])", "def Tg89(YKHO, WKvO, LVAh, EGG0):\n ubFU = max(LVAh)\n si3g = map(int, LVAh * 1000)\n orDN = WKvO[si3g.index(max(si3g))]\n Uc1B = (max(WKvO) - min(WKvO...
[ "0.66962445", "0.6666156", "0.6228862", "0.6228862", "0.6102147", "0.60714555", "0.60399663", "0.60087705", "0.5939458", "0.59192914", "0.5900483", "0.58851665", "0.58702064", "0.5864475", "0.5837283", "0.5827749", "0.5812604", "0.5798921", "0.5787811", "0.57839376", "0.57694...
0.0
-1
Get current run state.
def nMbt(YKHO): if not YKHO._run_state: QTBn = YKHO.lookup_enum(['State', 'state']) if not QTBn: YKHO._run_state = vUxq else: YKHO._run_state = QTBn return YKHO._run_state
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ja6o(YKHO):\n return YKHO._env.get_state()", "def c0mt(YKHO):\n return YKHO._current_state", "def c0mt(YKHO):\n return YKHO.game.get_current_state()", "def ja6o(YKHO):\n return YKHO.env.sim.get_state()", "def c0mt(YKHO):\n return YKHO.world.get_state()", "async def read_running_state(Y...
[ "0.8044872", "0.7973345", "0.79697686", "0.78499836", "0.77975625", "0.77106464", "0.76119226", "0.7602612", "0.75981814", "0.7592718", "0.75753564", "0.7575198", "0.7575198", "0.7574362", "0.7560948", "0.75504", "0.75151485", "0.7506284", "0.7506284", "0.7506284", "0.7506284...
0.74632627
23
Return minute initial time.
def tOe5(YKHO): return YKHO._get_time_info(['Initial_Time_M', 'initialTimeMinute'])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wKbE(ITS7):\n return g6xZ(ITS7).minute", "def gLqS(YKHO):\n return _VfD.Date_getMinute(YKHO)", "def yVtz(YKHO) -> int:\n return YKHO._minute", "def Tuht(YKHO):\n S2b_ = YKHO.__read_register(UkmJ)\n YuSI = (S2b_ & 112) >> 4\n Ko6S = S2b_ & 15\n return 10 * YuSI + Ko6S", "def Tuht(IT...
[ "0.7449618", "0.72936636", "0.7269373", "0.718579", "0.7172708", "0.7038206", "0.70348656", "0.70348656", "0.70348656", "0.70348656", "0.69821894", "0.67240936", "0.67166716", "0.66924185", "0.6684537", "0.66503394", "0.664964", "0.6648116", "0.6639523", "0.65989166", "0.6565...
0.80797535
0
Return hour reserved time.
def OkbW(YKHO): return YKHO._get_time_info(['Reserve_Time_H', 'reserveTimeHour'])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ROt1(YKHO):\n return '%s:00:00' % YKHO.timestamp[:13]", "def ROt1(YKHO) -> int:\n return qe4Y.get(YKHO, 'hour')", "def pfpY() -> str:\n return qcWV.now().strftime('%H')", "def ROt1(YKHO) -> int:\n return YKHO._hour", "def ROt1(YKHO) -> int:\n return YKHO._hour", "def JeXA(YKHO):\n R...
[ "0.71878135", "0.70029706", "0.6913823", "0.6901592", "0.6901592", "0.68942165", "0.6884703", "0.687418", "0.6792223", "0.6713945", "0.66753066", "0.66351604", "0.6625625", "0.6625625", "0.6625625", "0.65861046", "0.65464854", "0.6467843", "0.64672446", "0.64450455", "0.64304...
0.82742125
0
Return minute reserved time.
def qxYZ(YKHO): return YKHO._get_time_info(['Reserve_Time_M', 'reserveTimeMinute'])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wKbE(ITS7):\n return g6xZ(ITS7).minute", "def Tuht(ITS7):\n r8hN = ITS7[4] + ITS7[3] * 60 + ITS7[2] * 60 * 24 * ITS7[1] * ITS7[0]\n return r8hN", "def gLqS(YKHO):\n return _VfD.Date_getMinute(YKHO)", "def Tuht(YKHO):\n S2b_ = YKHO.__read_register(UkmJ)\n YuSI = (S2b_ & 112) >> 4\n Ko...
[ "0.73375547", "0.68311155", "0.67657065", "0.6731555", "0.67059034", "0.66879284", "0.6623251", "0.6603561", "0.6480532", "0.64482164", "0.6434304", "0.6427498", "0.6421625", "0.6421625", "0.6421625", "0.6421625", "0.635119", "0.63110065", "0.6255719", "0.6250382", "0.6212609...
0.7332861
1
Return current run state.
def MyDQ(YKHO): MyDQ = YKHO._get_run_state() if vUxq in MyDQ: MyDQ = iR0_.NONE return YKHO._update_feature(OvIj.RUN_STATE, MyDQ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ja6o(YKHO):\n return YKHO._env.get_state()", "def QTBn(YKHO) -> XLjY:\n return YKHO._async_scheduler.state", "def ja6o(YKHO):\n return YKHO.env.sim.get_state()", "def c0mt(YKHO):\n return YKHO._current_state", "def c0mt(YKHO):\n return YKHO.game.get_current_state()", "async def read_ru...
[ "0.764026", "0.7608723", "0.7584185", "0.75462747", "0.7546251", "0.75007325", "0.7460319", "0.7442854", "0.74373645", "0.74256086", "0.7414044", "0.73823124", "0.7329727", "0.7314073", "0.72667015", "0.72667015", "0.7257132", "0.7246678", "0.7240237", "0.72148645", "0.717836...
0.0
-1
Return current error message.
def tf1m(YKHO): if not YKHO.is_error: P1dF = iR0_.NONE else: P1dF = YKHO._get_error() return YKHO._update_feature(OvIj.ERROR_MSG, P1dF)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jv0C(YKHO):\n return YKHO.err_message", "def jv0C(YKHO):\n return YKHO.error_message.get_error_message()", "def rhwM(YKHO) -> str:\n return YKHO._error_message", "def rhwM(YKHO) -> str:\n return qe4Y.get(YKHO, 'error_message')", "def rhwM(YKHO) -> str:\n return qe4Y.get(YKHO, 'error_mess...
[ "0.85122126", "0.8404663", "0.83976895", "0.8365827", "0.8365827", "0.8365827", "0.83305883", "0.8288979", "0.82823473", "0.82516134", "0.80052084", "0.80052084", "0.80052084", "0.80052084", "0.80052084", "0.80052084", "0.80052084", "0.7981391", "0.7981391", "0.7942575", "0.7...
0.72023666
41
returns the verbosity level for the application
def PJWX(YKHO): return E6rm.__level
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wp5n(YKHO):\n return YKHO._get('verbosity')", "def wp5n(YKHO):\n return YKHO._verbosity", "def TFgW(YKHO):\n return YKHO.get_raw('logging_verbosity')", "def wp5n(Ty9i):\n assert Ty9i in [0, 1, 2]\n qgI7['VERBOSITY'] = Ty9i", "def TldB():\n try:\n ABDL = Elhn.get('verbosity', 'l...
[ "0.8197492", "0.79568106", "0.76362604", "0.75130254", "0.73579353", "0.733171", "0.72384864", "0.7171709", "0.7098925", "0.70909417", "0.68829465", "0.6838042", "0.660714", "0.65924084", "0.65752625", "0.6525807", "0.6521431", "0.64616066", "0.6394454", "0.6279348", "0.62052...
0.7171638
8
Precision metric. Only computes a batchwise average of precision. Computes the precision, a metric for multilabel classification of how many selected items are relevant.
def rhd_(Y8eF, aMgO): COti = nMvt.sum(nMvt.round(nMvt.clip(Y8eF * aMgO, 0, 1))) ftZB = nMvt.sum(nMvt.round(nMvt.clip(aMgO, 0, 1))) rhd_ = COti / (ftZB + nMvt.epsilon()) return rhd_
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rhd_(YKHO):\n YKHO.overall_precision = Rrc1(YKHO.y_true, YKHO.y_pred, average=YKHO.average_type).round(YKHO.digits_count_fp)\n YKHO.classes_precision = Rrc1(YKHO.y_true, YKHO.y_pred, average=None).round(YKHO.digits_count_fp)", "def lGpo(nPrm, svPB=4):\n gCUM = []\n for KAOR in nPrm:\n RDeU...
[ "0.74906194", "0.7289004", "0.7160026", "0.7153636", "0.70664865", "0.69872606", "0.696703", "0.6955486", "0.6913438", "0.683529", "0.68184656", "0.6810287", "0.68057126", "0.68057126", "0.68057126", "0.68057126", "0.68057126", "0.68057126", "0.67864585", "0.675569", "0.67556...
0.6758343
26
Recall metric. Only computes a batchwise average of recall. Computes the recall, a metric for multilabel classification of how many relevant items are selected.
def AOzf(Y8eF, aMgO): COti = nMvt.sum(nMvt.round(nMvt.clip(Y8eF * aMgO, 0, 1))) z5jX = nMvt.sum(nMvt.round(nMvt.clip(Y8eF, 0, 1))) AOzf = COti / (z5jX + nMvt.epsilon()) return AOzf
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AOzf(Y8eF, aMgO, S8vG, Crrw):\n Y8eF, aMgO = eN6f(Y8eF, aMgO, S8vG, Crrw)\n Aofo = None\n r8hN = len(Y8eF)\n exwG = len(Crrw)\n YsYU = A3YK(Y8eF, aMgO, Crrw).T\n if S8vG == 'micro':\n M6pt = oyIN.trace(YsYU)\n UUZ1 = oyIN.sum(YsYU)\n Aofo = M6pt / UUZ1\n elif S8vG == '...
[ "0.7605249", "0.74491084", "0.7405392", "0.7281231", "0.72096574", "0.716614", "0.71576375", "0.7145557", "0.7145557", "0.7145557", "0.7145557", "0.7145557", "0.7145557", "0.71319014", "0.7101232", "0.70974207", "0.70974207", "0.70974207", "0.70974207", "0.70974207", "0.70974...
0.70628613
42
Basic test case for _GetPortageEnvVar function.
def f4rD(YKHO): EtM5 = YKHO.ConstructStage() iBIi = YKHO._current_board dYym = 'EXAMPLE' x5gf = YKHO.StartPatcher(odBn.RunCommandMock()) x5gf.AddCmdResult(['portageq-%s' % iBIi, 'envvar', dYym], output='RESULT\n') Aofo = EtM5._GetPortageEnvVar(dYym, iBIi) YKHO.assertEqual(Aofo, 'RESULT')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AAKL(YKHO):\n pass", "def yJTJ() -> None:\n Hy7s.environ['TEST'] = 'tester'\n assert Hy7s.getenv('TEST') == 'tester'", "def AxXv(n294, SRYB):\n tTpl = Hy7s.environ.get(SRYB)\n if tTpl is None:\n return n294.w_False\n return n294.newstr(tTpl)", "def yJTJ(H6vb) -> None:\n Aofo =...
[ "0.7136267", "0.6721173", "0.66267234", "0.65088505", "0.6474452", "0.6370629", "0.6335231", "0.6298478", "0.6283475", "0.62627774", "0.6255816", "0.62556237", "0.62448245", "0.62285626", "0.62112993", "0.6185357", "0.61800927", "0.61720765", "0.61714715", "0.6152691", "0.611...
0.80791813
0
Merge other dict with self
def cyBQ(h_vp: dict, Elif: dict) -> dict: for U6D_ in Elif: if h_vp.get(U6D_, None) is None: h_vp[U6D_] = Elif[U6D_] else: raise ValueError('Conflicting kwargs') return h_vp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nSnN(YKHO, Elif: dict):\n YKHO._storage = RSKQ(YKHO._storage, Elif)", "def QdZT(YKHO, Elif):\n W0j7(YKHO, Elif)", "def yQxF(YKHO, WKvO, LVAh):\n epBp = WKvO.copy()\n epBp.update(LVAh)\n return epBp", "def hOKH(WKvO, LVAh):\n epBp = WKvO.copy()\n epBp.update(LVAh)\n return epBp", ...
[ "0.85541844", "0.7914095", "0.77960443", "0.75815874", "0.7570534", "0.7513104", "0.74766093", "0.73298365", "0.72854775", "0.72798103", "0.72626877", "0.7237087", "0.7237087", "0.72219723", "0.7220527", "0.7209097", "0.7209097", "0.7209097", "0.7209097", "0.7209097", "0.7209...
0.7372927
7
This function prints and plots the confusion matrix. Normalization can be applied by setting `normalize=True`.
def LwSz(Bcwd, KndY, NkkI=False, leAC='Confusion matrix', iMGt=QrM1.cm.Blues): if NkkI: Bcwd = Bcwd.astype('float') / Bcwd.sum(axis=1)[:, oyIN.newaxis] print('Normalized confusion matrix') else: print('Confusion matrix, without normalization') print(Bcwd) QrM1.imshow(Bcwd, interp...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LwSz(Bcwd, KndY=[0, 1], NkkI=False, leAC='Confusion matrix', RMso=False):\n if NkkI:\n Bcwd = Bcwd.astype('float') / Bcwd.sum(axis=1)[:, oyIN.newaxis]\n print('Normalized confusion matrix')\n else:\n print('Confusion matrix, without normalization')\n if RMso:\n print(Bcwd)"...
[ "0.8195189", "0.8096179", "0.80311364", "0.80207354", "0.79955184", "0.799279", "0.7982649", "0.7977064", "0.7962826", "0.7958447", "0.7939309", "0.79364014", "0.7936101", "0.7932949", "0.7927847", "0.792615", "0.7925553", "0.79244494", "0.7924244", "0.79234385", "0.79194653"...
0.79085964
24
Get an existing AppServicePlan resource's state with the given name, id, and optional extra properties used to qualify the lookup.
def NMoC(kFeU: str, id: pulumi.Input[str], VKhi: Optional[pulumi.ResourceOptions]=None) -> 'AppServicePlan': VKhi = qe4Y.ResourceOptions.merge(VKhi, qe4Y.ResourceOptions(id=id)) r6DL = dict() r6DL['free_offer_expiration_time'] = None r6DL['geo_region'] = None r6DL['hosting_environment_profile'] = No...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NMoC(kFeU: str, id: pulumi.Input[str], VKhi: Optional[pulumi.ResourceOptions]=None, vMN7: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceAdditionalLocationArgs']]]]]=None, ZmqD: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceCertificateArgs']]]]]=None, bJjk: Optional...
[ "0.57290375", "0.5710548", "0.5656689", "0.5628976", "0.5623351", "0.56181014", "0.560099", "0.5595483", "0.5561368", "0.55420697", "0.55345184", "0.54926866", "0.54758227", "0.5450106", "0.5411644", "0.5382765", "0.5371309", "0.5320858", "0.5299524", "0.5294666", "0.52929103...
0.7191034
0
Geographical location for the App Service plan.
def ZPSf(YKHO) -> qe4Y.Output[str]: return qe4Y.get(YKHO, 'geo_region')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RrRR(YKHO):\n return YKHO.location.name", "def Rci7(YKHO) -> str:\n return qe4Y.get(YKHO, 'location')", "def Rci7(YKHO) -> str:\n return qe4Y.get(YKHO, 'location')", "def Rci7(YKHO) -> str:\n return qe4Y.get(YKHO, 'location')", "def Rci7(YKHO) -> str:\n return qe4Y.get(YKHO, 'location')"...
[ "0.724661", "0.7085838", "0.7085838", "0.7085838", "0.7085838", "0.7085838", "0.7085838", "0.7085838", "0.7085838", "0.7085838", "0.7085838", "0.7085838", "0.7085838", "0.7085838", "0.6978101", "0.69435763", "0.6863276", "0.6806949", "0.6806949", "0.6806949", "0.6798617", "...
0.0
-1
Specification for the App Service Environment to use for the App Service plan.
def XcEw(YKHO) -> qe4Y.Output[h8nf['outputs.HostingEnvironmentProfileResponse']]: return qe4Y.get(YKHO, 'hosting_environment_profile')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kLRF():\n _63S = wk5E.config.get('POD_NAMESPACE').lower()\n if _63S.endswith('dev'):\n return 'DEV'\n if _63S.endswith('test'):\n return 'TEST'\n if _63S.endswith('tools'):\n return 'SANDBOX'\n return ''", "def BrNa(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO...
[ "0.63267326", "0.62592775", "0.6152408", "0.5996348", "0.5969418", "0.5969418", "0.5969418", "0.5901923", "0.5838675", "0.5800287", "0.57192075", "0.5712205", "0.56596595", "0.56596595", "0.5653121", "0.56256473", "0.55968755", "0.5590464", "0.55750215", "0.55750215", "0.5575...
0.0
-1
Maximum number of instances that can be assigned to this App Service plan.
def bjrR(YKHO) -> qe4Y.Output[int]: return qe4Y.get(YKHO, 'maximum_number_of_workers')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o9_U(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'max_instance_count')", "def o9_U(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'max_instance_count')", "def n6mp(YKHO):\n return YKHO.config.get('max_count', 500)", "def BPCH(YKHO) -> h8nf[int]:\n return qe4Y.get(YKHO, 'm...
[ "0.78948367", "0.78948367", "0.70457363", "0.6994073", "0.6918854", "0.6908444", "0.68151224", "0.6798898", "0.6796091", "0.6675283", "0.6660098", "0.66394424", "0.6612029", "0.6554477", "0.65514547", "0.65103114", "0.6498872", "0.6476233", "0.6476233", "0.6476233", "0.647623...
0.6873039
6
Number of apps assigned to this App Service plan.
def K3jt(YKHO) -> qe4Y.Output[int]: return qe4Y.get(YKHO, 'number_of_sites')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ADl9(YKHO):\n bo34.debug('Getting the number of apps discovered...')\n return gFHi(VcOo(\"span[data-nsmodule='totalAppCount']\"))", "def ACMy(YKHO):\n if 'deployedAppCount' in YKHO._prop_dict:\n return YKHO._prop_dict['deployedAppCount']\n else:\n return None", "def RZAI(YKHO):\n ...
[ "0.72554183", "0.71319366", "0.6945194", "0.6725981", "0.6636547", "0.65384436", "0.63", "0.6173378", "0.615106", "0.61007833", "0.6096796", "0.6009178", "0.5995984", "0.5993739", "0.59642744", "0.594903", "0.59157157", "0.5902345", "0.5900447", "0.5898395", "0.58721286", "...
0.5787416
25
If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service plan will scale to all instances of the plan.
def UuZY(YKHO) -> qe4Y.Output[h8nf[bool]]: return qe4Y.get(YKHO, 'per_site_scaling')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NXpY(YKHO, P4t4: Application) -> bool:\n pass", "def NXpY(YKHO, bGrB: Application) -> bool:\n return False", "def Hcz0(YKHO):\n return False", "def NXpY(YKHO, P4t4: Application) -> bool:\n llHi = False\n if YKHO.max_nranks:\n P4t4.mpi_ranks = min(P4t4.mpi_ranks, YKHO.max_nranks)\n ...
[ "0.72969997", "0.7269339", "0.6734259", "0.66752565", "0.66700554", "0.65106124", "0.61596847", "0.6019654", "0.5999613", "0.59901965", "0.59586", "0.59282225", "0.5816758", "0.579915", "0.5798835", "0.5789448", "0.57616717", "0.5669938", "0.5669938", "0.5632145", "0.561097",...
0.58527833
13
Initialise the notification binary_sensor.
def FIMM(YKHO, nNXP, S3vU, mWFP, SjDy, gwLz, C3ST): super().__init__(nNXP, S3vU, mWFP, SjDy, False, gwLz, None, C3ST) YKHO._attributes = {}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OM8D(YKHO):\n YKHO.flush()\n print('Initializing sensor...')\n try:\n YKHO.get_sample()\n print('Initialization successful')\n except:\n print('Initialization failed. Please disconnect and reconnect sensor.')", "def uIcm(YKHO):\n csnt = YKHO.args['watch_tv']\n _AaB = YK...
[ "0.6897996", "0.68686163", "0.66113603", "0.65066206", "0.6491397", "0.6454278", "0.6362223", "0.6361235", "0.63572985", "0.63518715", "0.63193005", "0.6273549", "0.62524164", "0.6229923", "0.6206946", "0.6199336", "0.61901677", "0.61808354", "0.61409384", "0.6128215", "0.611...
0.5698499
78
Return the state attributes.
def R1i3(YKHO): return YKHO._attributes
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def upgy(YKHO):\n return YKHO._attributes", "def upgy(YKHO):\n return YKHO._attributes", "def R1i3(YKHO):\n return YKHO.attributes", "def R1i3(YKHO):\n return YKHO._state_attrs", "def R1i3(YKHO):\n return YKHO._state_attrs", "def R1i3(YKHO):\n return YKHO._attributes", "def upgy(YKHO)...
[ "0.8953404", "0.8953404", "0.85239846", "0.8366765", "0.8366765", "0.8363429", "0.83362615", "0.8334551", "0.8310377", "0.8292682", "0.8289349", "0.8289349", "0.8273077", "0.82236886", "0.8223562", "0.8205066", "0.8184393", "0.81659013", "0.8102565", "0.8064994", "0.8064994",...
0.82871646
20
Return true if the binary_sensor is on.
def Debg(YKHO): return getattr(YKHO._node, xQIC[d3q8][JwK2])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Debg(YKHO):\n return YKHO._sensor_state()", "def Debg(YKHO):\n return getattr(YKHO.coordinator.data[0], YKHO._sensor) is True", "def Debg(YKHO):\n nPrm = YKHO.sensor_data\n if nPrm and nPrm['model'] == 'SML' and nPrm['changed']:\n return nPrm['state'] == _rDc\n return False", "def Y...
[ "0.7884619", "0.7740934", "0.74744123", "0.7355086", "0.711196", "0.7103455", "0.70885575", "0.70885575", "0.70885575", "0.70857835", "0.70182335", "0.70182335", "0.70131624", "0.6916831", "0.6902558", "0.6866156", "0.68592364", "0.68461555", "0.6827404", "0.68255574", "0.681...
0.6812347
21
Gets the instance_group of this InstanceGroupAdjustment. name of the instance group
def F0ay(YKHO): return YKHO._instance_group
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XZ_F(YKHO):\n return YKHO.groupname", "def F0ay(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'instance_group')", "def IXKo(YKHO):\n return YKHO._group_name", "def aiHR(YKHO):\n return YKHO._group", "def IXKo(YKHO) -> str:\n return qe4Y.get(YKHO, 'group_name')", "def uOe2(YKHO) ->...
[ "0.7614599", "0.754568", "0.7523818", "0.7462292", "0.7337843", "0.7278929", "0.7230947", "0.7230947", "0.7230947", "0.72081053", "0.72081053", "0.71454126", "0.7095452", "0.7086733", "0.7055093", "0.7051869", "0.7036893", "0.69629997", "0.69391316", "0.6882258", "0.6882258",...
0.7617951
0
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, C6X2): 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
Test the BSBLan configuration entry unloading.
async def test_unload_config_entry(ajET: HomeAssistant, bFCs: AiohttpClientMocker) -> None: bTKY = await OSs1(ajET, bFCs) assert ajET.data[Sugg] await ajET.config_entries.async_unload(bTKY.entry_id) await ajET.async_block_till_done() assert not ajET.data.get(Sugg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def test_unload_entry(RUgX, IVB5):\n bTKY = await OSs1(RUgX)\n assert len(RUgX.config_entries.async_entries(Sugg)) == 1\n assert bTKY.state is gpxd.LOADED\n assert await RUgX.config_entries.async_unload(bTKY.entry_id)\n await RUgX.async_block_till_done()\n assert bTKY.state is gpxd.NOT_LOAD...
[ "0.7041483", "0.66955966", "0.6618876", "0.653744", "0.6507313", "0.64824146", "0.6479773", "0.64394236", "0.6366993", "0.6290416", "0.6280121", "0.6245817", "0.6207921", "0.61921537", "0.6184587", "0.61777985", "0.61771244", "0.6153141", "0.61505836", "0.61372113", "0.612225...
0.68803066
1
Convert AB magnitude [ABSOLUTE] to restframe luminosity.
def ghV0(YKHO, FOSW, epBp=None, jkoB=None): assert epBp is not None or jkoB is not None if epBp is not None: jkoB = YKHO.cosm.LuminosityDistance(epBp) r8hN = FOSW + 5.0 * (oyIN.log10(jkoB / C3eK) - 1.0) return 10 ** (r8hN / -2.5) * vD0H * 4.0 * oyIN.pi * jkoB ** 2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rQf7(YKHO):\n return round(float(YKHO._value), 1)", "def XuO2(yIvR, EEmv, C29b, kCQP, vvJK):\n FOSW = QAMl(yIvR, EEmv, C29b) + 5.0 * oyIN.log10(kCQP * vvJK)\n return FOSW", "def aUQr(YKHO):\n MKlR, vC9B, KCHu = h478.rgb_to_hls(YKHO.r, YKHO.g, YKHO.b)\n return vC9B", "def DRoy(yIvR, lfmz):\...
[ "0.5966299", "0.59467286", "0.5803559", "0.5785793", "0.5767002", "0.57316047", "0.5709128", "0.5673359", "0.5616612", "0.56047904", "0.5519201", "0.5516444", "0.5513975", "0.54990464", "0.5495292", "0.541064", "0.53913414", "0.53854954", "0.5381503", "0.53592443", "0.5353577...
0.640297
0
Return first observed pair (t, x), still in queue.
def mvm2(YKHO): if YKHO.do_filter: if len(YKHO.t_filtered) > 0: yield (YKHO.t_filtered.popleft(), YKHO.x_filtered.popleft()) else: yield (None, None) elif len(YKHO.t) > 0: yield (YKHO.t.popleft(), YKHO.x.popleft()) else: yield (None, None)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T7C_(YKHO):\n return YKHO._queue[YKHO._start]", "def cntZ(YKHO):\n if YKHO.is_empty():\n raise rWmY('Queue is empty')\n return YKHO._data[YKHO._front]", "def uW34(YKHO):\n VnzS = YKHO.queue[YKHO.front]\n return VnzS\n pass", "def T7C_(YKHO):\n if YKHO.isEmpty():\n raise...
[ "0.62607014", "0.61503196", "0.6140623", "0.612124", "0.60441554", "0.600568", "0.6000461", "0.6000461", "0.59809357", "0.5956261", "0.58923316", "0.58604616", "0.58444226", "0.5832202", "0.58286065", "0.5806295", "0.58058816", "0.5803953", "0.5793435", "0.57870173", "0.57819...
0.0
-1
now = datetime.datetime.now() birth_date = datetime.datetime(year=1991, month=12, day=7, hour=13) delta = now birth_date bd = Event("Birth date", birth_date) age_years = delta.total_seconds()/60/60/365.25/24
def b8V_(): a1PO = o2Vr('Clean Garage') a1PO.datetime_start = qcWV.datetime(2017, 10, 10) a1PO.datetime_end = qcWV.datetime(2018, 5, 12) for G1Hx, Ty9i in a1PO.__dict__.items(): print(G1Hx, Ty9i)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZJe_(YKHO):\n return qcWV.now().year - YKHO.birth_day.year", "def P3fz(qtWj):\n feEG = qcWV.datetime.fromtimestamp(qtWj / 1000)\n wzkt = qcWV.datetime.now()\n ZJe_ = (wzkt - feEG).days / 365\n return ZJe_", "def ZJe_(YKHO):\n yo7_ = _c1T.today()\n Kb0M = qcWV.strptime(YKHO.birt['date']...
[ "0.72155315", "0.6858989", "0.68535894", "0.6696562", "0.66254866", "0.6610578", "0.6495561", "0.64837456", "0.6457723", "0.6439189", "0.640517", "0.63811177", "0.63758624", "0.63030636", "0.6239629", "0.62373155", "0.6222188", "0.62114227", "0.61905265", "0.6164338", "0.6159...
0.0
-1
Creates a sanitized path of both destination directory and filename. This function replaces nonprintable and other characters defined in _DIRTY_CHARACTERS with an underscore "_".
def mSYw(YKHO, _xoC, zCXc, WBd6): k12q = _xoC.GetFileSystem() pmON = getattr(zCXc, u'location', None) Desv = k12q.SplitPath(pmON) for d6pt, EcMP in enumerate(Desv): Desv[d6pt] = u''.join([bseI if bseI not in YKHO._DIRTY_CHARACTERS else u'_' for bseI in EcMP]) return (Hy7s.path.join(WBd6, *De...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vAq2(pmON):\n KzJa = vIwR.digits + vIwR.ascii_letters + vIwR.whitespace\n EESs = ''.join((Z9rn for Z9rn in pmON if Z9rn in KzJa))\n return EESs.replace(' ', '_')", "def DVEk(AGPF, IznC):\n return cWLH.join(bytes(AGPF, encoding='ascii'), cWLH.normpath(b'/' + IznC).lstrip(b'/'))", "def M5LH(zZcM:...
[ "0.6775777", "0.6745234", "0.6449432", "0.6441605", "0.6386014", "0.6355329", "0.6355329", "0.63542557", "0.6328465", "0.630671", "0.6287807", "0.6266574", "0.62636364", "0.6241424", "0.6240826", "0.62348145", "0.61986953", "0.6173473", "0.61657506", "0.6128106", "0.61162317"...
0.6990354
0
Generate batches of data. Given a list of arraylike objects, generate batches of a given size by yielding a list of arraylike objects corresponding to the same slice of each input.
def wBsT(nPrm, Ep8u, hXNa=True): if hXNa: nPrm = iJLJ(nPrm) a6UK = 0 while True: if a6UK * Ep8u + Ep8u >= len(nPrm[0]): a6UK = 0 if hXNa: nPrm = iJLJ(nPrm) yKcO = a6UK * Ep8u Os4s = yKcO + Ep8u a6UK += 1 yield [Csk6[yKcO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rxBt(nPrm, Ep8u):\n nPrm = oyIN.array(nPrm)\n for YRbF in range(0, nPrm.shape[0], Ep8u):\n yield nPrm[YRbF:YRbF + Ep8u]", "def nJ0e(OxJJ, zNig):\n a2Fh = iter(OxJJ)\n while True:\n qmGr = uOgj(a2Fh, zNig)\n yield eNCK([next(qmGr)], qmGr)", "def Wc9F(zNig, OxJJ):\n return...
[ "0.7913559", "0.7735626", "0.75815535", "0.7544984", "0.7544984", "0.7544984", "0.75427717", "0.7540418", "0.7522112", "0.74630684", "0.7429418", "0.73907006", "0.7369802", "0.7312263", "0.7281441", "0.7249911", "0.7216067", "0.72040963", "0.7152612", "0.7140532", "0.71337605...
0.7228953
17
Plot images in a grid of a given shape.
def ayHt(Yw_3, ROpF=[2, 8]): LZpg = QrM1.figure(1) Cs6h = Rn04(LZpg, 111, nrows_ncols=ROpF, axes_pad=0.05) zNig = ROpF[0] * ROpF[1] for YRbF in range(zNig): Cs6h[YRbF].axis('off') Cs6h[YRbF].imshow(Yw_3[YRbF]) QrM1.show()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SXKg(nPrm, Csk6=10, ROpF=(30, 30)):\n kQ4Y()\n ITiw()\n M_NZ()\n for YRbF in range(min(Csk6 * Csk6, len(nPrm))):\n Eb6b(Csk6, Csk6, YRbF + 1)\n rdlD = nPrm[YRbF]\n if ROpF is not None:\n rdlD = rdlD.reshape(ROpF)\n r2sP(rdlD)\n mCIA(1, timeout=0.1)", "def...
[ "0.7484121", "0.74046993", "0.73620325", "0.6860462", "0.684499", "0.67779976", "0.6769338", "0.67463005", "0.67150784", "0.67113155", "0.670916", "0.66835725", "0.661467", "0.66104794", "0.66089", "0.6584181", "0.6518732", "0.65097487", "0.6443745", "0.64390516", "0.6341405"...
0.7639835
1
Assert that a property on the OEM paritition matches allowed values.
def mvWl(YKHO, mWFP, hkxX, YZtx): if not mWFP: raise ValueError('must specify an OEM property') if not hkxX: raise ValueError('must specify the OEM value') if YZtx: wSsK = 'getprop("%s")' % mWFP else: wSsK = 'file_getprop("/oem/oem.prop", "%s")' % mWFP HCmI = '' f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c30J(YKHO):\n WxpZ = YKHO.properties[TaRE]\n for H5ew, BWXx in ZqjF.items():\n YKHO.failUnless(WxpZ.hasProperty(H5ew) and list(WxpZ.getProperty(H5ew)) == BWXx)", "def dEM6(YKHO):\n QWcs = z0e4()\n with YKHO.assertRaises(ValueError):\n QWcs.interpret(HXPI.PROPERTY_SENTINEL, {})", "...
[ "0.6416141", "0.6385663", "0.63321966", "0.6252355", "0.62245715", "0.6182595", "0.61146265", "0.58727515", "0.5868431", "0.58225745", "0.57879716", "0.5777534", "0.57046825", "0.56732374", "0.5632829", "0.5614199", "0.56101924", "0.56025565", "0.55756867", "0.5575597", "0.55...
0.7282858
0
creates some test data in a temporary folder. This function is called automatically before the tests are run.
def Baw8(YKHO): YKHO.dir = gbPf.mkdtemp(YKHO.__name__, dir=Hy7s.getcwd()) if YKHO.dir.startswith('/gpfs/'): YKHO.dir = '/' + YKHO.dir.split('/', 2)[2] vqkU._logger.info('writing test data to folder "%s"', YKHO.dir) Hy7s.makedirs(YKHO.dir + '/dir/subdir1') Hy7s.makedirs(YKHO.dir + '/dir/subdi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vMo6():\n global TEST_DATA_PATH\n KQwf = gbPf.mkstemp()", "def FCbF(YKHO):\n YKHO.tmp = bxBA()", "def FCbF(YKHO):\n YKHO.tmpdir = qf3c()", "def FCbF(YKHO):\n if not LR7z(wXKj):\n Hy7s.mkdir(wXKj)\n YKHO.tearDown()\n Hy7s.mkdir(w74k)\n Hy7s.chdir(rCgP)", "def FCbF(YKHO):\n...
[ "0.82624257", "0.7658081", "0.74822265", "0.7382916", "0.7260009", "0.7250378", "0.71764344", "0.7164233", "0.71398365", "0.71366143", "0.7080097", "0.7060086", "0.7056444", "0.7056444", "0.70551836", "0.7037593", "0.7037565", "0.69585913", "0.6934195", "0.69309133", "0.69309...
0.65483856
66
Shows a single product.
def Lx3t(Eigi, xvl_): QRFO = msfn.by_slug_and_cat(Eigi, xvl_) return TvZl('frontend/product.html', product=QRFO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mbwC(QePW, Mc9N):\n Lx3t = Iofl(msfn, pk=Mc9N)\n QpfX = {'product': Lx3t}\n return _1tc(QePW, 'products/product_detail.html', QpfX)", "def jybv(QePW, Lx3t):\n Lx3t = c0_m.objects.get(product=Lx3t)\n QpfX = {'product': Lx3t}\n return _1tc(QePW, 'products/product_detail.html', QpfX)", "def ...
[ "0.83005804", "0.8247606", "0.8232875", "0.80034554", "0.78125614", "0.780981", "0.734413", "0.7215662", "0.70673805", "0.70370495", "0.70294654", "0.70257854", "0.7005329", "0.6967435", "0.6949782", "0.6931588", "0.69206446", "0.68139", "0.6736751", "0.6719651", "0.67141825"...
0.72669184
7
shows the mean class images on a single plot
def U0xK(laKQ, AaD6=True): LZpg, FgGO = QrM1.subplots(len(laKQ), sharex=True, sharey=True) for H5ew, LZpg in zip(laKQ, range(len(laKQ))): LNo8 = laKQ[H5ew] FgGO[LZpg].imshow(LNo8) if AaD6: QrM1.plot() return (LZpg, FgGO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VaBr(YKHO):\n if YKHO.train_dataset is None:\n YKHO.init_datasets()\n Yw_3, Crrw = next(YKHO.train_dataset)\n QrM1.figure(figsize=(5, 5))\n for exwG in range(min(25, Yw_3.shape[0])):\n aNZO = QrM1.subplot(5, 5, exwG + 1)\n QrM1.imshow(Yw_3[exwG])\n if len(Crrw.shape) == ...
[ "0.6937243", "0.68812406", "0.6740296", "0.66632783", "0.64958906", "0.6475996", "0.6420258", "0.640326", "0.63776517", "0.63432646", "0.619122", "0.614448", "0.61298907", "0.6125381", "0.6118477", "0.61049944", "0.60688937", "0.59758514", "0.59501517", "0.5943565", "0.594116...
0.0
-1
Return a batch of data. When dataset end is reached, start over.
def next(YKHO, Ep8u): if YKHO.batch_id == len(YKHO.data): YKHO.batch_id = 0 J1hN = YKHO.data[YKHO.batch_id:min(YKHO.batch_id + Ep8u, len(YKHO.data))] x1UU = YKHO.labels[YKHO.batch_id:min(YKHO.batch_id + Ep8u, len(YKHO.data))] KH4X = YKHO.seqlen[YKHO.batch_id:min(YKHO.batch_id + Ep8u, len(YKHO.da...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qqmr(__n6, Ep8u, lM6R=False):\n return __n6.batch(batch_size=Ep8u, drop_remainder=lM6R)", "def IWA_(YKHO, DNs0):\n return YKHO.data[(YKHO.start + DNs0) % YKHO.maxlen]", "def IWA_(EcVT, fuBA, dfHy):\n vgXP = 100\n yKcO = dfHy * vgXP % len(fuBA)\n return (EcVT[yKcO:yKcO + vgXP], fuBA[yKcO:yKcO...
[ "0.75088954", "0.7216718", "0.7174731", "0.7077746", "0.7076612", "0.70406866", "0.69428563", "0.6859179", "0.6850791", "0.6730221", "0.669502", "0.6648573", "0.6635658", "0.6623825", "0.66061085", "0.6602157", "0.65850383", "0.657099", "0.65697217", "0.65535486", "0.65219486...
0.65235
21
Return a batch of data. When dataset end is reached, start over.
def next(YKHO, Ep8u): if YKHO.batch_id == len(YKHO.data): YKHO.batch_id = 0 J1hN = YKHO.data[YKHO.batch_id:min(YKHO.batch_id + Ep8u, len(YKHO.data))] x1UU = YKHO.labels[YKHO.batch_id:min(YKHO.batch_id + Ep8u, len(YKHO.data))] KH4X = YKHO.seqlen[YKHO.batch_id:min(YKHO.batch_id + Ep8u, len(YKHO.da...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qqmr(__n6, Ep8u, lM6R=False):\n return __n6.batch(batch_size=Ep8u, drop_remainder=lM6R)", "def IWA_(YKHO, DNs0):\n return YKHO.data[(YKHO.start + DNs0) % YKHO.maxlen]", "def IWA_(EcVT, fuBA, dfHy):\n vgXP = 100\n yKcO = dfHy * vgXP % len(fuBA)\n return (EcVT[yKcO:yKcO + vgXP], fuBA[yKcO:yKcO...
[ "0.750772", "0.72174037", "0.7176143", "0.7077677", "0.70767546", "0.70392084", "0.6941587", "0.68593496", "0.6851331", "0.6730295", "0.6696889", "0.66474146", "0.6635386", "0.6623784", "0.6605644", "0.6602627", "0.65864515", "0.65714574", "0.6571034", "0.6551777", "0.6521244...
0.6524279
20
Add post form should be valid for new user.
def Ez2S(YKHO, Vlx_, oRxS): foZf = b'GIF89a\x01\x00\x01\x00\x00\x00\x00!\xf9\x04\x01\n\x00\x01\x00,\x00\x00\x00\x00\x01\x00\x01\x00\x00\x02\x02L\x01\x00;' nPrm = {'title': 'This is the added title', 'author': oRxS, 'categories': [1, 2], 'overview': 'This is the added overview', 'content': 'This is the added con...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CgNh(QePW):\n if QePW.session.get('id_user') is None:\n QePW.session['res'] = 'Warn'\n yEHD.add_message(QePW, yEHD.WARNING, 'The session has expired')\n return Yd7Q(gxEw('home'))\n L03z = L39s(QePW.POST or None)\n if QePW.method == 'POST':\n if L03z.is_valid():\n ...
[ "0.7758752", "0.7426635", "0.7139664", "0.7111356", "0.7111278", "0.7062138", "0.6995754", "0.6990302", "0.69612545", "0.69040644", "0.6854454", "0.6827446", "0.68178016", "0.6806136", "0.6771159", "0.6727292", "0.67259437", "0.6722513", "0.6715259", "0.662533", "0.6602418", ...
0.71394855
3
Fixture for baked Comment model.
def x99U(YKHO, oRxS, Vlx_): return bAXD.make(jY1u, user=oRxS, post=Vlx_)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FCbF(YKHO):\n YKHO.comment = jY1u()\n YKHO.comment.comment_description = 'This is a test comment'\n YKHO.post = E92T()\n YKHO.post.user = YKHO.create_user()\n YKHO.post.save()\n YKHO.comment.post = YKHO.post\n YKHO.comment.user = YKHO.user\n YKHO.comment.save()", "def OSZO(YKHO):\n ...
[ "0.736787", "0.6774098", "0.667587", "0.65992755", "0.6562571", "0.65589195", "0.65039736", "0.6443268", "0.6426852", "0.63261217", "0.6308769", "0.6302988", "0.62212145", "0.62080127", "0.61963046", "0.6117623", "0.61051434", "0.60783327", "0.6067946", "0.60462135", "0.60462...
0.6026035
21
Should return list of products when user is authenticated with Basic auth
def cqxH(YKHO): MOPg = {'HTTP_AUTHORIZATION': 'Basic ' + WR89.b64encode(b'test:test').decode('ascii')} aEqx = {'count': 2, 'next': None, 'previous': None, 'results': [{'id': YKHO.product_1.id, 'name': YKHO.product_1.name, 'category': YKHO.product_1.category.id, 'created': '2018-12-20T10:15:30Z', 'description': ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C76W(QePW):\n if QePW.method == 'GET':\n jfj6 = msfn.objects.all()\n ZMzz = m1o5(jfj6, many=True)\n return oGir(ZMzz.data, status=jGRS.HTTP_200_OK)\n return oGir(status=jGRS.HTTP_405_METHOD_NOT_ALLOWED)", "def uQsB(dp9S):\n V_D6 = ['id', 'name', 'price', 'barcode', 'active', 'co...
[ "0.73845947", "0.72134966", "0.72012395", "0.7091781", "0.70805347", "0.70736545", "0.7019989", "0.6959495", "0.6955658", "0.69374645", "0.69327396", "0.68803996", "0.6858718", "0.6852992", "0.68261105", "0.6814444", "0.6811382", "0.67910504", "0.67694217", "0.6767503", "0.67...
0.6994506
7
Should return list of products when user is authenticated with Token auth
def U0Em(YKHO): eOtH = _J2v.objects.create(user=YKHO.user_1) MOPg = {'HTTP_AUTHORIZATION': 'Token ' + str(eOtH)} aEqx = {'count': 2, 'next': None, 'previous': None, 'results': [{'id': YKHO.product_1.id, 'name': YKHO.product_1.name, 'category': YKHO.product_1.category.id, 'created': '2018-12-20T10:15:30Z', '...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C76W(QePW):\n P1dF = {'status': False, 'name': None, 'text': None, 'level': None, 'debug': None}\n qoqK, P1dF = K3hO(QePW, P1dF)\n ZMzz = VtUU()\n SR0I = msfn.objects.all()[:qoqK]\n if not SR0I:\n P1dF = {'status': True, 'name': 'No Products', 'text': 'No Products found', 'level': 'Inform...
[ "0.7282902", "0.7235862", "0.7203875", "0.7183432", "0.7156193", "0.7143123", "0.7142645", "0.7124954", "0.7080105", "0.7032852", "0.70188487", "0.69722784", "0.69694805", "0.69249266", "0.6914114", "0.68604624", "0.68529665", "0.6840477", "0.68140876", "0.6807114", "0.679338...
0.6954797
13
Should return 401 when provided APIClient credentials are invalid
def vwcj(YKHO): d4y1 = iJSR.objects.create(name='test', accesskey='a' * 32, secretkey='s' * 32) MOPg = {'secretkey': 'INVALID-SECRETKEY'} geh0 = YKHO.client.get('/api/products/?accesskey={}'.format('INVALID-ACCESSKEY'), **MOPg) aEqx = {'detail': 'Invalid APIClient credentials'} YKHO.assertEqual(geh0...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ceeu(YKHO):\n with i9zE('username', 'password') as x0hE:\n YKHO.setSessionResponse(401)\n with YKHO.assertRaises(yiLL):\n nPrm = x0hE.call(**YKHO.build_parameters)", "def CVnp(YKHO):\n ki28 = JRy7.Configuration(username='FAKE KEY MWAHAHA')\n with YKHO.assertRaises(Exception)...
[ "0.7363557", "0.7223623", "0.72072923", "0.71086425", "0.70149237", "0.70011276", "0.6913864", "0.6909355", "0.6878723", "0.6850469", "0.6850469", "0.6839984", "0.6834164", "0.68291247", "0.6823918", "0.68169403", "0.68118954", "0.67776144", "0.676219", "0.6758526", "0.675790...
0.78211755
0
Should return 403 when trying to retrieve product data with NOT odd id
def EA0E(YKHO): YKHO.assertEqual(YKHO.product_2.id, 2) eOtH = _J2v.objects.create(user=YKHO.user_1) MOPg = {'HTTP_AUTHORIZATION': 'Token ' + str(eOtH)} geh0 = YKHO.client.get('/api/products/{}/'.format(YKHO.product_2.id), **MOPg) aEqx = {'detail': 'You do not have permission to perform this action.'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f2RL(YKHO):\n Lx3t = msfn.objects.all()[0]\n bD7m = '/product/xml/'\n geh0 = YKHO.client.get(bD7m)\n YKHO.failUnlessEqual(geh0.status_code, 401)\n bD7m = '/product/xml/%s/' % Lx3t.item_number\n oGir = YKHO.client.get(bD7m)\n YKHO.failUnlessEqual(geh0.status_code, 401)", "def l0H8(YKHO):\...
[ "0.71695715", "0.68654996", "0.6848436", "0.6736747", "0.6436925", "0.63845617", "0.6355374", "0.6340724", "0.6301647", "0.625949", "0.6238184", "0.62259114", "0.6189167", "0.61871624", "0.61332285", "0.6115308", "0.6067344", "0.6056607", "0.60183525", "0.60042006", "0.599271...
0.7476734
0
Should return 403 when a non admin user tries to create a product
def ZQdB(YKHO): YKHO.assertEqual(msfn.objects.count(), 2) pB3N = {'name': 'New product', 'category': YKHO.category_1.id, 'sku': '11111111', 'description': 'New product description', 'price': 39.99} eOtH = _J2v.objects.create(user=YKHO.user_1) MOPg = {'HTTP_AUTHORIZATION': 'Token ' + str(eOtH)} aEqx ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qexb(YKHO):\n _hkX = YKHO.admin_create_user()\n Amyp = YKHO.attendant_login()\n eOtH = Amyp['token']\n Lx3t = dict(prod_name='NY_denims', category='denims', stock=20, price=150)\n _hkX = YKHO.client.post('/api/v1/products', content_type='application/json', data=qQXR.dumps(Lx3t), headers={'Author...
[ "0.7858901", "0.74386656", "0.71572113", "0.6744433", "0.6705456", "0.6672319", "0.654055", "0.6463193", "0.63810766", "0.637129", "0.63538116", "0.6352268", "0.632451", "0.63050807", "0.62410426", "0.6231317", "0.6225348", "0.6209865", "0.61834675", "0.61495364", "0.61220026...
0.7587683
1
get_data_from_row(x) Helper function to extract data from cells.
def P8hq(WKvO): import re nPrm = [] WKvO = re.findall('<(TD|td)[^>*]+>(.*?)(</(td|TD)>)', WKvO, re.S) for ETu_ in [jbXL[1] for jbXL in WKvO]: if len(ETu_) == 0: nPrm.append(None) continue if re.match('[-]+', ETu_): nPrm.append(None) continu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AMtE(OGYo, rdlD, fvDH):\n rEps = DsrS['cell_value']['datapoints']['row']\n if OGYo.cell(rdlD + rEps, fvDH).value:\n NUEI = rdlD + rEps\n gl_a = rdlD + rEps\n else:\n NUEI = rdlD + (rEps + 1)\n gl_a = rdlD + (rEps + 1)\n AU8u = OGYo.cell(gl_a, fvDH).value\n while AU8u:...
[ "0.6253455", "0.60393095", "0.59488595", "0.58800644", "0.5756069", "0.5740555", "0.57401764", "0.572934", "0.56825244", "0.56747067", "0.5655564", "0.565309", "0.5600345", "0.5594082", "0.55751634", "0.55577815", "0.550283", "0.54898304", "0.54707295", "0.54410183", "0.54348...
0.76344615
0
Ensure boxplot method creates correct boxplot.
def L6Ol(YKHO): hkxX = [37, 48, 30, 53, 3, 83, 19, 71, 90, 16, 19, 7, 11, 43, 43] Aofo = wLS1(hkxX) YKHO.assertEqual(3, Aofo['min_val']) YKHO.assertEqual(17.5, Aofo['q1_val']) YKHO.assertEqual(37, Aofo['mean_val']) YKHO.assertEqual(50.5, Aofo['q3_val']) YKHO.assertEqual(90, Aofo['max_val'])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bvoa(PYiU, xiDN):\n uuEx.boxplot(x=PYiU, y=xiDN, palette='Set2')\n QrM1.show()", "def yEL6(CkYf, eJh7):\n vI3f = QrM1.boxplot([CkYf, eJh7], notch=False, patch_artist=True)\n for FlUN in vI3f['boxes']:\n FlUN.set(color='red')\n FlUN.set(color='blue')\n QrM1.ylabel('coefficient of ...
[ "0.74556", "0.7281648", "0.71461874", "0.68902576", "0.6852831", "0.6843435", "0.68276644", "0.68205494", "0.6737267", "0.66802907", "0.66190803", "0.65740037", "0.65723455", "0.65608275", "0.6543584", "0.654097", "0.65406674", "0.6513018", "0.64843005", "0.64686406", "0.6442...
0.77577245
0
Go back to login page.
def vtpY(YKHO): YKHO.displayUi = Nx2X() YKHO.hide() YKHO.displayUi.show()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CQoQ(YKHO):\n YKHO.displayUi = Nx2X()\n pths.log_out()\n YKHO.hide()\n YKHO.displayUi.show()", "def jzzT(YKHO):\n YKHO.password_entry.hide_password()\n YKHO.pager_frame.change_to_page(qjYe)", "def MgqC(YKHO, bFHT='/'):\n if not QePW.identity:\n IDWD = QePW.environ['repoze.who.lo...
[ "0.76966846", "0.71566474", "0.69595146", "0.69226754", "0.6787304", "0.6757747", "0.67275214", "0.66269314", "0.6587169", "0.65680933", "0.65172803", "0.6432948", "0.6429299", "0.6419182", "0.64125377", "0.64125377", "0.6411985", "0.6393476", "0.63835335", "0.6376773", "0.63...
0.7338138
1
Reset internal stats variables to their initial values.
def SiRx(YKHO): YKHO.pred_classes.clear() YKHO.gold_classes.clear() YKHO.pred_probas.clear() YKHO.gold_probas.clear() YKHO.loss = 0 YKHO.nb_batches = 0 YKHO.prec_rec_f1 = None YKHO.acc = None YKHO.mcc = None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Tf3z(YKHO):\n YKHO.stats.reset()", "def Tf3z(YKHO):\n YKHO.stats.reset()", "def BJld() -> None:\n ifvj['cleaned'] = 0\n ifvj['null'] = 0\n ifvj['unknown'] = 0", "def SiRx(YKHO):\n YKHO.sum_metric = 0.0\n YKHO.num_inst = 0.0\n YKHO.metrics.reset_stats()", "def SiRx(YKHO):\n YK...
[ "0.8119415", "0.8119415", "0.8092611", "0.80221564", "0.79551476", "0.78616405", "0.7858947", "0.7793384", "0.772833", "0.7642302", "0.76413196", "0.7578741", "0.7566325", "0.75635815", "0.756335", "0.75604135", "0.75505936", "0.7537277", "0.75206286", "0.7495109", "0.7489095...
0.7138554
77
String representation of the class instance
def zAg0(YKHO): return str(f'Token({YKHO.type}, {YKHO.value})')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n sovm = vars(YKHO)\n yvT9 = YKHO.__class__.__name__\n for G1Hx, Ty9i in sovm.items():\n if Ty9i > 0:\n yvT9 += ' : ' + str(G1Hx) + ' = ' + str(Ty9i)\n return yvT9", "def wHJl(YKHO):\n pulk = 'class :' + YKHO.__class__.__name__\n for hkS8 in YKHO.__dict__:\n ...
[ "0.8187196", "0.8105794", "0.8012798", "0.8012798", "0.8012798", "0.8012798", "0.8012798", "0.8000445", "0.7990798", "0.7987651", "0.79754084", "0.79545295", "0.79545295", "0.79545295", "0.7945915", "0.79142505", "0.7912164", "0.78745496", "0.78730536", "0.7871885", "0.786324...
0.0
-1
Return a `RequestContext` subclass for a specified request.
def E36L(Emd4, QePW): return type(Emd4.__name__, (Emd4,), {'request': QePW, '__module__': Emd4.__module__})
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xkZp(Emd4, QePW: HttpRequest) -> V_qP:\n return YWvJ(V_qP, Emd4.objects.create(performed_by_id=getattr(QePW.user, 'id', None), context_type='http-request', context={'method': QePW.method, 'path': QePW.path, 'query_params': {H5ew: QePW.GET.getlist(H5ew) for H5ew in QePW.GET}}))", "def ofnU(YKHO, qv1X):\n ...
[ "0.65404594", "0.6459419", "0.64536005", "0.57912415", "0.5646513", "0.5646513", "0.56184983", "0.5587388", "0.5544032", "0.5513704", "0.5512074", "0.54976994", "0.54615515", "0.5432914", "0.5366975", "0.5309852", "0.52400804", "0.5194007", "0.5185652", "0.517897", "0.5162998...
0.7453318
0
Set a fit calibration into the calibration file. data should contain a `fit` key/value formatted according to the cal schema `fit` object. This function will add the fit into the fits list for a given calibration.
async def on_setfitcalibrations(Wswm, nPrm): try: IH2g = [] with open(Hy7s.path.join(oiD0, mdVP)) as eHNT: IH2g = qQXR.load(eHNT) for VLJZ in IH2g: if VLJZ['name'] == nPrm['name']: if VLJZ.get('fits', None) is not None: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KiuE(YKHO, C3P6, mWFP='default'):\n if not hasattr(YKHO, 'fits'):\n YKHO.fits = {}\n YKHO.fits[mWFP] = C3P6\n return", "def WgYu(YKHO, nPrm):\n raise NotImplementedError('To be implemented in sub classes')", "def RiKd(YKHO, Z9pM, nPrm, NHbe=None):\n if Z9pM == 'fcdoc':\n\n def ...
[ "0.7082027", "0.57823944", "0.57547396", "0.5639045", "0.5600142", "0.5560476", "0.5547562", "0.5529404", "0.5500446", "0.5491704", "0.5414475", "0.5353127", "0.53501254", "0.53252864", "0.5321121", "0.5313475", "0.52625626", "0.5235871", "0.5233953", "0.5229926", "0.5229926"...
0.64055306
1
The Y Power Gate YPowGate = {{1, 0}, {0, exp(ipitheta)}} Performs the rotation along Y axis with some global phase shift
def ISvx(YKHO, q7In: Union[int, float], cPnd): YKHO.apply_gate_operation(TSLW.ops.YPowGate(exponent=q7In), cPnd)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cf7b(q7In):\n quY_ = oyIN.cos(q7In)\n _VqN = oyIN.sin(q7In)\n return oyIN.array([[quY_, 0, _VqN], [0, 1, 0], [-_VqN, 0, quY_]])", "def AXDB(YKHO, rVnq=0.0):\n rVnq = Y_1E(rVnq)\n VbYc = [[+YhSR(rVnq), 0, +YUNn(rVnq)], [0, 1, 0], [-YUNn(rVnq), 0, +YhSR(rVnq)]]\n YKHO.rotation_matrix_exp = oy...
[ "0.6477519", "0.6456203", "0.61491597", "0.6132028", "0.6108547", "0.59176177", "0.5794693", "0.5777148", "0.57662255", "0.57642514", "0.57409555", "0.573315", "0.5703519", "0.56733125", "0.563206", "0.56191385", "0.5579036", "0.5577216", "0.55599236", "0.55360854", "0.551034...
0.698677
0
Returns the qasm string of the circuit
def HlrO(YKHO): return pXHv(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zgVE(YKHO):\n TVIj = uS5l(specs=YKHO.QPS_SPECS_NONAMES)\n nzPj = TVIj.get_circuit()\n fYQk = list(TVIj.get_quantum_register_names())\n YKHO.assertEqual(len(fYQk), 1)\n jOpO = TVIj.get_quantum_register(fYQk[0])\n EmnP = list(TVIj.get_classical_register_names())\n YKHO.assertEqual(len(EmnP),...
[ "0.68475837", "0.65476245", "0.6426011", "0.6393123", "0.63454723", "0.6330998", "0.6265832", "0.6171315", "0.5990657", "0.59842426", "0.59749675", "0.58780754", "0.5826766", "0.5823144", "0.5816047", "0.5783323", "0.57714313", "0.57670456", "0.576395", "0.57571524", "0.57455...
0.78283775
0
Sets the version of this GroupModel.
def DpZH(YKHO, DpZH): YKHO._version = DpZH
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DpZH(YKHO, DpZH):\n YKHO._version = DpZH", "def DpZH(YKHO, DpZH):\n YKHO._version = DpZH", "def DpZH(YKHO, DpZH):\n YKHO._version = DpZH", "def DpZH(YKHO, DpZH: int):\n YKHO._version = DpZH", "def DpZH(YKHO, DpZH: str):\n YKHO._version = DpZH", "def DpZH(YKHO, DpZH: str):\n YKHO._ve...
[ "0.6830814", "0.6757423", "0.6757423", "0.662891", "0.65751976", "0.65751976", "0.6549486", "0.62164354", "0.61901075", "0.61757094", "0.6086725", "0.60358244", "0.59905744", "0.5948987", "0.5948987", "0.5948987", "0.594068", "0.5869415", "0.58654255", "0.57721454", "0.576632...
0.6708211
20
Sets the name of this GroupModel.
def mWFP(YKHO, mWFP): if mWFP is not None and len(mWFP) > 255: raise ValueError('Invalid value for `name`, length must be less than or equal to `255`') if mWFP is not None and len(mWFP) < 1: raise ValueError('Invalid value for `name`, length must be greater than or equal to `1`') YKHO._name ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pa5H(YKHO, mWFP):\n YKHO.groupname = mWFP", "def pa5H(YKHO, mWFP):\n NArs = [('groupname', mWFP, 'cdata')]\n YKHO.get(J1jo, 'SetGroupName', NArs)", "def WZrJ(YKHO, mWFP: str):\n YKHO._name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO._name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.name = mWFP"...
[ "0.8214496", "0.7869435", "0.77135277", "0.7711789", "0.77075845", "0.77075845", "0.77075845", "0.77075845", "0.77075845", "0.7663026", "0.7662493", "0.7649865", "0.7639145", "0.7639145", "0.75805247", "0.757948", "0.7531414", "0.7451502", "0.7437939", "0.74193287", "0.741417...
0.0
-1
Sets the providertype of this GroupModel.
def njsG(YKHO, njsG): BbPm = ['external'] if njsG not in BbPm: raise ValueError('Invalid value for `providertype` ({0}), must be one of {1}'.format(njsG, BbPm)) YKHO._providertype = njsG
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JBZt(YKHO, JBZt):\n YKHO._item_group_type = JBZt", "def TG_K(YKHO, AvtT=RqVe):\n YKHO.type = AvtT", "def UVrJ(YKHO, SfI4):\n YKHO.scenes[YKHO.current_scene].set_projection_type(SfI4)", "def TG_K(YKHO, type):\n YKHO.type = type", "def TG_K(YKHO, type):\n YKHO.type = type", "def Ti2p(YKH...
[ "0.6143198", "0.58883405", "0.58339894", "0.56197476", "0.56197476", "0.5588444", "0.5568696", "0.5515527", "0.55023485", "0.5494397", "0.5456374", "0.5401751", "0.53965855", "0.53646356", "0.5336094", "0.5301755", "0.5297561", "0.52783334", "0.5200048", "0.51981777", "0.5192...
0.696661
0