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
Initiate the Chrome driver installed in path
def R_q_(pmON, zlwC=True): xAU6 = lE6K() if zlwC: xAU6.add_argument('-headless') xAU6.add_argument('--lang=en-US') xAU6.add_argument('--disable-gpu') E_qD = cSpz.Chrome(pmON, options=xAU6) return E_qD
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eB7L(YKHO):\n YKHO.driver = cSpz.Chrome(executable_path=JQMo().install())\n return YKHO.driver", "def hlk0(YKHO):\n YKHO.driver = cSpz.Chrome(YKHO.driver_path, chrome_options=YKHO.chop)", "def zZDi() -> cSpz:\n uh1m = lE6K()\n pbVx = '/Users/Alex/Library/Application Support/Google/Chrome/Def...
[ "0.81520736", "0.78919554", "0.7783701", "0.7459573", "0.74500436", "0.7309607", "0.72907245", "0.7262635", "0.7234869", "0.72310424", "0.7164892", "0.71406627", "0.7076094", "0.7022942", "0.6997377", "0.69514436", "0.6919661", "0.6917207", "0.68907875", "0.68836516", "0.6869...
0.6423082
49
Keras Implementation of EEGNet
def wrSL(Ybg9, si_M=59, CUiS=200, xZQk=0.2, e4g3=100, nK5p=8, lWPh=2, Xf5Z=16, CBRV=0.25, O8ZK='Dropout'): if O8ZK == 'SpatialDropout2D': O8ZK = qUci elif O8ZK == 'Dropout': O8ZK = lARV else: raise ValueError('dropoutType must be one of SpatialDropout2D or Dropout, passed as a string...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Tl6N(YpEK=2):\n C3ST = ileL()\n C3ST.add(bdPE.layers.Bidirectional(bdPE.layers.LSTM(units=400), input_shape=(40000, 8)))\n C3ST.add(bdPE.layers.Dropout(0.5))\n C3ST.add(bdPE.layers.BatchNormalization())\n C3ST.add(bdPE.layers.Dense(YpEK, activation='softmax'))\n return C3ST", "def wrSL(Ybg9...
[ "0.765126", "0.7366961", "0.72107655", "0.7042601", "0.69545114", "0.6784152", "0.67155737", "0.6703177", "0.6689954", "0.6665341", "0.6654705", "0.66417813", "0.66331625", "0.65231156", "0.65131617", "0.65060306", "0.64721483", "0.64215344", "0.64215344", "0.64188755", "0.64...
0.74668986
1
Gets an array representation of the class instance.
def BGc_(YKHO, yDqo=XTiz.float64) -> XTiz.ndarray: return XTiz.array([YKHO.DCXSF, YKHO.DCYSF], dtype=yDqo)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qw7D(YKHO):\n return XTiz.array(YKHO)", "def MF4b(YKHO):\n return XTiz.asarray(YKHO)", "def qw7D(YKHO) -> XTiz.ndarray:\n return YKHO._instance.array", "def uzII(YKHO):\n return YKHO.numpy()", "def uzII(YKHO):\n return YKHO.numpy()", "def GvlY(YKHO):\n qw7D = HWEd.factory(YKHO.dataT...
[ "0.7637498", "0.75476545", "0.7530895", "0.7397249", "0.7397249", "0.73521054", "0.7294129", "0.7183506", "0.71663034", "0.71227735", "0.7095143", "0.7066228", "0.70434463", "0.70434463", "0.70434463", "0.70434463", "0.70434463", "0.70018715", "0.69675434", "0.6960148", "0.69...
0.0
-1
Gets an array representation of the class instance.
def BGc_(YKHO, yDqo=XTiz.float64) -> XTiz.ndarray: return XTiz.array([YKHO.AmpX, YKHO.AmpY, YKHO.PhaseY], dtype=yDqo)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qw7D(YKHO):\n return XTiz.array(YKHO)", "def MF4b(YKHO):\n return XTiz.asarray(YKHO)", "def qw7D(YKHO) -> XTiz.ndarray:\n return YKHO._instance.array", "def uzII(YKHO):\n return YKHO.numpy()", "def uzII(YKHO):\n return YKHO.numpy()", "def GvlY(YKHO):\n qw7D = HWEd.factory(YKHO.dataT...
[ "0.7637498", "0.75476545", "0.7530895", "0.7397249", "0.7397249", "0.73521054", "0.7294129", "0.7183506", "0.71663034", "0.71227735", "0.7095143", "0.7066228", "0.70434463", "0.70434463", "0.70434463", "0.70434463", "0.70434463", "0.70018715", "0.69675434", "0.6960148", "0.69...
0.60863906
90
This default evaluation function just returns the score of the state. The score is the same one displayed in the Pacman GUI. This evaluation function is meant for use with adversarial search agents (not reflex agents).
def fHT3(rfNN): return rfNN.getScore()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fHT3(Ov5A):\n return Ov5A.getScore()", "def fHT3(Ov5A):\n return Ov5A.getScore()", "def fHT3(Ov5A):\n return Ov5A.getScore()", "def b7La(YKHO, QTBn):\n iBIi, oyg0, YPaw = QTBn\n return phK_(oyg0, iBIi)", "def fHT3(rfNN):\n return rfNN.getScore()", "def fHT3(rfNN: GameState):\n re...
[ "0.80755323", "0.80545634", "0.80545634", "0.7937709", "0.76790416", "0.7662605", "0.7644456", "0.76354444", "0.75949806", "0.75949806", "0.75949806", "0.75949806", "0.75949806", "0.75949806", "0.75949806", "0.75949806", "0.75949806", "0.75949806", "0.75034964", "0.7490435", ...
0.7555106
31
This function renders the homepage and lists the current collections held.
def vja_(): w2B8 = iHv3.connect(mDZH) N1p7 = w2B8.cursor() N1p7.execute('SELECT DISTINCT collection FROM {} '.format(V0AZ)) phNV = [iDlk[0] for iDlk in N1p7.fetchall()] w2B8.commit() w2B8.close() return TvZl('index.html', collects_present=phNV)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy():\n cepN = qzs1.find().sort('_id', -1)\n return TvZl('pages/home.html', stories=cepN)", "def kZiy():\n DumB = qm8v.db.items.find().sort('_id', -1).limit(10)\n return TvZl('home.html', items=DumB)", "def PJpd():\n LeZt = list(qm8v.db.categories.find())\n kSgn = g6Dz()\n return TvZ...
[ "0.7749579", "0.7553863", "0.7414099", "0.727943", "0.7254128", "0.7235348", "0.7224395", "0.71846765", "0.7120129", "0.70947397", "0.7082912", "0.70678914", "0.706134", "0.70592624", "0.7038093", "0.70038056", "0.6964082", "0.6951979", "0.6945586", "0.6930078", "0.68733144",...
0.79408973
0
Store this Library object in a pickle binary file.
def jIin(YKHO, Ux0P='mgxs', AGPF='mgxs'): jbYn.check_type('filename', Ux0P, str) jbYn.check_type('directory', AGPF, str) if not Hy7s.path.exists(AGPF): Hy7s.makedirs(AGPF) Vpak = Hy7s.path.join(AGPF, '{}.pkl'.format(Ux0P)) Vpak = Vpak.replace(' ', '-') with open(Vpak, 'wb') as eHNT: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ocif(YKHO):\n return t2lc.dumps(YKHO)", "def RSLV(YKHO):\n with open(YKHO.pickle_file, 'wb') as eHNT:\n t2lc.dump(YKHO, eHNT)", "def VUF1(YKHO, pmON):\n t2lc.dump(YKHO, open(pmON, 'wb'))", "def k7Qm(YKHO, Ux0P):\n with open(Ux0P, 'wb') as eHNT:\n t2lc.dump(YKHO, eHNT)", "def k...
[ "0.8038829", "0.78978664", "0.7671045", "0.76030576", "0.76030576", "0.7485754", "0.7447095", "0.7445585", "0.7438357", "0.74236166", "0.7377552", "0.7368049", "0.7308864", "0.72594225", "0.7259333", "0.72434527", "0.7242869", "0.7240448", "0.7225229", "0.7212738", "0.7191977...
0.6802505
95
Batch normalization has little benefit to RNN
def NWdm(): C3ST = bdPE.models.Sequential([bdPE.layers.SimpleRNN(20, return_sequences=True, input_shape=[None, 1]), bdPE.layers.BatchNormalization(), bdPE.layers.SimpleRNN(20, return_sequences=True), bdPE.layers.BatchNormalization(), bdPE.layers.TimeDistributed(bdPE.layers.Dense(10))]) return C3ST
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def idFg(CK9p):\n return ZylS.layers.batch_normalization(CK9p)", "def lS53(CK9p):\n assert len(CK9p.get_shape()) == 4\n yphq = CK9p.get_shape().as_list()\n JBMS, SRYB = ZylS.nn.moments(CK9p, axes=[0, 1, 2])\n tYiq = yphq[3]\n vgXP = ZylS.Variable(ZylS.zeros([tYiq]))\n NXpY = ZylS.Variable(Zy...
[ "0.7225102", "0.7122901", "0.7024636", "0.7015466", "0.70110065", "0.69924676", "0.69806945", "0.6961729", "0.6961402", "0.6944274", "0.691396", "0.68965566", "0.6893163", "0.68922377", "0.68850183", "0.68582773", "0.6851266", "0.68264353", "0.68235856", "0.68034935", "0.6803...
0.69978637
5
Returns a set of elements that appear more than once in the input iterable
def xFUr(UqER: Iterable) -> fHNa: KCHu = set() return set((U6D_ for U6D_ in UqER if U6D_ in KCHu or KCHu.add(U6D_)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V3Ok(i8WE: Collection[T]) -> wFpA[Kt_s]:\n r8hN = Xnvj(i8WE)\n return frozenset({a1PO for a1PO in i8WE if r8hN[a1PO] > 1})", "def crpa(OxJJ):\n return [G1Hx for G1Hx, Ty9i in mBkc(OxJJ).items() if Ty9i > 1]", "def LFwI(OxJJ):\n A6b2 = set()\n Aofo = []\n for YRbF in OxJJ:\n if YRbF...
[ "0.7962025", "0.7955091", "0.7759704", "0.7613988", "0.75371087", "0.7440308", "0.74169886", "0.7387107", "0.72888654", "0.72879845", "0.7179528", "0.71569026", "0.7109593", "0.7048122", "0.699919", "0.68973523", "0.68910486", "0.68746006", "0.68505543", "0.6817197", "0.68171...
0.7858685
2
Helper function that returns a replacement value if the value is an empty string
def QdMo(wEf2: str, m1Oc): if wEf2 == '': return m1Oc else: return wEf2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LRd4(BWXx):\n if isinstance(BWXx, jKi7.string_types) and (not BWXx.strip()):\n return Chbo\n return BWXx", "def YYHj(BWXx: str) -> str or None:\n return None if BWXx == '' else BWXx", "def vhlU(wEf2):\n if wEf2 is None:\n return ''\n else:\n return wEf2", "def BSOK(BWX...
[ "0.7757696", "0.7484669", "0.7385154", "0.7218564", "0.70880187", "0.70880187", "0.6919593", "0.68698066", "0.6836156", "0.6771122", "0.67118114", "0.67117244", "0.668278", "0.6622953", "0.6615437", "0.65606976", "0.6546371", "0.6532841", "0.6417668", "0.63629156", "0.6298867...
0.8897845
0
This function given a string of coma separated values will return a tuple with each value the values will be stripped. If the input is '', the result is an empty tuple
def oqeS(wEf2: str) -> uLKX[AzJI[()], AzJI[str]]: if wEf2 == '': return () else: return tuple([D3do.strip() for D3do in wEf2.split(',')])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sZhl(hkxX):\n return tuple([wEf2 for wEf2 in hkxX if wEf2])", "def PiME(BWXx):\n BWXx = BWXx.strip().replace(',', ' ').replace('x', ' ')\n return tuple((plSv(aETf) for aETf in BWXx.split()))", "def D08d(str):\n lv1I = str.strip().strip('(').strip(')').split()\n return (lv1I[0].lower(), lv1I[...
[ "0.75389874", "0.6985114", "0.6745402", "0.6713655", "0.6615859", "0.6614626", "0.6581929", "0.65614974", "0.6434809", "0.6373134", "0.63709354", "0.63617164", "0.63526833", "0.632894", "0.632894", "0.63103354", "0.6308255", "0.62739986", "0.6244555", "0.61947805", "0.6188081...
0.77647865
0
Return a queryset of all LocationCalendar instances for the location.
def JZAR(YKHO, Rci7): return Rci7.location_calendars.all().order_by('order')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k66M(YKHO):\n return _JMH.objects", "def kJLQ(YKHO):\n Pe9W = 'SELECT location_id, location_name, location_type\\n FROM location;\\n '\n usx6 = YKHO.select(Pe9W)\n return usx6", "def k66M(YKHO):\n return _JMH.objects.order_by('location_name')", "def FqV2():\n return JJG5('...
[ "0.6389961", "0.6114844", "0.6002179", "0.5897287", "0.5842616", "0.5818804", "0.57159054", "0.57059443", "0.5666657", "0.5596182", "0.5553925", "0.55342567", "0.55211604", "0.5471534", "0.54467535", "0.536341", "0.53558767", "0.53451717", "0.5343031", "0.53427595", "0.532626...
0.80112034
0
Return an API Gateway compatible response.
def jxeo(**_hkX): return {'body': qQXR.dumps(_hkX)}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def St3z(YKHO):\n geh0 = dict(YKHO.payload or ())\n geh0['message'] = YKHO._message\n Q4jK = pz3A(geh0)\n Q4jK.status_code = YKHO.STATUS_CODE\n return Q4jK", "def geh0(YKHO):\n geh0 = pz3A(YKHO.json())\n geh0.status_code = YKHO.status\n return geh0", "def Yxsy(YKHO):\n return ['xxx']...
[ "0.6914009", "0.6610078", "0.6573111", "0.6567509", "0.6485682", "0.6478272", "0.6445846", "0.6416631", "0.64137805", "0.6406048", "0.63743967", "0.63479555", "0.6341981", "0.63226146", "0.6300054", "0.6290796", "0.628768", "0.6278785", "0.6277515", "0.6271858", "0.6270913", ...
0.0
-1
Build a Slack message informing about a new member.
def nIK2(pB3N): gPn2 = pB3N['user']['name'] adAT = pB3N['user']['url'] jpuF = pB3N['organization']['name'] fpzk = pB3N['organization']['url'] Ol8d = 'Say hi! <{}|{}> just joined the <{}|{}> organization.' Ol8d = Ol8d.format(adAT, gPn2, fpzk, jpuF) CS4K = [{'fallback': Ol8d, 'color': 'good', ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DmsU():\n cHyp = bi8s.current_user.id\n VXNS = usTZ.member_dict_from_request(WsL5.request, cHyp, 'join')\n J13P = usTZ.join_or_renew_member_from_dict(VXNS)\n if J13P == 'join':\n usTZ.enqueue_task('/tasks/new-member-mail', VXNS)\n return f'success: {J13P}'", "def VXNS():\n BF3y = usT...
[ "0.68681604", "0.6793279", "0.67890656", "0.65853924", "0.656261", "0.6546481", "0.6524206", "0.64451545", "0.6440991", "0.6422061", "0.6364072", "0.6221006", "0.6141129", "0.60828996", "0.6082785", "0.60348284", "0.60270196", "0.6006094", "0.5998618", "0.5983477", "0.5965953...
0.59760344
20
Generate new axes for a matplotlib axes based on the collections present.
def eyUh(MPlV, DuZT=20): nPrm = oyIN.vstack([ZfUD.get_offsets() for ZfUD in MPlV.collections if isinstance(ZfUD, T8Sh)]) if nPrm.size == 0: return (None, None) nPrm = nPrm.reshape(-1, 2) WKvO, LVAh = (nPrm[:, 0], nPrm[:, 1]) fKT4 = oyIN.isfinite(WKvO * LVAh) WKvO, LVAh = (WKvO[fKT4], LVA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lBOQ(YKHO, LZpg, usx6=1, ZLJ_=1, QJG3=1):\n aNZO = LZpg.add_subplot(usx6, ZLJ_, QJG3)\n return aNZO", "def nIu0(aNZO, KndY, SppC, leAC, iMGt, fJgQ, MlQM):\n aNZO.set_title(leAC)\n FBNX = list(range(len(KndY)))\n if MlQM == 'seaborn':\n FBNX = list(map(lambda WKvO: WKvO + 0.5, FBNX))\n ...
[ "0.6891222", "0.66670847", "0.6577943", "0.65592855", "0.653947", "0.6493565", "0.64842004", "0.64518565", "0.6436051", "0.6436051", "0.6426219", "0.64003015", "0.6388548", "0.63769966", "0.6344383", "0.632103", "0.6306392", "0.63007605", "0.6282362", "0.6261797", "0.62549734...
0.0
-1
Gets the inode number of this inode.
def FGW3(YKHO): return YKHO._num
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PxYt(YKHO, pmON):\n return Hy7s.stat(YKHO.check_path(pmON)).st_ino", "def H4uY(YKHO):\n if TDyh:\n raise NotImplementedError\n aevO = YKHO.statinfo\n if not aevO:\n YKHO.restat()\n aevO = YKHO.statinfo\n return aevO.st_ino", "def bsvS(YKHO, pmON):\n if not pmON:\n ...
[ "0.8493128", "0.8213994", "0.74949694", "0.7171391", "0.702869", "0.702869", "0.702869", "0.702869", "0.702869", "0.702869", "0.69498074", "0.6738904", "0.6630904", "0.6625592", "0.6382247", "0.6382247", "0.635151", "0.63493764", "0.63443255", "0.6332256", "0.63069135", "0....
0.0
-1
Gets the time this inode was created.
def Jf0X(YKHO): return YKHO._timeCreated
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wqpv(YKHO) -> int:\n return YKHO._metadata.created_time", "def IWVZ(YKHO):\n return YKHO.__created_time", "def IWVZ(YKHO):\n return YKHO.__created_time", "def IWVZ(YKHO):\n return YKHO._created", "def wqpv(YKHO) -> str:\n return qe4Y.get(YKHO, 'created_time')", "def wqpv(YKHO) -> str:\...
[ "0.8348368", "0.8303269", "0.8303269", "0.8246513", "0.8210883", "0.8210883", "0.8210883", "0.8210883", "0.8210883", "0.8210883", "0.8210883", "0.8137984", "0.8137984", "0.8137984", "0.8137984", "0.8137984", "0.8137984", "0.81069833", "0.81069833", "0.81069833", "0.81069833",...
0.0
-1
Gets the time the inode was deleted.
def omvG(YKHO): return YKHO._timeDeleted
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MIoL(YKHO) -> str:\n return qe4Y.get(YKHO, 'deletion_time')", "def Yq1m(YKHO) -> str:\n return qe4Y.get(YKHO, 'delete_time')", "def Yq1m(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'delete_time')", "def Yq1m(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'delete_time')", "def Q1B...
[ "0.8174452", "0.7425339", "0.70844513", "0.70844513", "0.70163405", "0.69643897", "0.6928189", "0.66004956", "0.64290994", "0.64290994", "0.63573676", "0.6299108", "0.62969905", "0.6094425", "0.60761154", "0.6063697", "0.6063697", "0.60586053", "0.6035518", "0.6033576", "0.59...
0.7670624
1
Gets the gid of the inode's owner.
def Bnkd(YKHO): return YKHO._gid
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xzTG(YKHO, pmON):\n return Hy7s.stat(YKHO.check_path(pmON)).st_gid", "def Bnkd(YKHO):\n return int(YKHO._user_dict['id'])", "def Bnkd(YKHO):\n return YKHO._user_dict['id']", "def Bnkd(YKHO):\n return YKHO._gid", "def Bnkd(YKHO):\n return YKHO._gid", "def Bnkd(YKHO):\n return YKHO._g...
[ "0.7527521", "0.7112131", "0.7109048", "0.69519615", "0.69519615", "0.6829588", "0.6827753", "0.6820639", "0.6681153", "0.64930016", "0.6463266", "0.6368798", "0.63430905", "0.6156139", "0.6155314", "0.6141286", "0.6139784", "0.6138263", "0.6114965", "0.609315", "0.6051244", ...
0.68602335
5
Frees this inode so that it can be reused. All referenced blocks should be freed before calling.
def ftQ2(YKHO): exjw = (YKHO.number - 1) % YKHO._superblock.numInodesPerGroup lGiX = exjw / 8 ZjOT = exjw % 8 YB8B = MZ6z('B', YKHO._fs._readBlock(YKHO._bgdtEntry.inodeBitmapLocation, lGiX, 1))[0] YKHO._fs._writeToBlock(YKHO._bgdtEntry.inodeBitmapLocation, lGiX, tMMy('B', int(YB8B) & ~(1 << ZjOT))) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ftQ2(YKHO):\n pass", "def fFx9(YKHO):\n YKHO.free()", "def LjTE(YKHO):\n pass", "def X7An(YKHO):\n raise Exception('Not implemented yet')", "def i9rH(YKHO, YRbF):\n YKHO.windows[YRbF] = None\n YKHO.blk = None\n gigf.collect()", "def fFx9(YKHO):\n if YKHO._ami_mem_handle:\n ...
[ "0.6530868", "0.64570904", "0.6251341", "0.6212416", "0.61696714", "0.6145287", "0.6124868", "0.609167", "0.6057472", "0.6026445", "0.60203284", "0.6008568", "0.5976858", "0.59708124", "0.59339726", "0.5911523", "0.5902953", "0.58960444", "0.58804506", "0.5867057", "0.5856829...
0.65613323
0
Iterator over annotated differential expression targets.
def IZ5S(IznC): with open(IznC) as kP8s: N5Pj = m6_J.reader(kP8s, dialect='excel-tab') N5Pj.next() for SQ3m in N5Pj: pan_ = SQ3m[0] lJZH = SQ3m[5] o8Kj = SQ3m[6:] yield (lJZH, pan_, o8Kj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ADpl(Q6kx):\n if isinstance(Q6kx.target, jZ4I.Name):\n return [Q6kx.target.id]\n assert isinstance(Q6kx.target, jZ4I.Tuple)\n return [mWFP.id for mWFP in Q6kx.target.elts]", "def ISX5(YKHO):\n N1p7 = YKHO.connection.cursor()\n Pe9W = '\\n SELECT se.id, se.classname, se.entityname...
[ "0.6329362", "0.63102245", "0.57912886", "0.57027346", "0.5605494", "0.5584905", "0.55565614", "0.55524874", "0.5535534", "0.55325794", "0.55295044", "0.5492681", "0.54540503", "0.54540503", "0.54540503", "0.54506606", "0.5450547", "0.5440488", "0.54338753", "0.54212254", "0....
0.0
-1
Check to see if a table called 'name' exists in the database.
def n2Bh(YKHO, mWFP): exwG = FfT0._sanitize(YKHO._tName(mWFP)) xDcj = "SELECT `name` FROM `sqlite_master` WHERE `type`='table' AND `name`={0};".format(exwG) FfT0.raw(xDcj) Mkmy = FfT0.cursor.fetchall() UHFx = len(Mkmy) return UHFx != 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def n2Bh(YKHO, mWFP):\n mWFP = mWFP.lower()\n vexM = YKHO.format('SELECT table_name FROM information_schema.tables WHERE table_schema = %s AND table_name = %s', None, (YKHO.schema_name, mWFP))\n return YKHO.has_results(vexM)", "def n2Bh(YKHO, mWFP):\n xDcj = \"\\n IF OBJECT_ID('{name:s}', ...
[ "0.89154536", "0.87537307", "0.86655235", "0.8511223", "0.84229726", "0.83901894", "0.83823043", "0.8349356", "0.83043605", "0.82997644", "0.8267602", "0.8213615", "0.8207777", "0.8199471", "0.814149", "0.8121454", "0.809295", "0.8092283", "0.8085347", "0.8073591", "0.8042387...
0.8968097
0
Initialize the score board with the given capacity All entries are initially None
def FIMM(YKHO, b7hB=10): YKHO._board = [None] * b7hB YKHO._n = 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, b7hB: int=8) -> None:\n YKHO.capacity = b7hB\n YKHO.size = 0\n YKHO.table = [None] * b7hB\n YRbF = 0\n while H8Ru.primes[YRbF] <= YKHO.capacity:\n YRbF += 1\n YKHO.prime_index = YRbF - 1", "def FIMM(YKHO, b7hB: int):\n YKHO.capacity = b7hB", "def FIMM(YKHO, b7hB: int)...
[ "0.69804585", "0.6946564", "0.69307184", "0.69020236", "0.68965113", "0.68602705", "0.6853732", "0.68122315", "0.67914546", "0.6761844", "0.6688663", "0.6660153", "0.6658811", "0.6644896", "0.6560941", "0.65451074", "0.65254015", "0.6468231", "0.6465173", "0.6465173", "0.6446...
0.8280577
0
Return the entry at index k
def OP2O(YKHO, G1Hx): return YKHO._board[G1Hx]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _QSz(YKHO, G1Hx):\n if YKHO._A[G1Hx]:\n return YKHO._A[G1Hx]\n raise IndexError('index out of bound')", "def ukG7(YKHO, G1Hx):\n kMLo = YKHO.head\n YRbF = 0\n while YRbF <= G1Hx - 1:\n kMLo = kMLo.next_node\n YRbF += 1\n ZWky = kMLo.data\n return ZWky", "def NMoC(Y...
[ "0.7763215", "0.7614469", "0.76111895", "0.75721586", "0.74540186", "0.74095106", "0.7391448", "0.7319686", "0.72992593", "0.729068", "0.7276452", "0.72683996", "0.7243453", "0.72169703", "0.717344", "0.71449476", "0.71348715", "0.7071405", "0.7001122", "0.6984452", "0.696283...
0.6731659
32
Add a stream handler for the given name and level to the logging module. By default, this logs all pypi_name_hog messages to ``stdout``.
def GG5J(mWFP='pypi_name_hog', ABDL=G9jH.DEBUG, sI3h=None): oTZi = G9jH.getLogger(mWFP).handlers for DCgT in oTZi: G9jH.getLogger(mWFP).removeHandler(DCgT) if sI3h is None: sI3h = '%(asctime)s %(name)s [%(levelname)s] %(message)s' bo34.setLevel(ABDL) DCgT = G9jH.StreamHandler() D...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HxRt(YKHO, mWFP: Optional[str]='sh', uaPq: Optional[str]=None, ABDL: Optional[int]=None) -> None:\n YKHO.remove_handler_by_name(mWFP)\n uaPq = uaPq or YKHO._formatter\n lWrn = G9jH.StreamHandler()\n lWrn.set_name(mWFP)\n lWrn.setFormatter(uaPq)\n lWrn.setLevel(YKHO.log_level(ABDL))\n YKHO....
[ "0.74429286", "0.71099305", "0.7054103", "0.6868276", "0.67056006", "0.6643769", "0.664212", "0.66242117", "0.6547943", "0.6535608", "0.64951324", "0.64384335", "0.6407235", "0.6406121", "0.6403773", "0.63759845", "0.63705105", "0.63546765", "0.6340438", "0.6324993", "0.63175...
0.74035925
1
Retrieves the ExplorationStatsModel for the old exp_version and makes any required changes to the structure of the model. Then, a new
def ZFud(PcbQ: str, qZpS: int, MsVA: List[str], xq0L: Optional[exp_domain.ExplorationVersionsDiff], By_C: Optional[int]) -> KW7S.ExplorationStats: BGxK = None Z3o7 = qZpS - 1 Nab8 = qZpS A_vN = TI4B(PcbQ, Z3o7) if A_vN is None: return Ut9H(PcbQ, Nab8, MsVA) if By_C: BGxK = TI4B(P...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sXlf(qZpS: int, xq0L: Optional[exp_domain.ExplorationVersionsDiff], ZiW0: stats_domain.ExplorationStats, xssg: Optional[stats_domain.ExplorationStats], By_C: Optional[int]) -> KW7S.ExplorationStats:\n if By_C:\n if xssg:\n ZiW0.num_starts_v2 = xssg.num_starts_v2\n ZiW0.num_actua...
[ "0.7278284", "0.67041755", "0.6535653", "0.6269778", "0.6262931", "0.6021637", "0.5980897", "0.59612113", "0.591247", "0.57652783", "0.56879795", "0.55863756", "0.5451086", "0.5424733", "0.5419361", "0.5413945", "0.5323493", "0.5256392", "0.52163184", "0.5192285", "0.5183716"...
0.7197376
1
Returns the unique exploration issue model expected to own the given playthrough. If it does not exist yet, then it will be created.
def gpfS(W2c5: stats_domain.Playthrough, RpkJ: stats_domain.ExplorationIssues, YJ3E: int) -> KW7S.ExplorationIssue: for rfQU in RpkJ.unresolved_issues: if rfQU.issue_type == W2c5.issue_type: CW7s = rfQU.issue_customization_args Ls9f = vg4R.CUSTOMIZATION_ARG_WHICH_IDENTIFIES_ISSUE[rfQ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RsfM(YKHO, W2c5):\n lRN0 = YKHO._find_matching_issue_in_exp_issues(W2c5)\n if lRN0 is not None:\n rfQU = YKHO.current_exp_issues.unresolved_issues[lRN0]\n if len(rfQU.playthrough_ids) < vg4R.MAX_PLAYTHROUGHS_FOR_ISSUE:\n xASv = [XeOP.to_dict() for XeOP in W2c5.actions]\n ...
[ "0.6815633", "0.599074", "0.58555764", "0.58458227", "0.5803775", "0.5737615", "0.5232993", "0.5174886", "0.51047367", "0.48874292", "0.48351234", "0.48344776", "0.47627994", "0.47627437", "0.47566962", "0.47444427", "0.4742813", "0.47347027", "0.47077858", "0.46960044", "0.4...
0.64108896
1
Gets a PlaythroughModel domain object from a PlaythroughModel instance.
def wBJ6(rjpa: stats_models.PlaythroughModel) -> KW7S.Playthrough: xASv = [] for dHhE in rjpa.actions: A7QY(dHhE) xASv.append(KW7S.LearnerAction.from_dict(dHhE)) return KW7S.Playthrough(rjpa.exp_id, rjpa.exp_version, rjpa.issue_type, rjpa.issue_customization_args, xASv)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YrZb(YKHO, C3ST):\n return YKHO.pipe[C3ST]['model']", "def nym8(YKHO, _yCA):\n if YKHO.pydantic_model is None:\n try:\n return getattr(_yCA, f'get_{YKHO.name}_pydantic_model')()\n except AttributeError as error:\n raise oZAE(bGrB(f\"A pydantic model is missing for th...
[ "0.6346439", "0.62516737", "0.62202203", "0.6184519", "0.61587757", "0.604102", "0.6013287", "0.599789", "0.5952793", "0.5952793", "0.5918609", "0.589615", "0.58738554", "0.5867445", "0.5855413", "0.5849787", "0.5849787", "0.5849787", "0.5849787", "0.5849787", "0.5849787", ...
0.6917286
0
Optimally record a group of answers using an already loaded exploration. The submitted_answer_list is a list of SubmittedAnswer domain objects.
def TJsP(RjQS: str, bY77: int, rlcK: str, uW24: str, nnZR: List[stats_domain.SubmittedAnswer]) -> None: gTmr = KW7S.StateAnswers(RjQS, bY77, rlcK, uW24, nnZR) for MggJ in nnZR: MggJ.validate() WDIv.StateAnswersModel.insert_submitted_answers(gTmr.exploration_id, gTmr.exploration_version, gTmr.state_n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def thda(RjQS: str, bY77: int, rlcK: str, uW24: str, MggJ: stats_domain.SubmittedAnswer) -> None:\n TJsP(RjQS, bY77, rlcK, uW24, [MggJ])", "def F2Qp(Emd4, CBIr, mzAD):\n Ny4u = Emd4.objects.get(user=CBIr)\n frQ6 = []\n\n def AvYw(WKvO):\n JVBp, ANfV = WKvO\n frQ6.append(AUZ8(voter=Ny4u,...
[ "0.6626949", "0.59104604", "0.57697445", "0.5551266", "0.5514499", "0.5496008", "0.532457", "0.5308285", "0.5303406", "0.5296029", "0.5263345", "0.5201238", "0.5193273", "0.51519364", "0.51213205", "0.50985116", "0.5092139", "0.5078337", "0.5062434", "0.505488", "0.50465", ...
0.77279264
0
Creates a new model instance from the given LearnerAnswerDetails domain object.
def PXBa(McKP: stats_domain.LearnerAnswerDetails) -> None: WDIv.LearnerAnswerDetailsModel.create_model_instance(McKP.entity_type, McKP.state_reference, McKP.interaction_id, McKP.learner_answer_info_list, McKP.learner_answer_info_schema_version, McKP.accumulated_answer_info_json_size_bytes)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TfSQ(uU90: stats_models.LearnerAnswerDetailsModel) -> h8nf[KW7S.LearnerAnswerDetails]:\n return KW7S.LearnerAnswerDetails(uU90.state_reference, uU90.entity_type, uU90.interaction_id, [KW7S.LearnerAnswerInfo.from_dict(AbJz) for AbJz in uU90.learner_answer_info_list], uU90.learner_answer_info_schema_version, ...
[ "0.628838", "0.59520936", "0.5907022", "0.5666576", "0.5369956", "0.532299", "0.5272834", "0.5262438", "0.5232296", "0.5194241", "0.51461697", "0.5045244", "0.5027154", "0.50209975", "0.5020957", "0.4984696", "0.49698144", "0.49692747", "0.4965614", "0.4936421", "0.493623", ...
0.8005272
0
Return human readable state
def zAg0(YKHO): yDGm = '' yDGm += 'Total cookies: ' + str(YKHO._total_cookies) + '\n' yDGm += 'Current cookies: ' + str(YKHO._current_cookies) + '\n' yDGm += 'Current time: ' + str(YKHO._current_time) + '\n' yDGm += 'CPS: ' + str(YKHO._cps) + '\n' yDGm += 'History: (length)' + str(len(YKHO._hist...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wHJl(YKHO):\n return str(YKHO.state)", "def TKay(YKHO):\n return YKHO.state_t", "def zAg0(YKHO):\n return YKHO.state()", "def bo2O(YKHO):\n return YKHO.STATES[YKHO.state]", "def zAg0(YKHO):\n return 'State{\\n %s \\n}' % '\\n'.join(['\\t{}: {}'.format(G1Hx, str(YRbF)) for G1Hx, YRbF in Y...
[ "0.81176835", "0.8031357", "0.8016581", "0.79708076", "0.78711575", "0.7838888", "0.78302425", "0.7821361", "0.7797723", "0.7698908", "0.7675653", "0.7625312", "0.758877", "0.7542698", "0.75221026", "0.75218153", "0.74984586", "0.746073", "0.74509376", "0.74506253", "0.743963...
0.0
-1
Get current CPS Should return a float
def ZUxg(YKHO): return YKHO._cps
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZUxg(YKHO):\n return YKHO._current_cps", "def ZUxg(YKHO):\n return YKHO.current_cps", "def ZUxg(YKHO):\n return YKHO.curr_CPS", "def ZUxg(YKHO):\n return YKHO._current_cps", "def ZUxg(YKHO):\n return YKHO._current_cps", "def ZUxg(YKHO):\n return YKHO._current_cps", "def ZUxg(YKHO)...
[ "0.7484859", "0.74181783", "0.7388875", "0.7357009", "0.7357009", "0.7357009", "0.7144441", "0.71215343", "0.7039115", "0.70187736", "0.69165146", "0.68792653", "0.6864813", "0.6743252", "0.6692437", "0.6552465", "0.65462667", "0.6425512", "0.6425512", "0.63897175", "0.637331...
0.70333546
9
Creates a logger at the given level, using the severity level as the name of the logger
def MWLp(YKHO, kDPn: str, wJ2a: str) -> G9jH.Logger: bo34 = G9jH.getLogger(kDPn) bo34.setLevel(G9jH.INFO) DCgT = G9jH.handlers.RotatingFileHandler(filename=wJ2a + kDPn + '.log', maxBytes=1024 * 512, backupCount=5) uaPq = G9jH.Formatter('%(asctime)s %(message)s') DCgT.setFormatter(uaPq) bo34.addH...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lmAE(mWFP: str, ABDL: int=G9jH.INFO) -> G9jH.Logger:\n bo34 = G9jH.getLogger(mWFP)\n bo34.setLevel(ABDL)\n DCgT = G9jH.StreamHandler(HwRy.stdout)\n uaPq = G9jH.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s', datefmt='%m.%d.%Y-%I:%M:%S')\n DCgT.setFormatter(uaPq)\n bo34.addHa...
[ "0.7288017", "0.718831", "0.7158266", "0.70168823", "0.6962405", "0.694967", "0.6949283", "0.69419366", "0.693879", "0.69140595", "0.69102865", "0.69029313", "0.68775594", "0.68683374", "0.6847476", "0.67576444", "0.67502403", "0.6739659", "0.6738337", "0.6736065", "0.6732672...
0.7303049
0
Return the state attributes.
def R1i3(YKHO) -> dict: return {'last_run_success': YKHO._last_run_success, 'mac_address': YKHO._mac, 'switch_mode': YKHO.coordinator.data[YKHO._idx]['data']['switchMode']}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def upgy(YKHO):\n return YKHO._state_attrs", "def upgy(YKHO):\n nPrm = {}\n return nPrm", "def upgy(YKHO):\n azoT = {}\n for H5ew in YKHO._attributes.keys():\n azoT[H5ew] = YKHO._item[YKHO._attributes[H5ew]]\n return azoT", "def R1i3(YKHO):\n return YKHO.attr\n 'Return the stat...
[ "0.9143806", "0.8802095", "0.8796065", "0.85617536", "0.84979665", "0.84979665", "0.84034306", "0.838496", "0.8384177", "0.836618", "0.836618", "0.836618", "0.836618", "0.836618", "0.8365354", "0.8365354", "0.8365354", "0.83578205", "0.8335189", "0.8335189", "0.8335189", "0...
0.0
-1
Returns a set of singular points of the region. The singular points are those points on the region where all partial derivatives vanish. Examples ======== >>> from sympy.abc import x, y >>> from sympy.vector import ImplicitRegion >>> I = ImplicitRegion((x, y), (y1)2 x3 + 2x2 x) >>> I.singular_points() {(1, 1)}
def Bqlq(YKHO): lw4G = [YKHO.equation] for SRYB in YKHO.variables: lw4G += [yk4i(YKHO.equation, SRYB)] return EHSi(lw4G, list(YKHO.variables))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TAHg(YKHO):\n return tE_f.constellation_s_points(YKHO)", "def w6Mx(YKHO, QkX8=True):\n _iiS = YKHO.derivate().derivate()\n return YKHO.points_from_xs(_iiS.roots(imag=QkX8))", "def cOwQ(YKHO):\n return CkQR.nonsingular(YKHO)", "def inJp(LTIa):\n vXfG = oyIN.sqrt(oyIN.sum(LTIa ** 2, 1))\n ...
[ "0.5963667", "0.57560575", "0.5523301", "0.5351489", "0.53280634", "0.5306762", "0.52580184", "0.5257868", "0.519367", "0.519248", "0.5115499", "0.5097482", "0.5094032", "0.50908935", "0.5083493", "0.5069957", "0.50412285", "0.5039592", "0.5032225", "0.50314045", "0.50247455"...
0.67589974
0
Returns the multiplicity of a singular point on the region. A singular point (x,y) of region is said to be of multiplicity m if all the partial derivatives off to order m 1 vanish there. Examples ======== >>> from sympy.abc import x, y, z >>> from sympy.vector import ImplicitRegion >>> I = ImplicitRegion((x, y, z), x2 ...
def dGQB(YKHO, AU8u): if isinstance(AU8u, PvyL): AU8u = AU8u.args PJZp = YKHO.equation for YRbF, SRYB in enumerate(YKHO.variables): PJZp = PJZp.subs(SRYB, SRYB + AU8u[YRbF]) PJZp = lHli(PJZp) if len(PJZp.args) != 0: NHn2 = PJZp.args r8hN = min([wcbP(OXAZ) for OXAZ in ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Petu(YKHO, *qIxc):\n return leuP.Geom_BSplineSurface_VMultiplicity(YKHO, *qIxc)", "def mYbl(YKHO):\n if YKHO.square:\n return YKHO.determinant == 0\n else:\n return False", "def J5o2(YKHO):\n return YKHO.discriminant == 0", "def wNl7(YKHO, P6bq):\n if YKHO._multiplicity > 0:\...
[ "0.5693318", "0.5594018", "0.5557013", "0.5442195", "0.54360616", "0.54360616", "0.54322714", "0.53660625", "0.5258379", "0.5159198", "0.51467794", "0.51335657", "0.51311934", "0.50982034", "0.50005686", "0.49651292", "0.49502352", "0.49402314", "0.49367148", "0.48940647", "0...
0.5864666
0
Extract Release Date from metadata and convert it into YYYY MM format
def jQhw(NCls): _AR6 = 'releaseDate":(\\d{9,10})' def pbww(WKvO): """Takes epoch time as argument and returns date in YYYY MM format""" _c1T = ZbWC.search(_AR6, WKvO) if _c1T: wEf2 = rLdf.to_datetime(_c1T.group(1), unit='s') wEf2 = wEf2.strftime('%Y %b') ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oQc2(YKHO):\n return aP4s(YKHO._request('album.getInfo', cacheable=True), 'releasedate')", "def RX09(KQBh):\n JvEs = KQBh.xpath(UDrL)\n Bg2R = ZbWC.match('^(\\\\d{1,2})\\\\s([a-z]+)\\\\s(\\\\d{4})', JvEs)\n moMn = Bg2R.groups()\n CjKC = moMn[0]\n x0eS = S33I.index(moMn[1]) + 1\n lO87 = m...
[ "0.6859345", "0.6821761", "0.6690007", "0.6681691", "0.6598574", "0.6563019", "0.6563019", "0.6481855", "0.6333154", "0.6319814", "0.63006014", "0.6236271", "0.6200033", "0.61635876", "0.6148612", "0.61199456", "0.61199456", "0.61199456", "0.6102063", "0.6037703", "0.5996797"...
0.7340343
0
Takes epoch time as argument and returns date in YYYY MM format
def pbww(WKvO): _c1T = ZbWC.search(_AR6, WKvO) if _c1T: wEf2 = rLdf.to_datetime(_c1T.group(1), unit='s') wEf2 = wEf2.strftime('%Y %b') return wEf2 else: return 'No Date'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v2rh(G01B):\n return F803('%d-%m-%Y', FdZ9(G01B))", "def K8gd(_c1T):\n return int(ITS7.mktime(ITS7.strptime(_c1T, '%d/%m/%Y')))", "def GTma(qtWj, mXDZ=None):\n if not mXDZ:\n mXDZ = '%d/%m/%Y'\n return ITS7.strftime(mXDZ, ITS7.localtime(qtWj))", "def qtWj():\n return qcWV(1970, 1, 1...
[ "0.7776028", "0.74124837", "0.7237481", "0.7203897", "0.7017903", "0.6949089", "0.6824112", "0.6815717", "0.6814206", "0.67595106", "0.6711807", "0.67088914", "0.66064423", "0.6560386", "0.65583056", "0.65463567", "0.6501309", "0.6498284", "0.6491902", "0.64776236", "0.644618...
0.0
-1
This is the constructor for the actual linked list.
def FIMM(YKHO, sdCG=None): YKHO.head = sdCG
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO):\n YKHO._linkedlist = _sfu()\n YKHO.head = YKHO._linkedlist.head\n YKHO._length = YKHO._linkedlist._length\n YKHO.tail = None", "def FIMM(YKHO, nPrm=None):\n YKHO.__list = RRVT(nPrm)", "def FIMM(YKHO):\n YKHO.list = _sfu()", "def FIMM(YKHO):\n YKHO.head = Msxl()", "def F...
[ "0.80006194", "0.7963296", "0.7921977", "0.79161566", "0.78609943", "0.78125095", "0.7811618", "0.7796776", "0.7791294", "0.7774264", "0.77686685", "0.77525216", "0.77525216", "0.77292055", "0.7725719", "0.7721083", "0.77103585", "0.76941305", "0.76891965", "0.7676836", "0.76...
0.7421342
73
Insert a value to the head of the linked list.
def JPHp(YKHO, BWXx): Q6kx = o7DN(BWXx) if YKHO.head is not None: Q6kx.next = YKHO.head YKHO.head = Q6kx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PgMl(YKHO, wEf2):\n YKHO.linkedlist.insert(0, wEf2)", "def JPHp(YKHO, BWXx):\n YKHO.head = o7DN(BWXx, YKHO.head)", "def JPHp(YKHO, BWXx):\n Q6kx = o7DN(BWXx)\n if not YKHO.head:\n YKHO.head = Q6kx\n else:\n Q6kx.next = YKHO.head\n YKHO.head = Q6kx", "def JPHp(YKHO, BWX...
[ "0.83289003", "0.8315609", "0.8208916", "0.82087713", "0.8165657", "0.8159115", "0.8139217", "0.79863065", "0.7963743", "0.79525024", "0.79482675", "0.78838056", "0.7863454", "0.7857456", "0.7849043", "0.7840523", "0.78183", "0.77962315", "0.7790132", "0.7771743", "0.77087677...
0.81952006
4
Search the linked list for a specific value.
def YBft(YKHO, BWXx): jvSB = YKHO.head while jvSB is not None: if jvSB.value == BWXx: return True jvSB = jvSB.next return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TgwQ(YKHO, BWXx):\n jvSB = YKHO.head\n if YKHO.head:\n while jvSB.value is not BWXx:\n jvSB = jvSB.next\n return jvSB\n return None", "def TgwQ(YKHO, BWXx):\n if YKHO.head is None:\n return None\n Q6kx = YKHO.head\n while Q6kx:\n if Q6kx.value == BWXx:...
[ "0.8414163", "0.8404633", "0.8302326", "0.8273657", "0.8270193", "0.8216025", "0.8181931", "0.81633306", "0.81183386", "0.8102965", "0.80888766", "0.8070983", "0.8048901", "0.8027552", "0.80267996", "0.7998965", "0.792671", "0.78683186", "0.78617644", "0.7838922", "0.77917516...
0.0
-1
Gets the kth value from the end where the last node in the linked list has an index of 0. Increments by one with each traversal to the left.
def qBlm(YKHO, G1Hx: int) -> int: jvSB = YKHO.head _BM6 = [] while jvSB is not None: _BM6.append(jvSB) jvSB = jvSB.next sL7f = len(_BM6) if G1Hx < sL7f: return _BM6[sL7f - G1Hx - 1].value raise Exception('There is no value at that index!')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bpfX(G1Hx, sdCG):\n if sdCG is None:\n return\n else:\n jvSB = sdCG\n zNig = 1\n while jvSB.next is not None:\n jvSB = jvSB.next\n zNig += 1\n jvSB = sdCG\n ewCu = 1\n while jvSB.next is not None:\n if ewCu == zNig - G1Hx +...
[ "0.84486747", "0.8157078", "0.81073916", "0.800284", "0.79565924", "0.7952339", "0.79406106", "0.7866757", "0.7858036", "0.78063864", "0.778166", "0.76912546", "0.76657194", "0.7660649", "0.765517", "0.76528764", "0.758758", "0.75709075", "0.7535548", "0.73989886", "0.7344460...
0.8429753
1
Add a new type overwrite mapping.
def Mh5U(GMZ4, JT5y, L1QN, yZiV): Q7IT = TKbJ() Q7IT.TypeKeyRenameMaps += ['%s#%s->%s#%s' % (GMZ4, JT5y, L1QN, yZiV)] return
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def loQ8(type):\n n0pC = J7q9('OC_PythonDictionary')\n n0pC.depythonifyTable().append(type)", "def dfuz(YKHO, H5ew, rtdY, tWCk=None):\n if isinstance(rtdY, type):\n rtdY = FUEm(rtdY, entity_name=tWCk)\n YKHO.polymorphic_map[H5ew] = rtdY", "def H2v5(YKHO, J8oL, yZGL):\n for uFHL in yZGL.mi...
[ "0.6948385", "0.6219682", "0.61160284", "0.6100532", "0.5970563", "0.5946295", "0.58988905", "0.5878121", "0.58591956", "0.57497424", "0.5675612", "0.56401205", "0.5627608", "0.560501", "0.55671966", "0.55270594", "0.552612", "0.55190504", "0.55184984", "0.5485259", "0.546818...
0.77125293
0
Compute softmax values for each sets of scores in x.
def N93T(WKvO, jDK_=1): tTpl = oyIN.exp(WKvO) return tTpl / oyIN.sum(tTpl, axis=jDK_, keepdims=True)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oSvh(WKvO):\n S2MS = []\n if oyIN.array(WKvO).ndim == 1:\n hrCc = oyIN.exp(WKvO)\n RmXN = oyIN.sum(hrCc)\n xzMv = hrCc / RmXN\n dzye = xzMv\n else:\n dzye = oyIN.exp(cCrA) / oyIN.sum(oyIN.exp(cCrA), axis=0)\n return dzye", "def N93T(WKvO):\n j1LR = oyIN.exp(o...
[ "0.80113125", "0.77607703", "0.77607703", "0.7687368", "0.76707524", "0.76605", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76397043", "0.762786", "0.7551623", "0.7532752", "0.74565", "0.73242354", "0.73171765", "0.7298...
0.0
-1
Get the correct path to write the kubeconfig file to. This is then read by the installed kubectl and won't interfere with one in the user's home.
def SrOT(YKHO) -> str: return SrOT()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H9vi(YKHO):\n Ylu4 = Hy7s.environ.get('KUBECONFIG')\n if Ylu4 is None:\n Ylu4 = '~/.kube/config'\n return Ylu4", "def Gm9d():\n if Hy7s.environ.get('KUBECONFIG'):\n return Hy7s.environ['KUBECONFIG']\n if not Hy7s.environ.get('HOME'):\n raise PHHv('environment variable HOME...
[ "0.7016522", "0.69189227", "0.6750933", "0.66330117", "0.63993704", "0.6373217", "0.6352646", "0.6271843", "0.6204729", "0.6096227", "0.60861063", "0.60759896", "0.60754544", "0.6066464", "0.6059202", "0.6050559", "0.6050502", "0.6037781", "0.6003205", "0.59959996", "0.597531...
0.772523
0
Collage a set of images to form a panel. (numpy)
def XEGz(e5N9, jDK_=1): kXrs = oyIN.concatenate([YRbF for YRbF in e5N9], axis=jDK_) return kXrs
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CH9l(Yw_3, MKlR, yzQ0, VCFe=6, xL7R=6):\n QrM1.figure(figsize=(1.8 * xL7R, 2.4 * VCFe))\n QrM1.subplots_adjust(bottom=0, left=0.01, right=0.99, top=0.9, hspace=0.35)\n for YRbF in range(VCFe * xL7R):\n QrM1.subplot(VCFe, xL7R, YRbF + 1)\n QrM1.imshow(Yw_3[YRbF].reshape((MKlR, yzQ0)), cma...
[ "0.6999726", "0.6952571", "0.69028234", "0.6877696", "0.6860621", "0.6853773", "0.68518215", "0.6845187", "0.68436486", "0.67882544", "0.67694694", "0.672095", "0.6720367", "0.6714331", "0.66588205", "0.6658493", "0.66300666", "0.66289485", "0.6628779", "0.6620862", "0.661884...
0.7208439
0
Undo normalization of image.
def VzjJ(LNo8): LNo8 = LNo8 / 2 + 0.5 return LNo8
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kwsU(YKHO):\n YKHO.img = oyIN.clip(YKHO.img - YKHO.img.mean(), -1, 1)", "def kwsU(YKHO):\n YKHO.img = YKHO.img.astype(oyIN.float32) / 255.0\n YKHO.img -= YKHO.img.mean()", "def NkkI(YKHO):\n YKHO._images = YKHO._images.astype('float32')\n YKHO._images -= 127.5\n YKHO._images /= 127.5\n ...
[ "0.800395", "0.7827553", "0.72958606", "0.7221347", "0.7190768", "0.7113218", "0.70824033", "0.70540833", "0.7010557", "0.699912", "0.6975012", "0.69661325", "0.69118744", "0.69041663", "0.6874042", "0.68693596", "0.6860837", "0.68567246", "0.6852463", "0.6845316", "0.6832414...
0.6382175
74
Collage a set of images to form a panel.
def qj07(e5N9, jDK_=2): z2yw = ZylS.concat([YRbF for YRbF in e5N9], axis=jDK_) return z2yw
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eW4f(xkjI, yzQ0, MKlR, OfOG=None, Gmep=None, x_5g=5, nPAn='#000000'):\n afoL = len(xkjI)\n OfOG = lO1m(PZyS(afoL)) if OfOG is None else OfOG\n Gmep = lO1m(afoL / OfOG) if Gmep is None else Gmep\n TVTK = OfOG * yzQ0 + (OfOG - 1) * x_5g\n H2v2 = Gmep * MKlR + (Gmep - 1) * x_5g\n YRbF = 0\n V...
[ "0.7348029", "0.7227651", "0.70548207", "0.6972558", "0.6931155", "0.692981", "0.6923335", "0.6911986", "0.68717945", "0.6791751", "0.6761753", "0.6744732", "0.67339903", "0.67052466", "0.6698663", "0.66897494", "0.668634", "0.668634", "0.6674842", "0.6666758", "0.66663677", ...
0.0
-1
A VGG convolutional block for encoding.
def OFA3(KUnM, jjm8, dvgN=False, oNEO=0.0, g8Sb='blockx'): def eHNT(WKvO): for YRbF in range(jjm8): if g8Sb == 'block1' and YRbF == 0: if dvgN is True: WKvO = l2Dx(padding=(100, 100))(WKvO) WKvO = yHwh(KUnM, (3, 3), activation='relu', padding=...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pKhj(g4y1, KUnM, Ot1W):\n yvT9 = ZylS.keras.layers.Conv2D(KUnM, Ot1W, padding='same', activation=ZylS.nn.relu)(g4y1)\n yvT9 = ZylS.keras.layers.Conv2D(KUnM, Ot1W, padding='same', activation=ZylS.nn.relu)(yvT9)\n yvT9 = ZylS.keras.layers.MaxPool2D((2, 2))(yvT9)\n return yvT9", "def a7Lb(lNai):\n ...
[ "0.74156517", "0.7320955", "0.7038599", "0.6972167", "0.6952819", "0.6942839", "0.6940031", "0.69162416", "0.6897526", "0.6882017", "0.6872634", "0.6795829", "0.67887974", "0.67601603", "0.6747728", "0.67222416", "0.670246", "0.6682044", "0.6680782", "0.6669305", "0.66306", ...
0.6838082
11
Basic 3 X 3 convolution blocks for use in resnets with layers <= 34.
def Tcgw(KUnM, jjm8=2, IaI0=(1, 1), oNEO=0.0, g8Sb='blockx'): def eHNT(input): for YRbF in range(jjm8): if YRbF == 0: WKvO = input if g8Sb == 'megablock1_block1' and YRbF == 0: WKvO = yHwh(KUnM, (3, 3), strides=IaI0, padding='same', kernel_initializer...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mQG_(g4y1: tf.keras.layers.Layer, KUnM: int, rFXh: int=2, hr1G: float=0) -> ZylS.keras.layers.Layer:\n WKvO = g4y1\n for bGrB in range(rFXh):\n WKvO = ZylS.keras.layers.Conv2D(KUnM, **gQz_)(WKvO)\n WKvO = ZylS.keras.layers.Activation('relu')(WKvO)\n WKvO = ZylS.keras.layers.Dropout(h...
[ "0.74246603", "0.74215", "0.7410898", "0.73897564", "0.7372153", "0.72644687", "0.72604024", "0.7218513", "0.7218513", "0.7218513", "0.71938676", "0.71560633", "0.7139137", "0.71301126", "0.71119815", "0.7110487", "0.7109717", "0.70953685", "0.7071362", "0.70609754", "0.70591...
0.7317865
5
Mega convolution block that combines multiple res_basicconv blocks. Note that init_strides must be defined for the first block in case downsampling is necessary
def S8hP(KUnM, jjm8, ZgWB, IaI0=(1, 1), oNEO=0.0, g8Sb='megablockx'): def eHNT(input): WKvO = input for YRbF in range(ZgWB): if YRbF == 0: WKvO = Tcgw(KUnM, jjm8, init_strides=IaI0, weight_decay=oNEO, block_name='{}_block{}'.format(g8Sb, int(YRbF + 1)))(WKvO) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Tcgw(KUnM, jjm8=2, IaI0=(1, 1), oNEO=0.0, g8Sb='blockx'):\n\n def eHNT(input):\n for YRbF in range(jjm8):\n if YRbF == 0:\n WKvO = input\n if g8Sb == 'megablock1_block1' and YRbF == 0:\n WKvO = yHwh(KUnM, (3, 3), strides=IaI0, padding='same', kernel...
[ "0.77311105", "0.6926542", "0.6896267", "0.6852509", "0.68238914", "0.67566156", "0.67566156", "0.67566156", "0.6709993", "0.66919833", "0.66868585", "0.6654108", "0.66516066", "0.663109", "0.66287", "0.66260004", "0.657399", "0.65693843", "0.65663254", "0.6551046", "0.654950...
0.75018436
1
A VGG convolutional transpose block for decoding.
def nlRc(KndY, NXpY=1, Ot1W=(4, 4), FEri=(2, 2), iNZn='centered', oNEO=0.0, g8Sb='featx'): def eHNT(WKvO, LVAh): def X6rE(CAzz, KG9w=1): return CAzz * KG9w k8L3 = Zlsf(X6rE, arguments={'ss': NXpY}, name='scale_{}'.format(g8Sb))(WKvO) p1kx = yHwh(filters=KndY, kernel_size=(1, 1)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wOcd(**B2fa):\n return Y_Qv(**B2fa)", "def wOcd(**B2fa):\n return Y_Qv(**B2fa)", "def RHQF(GhuM, TFPw, oNEO=0.0, I3sX=0.9, lo24=0.5):\n rvDU = HxRh(input_shape=(GhuM[0], GhuM[1], 3), include_top=False, weights='imagenet')\n for gEmA in rvDU.layers:\n gEmA.trainable = False\n g4y1 = X6...
[ "0.6998789", "0.6998789", "0.6807443", "0.6460015", "0.6209257", "0.61713076", "0.61707324", "0.6160176", "0.604414", "0.6025321", "0.5991094", "0.58723056", "0.5790141", "0.57637525", "0.575641", "0.5756333", "0.5731164", "0.57181615", "0.56799877", "0.5676051", "0.566489", ...
0.0
-1
A VGG convolutional block with bilinear upsampling for decoding.
def bOO7(KndY, u5Om=None, NXpY=1, oNEO=0.0, g8Sb='featx'): def eHNT(WKvO, LVAh): p1kx = yHwh(filters=KndY, kernel_size=(1, 1), activation='linear', padding='valid', kernel_initializer='he_normal', kernel_regularizer=V70B(oNEO), name='score_{}'.format(g8Sb))(WKvO) if LVAh is not None: d...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a7Lb(lNai):\n g4y1 = fhcK.Input(shape=(1,))\n Hydj = J9Qm(lNai, name='block_input')(g4y1)\n WKvO = fhcK.Conv2D(64, (3, 3), activation='relu', padding='same', name='block1_conv1')(Hydj)\n WKvO = fhcK.Conv2D(64, (3, 3), activation='relu', padding='same', name='block1_conv2')(WKvO)\n WKvO = fhcK.Ma...
[ "0.724653", "0.6950088", "0.6520122", "0.6520122", "0.65039665", "0.64774615", "0.6445133", "0.64220893", "0.6403149", "0.63915426", "0.6390337", "0.63749564", "0.6371747", "0.6365032", "0.63649374", "0.6363332", "0.6343554", "0.6340797", "0.6340184", "0.6326196", "0.6292641"...
0.0
-1
Gets information about the scalable targets in the specified namespace. You can filter the results using the ``ResourceIds`` and ``ScalableDimension`` parameters. To create a scalable target or update an existing one, see RegisterScalableTarget . If you are no longer using a scalable target, you can deregister it using...
def uOFX(YKHO, I5ch: str, PIw9: List=None, Dm2h: str=None, xTyj: int=None, aSFH: str=None) -> cuzp: pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hyaL(YKHO, _63S: str) -> x1iM['FakeScalableTarget']:\n x6A0 = []\n for e_2d in YKHO.targets.keys():\n for PcW4 in YKHO.targets[e_2d].keys():\n x6A0.append(YKHO.targets[e_2d][PcW4])\n x6A0 = [a1PO for a1PO in x6A0 if a1PO.service_namespace == _63S]\n return x6A0", "def XCtV(YKHO)...
[ "0.682577", "0.5936097", "0.58934724", "0.5833342", "0.53845364", "0.5312951", "0.5214098", "0.5148226", "0.5117556", "0.5087223", "0.50676", "0.5061017", "0.49616018", "0.48502907", "0.4789084", "0.47641408", "0.47316763", "0.4710805", "0.47056222", "0.4684072", "0.46670654"...
0.7162187
0
Create a paginator for an operation.
def oL8A(YKHO, hTqE: str=None) -> NIbP: pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oL8A(hTqE=None):\n pass", "def oL8A(hTqE=None):\n pass", "def oL8A(hTqE=None):\n pass", "def oL8A(hTqE=None):\n pass", "def oL8A(hTqE=None):\n pass", "def oL8A(hTqE=None):\n pass", "def oL8A(hTqE=None):\n pass", "def oL8A(hTqE=None):\n pass", "def oL8A(hTqE=None):\n p...
[ "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "0.7726925", "...
0.76366186
37
Apply label smoothing to a target tensor. Redistributes epsilon probability mass from the true target uniformly to the remaining classes by replacing a hard one by (1 epsilon) a hard zero by epsilon / (num_classes 1)
def yv88(Crrw: torch.FloatTensor, _hZ2: Optional[float]=None, jTqs: Optional[int]=None) -> ht2j.FloatTensor: if not _hZ2: return Crrw if _hZ2 < 0.0: raise ValueError(f'epsilon must be positive, but is {_hZ2}') if jTqs is None: raise ValueError('must pass num_classes to perform label ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Xwal(o4Jx, x6A0):\n iW8E = DF_z.repeat(x6A0.size(0), 1)\n iW8E.scatter_(1, x6A0.unsqueeze(1), la9G)\n iW8E.masked_fill_((x6A0 == CPLx).unsqueeze(1), 0)\n return t1lM(o4Jx, iW8E, reduction='sum')", "def jnqV():\n iTQl = oyIN.random.rand(Ep8u, ZGvU - 1, hfjP).astype('float32')\n B2YV = oyIN.r...
[ "0.6884698", "0.67903", "0.64817923", "0.6437291", "0.64357466", "0.6409645", "0.6315885", "0.62580824", "0.6235128", "0.62274814", "0.6198338", "0.61862737", "0.6183226", "0.6147589", "0.60890055", "0.60182345", "0.60061324", "0.59799314", "0.5862055", "0.5856106", "0.584818...
0.7996644
0
Check whether labels are in [0, 1].
def e3LN(Crrw: torch.FloatTensor) -> bool: return Crrw.min() >= 0 and Crrw.max() <= 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Y1_Z(Crrw):\n Crrw = ZylS.convert_to_tensor(value=Crrw)\n return ZylS.greater_equal(Crrw, 0.0)", "def Y1_Z(Crrw):\n Crrw = ZylS.convert_to_tensor(value=Crrw)\n return ZylS.greater_equal(Crrw, 0.0)", "def Y1_Z(Crrw):\n Crrw = ZylS.convert_to_tensor(value=Crrw)\n return ZylS.greater_equal(C...
[ "0.72718126", "0.7264198", "0.7264198", "0.71594524", "0.7146605", "0.71031845", "0.6908817", "0.6831035", "0.68148226", "0.67949146", "0.6766892", "0.66940206", "0.66819453", "0.6662344", "0.66557306", "0.66557306", "0.66557306", "0.66136724", "0.65037477", "0.6471778", "0.6...
0.7524036
0
r"""Initialize the margin loss instance.
def FIMM(YKHO, MVIL: float, ejdV: Hint[nn.Module], gH2v: str='mean'): super().__init__(reduction=gH2v) YKHO.margin = MVIL YKHO.margin_activation = qr_Q.make(ejdV)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, MVIL: float=1.0, gH2v: str=None):\n super(Wz1x, YKHO).__init__()\n if MVIL:\n YKHO.parser = xwkh\n YKHO.loss = U78l.MarginRankingLoss(margin=MVIL, reduction=gH2v)\n else:\n YKHO.parser = fLLh\n YKHO.loss = U78l.SoftMarginLoss(reduction=gH2v)", "def FIMM(YKHO, h...
[ "0.70337605", "0.6928942", "0.67708546", "0.6703166", "0.66814727", "0.66397965", "0.6546694", "0.6349846", "0.6334615", "0.6304852", "0.62881625", "0.62813383", "0.62685287", "0.62673974", "0.625336", "0.6245101", "0.6244969", "0.6212176", "0.6210764", "0.61798704", "0.61711...
0.6714621
3
r"""Initialize the margin loss instance.
def FIMM(YKHO, MVIL: float=1.0, gH2v: str='mean'): super().__init__(margin=MVIL, margin_activation='relu', reduction=gH2v)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, MVIL: float=1.0, gH2v: str=None):\n super(Wz1x, YKHO).__init__()\n if MVIL:\n YKHO.parser = xwkh\n YKHO.loss = U78l.MarginRankingLoss(margin=MVIL, reduction=gH2v)\n else:\n YKHO.parser = fLLh\n YKHO.loss = U78l.SoftMarginLoss(reduction=gH2v)", "def FIMM(YKHO, h...
[ "0.70337605", "0.6928942", "0.67708546", "0.6714621", "0.6703166", "0.66397965", "0.6546694", "0.6349846", "0.6334615", "0.6304852", "0.62881625", "0.62813383", "0.62685287", "0.62673974", "0.625336", "0.6245101", "0.6244969", "0.6212176", "0.6210764", "0.61798704", "0.617115...
0.66814727
5
Calculate the loss for the given scores and labels.
def KVH6(YKHO, KeL5: torch.FloatTensor, Crrw: torch.FloatTensor) -> ht2j.FloatTensor: assert 0.0 <= Crrw.min() and Crrw.max() <= 1.0 Crrw = 2 * Crrw - 1 N77f = YKHO.margin_activation(YKHO.margin - Crrw * KeL5) N77f = YKHO._reduction_method(N77f) return N77f
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N77f(YKHO, cCrA, Crrw, WEi6=False, **B2fa):\n if len(Crrw) == 1:\n Crrw = Crrw[0]\n elif len(Crrw) == 3:\n Re7d, mZF3, EhIg = Crrw\n return YKHO.mixup_loss(cCrA, Re7d, mZF3, EhIg)\n else:\n raise NotImplemented\n if YKHO.ls_eps != 0.0:\n Crrw = vuvg.one_hot(Crrw, ...
[ "0.8110481", "0.7724182", "0.7353498", "0.7350866", "0.7287268", "0.7260625", "0.7240357", "0.72092956", "0.719874", "0.71913266", "0.7175182", "0.71701396", "0.7168712", "0.7145677", "0.7133289", "0.70963", "0.7061343", "0.70534176", "0.7038821", "0.7036474", "0.70343983", ...
0.0
-1
Prepare negative scores for softmax. To compute a softmax over negative scores, we may need to invert the filtering procedure to get a dense regularly shaped tensor of shape `(batch_size, num_negatives)`.
def rts9(SZ3d: Optional[torch.LongTensor], ynNz: torch.FloatTensor, uG24: bool) -> ht2j.FloatTensor: if SZ3d is None: return ynNz h32B = ht2j.zeros_like(SZ3d, dtype=ynNz.dtype) h32B[SZ3d] = ynNz Kpzi = ~SZ3d if uG24: Kpzi = Kpzi & ~Kpzi.all(dim=1, keepdim=True) h32B[Kpzi] = float...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KVH6(YKHO, cCrA: torch.Tensor, ZHfW: torch.BoolTensor) -> ht2j.Tensor:\n XOZ6 = KkE2(cCrA, ZHfW, -float('inf'))\n return ht2j.nn.Softmax(dim=-1)(XOZ6)", "def q3BQ(anO9, BO4Y, cu2G=3.0):\n MhoF = ZylS.reduce_sum(1 - BO4Y, axis=1)\n TM9Y = ZylS.reduce_sum(BO4Y, axis=1)\n uZ9e = ZylS.where(MhoF =...
[ "0.65279746", "0.6499388", "0.6436502", "0.6436027", "0.61618733", "0.6113471", "0.61085683", "0.6089967", "0.6079716", "0.606752", "0.60546994", "0.6054121", "0.6046083", "0.5963052", "0.5963052", "0.5963052", "0.5963052", "0.5963052", "0.5963052", "0.5963052", "0.5958555", ...
0.8377228
0
Calculate the loss for the given scores.
def KVH6(YKHO, JKy_: torch.FloatTensor, Mt75: torch.FloatTensor, Ef4o: torch.FloatTensor, Xwal: Optional[float]=None, _DCO: Optional[int]=None) -> ht2j.FloatTensor: MDP_ = YKHO.negative_loss_term_unreduced(neg_scores=Mt75, label_smoothing=Xwal, num_entities=_DCO) MDP_ = (Ef4o * MDP_).sum(dim=-1) MDP_ = YKHO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xBoL(YKHO, cCrA, *qIxc, **B2fa):\n return bC3x(cCrA, *qIxc, loss_type='pr_hinge', **B2fa)", "def xBoL(YKHO, bY2u, ynNz):\n LVAh = ht2j.ones(bY2u.shape[0], dtype=ht2j.float, device=YKHO.device) * -1\n N77f = YKHO.criterion(bY2u, ynNz, LVAh)\n return N77f", "def N77f(YKHO, cCrA, Crrw, WEi6=False,...
[ "0.7907498", "0.77516854", "0.76721317", "0.74001634", "0.7284029", "0.7157204", "0.7087396", "0.70696807", "0.69860286", "0.69343054", "0.6903372", "0.6865621", "0.68417084", "0.6833871", "0.6820492", "0.67917114", "0.67917114", "0.67912424", "0.6789883", "0.67798764", "0.67...
0.0
-1
Returns a (deep) copy of the player.
def jth9(YKHO, ymr7): XWqO = mVZ4(YKHO.name) XWqO.heatmap = jth9.deepcopy(YKHO.heatmap) XWqO.king = ymr7[YKHO.king] XWqO.pieces = [ymr7[XP5J] for XP5J in YKHO.pieces] XWqO.captures = [ymr7[U7YL] for U7YL in YKHO.captures] return XWqO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jth9(YKHO) -> mVZ4:\n raise NotImplementedError", "def ECBq(YKHO):\n eQSh = dict([(G1Hx, getattr(YKHO, G1Hx, 0)) for G1Hx in cAey])\n _oWe = dnt1(YKHO._db, YKHO.gsis_id, YKHO.drive_id, YKHO.play_id, YKHO.player_id, YKHO.team, eQSh)\n _oWe._player = YKHO._player\n _oWe._play = YKHO._play\n r...
[ "0.8210345", "0.81247187", "0.8100087", "0.7699498", "0.76179016", "0.75927585", "0.7389614", "0.6838746", "0.6837305", "0.67280525", "0.6704691", "0.6697374", "0.66940457", "0.6649473", "0.6635044", "0.6635044", "0.6635044", "0.65898645", "0.6588546", "0.6586461", "0.6568121...
0.70490956
7
Populates pieces of initial (default) MiniShogi board state.
def TSjW(YKHO): FccS = P5Bq - 1 for YRbF in range(P5Bq): vzU4 = yELo.PIECE_TYPES[YRbF % len(yELo.PIECE_TYPES)]('UPPER', (FccS - YRbF, FccS)) zlwY = yELo.PIECE_TYPES[YRbF % len(yELo.PIECE_TYPES)]('lower', (YRbF, 0)) YKHO.place_piece('UPPER', vzU4, vzU4.coords) YKHO.place_piece('lo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aXLn(YKHO):\n Fg_i = [YvOM] * 14\n Fg_i[Z9Ht] = 0\n Fg_i[K2IG] = 0\n YKHO._board = Fg_i\n YKHO.to_move = MlT5\n YKHO._moves = YKHO.calculate_legal_moves()\n YKHO._utility = YKHO.default_utility()", "def t4c0(YKHO):\n YKHO.board.init_map()\n YKHO.inital_state = [(WKvO.pos, WKvO.pegg...
[ "0.744576", "0.7292264", "0.7020591", "0.7015838", "0.700054", "0.69541997", "0.68293446", "0.67356545", "0.66986054", "0.6597403", "0.6585735", "0.6561109", "0.6544735", "0.6523794", "0.6480549", "0.6463118", "0.6462262", "0.64564073", "0.6456135", "0.642924", "0.64235437", ...
0.0
-1
Read common text file as a stream of pairs (k, v) where k is the first sequence of characters in the line until sep and v is contains the rest of characters after removing that first sep.
def jN08(pmON, VWe_='\t'): return map(lambda zFiD: ZbWC.split(VWe_, zFiD, maxsplit=1, flags=ZbWC.UNICODE), IDJS(pmON))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Xwqi(YKHO):\n s5Is = '/k1/v1/key2/value//2/k3/v3/'\n SAEY = '/'\n aegh = {'k1': 'v1', 'key2': 'value/2', 'k3': 'v3'}\n LaVg = jKi7.BytesIO(jKi7.b(s5Is))\n YKHO.assertEqual(Vli5.io.read_fcs_text_segment(buf=LaVg, begin=0, end=len(s5Is) - 1), (aegh, SAEY))", "def P_ZW(YKHO):\n s5Is = '/k1/v1/...
[ "0.6044274", "0.6007672", "0.6005346", "0.6003544", "0.59100276", "0.5905785", "0.5905279", "0.5896461", "0.58934057", "0.58852", "0.58554584", "0.5843679", "0.5837169", "0.5832776", "0.5824843", "0.5816573", "0.57975966", "0.5793766", "0.5791755", "0.5767252", "0.5764448", ...
0.61062676
0
Returns the relative path to the data directory if it exists.
def fnnm(c_O2: str) -> h8nf[str]: jvCJ = SC2F.glob(Hy7s.path.join(c_O2, '*.data')) if not jvCJ: return None if len(jvCJ) > 1: raise ValueError('Found more than 1 *.data directory. %s is not a valid Wheel.' % c_O2) return jvCJ[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def s8df():\n tETI = WQbV(TLI7(xAKo))\n h_xa = gzes(tETI, 'data')\n return h_xa", "def xe5l():\n return Hy7s.path.abspath(Hy7s.path.join(Hy7s.path.dirname(xAKo), '..', 'data'))", "def s8df(YKHO, *XNWQ):\n h_xa = Hy7s.path.join(YKHO.data_path, *XNWQ)\n return Hy7s.path.normpath(h_xa)", "def ...
[ "0.813833", "0.8101064", "0.80347013", "0.8029235", "0.8023156", "0.8011842", "0.79452485", "0.79413587", "0.7916066", "0.7891125", "0.7883836", "0.78786415", "0.7817361", "0.7774003", "0.77368045", "0.7720796", "0.7652637", "0.76152796", "0.7584403", "0.75805557", "0.7538613...
0.0
-1
Returns the dependencies from a pip requirements file.
def CmVM(FYKK): for zFiD in open(FYKK): if zFiD.startswith('-r'): yield from CmVM(zFiD.strip().split(' ', 1)[1].strip()) elif zFiD.startswith('-') or '://' in zFiD: pass else: qv1X = zFiD for hcXw in '#;': try: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O1OY():\n kbO9 = []\n with open('requirements.txt', 'r') as ytgA:\n zFiD = ytgA.readline()\n while zFiD:\n kbO9.append(zFiD.strip())\n zFiD = ytgA.readline()\n return kbO9", "def Fx3f():\n try:\n with open(nGAp, 'r') as eHNT:\n return eHNT.rea...
[ "0.8490106", "0.8396449", "0.8239039", "0.80700034", "0.7987772", "0.79752475", "0.7974172", "0.7872944", "0.7866777", "0.78078", "0.77997416", "0.77979857", "0.77905065", "0.7745831", "0.773071", "0.7728606", "0.7721062", "0.76762134", "0.76756287", "0.7672368", "0.7667289",...
0.673089
83
Create a Acl object given a response_data
def qN71(Emd4, cuiw, Bv0m): uioc = cuiw.api.get_keys(Bv0m, FmAk.resource_uri_name) _tR6 = uioc[1] mWFP = uioc[0] return FmAk(cuiw, mWFP, _tR6)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, geh0):\n YKHO.response = geh0\n YKHO.object = geh0['object']\n YKHO.user_id = geh0['user_id']\n YKHO.created_at = geh0['created_at']\n YKHO.updated_at = geh0['updated_at']\n YKHO.authenticated_at = geh0['authenticated_at']\n YKHO.device_enrolled = geh0['device_enrolled']\n YK...
[ "0.62503433", "0.6028918", "0.5984611", "0.5935822", "0.5906272", "0.59010273", "0.5880987", "0.58722365", "0.58722365", "0.58651567", "0.58644706", "0.5860431", "0.5854566", "0.58187467", "0.5788611", "0.57823694", "0.57754415", "0.57490146", "0.57490146", "0.5738879", "0.56...
0.770221
0
List of attributes to not save with serialized state.
def shpP(YKHO): return ['_firstComputeCall', '_accuracy', '_protoScores', '_categoryDistances']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def azoT(YKHO):\n return [jzdc for jzdc in vars(YKHO) if getattr(YKHO, jzdc) is not None]", "def fq1Y(ajET: HomeAssistant) -> set[str]:\n return {LqM5, A2id, fMag}", "def qbyV():\n return []", "def BG4B(YKHO):\n l4K8 = c4tt.manager.get_secret_attributes(YKHO.offering.type)\n azoT = YKHO.attrib...
[ "0.74098176", "0.73210347", "0.72847086", "0.7225795", "0.7107008", "0.70441985", "0.69659084", "0.6928612", "0.68720347", "0.68550056", "0.6807392", "0.6807392", "0.67564464", "0.670967", "0.67063624", "0.67061067", "0.67052805", "0.66277546", "0.6623961", "0.6603835", "0.65...
0.0
-1
Public API for returning the category list This is a required API of the NearestNeighbor inspector. It returns an array which has one entry per stored prototype. The value of the entry is the category of that stored prototype.
def I1D5(YKHO): return YKHO._knn._categoryList
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LeZt(YKHO):\n _AKB = kIUb.Category()\n _AKB.id = _AKB.name = 'F-Droid'\n _AKB.dataUrl = ''\n S0MI.info('Initialized Dummy Category \"F-Droid\"')\n return [qZuN(_AKB)]", "def ojta(YKHO):\n Mkmy = G4JS.get(YKHO.url_cat)\n F0em = Mkmy.json()\n Narr = F0em['tags']\n Y5dh = []\n LeZt...
[ "0.669809", "0.6695998", "0.65948355", "0.65929043", "0.6574834", "0.6558619", "0.6503802", "0.6429161", "0.6381795", "0.6372945", "0.6265888", "0.6225245", "0.61900866", "0.61894554", "0.6134376", "0.61085594", "0.6108116", "0.61075675", "0.6107099", "0.6104867", "0.60938627...
0.7198728
0
Specify the RBW filter shape, which is achieved by changing the window function. When specifying RBW_SHAPE_FLATTOP, a custom bandwidth flattop window is used measured at the 3dB cutoff point. When specifying RBW_SHAPE_CISPR, a Gaussian window with zeropadding is used to achieve the specified RBW. The Gaussian window is...
def TBxh(YKHO, yPSL=1): if type(yPSL) is str: if yPSL.upper() == 'RBW_SHAPE_FLATTOP': yPSL = 1 elif yPSL.upper() == 'RBW_SHAPE_CISPR': yPSL = 2 else: print('Wrong rbwShape inserted') raise Exception('PARERR') yPSL = int(yPSL) if yPSL < ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CmrE(E3cN, V1S8, ugJK=False):\n E3cN.b_SED, E3cN.d_SED, E3cN.c_SED = Zo2c(E3cN)\n if E3cN.telescope is 'Euclid':\n E3cN.bp = Luj0(E3cN.res)\n elif E3cN.telescope is 'LSST':\n E3cN.bp = QcDj(E3cN.filter_name)\n sIQB = IJ8f(E3cN)\n W15x = kBgc(E3cN)\n w5S8 = ItqO(E3cN, W15x, sIQB)...
[ "0.5527571", "0.54785216", "0.54785216", "0.534215", "0.5337324", "0.5312396", "0.5238715", "0.52369463", "0.51451546", "0.51397836", "0.51230097", "0.5106526", "0.50911975", "0.5087342", "0.50867265", "0.50806236", "0.504918", "0.50479645", "0.49847436", "0.49251613", "0.491...
0.6611415
0
This function configures the device into a state determined by the mode parameter. For more information regarding operating states, refer to the Manual. This function calls Abort() before attempting to reconfigure. It should be noted, if an error occurs attempting to configure the device, any past operating state will ...
def ilZk(YKHO, Tuqy=0): if type(Tuqy) is str: Tuqy = Tuqy.upper() try: Tuqy = YKHO.modes_list.index(Tuqy) - 1 except ValueError: print('Wrong mode inserted') raise Exception('PARERR') Tuqy = int(Tuqy) if Tuqy < -1 or Tuqy > 2: print('Wrong ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vZlY(YKHO):\n jvSB = YKHO._get_mode()\n if jvSB == YLnw:\n return\n if jvSB == rj6S:\n YKHO._write('configure\\n')\n idDS = YKHO._read_until(uqhC)\n elif jvSB == m_yK:\n YKHO._write('exit\\n')\n idDS = YKHO._read_until(uqhC)\n else:\n YKHO._reconnect()\n...
[ "0.71308494", "0.64772666", "0.6278244", "0.62466997", "0.62054425", "0.6202687", "0.618584", "0.61647725", "0.61571157", "0.60525256", "0.601196", "0.5959742", "0.5950785", "0.59443825", "0.58904725", "0.58876365", "0.5872626", "0.58573174", "0.58436257", "0.58329415", "0.58...
0.0
-1
Force the screen to be completely repainted on the next call to draw_screen(). (does nothing for web_display)
def Y7Bk(YKHO): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def joTS():\n Vjhr.blit(H_sQ, (0, 0))", "def wbUI():\n g74T.display.update()\n EzjL.screen.fill(EzjL.black)\n EzjL.clock.tick(EzjL.fps)", "def xoyg(YKHO):\n YKHO._surface.fill(a9eO.Color(48, 48, 48))\n YKHO._display_game_board()\n a9eO.display.flip()", "def ypbG(YKHO):\n YKHO._screen....
[ "0.7795958", "0.7664065", "0.76635844", "0.7656471", "0.765544", "0.75705725", "0.7563103", "0.7543717", "0.7508875", "0.74399835", "0.74146587", "0.7392339", "0.73346144", "0.7314318", "0.73138547", "0.7297591", "0.72823346", "0.72554094", "0.7245808", "0.72164583", "0.71973...
0.0
-1
Handles bad reuests with 400_BAD_REQUEST
def _ef9(P1dF): Ol8d = P1dF.message or str(P1dF) P4t4.logger.info(Ol8d) return (pz3A(status=400, error='Bad Request', message=Ol8d), 400)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _ef9(QePW, AJ5d, *qIxc, **B2fa):\n nPrm = {'error': 'Bad Request (400)'}\n return jnRN(nPrm, status=jGRS.HTTP_400_BAD_REQUEST)", "def _ef9():\n UAju = {'_request': ['bad request']}\n return P1dF(400, UAju)", "def b0c3():\n eTsH(qed_.BAD_REQUEST)", "def KQIY(YKHO):\n YKHO.response.set_st...
[ "0.8324726", "0.8226602", "0.8212275", "0.8066888", "0.8060185", "0.8026464", "0.78220975", "0.78220975", "0.78220975", "0.78220975", "0.78220975", "0.78220975", "0.7765412", "0.7756241", "0.76972204", "0.76790065", "0.76240385", "0.76240385", "0.75862193", "0.756933", "0.755...
0.75276417
21
Handles unexpected server error with 500_SERVER_ERROR
def r1yd(P1dF): Ol8d = P1dF.message or str(P1dF) P4t4.logger.info(Ol8d) return (pz3A(status=500, error='Internal Server Error', message=Ol8d), 500)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def n_XA(fWKK):\n RKD7.exception(wVCK.format_exc())\n if QePW.is_xhr:\n return oGir(status=500)\n else:\n return (N2Mn('500.html'), 500)", "def D8YB(Wehb):\n return Yxsy(pz3A({'error': 'Server error'}), 500)", "def eVBK(YKHO, QePW, _n4O=None, ICJ3=False):\n if not ICJ3:\n RK...
[ "0.8389705", "0.83048093", "0.83016497", "0.8282621", "0.81807256", "0.8151604", "0.8117752", "0.8114206", "0.8077019", "0.80634403", "0.8050843", "0.8049716", "0.80332714", "0.8014705", "0.79989296", "0.7995657", "0.79924005", "0.79848427", "0.7983808", "0.79772526", "0.7975...
0.7536236
64
Initialies the SQLAlchemy app
def JawI(): global app L9Jq.init_db()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DbxN(Emd4):\n bo34.info('Initializing database')\n pths.init_app(P4t4)\n P4t4.app_context().push()\n pths.create_all()", "def JawI(Emd4, P4t4):\n bo34.info('Initializing database')\n Emd4.app = P4t4\n NCls.init_app(P4t4)\n P4t4.app_context().push()\n NCls.create_all()", "def JawI...
[ "0.8258911", "0.81532556", "0.81532556", "0.81532556", "0.81532556", "0.8023361", "0.7908556", "0.78537923", "0.7830822", "0.7809931", "0.77840835", "0.7758547", "0.76809", "0.7635198", "0.7635198", "0.7635198", "0.7635198", "0.7635198", "0.75887394", "0.7536347", "0.7533999"...
0.7069091
61
Initialize a new instance of MissingPropertyError class.
def FIMM(YKHO, Emd4, FBeN, Ol8d=None, HFlg=None): if Ol8d is None: Ol8d = "{0}'s required property {1} is missing".format(Emd4, FBeN.key) super(eLkg, YKHO).__init__(Ol8d, HFlg) YKHO._cls = Emd4 YKHO._object_property = FBeN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XTaQ(Emd4, wEf2):\n return Emd4('properties_error', wEf2)", "def XTaQ(Emd4, wEf2):\n return Emd4('properties_error', wEf2)", "def XTaQ(Emd4, wEf2):\n return Emd4('properties_error', wEf2)", "def GPoV(YKHO):\n YKHO.assertRaises(yXsM, setattr, YKHO.launchpad, 'foo', 'bar')", "def FIMM(YKHO, O...
[ "0.63421303", "0.63421303", "0.63421303", "0.62106645", "0.61612475", "0.590448", "0.5769252", "0.57106405", "0.56896204", "0.56731457", "0.565375", "0.5645", "0.56342185", "0.56225395", "0.56225395", "0.56225395", "0.5621271", "0.5617478", "0.56135917", "0.5611346", "0.55994...
0.77984256
0
Creates a new PredictionWorkflow, with given inputs.
def So3G(YKHO, nPrm=None): Aofo = YKHO.client.post('/prediction_workflows', data=nPrm) if not 'id' in Aofo: raise pvzC('Unexpected response when creating Longivew Client!', json=Aofo) Z9rn = PxIZ(YKHO.client, Aofo['id'], Aofo) return Z9rn
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def avbW(YKHO, VsXF, NArs):\n pass", "def GXQ1():\n Q5PJ = cO4L.Transition(transition_id='create', title='create', source=None, destination=sXcr)\n Zcqr = cO4L.Transition(transition_id='publish', title='publish', source=sXcr, destination=klWb)\n GziJ = cO4L.Transition(transition_id='progress', title=...
[ "0.6323236", "0.62904596", "0.6267431", "0.625566", "0.6190222", "0.61898804", "0.61000717", "0.6083909", "0.59951746", "0.59415436", "0.59159666", "0.5823698", "0.58070785", "0.5800577", "0.5800081", "0.57330215", "0.5725048", "0.5696166", "0.56476235", "0.5641966", "0.56021...
0.7636801
0
Creates a new PredictionWorkflow, with given inputs.
def zQ0G(YKHO, nPrm=None): Aofo = YKHO.client.post('/loan_documents', data=nPrm) if not 'id' in Aofo: raise pvzC('Unexpected response when creating Longivew Client!', json=Aofo) Z9rn = jOO2(YKHO.client, Aofo['id'], Aofo) return Z9rn
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def So3G(YKHO, nPrm=None):\n Aofo = YKHO.client.post('/prediction_workflows', data=nPrm)\n if not 'id' in Aofo:\n raise pvzC('Unexpected response when creating Longivew Client!', json=Aofo)\n Z9rn = PxIZ(YKHO.client, Aofo['id'], Aofo)\n return Z9rn", "def avbW(YKHO, VsXF, NArs):\n pass", ...
[ "0.7636801", "0.6323236", "0.62904596", "0.6267431", "0.625566", "0.6190222", "0.61898804", "0.61000717", "0.6083909", "0.59951746", "0.59415436", "0.59159666", "0.5823698", "0.58070785", "0.5800577", "0.5800081", "0.57330215", "0.5725048", "0.5696166", "0.56476235", "0.56419...
0.0
-1
build the JSON payload to update an incident
def SvQJ(N3xY, jGRS, Ey19, B1Wx): pB3N = {'incident': {'type': 'incident_reference'}} if jGRS: pB3N['incident']['status'] = jGRS if Ey19: obns = F_ZX(N3xY, Tm69, Ey19) if obns: pB3N['incident']['priority'] = {'type': 'priority_reference', 'id': obns} if B1Wx: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aw36(N3xY):\n pB3N = {'incident': {'type': 'incident', 'title': N3xY['title']}}\n if N3xY['description']:\n pB3N['incident']['body'] = {'type': 'incident_body', 'details': N3xY['description']}\n if N3xY.get('incident_key'):\n pB3N['incident']['incident_key'] = N3xY['incident_key']\n i...
[ "0.65358967", "0.6424293", "0.6294422", "0.6281105", "0.6218926", "0.618762", "0.6140885", "0.6118728", "0.60735965", "0.59862477", "0.5985727", "0.5902318", "0.5826155", "0.5785127", "0.573663", "0.57154953", "0.55973506", "0.5574933", "0.5545294", "0.55355585", "0.54444015"...
0.69141173
0
Given two dicts, merge them into a new dict as a shallow copy.
def yQxF(WKvO, LVAh): epBp = WKvO.copy() epBp.update(LVAh) return epBp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IYhE(jzdc, Fg_i):\n Aofo = jzdc.copy()\n Aofo.update(Fg_i)\n return Aofo", "def ywpZ(WKvO, LVAh):\n epBp = WKvO.copy()\n epBp.update(LVAh)\n return epBp", "def yQxF(WKvO, LVAh):\n epBp = WKvO.copy()\n epBp.update(LVAh)\n return epBp", "def yQxF(WbPA, S69B):\n lXgg = WbPA.cop...
[ "0.86400956", "0.8523172", "0.84829825", "0.8464012", "0.846144", "0.84422696", "0.8350267", "0.82621753", "0.82417035", "0.81902796", "0.8169534", "0.8150745", "0.8145307", "0.8069141", "0.8057972", "0.8016415", "0.7997259", "0.79900795", "0.79878473", "0.7985123", "0.798493...
0.83855593
6
Sets the financing_level of this LeveragedProductInfoModel.
def MU60(YKHO, MU60): YKHO._financing_level = MU60
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xrHM(YKHO, xrHM):\n YKHO._financing_options = xrHM", "def ABDL(YKHO, ABDL):\n YKHO._level = ABDL", "def ABDL(YKHO, ABDL):\n YKHO._level = ABDL", "def fTst(YKHO, ABDL: int) -> None:\n YKHO.set_service_value(YKHO.dimmer_service, 'LoadLevelTarget', 'newLoadlevelTarget', ABDL)\n YKHO.set_cache...
[ "0.5617297", "0.5321165", "0.5321165", "0.5295624", "0.528932", "0.5262545", "0.5218255", "0.5107799", "0.50740594", "0.49924657", "0.49810708", "0.49810708", "0.4923299", "0.49095184", "0.48869446", "0.48849916", "0.4875917", "0.48729116", "0.48604316", "0.48534402", "0.4842...
0.7682791
0
Sets the remaining_value of this LeveragedProductInfoModel.
def AYSi(YKHO, AYSi): YKHO._remaining_value = AYSi
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nk_l(YKHO, nk_l):\n YKHO._remaining_quantity = nk_l", "def nk_l(YKHO, nk_l):\n YKHO._remaining_quantity = nk_l", "def nk_l(YKHO, nk_l):\n YKHO._remaining_quantity = nk_l", "def OAwr(YKHO, OAwr):\n YKHO._remaining = OAwr", "def hJYw(YKHO, hJYw):\n YKHO._remaining_balance = hJYw", "def h...
[ "0.6923946", "0.6923946", "0.6923946", "0.6643207", "0.619776", "0.619776", "0.59915316", "0.5715792", "0.57087654", "0.57033676", "0.5665687", "0.5636158", "0.5618231", "0.55488205", "0.5547871", "0.55255157", "0.5425305", "0.5402329", "0.5366305", "0.5366305", "0.5320271", ...
0.7604621
0
Returns the string representation of the model
def gTzM(YKHO): return CgYo.pformat(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.864179", "0.85105866", "0.7853924", "0.77452", "0.7712474", "0.76976854", "0.76601666", "0.7638181", "0.7621996", "0.76074743", "0.76074743", "0.76074743", "0.7607432", "0.7599404", "0.75858897", "0.7582702", "0.75715727", "0.75683635", "0.7539386", "0.7539386", "0.7528709...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): if not isinstance(Elif, aiTO): return True return YKHO.to_dict() != Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Create User oject from doc retrieved by email.
def sIWq(Emd4, D3lj): wk5E.logger.debug('try to load user %s from db.' % D3lj) try: A97Q = FYrf.User.objects.get(email=D3lj) except: A97Q = None if A97Q: return Emd4(user_id=A97Q.user_id, email=A97Q.email, username=A97Q.username, password=A97Q.password, mentor=A97Q.mentor, role=A...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lYUQ(YKHO, mWFP='Foo', D3lj='foo@test.com'):\n P6bq = mv1M(name=mWFP, email=D3lj)\n P6bq.put()\n return P6bq", "def xWi2(YKHO, v_sX, CRWJ, **wdCM):\n if not v_sX:\n raise ValueError('The given webmail must be set')\n v_sX = YKHO.normalize_email(v_sX)\n CBIr = YKHO.model(webmail=v_sX,...
[ "0.7194611", "0.6952913", "0.6851785", "0.68316287", "0.6762839", "0.6737458", "0.66815215", "0.66413516", "0.66240466", "0.66139615", "0.6607362", "0.66028273", "0.6591708", "0.6548934", "0.65436167", "0.6543338", "0.65352637", "0.65352637", "0.65352637", "0.65298676", "0.65...
0.6545065
14
create User object from doc retrieved by id.
def yKQM(Emd4, uJjO): try: A97Q = FYrf.User.objects.get(user_id=uJjO) except: A97Q = None if A97Q: return Emd4(user_id=A97Q.user_id, email=A97Q.email, username=A97Q.username, password=A97Q.password, mentor=A97Q.mentor, role=A97Q.role, register_t=A97Q.register_t, expire_t=A97Q.expire_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TKWP(Emd4, id):\n C3ST = Nc2H.query.filter_by(id=id).first()\n return Emd4.create_user_from_model(C3ST)", "def XMSA(YKHO, _eu6, V_D6, g95M=True):\n assert isinstance(_eu6, kLdZ.ObjectId)\n CBIr = YKHO.__user_fetch(YKHO.user_by_id_query(_eu6), fields=V_D6)\n if g95M:\n YKHO.__ensure_user...
[ "0.6904778", "0.6894035", "0.6851539", "0.67641926", "0.6740214", "0.6608398", "0.66048867", "0.6532471", "0.6517031", "0.6380025", "0.63704425", "0.63664025", "0.6336731", "0.6334985", "0.6334985", "0.6317234", "0.6304014", "0.6297713", "0.62875044", "0.62738067", "0.6263237...
0.7024488
0
Fourier Transform of tophat window fxn. This is written as a scalar function, could be vectorized.
def vty9(WKvO): vU1s = WKvO * WKvO if WKvO < 0.1: return 1.0 - vU1s / 10.0 + vU1s * vU1s / 280.0 - vU1s * vU1s * vU1s / 15120.0 else: return 3.0 * (oyIN.sin(WKvO) - WKvO * oyIN.cos(WKvO)) / (WKvO * vU1s)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D8MD(YKHO, KnxT=None):\n a1PO = YKHO.axis\n LVAh = YKHO.data\n if isinstance(a1PO, qupb):\n if KnxT is None:\n j__Q = m8Ml(YKHO.axis, XTiz.ones(YKHO.axis.length, dtype=SeVW))\n else:\n j__Q = KnxT\n LVAh = LVAh * j__Q.data\n yzQ0 = a1PO.get_FrequencyAx...
[ "0.7466598", "0.6932169", "0.6805102", "0.6773012", "0.6665961", "0.66326314", "0.6593537", "0.65162694", "0.65019286", "0.64965034", "0.64633095", "0.6461164", "0.64193904", "0.6362587", "0.6303689", "0.62879777", "0.62384754", "0.62177396", "0.6211049", "0.6195531", "0.6195...
0.0
-1
Input sigma instead of M if you already computed sigma(M).
def Nx8Y(YKHO, WTkW, ByO9=1.686): return ByO9 / WTkW
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WTkW(YKHO, Mkmy, E3D9, Z9rn, vCf_):\n raise NotImplementedError(\"NFWModel currently can't do sigmas!\")", "def CD0K(G1Hx=1, E3D9=100):\n KCHu = 0\n for G1Hx in range(1, E3D9 + 1):\n KCHu += 1 / G1Hx\n print(KCHu)", "def cnUa(WKvO, owMf):\n znmT = 1 - owMf ** 2\n return oyIN.sqrt(W...
[ "0.73312396", "0.7180914", "0.7104153", "0.70116293", "0.69840413", "0.68452144", "0.6833792", "0.6804725", "0.6795679", "0.6773145", "0.67693466", "0.67672175", "0.67136854", "0.67136854", "0.67034703", "0.66983664", "0.66715896", "0.66715896", "0.666538", "0.6663033", "0.66...
0.6327835
45
Evaluate the theory prediction for the mass function and compute/store sigma(M) along the way. Need to track Delta more carefully if it becomes a real variable.
def SEKm(YKHO, f7an=200000000000.0, FSkZ=1e+16, XGO0=0.01, ECCZ=None, jUrd=False): if ECCZ is None or jUrd == True: YKHO.mlist = 10 ** oyIN.arange(oyIN.log10(f7an), oyIN.log10(FSkZ), XGO0) YKHO.siglist, YKHO.mf = YKHO.dndlnM(YKHO.mlist, YKHO.zpk, wantsigma=True) YKHO.blist = YKHO.bJTnu(nu=YK...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OGZk(YKHO):\n if not pmON.exists(YKHO.errorCSV):\n print('No simulation for these parameters exists in Uncertainty data. Proceeding with simulation')\n iyYY = wOed(YKHO.nstep)\n iyYY.load_MIMO()\n fPjl = oyIN.arange(0, YKHO.maxError)\n ee6l = oyIN.array([0])\n P1dF ...
[ "0.62081426", "0.61970985", "0.61879784", "0.6136656", "0.60720134", "0.60245264", "0.5999925", "0.5999925", "0.598127", "0.5961269", "0.5952741", "0.5915706", "0.5914071", "0.5808351", "0.57771677", "0.57703066", "0.57694393", "0.5766717", "0.5759795", "0.5754763", "0.575038...
0.0
-1
3x3 convolution with padding
def Myly(UUZO, sYyA, _0fC=1): return U78l.Conv2d(UUZO, sYyA, kernel_size=3, stride=_0fC, padding=1, bias=False)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sx6c(input, KUnM, FEri, dvgN, wH3T='NHWC', mJgj=1, mWFP=None):\n return o6Bz(**locals())", "def Myly(UUZO, sYyA, _0fC=1, moMn=1, ivFb=1):\n return U78l.Conv2d(UUZO, sYyA, kernel_size=3, stride=_0fC, padding=0, groups=moMn, bias=False, dilation=ivFb)", "def DO8L(WKvO, yzQ0, UP6E=[0, 0, 0], FEri=[1, 1,...
[ "0.78404945", "0.7541354", "0.753996", "0.7491138", "0.7434801", "0.74207747", "0.73415834", "0.7320252", "0.7299599", "0.7287539", "0.72799367", "0.72799367", "0.7257735", "0.7226928", "0.72204214", "0.7214909", "0.7214909", "0.7210775", "0.7198222", "0.71639067", "0.7161914...
0.70801866
91
This function adds together each element of the two passed lists.
def NRJ7(WKvO, LVAh): if len(WKvO) != len(LVAh): raise ValueError('Both arrays must have the same length.') epBp = [] for A3mO, ijL8 in zip(WKvO, LVAh): epBp.append(A3mO + ijL8) return epBp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tAbv(Kt9y, I_KI):\n return [sum(wEf2) for wEf2 in zip(Kt9y, I_KI)]", "def jWLi(k0lF: List, tjUW: List) -> x1iM:\n return [WKvO + LVAh for WKvO, LVAh in zip(k0lF, tjUW)]", "def iN8N(jzdc, Fg_i):\n Z9rn = []\n for WKvO, LVAh in zip(jzdc, Fg_i):\n Z9rn.append(WKvO + LVAh)\n return Z9rn",...
[ "0.8600521", "0.8110794", "0.7990137", "0.7933017", "0.7861006", "0.7814336", "0.7681695", "0.7607679", "0.75489724", "0.75236404", "0.74974006", "0.74344784", "0.7389564", "0.73198634", "0.73014694", "0.7250556", "0.7232589", "0.7189993", "0.7188682", "0.7186719", "0.7114271...
0.6722843
58
String returns the current state as a string
def FgBH(chmV): DpUl = chmV.CurInputs() if len(DpUl) >= 4: return '%s %s=%s %s' % (DpUl[0], DpUl[1], DpUl[2], DpUl[3]) return ''
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qrTE(YKHO):\n _6Mr = ''\n for U6D_ in YKHO.current:\n _6Mr += U6D_\n return _6Mr", "def zAg0(YKHO):\n i8_y = 'Current Game State...\\n=======\\n'\n for YRbF in range(len(YKHO.stacks)):\n i8_y += '#%d %s\\n' % (YRbF, str(YKHO.stacks[YRbF]))\n i8_y += YKHO.hash() + '\\n'\n i8...
[ "0.861996", "0.8103987", "0.80819076", "0.8077242", "0.8014772", "0.7960385", "0.78657615", "0.7783021", "0.77737546", "0.77660966", "0.7731103", "0.77166563", "0.76233584", "0.7566267", "0.75189745", "0.75154936", "0.7503995", "0.7464384", "0.7457769", "0.7434877", "0.740866...
0.0
-1
Return list of rows with every row entry represented as a dict
def dixj(YKHO): return YKHO.result_list
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LBNI(YKHO):\n LBNI = []\n FcEx = TIXd(YKHO.fields)\n for rdlD in YKHO.rows:\n fHgE = dict()\n for mWFP, d6pt in FcEx.items():\n fHgE[mWFP] = rdlD[d6pt]\n LBNI.append(fHgE)\n return LBNI", "def J_um(YKHO):\n usx6 = []\n sjXb = list(YKHO.data.keys())\n u54L ...
[ "0.7835061", "0.76717615", "0.7647393", "0.75393426", "0.7417504", "0.73812944", "0.7357939", "0.7298981", "0.72485006", "0.7224283", "0.71252495", "0.7123797", "0.71081394", "0.70664275", "0.69488335", "0.6899564", "0.68419355", "0.68336254", "0.67946255", "0.67940664", "0.6...
0.0
-1
Apply canny to grey image and check return values
def octw(): VXjJ = xDSY.imread('white-square.tif') SGPK = {'data': [VXjJ], 'sigma': 1.0} Aofo = mC4V.canny(SGPK) SjMt(Aofo.sum(), 46)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pqKg(VXjJ, wKb9, ZxDD):\n return XC5k.Canny(VXjJ, wKb9, ZxDD)", "def pqKg(VXjJ, wKb9, ZxDD):\n return XC5k.Canny(VXjJ, wKb9, ZxDD)", "def pqKg(VXjJ, wKb9, ZxDD):\n return XC5k.Canny(VXjJ, wKb9, ZxDD)", "def pqKg(VXjJ, wKb9, ZxDD):\n return XC5k.Canny(VXjJ, wKb9, ZxDD)", "def pqKg(VXjJ, wKb9...
[ "0.7906808", "0.7906808", "0.7906808", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", "0.78622186", ...
0.82691705
0
Apply sobel to grey image and check return values Casting the result to 'uint8' changes the actual result. For now leave this as is (TODO improve this test, without casting to uint8).
def vco9(): VXjJ = xDSY.imread('white-square.tif') SGPK = {'data': [VXjJ]} Aofo = mC4V.sobel(SGPK) Aofo = Aofo.astype('uint8') SjMt(Aofo.sum(), 76)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Bvt9(LNo8):\n return KUnM.sobel(LNo8)", "def H9dw(LNo8):\n pass", "def edYD(LNo8):\n sVVp = oyIN.array([[-1, 0, 1], [-2, 0, 2], [-1, 0, 1]])\n SUc6 = oyIN.array([[-1, -2, -1], [0, 0, 0], [1, 2, 1]])\n WKvO = o6Bz(LNo8, sVVp)\n LVAh = o6Bz(LNo8, SUc6)\n return oyIN.sqrt(oyIN.square(WKvO...
[ "0.7588501", "0.7346603", "0.6753555", "0.6610525", "0.6594313", "0.6535296", "0.6374269", "0.6355743", "0.6301388", "0.6263583", "0.6255441", "0.6241736", "0.6174435", "0.61634225", "0.6114329", "0.6097398", "0.60704404", "0.6014111", "0.59837925", "0.59347004", "0.5919092",...
0.693956
2
bandpass filter for ECG signals.
def qqr4(nPrm, tjyO, AskH, Vb5F, T4Wy=2): Fg_i, jzdc = nJfv(tjyO, AskH, Vb5F, order=T4Wy) LVAh = Gaon.lfilter(Fg_i, jzdc, nPrm) return LVAh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jRlA(nPrm, fQqb):\n rY3y = fQqb / 2.0\n PsxV = [5 / rY3y, 15 / rY3y]\n ALpO, _Al5 = fJsr(2, PsxV, btype='bandpass')[:2]\n return bfm2(ALpO, _Al5, nPrm, padlen=150)", "def qwEm(YKHO, ROuu=5, ZEBt=20):\n YKHO.fc_low = ROuu\n YKHO.fc_high = ZEBt\n Fg_i, jzdc = Gaon.butter(2, [float(ROuu) * ...
[ "0.74613965", "0.6993796", "0.6946592", "0.69414634", "0.69339186", "0.686326", "0.68011117", "0.66732633", "0.6663546", "0.6643115", "0.6602581", "0.654869", "0.6547434", "0.6511776", "0.64993936", "0.6481313", "0.6436015", "0.6378625", "0.6368055", "0.6349756", "0.63180286"...
0.6377901
18
Check read or write permissions for the current user.
def d0C1(QePW, Eorv, yQHh=None): NKcE = yQHh or QePW.method if NKcE in hN5N: if 'public' not in Eorv.readers: ZMkR = (QePW.path_info == '/app/' or QePW.path_info.endswith('.html/')) and (not QePW.path_info.startswith('/app/docs/')) and ('callback' not in QePW.GET) if not ZMkR: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zPPm(YKHO, CBIr):\n if YKHO.user_can_write(CBIr):\n return True\n return YKHO.__has_access(CBIr, 'read')", "def zPPm(YKHO, CBIr):\n return YKHO.acl.user_can_read(CBIr)", "def dRYW(YKHO, CBIr):\n return YKHO.__has_access(CBIr, 'write')", "def S75c(OaeV, fmAV):\n if not OaeV.is_admin ...
[ "0.7849373", "0.74605757", "0.74577105", "0.7337321", "0.7277402", "0.7262142", "0.7237146", "0.72115064", "0.71817803", "0.7179929", "0.71741986", "0.7166234", "0.70975983", "0.7027541", "0.70102423", "0.6991796", "0.69888026", "0.6985249", "0.6966117", "0.69612783", "0.6953...
0.6902247
26
Counts the number of bits set to 1 in an integer.
def oI3y(UER4): UHFx = 0 while UER4: UHFx += UER4 & 1 UER4 >>= 1 return UHFx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def U1fu(qe9S):\n UHFx = 0\n while qe9S:\n UHFx += qe9S & 1\n qe9S >>= 1\n return UHFx", "def oI3y(exwG):\n UHFx = 0\n while exwG:\n UHFx += exwG & 1\n exwG = exwG >> 1\n return UHFx", "def g01t(YKHO):\n exwG = YKHO.bits\n mLGw = 0\n while exwG > 0:\n ...
[ "0.8686253", "0.81281614", "0.8097344", "0.8094225", "0.8075903", "0.803115", "0.80299395", "0.7994324", "0.78932077", "0.78242123", "0.76148576", "0.75606054", "0.7560553", "0.74513173", "0.74426234", "0.74067956", "0.73733956", "0.7316706", "0.72714305", "0.7258605", "0.716...
0.81488943
1
Returns an OptionParser object with all the default options.
def KzCv(): DMLg = PDen() DMLg.add_option('-e', '--experiment_id', dest='experiment_id', help='experiment ID') DMLg.add_option('-p', '--plate_ids', dest='plate_ids', help='plate ID') DMLg.add_option('-r', '--reading_label', dest='reading_label', default='OD600', help='Reading label') DMLg.add_option...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b4rG():\n xAU6 = KPGg.parse_args([])\n xAU6.extra_args = []\n return xAU6", "def b4rG(YKHO):\n return lE6K({}, YKHO.declared_options.values())", "def yl6v():\n wvEv = FCn1.OptionParser(__doc__.strip(), version=BtDU)\n KdLI(wvEv)\n Vzsd(wvEv)\n Ao2l(wvEv)\n LvxV(wvEv)\n lwAi(wv...
[ "0.7365119", "0.7187996", "0.71474105", "0.6980424", "0.692574", "0.68914974", "0.6888181", "0.6726008", "0.6682383", "0.66475785", "0.6597779", "0.65910554", "0.6569342", "0.65335846", "0.6508079", "0.6451343", "0.6410409", "0.6353934", "0.6349976", "0.63455683", "0.6342653"...
0.5955236
83