sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
880de6d399f3a9c74c2ee50409454e52776abe04b45fc18fbf06a99a6eaa48c4
JavaScript
9,615
268
// Experimental import * as python from './python.js'; const numpy = {}; numpy.ModelFactory = class { async match(context) { const stream = context.stream; const signature = [0x93, 0x4E, 0x55, 0x4D, 0x50, 0x59]; if (stream && signature.length <= stream.length && stream.peek(signature.le...
5ec56b3427674c70d9dbb0fe61060d311890dadd133a0509143495a55e6cda5d
JavaScript
9,746
248
/** * Created by honghan.wu on 21/04/2017. */ if (typeof semehr == "undefined"){ var semehr = {}; } (function($) { if(typeof semehr.search == "undefined") { semehr.search = { __es_need_login: false, _es_client: null, __es_server_url: "http://10.200.102.23:9200/", ...
d6b20e5d210a77ef5a85353c7bf2873cfb97afe165b5f0cabef27627ff3689b3
JavaScript
9,965
256
export default [ { ignores: [ 'dist/**', 'third_party/**', ] }, { languageOptions: { globals: { atob: 'readonly', BigInt: 'readonly', console: 'readonly', global: 'readonly', ...
44347b39fbd218dbdf554dbe8528974c753de72a7abcd2521c79c806be6928dd
JavaScript
10,376
286
import * as protobuf from './protobuf.js'; const mediapipe = {}; mediapipe.ModelFactory = class { async match(context) { const tags = await context.tags('pbtxt'); if (tags.has('node') && ['input_stream', 'output_stream', 'input_side_packet', 'output_side_packet'].some((key) => tags.has(key) || t...
c6bd863a29bba22027128cdcd9a49f1c305a946baed61a60a1d49e52b5961d76
JavaScript
10,415
329
export const espdl = {}; espdl.Version = { _START_VERSION: 0, '0': '_START_VERSION', IR_VERSION_2023_12_22: 1, '1': 'IR_VERSION_2023_12_22' }; espdl.AttributeType = { UNDEFINED: 0, '0': 'UNDEFINED', FLOAT: 1, '1': 'FLOAT', INT: 2, '2': 'INT', STRING: 3, '3': 'STRING', TENSOR: 4, '4': 'TEN...
bb9f92cb7dd81dc558bd1a6c6337e14ba1a42c3151889184f92f1e6c6d01e5a1
JavaScript
10,562
263
/** * Created by honghan.wu on 21/04/2017. */ if (typeof semehr == "undefined"){ var semehr = {}; } (function($) { if(typeof semehr.search == "undefined") { semehr.search = { __es_need_login: false, _es_client: null, __es_server_url: "http://10.200.102.23:9200/", ...
5e1621afd5fedc075b61aad9bf6cd124ffd5c36b79f7fdc27e57cf82f98e7cdb
JavaScript
10,621
288
const mindir = {}; mindir.ModelFactory = class { async match(context) { const identifier = context.identifier; const extension = identifier.split('.').pop().toLowerCase(); if (extension === 'mindir') { const tags = await context.tags('pb'); if (tags.size > 0) { ...
9803062b36753f8ba9dd4d4bfadd4d875474aedc1f6ea30f98711f363c6db1f7
JavaScript
10,874
290
const onednn = {}; onednn.ModelFactory = class { async match(context) { const obj = await context.peek('json'); if (obj && obj.version && obj.engine_kind && obj.fpmath_mode && obj.graph) { return context.set('onednn', obj); } return null; } async open(context)...
53ab8d44fcb000666bd88919bcdf930c6af8ce9d9124e3c313eb8512d1377382
JavaScript
10,932
281
/** * Created by honghan.wu on 22/04/2017. */ if (typeof semehr == "undefined"){ var semehr = {}; } (function($) { if(typeof semehr.Cohort == "undefined") { semehr.AggMention = function (name) { this.name = name; this.type2freq = {}; this.uid2DocApp = {}; ...
de472bc360b1210471339aae2d7c1ae3f53ef06bdcb30d49194bfcd31954c94b
JavaScript
10,997
353
export const dnn = {}; dnn.Model = class Model { constructor() { this.input_shape = []; this.input_name = []; this.node = []; this.input = []; this.output = []; } static decode(reader, length) { const message = new dnn.Model(); const end = length =...
53c3cd60677a73e2f73d07a645d4079d9fe4dc5796572cef3361e12ef7468b83
JavaScript
11,085
346
export const CNTK = {}; CNTK.proto = {}; CNTK.proto.NDShape = class NDShape { constructor() { this.shape_dim = []; } static decode(reader, length) { const message = new CNTK.proto.NDShape(); const end = length === undefined ? reader.length : reader.position + length; whi...
a893354a811c8fc3b72aa7a64eb2fdaba4200f1172d754575a8104ac2cda3a37
JavaScript
11,132
303
// Experimental const qnn = {}; qnn.ModelFactory = class { async match(context) { const obj = await context.peek('json'); if (obj && obj['model.cpp'] !== undefined && obj.graph) { return context.set('qnn.json', obj); } const entries = await context.peek('tar'); ...
d2a1a351bb119a33d6111015c428ab9de07c3e8857f493152856f2a1c0f7b633
JavaScript
11,266
276
const uff = {}; uff.ModelFactory = class { async match(context) { const identifier = context.identifier; const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : ''; if (extension === 'uff' || extension === 'pb') { const tags = await cont...
cff872406ca1e099419989254a0deb555c6bbe6b3c33c6ccc8557a07f14f8b57
JavaScript
11,288
302
// Experimental const bigdl = {}; bigdl.ModelFactory = class { async match(context) { const tags = await context.tags('pb'); if (tags.has(2) && tags.has(7) && tags.has(8) && tags.has(9) && tags.has(10) && tags.has(11) && tags.has(12)) { return context.set('bigdl'); ...
b036df51949c0c199abbf48a8e980751c10c4708ef4c49d2b83cab8ead0ca535
JavaScript
11,454
294
const armnn = {}; armnn.ModelFactory = class { async match(context) { const identifier = context.identifier; const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : ''; if (extension === 'armnn') { const reader = await context.peek('flat...
6cafc56a279199f73d01a86370f7fb9144ef5a456fa4aaca0b575ac9cb0cce6d
JavaScript
11,520
361
const text = {}; text.Decoder = class { static open(data, encoding) { if (typeof data === 'string') { return new text.Decoder.String(data); } const assert = (encoding, condition) => { if (encoding && encoding !== condition) { throw new text.Error(`I...
4d67dac29ea2f4f233aea94c4f1472e7271d456a107cc24acf1f2fab2e435148
JavaScript
11,696
310
import * as fs from 'fs/promises'; import * as path from 'path'; import * as url from 'url'; const dirname = path.dirname(url.fileURLToPath(import.meta.url)); const rootDir = path.resolve(dirname, '..'); const constantsPath = path.join(rootDir, 'third_party/source/llama.cpp/gguf-py/gguf/constants.py'); const metadata...
39558b322f7394e9af6a6d72fd4739ab0697da7103cb53cf73f948369c061eda
JavaScript
12,040
247
/** * Created by honghan.wu on 04/07/2017. */ if (typeof semehr == "undefined"){ var semehr = {}; } (function($) { if(typeof semehr.Render == "undefined") { semehr.Render = { docDisplayAttrs: [ ["patient_id", "fulltext"] ], /** * high...
b195dea749916ae1c4ee053c951cb7e38081ebbe5b9ff655703167c9b832d623
JavaScript
12,119
291
// Experimental const sklearn = {}; sklearn.ModelFactory = class { async match(context) { const obj = await context.peek('pkl'); const validate = (obj, name) => { if (obj && obj.__class__ && obj.__class__.__module__ && obj.__class__.__name__) { const key = `${obj.__cl...
6914ab25253045a32acc97b4f6dc1a9f23722bfb7a55746ca8de0e2f0e355cad
JavaScript
12,127
308
/** * Created by honghan.wu on 22/04/2017. */ if (typeof semehr == "undefined"){ var semehr = {}; } (function($) { if(typeof semehr.Cohort == "undefined") { semehr.AggMention = function (name) { this.name = name; this.type2freq = {}; this.uid2DocApp = {}; ...
59a941959f14079e4798a38bbf7363c61520b8727099ce1755e9d955a6b08893
JavaScript
12,282
322
const mslite = {}; mslite.ModelFactory = class { async match(context) { const extension = context.identifier.split('.').pop().toLowerCase(); const reader = await context.peek('flatbuffers.binary'); if (reader) { const identifier = reader.identifier; if (identifier ...
e31da0751972b3fa7b7a7db201a76bfbc3fd9fc4c48a2bc2c7f8d8446d0e02f6
JavaScript
12,318
299
const nnabla = {}; nnabla.ModelFactory = class { async match(context) { const identifier = context.identifier; if (identifier.endsWith('.nntxt')) { const tags = await context.tags('pbtxt'); if (tags.has('network')) { return context.set('nnabla.pbtxt'); ...
6073e973aef2cb44f424c76331319e27009efc395d51d77f05ab56ad14458d80
JavaScript
12,454
350
export const torch = {}; torch.jit = torch.jit || {}; torch.jit.mobile = torch.jit.mobile || {}; torch.jit.mobile.serialization = torch.jit.mobile.serialization || {}; torch.jit.mobile.serialization.Int = class Int { static decode(reader, position) { const $ = new torch.jit.mobile.serialization.Int();...
61dc2d0845e6e7ccd7a52e12efb4509a2862a479d0ae4df9375a36ca814f2b8b
JavaScript
12,953
366
import * as fs from 'fs/promises'; import * as path from 'path'; import * as protobuf from '../source/protobuf.js'; import * as url from 'url'; import { tensorflow } from '../source/tf-proto.js'; const decoder = new TextDecoder('utf-8'); const has = (obj, key) => Object.prototype.hasOwnProperty.call(obj, key); cons...
0a0c72d9a1623a41e3083650c1187532928a196e3c6df266ee77d73de9670be6
JavaScript
13,489
366
const xmodel = {}; xmodel.ModelFactory = class { async match(context) { const tags = await context.tags('pb'); if (tags.get(5) === 2) { return context.set('xmodel.pb'); } return null; } async open(context) { xmodel.proto = await context.require('./xmod...
5be3290505a7eef9a62f54c7a26dd58772be4487a08ee60d14e38d3682aeb9ca
JavaScript
13,683
393
import * as fs from 'fs/promises'; import * as inspector from 'inspector'; import * as os from 'os'; import * as path from 'path'; import * as process from 'process'; import * as url from 'url'; import * as worker_threads from 'worker_threads'; const clearLine = () => { if (process.stdout.clearLine) { pro...
13582b702bd5ef3449e3a0810521da99bdf5be3c4f0c0c26632c1ff0fbfdd52a
JavaScript
13,909
1
Search.setIndex({docnames:["capi","index","installation","proposal","pyapi","usage"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":2,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.r...
0f66f92688748c3fbea3cad6226358fc9da0697550e05fb1e6665b181790e955
JavaScript
13,944
353
// Experimental const hailo = {}; hailo.ModelFactory = class { async match(context) { const container = await hailo.Container.open(context); if (container) { return context.set(container.type, container); } return null; } filter(context, match) { if (c...
3c82abb263867f06cd80eef268b6fbc0e684d75a92c3a1acbd8d34a306fee73e
JavaScript
13,992
387
const tvm = {}; tvm.ModelFactory = class { async match(context) { const identifier = context.identifier; const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : ''; if (extension === 'json') { const obj = await context.peek('json'); ...
050854556072bd00bb9d5ad9256a98b734b2ae88c9013dce32aacbcb0b0a5d9d
JavaScript
14,695
404
import * as flatbuffers from './flatbuffers.js'; const espdl = {}; espdl.ModelFactory = class { async match(context) { const identifier = context.identifier; const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : ''; if (extension === 'espdl') { ...
d0fd3abd056df5878d616e7da2e257ae8059c4fc91298feac7dc78d6158ad825
JavaScript
14,876
406
const tosa = {}; tosa.ModelFactory = class { async match(context) { const reader = await context.peek('flatbuffers.binary'); if (reader && reader.identifier === 'TOSA') { return context.set('tosa.flatbuffers', reader); } const obj = await context.peek('json'); ...
64362388df35affff67fcd3ef00db3be0b3aaf1529578e8e6e8b701cd6a2c48a
JavaScript
15,377
442
export const onnxruntime = {}; onnxruntime.fbs = onnxruntime.fbs || {}; onnxruntime.fbs.AttributeType = { UNDEFINED: 0, '0': 'UNDEFINED', FLOAT: 1, '1': 'FLOAT', INT: 2, '2': 'INT', STRING: 3, '3': 'STRING', TENSOR: 4, '4': 'TENSOR', GRAPH: 5, '5': 'GRAPH', FLOATS: 6, '6': 'FLOATS', I...
178e0a72d38e0ce3a6b4e5e248bdd1d63d5724284d67a173a8060397583e515b
JavaScript
15,419
433
// Experimental const dl4j = {}; dl4j.ModelFactory = class { async match(context) { const identifier = context.identifier; if (identifier === 'configuration.json') { const obj = await context.peek('json'); if (obj && (obj.confs || obj.vertices)) { return c...
96aa0258fa40aa0047e9e0c74c8f36c25815c4a19657f122a3ba6c20e0662210
JavaScript
15,440
448
// Experimental const barracuda = {}; barracuda.ModelFactory = class { async match(context) { const stream = context.stream; if (stream && stream.length > 12) { const buffer = stream.peek(12); if (buffer[0] <= 0x20 && buffer.subarray(1, 8).every((value) => value === 0x00)...
444af2692d167e01a4412a8b05aded98e30e3bb6ea53f9ddd0a6f8f7adbd4c6d
JavaScript
16,209
289
/* =========================================================================== * truth_store.js -- local, file://-friendly "ground truth" labeling for the * svaba variant viewers (bps_explorer.html, comparison.html, ...). * * Click a label (Valid / Artifact / Germline / Ambiguous) while reviewing a * variant; it i...
7319461aa030e23ecd9e8153097ab08bf45e00fbaf4b4916969d6bc90be4ec2c
JavaScript
16,629
526
const flatbuffers = {}; flatbuffers.BinaryReader = class { static open(data, offset) { offset = offset || 0; if (data && data.length >= (offset + 8)) { const position = data instanceof Uint8Array ? -1 : data.position; const reader = data instanceof Uint8Array ? ...
6beff12adda636069de6ec4a13908cedca82733130e77f1632b07d5f62789133
JavaScript
16,689
404
const mnn = {}; mnn.ModelFactory = class { async match(context) { const reader = await context.peek('flatbuffers.binary'); if (reader) { return context.set('mnn.flatbuffers', reader); } const obj = await context.peek('json'); if (obj && obj.sourceType && Array....
97e2897d0e6b3312ad470ba0c5f9207ef4cf995ed6dfb5be59c4f6b099d25381
JavaScript
17,573
461
const espresso = {}; espresso.ModelFactory = class { async match(context) { const identifier = context.identifier.toLowerCase(); if (identifier.endsWith('.espresso.net')) { const obj = await context.peek('json'); if (obj && Array.isArray(obj.layers) && obj.format_version) ...
dafce46bd7ada4acd9cdbdac26d4c093180c672202106d4949c84eac4c86903d
JavaScript
18,550
522
export const paddle = {}; paddle.lite = paddle.lite || {}; paddle.lite.fbs = paddle.lite.fbs || {}; paddle.lite.fbs.proto = paddle.lite.fbs.proto || {}; paddle.lite.fbs.proto.AttrType = { INT: 0, '0': 'INT', FLOAT: 1, '1': 'FLOAT', STRING: 2, '2': 'STRING', INTS: 3, '3': 'INTS', FLOATS: 4, '4':...
ae16a63d93bcc8b7cb9c849ed0dcf0ffd39513abe9d49f1d8cc920e08a8d2d85
JavaScript
18,906
437
// Experimental const pickle = {}; pickle.ModelFactory = class { async match(context) { const stream = context.stream; const signature = [0x80, undefined, 0x8a, 0x0a, 0x6c, 0xfc, 0x9c, 0x46, 0xf9, 0x20, 0x6a, 0xa8, 0x50, 0x19]; if (stream && signature.length <= stream.length && stream.pe...
edf37a343f092c14436578cf313eb25bcd006e765a158687dd48789c6999cc60
JavaScript
19,439
457
/** * Created by honghan.wu on 21/04/2017. */ if (typeof semehr == "undefined"){ var semehr = {}; } (function($) { if(typeof semehr.search == "undefined") { semehr.search = { __indice_index: 0, __es_need_login: false, _es_client: null, __es_server_url:...
e15c4c9c2bcbe8bbab0f59f7e2661bd3ffd6978d7f055d00b562efeb7abb05aa
JavaScript
19,570
562
(function($){ var __es_need_login = false; var _es_client = null; var __es_server_url = "http://timeline2016-silverash.rhcloud.com/"; var __es_index = "pubmed"; //epr_documents_bioyodie var __es_type = "journal"; //semantic_anns var __es_concept_type = "ctx_concept"; var __es_fulltext_index ...
a899be44f3f3d3914b694ccc1ea95774a358ab99db6a08a79df44e7b5365f49b
JavaScript
19,647
601
import * as text from './text.js'; const json = {}; const bson = {}; json.TextReader = class { static open(data) { const decoder = text.Decoder.open(data); const position = decoder.position; let state = ''; for (let i = 0; i < 0x1000; i++) { const c = decoder.decode()...
d69dfedc3f894ceaaab789f12bbc13ea365f35d2249713a982ec83c16238dd4a
JavaScript
20,432
493
const caffe2 = {}; caffe2.ModelFactory = class { async match(context) { const identifier = context.identifier.toLowerCase(); const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : ''; switch (extension) { case 'pbtxt': case ...
7a7045a8fbfaac3fa556848c842c06097422322999d60c93a6e0729a99170a43
JavaScript
20,502
557
(function($){ var _invitationId = null; var _log_call_url = "./log_touch.html" // a local url to be called so that apache saves the log var _pageNum = 0; var _pageSize = 1; var _entityPageSize = 20; var _resultSize = 0; var _queryObj = null; var _prevQueryStr = null; var _currentDocM...
e49e90a3ace2096508397a3297e62b2bc5caeb9e1c861067d486b4166151ec57
JavaScript
21,507
1
Search.setIndex({"docnames": ["core", "data_management", "index", "model_components", "model_components.callbacks", "model_components.preprocessing", "modules", "plotting"], "filenames": ["core.rst", "data_management.rst", "index.rst", "model_components.rst", "model_components.callbacks.rst", "model_components.preproce...
eda38acfa6128183eba5f9fc76a90f72de7e6783471fc111659be8f0fb52a27a
JavaScript
21,830
1
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Sweetalert2=t()}(this,function(){"use strict";var e="swal2-",t=function(t){var n={};for(var o in t)n[t[o]]=e+t[o];return n},n=t(["container","in","iosfix","modal","overlay","fade","sh...
34aaac46e4d1838948407fc8bc5b57295284a5697f2a826751e71c593a481a44
JavaScript
22,743
572
export const sentencepiece = {}; sentencepiece.TrainerSpec = class TrainerSpec { constructor() { this.input = []; this.control_symbols = []; this.user_defined_symbols = []; this.accept_language = []; } static decode(reader, length) { const message = new sentencepi...
80a0e53a51292acce0a8e318f278f747426fd5af1597cbb64ec2c01b2b4c40b0
JavaScript
22,956
662
const dot = {}; dot.ModelFactory = class { async match(context) { const reader = await context.read('text', 0x10000); if (reader) { try { for (let i = 0; i < 64; i++) { const line = reader.read('\n'); if (line === undefined) { ...
b9a349a10ccb44ef279a8629679d958b506d7e14cfe3d24224c821106acc1419
JavaScript
23,521
816
/* @licstart The following is the entire license notice for the JavaScript code in this file. The MIT License (MIT) Copyright (C) 1997-2020 by Dimitri van Heesch Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to...
fbf3d1ec6e96f0451c8d6167b751c9ab9699833d02e912222fce77aacaae97ce
JavaScript
23,686
630
export const com = {}; export const google = {}; com.intel = {}; com.intel.analytics = {}; com.intel.analytics.bigdl = {}; com.intel.analytics.bigdl.serialization = {}; com.intel.analytics.bigdl.serialization.BigDLModule = class BigDLModule { constructor() { this.subModules = []; this.preModu...
5d27e72476df495bc3cd4ca4bdd334237a3349088bf32b6bc44a95610918cb7b
JavaScript
23,747
590
const caffe = {}; caffe.ModelFactory = class { async match(context) { const identifier = context.identifier; const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : ''; if (extension === 'caffemodel') { return context.set('caffe.pb'); ...
cf70d6b60c8ed6f85f0ad642e156bb015beee907662a996c6d2260fdac6c8a6d
JavaScript
24,296
546
import * as flatbuffers from './flatbuffers.js'; import * as flexbuffers from './flexbuffers.js'; import * as zip from './zip.js'; const circle = {}; circle.ModelFactory = class { async match(context) { const reader = await context.peek('flatbuffers.binary'); if (reader && reader.identifier === ...
4f7226254815e31f50bffee5ddb005cb855c71384a9ef71f9c1ffd3fdfea46df
JavaScript
25,113
558
import * as flatbuffers from './flatbuffers.js'; import * as flexbuffers from './flexbuffers.js'; import * as zip from './zip.js'; const tflite = {}; tflite.ModelFactory = class { async match(context) { const reader = await context.peek('flatbuffers.binary'); if (reader && reader.identifier === ...
8db3995de2a4b149212076c0b146a8b9f124d5e2f95f61399940612346da1e46
JavaScript
25,271
689
// Experimental const tengine = {}; tengine.ModelFactory = class { async match(context) { const reader = tengine.Reader.open(context); if (reader) { return context.set('tengine', reader); } return null; } async open(context) { const metadata = await t...
4028554236fa9d36ca91332c12e60d4c942267817450e18a9e5c0e8ea0c99ad5
JavaScript
25,409
633
const tnn = {}; tnn.ModelFactory = class { async match(context) { const identifier = context.identifier.toLowerCase(); const stream = context.stream; if (stream && identifier.endsWith('.tnnproto')) { try { const reader = await context.read('text', 0x10000); ...
a47672c1bd9135ddf9c694c9f5b311c2371da1fcd862992a7912f5d44e7eb207
JavaScript
27,359
679
import * as flatbuffers from './flatbuffers.js'; import * as text from './text.js'; const dlc = {}; dlc.ModelFactory = class { async match(context) { const container = await dlc.Container.open(context); if (container) { return context.set('dlc', container); } return n...
11bc53050b194af9d979f52819f75aebfea9c29d8363c6cd5a476ec4e3e4144c
JavaScript
27,946
612
import * as base from '../source/base.js'; import * as fs from 'fs/promises'; import * as mock from './mock.js'; import * as node from '../source/node.js'; import * as path from 'path'; import * as process from 'process'; import * as python from '../source/python.js'; import * as tar from '../source/tar.js'; import * ...
7b51abc7d6b4b2d98c34123fa1f293b194582b3f42eee189d7c5d176916b2c78
JavaScript
28,373
673
import * as base from './base.js'; import * as flatbuffers from './flatbuffers.js'; import * as json from './json.js'; const rknn = {}; const rknx = {}; const openvx = {}; rknn.ModelFactory = class { async match(context) { const container = await rknn.Container.open(context); if (container) { ...
448f48003b8574b710c50288d95a56ae7e605996aea968586acbd4d006429d57
JavaScript
28,465
918
(function () { "use strict"; const BASE_COLUMNS = [ "chr1", "pos1", "strand1", "chr2", "pos2", "strand2", "ref", "alt_allele", "span", "split", "alt_count", "cov", "cigar", "cigar_near", "dmq1", "dmq2", "dcn", "dct", "mapq1", "mapq2", ...
57517313c8640eb4f29414464513340e5fa019f28a3e6f389ffed87dd019ce05
JavaScript
29,394
976
export const torch = {}; export const caffe2 = {}; torch.RecordRef = class RecordRef { static decodeJson(obj) { const message = new torch.RecordRef(); if ('key' in obj) { message.key = obj.key; } return message; } }; torch.RecordRef.prototype.key = ""; torch.Tens...
6ac7979846404aa506d355e874fef559ab3ec75a3d0604d3f40d9cee5b6f1aff
JavaScript
29,591
699
const acuity = {}; acuity.ModelFactory = class { async match(context) { const obj = await context.peek('json'); if (obj && obj.MetaData && obj.Layers && Object.keys(obj).length < 256) { return context.set('acuity', obj); } return null; } async open(context) { ...
5f10688ef9a22b88fbe1c7dce9f9fd3d56d832145fd09797bd62ab82d6648cdb
JavaScript
29,834
958
export const uff = {}; uff.MetaGraph = class MetaGraph { constructor() { this.descriptors = []; this.graphs = []; this.referenced_data = []; this.extra_fields = []; } static decode(reader, length) { const message = new uff.MetaGraph(); const end = length =...
b105942d119ac1043c700d4bbd4fc3f0ecfd2fe97eef3852331221f979f31b36
JavaScript
29,957
1
var mimicFHIRMapping = {"imaging / studies": "Hospital Discharge Studies", "past surgical history": "History of Past Illness", "the following changes have been made to your home medications": "Discharge Medications", "followup instructions": "Hospital Discharge Instructions", "name of procedure": "Procedures", "we adde...
b5f68a802901107ac1c4604ea79bb04d703849b9e13debbc745211724b0167e2
JavaScript
30,064
812
(function($){ var _invitationId = null; var _log_call_url = "./log_touch.html" // a local url to be called so that apache saves the log var _pageNum = 0; var _pageSize = 1; //entity pagination settings var _entityPageSize = 10; var _entityCurrentPage = 0; var _entityCurrentTotal = 0; ...
74b3a1c349de200d49305d62c4e2fd750dc44aedee0251e893423f71780a02d4
JavaScript
30,210
635
// Experimental import * as flatbuffers from './flatbuffers.js'; const megengine = {}; megengine.ModelFactory = class { async match(context) { const stream = context.stream; if (stream && stream.length >= 12) { let buffer = stream.peek(12); const tag = String.fromCharCod...
c9e4dac184cb6a0e67c7c736f657cd5992c669e99a968619e96291248d183167
JavaScript
30,486
940
import * as base from './base.js'; const torch = {}; torch.ModelFactory = class { async match(context) { const reader = torch.T7Reader.open(context); if (reader) { return context.set('torch', reader); } return null; } async open(context) { const metad...
18728b3b22a5f275205a18becde638b34211f18433dc396ff43b8e8cb78908a6
JavaScript
30,883
804
import * as child_process from 'child_process'; import * as crypto from 'crypto'; import * as fs from 'fs/promises'; import * as os from 'os'; import * as path from 'path'; import * as url from 'url'; const args = process.argv.slice(2); const read = (match) => { if (args.length > 0 && (!match || args[0] === matc...
2cac9aad24b23fa542e00c3ca8200c75ede82401ee490c45ecd565c6f8174dd2
JavaScript
32,482
860
(function($){ var _invitationId = null; var _users = ['hepc_hw', 'hepc_gt', 'hepc_km']; var _user_feedback = {}; var __es_need_login = false; var _es_client = null; var __es_server_url = "http://10.200.102.23:9200"; var __es_index = "mimic"; //epr_documents_bioyodie var __es_type = "pat...
64de58cfc19831fe649e66dd6fef3cd4d3cad2dc36af5ecc3fb022f9ba068346
JavaScript
33,096
833
// Experimental import * as base from './base.js'; import * as protobuf from './protobuf.js'; const om = {}; const svp = {}; om.ModelFactory = class { async match(context) { const container = om.Container.open(context); if (container) { return context.set('om', container); }...
06317e931c3c2753bdb856e5206fef36a254938ec2c7b43677f3e7123e4f6b24
JavaScript
33,448
939
const zip = {}; const gzip = {}; const zlib = {}; zip.Archive = class { static async import() { if (typeof process === 'object' && typeof process.versions === 'object' && typeof process.versions.node !== 'undefined') { zip.zlib = await import('zlib'); } } static open(data, fo...
85abe0bd70ba777c6c3e304255486db8ac1b26deeb8109fbd1b580c4ce738008
JavaScript
34,595
916
import * as base from './base.js'; const browser = {}; browser.Host = class { constructor() { this._window = window; this._navigator = window.navigator; this._document = window.document; this._telemetry = new base.Telemetry(this._window); this._window.eval = () => { ...
93dbbfd96a3192f8d3ad34e52c952dd39a9740871e243ac96f09508f8e5799f8
JavaScript
35,979
1,055
export const ge = {}; ge.proto = {}; ge.proto.DataType = { "DT_UNDEFINED": 0, "DT_FLOAT": 1, "DT_FLOAT16": 2, "DT_INT8": 3, "DT_UINT8": 4, "DT_INT16": 5, "DT_UINT16": 6, "DT_INT32": 7, "DT_INT64": 8, "DT_UINT32": 9, "DT_UINT64": 10, "DT_BOOL": 11, "DT_DOUBLE": 12, ...
8959e2694f02e41324c221d0917466629e84a3ecafb10309b90fae3514bbb20e
JavaScript
36,065
1,216
var groups = new Array(); var groupNames = new Array(); var numGroups = 0; var numKeys = 0; var searchGroup = 0; var showVal = new Array(); var showImVal = new Array(); var maxarrayget = 200; function urlencode(str) { var symbols = { '@': '%40', '&amp;': '%26', '*': '%2A', '+': '%2B', ...
85889dc54bc7dc0aee2f7da49685a602e3f50aab0ffdeb54468629394abeff77
JavaScript
36,259
1,092
const grapher = {}; grapher.Graph = class { constructor(compound) { this._compound = compound; this._nodes = new Map(); this._edges = new Map(); this._focusable = new Map(); this._focused = null; this._children = new Map(); this._children.set('\x00', new Ma...
5361496639309e38ed68fafeca5accb06c62b24a6e0e63ad89f59f46be29dba3
JavaScript
36,684
817
import * as json from './json.js'; const mxnet = {}; mxnet.ModelFactory = class { async match(context) { const identifier = context.identifier; const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : ''; if (extension === 'json') { cons...
dc590addcc8e429936cd5f695d98ee80df2d75119b0ab2bcfc68286b3f8c8ff3
JavaScript
38,107
1,643
const _ = require("lodash"); const fs = require("fs"); const path = require("path"); const docs = require("./docs.json"); //////// /// RST //////// class RstString { constructor(value) { this.value = value; } toSource() { let src = []; if (this.value !== undefined && this.value !== null) src =...
db1e8d93a5711d075ae1f1517de25ecf73e7e97e4826f61c60d8974f090fcea9
JavaScript
38,831
1,108
import * as base from './base.js'; import * as electron from 'electron'; import * as fs from 'fs'; import * as os from 'os'; import * as path from 'path'; import * as process from 'process'; import * as updater from 'electron-updater'; import * as url from 'url'; const app = {}; app.Application = class { constr...
64c5e6d18b67bd83615a2fb8d57e20c30d0a49363da86e3dc496c40911dc1361
JavaScript
40,553
867
const openvino = {}; openvino.ModelFactory = class { async match(context) { const identifier = context.identifier.toLowerCase(); const extension = identifier.split('.').pop(); if (/^.*\.ncnn\.bin$/.test(identifier) || /^.*\.pnnx\.bin$/.test(identifier) || /^.*pytor...
8606781e232913a7e3db6043289d698bbbfe3b4435df5843b5f4aaf3f0fe8a6d
JavaScript
40,727
1,057
export const litert = {}; litert.lm = {}; litert.lm.proto = {}; litert.lm.proto.PromptAffixes = class PromptAffixes { static decode(reader, length) { const message = new litert.lm.proto.PromptAffixes(); const end = length === undefined ? reader.length : reader.position + length; while (...
866343d32db966e37ebe3b7c521adcb70788f5a820fe3dcad5657cccd2cf00b0
JavaScript
42,431
1,129
const cntk = {}; cntk.ModelFactory = class { async match(context) { const stream = context.stream; // CNTK v1 const signature = [0x42, 0x00, 0x43, 0x00, 0x4e, 0x00, 0x00, 0x00]; if (stream && signature.length <= stream.length && stream.peek(signature.length).every((value, index) =...
0e451ccb4cdd194e2e3984fe0f6b7f7af01bd2ce6d9ddf510453bc2ff50e8a35
JavaScript
43,653
1,174
(function($){ var _log_call_url = "./log_touch.html" // a local url to be called so that apache saves the log var _pageNum = 0; var _pageSize = 1; //entity pagination settings var _entityPageSize = 10; var _entityCurrentPage = 0; var _entityCurrentTotal = 0; var _entityCurrentQueryBody =...
d636cda5fde4c9d6338767d38127f607d3df95f6b6ee67e15cb0e7097112815f
JavaScript
44,194
1,397
import * as text from './text.js'; const protobuf = {}; protobuf.BinaryReader = class { static open(data, offset) { offset = offset || 0; if (data instanceof Uint8Array) { return new protobuf.BufferReader(data, offset); } if (data.length < 0x20000000) { da...
bd09c8f3eff8c470126f90e8ada78d79d34d7579c9a943a9741b9da28753f7ed
JavaScript
49,583
1,517
export const executorch_flatbuffer = {}; export const fb_xnnpack = {}; export const vkgraph = {}; executorch_flatbuffer.ScalarType = { BYTE: 0, '0': 'BYTE', CHAR: 1, '1': 'CHAR', SHORT: 2, '2': 'SHORT', INT: 3, '3': 'INT', LONG: 4, '4': 'LONG', HALF: 5, '5': 'HALF', FLOAT: 6, '6': 'FLOAT...
350a78afb4744d8382c8867ba54463fe99ce75b5a70768cc019582e40ceacaec
JavaScript
50,259
1,333
// Experimental const executorch = {}; const coreml = {}; const vulkan = {}; const xnnpack = {}; const qnn = {}; const ethosu = {}; const openvino = {}; const rockchip = {}; import * as base from './base.js'; import * as python from './python.js'; import * as pytorch from './pytorch.js'; executorch.ModelFactory = c...
291f0b0d0c27d0ee0d99244986edb0702441ba79175b70e30172a69445da7404
JavaScript
51,145
1,465
export const mind_ir = {}; mind_ir.Version = { "IR_VERSION_START": 0, "IR_VERSION": 1, "IR_VERSION_WITH_PRIM_FUNCTION": 2 }; mind_ir.AttributeProto = class AttributeProto { constructor() { this.floats = []; this.doubles = []; this.ints = []; this.strings = []; ...
51a1bfb050eed2cf77cc0d895e6f0ea401fc72d434279fc7ddcf44db34cd898b
JavaScript
54,312
1,636
export const serial_v2 = {}; serial_v2.Graph = class Graph { constructor() { this.op_node = []; this.graph_attr = {}; this.op_defs = []; } static decode(reader, length) { const message = new serial_v2.Graph(); const end = length === undefined ? reader.length : rea...
8d88ea8b976f51851ce1a2cb2f63fa72b865e3eaa17c56bbd50462001b2e32c7
JavaScript
55,858
1,419
import * as fs from 'fs/promises'; import * as path from 'path'; const flatc = {}; flatc.Object = class { constructor(parent, name) { this.parent = parent; this.name = name; this.metadata = new Map(); } get root() { return this.parent.root; } resolve() { ...
6297c2b6d18529ff4d3f9fe529e94688e3fb340c5864b7821c1ad731eefe411f
JavaScript
56,110
1,223
import * as base from './base.js'; const ncnn = {}; const pnnx = {}; // https://github.com/Tencent/ncnn/wiki/param-and-model-file-structure // https://github.com/Tencent/ncnn/wiki/operation-param-weight-table // https://github.com/Tencent/ncnn/wiki/operators ncnn.ModelFactory = class { async match(context) { ...
4a7f86c54585919ea577fd8b789bac0ef8a7dc70108b4d60c8e2682ef8c544c8
JavaScript
56,490
1,021
const darknet = {}; darknet.ModelFactory = class { async match(context) { const identifier = context.identifier; const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : ''; if (extension === 'weights' && !identifier.toLowerCase().endsWith('.espresso...
6f5c1f49951bad7e9c31a9c25ee945d649ddf15d0f34537d98759cf2d09b5f8b
JavaScript
58,162
1,494
const base = {}; base.Complex = class Complex { constructor(real, imaginary) { this.real = real; this.imaginary = imaginary; } toString(/* radix */) { const sign = this.imaginary < 0 ? '-' : '+'; const imaginary = Math.abs(this.imaginary); return `${this.real} ${s...
ea74f2173f504e77dc43fdede0a2b079e6bea0807e71e9e87151a6e065680f2f
JavaScript
58,175
1,410
import * as base from './base.js'; import * as flatbuffers from './flatbuffers.js'; import * as protobuf from './protobuf.js'; import * as python from './python.js'; const paddle = {}; paddle.ModelFactory = class { async match(context) { const identifier = context.identifier; const extension = i...
10ee87591f16edf7e8d5715d9b698e205fd8d692fb55ceac552e3c1852016d59
JavaScript
58,187
1,651
export const paddle = {}; paddle.framework = {}; paddle.framework.proto = {}; paddle.framework.proto.Version = class Version { static decode(reader, length) { const message = new paddle.framework.proto.Version(); const end = length === undefined ? reader.length : reader.position + length; ...
34d42874327d13f7261d30e8db6f416772054d144a3bbf76dfa121b1a3cf29c7
JavaScript
59,284
1,751
export const caffe2 = {}; caffe2.TensorProto = class TensorProto { constructor() { this.dims = []; this.float_data = []; this.int32_data = []; this.string_data = []; this.double_data = []; this.int64_data = []; } static decode(reader, length) { con...
b0bbfa386cd93b76b29b3c9c3bf1566b13d3490dadbcc49651b949caf00d7579
JavaScript
59,982
1,604
import * as fs from 'fs/promises'; import * as path from 'path'; const protoc = {}; protoc.Object = class { constructor(parent, name) { this.parent = parent; this.name = name; this.options = new Map(); } get fullName() { const path = [this.name]; let context = th...
9873059410482225b08dd93d70d974926a2669241019f879bb49338f1fb15b13
JavaScript
63,272
2
var exact_map = {"(Diabetes Mellitus) Diabetes Mellitus (4)": {"closure": 35, "mapped": "C0271686"}, "(Cirrhosis/chronic liver disease) Cirrhosis (18)": {"closure": 19, "mapped": "C0008312"}, "(Epilepsy) Epilepsy (13)": {"closure": 50, "mapped": "C1838491"}, "(Osteoarthritis) Osteoarthritis (216)": {"closure": 249, "ma...
f3b7787be20d03c8a0bf4ebda641cea128f0e265849fc98f77381746e262cb22
JavaScript
63,684
1,733
import * as text from './text.js'; const xml = {}; // https://www.w3.org/TR/xml xml.TextReader = class { static open(data, resolve) { const decoder = text.Decoder.open(data); for (;;) { const c = decoder.decode(); if (c === '<') { break; } ...
27779e5bb2d381d662f239c2ce41e3076f0feec79bb238295db70bbd05400c03
JavaScript
65,243
1,832
// Experimental HDF5 reader import * as zip from './zip.js'; const hdf5 = {}; hdf5.File = class { static open(data) { if (data && data.length >= 8) { const buffer = data instanceof Uint8Array ? data : data.peek(8); const signature = [0x89, 0x48, 0x44, 0x46, 0x0D, 0x0A, 0x1A, 0x0...
e3908e080ad31f1e6195bc2442b31b2eec9a02fdfc25d781f1f409cae532fee6
JavaScript
67,161
1,455
const gguf = {}; gguf.ModelFactory = class { async match(context) { const reader = gguf.Reader.open(context); if (reader) { return context.set('gguf', reader); } return null; } async open(context) { const metadata = await context.asset('gguf-metadata.j...
a02982a098aaffdd8449beadbaed94c31f4f5680bcaefa713a6995e3091f134e
JavaScript
71,534
1,567
import * as base from './base.js'; const coreml = {}; coreml.ModelFactory = class { async match(context) { const stream = context.stream; const identifier = context.identifier.toLowerCase(); const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : '...