import{s as H,n as T,o as C}from"../chunks/scheduler.5f3e6389.js";import{S as E,i as S,e as v,s as d,c as _,h as k,a as w,d as a,b as p,f as N,g as O,j as q,k as y,l as z,m as r,n as L,t as M,o as P,p as X}from"../chunks/index.373ab25c.js";import{C as R,H as j}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.315d5a08.js";function A($){let n,u,i,c,l,f,s,g,o,b='<div class="w-full flex flex-col space-y-4 md:space-y-0 md:grid md:grid-cols-2 md:gap-y-4 md:gap-x-5"><a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./onnx/overview"><div class="w-full text-center bg-gradient-to-br from-blue-400 to-blue-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">ONNX export</div> <p class="text-gray-700">How to export your model to ONNX</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./onnxruntime/overview"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">ONNX Runtime</div> <p class="text-gray-700">Learn how to run and quantize your model with ONNX Runtime.</p></a></div>',x,m,h;return l=new R({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),s=new j({props:{title:"🤗 Optimum ONNX",local:"-optimum-onnx",headingTag:"h1"}}),{c(){n=v("meta"),u=d(),i=v("p"),c=d(),_(l.$$.fragment),f=d(),_(s.$$.fragment),g=d(),o=v("div"),o.innerHTML=b,x=d(),m=v("p"),this.h()},l(e){const t=k("svelte-u9bgzb",document.head);n=w(t,"META",{name:!0,content:!0}),t.forEach(a),u=p(e),i=w(e,"P",{}),N(i).forEach(a),c=p(e),O(l.$$.fragment,e),f=p(e),O(s.$$.fragment,e),g=p(e),o=w(e,"DIV",{class:!0,"data-svelte-h":!0}),q(o)!=="svelte-1qatgxg"&&(o.innerHTML=b),x=p(e),m=w(e,"P",{}),N(m).forEach(a),this.h()},h(){y(n,"name","hf:doc:metadata"),y(n,"content",D),y(o,"class","mt-10")},m(e,t){z(document.head,n),r(e,u,t),r(e,i,t),r(e,c,t),L(l,e,t),r(e,f,t),L(s,e,t),r(e,g,t),r(e,o,t),r(e,x,t),r(e,m,t),h=!0},p:T,i(e){h||(M(l.$$.fragment,e),M(s.$$.fragment,e),h=!0)},o(e){P(l.$$.fragment,e),P(s.$$.fragment,e),h=!1},d(e){e&&(a(u),a(i),a(c),a(f),a(g),a(o),a(x),a(m)),a(n),X(l,e),X(s,e)}}}const D='{"title":"🤗 Optimum ONNX","local":"-optimum-onnx","sections":[],"depth":1}';function I($){return C(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class F extends E{constructor(n){super(),S(this,n,I,A,H,{})}}export{F as component};
