import{s as zi,n as Oi,o as _i}from"../chunks/scheduler.7bc62968.js";import{S as Ii,i as Ni,g as a,s as l,r,A as Ri,h as s,f as i,c as o,j as Li,u as p,x as g,k as Pi,y as Fi,a as n,v as m,d as f,t as u,w as d}from"../chunks/index.2f8492b0.js";import{C as ze}from"../chunks/CodeBlock.4e96d6f7.js";import{H as $,E as Si}from"../chunks/EditOnGithub.2a9ce03a.js";function Ui(Bt){let h,Ie,Oe,Ne,w,Re,v,Fe,T,Se,c,Dt=`The TensorFlow Model Optimization Toolkit is a suite of tools for optimizing machine learning models for deployment.
The TensorFlow Lite post-training quantization tool enable users to convert weights to 8 bit precision which reduces the trained model size by about 4 times.
The tools also include API for pruning and quantization during training is post-training quantization is insufficient.
These help user to reduce latency and inference cost, deploy models to edge devices with restricted resources and optimized execution for existing hardware or new special purpose accelerators`,Ue,b,qe,x,Kt="The Tensorflow Model Optimization Toolkit is available as a pip package, <code>tensorflow-model-optimization</code>. To install the package, run the following command:",Ge,y,je,C,Ee,M,Qt='For a hands-on guide on how to use the Tensorflow Model Optimization Toolkit, refer this <a href="https://colab.research.google.com/drive/1t1Tq6i0JZbOwloyhkSjg8uTTVX9iUkgj#scrollTo=D_MCHp6cwCFb" rel="nofollow">notebook</a>',We,k,Ae,H,Xe,L,Yt=`For optimizing model, pyTorch supports INT8 quantization compared to typical FP32 models which leads to 4x reduction in the model size and a 4x reduction in memory bandwidth requirements.
PyTorch supports multiple approaches to quantizing a deep learning model which are as follows:`,Ve,P,ei="<li>Model is trained in FP32 and then the model is converted to INT8.</li> <li>Quantization aware training, where models quantization errors in both the forward and backward passes using fake-quantization modules.</li> <li>Represent quantized tensors and perform operations with them. They can be used to directly construct models that perform all or part of the computation in lower precision.</li>",Je,z,ti='For more details on quantization in PyTorch, see <a href="https://pytorch.org/docs/stable/quantization.html" rel="nofollow">here</a>',Ze,O,Be,_,ii="Pytorch quantization is available as API in the pytorch package. To use it simple install pytorch and import the quantization API as follows:",De,I,Ke,N,Qe,R,ni='For a hands-on guide on how to use the Pytorch Quantization, refer this [notebook](<a href="https://colab.research.google.com/drive/1toyS6IUsFvjuSK71oeLZZ51mm8hVnlZv" rel="nofollow">https://colab.research.google.com/drive/1toyS6IUsFvjuSK71oeLZZ51mm8hVnlZv</a>',Ye,F,et,S,tt,U,li=`ONNX Runtime is a cross-platform machine-learning model accelerator, with a flexible interface to integrate hardware-specific libraries.
ONNX Runtime can be used with models from PyTorch, Tensorflow/Keras, TFLite, scikit-learn, and other frameworks.
The benefits of using ONNX Runtime for Inferencing are as follows:`,it,q,oi="<li>Improve inference performance for a wide variety of ML models</li> <li>Run on different hardware and operating systems</li> <li>Train in Python but deploy into a C#/C++/Java app</li> <li>Train and perform inference with models created in different frameworks</li>",nt,G,ai='For more details on ONNX Runtime, see <a href="https://onnxruntime.ai/docs/" rel="nofollow">here</a>',lt,j,ot,E,ri=`ONNX Runtime has 2 python package and only one of these packages should be installed at a time in any one environment.
Use the GPU package if you want to use ONNX Runtime with GPU support.
The python package for ONNX Runtime is available as a pip package. To install the package, run the following command:`,at,W,rt,A,si="For GPU version, run the following command:",st,X,pt,V,mt,J,pi='For a hands-on guide on how to use the ONNX Runtime, refer this <a href="https://colab.research.google.com/drive/1A-qYPX52V2q-7fXHaLeNRJqPUk3a4Qkd" rel="nofollow">notebook</a>',ft,Z,ut,B,dt,D,mi=`NVIDIA® TensorRT™ is an SDK for optimizing trained deep learning models to enable high-performance inference.
TensorRT contains a deep learning inference optimizer for trained deep learning models, and a runtime for execution.
After user have trained their deep learning model in a framework of their choice, TensorRT enables user to run it with higher throughput and lower latency.`,gt,K,$t,Q,fi="TensorRT is available as a pip package, <code>tensorrt</code>. To install the package, run the following command:",ht,Y,wt,ee,ui='for other installation methods, see <a href="https://docs.nvidia.com/deeplearning/tensorrt/quick-start-guide/index.html#install" rel="nofollow">here</a>',vt,te,Tt,ie,di='For a hands-on guide on how to use the TensorRT, refer this <a href="https://colab.research.google.com/drive/1b8ueEEwgRc9fGqky1f6ZPx5A2ak82FE1" rel="nofollow">notebook</a>',ct,ne,bt,le,xt,oe,gi=`The OpenVINO™ toolkit enables user to optimize a deep learning model from almost any framework and deploy it with best-in-class performance on a range of Intel® processors and other hardware platforms.
The benefits of using OpenVINO includes:`,yt,ae,$i="<li>link directly with OpenVINO Runtime to run inference locally or use OpenVINO Model Server to serve model inference from a separate server or within Kubernetes environment</li> <li>Write an application once, deploy it anywhere on your preferred device, language and OS.</li> <li>has minimal external dependencies</li> <li>Reduces first-inference latency by using the CPU for initial inference and then switching to another device once the model has been compiled and loaded to memory</li>",Ct,re,Mt,se,hi="Openvino is available as a pip package, <code>openvino</code>. To install the package, run the following command:",kt,pe,Ht,me,wi='For other installation methods, see <a href="https://docs.openvino.ai/2023.2/openvino_docs_install_guides_overview.html?VERSION=v_2023_2_0&amp;OP_SYSTEM=LINUX&amp;DISTRIBUTION=ARCHIVE" rel="nofollow">here</a>',Lt,fe,Pt,ue,vi='For a hands-on guide on how to use the OpenVINO, refer this <a href="https://colab.research.google.com/drive/1FWD0CloFt6gIEd0WBSMBDDKzA7YUE8Wz" rel="nofollow">notebook</a>',zt,de,Ot,ge,_t,$e,Ti=`Optimum serves as an extension of <a href="https://huggingface.co/docs/transformers" rel="nofollow">Transformers</a>, offering a suite of tools designed for optimizing performance in training and
running models on specific hardware, ensuring maximum efficiency. In the rapidly evolving AI landscape, specialized hardware and unique optimizations continue to emerge regularly.
Optimum empowers developers to seamlessly leverage these diverse platforms, maintaining the ease of use inherent in Transformers.
Platforms suppoerted by optimum as of now are:`,It,he,ci='<li><a href="https://huggingface.co/docs/optimum/habana/index" rel="nofollow">Habana</a></li> <li><a href="https://huggingface.co/docs/optimum/intel/index" rel="nofollow">Intel</a></li> <li><a href="https://github.com/huggingface/optimum-nvidia" rel="nofollow">Nvidia</a></li> <li><a href="https://huggingface.co/docs/optimum-neuron/index" rel="nofollow">AWS Trainium and Inferentia</a></li> <li><a href="https://huggingface.co/docs/optimum/amd/index" rel="nofollow">AMD</a></li> <li><a href="https://huggingface.co/docs/optimum/furiosa/index" rel="nofollow">FuriosaAI</a></li> <li><a href="https://huggingface.co/docs/optimum/onnxruntime/overview" rel="nofollow">ONNX Runtime</a></li> <li><a href="https://huggingface.co/docs/optimum/bettertransformer/overview" rel="nofollow">BetterTransformer</a></li>',Nt,we,Rt,ve,bi="Optimum is available as a pip package, <code>optimum</code>. To install the package, run the following command:",Ft,Te,St,ce,xi='For installation of accelerator-specific features, see <a href="https://huggingface.co/docs/optimum/installation" rel="nofollow">here</a>',Ut,be,qt,xe,yi='For a hands-on guide on how to use Optimum for quantization, refer this <a href="https://colab.research.google.com/drive/1tz4eHqSZzGlXXS3oBUc2NRbuRCn2HjdN" rel="nofollow">notebook</a>',Gt,ye,jt,Ce,Et,Me,Ci=`Edge TPU is Google’s purpose-built ASIC designed to run AI at the edge. It delivers high performance in a small physical and power footprint, enabling the deployment of high-accuracy AI at the edge.
The benefits of using EdgeTPU includes:`,Wt,ke,Mi="<li>Complements Cloud TPU and Google Cloud services to provide an end-to-end, cloud-to-edge, hardware + software infrastructure for AI-based solutions deployment</li> <li>High performance in a small physical and power footprint</li> <li>Combined custom hardware, open software, and state-of-the-art AI algorithms to provide high-quality, easy to deploy AI solutions for the edge.</li>",At,He,ki='For more details on EdgeTPU, see <a href="https://cloud.google.com/edge-tpu" rel="nofollow">here</a>',Xt,Le,Hi='For guide on how to setup and use EdgeTPU, refer this <a href="https://colab.research.google.com/drive/1aMEZE2sI9aMLLBVJNSS37ltMwmtEbMKl" rel="nofollow">notebook</a>',Vt,Pe,Jt,_e,Zt;return w=new $({props:{title:"Model optimization tools and frameworks",local:"model-optimization-tools-and-frameworks",headingTag:"h1"}}),v=new $({props:{title:"Tensorflow Model optimization Toolkit (TMO)",local:"tensorflow-model-optimization-toolkit-tmo",headingTag:"h2"}}),T=new $({props:{title:"Overview",local:"overview",headingTag:"h3"}}),b=new $({props:{title:"Setup guide",local:"setup-guide",headingTag:"h3"}}),y=new ze({props:{code:"cGlwJTIwaW5zdGFsbCUyMC1VJTIwdGVuc29yZmxvdy1tb2RlbC1vcHRpbWl6YXRpb24=",highlighted:'pip <span class="hljs-keyword">install</span> -U tensorflow-model-optimization',wrap:!1}}),C=new $({props:{title:"Hands-on guide",local:"hands-on-guide",headingTag:"h3"}}),k=new $({props:{title:"Pytorch Quantization",local:"pytorch-quantization",headingTag:"h2"}}),H=new $({props:{title:"Overview",local:"overview",headingTag:"h3"}}),O=new $({props:{title:"Setup guide",local:"setup-guide",headingTag:"h3"}}),I=new ze({props:{code:"cGlwJTIwaW5zdGFsbCUyMHRvcmNoJTBBaW1wb3J0JTIwdG9yY2gucXVhbnRpemF0aW9u",highlighted:`<span class="hljs-title">pip</span> install torch
<span class="hljs-keyword">import</span> torch.quantization`,wrap:!1}}),N=new $({props:{title:"Hands-on guide",local:"hands-on-guide",headingTag:"h2"}}),F=new $({props:{title:"ONNX Runtime",local:"onnx-runtime",headingTag:"h2"}}),S=new $({props:{title:"Overview",local:"overview",headingTag:"h3"}}),j=new $({props:{title:"Setup guide",local:"setup-guide",headingTag:"h3"}}),W=new ze({props:{code:"cGlwJTIwaW5zdGFsbCUyMG9ubnhydW50aW1l",highlighted:'pip <span class="hljs-keyword">install</span> onnxruntime',wrap:!1}}),X=new ze({props:{code:"cGlwJTIwaW5zdGFsbCUyMG9ubnhydW50aW1lLWdwdQ==",highlighted:'pip <span class="hljs-keyword">install</span> onnxruntime-gpu',wrap:!1}}),V=new $({props:{title:"Hands-on guide",local:"hands-on-guide",headingTag:"h3"}}),Z=new $({props:{title:"TensorRT",local:"tensorrt",headingTag:"h2"}}),B=new $({props:{title:"Overview",local:"overview",headingTag:"h3"}}),K=new $({props:{title:"Setup guide",local:"setup-guide",headingTag:"h3"}}),Y=new ze({props:{code:"cGlwJTIwaW5zdGFsbCUyMHRlbnNvcnJ0",highlighted:'pip <span class="hljs-keyword">install</span> tensorrt',wrap:!1}}),te=new $({props:{title:"Hands-on guide",local:"hands-on-guide",headingTag:"h3"}}),ne=new $({props:{title:"OpenVINO",local:"openvino",headingTag:"h2"}}),le=new $({props:{title:"Overview",local:"overview",headingTag:"h3"}}),re=new $({props:{title:"Setup guide",local:"setup-guide",headingTag:"h3"}}),pe=new ze({props:{code:"cGlwJTIwaW5zdGFsbCUyMG9wZW52aW5v",highlighted:'pip <span class="hljs-keyword">install</span> openvino',wrap:!1}}),fe=new $({props:{title:"Hands-on guide",local:"hands-on-guide",headingTag:"h3"}}),de=new $({props:{title:"Optimum",local:"optimum",headingTag:"h2"}}),ge=new $({props:{title:"Overview",local:"overview",headingTag:"h3"}}),we=new $({props:{title:"Setup guide",local:"setup-guide",headingTag:"h3"}}),Te=new ze({props:{code:"cGlwJTIwaW5zdGFsbCUyMG9wdGltdW0=",highlighted:'pip <span class="hljs-keyword">install</span> optimum',wrap:!1}}),be=new $({props:{title:"Hands-on guide",local:"hands-on-guide",headingTag:"h3"}}),ye=new $({props:{title:"EdgeTPU",local:"edgetpu",headingTag:"h2"}}),Ce=new $({props:{title:"Overview",local:"overview",headingTag:"h3"}}),Pe=new Si({props:{source:"https://github.com/johko/computer-vision-course/blob/main/chapters/en/unit9/tools_and_frameworks.mdx"}}),{c(){h=a("meta"),Ie=l(),Oe=a("p"),Ne=l(),r(w.$$.fragment),Re=l(),r(v.$$.fragment),Fe=l(),r(T.$$.fragment),Se=l(),c=a("p"),c.textContent=Dt,Ue=l(),r(b.$$.fragment),qe=l(),x=a("p"),x.innerHTML=Kt,Ge=l(),r(y.$$.fragment),je=l(),r(C.$$.fragment),Ee=l(),M=a("p"),M.innerHTML=Qt,We=l(),r(k.$$.fragment),Ae=l(),r(H.$$.fragment),Xe=l(),L=a("p"),L.textContent=Yt,Ve=l(),P=a("ol"),P.innerHTML=ei,Je=l(),z=a("p"),z.innerHTML=ti,Ze=l(),r(O.$$.fragment),Be=l(),_=a("p"),_.textContent=ii,De=l(),r(I.$$.fragment),Ke=l(),r(N.$$.fragment),Qe=l(),R=a("p"),R.innerHTML=ni,Ye=l(),r(F.$$.fragment),et=l(),r(S.$$.fragment),tt=l(),U=a("p"),U.textContent=li,it=l(),q=a("ul"),q.innerHTML=oi,nt=l(),G=a("p"),G.innerHTML=ai,lt=l(),r(j.$$.fragment),ot=l(),E=a("p"),E.textContent=ri,at=l(),r(W.$$.fragment),rt=l(),A=a("p"),A.textContent=si,st=l(),r(X.$$.fragment),pt=l(),r(V.$$.fragment),mt=l(),J=a("p"),J.innerHTML=pi,ft=l(),r(Z.$$.fragment),ut=l(),r(B.$$.fragment),dt=l(),D=a("p"),D.textContent=mi,gt=l(),r(K.$$.fragment),$t=l(),Q=a("p"),Q.innerHTML=fi,ht=l(),r(Y.$$.fragment),wt=l(),ee=a("p"),ee.innerHTML=ui,vt=l(),r(te.$$.fragment),Tt=l(),ie=a("p"),ie.innerHTML=di,ct=l(),r(ne.$$.fragment),bt=l(),r(le.$$.fragment),xt=l(),oe=a("p"),oe.textContent=gi,yt=l(),ae=a("ul"),ae.innerHTML=$i,Ct=l(),r(re.$$.fragment),Mt=l(),se=a("p"),se.innerHTML=hi,kt=l(),r(pe.$$.fragment),Ht=l(),me=a("p"),me.innerHTML=wi,Lt=l(),r(fe.$$.fragment),Pt=l(),ue=a("p"),ue.innerHTML=vi,zt=l(),r(de.$$.fragment),Ot=l(),r(ge.$$.fragment),_t=l(),$e=a("p"),$e.innerHTML=Ti,It=l(),he=a("ol"),he.innerHTML=ci,Nt=l(),r(we.$$.fragment),Rt=l(),ve=a("p"),ve.innerHTML=bi,Ft=l(),r(Te.$$.fragment),St=l(),ce=a("p"),ce.innerHTML=xi,Ut=l(),r(be.$$.fragment),qt=l(),xe=a("p"),xe.innerHTML=yi,Gt=l(),r(ye.$$.fragment),jt=l(),r(Ce.$$.fragment),Et=l(),Me=a("p"),Me.textContent=Ci,Wt=l(),ke=a("ul"),ke.innerHTML=Mi,At=l(),He=a("p"),He.innerHTML=ki,Xt=l(),Le=a("p"),Le.innerHTML=Hi,Vt=l(),r(Pe.$$.fragment),Jt=l(),_e=a("p"),this.h()},l(e){const t=Ri("svelte-u9bgzb",document.head);h=s(t,"META",{name:!0,content:!0}),t.forEach(i),Ie=o(e),Oe=s(e,"P",{}),Li(Oe).forEach(i),Ne=o(e),p(w.$$.fragment,e),Re=o(e),p(v.$$.fragment,e),Fe=o(e),p(T.$$.fragment,e),Se=o(e),c=s(e,"P",{"data-svelte-h":!0}),g(c)!=="svelte-1me1l8v"&&(c.textContent=Dt),Ue=o(e),p(b.$$.fragment,e),qe=o(e),x=s(e,"P",{"data-svelte-h":!0}),g(x)!=="svelte-179jdom"&&(x.innerHTML=Kt),Ge=o(e),p(y.$$.fragment,e),je=o(e),p(C.$$.fragment,e),Ee=o(e),M=s(e,"P",{"data-svelte-h":!0}),g(M)!=="svelte-8pdlh"&&(M.innerHTML=Qt),We=o(e),p(k.$$.fragment,e),Ae=o(e),p(H.$$.fragment,e),Xe=o(e),L=s(e,"P",{"data-svelte-h":!0}),g(L)!=="svelte-1c9pg73"&&(L.textContent=Yt),Ve=o(e),P=s(e,"OL",{"data-svelte-h":!0}),g(P)!=="svelte-vdgwbj"&&(P.innerHTML=ei),Je=o(e),z=s(e,"P",{"data-svelte-h":!0}),g(z)!=="svelte-197gxwz"&&(z.innerHTML=ti),Ze=o(e),p(O.$$.fragment,e),Be=o(e),_=s(e,"P",{"data-svelte-h":!0}),g(_)!=="svelte-c0fswj"&&(_.textContent=ii),De=o(e),p(I.$$.fragment,e),Ke=o(e),p(N.$$.fragment,e),Qe=o(e),R=s(e,"P",{"data-svelte-h":!0}),g(R)!=="svelte-11pnpw0"&&(R.innerHTML=ni),Ye=o(e),p(F.$$.fragment,e),et=o(e),p(S.$$.fragment,e),tt=o(e),U=s(e,"P",{"data-svelte-h":!0}),g(U)!=="svelte-126giqx"&&(U.textContent=li),it=o(e),q=s(e,"UL",{"data-svelte-h":!0}),g(q)!=="svelte-eg6d7l"&&(q.innerHTML=oi),nt=o(e),G=s(e,"P",{"data-svelte-h":!0}),g(G)!=="svelte-1903gj"&&(G.innerHTML=ai),lt=o(e),p(j.$$.fragment,e),ot=o(e),E=s(e,"P",{"data-svelte-h":!0}),g(E)!=="svelte-ey7nvx"&&(E.textContent=ri),at=o(e),p(W.$$.fragment,e),rt=o(e),A=s(e,"P",{"data-svelte-h":!0}),g(A)!=="svelte-1ktucuj"&&(A.textContent=si),st=o(e),p(X.$$.fragment,e),pt=o(e),p(V.$$.fragment,e),mt=o(e),J=s(e,"P",{"data-svelte-h":!0}),g(J)!=="svelte-1i4oh5k"&&(J.innerHTML=pi),ft=o(e),p(Z.$$.fragment,e),ut=o(e),p(B.$$.fragment,e),dt=o(e),D=s(e,"P",{"data-svelte-h":!0}),g(D)!=="svelte-17idhxm"&&(D.textContent=mi),gt=o(e),p(K.$$.fragment,e),$t=o(e),Q=s(e,"P",{"data-svelte-h":!0}),g(Q)!=="svelte-ap1fh1"&&(Q.innerHTML=fi),ht=o(e),p(Y.$$.fragment,e),wt=o(e),ee=s(e,"P",{"data-svelte-h":!0}),g(ee)!=="svelte-17jadf6"&&(ee.innerHTML=ui),vt=o(e),p(te.$$.fragment,e),Tt=o(e),ie=s(e,"P",{"data-svelte-h":!0}),g(ie)!=="svelte-195we7m"&&(ie.innerHTML=di),ct=o(e),p(ne.$$.fragment,e),bt=o(e),p(le.$$.fragment,e),xt=o(e),oe=s(e,"P",{"data-svelte-h":!0}),g(oe)!=="svelte-mh4ae3"&&(oe.textContent=gi),yt=o(e),ae=s(e,"UL",{"data-svelte-h":!0}),g(ae)!=="svelte-1n7vlpj"&&(ae.innerHTML=$i),Ct=o(e),p(re.$$.fragment,e),Mt=o(e),se=s(e,"P",{"data-svelte-h":!0}),g(se)!=="svelte-n0ajdp"&&(se.innerHTML=hi),kt=o(e),p(pe.$$.fragment,e),Ht=o(e),me=s(e,"P",{"data-svelte-h":!0}),g(me)!=="svelte-1iyzupo"&&(me.innerHTML=wi),Lt=o(e),p(fe.$$.fragment,e),Pt=o(e),ue=s(e,"P",{"data-svelte-h":!0}),g(ue)!=="svelte-1n6fv6c"&&(ue.innerHTML=vi),zt=o(e),p(de.$$.fragment,e),Ot=o(e),p(ge.$$.fragment,e),_t=o(e),$e=s(e,"P",{"data-svelte-h":!0}),g($e)!=="svelte-1tqd58k"&&($e.innerHTML=Ti),It=o(e),he=s(e,"OL",{"data-svelte-h":!0}),g(he)!=="svelte-14x2ukl"&&(he.innerHTML=ci),Nt=o(e),p(we.$$.fragment,e),Rt=o(e),ve=s(e,"P",{"data-svelte-h":!0}),g(ve)!=="svelte-1ef21rr"&&(ve.innerHTML=bi),Ft=o(e),p(Te.$$.fragment,e),St=o(e),ce=s(e,"P",{"data-svelte-h":!0}),g(ce)!=="svelte-zxoq09"&&(ce.innerHTML=xi),Ut=o(e),p(be.$$.fragment,e),qt=o(e),xe=s(e,"P",{"data-svelte-h":!0}),g(xe)!=="svelte-lu9r8v"&&(xe.innerHTML=yi),Gt=o(e),p(ye.$$.fragment,e),jt=o(e),p(Ce.$$.fragment,e),Et=o(e),Me=s(e,"P",{"data-svelte-h":!0}),g(Me)!=="svelte-fnz1ur"&&(Me.textContent=Ci),Wt=o(e),ke=s(e,"UL",{"data-svelte-h":!0}),g(ke)!=="svelte-mk96iw"&&(ke.innerHTML=Mi),At=o(e),He=s(e,"P",{"data-svelte-h":!0}),g(He)!=="svelte-1vsiith"&&(He.innerHTML=ki),Xt=o(e),Le=s(e,"P",{"data-svelte-h":!0}),g(Le)!=="svelte-5c2t7"&&(Le.innerHTML=Hi),Vt=o(e),p(Pe.$$.fragment,e),Jt=o(e),_e=s(e,"P",{}),Li(_e).forEach(i),this.h()},h(){Pi(h,"name","hf:doc:metadata"),Pi(h,"content",qi)},m(e,t){Fi(document.head,h),n(e,Ie,t),n(e,Oe,t),n(e,Ne,t),m(w,e,t),n(e,Re,t),m(v,e,t),n(e,Fe,t),m(T,e,t),n(e,Se,t),n(e,c,t),n(e,Ue,t),m(b,e,t),n(e,qe,t),n(e,x,t),n(e,Ge,t),m(y,e,t),n(e,je,t),m(C,e,t),n(e,Ee,t),n(e,M,t),n(e,We,t),m(k,e,t),n(e,Ae,t),m(H,e,t),n(e,Xe,t),n(e,L,t),n(e,Ve,t),n(e,P,t),n(e,Je,t),n(e,z,t),n(e,Ze,t),m(O,e,t),n(e,Be,t),n(e,_,t),n(e,De,t),m(I,e,t),n(e,Ke,t),m(N,e,t),n(e,Qe,t),n(e,R,t),n(e,Ye,t),m(F,e,t),n(e,et,t),m(S,e,t),n(e,tt,t),n(e,U,t),n(e,it,t),n(e,q,t),n(e,nt,t),n(e,G,t),n(e,lt,t),m(j,e,t),n(e,ot,t),n(e,E,t),n(e,at,t),m(W,e,t),n(e,rt,t),n(e,A,t),n(e,st,t),m(X,e,t),n(e,pt,t),m(V,e,t),n(e,mt,t),n(e,J,t),n(e,ft,t),m(Z,e,t),n(e,ut,t),m(B,e,t),n(e,dt,t),n(e,D,t),n(e,gt,t),m(K,e,t),n(e,$t,t),n(e,Q,t),n(e,ht,t),m(Y,e,t),n(e,wt,t),n(e,ee,t),n(e,vt,t),m(te,e,t),n(e,Tt,t),n(e,ie,t),n(e,ct,t),m(ne,e,t),n(e,bt,t),m(le,e,t),n(e,xt,t),n(e,oe,t),n(e,yt,t),n(e,ae,t),n(e,Ct,t),m(re,e,t),n(e,Mt,t),n(e,se,t),n(e,kt,t),m(pe,e,t),n(e,Ht,t),n(e,me,t),n(e,Lt,t),m(fe,e,t),n(e,Pt,t),n(e,ue,t),n(e,zt,t),m(de,e,t),n(e,Ot,t),m(ge,e,t),n(e,_t,t),n(e,$e,t),n(e,It,t),n(e,he,t),n(e,Nt,t),m(we,e,t),n(e,Rt,t),n(e,ve,t),n(e,Ft,t),m(Te,e,t),n(e,St,t),n(e,ce,t),n(e,Ut,t),m(be,e,t),n(e,qt,t),n(e,xe,t),n(e,Gt,t),m(ye,e,t),n(e,jt,t),m(Ce,e,t),n(e,Et,t),n(e,Me,t),n(e,Wt,t),n(e,ke,t),n(e,At,t),n(e,He,t),n(e,Xt,t),n(e,Le,t),n(e,Vt,t),m(Pe,e,t),n(e,Jt,t),n(e,_e,t),Zt=!0},p:Oi,i(e){Zt||(f(w.$$.fragment,e),f(v.$$.fragment,e),f(T.$$.fragment,e),f(b.$$.fragment,e),f(y.$$.fragment,e),f(C.$$.fragment,e),f(k.$$.fragment,e),f(H.$$.fragment,e),f(O.$$.fragment,e),f(I.$$.fragment,e),f(N.$$.fragment,e),f(F.$$.fragment,e),f(S.$$.fragment,e),f(j.$$.fragment,e),f(W.$$.fragment,e),f(X.$$.fragment,e),f(V.$$.fragment,e),f(Z.$$.fragment,e),f(B.$$.fragment,e),f(K.$$.fragment,e),f(Y.$$.fragment,e),f(te.$$.fragment,e),f(ne.$$.fragment,e),f(le.$$.fragment,e),f(re.$$.fragment,e),f(pe.$$.fragment,e),f(fe.$$.fragment,e),f(de.$$.fragment,e),f(ge.$$.fragment,e),f(we.$$.fragment,e),f(Te.$$.fragment,e),f(be.$$.fragment,e),f(ye.$$.fragment,e),f(Ce.$$.fragment,e),f(Pe.$$.fragment,e),Zt=!0)},o(e){u(w.$$.fragment,e),u(v.$$.fragment,e),u(T.$$.fragment,e),u(b.$$.fragment,e),u(y.$$.fragment,e),u(C.$$.fragment,e),u(k.$$.fragment,e),u(H.$$.fragment,e),u(O.$$.fragment,e),u(I.$$.fragment,e),u(N.$$.fragment,e),u(F.$$.fragment,e),u(S.$$.fragment,e),u(j.$$.fragment,e),u(W.$$.fragment,e),u(X.$$.fragment,e),u(V.$$.fragment,e),u(Z.$$.fragment,e),u(B.$$.fragment,e),u(K.$$.fragment,e),u(Y.$$.fragment,e),u(te.$$.fragment,e),u(ne.$$.fragment,e),u(le.$$.fragment,e),u(re.$$.fragment,e),u(pe.$$.fragment,e),u(fe.$$.fragment,e),u(de.$$.fragment,e),u(ge.$$.fragment,e),u(we.$$.fragment,e),u(Te.$$.fragment,e),u(be.$$.fragment,e),u(ye.$$.fragment,e),u(Ce.$$.fragment,e),u(Pe.$$.fragment,e),Zt=!1},d(e){e&&(i(Ie),i(Oe),i(Ne),i(Re),i(Fe),i(Se),i(c),i(Ue),i(qe),i(x),i(Ge),i(je),i(Ee),i(M),i(We),i(Ae),i(Xe),i(L),i(Ve),i(P),i(Je),i(z),i(Ze),i(Be),i(_),i(De),i(Ke),i(Qe),i(R),i(Ye),i(et),i(tt),i(U),i(it),i(q),i(nt),i(G),i(lt),i(ot),i(E),i(at),i(rt),i(A),i(st),i(pt),i(mt),i(J),i(ft),i(ut),i(dt),i(D),i(gt),i($t),i(Q),i(ht),i(wt),i(ee),i(vt),i(Tt),i(ie),i(ct),i(bt),i(xt),i(oe),i(yt),i(ae),i(Ct),i(Mt),i(se),i(kt),i(Ht),i(me),i(Lt),i(Pt),i(ue),i(zt),i(Ot),i(_t),i($e),i(It),i(he),i(Nt),i(Rt),i(ve),i(Ft),i(St),i(ce),i(Ut),i(qt),i(xe),i(Gt),i(jt),i(Et),i(Me),i(Wt),i(ke),i(At),i(He),i(Xt),i(Le),i(Vt),i(Jt),i(_e)),i(h),d(w,e),d(v,e),d(T,e),d(b,e),d(y,e),d(C,e),d(k,e),d(H,e),d(O,e),d(I,e),d(N,e),d(F,e),d(S,e),d(j,e),d(W,e),d(X,e),d(V,e),d(Z,e),d(B,e),d(K,e),d(Y,e),d(te,e),d(ne,e),d(le,e),d(re,e),d(pe,e),d(fe,e),d(de,e),d(ge,e),d(we,e),d(Te,e),d(be,e),d(ye,e),d(Ce,e),d(Pe,e)}}}const qi='{"title":"Model optimization tools and frameworks","local":"model-optimization-tools-and-frameworks","sections":[{"title":"Tensorflow Model optimization Toolkit (TMO)","local":"tensorflow-model-optimization-toolkit-tmo","sections":[{"title":"Overview","local":"overview","sections":[],"depth":3},{"title":"Setup guide","local":"setup-guide","sections":[],"depth":3},{"title":"Hands-on guide","local":"hands-on-guide","sections":[],"depth":3}],"depth":2},{"title":"Pytorch Quantization","local":"pytorch-quantization","sections":[{"title":"Overview","local":"overview","sections":[],"depth":3},{"title":"Setup guide","local":"setup-guide","sections":[],"depth":3}],"depth":2},{"title":"Hands-on guide","local":"hands-on-guide","sections":[],"depth":2},{"title":"ONNX Runtime","local":"onnx-runtime","sections":[{"title":"Overview","local":"overview","sections":[],"depth":3},{"title":"Setup guide","local":"setup-guide","sections":[],"depth":3},{"title":"Hands-on guide","local":"hands-on-guide","sections":[],"depth":3}],"depth":2},{"title":"TensorRT","local":"tensorrt","sections":[{"title":"Overview","local":"overview","sections":[],"depth":3},{"title":"Setup guide","local":"setup-guide","sections":[],"depth":3},{"title":"Hands-on guide","local":"hands-on-guide","sections":[],"depth":3}],"depth":2},{"title":"OpenVINO","local":"openvino","sections":[{"title":"Overview","local":"overview","sections":[],"depth":3},{"title":"Setup guide","local":"setup-guide","sections":[],"depth":3},{"title":"Hands-on guide","local":"hands-on-guide","sections":[],"depth":3}],"depth":2},{"title":"Optimum","local":"optimum","sections":[{"title":"Overview","local":"overview","sections":[],"depth":3},{"title":"Setup guide","local":"setup-guide","sections":[],"depth":3},{"title":"Hands-on guide","local":"hands-on-guide","sections":[],"depth":3}],"depth":2},{"title":"EdgeTPU","local":"edgetpu","sections":[{"title":"Overview","local":"overview","sections":[],"depth":3}],"depth":2}],"depth":1}';function Gi(Bt){return _i(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Xi extends Ii{constructor(h){super(),Ni(this,h,Gi,Ui,zi,{})}}export{Xi as component};
