import{S as X,i as Y,s as Z,e as r,k as w,w as M,t as F,M as tt,c as i,d as e,m as O,a as p,x as L,h as K,b as a,G as n,g as _,y as D,L as et,q as C,o as H,B as T,v as at}from"../../chunks/vendor-hf-doc-builder.js";import{D as nt}from"../../chunks/Docstring-hf-doc-builder.js";import{I as W}from"../../chunks/IconCopyLink-hf-doc-builder.js";function rt(U){let o,b,s,c,g,h,S,$,A,x,l,u,y,f,N,z,q,E,d,v,I;return h=new W({}),f=new W({}),v=new nt({props:{name:"class optimum.intel.IncOptimizer",anchor:"optimum.intel.IncOptimizer",parameters:[{name:"model",val:": typing.Union[transformers.modeling_utils.PreTrainedModel, torch.nn.modules.module.Module]"},{name:"quantizer",val:": typing.Optional[neural_compressor.experimental.quantization.Quantization] = None"},{name:"pruner",val:": typing.Optional[neural_compressor.experimental.pruning.Pruning] = None"}],source:"https://github.com/huggingface/optimum/blob/vr_203/src/optimum/intel/neural_compressor/optimization.py#L28"}}),{c(){o=r("meta"),b=w(),s=r("h1"),c=r("a"),g=r("span"),M(h.$$.fragment),S=w(),$=r("span"),A=F("Optimization"),x=w(),l=r("h2"),u=r("a"),y=r("span"),M(f.$$.fragment),N=w(),z=r("span"),q=F("IncOptimizer"),E=w(),d=r("div"),M(v.$$.fragment),this.h()},l(t){const m=tt('[data-svelte="svelte-1phssyn"]',document.head);o=i(m,"META",{name:!0,content:!0}),m.forEach(e),b=O(t),s=i(t,"H1",{class:!0});var P=p(s);c=i(P,"A",{id:!0,class:!0,href:!0});var B=p(c);g=i(B,"SPAN",{});var G=p(g);L(h.$$.fragment,G),G.forEach(e),B.forEach(e),S=O(P),$=i(P,"SPAN",{});var J=p($);A=K(J,"Optimization"),J.forEach(e),P.forEach(e),x=O(t),l=i(t,"H2",{class:!0});var k=p(l);u=i(k,"A",{id:!0,class:!0,href:!0});var Q=p(u);y=i(Q,"SPAN",{});var R=p(y);L(f.$$.fragment,R),R.forEach(e),Q.forEach(e),N=O(k),z=i(k,"SPAN",{});var V=p(z);q=K(V,"IncOptimizer"),V.forEach(e),k.forEach(e),E=O(t),d=i(t,"DIV",{class:!0});var j=p(d);L(v.$$.fragment,j),j.forEach(e),this.h()},h(){a(o,"name","hf:doc:metadata"),a(o,"content",JSON.stringify(it)),a(c,"id","optimization"),a(c,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),a(c,"href","#optimization"),a(s,"class","relative group"),a(u,"id","optimum.intel.IncOptimizer"),a(u,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),a(u,"href","#optimum.intel.IncOptimizer"),a(l,"class","relative group"),a(d,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(t,m){n(document.head,o),_(t,b,m),_(t,s,m),n(s,c),n(c,g),D(h,g,null),n(s,S),n(s,$),n($,A),_(t,x,m),_(t,l,m),n(l,u),n(u,y),D(f,y,null),n(l,N),n(l,z),n(z,q),_(t,E,m),_(t,d,m),D(v,d,null),I=!0},p:et,i(t){I||(C(h.$$.fragment,t),C(f.$$.fragment,t),C(v.$$.fragment,t),I=!0)},o(t){H(h.$$.fragment,t),H(f.$$.fragment,t),H(v.$$.fragment,t),I=!1},d(t){e(o),t&&e(b),t&&e(s),T(h),t&&e(x),t&&e(l),T(f),t&&e(E),t&&e(d),T(v)}}}const it={local:"optimization",sections:[{local:"optimum.intel.IncOptimizer",title:"IncOptimizer"}],title:"Optimization"};function ot(U){return at(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class pt extends X{constructor(o){super();Y(this,o,ot,rt,Z,{})}}export{pt as default,it as metadata};
