import{S as te,i as le,s as ae,O as d,t as P,P as p,a as c,h as Z,d as o,b as r,g as q,G as i,L as R,e as K,w as X,k as T,c as J,x as se,m as W,y as Q,Q as ye,q as $,o as z,B as U,n as Y,p as ee,U as Oe,v as Ve,V as be,W as Be,X as Fe,F as ve,H as Ee,I as ke,J as $e}from"./vendor-hf-doc-builder.js";import{A as V,g as Pe,I as Ze,a as Re}from"./IconTensorflow-hf-doc-builder.js";function qe(n){let e,a,l,t,s,f,u,h,_,E,m,k,v,y,L,j,w,C,S,H,g,M,N,b,B,re,ne,oe,ie,fe,ce,x,A,he,ue,de,pe,D,me,_e,ge;return{c(){e=d("svg"),a=d("style"),l=P(`.J {
			stroke: #dce0df;
		}
		.K {
			stroke-linejoin: round;
		}
	`),t=d("g"),s=d("path"),f=d("path"),u=d("path"),h=d("path"),_=d("path"),E=d("path"),m=d("path"),k=d("path"),v=d("g"),y=d("path"),L=d("path"),j=d("path"),w=d("g"),C=d("path"),S=d("path"),H=d("path"),g=d("g"),M=d("path"),N=d("path"),b=d("g"),B=d("path"),re=d("path"),ne=d("path"),oe=d("path"),ie=d("path"),fe=d("path"),ce=d("path"),x=d("path"),A=d("g"),he=d("path"),ue=d("path"),de=d("path"),pe=d("path"),D=d("g"),me=d("path"),_e=d("path"),ge=d("path"),this.h()},l(G){e=p(G,"svg",{class:!0,xmlns:!0,"xmlns:xlink":!0,"aria-hidden":!0,focusable:!0,role:!0,width:!0,height:!0,preserveAspectRatio:!0,viewBox:!0});var I=c(e);a=p(I,"style",{});var Le=c(a);l=Z(Le,`.J {
			stroke: #dce0df;
		}
		.K {
			stroke-linejoin: round;
		}
	`),Le.forEach(o),t=p(I,"g",{fill:!0,class:!0});var O=c(t);s=p(O,"path",{d:!0}),c(s).forEach(o),f=p(O,"path",{d:!0}),c(f).forEach(o),u=p(O,"path",{d:!0}),c(u).forEach(o),h=p(O,"path",{d:!0}),c(h).forEach(o),_=p(O,"path",{d:!0}),c(_).forEach(o),E=p(O,"path",{d:!0}),c(E).forEach(o),m=p(O,"path",{d:!0}),c(m).forEach(o),k=p(O,"path",{d:!0}),c(k).forEach(o),O.forEach(o),v=p(I,"g",{fill:!0,class:!0});var Ce=c(v);y=p(Ce,"path",{d:!0}),c(y).forEach(o),L=p(Ce,"path",{d:!0}),c(L).forEach(o),j=p(Ce,"path",{d:!0}),c(j).forEach(o),Ce.forEach(o),w=p(I,"g",{fill:!0,class:!0});var Me=c(w);C=p(Me,"path",{d:!0}),c(C).forEach(o),S=p(Me,"path",{d:!0}),c(S).forEach(o),Me.forEach(o),H=p(I,"path",{d:!0,fill:!0,class:!0}),c(H).forEach(o),g=p(I,"g",{fill:!0,class:!0});var Se=c(g);M=p(Se,"path",{d:!0}),c(M).forEach(o),N=p(Se,"path",{d:!0}),c(N).forEach(o),Se.forEach(o),b=p(I,"g",{fill:!0,class:!0});var F=c(b);B=p(F,"path",{d:!0}),c(B).forEach(o),re=p(F,"path",{d:!0}),c(re).forEach(o),ne=p(F,"path",{d:!0}),c(ne).forEach(o),oe=p(F,"path",{d:!0}),c(oe).forEach(o),ie=p(F,"path",{d:!0}),c(ie).forEach(o),fe=p(F,"path",{d:!0}),c(fe).forEach(o),ce=p(F,"path",{d:!0}),c(ce).forEach(o),F.forEach(o),x=p(I,"path",{d:!0,fill:!0,class:!0}),c(x).forEach(o),A=p(I,"g",{fill:!0,class:!0});var we=c(A);he=p(we,"path",{d:!0}),c(he).forEach(o),ue=p(we,"path",{d:!0}),c(ue).forEach(o),de=p(we,"path",{d:!0}),c(de).forEach(o),pe=p(we,"path",{d:!0}),c(pe).forEach(o),we.forEach(o),D=p(I,"g",{fill:!0,class:!0});var ze=c(D);me=p(ze,"path",{d:!0}),c(me).forEach(o),_e=p(ze,"path",{d:!0}),c(_e).forEach(o),ge=p(ze,"path",{d:!0}),c(ge).forEach(o),ze.forEach(o),I.forEach(o),this.h()},h(){r(s,"d","M50.5 130.4l-25 43.31h50l25-43.31h-50z"),r(f,"d","M.5 217.01l25-43.3h50l-25 43.3H.5z"),r(u,"d","M125.5 173.71h-50l-25 43.3h50l25-43.3z"),r(h,"d","M175.5 173.71h-50l-25 43.3h50l25-43.3z"),r(_,"d","M150.5 130.4l-25 43.31h50l25-43.31h-50z"),r(E,"d","M175.5 87.1l-25 43.3h50l25-43.3h-50z"),r(m,"d","M200.5 43.8l-25 43.3h50l25-43.3h-50z"),r(k,"d","M225.5.5l-25 43.3h50l25-43.3h-50z"),r(t,"fill","#5e97f6"),r(t,"class","J K"),r(y,"d","M.5 217.01l25 43.3h50l-25-43.3H.5z"),r(L,"d","M125.5 260.31h-50l-25-43.3h50l25 43.3z"),r(j,"d","M175.5 260.31h-50l-25-43.3h50l25 43.3z"),r(v,"fill","#2a56c6"),r(v,"class","J K"),r(C,"d","M200.5 217.01l-25-43.3-25 43.3 25 43.3 25-43.3zm50-86.61l-25-43.3-25 43.3h50z"),r(S,"d","M250.5 43.8l-25 43.3 25 43.3 25-43.3-25-43.3z"),r(w,"fill","#00796b"),r(w,"class","J K"),r(H,"d","M125.5 173.71l-25-43.31-25 43.31h50z"),r(H,"fill","#3367d6"),r(H,"class","J K"),r(M,"d","M250.5 130.4h-50l-25 43.31h50l25-43.31z"),r(N,"d","M300.5 130.4h-50l-25 43.31h50l25-43.31z"),r(g,"fill","#26a69a"),r(g,"class","J K"),r(B,"d","M350.5 43.8L325.5.5l-25 43.3 25 43.3 25-43.3z"),r(re,"d","M375.5 87.1l-25-43.3-25 43.3 25 43.3 25-43.3z"),r(ne,"d","M400.5 130.4l-25-43.3-25 43.3 25 43.31 25-43.31z"),r(oe,"d","M425.5 173.71l-25-43.31-25 43.31 25 43.3 25-43.3z"),r(ie,"d","M450.5 217.01l-25-43.3-25 43.3 25 43.3 25-43.3zM425.5.5l-25 43.3 25 43.3 25-43.3-25-43.3z"),r(fe,"d","M375.5 87.1l25-43.3 25 43.3-25 43.3-25-43.3zm-25 43.3l-25 43.31 25 43.3 25-43.3-25-43.31z"),r(ce,"d","M325.5 260.31l-25-43.3 25-43.3 25 43.3-25 43.3z"),r(b,"fill","#9c27b0"),r(b,"class","J K"),r(x,"d","M275.5 260.31l-25-43.3h50l25 43.3h-50z"),r(x,"fill","#6a1b9a"),r(x,"class","J K"),r(he,"d","M225.5 173.71h-50l25 43.3h50l-25-43.3z"),r(ue,"d","M275.5 173.71h-50l25 43.3 25-43.3zm0-86.61l25 43.3h50l-25-43.3h-50z"),r(de,"d","M300.5 43.8h-50l25 43.3h50l-25-43.3zm125 216.51l-25-43.3h-50l25 43.3h50z"),r(pe,"d","M375.5 173.71l-25 43.3h50l-25-43.3z"),r(A,"fill","#00695c"),r(A,"class","J K"),r(me,"d","M325.5.5h-50l-25 43.3h50l25-43.3zm0 173.21h-50l-25 43.3h50l25-43.3z"),r(_e,"d","M350.5 130.4h-50l-25 43.31h50l25-43.31zM425.5.5h-50l-25 43.3h50l25-43.3z"),r(ge,"d","M375.5 87.1l-25-43.3h50l-25 43.3z"),r(D,"fill","#ea80fc"),r(D,"class","J K"),r(e,"class",n[0]),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),r(e,"aria-hidden","true"),r(e,"focusable","false"),r(e,"role","img"),r(e,"width","1.73em"),r(e,"height","1em"),r(e,"preserveAspectRatio","xMidYMid meet"),r(e,"viewBox","0 0 451 260.81")},m(G,I){q(G,e,I),i(e,a),i(a,l),i(e,t),i(t,s),i(t,f),i(t,u),i(t,h),i(t,_),i(t,E),i(t,m),i(t,k),i(e,v),i(v,y),i(v,L),i(v,j),i(e,w),i(w,C),i(w,S),i(e,H),i(e,g),i(g,M),i(g,N),i(e,b),i(b,B),i(b,re),i(b,ne),i(b,oe),i(b,ie),i(b,fe),i(b,ce),i(e,x),i(e,A),i(A,he),i(A,ue),i(A,de),i(A,pe),i(e,D),i(D,me),i(D,_e),i(D,ge)},p(G,[I]){I&1&&r(e,"class",G[0])},i:R,o:R,d(G){G&&o(e)}}}function xe(n,e,a){let{classNames:l=""}=e;return n.$$set=t=>{"classNames"in t&&a(0,l=t.classNames)},[l]}class Ge extends te{constructor(e){super();le(this,e,xe,qe,ae,{classNames:0})}}function Te(n){let e,a;return{c(){e=d("svg"),a=d("path"),this.h()},l(l){e=p(l,"svg",{class:!0,width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var t=c(e);a=p(t,"path",{d:!0,fill:!0}),c(a).forEach(o),t.forEach(o),this.h()},h(){r(a,"d","M0 4.50001C0.390979 2.37042 2.25728 0.756592 4.5 0.756592C6.74272 0.756592 8.60861 2.37042 9 4.50001C8.60902 6.62959 6.74272 8.24342 4.5 8.24342C2.25728 8.24342 0.391395 6.62959 0 4.50001ZM4.5 6.57968C5.05156 6.57968 5.58054 6.36057 5.97055 5.97056C6.36057 5.58054 6.57967 5.05157 6.57967 4.50001C6.57967 3.94844 6.36057 3.41947 5.97055 3.02945C5.58054 2.63944 5.05156 2.42033 4.5 2.42033C3.94844 2.42033 3.41946 2.63944 3.02945 3.02945C2.63943 3.41947 2.42033 3.94844 2.42033 4.50001C2.42033 5.05157 2.63943 5.58054 3.02945 5.97056C3.41946 6.36057 3.94844 6.57968 4.5 6.57968ZM4.5 5.74781C4.16906 5.74781 3.85168 5.61635 3.61767 5.38234C3.38366 5.14833 3.2522 4.83094 3.2522 4.50001C3.2522 4.16907 3.38366 3.85168 3.61767 3.61767C3.85168 3.38367 4.16906 3.2522 4.5 3.2522C4.83094 3.2522 5.14832 3.38367 5.38233 3.61767C5.61634 3.85168 5.7478 4.16907 5.7478 4.50001C5.7478 4.83094 5.61634 5.14833 5.38233 5.38234C5.14832 5.61635 4.83094 5.74781 4.5 5.74781Z"),r(a,"fill","currentColor"),r(e,"class",n[0]),r(e,"width",n[1]),r(e,"height",n[1]),r(e,"viewBox","0 0 9 9"),r(e,"fill","currentColor"),r(e,"xmlns","http://www.w3.org/2000/svg")},m(l,t){q(l,e,t),i(e,a)},p(l,[t]){t&1&&r(e,"class",l[0]),t&2&&r(e,"width",l[1]),t&2&&r(e,"height",l[1])},i:R,o:R,d(l){l&&o(e)}}}function We(n,e,a){let{classNames:l=""}=e,{size:t="1em"}=e;return n.$$set=s=>{"classNames"in s&&a(0,l=s.classNames),"size"in s&&a(1,t=s.size)},[l,t]}class Xe extends te{constructor(e){super();le(this,e,We,Te,ae,{classNames:0,size:1})}}function Qe(n){let e,a;return{c(){e=d("svg"),a=d("path"),this.h()},l(l){e=p(l,"svg",{class:!0,width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var t=c(e);a=p(t,"path",{d:!0,fill:!0}),c(a).forEach(o),t.forEach(o),this.h()},h(){r(a,"d","M1.39125 1.9725L0.0883333 0.669997L0.677917 0.0804138L8.9275 8.33041L8.33792 8.91958L6.95875 7.54041C6.22592 8.00523 5.37572 8.25138 4.50792 8.25C2.26125 8.25 0.392083 6.63333 0 4.5C0.179179 3.52946 0.667345 2.64287 1.39167 1.9725H1.39125ZM5.65667 6.23833L5.04667 5.62833C4.81335 5.73996 4.55116 5.77647 4.29622 5.73282C4.04129 5.68918 3.80617 5.56752 3.62328 5.38463C3.44039 5.20175 3.31874 4.96663 3.27509 4.71169C3.23144 4.45676 3.26795 4.19456 3.37958 3.96125L2.76958 3.35125C2.50447 3.75187 2.38595 4.2318 2.4341 4.70978C2.48225 5.18777 2.6941 5.63442 3.0338 5.97411C3.37349 6.31381 3.82015 6.52567 4.29813 6.57382C4.77611 6.62197 5.25605 6.50345 5.65667 6.23833ZM2.83042 1.06666C3.35 0.862497 3.91625 0.749997 4.50792 0.749997C6.75458 0.749997 8.62375 2.36666 9.01583 4.5C8.88816 5.19404 8.60119 5.84899 8.1775 6.41333L6.56917 4.805C6.61694 4.48317 6.58868 4.15463 6.48664 3.84569C6.3846 3.53675 6.21162 3.256 5.98156 3.02594C5.7515 2.79588 5.47075 2.6229 5.16181 2.52086C4.85287 2.41882 4.52433 2.39056 4.2025 2.43833L2.83042 1.06708V1.06666Z"),r(a,"fill","currentColor"),r(e,"class",n[0]),r(e,"width",n[1]),r(e,"height",n[1]),r(e,"viewBox","0 0 10 9"),r(e,"fill","currentColor"),r(e,"xmlns","http://www.w3.org/2000/svg")},m(l,t){q(l,e,t),i(e,a)},p(l,[t]){t&1&&r(e,"class",l[0]),t&2&&r(e,"width",l[1]),t&2&&r(e,"height",l[1])},i:R,o:R,d(l){l&&o(e)}}}function Ue(n,e,a){let{classNames:l=""}=e,{size:t="1em"}=e;return n.$$set=s=>{"classNames"in s&&a(0,l=s.classNames),"size"in s&&a(1,t=s.size)},[l,t]}class Ye extends te{constructor(e){super();le(this,e,Ue,Qe,ae,{classNames:0,size:1})}}const{window:et}=Be;function Ne(n){let e,a,l,t,s,f,u,h,_,E;return a=new Ye({props:{size:"0.9em"}}),{c(){e=K("div"),X(a.$$.fragment),l=T(),t=K("span"),s=P("Hide "),f=P(n[3]),u=P(" content"),this.h()},l(m){e=J(m,"DIV",{class:!0});var k=c(e);se(a.$$.fragment,k),l=W(k),t=J(k,"SPAN",{});var v=c(t);s=Z(v,"Hide "),f=Z(v,n[3]),u=Z(v," content"),v.forEach(o),k.forEach(o),this.h()},h(){r(e,"class","cursor-pointer flex items-center justify-center space-x-1 text-sm px-2 bg-white dark:bg-gray-950 hover:underline leading-none")},m(m,k){q(m,e,k),Q(a,e,null),i(e,l),i(e,t),i(t,s),i(t,f),i(t,u),h=!0,_||(E=ye(e,"click",n[5]),_=!0)},p:R,i(m){h||($(a.$$.fragment,m),h=!0)},o(m){z(a.$$.fragment,m),h=!1},d(m){m&&o(e),U(a),_=!1,E()}}}function tt(n){let e,a;const l=n[10].default,t=ve(l,n,n[9],null);return{c(){e=K("div"),t&&t.c(),this.h()},l(s){e=J(s,"DIV",{class:!0});var f=c(e);t&&t.l(f),f.forEach(o),this.h()},h(){r(e,"class","framework-content")},m(s,f){q(s,e,f),t&&t.m(e,null),a=!0},p(s,f){t&&t.p&&(!a||f&512)&&Ee(t,l,s,s[9],a?$e(l,s[9],f,null):ke(s[9]),null)},i(s){a||($(t,s),a=!0)},o(s){z(t,s),a=!1},d(s){s&&o(e),t&&t.d(s)}}}function lt(n){let e,a,l,t,s,f,u,h,_,E;return a=new Xe({props:{size:"0.9em"}}),{c(){e=K("div"),X(a.$$.fragment),l=T(),t=K("span"),s=P("Show "),f=P(n[3]),u=P(" content"),this.h()},l(m){e=J(m,"DIV",{class:!0});var k=c(e);se(a.$$.fragment,k),l=W(k),t=J(k,"SPAN",{});var v=c(t);s=Z(v,"Show "),f=Z(v,n[3]),u=Z(v," content"),v.forEach(o),k.forEach(o),this.h()},h(){r(e,"class","cursor-pointer mt-[-12.5px] flex items-center justify-center space-x-1 py-4 text-sm hover:underline leading-none")},m(m,k){q(m,e,k),Q(a,e,null),i(e,l),i(e,t),i(t,s),i(t,f),i(t,u),h=!0,_||(E=ye(e,"click",n[5]),_=!0)},p:R,i(m){h||($(a.$$.fragment,m),h=!0)},o(m){z(a.$$.fragment,m),h=!1},d(m){m&&o(e),U(a),_=!1,E()}}}function at(n){let e,a,l,t,s,f,u,h,_,E,m,k,v,y;var L=n[2];function j(g){return{}}L&&(t=new L(j()));let w=!n[1]&&Ne(n);const C=[lt,tt],S=[];function H(g,M){return g[1]?0:1}return E=H(n),m=S[E]=C[E](n),{c(){e=K("div"),a=K("div"),l=K("div"),t&&X(t.$$.fragment),s=T(),f=K("span"),u=P(n[3]),h=T(),w&&w.c(),_=T(),m.c(),this.h()},l(g){e=J(g,"DIV",{class:!0});var M=c(e);a=J(M,"DIV",{class:!0});var N=c(a);l=J(N,"DIV",{class:!0});var b=c(l);t&&se(t.$$.fragment,b),s=W(b),f=J(b,"SPAN",{});var B=c(f);u=Z(B,n[3]),B.forEach(o),b.forEach(o),h=W(N),w&&w.l(N),N.forEach(o),_=W(M),m.l(M),M.forEach(o),this.h()},h(){r(l,"class","flex px-1 items-center space-x-1 bg-white dark:bg-gray-950"),r(a,"class","flex h-[22px] mt-[-12.5px] justify-between leading-none"),r(e,"class","border border-gray-200 rounded-xl px-4 relative")},m(g,M){q(g,e,M),i(e,a),i(a,l),t&&Q(t,l,null),i(l,s),i(l,f),i(f,u),i(a,h),w&&w.m(a,null),i(e,_),S[E].m(e,null),n[11](e),k=!0,v||(y=ye(et,"hashchange",n[6]),v=!0)},p(g,[M]){if(L!==(L=g[2])){if(t){Y();const b=t;z(b.$$.fragment,1,0,()=>{U(b,1)}),ee()}L?(t=new L(j()),X(t.$$.fragment),$(t.$$.fragment,1),Q(t,l,s)):t=null}g[1]?w&&(Y(),z(w,1,1,()=>{w=null}),ee()):w?(w.p(g,M),M&2&&$(w,1)):(w=Ne(g),w.c(),$(w,1),w.m(a,null));let N=E;E=H(g),E===N?S[E].p(g,M):(Y(),z(S[N],1,1,()=>{S[N]=null}),ee(),m=S[E],m?m.p(g,M):(m=S[E]=C[E](g),m.c()),$(m,1),m.m(e,null))},i(g){k||(t&&$(t.$$.fragment,g),$(w),$(m),k=!0)},o(g){t&&z(t.$$.fragment,g),z(w),z(m),k=!1},d(g){g&&o(e),t&&U(t),w&&w.d(),S[E].d(),n[11](null),v=!1,y()}}}function st(n,e,a){let l,t,{$$slots:s={},$$scope:f}=e,{framework:u}=e,h,_=new Set;const E={pytorch:{Icon:Ze,label:"Pytorch"},tensorflow:{Icon:Re,label:"TensorFlow"},jax:{Icon:Ge,label:"JAX"}},{Icon:m,label:k}=E[u],v=`hf_doc_framework_${u}_is_hidden`,y=Pe(u);Oe(n,y,C=>a(8,t=C));function L(){be(y,t=t!==V.CLOSED?V.CLOSED:V.OPEN,t),localStorage.setItem(v,t)}function j(){const C=window.location.hash.slice(1);_.has(C)&&(be(y,t=V.HASHASHLINK,t),localStorage.setItem(v,t))}Ve(()=>{const C=window.location.hash.slice(1),S="header-link",H=h.querySelectorAll(`.${S}`);_=new Set([...H].map(M=>M.id));const g=localStorage.getItem(v);_.has(C)?be(y,t=V.HASHASHLINK,t):g===V.CLOSED&&t!==V.HASHASHLINK&&be(y,t=V.CLOSED,t)});function w(C){Fe[C?"unshift":"push"](()=>{h=C,a(0,h)})}return n.$$set=C=>{"framework"in C&&a(7,u=C.framework),"$$scope"in C&&a(9,f=C.$$scope)},n.$$.update=()=>{n.$$.dirty&256&&a(1,l=t===V.CLOSED)},[h,l,m,k,y,L,j,u,t,f,s,w]}class Ie extends te{constructor(e){super();le(this,e,st,at,ae,{framework:7})}}const rt=n=>({}),He=n=>({}),nt=n=>({}),je=n=>({}),ot=n=>({}),Ae=n=>({});function Ke(n){let e,a;return e=new Ie({props:{framework:"pytorch",$$slots:{default:[it]},$$scope:{ctx:n}}}),{c(){X(e.$$.fragment)},l(l){se(e.$$.fragment,l)},m(l,t){Q(e,l,t),a=!0},p(l,t){const s={};t&16&&(s.$$scope={dirty:t,ctx:l}),e.$set(s)},i(l){a||($(e.$$.fragment,l),a=!0)},o(l){z(e.$$.fragment,l),a=!1},d(l){U(e,l)}}}function it(n){let e;const a=n[3].pytorch,l=ve(a,n,n[4],Ae);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,s){l&&l.m(t,s),e=!0},p(t,s){l&&l.p&&(!e||s&16)&&Ee(l,a,t,t[4],e?$e(a,t[4],s,ot):ke(t[4]),Ae)},i(t){e||($(l,t),e=!0)},o(t){z(l,t),e=!1},d(t){l&&l.d(t)}}}function Je(n){let e,a;return e=new Ie({props:{framework:"tensorflow",$$slots:{default:[ft]},$$scope:{ctx:n}}}),{c(){X(e.$$.fragment)},l(l){se(e.$$.fragment,l)},m(l,t){Q(e,l,t),a=!0},p(l,t){const s={};t&16&&(s.$$scope={dirty:t,ctx:l}),e.$set(s)},i(l){a||($(e.$$.fragment,l),a=!0)},o(l){z(e.$$.fragment,l),a=!1},d(l){U(e,l)}}}function ft(n){let e;const a=n[3].tensorflow,l=ve(a,n,n[4],je);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,s){l&&l.m(t,s),e=!0},p(t,s){l&&l.p&&(!e||s&16)&&Ee(l,a,t,t[4],e?$e(a,t[4],s,nt):ke(t[4]),je)},i(t){e||($(l,t),e=!0)},o(t){z(l,t),e=!1},d(t){l&&l.d(t)}}}function De(n){let e,a;return e=new Ie({props:{framework:"jax",$$slots:{default:[ct]},$$scope:{ctx:n}}}),{c(){X(e.$$.fragment)},l(l){se(e.$$.fragment,l)},m(l,t){Q(e,l,t),a=!0},p(l,t){const s={};t&16&&(s.$$scope={dirty:t,ctx:l}),e.$set(s)},i(l){a||($(e.$$.fragment,l),a=!0)},o(l){z(e.$$.fragment,l),a=!1},d(l){U(e,l)}}}function ct(n){let e;const a=n[3].jax,l=ve(a,n,n[4],He);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,s){l&&l.m(t,s),e=!0},p(t,s){l&&l.p&&(!e||s&16)&&Ee(l,a,t,t[4],e?$e(a,t[4],s,rt):ke(t[4]),He)},i(t){e||($(l,t),e=!0)},o(t){z(l,t),e=!1},d(t){l&&l.d(t)}}}function ht(n){let e,a,l,t,s=n[0]&&Ke(n),f=n[1]&&Je(n),u=n[2]&&De(n);return{c(){e=K("div"),s&&s.c(),a=T(),f&&f.c(),l=T(),u&&u.c(),this.h()},l(h){e=J(h,"DIV",{class:!0});var _=c(e);s&&s.l(_),a=W(_),f&&f.l(_),l=W(_),u&&u.l(_),_.forEach(o),this.h()},h(){r(e,"class","space-y-10 py-6 2xl:py-8 2xl:-mx-4")},m(h,_){q(h,e,_),s&&s.m(e,null),i(e,a),f&&f.m(e,null),i(e,l),u&&u.m(e,null),t=!0},p(h,[_]){h[0]?s?(s.p(h,_),_&1&&$(s,1)):(s=Ke(h),s.c(),$(s,1),s.m(e,a)):s&&(Y(),z(s,1,1,()=>{s=null}),ee()),h[1]?f?(f.p(h,_),_&2&&$(f,1)):(f=Je(h),f.c(),$(f,1),f.m(e,l)):f&&(Y(),z(f,1,1,()=>{f=null}),ee()),h[2]?u?(u.p(h,_),_&4&&$(u,1)):(u=De(h),u.c(),$(u,1),u.m(e,null)):u&&(Y(),z(u,1,1,()=>{u=null}),ee())},i(h){t||($(s),$(f),$(u),t=!0)},o(h){z(s),z(f),z(u),t=!1},d(h){h&&o(e),s&&s.d(),f&&f.d(),u&&u.d()}}}function ut(n,e,a){let{$$slots:l={},$$scope:t}=e,{pytorch:s=!1}=e,{tensorflow:f=!1}=e,{jax:u=!1}=e;return n.$$set=h=>{"pytorch"in h&&a(0,s=h.pytorch),"tensorflow"in h&&a(1,f=h.tensorflow),"jax"in h&&a(2,u=h.jax),"$$scope"in h&&a(4,t=h.$$scope)},[s,f,u,l,t]}class gt extends te{constructor(e){super();le(this,e,ut,ht,ae,{pytorch:0,tensorflow:1,jax:2})}}function dt(n){let e;const a=n[1].default,l=ve(a,n,n[0],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,s){l&&l.m(t,s),e=!0},p(t,[s]){l&&l.p&&(!e||s&1)&&Ee(l,a,t,t[0],e?$e(a,t[0],s,null):ke(t[0]),null)},i(t){e||($(l,t),e=!0)},o(t){z(l,t),e=!1},d(t){l&&l.d(t)}}}function pt(n,e,a){let{$$slots:l={},$$scope:t}=e;return n.$$set=s=>{"$$scope"in s&&a(0,t=s.$$scope)},[t,l]}class wt extends te{constructor(e){super();le(this,e,pt,dt,ae,{})}}export{gt as F,wt as M};
