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
Construct string to represent state of a Warehouse object.
def wHJl(YKHO): return f'{{name: {YKHO.name}, inventory: {YKHO.inventory}}}'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return 'State{\\n %s \\n}' % '\\n'.join(['\\t{}: {}'.format(G1Hx, str(YRbF)) for G1Hx, YRbF in YKHO.__dict__.items() if not G1Hx.startswith('_')])", "def wHJl(YKHO):\n Y0Fj = f'{YKHO.generic_data.model_description} ({YKHO.generic_data.alm_sn})' if YKHO.generic_data else f'Indego mower'\n ...
[ "0.7256653", "0.6913048", "0.69105923", "0.68842596", "0.68682677", "0.6852593", "0.6821993", "0.6781534", "0.66950804", "0.66728586", "0.6663915", "0.66540194", "0.6608323", "0.65971166", "0.6587656", "0.65714157", "0.6554984", "0.6554984", "0.6551969", "0.6525995", "0.65154...
0.0
-1
Determine equality between this Warehouse and another Warehouse object. Warehouses are equal if their string and dictionary are equal
def xa14(YKHO, Elif): return YKHO.name == Elif.name and YKHO.inventory == Elif.inventory
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n if not isinstance(Elif, _bgf):\n return False\n return YKHO.__dict__ == Elif.__dict__", "def xa14(YKHO, Elif):\n if not isinstance(Elif, sSj7):\n return False\n return YKHO.to_dict() == Elif.to_dict()", "def xa14(YKHO, Elif):\n return YKHO.to_dict() == Elif....
[ "0.7948557", "0.7170479", "0.7016424", "0.69449925", "0.6897744", "0.68846875", "0.688359", "0.6883103", "0.6881208", "0.6877976", "0.6874027", "0.68657917", "0.68556607", "0.68495977", "0.68407816", "0.6839795", "0.6834746", "0.68320495", "0.68305945", "0.6819598", "0.681227...
0.69268245
4
Take the path of a docx file as argument, return the text in unicode.
def euWN(pmON): C13M = AvK2.ZipFile(pmON) TV_W = C13M.read('word/document.xml') C13M.close() J_Es = uVcd(TV_W) pZ8o = [] for HKwb in J_Es.getiterator(ROdG): z_aV = [Q6kx.text for Q6kx in HKwb.getiterator(tc7y) if Q6kx.text] if z_aV: pZ8o.append(''.join(z_aV)) retu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NJTg(pmON):\n C13M = AvK2.ZipFile(pmON)\n TV_W = C13M.read('word/document.xml')\n C13M.close()\n J_Es = uVcd(TV_W)\n pZ8o = []\n for HKwb in J_Es.getiterator(ROdG):\n z_aV = [Q6kx.text for Q6kx in HKwb.getiterator(tc7y) if Q6kx.text]\n if z_aV:\n pZ8o.append(''.join(z...
[ "0.6961579", "0.69044995", "0.6841418", "0.683513", "0.671468", "0.6673882", "0.6651373", "0.66489893", "0.6599617", "0.6589818", "0.6558427", "0.653237", "0.65203506", "0.65203506", "0.64998424", "0.64897865", "0.6488998", "0.64219314", "0.64152837", "0.6415136", "0.6384586"...
0.6377131
22
get number of params in module
def W6RH(YKHO): return oyIN.sum([oyIN.prod(list(yzQ0.size())) for yzQ0 in YKHO.parameters()])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v6DW(yR_P):\n KCHu = 0\n for k78t in yR_P.parameters():\n KCHu += k78t.numel()\n return KCHu", "def oHc6(YKHO) -> int:\n ...", "def StJt(yR_P):\n return int(oyIN.sum([oyIN.prod(list(XP5J.shape)) for XP5J in yR_P.parameters()]))", "def aRfZ(YKHO):\n return 1", "def rawS(*qIxc, *...
[ "0.8676028", "0.8406003", "0.81299084", "0.78882235", "0.78292", "0.7820097", "0.7754074", "0.7730075", "0.7674448", "0.7654766", "0.7603268", "0.7584755", "0.7539508", "0.7538906", "0.75311863", "0.7510611", "0.7510611", "0.7497879", "0.7493835", "0.74890566", "0.73911726", ...
0.0
-1
r"""Quote string according to
def FQK6(KCHu): if KCHu is None: return None QJFU = str(KCHu).replace('\\', '\\\\').replace("'", "\\'") return "'{}'".format(QJFU)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NCC9(vIwR):\n return \"'%s'\" % vIwR", "def NCC9(vIwR):\n return '\"%s\"' % vIwR", "def Lv2u(l5Ny):\n return \"'%s'\" % l5Ny.replace(\"'\", \"'\\\\''\")", "def NCC9(YKHO, wEf2):\n return \"'%s'\" % wEf2", "def EbkT(vIwR, aj0M=True):\n if aj0M:\n return '\"' + vIwR + '\"'\n else...
[ "0.7918153", "0.78451514", "0.7807301", "0.7664215", "0.7597097", "0.75932413", "0.7568382", "0.7566359", "0.74594104", "0.7422335", "0.7408295", "0.738777", "0.7381802", "0.7379747", "0.7357753", "0.7351309", "0.7341221", "0.73410964", "0.7338546", "0.73109883", "0.7310328",...
0.70556396
35
Return Nx3 normal array from Nx3 vertex array.
def odVu(iXlf): _19w = oyIN.array(iXlf, dtype=float) u8R3 = oyIN.zeros_like(_19w) for yKcO, Os4s in Zu14(oyIN.arange(0, _19w.shape[0] + 1, 3)): M8d_ = oyIN.vstack((_19w[yKcO + 1] - _19w[yKcO], _19w[yKcO + 2] - _19w[yKcO])) M8d_ /= oyIN.linalg.norm(M8d_, axis=1, keepdims=True) mhAC = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BzOC(YKHO, TN1U):\n exwG = (lY0q.c_double * 3)()\n TFHG.vertex_normal(YKHO.obj, TN1U, lY0q.byref(exwG))\n return oyIN.array([exwG[0], exwG[1], exwG[2]])", "def N0a4(YKHO):\n return gnPz.buf_to_npy(YKHO._ptr.contents.mesh_normal, (YKHO.nmeshvert, 3))", "def vIKo(_19w):\n PBQX = list(_19w)\n ...
[ "0.7643646", "0.7255931", "0.70004344", "0.6782431", "0.67090523", "0.6406774", "0.6367891", "0.63452506", "0.6335161", "0.630227", "0.6288161", "0.62731504", "0.6255017", "0.6244498", "0.6206411", "0.62022185", "0.6191224", "0.61887485", "0.61855537", "0.617927", "0.61496234...
0.6803249
3
Load model from json and h5 file. This method DOES NOT construct and compile model by itself. It will load the JSON file and pass it to _model_from_json() in order to load the model. This is done because each
def z12d(wM3v, aysJ, **B2fa): if not wM3v.endswith('.json'): wM3v += '.json' if not aysJ.endswith('.h5'): aysJ += '.h5' wM3v = open(wM3v, 'r') jlS7 = wM3v.read() wM3v.close() C3ST = kRkm(jlS7, **B2fa) C3ST = H1ms(C3ST, **B2fa) C3ST.load_weights(aysJ) return C3ST
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uyMl(YlGy, WgFT):\n bo34 = q9Fz()\n if not Hy7s.path.isfile(YlGy):\n bo34.error('path {} does not exit'.format(YlGy))\n HwRy.exit('---model.json--- does not exits')\n if not Hy7s.path.isfile(WgFT):\n bo34.error('path {} does not exit'.format(WgFT))\n HwRy.exit('---model.h5-...
[ "0.8227279", "0.80863845", "0.80328166", "0.7801838", "0.7801553", "0.7671659", "0.76475793", "0.75285274", "0.7502764", "0.7415016", "0.73813665", "0.7341472", "0.7335078", "0.73235106", "0.7312564", "0.7184866", "0.7142058", "0.7111799", "0.70690536", "0.70640653", "0.70474...
0.7699537
5
Inserts a word into the trie.
def JPHp(YKHO, GIN8: str) -> None: TXkI = YKHO.trie for Npgh in GIN8: if Npgh not in TXkI: TXkI[Npgh] = {} TXkI = TXkI[Npgh] TXkI['*'] = True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JPHp(YKHO, GIN8: str) -> None:\n jvSB = YKHO.node\n for YRbF in GIN8:\n if YRbF not in jvSB.char:\n jvSB.char[YRbF] = ep_x()\n jvSB = jvSB.char[YRbF]\n if jvSB.isword is False:\n jvSB.isword = True", "def JPHp(YKHO, GIN8: str) -> None:\n XP5J = YKHO.root\n for Y...
[ "0.89349735", "0.8875125", "0.8875101", "0.8866358", "0.8845251", "0.8834558", "0.8829343", "0.882393", "0.8821049", "0.88021266", "0.8796478", "0.8791212", "0.8786237", "0.87857157", "0.87853795", "0.8779776", "0.8779469", "0.87759435", "0.8770681", "0.8766946", "0.87568605"...
0.0
-1
Returns if the word is in the trie.
def TgwQ(YKHO, GIN8: str) -> bool: TXkI = YKHO.trie for Npgh in GIN8: if Npgh not in TXkI: return False TXkI = TXkI[Npgh] if '*' not in TXkI: return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FYXB(YKHO, GIN8):\n GIN8 = GIN8.strip()\n tk5Y = YKHO.root\n for Z9rn in GIN8:\n if Z9rn not in tk5Y:\n return False\n tk5Y = tk5Y[Z9rn]\n return tk5Y.end_of_word", "def DUe0(YKHO, ZOCz, GIN8):\n if type(GIN8) != str:\n raise TypeError('Trie only works on str!')...
[ "0.82730556", "0.8268669", "0.8264989", "0.821454", "0.8189983", "0.81762034", "0.81695247", "0.81329536", "0.7981468", "0.7973667", "0.7966321", "0.79540753", "0.7881218", "0.7876813", "0.78663623", "0.7835046", "0.7819606", "0.7812851", "0.7811768", "0.7795306", "0.77902055...
0.7510104
60
Returns if there is any word in the trie that starts with the given prefix.
def BYxH(YKHO, y0cW: str) -> bool: TXkI = YKHO.trie for Npgh in y0cW: if Npgh not in TXkI: return False TXkI = TXkI[Npgh] return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BYxH(YKHO, y0cW):\n GIN8 = y0cW\n if not GIN8:\n return True\n nsYX = GIN8[0]\n if nsYX not in YKHO.trie_map:\n return False\n Tifd = YKHO.trie_map[nsYX]\n for YRbF in range(1, len(GIN8)):\n LihS = GIN8[YRbF]\n if LihS not in Tifd.childMap:\n return Fals...
[ "0.86422646", "0.84566134", "0.8440822", "0.8416109", "0.84159887", "0.84072715", "0.8381726", "0.83704805", "0.8336194", "0.8327672", "0.8327336", "0.82398504", "0.8229601", "0.817308", "0.81603914", "0.8152725", "0.81473327", "0.8012112", "0.7984332", "0.7984332", "0.795577...
0.81158805
17
Returns the distance between two points with coords P1(ax,ay,az) and P2(bx,by,bz) based on vector geometry; returns float distance
def sgqM(aNZO, xQ3W, kDNl, bcP8, xEOs, nyuy): USa8 = float(aNZO) - float(bcP8) DVbG = float(xQ3W) - float(xEOs) KVj8 = float(kDNl) - float(nyuy) LR_J = USa8 * USa8 V5Q_ = DVbG * DVbG Y57w = KVj8 * KVj8 F8a4 = oyIN.sqrt(LR_J + V5Q_ + Y57w) return F8a4
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ayfi(hQHm, jlSq):\n return epAf.sqrt(epAf.pow(hQHm['x'] - jlSq['x'], 2) + epAf.pow(hQHm['y'] - jlSq['y'], 2))", "def BHxu(YKHO, hQHm: Vector, jlSq: Vector) -> float:\n ...", "def pImw(o4D3, si3g, ajwV=None, skBL=None):\n if isinstance(o4D3, lNLu) and isinstance(si3g, lNLu):\n EBgd = o4D3\n ...
[ "0.78466463", "0.763256", "0.762198", "0.75524324", "0.7545806", "0.7541989", "0.7541077", "0.7532109", "0.7520307", "0.74967855", "0.747268", "0.74649644", "0.7460824", "0.7457874", "0.7444319", "0.74297166", "0.73880446", "0.738185", "0.7380976", "0.73771787", "0.7374093", ...
0.0
-1
Returns the distance between two points with coords P1(ax,ay,az) and P2(bx,by,bz) based on vector geometry; returns float distance, but accounts for peridoic boundary conditions
def oWIG(aNZO, xQ3W, kDNl, bcP8, xEOs, nyuy, DHUq, BpDE, NT2c): V2SH = [] USa8 = float(aNZO) - float(bcP8) DVbG = float(xQ3W) - float(xEOs) KVj8 = float(kDNl) - float(nyuy) LR_J = USa8 * USa8 V5Q_ = DVbG * DVbG Y57w = KVj8 * KVj8 F8a4 = oyIN.sqrt(LR_J + V5Q_ + Y57w) V2SH.append(float...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ayfi(hQHm, jlSq):\n return epAf.sqrt(epAf.pow(hQHm['x'] - jlSq['x'], 2) + epAf.pow(hQHm['y'] - jlSq['y'], 2))", "def zG70(hQHm, jlSq):\n zH0p = rvwZ.get_vehicle_data(hQHm)\n BU9V = rvwZ.get_vehicle_data(jlSq)\n Ayfi = epAf.sqrt((zH0p[tqww] - BU9V[tqww]) ** 2 + (zH0p[JKZ8] - BU9V[JKZ8]) ** 2) - 4\...
[ "0.7299205", "0.7266717", "0.72281694", "0.7227983", "0.720598", "0.71982294", "0.71760535", "0.71537673", "0.7141994", "0.7140147", "0.7131065", "0.711526", "0.71057475", "0.7104018", "0.7075466", "0.7070359", "0.7066205", "0.70421034", "0.70336366", "0.70246553", "0.7019391...
0.68388283
48
The constructor of the baseline predictor
def FIMM(YKHO, NKcE='Jaccard', type='Unnormalized'): YKHO.method = NKcE YKHO.type = type YKHO.h_train = None YKHO.bsk_label_train = None YKHO.__union_train = None YKHO.ratio = None YKHO.step = 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, jlJJ):\n YKHO.num_baseline = jlJJ", "def FIMM(YKHO, SJGq, SrXr, uL3b):\n YKHO.beam = SJGq.beam * SrXr.beam * uL3b.beam", "def FIMM(YKHO):\n YKHO.posterior = mKjE()\n YKHO.variance = 0", "def FIMM(YKHO, k3nF: float=1, ITS7: datetime.date=qcWV.date.today()):\n YKHO.baseline = k3nF...
[ "0.73680115", "0.6894214", "0.68627024", "0.6856619", "0.68504715", "0.68504715", "0.68504715", "0.68504715", "0.68504715", "0.67718995", "0.6723996", "0.6664425", "0.6653929", "0.6603722", "0.65934706", "0.6554716", "0.64904577", "0.6484585", "0.64797556", "0.64718115", "0.6...
0.0
-1
Create an Edge instance
def FIMM(YKHO, UBGL, MCsb, UXqs, C9U5=None): if not UBGL: raise AttributeError('Attribute source_id is missing') if not MCsb: raise AttributeError('Attribute target_id is missing') if not UXqs: raise AttributeError('Attribute label is missing') YKHO.source_id = UBGL YKHO.targ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bsXo(YKHO, yKcO, Os4s):\n\n class Edge:\n\n def FIMM(YKHO, yKcO, Os4s):\n YKHO._start, YKHO._end = (yKcO, Os4s)\n\n def yKcO(YKHO):\n return YKHO._start\n\n def Os4s(YKHO):\n return YKHO._end\n\n def ncKI(YKHO):\n return {YKHO._start, Y...
[ "0.7808064", "0.77632", "0.7683654", "0.7652317", "0.75295687", "0.72772986", "0.7192611", "0.71720475", "0.7103915", "0.69695216", "0.6756755", "0.6632468", "0.65990585", "0.655879", "0.6540713", "0.65286684", "0.64834654", "0.6432255", "0.64248204", "0.64111036", "0.6382693...
0.0
-1
Add a vertex to the graph A copy of Vertex v will be added to the graph.
def ohmD(YKHO, Ty9i): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ohmD(YKHO, SLBp: Vertex) -> 'Graph':\n if YKHO.__vgraph:\n if SLBp.id() not in YKHO.__vertex_set:\n YKHO.__vgraph.add_node(SLBp.id(), SLBp.coordinate())\n YKHO.__vertex_set.add(SLBp.id())\n return YKHO._add_vertex(SLBp)", "def ohmD(YKHO, SLBp):\n Ty9i = Yegm(SLBp)\n YKHO._ver...
[ "0.8652248", "0.8438737", "0.8438737", "0.8438737", "0.8438737", "0.8438737", "0.83238906", "0.82527375", "0.82480925", "0.82198405", "0.803831", "0.80029374", "0.7981975", "0.7919083", "0.7892923", "0.78575325", "0.78575325", "0.7856957", "0.7845709", "0.78299236", "0.781064...
0.82507336
8
Remove an edge from the graph
def iyca(YKHO, tTpl): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iyca(YKHO, tTpl):\n try:\n YKHO.hyperedge.remove(set(tTpl))\n except ValueError:\n raise jHsn.NetworkXError('The edge %s is not in the hypergraph' % tTpl)", "def Qmvo(YKHO, D70y):\n YKHO.nodes[D70y[0]].neighbors.discard(D70y[1])\n YKHO.nodes[D70y[1]].neighbors.discard(D70y[0])", "...
[ "0.838488", "0.83341944", "0.8151133", "0.8137771", "0.80541575", "0.8041331", "0.8037057", "0.80235076", "0.7946995", "0.7852588", "0.783895", "0.7836491", "0.7810201", "0.7809764", "0.780289", "0.7781069", "0.7767829", "0.776401", "0.7757603", "0.77342135", "0.77334243", ...
0.8625693
0
Compute softmax values for each sets of scores in x.
def ZD5u(YKHO): bEQu = YKHO.softmax_data Gyhe = bEQu.shape[0] UXqs = YKHO.inbound_nodes[1].value UXqs = oyIN.reshape(UXqs, -1) BFeB = oyIN.copy(bEQu) BFeB[range(Gyhe), UXqs] -= 1.0 BFeB /= Gyhe YKHO.probs = BFeB YKHO.gradients[YKHO.inbound_nodes[0]] = BFeB YKHO.gradients[YKHO.inb...
{ "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.8011763", "0.7762068", "0.7762068", "0.76872087", "0.7672933", "0.76626015", "0.76593024", "0.76593024", "0.76593024", "0.76593024", "0.76593024", "0.76593024", "0.76593024", "0.76418614", "0.7628753", "0.75523245", "0.7533773", "0.7458778", "0.73250604", "0.7317943", "0.7...
0.0
-1
Calculate score of all unigrams
def HToP(YKHO, V22M, TZ9E): for YRbF in range(0, len(V22M)): GIN8 = V22M[YRbF] YKHO.keyword_score_mapping[GIN8] += YKHO.tag_score_mapping[TZ9E]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p1kx(YKHO, yAmx):\n p1kx = 0.0\n nKcD = '@NaW'\n ok3O = '<s>'\n for GIN8 in yAmx:\n Myy5 = GIN8\n pRhG = YKHO.bigramCounts[ok3O, Myy5]\n Kc5x = YKHO.trigramCounts[nKcD, ok3O, Myy5]\n if Kc5x > 0:\n p1kx += epAf.log(float(Kc5x) / YKHO.bigramCounts[nKcD, ok3O])\...
[ "0.7648876", "0.75916713", "0.7352019", "0.7345662", "0.7294734", "0.723713", "0.7195873", "0.7172518", "0.7060851", "0.68987375", "0.68974185", "0.6877935", "0.68775743", "0.6876565", "0.6836393", "0.6818442", "0.6817944", "0.67781216", "0.67277163", "0.6717893", "0.6701129"...
0.6294228
40
Calculate score of all trigrams
def _UTc(YKHO, V22M, TZ9E): for YRbF in range(0, len(V22M) - 2): v1Uc = V22M[YRbF] Um9G = V22M[YRbF + 1] DHhE = V22M[YRbF + 2] lXgg = v1Uc + ' ' + Um9G + ' ' + DHhE YKHO.keyword_score_mapping[lXgg] += YKHO.tag_score_mapping[TZ9E] * 2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p1kx(YKHO, yAmx):\n p1kx = 0\n _Y9h = None\n RaP5 = None\n TeBf = None\n for GIN8 in yAmx:\n NfG4 = YKHO.trigram_count[tuple([RaP5, _Y9h, GIN8])]\n vUpI = YKHO.bigram_count[tuple([RaP5, _Y9h])]\n if NfG4 > 0:\n p1kx += epAf.log(NfG4)\n p1kx -= epAf.log(...
[ "0.7674236", "0.7526602", "0.7503688", "0.74930835", "0.7449918", "0.7366895", "0.7278399", "0.7121594", "0.7037477", "0.6994996", "0.6986696", "0.69657147", "0.6950942", "0.6930334", "0.68650526", "0.67862344", "0.67540526", "0.6732107", "0.6730244", "0.6693976", "0.6616646"...
0.6639698
20
Make an optimizer of the given type (opt), for the given model's parameters with the given learning rate (lr)
def XgNT(C3ST, tspZ, y7GR, oNEO): KES0 = {'adam': sqQC.Adam, 'adamax': sqQC.Adamax, 'rmsprop': sqQC.RMSprop} K0do = KES0[y7GR](C3ST.parameters(), lr=tspZ, weight_decay=oNEO) return K0do
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Z2AK(y7GR, C3ST):\n return ht2j.optim.Adam(C3ST.parameters(), y7GR.LR)", "def pPbi(YKHO, C3ST, b0Ix):\n if YKHO.optim_type == 'adagrad':\n K0do = ht2j.optim.Adagrad(C3ST.parameters(), lr=b0Ix, weight_decay=YKHO.args.weight_decay)\n elif YKHO.optim_type == 'adadelta':\n K0do = ht2j.opti...
[ "0.7691803", "0.76557714", "0.7407676", "0.7346147", "0.73368", "0.73354554", "0.7328205", "0.73187333", "0.72134906", "0.72039557", "0.7197109", "0.71824366", "0.7173801", "0.7172501", "0.7170848", "0.7106895", "0.70797855", "0.7063166", "0.7030325", "0.70244384", "0.7021693...
0.77468586
0
Should return 400 Bad Request.
def WLiE(YKHO): geh0 = YKHO.app.put('api/1.0/comments/photos/{}'.format(YKHO.photo_ids[0]), data=qQXR.dumps(dict(comment='UnitTest Edited')), content_type='application/json', headers={'User': YKHO.valid_users[0], 'Authorization': YKHO.valid_tokens[0]}) YKHO.assertEqual(400, geh0.status_code)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e4S6(YKHO):\n Ylbp = RXWa(YKHO.get_request())\n NaW5(Ylbp.status_code, 400)", "def e4S6(YKHO):\n Ylbp = RXWa(YKHO.get_request())\n NaW5(Ylbp.status_code, 400)", "def _ef9():\n UAju = {'_request': ['bad request']}\n return P1dF(400, UAju)", "def yjyk(YKHO):\n return ja9q(title='Valida...
[ "0.83636105", "0.83636105", "0.81525606", "0.7920483", "0.7866504", "0.7863533", "0.7795658", "0.7767072", "0.7755248", "0.76901215", "0.76776576", "0.7669794", "0.7669403", "0.76634234", "0.7662219", "0.7659944", "0.7652925", "0.76152676", "0.7591818", "0.7591818", "0.758571...
0.0
-1
Should return 400 Bad Request.
def pgdY(YKHO): geh0 = YKHO.app.put('api/1.0/comments/photos/{}'.format(YKHO.photo_ids[0]), data=qQXR.dumps(dict(commentID=YKHO.valid_comment_ids[0])), content_type='application/json', headers={'User': YKHO.valid_users[0], 'Authorization': YKHO.valid_tokens[0]}) YKHO.assertEqual(400, geh0.status_code)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e4S6(YKHO):\n Ylbp = RXWa(YKHO.get_request())\n NaW5(Ylbp.status_code, 400)", "def e4S6(YKHO):\n Ylbp = RXWa(YKHO.get_request())\n NaW5(Ylbp.status_code, 400)", "def _ef9():\n UAju = {'_request': ['bad request']}\n return P1dF(400, UAju)", "def yjyk(YKHO):\n return ja9q(title='Valida...
[ "0.8363865", "0.8363865", "0.8153467", "0.7921686", "0.78668797", "0.7863312", "0.77966416", "0.77673626", "0.7756869", "0.76910704", "0.76794344", "0.7669235", "0.76682144", "0.7664835", "0.7663738", "0.76607645", "0.7652489", "0.7615265", "0.7593854", "0.7593854", "0.758628...
0.0
-1
Should return 401 Unauthorized. You can only edit your own comments.
def HpKv(YKHO): geh0 = YKHO.app.put('api/1.0/comments/photos/{}'.format(YKHO.photo_ids[1]), data=qQXR.dumps(dict(commentID=YKHO.valid_comment_ids[1], comment='UnitTest Edited')), content_type='application/json', headers={'User': YKHO.valid_comment_ids_userid[0], 'Authorization': YKHO.valid_tokens[0]}) YKHO.asse...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nkKr(YKHO):\n Ylbp = YKHO.client.get(n9t6)\n YKHO.assertEqual(Ylbp.status_code, jGRS.HTTP_401_UNAUTHORIZED)", "def ln19(YKHO):\n YKHO.client.logout()\n geh0 = YKHO.client.get('/api/comments/%s/' % YKHO.test_comment_id)\n YKHO.assertEqual(len(geh0.data), 1)\n YKHO.assertEqual(geh0.status_cod...
[ "0.73105985", "0.72833735", "0.7171194", "0.716792", "0.716024", "0.7116258", "0.69996405", "0.6896984", "0.6740378", "0.66975874", "0.6661372", "0.64947915", "0.6454134", "0.6425768", "0.63914156", "0.6320968", "0.6271064", "0.62373394", "0.6233359", "0.622316", "0.61688435"...
0.69176996
7
Should return 400 Bad Request.
def aw7L(YKHO): geh0 = YKHO.app.delete('api/1.0/comments/photos/{}'.format(YKHO.photo_ids[0]), data=qQXR.dumps(dict(commentID=None)), content_type='application/json', headers={'User': YKHO.valid_comment_ids_userid[0], 'Authorization': YKHO.valid_tokens[0]}) YKHO.assertEqual(400, geh0.status_code)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e4S6(YKHO):\n Ylbp = RXWa(YKHO.get_request())\n NaW5(Ylbp.status_code, 400)", "def e4S6(YKHO):\n Ylbp = RXWa(YKHO.get_request())\n NaW5(Ylbp.status_code, 400)", "def _ef9():\n UAju = {'_request': ['bad request']}\n return P1dF(400, UAju)", "def yjyk(YKHO):\n return ja9q(title='Valida...
[ "0.83636105", "0.83636105", "0.81525606", "0.7920483", "0.7866504", "0.7863533", "0.7795658", "0.7767072", "0.7755248", "0.76901215", "0.76776576", "0.7669794", "0.7669403", "0.76634234", "0.7662219", "0.7659944", "0.7652925", "0.76152676", "0.7591818", "0.7591818", "0.758571...
0.0
-1
Load the network of a specific model and the corresponding checkpoint. The Network needs to be applied (to generate the variables, that are instantiated in the _build of Sonnet) and then restored from the checkpoint. e.g. ``` network, checkpoint_name = load_network(ClassificationModel, model_dir, dataset, model_params,...
def XCN0(zAqw, CAYp, __n6, Aak1=None): Ggpo, UNGc, GPtr = huZr.process_conf_file(CAYp) PMQd(UNGc, __n6) eG0V = Hy7s.path.split(Hy7s.path.dirname(CAYp))[0] C3ST = zAqw(UNGc, eG0V) eVVj = C3ST._network pkan = C3ST.checkpoint_name(Aak1) return (eVVj, pkan)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wFag(YKHO):\n vauY = ht2j.load(YKHO.network_path)\n YKHO.config['MEAN'] = vauY['mean']\n YKHO.config['STD'] = vauY['std']\n Zxma = fRYb(YKHO.config)\n xA7f = vauY['model_state_dict']\n Zxma.load_state_dict(xA7f)\n return Zxma", "def uyMl(YKHO):\n YKHO.log.info('Beginning to load neura...
[ "0.736332", "0.7357831", "0.7336128", "0.73258996", "0.7239653", "0.7205727", "0.72037053", "0.7123969", "0.70201993", "0.7001935", "0.6982719", "0.6966054", "0.6938916", "0.6923844", "0.69228774", "0.6902301", "0.68915886", "0.68878955", "0.6864431", "0.68580174", "0.6824635...
0.670879
37
Return `True` if the given object satisfies this type constraint.
def SLjs(YKHO, YEnM): return YKHO.satisfied_by_type(type(YEnM))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vsdi(YKHO, WKvO, RKIx):\n if isinstance(RKIx, SnBA.NoneType):\n return True\n elif isinstance(RKIx, (set, UH90.sc.ndarray, UH90.ClTensor, UH90.ClFldTns)):\n return WKvO in RKIx\n elif isinstance(RKIx, s0V0):\n assert hasattr(WKvO, 'func_name')\n assert hasattr(WKvO, 'dom')\...
[ "0.65667874", "0.63909096", "0.6383576", "0.6258357", "0.61619925", "0.6161066", "0.6129547", "0.61292154", "0.61155164", "0.6077284", "0.6051498", "0.6048484", "0.6042011", "0.6041565", "0.59737796", "0.5970005", "0.59497416", "0.594837", "0.5936122", "0.59252787", "0.591572...
0.6362874
3
Constructor for the BackupPolicyProto_DailySchedule class
def FIMM(YKHO, Sm0u=None, ITS7=None): YKHO.days = Sm0u YKHO.time = ITS7
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(Ro_8, *, Q7YK: 'outputs.ResourcePolicyDailyCycleResponse', yG7o: 'outputs.ResourcePolicyHourlyCycleResponse', Aids: 'outputs.ResourcePolicyWeeklyCycleResponse'):\n qe4Y.set(Ro_8, 'daily_schedule', Q7YK)\n qe4Y.set(Ro_8, 'hourly_schedule', yG7o)\n qe4Y.set(Ro_8, 'weekly_schedule', Aids)", "def F...
[ "0.71611094", "0.6689868", "0.6621714", "0.6395127", "0.6392876", "0.63803387", "0.6293436", "0.6281437", "0.6240549", "0.61818177", "0.6132517", "0.612538", "0.61182225", "0.6117335", "0.610972", "0.6109085", "0.60880506", "0.603978", "0.6016105", "0.594983", "0.59472066", ...
0.5659187
41
Creates an instance of this model from a dictionary
def rQfz(Emd4, cmPJ): if cmPJ is None: return None Sm0u = cmPJ.get('days') ITS7 = qRGs.models.time.Time.from_dictionary(cmPJ.get('time')) if cmPJ.get('time') else None return Emd4(Sm0u, ITS7)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rQfz(Emd4, cmPJ):\n if cmPJ == None:\n return None\n else:\n mWFP = cmPJ.get('name')\n l8cJ = cmPJ.get('generic_id')\n Gsi3 = cmPJ.get('therauptic_uses')\n PALZ = cmPJ.get('search_score')\n return Emd4(mWFP, l8cJ, Gsi3, PALZ)", "def rQfz(Emd4, cmPJ):\n if cm...
[ "0.83722425", "0.8335738", "0.8215464", "0.8167521", "0.8167521", "0.81483614", "0.8051766", "0.80300796", "0.8013641", "0.79792094", "0.79221934", "0.7919166", "0.79183745", "0.79125935", "0.7906434", "0.79004663", "0.78967476", "0.7886129", "0.78760797", "0.78543913", "0.78...
0.0
-1
Returns a reversed version a dictionary of keys to listlike objects. Each value in each listlike becomes a key in the returned dictionary mapping to its key in the provided dictionary.
def l0O8(cmPJ): z21l = {} for UXqs, hkxX in cmPJ.items(): for BWXx in hkxX: z21l[BWXx] = UXqs return z21l
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GcSB(Csk6):\n Ycol = oRi_(list)\n for H5ew, hkxX in Csk6.items():\n for BWXx in hkxX:\n Ycol[BWXx].append(H5ew)\n return Ycol", "def mkOC(cmPJ):\n\n def CX33(H5ew, Q6uT):\n for ZfUD in Q6uT:\n yield (ZfUD, H5ew)\n Q6uT = (CX33(G1Hx, Ty9i) for G1Hx, Ty9i in j...
[ "0.8079848", "0.80219924", "0.76191914", "0.74414444", "0.7337867", "0.7318104", "0.7312447", "0.7274122", "0.71040815", "0.7101836", "0.7079484", "0.7056571", "0.70471674", "0.7029047", "0.70257974", "0.701691", "0.7008147", "0.7002409", "0.6996888", "0.6945084", "0.69302577...
0.6907618
21
Takes the product of elements in a list.
def UXrJ(yv6U): return xBlr.reduce(seET.mul, yv6U)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Lx3t(vC9B):\n QRFO = 1\n for WKvO in vC9B:\n QRFO *= WKvO\n return QRFO", "def QRFO(bCES):\n a1PO = 1\n for YRbF in bCES:\n a1PO *= YRbF\n return a1PO", "def Lx3t(vC9B):\n Lx3t = 1\n for YRbF in vC9B:\n Lx3t *= YRbF\n return Lx3t", "def xOW0(aO51):\n Lx3...
[ "0.8557408", "0.8488787", "0.84204304", "0.83724934", "0.8341562", "0.8280772", "0.81879145", "0.81387293", "0.81349516", "0.8070717", "0.80612516", "0.80428654", "0.80157584", "0.78604895", "0.7802935", "0.7787082", "0.7770966", "0.7737397", "0.77276355", "0.768761", "0.7646...
0.8666375
0
Check if a NumPy arraylike contains floats.
def cEmi(qw7D): try: return qw7D.dtype.kind == 'f' except AttributeError: return oyIN.asarray(qw7D).dtype.kind in rhbs
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PqjH(wEf2):\n return pznN(wEf2) and issubclass(wEf2.dtype.type, oyIN.floating)", "def PqjH(vC9B):\n if isinstance(vC9B, oyIN.ndarray):\n if vC9B.dtype.kind == 'f':\n return True\n return False", "def TJrU(EcVT) -> bool:\n return oyIN.issubdtype(type(EcVT), oyIN.floating) or (i...
[ "0.8417169", "0.8297729", "0.77487344", "0.76030636", "0.7587961", "0.7503132", "0.721295", "0.719465", "0.7190702", "0.71534324", "0.70929337", "0.7090881", "0.7021453", "0.698997", "0.69549906", "0.6908845", "0.6887198", "0.6836729", "0.6825074", "0.6813486", "0.6786146", ...
0.8221787
2
Method to return the SmartObjectsClient environment object matched to the environment variable.
def o9OH(i2I_): if i2I_ == 'production': bo34.info('Loading with environment: {0}'.format(i2I_)) return sl9A.Production elif i2I_ == 'sandbox': bo34.info('Loading with environment: {0}'.format(i2I_)) return sl9A.Sandbox else: bo34.error('Wrong environment value: {0}'....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sEAN(YKHO):\n return YKHO._client_env", "def Zlcc(YKHO):\n return YKHO._client_env", "def I0_M(YKHO):\n return getattr(YKHO, 'environment', {})", "def I0_M(GikI):\n if GikI in ['aws', 'local']:\n from retro_contest.local import make\n sEAN = make(game='SonicTheHedgehog-Genesis',...
[ "0.74332565", "0.7142861", "0.6799547", "0.6791757", "0.67785126", "0.6759836", "0.66749835", "0.6612632", "0.6599747", "0.6596964", "0.6510138", "0.6510138", "0.6510138", "0.6494952", "0.6493011", "0.6469377", "0.64582276", "0.64358574", "0.6423538", "0.6423538", "0.642294",...
0.0
-1
AWS Lambda handler to be triggered by the AWS IoT rules engine. To be used with events in a custom MQTT topic.
def QAtK(tvqc, QpfX): try: HXfl = _LON(event=jth9.deepcopy(tvqc)) rbUS(HXfl.device_id) RBVb = NScw(HXfl) bo34.info('Remaining time in ms: {0}'.format(QpfX.get_remaining_time_in_millis())) except Exception: bo34.error('An unexpected error occurred: event data is: {0}'.form...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cfQO(tvqc, QpfX):\n return", "def cfQO(tvqc, QpfX):\n MtqT: JU8P = rGWI.unmarshall(tvqc, JU8P)\n aeup: {{aopl.AWS_Schema_name}} = MtqT.detail\n MtqT.detail_type = 'HelloWorldFunction updated event of ' + MtqT.detail_type\n return rGWI.marshall(MtqT)", "def cfQO(tvqc: dict, QpfX) -> dict:\n ...
[ "0.7748216", "0.76261854", "0.7544881", "0.7518759", "0.7518759", "0.7518759", "0.7497316", "0.74733406", "0.7461603", "0.7446953", "0.74419075", "0.74306685", "0.738854", "0.73824024", "0.73617536", "0.7356651", "0.7352393", "0.7345958", "0.7332051", "0.73136896", "0.7310309...
0.0
-1
AWS Lambda handler to be triggered by the AWS IoT rules engine. To be used with shadow update documents.
def pBVv(tvqc, QpfX): try: HXfl = pM2E(event=jth9.deepcopy(tvqc)) rbUS(HXfl.device_id) RBVb = NScw(HXfl) bo34.info('Remaining time in ms: {0}'.format(QpfX.get_remaining_time_in_millis())) except Exception: bo34.error('An unexpected error occurred: event data is: {0}'.form...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cfQO(tvqc, QpfX):\n return", "def cfQO(tvqc, QpfX):\n MtqT: JU8P = rGWI.unmarshall(tvqc, JU8P)\n aeup: {{aopl.AWS_Schema_name}} = MtqT.detail\n MtqT.detail_type = 'HelloWorldFunction updated event of ' + MtqT.detail_type\n return rGWI.marshall(MtqT)", "def cfQO(tvqc, QpfX):\n try:\n ...
[ "0.7519815", "0.741894", "0.73680085", "0.72410417", "0.72410417", "0.72410417", "0.72109413", "0.7102474", "0.7077311", "0.70237", "0.69929403", "0.6970648", "0.69649893", "0.69635934", "0.69556963", "0.6955248", "0.6952684", "0.69205344", "0.688878", "0.6861845", "0.6861681...
0.0
-1
Return a new dictionary by merging two dictionaries recursively.
def vGZu(WbPA, S69B): Aofo = jth9.deepcopy(WbPA) for H5ew, BWXx in S69B.items(): if isinstance(BWXx, g760.abc.Mapping): Aofo[H5ew] = vGZu(Aofo.get(H5ew, {}), BWXx) else: Aofo[H5ew] = jth9.deepcopy(S69B[H5ew]) return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k1Ji(LFlW: Dict[str, Any], _tIi: Dict[str, Any]) -> cuzp[str, ImMB]:\n for H5ew, BWXx in LFlW.items():\n if H5ew in _tIi:\n if isinstance(BWXx, g760.Mapping) and isinstance(_tIi[H5ew], g760.Mapping):\n _tIi[H5ew] = k1Ji(BWXx, _tIi[H5ew])\n XIcQ = LFlW.copy()\n XIcQ.upd...
[ "0.8103655", "0.8060445", "0.7984465", "0.796432", "0.7963482", "0.7866066", "0.78589034", "0.783726", "0.7816905", "0.7777518", "0.7771059", "0.773371", "0.76888686", "0.7688618", "0.76679707", "0.7661365", "0.7632865", "0.7619905", "0.760453", "0.7554832", "0.75478905", "...
0.73277175
58
Test being able to unload an entry.
async def test_failed_test_connection(ajET: HomeAssistant, e_Cy) -> None: bTKY = Jaru(domain=U1Yv.DOMAIN, data=HMjO, title='test-instance', options=tPXq) bTKY.add_to_hass(ajET) e_Cy.side_effect = ECWf('Test') await ajET.config_entries.async_setup(bTKY.entry_id) assert bTKY.state == gpxd.SETUP_RETRY
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def test_unload_entry(RUgX):\n bTKY = await OSs1(RUgX)\n assert len(RUgX.config_entries.async_entries(Sugg)) == 1\n assert bTKY.state is gpxd.LOADED\n assert await RUgX.config_entries.async_unload(bTKY.entry_id)\n await RUgX.async_block_till_done()\n assert bTKY.state is gpxd.NOT_LOADED\n ...
[ "0.7706667", "0.7673078", "0.75628686", "0.7387601", "0.73744255", "0.7346598", "0.7282274", "0.72140145", "0.72117835", "0.70297563", "0.6999229", "0.6988687", "0.69671583", "0.6921357", "0.68563753", "0.6814451", "0.67845416", "0.6774565", "0.6765122", "0.675876", "0.675408...
0.0
-1
Returns the Fiedler eigenvalue for Lr La
def FvZC(YKHO): return YKHO.get_fied(YKHO.rep_lap - YKHO.att_lap)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eExM(YKHO):\n return oyIN.float64(oyIN.sum(map(lambda WKvO: oyIN.sqrt(WKvO), YKHO.spectrum('laplacian')), dtype=oyIN.longdouble))", "def LOH3(ABDL, EhIg, jzdc=1.0):\n ABDL = int(ABDL)\n zHBR(ABDL, EhIg)\n pHXX = jzdc ** 2\n return -pHXX * (oyIN.sqrt(EhIg * (EhIg + 1) / pHXX + 0.25) - ABDL + 0....
[ "0.6874339", "0.6571794", "0.6540944", "0.6540944", "0.6447493", "0.6433516", "0.6384117", "0.63595706", "0.633079", "0.62938917", "0.6274079", "0.6215747", "0.6171154", "0.6161642", "0.61388755", "0.61388755", "0.61368674", "0.6116062", "0.6074781", "0.6068669", "0.6048327",...
0.0
-1
Returns the average connectivity for Lr La, which corresponds to the average
def k66K(YKHO): vC9B = YKHO.rep_lap - YKHO.att_lap i9Rn = 0 for YRbF in range(YKHO.n): for r845 in range(YKHO.n): if YRbF != r845 and vC9B[YRbF][r845] != 0: i9Rn = i9Rn + 1 return i9Rn / YKHO.n
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IL0n(fyP7: np.ndarray) -> float:\n eQUr = fyP7.copy()\n if (eQUr != eQUr.T).any():\n eQUr[eQUr != eQUr.T] = True\n tjON = oyIN.diag(eQUr.sum(axis=1))\n foq8 = tjON - eQUr\n q33i = oyIN.linalg.eigvalsh(foq8)\n IL0n = oyIN.sort(q33i)[1] / len(q33i)\n return oyIN.maximum(IL0n, 0.0)", ...
[ "0.62746596", "0.6184965", "0.60395217", "0.59474975", "0.58041626", "0.57815206", "0.5655256", "0.5592415", "0.55577165", "0.55350655", "0.552735", "0.5479543", "0.5475586", "0.54752904", "0.54737866", "0.54684937", "0.54406804", "0.5423685", "0.5406771", "0.54017216", "0.53...
0.66118497
0
Initial number of instances.
def X4Tl(YKHO) -> qe4Y.Input[int]: return qe4Y.get(YKHO, 'replicas')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PObR(YKHO):\n YKHO.counter = 0", "def Ep5Y(YKHO):\n raise ysXe('num_instances')", "def Ep5Y(YKHO) -> int:\n return YKHO.__num_instances", "def FIMM(YKHO, exwG):\n YKHO._id = list(range(exwG))", "def FIMM(YKHO, exwG: int):\n YKHO._count = exwG\n YKHO._id = [YRbF for YRbF in range(exwG)...
[ "0.70872957", "0.68608665", "0.6834546", "0.6747114", "0.6532582", "0.65317845", "0.64761406", "0.6472391", "0.6469755", "0.64184713", "0.6415295", "0.6396991", "0.6384505", "0.6381586", "0.63667995", "0.63579816", "0.6353534", "0.6352582", "0.63439417", "0.6343441", "0.62991...
0.0
-1
The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
def aguC(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'acr_instance_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return ...
[ "0.74099785", "0.74099785", "0.74099785", "0.74099785", "0.74099785", "0.74099785", "0.74099785", "0.7409445", "0.7405915", "0.73575777", "0.73425436", "0.73092735", "0.73092735", "0.73092735", "0.73092735", "0.73092735", "0.73092735", "0.7261686", "0.7218981", "0.71955174", ...
0.7037679
25
SAE namespace ID. Only namespaces whose names are lowercase letters and dashes () are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
def eucH(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'namespace_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eucH(YKHO) -> str:\n return qe4Y.get(YKHO, 'namespace_id')", "def eucH(YKHO) -> str:\n return qe4Y.get(YKHO, 'namespace_id')", "def eucH(YKHO) -> str:\n return qe4Y.get(YKHO, 'namespace_id')", "def eucH(YKHO):\n if YKHO._namespace_id_present:\n return YKHO._namespace_id_value\n else...
[ "0.76398045", "0.76398045", "0.76398045", "0.7384686", "0.7320823", "0.719337", "0.7142671", "0.7142671", "0.71416104", "0.71195465", "0.70662844", "0.69493145", "0.69493145", "0.69155914", "0.65176624", "0.64311546", "0.62467194", "0.62331337", "0.6104854", "0.6104854", "0.6...
0.69586134
14
The version number of the deployment package. Required when the Package Type is War and FatJar.
def eJy1(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'package_version')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eJy1(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'package_version')", "def eJy1(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'package_version')", "def eJy1(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'package_version')", "def kaPv(YKHO):\n return YKHO.get_single('/package/v...
[ "0.7648763", "0.7648763", "0.74819857", "0.7435409", "0.74291325", "0.73537046", "0.726997", "0.71699566", "0.7147184", "0.71160173", "0.7099163", "0.7041394", "0.70331216", "0.70171756", "0.69939834", "0.6987828", "0.69848055", "0.69666153", "0.6959044", "0.6959044", "0.6941...
0.7499321
2
The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
def aguC(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'acr_instance_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return ...
[ "0.74099785", "0.74099785", "0.74099785", "0.74099785", "0.74099785", "0.74099785", "0.74099785", "0.7409445", "0.7405915", "0.73575777", "0.73425436", "0.73092735", "0.73092735", "0.73092735", "0.73092735", "0.73092735", "0.73092735", "0.7261686", "0.7218981", "0.71955174", ...
0.7037679
26
SAE namespace ID. Only namespaces whose names are lowercase letters and dashes () are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
def eucH(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'namespace_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eucH(YKHO) -> str:\n return qe4Y.get(YKHO, 'namespace_id')", "def eucH(YKHO) -> str:\n return qe4Y.get(YKHO, 'namespace_id')", "def eucH(YKHO) -> str:\n return qe4Y.get(YKHO, 'namespace_id')", "def eucH(YKHO):\n if YKHO._namespace_id_present:\n return YKHO._namespace_id_value\n else...
[ "0.7638536", "0.7638536", "0.7638536", "0.73820287", "0.73193187", "0.71916074", "0.71410567", "0.71410567", "0.7139986", "0.7118075", "0.7065433", "0.6947745", "0.6947745", "0.69164175", "0.65185344", "0.64314675", "0.6247608", "0.6234235", "0.610472", "0.610472", "0.610472"...
0.6957165
15
The version number of the deployment package. Required when the Package Type is War and FatJar.
def eJy1(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'package_version')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eJy1(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'package_version')", "def eJy1(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'package_version')", "def eJy1(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'package_version')", "def kaPv(YKHO):\n return YKHO.get_single('/package/v...
[ "0.76513356", "0.76513356", "0.74841887", "0.74375486", "0.74307716", "0.7356596", "0.7272231", "0.71707034", "0.71485126", "0.71176165", "0.71005106", "0.7042793", "0.70338136", "0.70180154", "0.69960314", "0.698907", "0.6986045", "0.6967375", "0.69600326", "0.69600326", "0....
0.7501284
3
Initial number of instances.
def X4Tl(YKHO) -> h8nf[qe4Y.Input[int]]: return qe4Y.get(YKHO, 'replicas')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PObR(YKHO):\n YKHO.counter = 0", "def Ep5Y(YKHO):\n raise ysXe('num_instances')", "def Ep5Y(YKHO) -> int:\n return YKHO.__num_instances", "def FIMM(YKHO, exwG):\n YKHO._id = list(range(exwG))", "def FIMM(YKHO, exwG: int):\n YKHO._count = exwG\n YKHO._id = [YRbF for YRbF in range(exwG)...
[ "0.7086149", "0.6860464", "0.68346035", "0.6747184", "0.65323853", "0.65315104", "0.6475924", "0.64715207", "0.6470178", "0.64177895", "0.641518", "0.6396488", "0.63841826", "0.6381777", "0.6367939", "0.63581413", "0.63528705", "0.63528234", "0.6343296", "0.6342976", "0.62989...
0.0
-1
Provides a Serverless App Engine (SAE) Application resource.
def FIMM(Ro_8, kFeU: str, VKhi: Optional[pulumi.ResourceOptions]=None, xisS: Optional[pulumi.Input[str]]=None, aguC: Optional[pulumi.Input[str]]=None, Mlug: Optional[pulumi.Input[str]]=None, kvcN: Optional[pulumi.Input[str]]=None, Tyd2: Optional[pulumi.Input[bool]]=None, yfea: Optional[pulumi.Input[bool]]=None, GaO2: O...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LUif():\n return yPQU", "def LUif(Emd4):\n return SCWY", "def cfvX():\n return QuTo(_TPe())", "def LUif(YKHO):\n return P4t4", "def LUif() -> jA2G.Application:\n GPtr = BNGj()\n EsWC(profile=GPtr['api.lsst.codes/profile'], log_level=GPtr['api.lsst.codes/logLevel'], logger_name=GPtr['a...
[ "0.7147067", "0.70963", "0.7018197", "0.7015458", "0.6993958", "0.6940119", "0.6907325", "0.6903244", "0.6884834", "0.68798906", "0.6870766", "0.6862671", "0.6838243", "0.676418", "0.6750037", "0.67329687", "0.6695386", "0.6673543", "0.666535", "0.6651403", "0.66364694", "0...
0.0
-1
Provides a Serverless App Engine (SAE) Application resource.
def FIMM(Ro_8, kFeU: str, qIxc: ApplicationArgs, VKhi: Optional[pulumi.ResourceOptions]=None): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LUif():\n return yPQU", "def LUif(Emd4):\n return SCWY", "def cfvX():\n return QuTo(_TPe())", "def LUif(YKHO):\n return P4t4", "def LUif() -> jA2G.Application:\n GPtr = BNGj()\n EsWC(profile=GPtr['api.lsst.codes/profile'], log_level=GPtr['api.lsst.codes/logLevel'], logger_name=GPtr['a...
[ "0.714762", "0.70975095", "0.70193684", "0.7016614", "0.69941336", "0.69412434", "0.690861", "0.6903591", "0.6885526", "0.68812287", "0.6871794", "0.6863726", "0.6839217", "0.6764316", "0.6750645", "0.67344934", "0.66960424", "0.66740274", "0.6666516", "0.66521925", "0.663682...
0.0
-1
The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
def aguC(YKHO) -> qe4Y.Output[h8nf[str]]: return qe4Y.get(YKHO, 'acr_instance_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return ...
[ "0.74099785", "0.74099785", "0.74099785", "0.74099785", "0.74099785", "0.74099785", "0.74099785", "0.7409445", "0.7405915", "0.73575777", "0.73425436", "0.73092735", "0.73092735", "0.73092735", "0.73092735", "0.73092735", "0.73092735", "0.7261686", "0.7218981", "0.71955174", ...
0.7173381
20
SAE namespace ID. Only namespaces whose names are lowercase letters and dashes () are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
def eucH(YKHO) -> qe4Y.Output[h8nf[str]]: return qe4Y.get(YKHO, 'namespace_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eucH(YKHO) -> str:\n return qe4Y.get(YKHO, 'namespace_id')", "def eucH(YKHO) -> str:\n return qe4Y.get(YKHO, 'namespace_id')", "def eucH(YKHO) -> str:\n return qe4Y.get(YKHO, 'namespace_id')", "def eucH(YKHO):\n if YKHO._namespace_id_present:\n return YKHO._namespace_id_value\n else...
[ "0.7638536", "0.7638536", "0.7638536", "0.73820287", "0.73193187", "0.71916074", "0.7139986", "0.7118075", "0.7065433", "0.6957165", "0.6957165", "0.6957165", "0.6957165", "0.6957165", "0.6947745", "0.6947745", "0.69164175", "0.65185344", "0.64314675", "0.6247608", "0.6234235...
0.71410567
7
The version number of the deployment package. Required when the Package Type is War and FatJar.
def eJy1(YKHO) -> qe4Y.Output[str]: return qe4Y.get(YKHO, 'package_version')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eJy1(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'package_version')", "def eJy1(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'package_version')", "def eJy1(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'package_version')", "def eJy1(YKHO) -> qe4Y.Input[str]:\n ...
[ "0.7501284", "0.7501284", "0.7501284", "0.74841887", "0.74375486", "0.74307716", "0.7356596", "0.7272231", "0.71707034", "0.71485126", "0.71176165", "0.71005106", "0.7042793", "0.70338136", "0.70180154", "0.69960314", "0.698907", "0.6986045", "0.6967375", "0.69600326", "0.696...
0.76513356
0
Initial number of instances.
def X4Tl(YKHO) -> qe4Y.Output[int]: return qe4Y.get(YKHO, 'replicas')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PObR(YKHO):\n YKHO.counter = 0", "def Ep5Y(YKHO):\n raise ysXe('num_instances')", "def Ep5Y(YKHO) -> int:\n return YKHO.__num_instances", "def FIMM(YKHO, exwG):\n YKHO._id = list(range(exwG))", "def FIMM(YKHO, exwG: int):\n YKHO._count = exwG\n YKHO._id = [YRbF for YRbF in range(exwG)...
[ "0.7086149", "0.6860464", "0.68346035", "0.6747184", "0.65323853", "0.65315104", "0.6475924", "0.64715207", "0.6470178", "0.64177895", "0.641518", "0.6396488", "0.63841826", "0.6381777", "0.6367939", "0.63581413", "0.63528705", "0.63528234", "0.6343296", "0.6342976", "0.62989...
0.0
-1
Tokenization/string cleaning for all datasets except for SST. Every dataset is lower cased except for TREC
def LNLQ(YKHO, vIwR, sG8V=False): vIwR = ZbWC.sub('\\w+:\\/{2}[\\d\\w-]+(\\.[\\d\\w-]+)*(?:(?:\\/[^\\s/]*))*', '', vIwR) vIwR = ZbWC.sub("[^A-Za-z0-9(),!?\\'\\`]", ' ', vIwR) vIwR = ZbWC.sub("\\'s", " 's", vIwR) vIwR = ZbWC.sub("\\'ve", " 've", vIwR) vIwR = ZbWC.sub("n\\'t", " n't", vIwR) vIwR =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KElI(__n6):\n if isinstance(__n6, list):\n return [str.lower(YRbF.replace(' ', '')) for YRbF in __n6]\n elif isinstance(__n6, str):\n return str.lower(__n6.replace(' ', ''))\n else:\n return ' '", "def TfmK(__n6, xhP4):\n b0j5 = Dhdw.tokenize.RegexpTokenizer('[a-zA-Z]+')\n ...
[ "0.723264", "0.71126246", "0.6478376", "0.645974", "0.64235204", "0.6389056", "0.63096213", "0.6301479", "0.62849444", "0.62491655", "0.6238111", "0.619941", "0.6182486", "0.61789143", "0.6164874", "0.61512053", "0.6146912", "0.6141274", "0.6133319", "0.6132309", "0.6101429",...
0.0
-1
Init a distance object
def FIMM(YKHO, OhBQ, pO5v='levenstein', Wbxz=None): assert isinstance(OhBQ, rzdZ) assert pO5v in YKHO._distance_metric.keys() YKHO.phonetics = OhBQ if not Wbxz: YKHO.metrics = YKHO._distance_metric[pO5v] else: YKHO.metrics = Wbxz
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, Ayfi, nPs7):\n YKHO.distance = Ayfi\n YKHO.nearestNeighbor = nPs7", "def FIMM(YKHO, hgjH: Location, Ayfi: float) -> None:\n YKHO.center = hgjH\n YKHO.distance = Ayfi", "def FIMM(YKHO):\n YKHO.location = tuKI.randint(1, 1000)\n YKHO.distance = [0, 0]", "def FIMM(YKHO, Ayfi, aC...
[ "0.81910646", "0.78773326", "0.7751388", "0.7491043", "0.73207355", "0.72231954", "0.72192043", "0.72033685", "0.71072364", "0.6981049", "0.697898", "0.69615823", "0.68209976", "0.68209976", "0.6814038", "0.6799916", "0.6791363", "0.67733943", "0.67660594", "0.6746318", "0.67...
0.0
-1
Init a distance object
def FIMM(YKHO, xDc1, _elf, pO5v='levenstein', Wbxz=None): assert isinstance(xDc1, N7u4) and isinstance(_elf, N7u4) or (isinstance(xDc1, KH0f) and isinstance(_elf, KH0f)) assert pO5v in YKHO._distance_metric.keys() YKHO.phonetics1 = xDc1 YKHO.phonetics2 = _elf if not Wbxz: YKHO.metrics = YKHO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, Ayfi, nPs7):\n YKHO.distance = Ayfi\n YKHO.nearestNeighbor = nPs7", "def FIMM(YKHO, hgjH: Location, Ayfi: float) -> None:\n YKHO.center = hgjH\n YKHO.distance = Ayfi", "def FIMM(YKHO):\n YKHO.location = tuKI.randint(1, 1000)\n YKHO.distance = [0, 0]", "def FIMM(YKHO, Ayfi, aC...
[ "0.81910646", "0.78773326", "0.7751388", "0.7491043", "0.73207355", "0.72231954", "0.72192043", "0.72033685", "0.71072364", "0.6981049", "0.697898", "0.69615823", "0.68209976", "0.68209976", "0.6814038", "0.6799916", "0.6791363", "0.67733943", "0.67660594", "0.6746318", "0.67...
0.0
-1
return the area of the zone
def sAdl(epBp): return epBp['area']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sAdl(YKHO):\n return YKHO._area", "def sAdl(YKHO):\n return YKHO.__area", "def sAdl(YKHO):\n return YKHO.__area", "def f0tD(YKHO):\n return rSWe(YKHO.dimensions).area()", "def drdQ(YKHO):\n return YKHO.area", "def f0tD(YKHO):\n return YKHO._area", "def f0tD(YKHO):\n return YKHO...
[ "0.781048", "0.7769154", "0.7769154", "0.77676934", "0.7755508", "0.7700268", "0.7700268", "0.7677295", "0.76721776", "0.76514494", "0.76444644", "0.7634376", "0.7634376", "0.7634376", "0.76026815", "0.76015675", "0.75983", "0.759384", "0.7580099", "0.75626546", "0.7561854", ...
0.75902
18
Returns DNA reverse complement of input string. Operates by reversing the string and calling watsoncrick on every element
def o2Wp(aWuw): Aofo = list(map(R7xG, aWuw)) Aofo.reverse() return ''.join(Aofo)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wx1e(vIwR):\n lkDU = {'A': 'T', 'G': 'C', 'T': 'A', 'C': 'G'}\n y8ay = []\n for hcXw in vIwR:\n y8ay.append(lkDU[hcXw])\n return ''.join(y8ay[::-1])", "def zF1v(ytkQ):\n return ''.join([Q6bk(d3dn) for d3dn in reversed(ytkQ)])", "def zF1v(ytkQ):\n ViOZ = map(Q6bk, ytkQ)\n ViOZ.re...
[ "0.7770144", "0.7570011", "0.75537413", "0.7518595", "0.75101674", "0.7480848", "0.7456503", "0.7385743", "0.7330956", "0.7326978", "0.73102987", "0.72894174", "0.72526646", "0.7191732", "0.71852005", "0.7182465", "0.7181108", "0.7169052", "0.7140794", "0.7127268", "0.7124567...
0.67672807
46
Returns the length of the next sequence. Should not be combined with next, as seqs get discarded
def QZBf(YKHO, icu4=False): jzdc = next(YKHO) if len(jzdc) == 2: if icu4: return (len(jzdc[1]), jzdc[0]) else: return len(jzdc[1])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def E0ZB(YKHO) -> int:\n return len(next(iter(YKHO)).sequence)", "def u54L(YKHO):\n if YKHO._next:\n return 1 + YKHO._next.length()\n elif YKHO._value:\n return 1\n else:\n return 0", "def u54L(Q6uT):\n return len(Q6uT)", "def tsWk(Q6uT):\n return sum((1 for IaaG in Q6u...
[ "0.7899393", "0.7697205", "0.74485534", "0.7437882", "0.725587", "0.7211892", "0.71805406", "0.71791106", "0.7146326", "0.71402806", "0.7122574", "0.7090266", "0.7060171", "0.6977689", "0.6934748", "0.68635684", "0.6842838", "0.6828654", "0.6826386", "0.68092036", "0.68081975...
0.73700213
4
Closes the fasta file.
def DDI8(YKHO): YKHO.file.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DDI8(YKHO):\n YKHO.fileHandle.close()\n try:\n del YKHO.fastaFileHandle\n except:\n pass", "def upVe(YKHO):\n YKHO._iostream.close()", "def qsZa(YKHO):\n YKHO.f.close()", "def DDI8(nUeQ):\n nUeQ.close()", "def qsZa(YKHO):\n YKHO.output_file.close()", "def DDI8(YKHO)...
[ "0.7894884", "0.71808136", "0.7098794", "0.70695484", "0.70225435", "0.6991508", "0.6991508", "0.6991508", "0.69834334", "0.69834334", "0.6904435", "0.69041395", "0.689827", "0.689827", "0.689827", "0.6892867", "0.6889505", "0.6883969", "0.6883969", "0.6883969", "0.6883969", ...
0.6839196
27
Closes the fasta file.
def DDI8(YKHO): YKHO.file.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DDI8(YKHO):\n YKHO.fileHandle.close()\n try:\n del YKHO.fastaFileHandle\n except:\n pass", "def upVe(YKHO):\n YKHO._iostream.close()", "def qsZa(YKHO):\n YKHO.f.close()", "def DDI8(nUeQ):\n nUeQ.close()", "def qsZa(YKHO):\n YKHO.output_file.close()", "def DDI8(YKHO)...
[ "0.78937525", "0.7179131", "0.70976996", "0.7068333", "0.7021486", "0.69824225", "0.69824225", "0.69036055", "0.6902884", "0.68968266", "0.68968266", "0.68968266", "0.68914753", "0.6888232", "0.6882774", "0.6882774", "0.6882774", "0.6882774", "0.68759286", "0.68759286", "0.68...
0.6990396
5
Closes the fasta file.
def DDI8(YKHO): YKHO.file.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DDI8(YKHO):\n YKHO.fileHandle.close()\n try:\n del YKHO.fastaFileHandle\n except:\n pass", "def upVe(YKHO):\n YKHO._iostream.close()", "def qsZa(YKHO):\n YKHO.f.close()", "def DDI8(nUeQ):\n nUeQ.close()", "def qsZa(YKHO):\n YKHO.output_file.close()", "def DDI8(YKHO)...
[ "0.78937525", "0.7179131", "0.70976996", "0.7068333", "0.7021486", "0.6990396", "0.6990396", "0.6990396", "0.69824225", "0.69824225", "0.69036055", "0.6902884", "0.68968266", "0.68968266", "0.68968266", "0.68914753", "0.6888232", "0.6882774", "0.6882774", "0.6882774", "0.6882...
0.6838111
28
True if there are still entries in the fastq file.
def MF15(YKHO): return len(YKHO.nextheader) > 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vBWh(YKHO):\n if not YKHO.size:\n return False\n return len(YKHO.pq) == YKHO.size + YKHO.removed_count", "def UL16(YKHO):\n return len(YKHO.segments[YKHO.cur_file_index]) == 0", "def lsmZ(YKHO):\n return YKHO._queue[YKHO._start] is lsmZ", "def lsmZ(YKHO):\n return len(YKHO.double_en...
[ "0.7152708", "0.6951953", "0.68984836", "0.6886836", "0.6823694", "0.68179077", "0.68179077", "0.68179077", "0.68179077", "0.68179077", "0.68179077", "0.6772898", "0.6772111", "0.67682153", "0.6765075", "0.67630655", "0.67497253", "0.6723974", "0.6723974", "0.6723974", "0.672...
0.0
-1
Closes the fastq file.
def DDI8(YKHO): YKHO.file.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DDI8(YKHO):\n YKHO.f.close()", "def DDI8(YKHO):\n YKHO.f.close()", "def DDI8(YKHO):\n YKHO.f.close()", "def DDI8(YKHO):\n YKHO.f.close()", "def DDI8(YKHO):\n YKHO.f.close()", "def DDI8(YKHO):\n YKHO._fh.close()", "def VETT(YKHO):\n YKHO.f.close()\n YKHO.next = []", "def DD...
[ "0.7029892", "0.69308436", "0.69308436", "0.69308436", "0.68939364", "0.6826178", "0.68191785", "0.6812098", "0.6785184", "0.6785184", "0.67851233", "0.67757094", "0.6766568", "0.66886824", "0.6683944", "0.6660731", "0.6660731", "0.66045135", "0.65916765", "0.657113", "0.6538...
0.63997483
42
Closes the fastq file.
def DDI8(YKHO): YKHO.file.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DDI8(YKHO):\n YKHO.f.close()", "def DDI8(YKHO):\n YKHO.f.close()", "def DDI8(YKHO):\n YKHO.f.close()", "def DDI8(YKHO):\n YKHO.f.close()", "def DDI8(YKHO):\n YKHO.f.close()", "def DDI8(YKHO):\n YKHO._fh.close()", "def VETT(YKHO):\n YKHO.f.close()\n YKHO.next = []", "def DD...
[ "0.7029892", "0.69308436", "0.69308436", "0.69308436", "0.68939364", "0.6826178", "0.68191785", "0.6812098", "0.6785184", "0.6785184", "0.67851233", "0.67757094", "0.6766568", "0.66886824", "0.6683944", "0.6660731", "0.6660731", "0.66045135", "0.65916765", "0.657113", "0.6538...
0.65241486
23
Given a specified length, returns a uniformly random DNA sequence. If joined == False, the sequence is returned as a list, otherwise a string is returned.
def AJCJ(u54L, XVFa=True): Q6uT = [] for YRbF in range(u54L): Q6uT.append(qTIv(True)) if XVFa: return ''.join(Q6uT) else: return Q6uT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JWix(u54L):\n return ''.join([tuKI.choice(q3mc) for YRbF in range(u54L)])", "def c3yu(u54L):\n Jtd8 = []\n for YRbF in range(u54L):\n Jtd8.append(sZqf[ADdS(0, 3)])\n return ''.join(Jtd8)", "def ibss(u54L: int) -> str:\n ytkQ = ''.join([tuKI.choice('ACGT') for bGrB in range(u54L)])\n ...
[ "0.7423973", "0.72100836", "0.6976416", "0.69611114", "0.6881093", "0.68745685", "0.6865429", "0.68517715", "0.68517303", "0.6807464", "0.67987174", "0.67768544", "0.67459136", "0.67459136", "0.67253864", "0.67238885", "0.67203325", "0.6719271", "0.6718972", "0.6710006", "0.6...
0.8872558
0
Given a specified length, returns by default a uniformly random RNA sequence as a string. If uniform = False, then the base proportions will deviate from 0.25. Keeping the default will cause the base proportions to be selected from a normal distribution with mean = 1 std = 0.25, then normalized to sum to 1. Setting hyp...
def qK4x(u54L, js4S=True, rBm3=False, Wrcs=[]): Q6uT = [] if js4S: for YRbF in range(u54L): Q6uT.append(tuKI.choice(Ek7S)) else: if rBm3: EBgd = tuKI.random() HpuQ = tuKI.random() Lq8X = tuKI.random() U0Zt = tuKI.random() el...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BjvI(BFeB=[0.25, 0.25, 0.25, 0.25]):\n j1eK = BFeB + [0] * (4 - len(BFeB))\n SCAk = sum(j1eK)\n mE_b = list(zip(j1eK, ['a', 'c', 'g', 'u']))\n JxU2 = tuKI.random() * SCAk\n ZH6R = 0\n for P8TO, P8oC in mE_b:\n if not P8TO:\n continue\n ZH6R += P8TO\n if JxU2 <=...
[ "0.6366101", "0.6147264", "0.60134155", "0.6008792", "0.58820635", "0.58704704", "0.5866709", "0.5800295", "0.5775375", "0.5742583", "0.5713501", "0.5694142", "0.56674254", "0.5659574", "0.5653127", "0.56464636", "0.5635755", "0.5628725", "0.56124514", "0.5608596", "0.5604203...
0.8115506
0
Accomodates commas in the numbers. Separate method due to efficiency
def q6gp(b_5o, dir=False): return GQWS(b_5o.replace(',', ''), dir)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Slee(BWXx):\n zXzD = str(BWXx)\n BdN0 = ZbWC.sub('^(-?\\\\d+)(\\\\d{3})', '\\\\g<1>,\\\\g<2>', zXzD)\n if zXzD == BdN0:\n return BdN0\n else:\n return Slee(BdN0)", "def Slee(BWXx):\n zXzD = str(BWXx)\n BdN0 = ZbWC.sub('^(-?\\\\d+)(\\\\d{3})', '\\\\g<1>,\\\\g<2>', zXzD)\n if...
[ "0.7556538", "0.75440353", "0.7523381", "0.73831975", "0.7374631", "0.7374631", "0.70890564", "0.7056515", "0.6995584", "0.6947495", "0.68523616", "0.67849433", "0.6779877", "0.6708377", "0.66854554", "0.6598304", "0.65652114", "0.6499438", "0.6493783", "0.64781356", "0.64713...
0.0
-1
Throw an error if a variable isn't set after attempting to set everything.
def Kr6M(YKHO): ETxH = WKeP.AlertsMagic() z0QN = '-e thauck@zulily.com' with trZe.raises(ValueError): ETxH.ipy_alerts(z0QN, '')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SMnD(YKHO):\n try:\n YKHO.soln.variable = True\n YKHO.fail(\"Expected attribute error failure for 'variable'\")\n except AttributeError:\n pass", "def eFyh(YKHO):\n nyyK = YKHO.parameter.set('d')\n YKHO.assertTrue(YKHO.parameter.error)\n YKHO.assertFalse(nyyK)\n YKHO.as...
[ "0.6544432", "0.61173636", "0.6073755", "0.595395", "0.5926082", "0.5896682", "0.5864738", "0.58565056", "0.5833746", "0.5822728", "0.57980967", "0.5773177", "0.57295066", "0.5704719", "0.5698933", "0.56909996", "0.5676673", "0.56668943", "0.56666875", "0.5666525", "0.5659678...
0.0
-1
Returns the first item in the `iterable` that satisfies the `condition`. If the condition is not given, returns the first item of the iterable. Raises `StopIteration` if no item satisfying the condition is found.
def cntZ(OxJJ, XEri=lambda WKvO: True): return next((WKvO for WKvO in OxJJ if XEri(WKvO)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cntZ(OxJJ, XEri=lambda WKvO: True):\n return next((WKvO for WKvO in OxJJ if XEri(WKvO)))", "def g8tW(OxJJ, XEri=lambda WKvO: True):\n return next((WKvO for WKvO in OxJJ if XEri(WKvO)))", "def cntZ(lgNN, OxJJ):\n return next(filter(lgNN, OxJJ), None)", "def lIPo(aWuw: Iterable, XEri: Callable[[],...
[ "0.8281137", "0.82427067", "0.72255564", "0.71776825", "0.70721257", "0.70535046", "0.696094", "0.6956978", "0.68952453", "0.685054", "0.67877436", "0.6773288", "0.67664987", "0.67664987", "0.67165565", "0.65795213", "0.65188104", "0.65100163", "0.6462656", "0.64321935", "0.6...
0.82620025
1
creates new instance of a binary search tree root the root element of the BST
def kcpT(tk5Y): return [tk5Y, [], []]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j6mc():\n kcpT = UmtR(5)\n kcpT.insert(10)\n kcpT.insert(1)\n kcpT.insert(9)\n kcpT.insert(3)\n kcpT.insert(6)\n kcpT.insert(2)\n kcpT.insert(4)\n kcpT.insert(8)\n kcpT.insert(7)\n return kcpT", "def DszH(YKHO):\n i2Jd = UmtR(None)\n i2Jd.insert(5)\n i2Jd.insert(3)\n...
[ "0.7777607", "0.7451403", "0.7188188", "0.7166391", "0.71491116", "0.7108355", "0.7072312", "0.6745205", "0.6743855", "0.6714822", "0.66879267", "0.6670823", "0.6644012", "0.6635825", "0.663148", "0.6622032", "0.66059774", "0.6591152", "0.65903383", "0.65727365", "0.65600187"...
0.68914795
7
recursive function that search for a node in BT btree the binary tree node searching node parent node's parent node and node's parent if found or None, None
def ZUVO(XNzJ, Q6kx, _AKB=None): Mkmy = XNzJ[0] if Q6kx < Mkmy: a1PO = XNzJ[1] if len(a1PO) < 1: return (None, None) else: return ZUVO(a1PO, Q6kx, Mkmy) elif Q6kx > Mkmy: a1PO = XNzJ[2] if len(a1PO) < 1: return (None, None) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def waeh(Q6kx, nPrm):\n if Q6kx.data == nPrm:\n return Q6kx\n vMYE = None\n for exwG in Q6kx.children:\n vMYE = waeh(exwG, nPrm)\n if vMYE is not None:\n return vMYE\n return None", "def OW4F(vhyM):\n if vhyM is None:\n return None\n if U6D_ == vhyM.root:\...
[ "0.72416586", "0.7186512", "0.7173959", "0.70465314", "0.69528383", "0.68912953", "0.6880075", "0.6862681", "0.6814138", "0.6759484", "0.67377436", "0.6734162", "0.6720465", "0.66658455", "0.66603833", "0.6659695", "0.6642181", "0.66345334", "0.6625798", "0.6625739", "0.66184...
0.8221952
0
Return a string JSON representation of a CDM instance. The default strictness of the Telescope Model schema validator can be overridden by supplying the validate argument.
def PjZe(YKHO, YEnM, xzCw: bool=True, mECV: Optional[int]=rhBb): Egld = YKHO._schema[YEnM.__class__] RjIW = Egld() RjIW.context[vGJv.VALIDATE] = xzCw if mECV is not None: RjIW.context[vGJv.VALIDATION_STRICTNESS] = mECV return RjIW.dumps(YEnM)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _1kr(YKHO, UDKt, zgjV, xzCw: bool=True, mECV: Optional[int]=rhBb):\n Egld = YKHO._schema[UDKt]\n RjIW = Egld()\n RjIW.context[vGJv.VALIDATE] = xzCw\n if mECV is not None:\n RjIW.context[vGJv.VALIDATION_STRICTNESS] = mECV\n return RjIW.loads(json_data=zgjV)", "def PjZe(YKHO, xzCw: bool=T...
[ "0.5894987", "0.57771546", "0.5315212", "0.5315212", "0.5276886", "0.5163068", "0.5157207", "0.5157106", "0.51466435", "0.51456267", "0.5113464", "0.5098953", "0.5098953", "0.5098953", "0.5098953", "0.5098953", "0.5098953", "0.5098953", "0.5098953", "0.5086504", "0.50828016",...
0.58964574
0
Put item into the queue.
def NpNj(YKHO, H5ew, ZfUD): H5ew = '%s:%s' % (YKHO.namespace, H5ew) yield YKHO.rc.rpush(H5ew, ZfUD)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NpNj(YKHO, ZfUD):\n YKHO.queue.put_nowait(ZfUD)", "def NpNj(YKHO, ZfUD):\n YKHO.dest_queue.put(ZfUD)", "def NpNj(YKHO, ZfUD):\n if YKHO.full():\n YKHO.get()\n g5js.Queue.put(YKHO, ZfUD)", "def NpNj(YKHO, ZfUD):\n if YKHO._size > 0 and len(YKHO._queue) >= YKHO._size:\n if YKHO...
[ "0.91849494", "0.8824753", "0.8736877", "0.8394691", "0.83771807", "0.8289404", "0.82818764", "0.82434666", "0.8223896", "0.8216163", "0.80257016", "0.801968", "0.801968", "0.8002052", "0.7964118", "0.79589254", "0.7950033", "0.7941123", "0.79043365", "0.79043365", "0.7904336...
0.0
-1
Up round an Int to its head number+1 and padding with zero. >>> up_round(1234) 2000 >>> up_round(65) 70
def DSlv(BWXx): a3pt = len(str(BWXx)) oAFo = int(str(BWXx)[0]) return int(str(oAFo + 1) + '0' * (a3pt - 1))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Loyi(WKvO, jZ6p):\n Zihr = 1\n if WKvO < 0:\n WKvO = -WKvO\n Zihr = -1\n return Zihr * jZ6p * lO1m(WKvO / jZ6p)", "def zYQo(WKvO):\n return int(epAf.ceil(WKvO / 10.0)) * 10", "def x3y6(OaeV, FGW3, BkWp):\n FGW3 = x7vA.to_decimal(FGW3, OaeV)\n BkWp = x7vA.to_integer(BkWp, Oae...
[ "0.7818683", "0.775881", "0.752926", "0.7395452", "0.73624426", "0.7342732", "0.7108744", "0.70482916", "0.7021654", "0.68738556", "0.6730069", "0.67201155", "0.6717051", "0.6557761", "0.65525687", "0.64995927", "0.6475769", "0.6376985", "0.6348249", "0.63225067", "0.63157046...
0.805244
0
Returns card as string representation.
def zAg0(YKHO): return '%s of %s' % (F1Hz.ranks[YKHO.rank - 1], F1Hz.suits[YKHO.suit])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n EsFv = ''\n for dxhl in YKHO.cards:\n EsFv += str(dxhl) + '\\n'\n return EsFv", "def wHJl(YKHO):\n return str(YKHO.cards)", "def zAg0(YKHO):\n NNyr = '\\n'\n for dxhl in YKHO.cards:\n NNyr += str(dxhl)\n NNyr += '\\n'\n return NNyr", "def zAg0(YKHO)...
[ "0.8103229", "0.80513513", "0.79513204", "0.79307544", "0.791013", "0.78808963", "0.7841967", "0.7803767", "0.779872", "0.77931994", "0.7759808", "0.77572465", "0.7699873", "0.76966834", "0.7636217", "0.7629477", "0.76194245", "0.7612601", "0.75967693", "0.7596208", "0.756699...
0.69193125
69
Adds card to deck.
def lACn(YKHO, dxhl): YKHO.cards.append(dxhl)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lACn(YKHO, nf_0):\n YKHO.cards.append(nf_0.draw_card())", "def lACn(YKHO, dxhl: Card) -> None:\n YKHO._deck.append(dxhl)", "def lACn(YKHO, dxhl):\n YKHO.cards.append(dxhl)", "def lACn(YKHO, dxhl):\n pass\n YKHO.cards.append(dxhl)", "def lACn(YKHO, nf_0):\n YKHO.cards.append(nf_0.pop_c...
[ "0.8921729", "0.8836425", "0.86493057", "0.8643862", "0.86362934", "0.86360735", "0.86160916", "0.86160916", "0.8615347", "0.86102605", "0.85981494", "0.8594984", "0.8589144", "0.85848665", "0.85462266", "0.84871954", "0.8478562", "0.8478141", "0.8466442", "0.8456456", "0.844...
0.86547065
3
Adds all the cards from other deck.
def J4cg(YKHO, GMH8): YKHO.cards.extend(GMH8.cards)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jth9(YKHO, GMH8):\n YKHO.add_cards(GMH8.get_cards())", "def jth9(YKHO, GMH8):\n YKHO._cards.extend(GMH8.get_cards())", "def vGZu(YKHO, nf_0):\n pass", "def vGZu(YKHO, nf_0):\n pass", "def Pvxy(YKHO, zEPG):\n zEPG.deck.append(YKHO.deck.pop(0))", "def _ViK(YKHO, khoC):\n YKHO._cards.e...
[ "0.789746", "0.7764815", "0.77515316", "0.77115387", "0.74470496", "0.73011214", "0.7266676", "0.7204864", "0.6959285", "0.68898845", "0.6888291", "0.68874615", "0.68451726", "0.67882085", "0.6747038", "0.6737249", "0.6708347", "0.65894085", "0.6583735", "0.65352", "0.6522074...
0.84563154
0
Return index of first match of card in deck.
def lu7C(YKHO, dxhl): return YKHO.cards.index(dxhl)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MqlA(nf_0, BWXx, OfK8):\n for YRbF in range(len(nf_0)):\n dxhl = nf_0[YRbF]\n if dxhl.value == BWXx and dxhl.colour == OfK8:\n return YRbF", "def evyI(iCfd):\n return 'CSDH'.find(iCfd)", "def evyI(iCfd):\n return 'CSDH'.find(iCfd)", "def hYaf(YKHO, dxhl: Card) -> int:\n ...
[ "0.7728623", "0.73893857", "0.73893857", "0.72903067", "0.6849166", "0.6676156", "0.65368557", "0.6515283", "0.64571625", "0.6415387", "0.6384526", "0.6328667", "0.63281006", "0.63086027", "0.62950903", "0.6274879", "0.6270208", "0.62497264", "0.6208761", "0.62035906", "0.620...
0.7613531
1
If inside a string of nonzero length, return the string (excluding quotes) Weaker than bpython.Repl's current_string, because that checks that a string is a string based on previous lines in the buffer.
def jLxU(TYoJ, zFiD): for r8hN in NeD_.finditer(zFiD): YRbF = 3 if r8hN.group(3) else 4 if r8hN.start(YRbF) <= TYoJ and r8hN.end(YRbF) >= TYoJ: return B9yD(r8hN.start(YRbF), r8hN.end(YRbF), r8hN.group(YRbF)) return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BCsE(YKHO):\n return YKHO.quotedText[1:-1]", "def uwnF(*qIxc):\n return dRO0(OtUK.svn_stringbuf_first_non_whitespace, qIxc)", "def Z8cg(vIwR):\n if isinstance(vIwR, str):\n return vIwR\n return ''", "def Oq9m(NRcB: TextIOWrapper) -> str:\n for zFiD in NRcB:\n if zFiD.strip():...
[ "0.66642755", "0.6133139", "0.59950423", "0.5992269", "0.5985597", "0.59669155", "0.5829989", "0.5795292", "0.57372814", "0.5726531", "0.57139695", "0.5709046", "0.5659324", "0.56523144", "0.56265557", "0.5606761", "0.5594146", "0.55878353", "0.5567194", "0.5559686", "0.55383...
0.5571435
18
load variable from npy to build the VGG
def Cc7Y(YKHO, d7Eb): SWox = ITS7.time() RKD7('Building VGG19. Started at: %ds' % SWox) VZWK = d7Eb * 255.0 Z5Q9, jlxe, pPPK = ZylS.split(axis=3, num_or_size_splits=3, value=VZWK) assert Z5Q9.get_shape().as_list()[1:] == [224, 224, 1] assert jlxe.get_shape().as_list()[1:] == [224, 224, 1] as...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lnGJ():\n i0XC = './/VGG16_pretrain//vgg16.npy'\n Mjw9 = oyIN.load(i0XC, encoding='latin1').item()\n sjXb = sorted(Mjw9.keys())\n for H5ew in sjXb:\n _mSQ = Mjw9[H5ew][0]\n HabP = Mjw9[H5ew][1]\n print('\\n')\n print(H5ew)\n print('weights shape: ', _mSQ.shape)\n ...
[ "0.6645672", "0.6474929", "0.6317697", "0.6304376", "0.6188589", "0.61593866", "0.6123654", "0.61155355", "0.6099206", "0.6083735", "0.6074946", "0.6070782", "0.6046765", "0.6043902", "0.60406137", "0.59887236", "0.59886265", "0.59886265", "0.59808064", "0.59583944", "0.59575...
0.0
-1
Test that unauthorized user cannot create ingredients
def R5jD(YKHO): Q5YQ = egNl().objects.create_user(email='new_user@test.ir', password='newPass') Tlew = iJSR() Ylbp = Tlew.post(ZrLe, {'name': 'Orange'}) YKHO.assertEqual(Ylbp.status_code, jGRS.HTTP_401_UNAUTHORIZED)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AnTE(YKHO):\n pB3N = {'name': ''}\n Ylbp = YKHO.client.post(ZrLe, pB3N)\n vtfo = _baS.objects.filter(user=YKHO.user).exists()\n YKHO.assertEqual(Ylbp.status_code, jGRS.HTTP_400_BAD_REQUEST)\n YKHO.assertFalse(vtfo)", "def ugVM(YKHO):\n uiLq = nIoS(email='test2@recipeapi.com', password='some...
[ "0.7833886", "0.76106536", "0.76045465", "0.7569394", "0.75374085", "0.7530258", "0.7515823", "0.7509582", "0.7508042", "0.7504001", "0.7501692", "0.74951357", "0.74884343", "0.7464887", "0.73337454", "0.7332292", "0.73097026", "0.729285", "0.7263705", "0.7258198", "0.7237678...
0.8303528
0
Save the preprocess batch data and validation data
def lz1c(EcVT, LVAh, Ep8u): _0VL = oyIN.arange(EcVT.shape[0]) oyIN.random.shuffle(_0VL) EcVT = EcVT[_0VL] LVAh = LVAh[_0VL] fO_R = int(EcVT.shape[0] / Ep8u) - 1 WMoh = EcVT.shape[0] - Ep8u * fO_R for a2Ls in range(0, fO_R): bySB, Crrw = (EcVT[a2Ls * Ep8u:(a2Ls + 1) * Ep8u], LVAh[a2Ls...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yTHU(ZHts, fO_R, bySB, Crrw):\n flHS = int(len(bySB) * 0.1)\n kaOo = oyIN.split(bySB[:-flHS], fO_R)\n iaWx = oyIN.split(Crrw[:-flHS], fO_R)\n for YRbF in range(1, fO_R + 1):\n oyIN.savez(ZHts + '/preprocess_batch_' + str(YRbF) + '.npz', features=kaOo[YRbF - 1], labels=iaWx[YRbF - 1])\n ...
[ "0.74225277", "0.69041467", "0.6827709", "0.6808417", "0.6743133", "0.672439", "0.66014415", "0.6577184", "0.6575396", "0.6574925", "0.6558917", "0.6554562", "0.65345746", "0.6513963", "0.6449269", "0.6427353", "0.64147484", "0.63861364", "0.6376633", "0.636188", "0.6356684",...
0.69201607
1
Apply 1D convolution to x_tensor
def TyOk(k3l6, bc69, fTHt, _BVU, LT6S, dvgN='SAME', DHni=True, TI1B=0.0001): WNSx = k3l6.get_shape().as_list() RuIQ = list((fTHt,) + (WNSx[-1],) + (bc69,)) UbGM = ZylS.get_variable('W', shape=RuIQ, initializer=ZylS.contrib.layers.xavier_initializer(), dtype=gv9r) if DHni == True: oNEO = ZylS.mul...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HQj2(YKHO, WKvO):\n phY3 = YKHO.n_actions\n with ZylS.variable_scope('conv_net'):\n WKvO = ZylS.layers.conv2d(WKvO, filters=32, kernel_size=8, strides=4, padding='SAME', activation=ZylS.nn.relu)\n WKvO = ZylS.layers.conv2d(WKvO, filters=64, kernel_size=4, strides=2, padding='SAME', activati...
[ "0.74338126", "0.72503144", "0.7230292", "0.7228684", "0.7168603", "0.7128673", "0.71187204", "0.7080389", "0.70665026", "0.70328027", "0.7019294", "0.70146143", "0.6998236", "0.69876724", "0.69871885", "0.6977266", "0.6977266", "0.695688", "0.69452083", "0.69452083", "0.6944...
0.73668253
1
Apply 1D pooling to x_tensor
def Ac5N(k3l6, Rg_4, dm08): dvgN = 'SAME' o0RZ = Rg_4 PHdv = dm08 nlim = ZylS.layers.max_pooling1d(k3l6, o0RZ, PHdv, dvgN) return nlim
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dBuj(YKHO, WKvO):\n if YKHO.pooling_size > 1:\n WKvO = WKvO.permute(0, 2, 1)\n WKvO = vuvg.max_pool1d(WKvO, kernel_size=YKHO.pooling_size, stride=YKHO.pooling_size)\n WKvO = WKvO.permute(0, 2, 1)\n return WKvO", "def kGpU(EcVT):\n TVTK, H2v2 = EcVT.get_shape()[1:3]\n r8hN = Z...
[ "0.77152133", "0.7132848", "0.6933234", "0.67905414", "0.67793536", "0.67531073", "0.67167634", "0.66976553", "0.66634786", "0.66418725", "0.6561601", "0.6542052", "0.6467153", "0.6462064", "0.6453212", "0.6442836", "0.6413686", "0.6393839", "0.6386874", "0.6382343", "0.63799...
0.7126043
2
Flatten x_tensor to (Batch Size, Flattened Size)
def PWgb(k3l6): WNSx = k3l6.get_shape().as_list() return ZylS.reshape(k3l6, [-1, oyIN.prod(WNSx[1:])])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nPf0(WKvO):\n ROpF = WKvO.get_shape().as_list()[1:]\n if None not in ROpF:\n return ZylS.reshape(WKvO, [-1, int(oyIN.prod(ROpF))])\n return ZylS.reshape(WKvO, ZylS.stack([ZylS.shape(WKvO)[0], -1]))", "def PWgb(k3l6):\n RE2Q = ZylS.contrib.layers.flatten(k3l6)\n return RE2Q", "def PWgb...
[ "0.78886", "0.7876988", "0.7791721", "0.77333456", "0.7410506", "0.7386604", "0.73414785", "0.7305947", "0.7220871", "0.719712", "0.7177883", "0.7155475", "0.7110489", "0.7013712", "0.70118445", "0.6785867", "0.6785867", "0.6759848", "0.67589307", "0.6755833", "0.6666321", ...
0.8005539
0
Apply a output layer to x_tensor using weight and bias
def hlel(k3l6, I07O): WNSx = k3l6.get_shape().as_list() ROpF = list((WNSx[-1],) + (I07O,)) XcU5 = ZylS.get_variable('W', shape=ROpF, initializer=ZylS.contrib.layers.xavier_initializer(), dtype=gv9r) ZylS.summary.histogram('weights', XcU5) return ZylS.matmul(k3l6, XcU5)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hlel(k3l6, I07O):\n OOcW = k3l6.get_shape().as_list()\n R5ZC = ZylS.contrib.layers.l2_regularizer(scale=0.0001)\n _mSQ = ZylS.get_variable('weight', shape=[OOcW[1], I07O], initializer=ZylS.uniform_unit_scaling_initializer(factor=1.0), regularizer=R5ZC)\n oug5 = ZylS.Variable(ZylS.zeros([I07O]))\n ...
[ "0.7317671", "0.6959812", "0.68365073", "0.6836147", "0.67574143", "0.6736111", "0.6718377", "0.6708827", "0.6694304", "0.6681038", "0.66212994", "0.6595896", "0.6482974", "0.643147", "0.6430653", "0.6416678", "0.6413104", "0.6395638", "0.63691926", "0.63570905", "0.63500434"...
0.7360961
0
Create a convolutional/dense neural network model
def jKiy(EcVT, RcMV, SkRR, LT6S=False): with ZylS.name_scope('DNN'): EcVT = PWgb(EcVT) with ZylS.variable_scope('fc1'): EcVT = R6zb(EcVT, num_outputs=128, is_training=LT6S, l2_regularize=True, wd=0.01) EcVT = ZylS.nn.dropout(EcVT, RcMV) with ZylS.variable_scope('fc2')...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LQs7(YKHO):\n C3ST = ileL()\n C3ST.add(yHwh(32, (3, 3), activation='relu', input_shape=(28, 28, 1)))\n C3ST.add(yHwh(32, (3, 3), activation='relu'))\n C3ST.add(BzBX(pool_size=(2, 2)))\n C3ST.add(lARV(0.4))\n C3ST.add(yHwh(25, (3, 3), activation='relu'))\n C3ST.add(yHwh(25, (3, 3), activati...
[ "0.76992804", "0.75607514", "0.75538176", "0.75267756", "0.74368644", "0.74308485", "0.73777527", "0.73036426", "0.7296609", "0.72835016", "0.7272807", "0.7256113", "0.72452044", "0.7226151", "0.72221947", "0.7217757", "0.7216593", "0.72164416", "0.7210775", "0.7210145", "0.7...
0.0
-1
Create a convolutional/dense neural network model
def jKiy(EcVT, RcMV, SkRR, LT6S=False): with ZylS.name_scope('CNN'): with ZylS.variable_scope('conv1'): EcVT = TyOk(EcVT, conv_num_outputs=128, conv_ksize=7, conv_strides=1, is_training=LT6S, padding='SAME', l2_regularize=True, wd=0.001) EcVT = Ac5N(EcVT, pool_ksize=3, pool_strides=1...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LQs7(YKHO):\n C3ST = ileL()\n C3ST.add(yHwh(32, (3, 3), activation='relu', input_shape=(28, 28, 1)))\n C3ST.add(yHwh(32, (3, 3), activation='relu'))\n C3ST.add(BzBX(pool_size=(2, 2)))\n C3ST.add(lARV(0.4))\n C3ST.add(yHwh(25, (3, 3), activation='relu'))\n C3ST.add(yHwh(25, (3, 3), activati...
[ "0.76997584", "0.75615805", "0.7553701", "0.75277126", "0.7438025", "0.74314225", "0.7378637", "0.7305039", "0.7295904", "0.7283983", "0.72727615", "0.72556925", "0.72465426", "0.722643", "0.722234", "0.7218564", "0.72177833", "0.72159886", "0.7212233", "0.721151", "0.7211041...
0.0
-1
Create a convolutional/dense neural network model
def jKiy(EcVT, RcMV, SkRR, LT6S=False): with ZylS.name_scope('DNN'): EcVT = PWgb(EcVT) with ZylS.variable_scope('fc1'): EcVT = R6zb(EcVT, num_outputs=128, is_training=LT6S, l2_regularize=True, wd=0.01) EcVT = ZylS.nn.dropout(EcVT, RcMV) with ZylS.variable_scope('fc2')...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LQs7(YKHO):\n C3ST = ileL()\n C3ST.add(yHwh(32, (3, 3), activation='relu', input_shape=(28, 28, 1)))\n C3ST.add(yHwh(32, (3, 3), activation='relu'))\n C3ST.add(BzBX(pool_size=(2, 2)))\n C3ST.add(lARV(0.4))\n C3ST.add(yHwh(25, (3, 3), activation='relu'))\n C3ST.add(yHwh(25, (3, 3), activati...
[ "0.76997584", "0.75615805", "0.7553701", "0.75277126", "0.7438025", "0.74314225", "0.7378637", "0.7305039", "0.7295904", "0.7283983", "0.72727615", "0.72556925", "0.72465426", "0.722643", "0.722234", "0.7218564", "0.72177833", "0.72159886", "0.7212233", "0.721151", "0.7211041...
0.0
-1
Returns the Hessian of the lensing object, where the Hessian is the second partial derivatives of the
def OwR1(YKHO, Cs6h, NRcB: float=0.01, wkG7=None) -> AzJI: if wkG7 is None: wkG7 = YKHO.deflections_yx_2d_from DtuQ = oyIN.zeros(Cs6h.shape) DtuQ[:, 0] = Cs6h[:, 0] + NRcB DtuQ[:, 1] = Cs6h[:, 1] Dijk = oyIN.zeros(Cs6h.shape) Dijk[:, 0] = Cs6h[:, 0] - NRcB Dijk[:, 1] = Cs6h[:, 1] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WsEF(YKHO):\n with ht2j.no_grad():\n q2K7 = 1 + YKHO._params_rho.exp()\n NXCR = q2K7.log()\n mDdM = NXCR.pow(-2)\n tvqV = 2 * ht2j.exp(2 * YKHO._params_rho) / (q2K7 * NXCR).pow(2)\n C7Ls = ht2j.cat([mDdM, tvqV])\n return C7Ls", "def IrHh(YKHO):\n C7Ls, Fg_i = YKHO....
[ "0.7721886", "0.7589306", "0.74946266", "0.7401269", "0.7346237", "0.7320719", "0.72974384", "0.70697165", "0.704738", "0.7036984", "0.7036693", "0.6986808", "0.69516534", "0.6917738", "0.6872639", "0.68363523", "0.68363523", "0.6829004", "0.6826376", "0.6824455", "0.679326",...
0.0
-1
Returns the Einstein radius corresponding to the area within the tangential critical curve. The Einstein radius is defined as the radius of the circle which contains the same area as the area within the tangential critical curve. This definition is sometimes referred to as the "effective Einstein radius" in the literat...
def wKnF(YKHO, Cs6h, spuy: Union[Tuple[float, float], float]=0.05): KgDc = YKHO.einstein_radius_list_from(grid=Cs6h) if len(KgDc) > 1: bo34.info('\n There are multiple tangential critical curves, and the computed Einstein radius is the sum of \n all of them. Check the `eins...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FXmf(YKHO, Cs6h, spuy: Union[Tuple[float, float], float]=0.05):\n try:\n G5ox = YKHO.tangential_critical_curve_area_list_from(grid=Cs6h, pixel_scale=spuy)\n return [oyIN.sqrt(f0tD / oyIN.pi) for f0tD in G5ox]\n except TypeError:\n raise TypeError('The grid input was unable to estimat...
[ "0.6243676", "0.5895767", "0.5839031", "0.57822555", "0.5737766", "0.5736343", "0.5730801", "0.57289994", "0.5678993", "0.5676786", "0.5645493", "0.56300384", "0.56133765", "0.5608342", "0.55923015", "0.5559334", "0.5524916", "0.54981387", "0.54501736", "0.544742", "0.5437321...
0.69025797
0
Returns the Einstein radius corresponding to the area within the tangential critical curve.
def hAlp(YKHO, Cs6h, spuy: Union[Tuple[float, float], float]=0.05) -> float: f32p = YKHO.einstein_mass_angular_list_from(grid=Cs6h, pixel_scale=spuy) if len(f32p) > 1: bo34.info('\n There are multiple tangential critical curves, and the computed Einstein mass is the sum of \n ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f0tD(YKHO):\n return 1 / 2 * jmzt * YKHO.clad_outer_radius ** 2", "def UKLo(YKHO):\n return YKHO._circumradius", "def r1VO(YKHO):\n r1VO = YKHO.L / (YKHO.T ** 4 * WTkW * epAf.pi)\n return r1VO", "def f0tD(YKHO):\n return oyIN.pi * YKHO.radius ** 2", "def r1VO(YKHO) -> float:\n Z9rn = ...
[ "0.71121764", "0.6829623", "0.6796103", "0.6760282", "0.6733739", "0.6714578", "0.669928", "0.66738", "0.6671634", "0.6651306", "0.66466564", "0.66189635", "0.65955347", "0.65844786", "0.6573113", "0.6570886", "0.6568384", "0.65178823", "0.65178823", "0.6511878", "0.6511878",...
0.0
-1
Returns the Jacobian of the lensing object, which is computed by taking the gradient of the 2D deflection angle map in four direction (positive y, negative y, positive x, negative x). By using the `np.gradient` method the Jacobian can therefore only be computed using uniform 2D grids of (y,x) coordinates, and does not ...
def swSR(YKHO, Cs6h): YyAa = YKHO.deflections_yx_2d_from(grid=Cs6h) kC1W = D9cM.Array2D(values=1.0 - oyIN.gradient(YyAa.native[:, :, 1], Cs6h.native[0, :, 1], axis=1), mask=Cs6h.mask) mbgR = D9cM.Array2D(values=-1.0 * oyIN.gradient(YyAa.native[:, :, 1], Cs6h.native[:, 0, 0], axis=0), mask=Cs6h.mask) chq...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v8WM(LVAh, WKvO, **B2fa):\n Oa10 = [ht2j.autograd.grad(LVAh[YRbF], WKvO, **B2fa)[0] for YRbF in range(LVAh.shape[0])]\n Oa10 = ht2j.stack(Oa10)\n Oa10.requires_grad_()\n return Oa10", "def v8WM(YKHO):\n raise NotImplementedError", "def v8WM(YKHO):\n return YKHO._ptr.contents.jacobian", ...
[ "0.71307963", "0.6831943", "0.68239653", "0.67974657", "0.67467254", "0.66372484", "0.65594053", "0.65344304", "0.65268743", "0.6518181", "0.6507675", "0.6506758", "0.65023094", "0.64051837", "0.6398326", "0.63742477", "0.6368699", "0.63243055", "0.6316434", "0.63075787", "0....
0.769056
0
Implements upsampling block for 3D UNet
def eG8U(fHmP, enZN, EdbX, ZRnC, TyPQ, f60g): gjCy = bdPE.layers.Conv3DTranspose(fHmP, (3, 3, 3), strides=ZRnC, padding='same')(enZN) rov7 = ZylS.nn.relu(bdPE.layers.BatchNormalization()(gjCy)) rov7 = bdPE.layers.Dropout(TyPQ)(rov7, training=f60g) ENFq = bdPE.layers.concatenate([rov7, EdbX], axis=4) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YnEx(WKvO, KUnM, jehQ):\n WKvO = wJ8e(size=2)(WKvO)\n WKvO = xlGu(axis=3)([WKvO, jehQ])\n WKvO = Dubg(WKvO, KUnM)\n WKvO = Dubg(WKvO, KUnM)\n return WKvO", "def nr8W():\n with UtL5.dygraph.guard():\n oyIN.random.seed(33)\n WKvO = oyIN.random.rand(1, 3, 6, 9, 3).astype('float64...
[ "0.7150835", "0.7132166", "0.7096946", "0.705637", "0.6904258", "0.6852206", "0.68042314", "0.6788695", "0.67635196", "0.67412966", "0.67346656", "0.66721606", "0.66324484", "0.6532175", "0.64957297", "0.648506", "0.64613754", "0.6435984", "0.64024746", "0.63624275", "0.63539...
0.61856985
30
func_curry given callable that given multiple params, able to return value from them.
def Xod3(YKHO): def H2v5(gdXy: int, DWMs: int, IbRa: int) -> int: return gdXy + DWMs + IbRa Aofo = X6Ti.compose(X6Ti.func_curry(H2v5)(5, 7), lambda FGW3: FGW3 ** 2)(3) YKHO.assertEqual(Aofo, 21)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BRRQ(JfyU: Func) -> YrBT[..., ImMB]:\n\n @xBlr.wraps(JfyU)\n def iezF(*qIxc, **B2fa):\n if JfyU.__code__.co_argcount <= len(qIxc):\n return JfyU(*qIxc, **B2fa)\n return xBlr.partial(JfyU, *qIxc, **B2fa)\n return iezF", "def BPeJ(JfyU):\n \"\"\"*** YOUR CODE HERE ***\"\"\"...
[ "0.72902256", "0.7198757", "0.7164973", "0.71120733", "0.70488834", "0.69912994", "0.6799994", "0.67789036", "0.671398", "0.6628625", "0.6611141", "0.6609666", "0.6562891", "0.63771796", "0.63394374", "0.62866884", "0.62607104", "0.62424904", "0.62321013", "0.6222109", "0.621...
0.7672618
0
Returns whether the search tree is empty
def A4KR(YKHO): return YKHO.root is None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j2V2(YKHO):\n return YKHO.treestore.get_iter_first() == None", "def FBfn(YKHO):\n \"\"\"Takes no arguments.\n Returns True if the tree is empty and False otherwise.\"\"\"\n return YKHO.root == None", "def FBfn(YKHO: AbstractTree) -> bool:\n return YKHO._root is None", "def FBfn(YKHO) -...
[ "0.8775489", "0.8700208", "0.84586936", "0.8281232", "0.8281232", "0.8281232", "0.8257088", "0.8234215", "0.8220359", "0.8220359", "0.8220359", "0.82043487", "0.82043487", "0.81891924", "0.8061671", "0.8033174", "0.8009509", "0.79907703", "0.79044986", "0.7867122", "0.7858784...
0.7957931
18
get_fire_data() > Dataframe Gets FIRE data. Converts to resolution.
def mfxj(YKHO): zZ4D = rLdf.read_pickle(YKHO.fire_file) 'convert to resolution' zZ4D['start'] = zZ4D['start'] // YKHO.cfg.resolution zZ4D['end'] = zZ4D['end'] // YKHO.cfg.resolution 'filter relevant columns' LAbh = zZ4D.iloc[:, 0:10] YKHO.fire_data = LAbh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QNxr():\n pmON = BfDw.DATA['master'] / 'Fire Station Location Data.csv'\n return rLdf.read_csv(pmON)", "def NByN(YKHO):\n \"\"\"filter chromosome\"\"\"\n EhWv = YKHO.fire_data.loc[YKHO.fire_data['chr'] == YKHO.chr].reset_index(drop=True)\n EhWv['target'] = 0\n EhWv.loc[EhWv['GM12878'] >= 0....
[ "0.6227185", "0.5949177", "0.56690884", "0.55570996", "0.5476328", "0.5471957", "0.54639554", "0.5414983", "0.53887534", "0.53803307", "0.5335667", "0.5310084", "0.5278353", "0.5270882", "0.5265079", "0.52623534", "0.52519256", "0.5242167", "0.52234685", "0.52109075", "0.5206...
0.7815619
0
return random salted md5 hash of password
def qzFd(YKHO): SIyd = vIwR.ascii_uppercase + vIwR.ascii_lowercase + vIwR.digits NTfD = ''.join((jxbx().choice(SIyd) for YRbF in range(9))) Hvly = YKHO.password + NTfD eOtH = HBct.md5(Hvly.encode('utf-8')).hexdigest() return (eOtH, NTfD)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xPb7(jTXt, NTfD):\n lpha = len(NTfD) / 2\n jTXt = NTfD[:lpha] + jTXt + NTfD[lpha:]\n jTXt = fY9n(xORj(jTXt).digest()).strip()\n return jTXt", "def GPjS(YKHO, jTXt, NTfD):\n vhgk = HBct.md5()\n vhgk.update((jTXt + NTfD).encode('UTF-8'))\n return vhgk.hexdigest()", "def HKzU(YKHO, NTfD, ...
[ "0.7857749", "0.7852294", "0.7837749", "0.77308804", "0.7645503", "0.74688655", "0.7459786", "0.742026", "0.7329639", "0.7324894", "0.7318942", "0.7291158", "0.72268635", "0.7211215", "0.7211215", "0.72002774", "0.7183169", "0.70898366", "0.7076181", "0.70677406", "0.70653343...
0.7948558
0
Retrieves the total shares that have been submitted since the last round rollover.
def SOPT(vRyL=None, XIcQ=False): ZI14 = vRyL if vRyL else XIcQ return (sum(ojgl.hvals('current_block_' + ZI14)), qcWV.datetime.utcnow())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Jh5W(o61b):\n iTlw = 0\n if o61b in oTBt:\n for KCHu in uL0C.securities_owned()['results']:\n if o61b == uL0C.get_url(KCHu['instrument'])['symbol']:\n iTlw = KCHu['quantity']\n break\n return iTlw", "def wOMl(YKHO) -> cuzp[int, int]:\n return YKHO._...
[ "0.6783754", "0.66396296", "0.6624916", "0.65676373", "0.6492217", "0.64265007", "0.6410651", "0.6301128", "0.62946165", "0.6222277", "0.62163705", "0.6169701", "0.61677474", "0.6127938", "0.59994763", "0.59356743", "0.59175575", "0.58670557", "0.58645046", "0.579858", "0.573...
0.6446503
5
r"""Set the outputs buffer size of ``nn.Graph``. When graph's outputs buffer size is greater than 2, multiple call on the graph can work like a pipeline. This makes multiple call takes less time. The default outputs buffer size is 2.
def vuaD(YKHO, BWXx: int=2): assert isinstance(BWXx, int) assert BWXx >= 1 YKHO._outputs_buffer_size = BWXx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bJCi(YKHO, *qIxc):\n return tE_f.encoder_bi_sptr_set_max_output_buffer(YKHO, *qIxc)", "def bJCi(YKHO, *qIxc):\n return tE_f.viterbi_combined_ss_sptr_set_max_output_buffer(YKHO, *qIxc)", "def bJCi(YKHO, *qIxc):\n return tE_f.viterbi_combined_ib_sptr_set_max_output_buffer(YKHO, *qIxc)", "def bJCi(...
[ "0.720627", "0.71658796", "0.7152574", "0.7141386", "0.71347845", "0.7113771", "0.711262", "0.71063614", "0.7104534", "0.7097096", "0.7096843", "0.7089", "0.70875025", "0.70855826", "0.7084521", "0.70836246", "0.7081224", "0.7080597", "0.70753574", "0.7072951", "0.70681655", ...
0.8002552
0