greed.js
Version:
Run Python libraries in the browser with WebGPU acceleration - PyTorch, NumPy, and more. Modular architecture with full backward compatibility.
1 lines • 1.43 kB
JavaScript
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.Greed=r():e.Greed=r()}(this,()=>(()=>{"use strict";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var i=t[e]={exports:{}};return r[e](i,i.exports,o),i.exports}o.m=r,e=[],o.O=(r,t,n,i)=>{if(!t){var f=1/0;for(s=0;s<e.length;s++){for(var[t,n,i]=e[s],u=!0,a=0;a<t.length;a++)(!1&i||f>=i)&&Object.keys(o.O).every(e=>o.O[e](t[a]))?t.splice(a--,1):(u=!1,i<f&&(f=i));if(u){e.splice(s--,1);var p=n();void 0!==p&&(r=p)}}return r}i=i||0;for(var s=e.length;s>0&&e[s-1][2]>i;s--)e[s]=e[s-1];e[s]=[t,n,i]},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={222:0};o.O.j=r=>0===e[r];var r=(r,t)=>{var n,i,[f,u,a]=t,p=0;if(f.some(r=>0!==e[r])){for(n in u)o.o(u,n)&&(o.m[n]=u[n]);if(a)var s=a(o)}for(r&&r(t);p<f.length;p++)i=f[p],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(s)},t=this.webpackChunkGreed=this.webpackChunkGreed||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var n=o.O(void 0,[114,694,738,867],()=>o(777));return(n=o.O(n)).default})());