Buckets:

hf-doc-build/doc-dev / datasets /main /en /_app /immutable /chunks /Markdown.1f17db59.js
rtrm's picture
download
raw
17.4 kB
import{s as te,n as R,e as Oe,o as Ve,z as be,b as Fe,c as ve,u as Ee,g as ke,d as $e}from"./scheduler.bdbef820.js";import{S as le,i as ae,B as d,m as P,C as p,j as c,n as Z,f as o,k as r,a as q,y as i,q as Ne,g as K,r as X,s as G,h as D,u as se,c as W,v as Y,D as ye,p as U,t as z,w as Q,b as ee,d as $}from"./index.c0aea24a.js";import{g as Pe}from"./globals.7f7f1b26.js";import{A as O,b as Ze,I as Re,a as qe}from"./IconTensorflow.bdd96fa9.js";function Te(n){let e,a,l,t,s,f,u,h,_,E,m,k,v,y,L,H,w,C,S,j,g,b,N,M,V,re,ne,oe,ie,fe,ce,T,A,he,ue,de,pe,J,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"),H=d("path"),w=d("g"),C=d("path"),S=d("path"),j=d("path"),g=d("g"),b=d("path"),N=d("path"),M=d("g"),V=d("path"),re=d("path"),ne=d("path"),oe=d("path"),ie=d("path"),fe=d("path"),ce=d("path"),T=d("path"),A=d("g"),he=d("path"),ue=d("path"),de=d("path"),pe=d("path"),J=d("g"),me=d("path"),_e=d("path"),ge=d("path"),this.h()},l(x){e=p(x,"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 B=c(t);s=p(B,"path",{d:!0}),c(s).forEach(o),f=p(B,"path",{d:!0}),c(f).forEach(o),u=p(B,"path",{d:!0}),c(u).forEach(o),h=p(B,"path",{d:!0}),c(h).forEach(o),_=p(B,"path",{d:!0}),c(_).forEach(o),E=p(B,"path",{d:!0}),c(E).forEach(o),m=p(B,"path",{d:!0}),c(m).forEach(o),k=p(B,"path",{d:!0}),c(k).forEach(o),B.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),H=p(Ce,"path",{d:!0}),c(H).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),j=p(I,"path",{d:!0,fill:!0,class:!0}),c(j).forEach(o),g=p(I,"g",{fill:!0,class:!0});var Se=c(g);b=p(Se,"path",{d:!0}),c(b).forEach(o),N=p(Se,"path",{d:!0}),c(N).forEach(o),Se.forEach(o),M=p(I,"g",{fill:!0,class:!0});var F=c(M);V=p(F,"path",{d:!0}),c(V).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),T=p(I,"path",{d:!0,fill:!0,class:!0}),c(T).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),J=p(I,"g",{fill:!0,class:!0});var ze=c(J);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(H,"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(j,"d","M125.5 173.71l-25-43.31-25 43.31h50z"),r(j,"fill","#3367d6"),r(j,"class","J K"),r(b,"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(V,"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(M,"fill","#9c27b0"),r(M,"class","J K"),r(T,"d","M275.5 260.31l-25-43.3h50l25 43.3h-50z"),r(T,"fill","#6a1b9a"),r(T,"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(J,"fill","#ea80fc"),r(J,"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(x,I){q(x,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,H),i(e,w),i(w,C),i(w,S),i(e,j),i(e,g),i(g,b),i(g,N),i(e,M),i(M,V),i(M,re),i(M,ne),i(M,oe),i(M,ie),i(M,fe),i(M,ce),i(e,T),i(e,A),i(A,he),i(A,ue),i(A,de),i(A,pe),i(e,J),i(J,me),i(J,_e),i(J,ge)},p(x,[I]){I&1&&r(e,"class",x[0])},i:R,o:R,d(x){x&&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 le{constructor(e){super(),ae(this,e,xe,Te,te,{classNames:0})}}function We(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 Xe(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 le{constructor(e){super(),ae(this,e,Xe,We,te,{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 et extends le{constructor(e){super(),ae(this,e,Ue,Qe,te,{classNames:0,size:1})}}const{window:tt}=Pe;function je(n){let e,a,l,t,s,f,u,h,_,E;return a=new et({props:{size:"0.9em"}}),{c(){e=K("div"),X(a.$$.fragment),l=G(),t=K("span"),s=P("Hide "),f=P(n[3]),u=P(" content"),this.h()},l(m){e=D(m,"DIV",{class:!0});var k=c(e);se(a.$$.fragment,k),l=W(k),t=D(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),Y(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),Q(a),_=!1,E()}}}function lt(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=D(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 at(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=G(),t=K("span"),s=P("Show "),f=P(n[3]),u=P(" content"),this.h()},l(m){e=D(m,"DIV",{class:!0});var k=c(e);se(a.$$.fragment,k),l=W(k),t=D(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),Y(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),Q(a),_=!1,E()}}}function st(n){let e,a,l,t,s,f,u,h,_,E,m,k,v,y;var L=n[2];function H(g,b){return{}}L&&(t=Ne(L,H()));let w=!n[1]&&je(n);const C=[at,lt],S=[];function j(g,b){return g[1]?0:1}return E=j(n),m=S[E]=C[E](n),{c(){e=K("div"),a=K("div"),l=K("div"),t&&X(t.$$.fragment),s=G(),f=K("span"),u=P(n[3]),h=G(),w&&w.c(),_=G(),m.c(),this.h()},l(g){e=D(g,"DIV",{class:!0});var b=c(e);a=D(b,"DIV",{class:!0});var N=c(a);l=D(N,"DIV",{class:!0});var M=c(l);t&&se(t.$$.fragment,M),s=W(M),f=D(M,"SPAN",{});var V=c(f);u=Z(V,n[3]),V.forEach(o),M.forEach(o),h=W(N),w&&w.l(N),N.forEach(o),_=W(b),m.l(b),b.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,b){q(g,e,b),i(e,a),i(a,l),t&&Y(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(tt,"hashchange",n[6]),v=!0)},p(g,[b]){if(L!==(L=g[2])){if(t){U();const M=t;z(M.$$.fragment,1,0,()=>{Q(M,1)}),ee()}L?(t=Ne(L,H()),X(t.$$.fragment),$(t.$$.fragment,1),Y(t,l,s)):t=null}g[1]?w&&(U(),z(w,1,1,()=>{w=null}),ee()):w?(w.p(g,b),b&2&&$(w,1)):(w=je(g),w.c(),$(w,1),w.m(a,null));let N=E;E=j(g),E===N?S[E].p(g,b):(U(),z(S[N],1,1,()=>{S[N]=null}),ee(),m=S[E],m?m.p(g,b):(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&&Q(t),w&&w.d(),S[E].d(),n[11](null),v=!1,y()}}}function rt(n,e,a){let l,t,{$$slots:s={},$$scope:f}=e,{framework:u}=e,h,_=new Set;const E={pytorch:{Icon:Re,label:"Pytorch"},tensorflow:{Icon:qe,label:"TensorFlow"},jax:{Icon:Ge,label:"JAX"}},{Icon:m,label:k}=E[u],v=`hf_doc_framework_${u}_is_hidden`,y=Ze(u);Oe(n,y,C=>a(8,t=C));function L(){be(y,t=t!==O.CLOSED?O.CLOSED:O.OPEN,t),localStorage.setItem(v,t)}function H(){const C=window.location.hash.slice(1);_.has(C)&&(be(y,t=O.HASHASHLINK,t),localStorage.setItem(v,t))}Ve(()=>{const C=window.location.hash.slice(1),S="header-link",j=h.querySelectorAll(`.${S}`);_=new Set([...j].map(b=>b.id));const g=localStorage.getItem(v);_.has(C)?be(y,t=O.HASHASHLINK,t):g===O.CLOSED&&t!==O.HASHASHLINK&&be(y,t=O.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===O.CLOSED)},[h,l,m,k,y,L,H,u,t,f,s,w]}class Ie extends le{constructor(e){super(),ae(this,e,rt,st,te,{framework:7})}}const nt=n=>({}),He=n=>({}),ot=n=>({}),Ae=n=>({}),it=n=>({}),Ke=n=>({});function De(n){let e,a;return e=new Ie({props:{framework:"pytorch",$$slots:{default:[ft]},$$scope:{ctx:n}}}),{c(){X(e.$$.fragment)},l(l){se(e.$$.fragment,l)},m(l,t){Y(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){Q(e,l)}}}function ft(n){let e;const a=n[3].pytorch,l=ve(a,n,n[4],Ke);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,it):ke(t[4]),Ke)},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:[ct]},$$scope:{ctx:n}}}),{c(){X(e.$$.fragment)},l(l){se(e.$$.fragment,l)},m(l,t){Y(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){Q(e,l)}}}function ct(n){let e;const a=n[3].tensorflow,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 Be(n){let e,a;return e=new Ie({props:{framework:"jax",$$slots:{default:[ht]},$$scope:{ctx:n}}}),{c(){X(e.$$.fragment)},l(l){se(e.$$.fragment,l)},m(l,t){Y(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){Q(e,l)}}}function ht(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,nt):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 ut(n){let e,a,l,t,s=n[0]&&De(n),f=n[1]&&Je(n),u=n[2]&&Be(n);return{c(){e=K("div"),s&&s.c(),a=G(),f&&f.c(),l=G(),u&&u.c(),this.h()},l(h){e=D(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=De(h),s.c(),$(s,1),s.m(e,a)):s&&(U(),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&&(U(),z(f,1,1,()=>{f=null}),ee()),h[2]?u?(u.p(h,_),_&4&&$(u,1)):(u=Be(h),u.c(),$(u,1),u.m(e,null)):u&&(U(),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 dt(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 Et extends le{constructor(e){super(),ae(this,e,dt,ut,te,{pytorch:0,tensorflow:1,jax:2})}}function pt(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 mt(n,e,a){let{$$slots:l={},$$scope:t}=e;return n.$$set=s=>{"$$scope"in s&&a(0,t=s.$$scope)},[t,l]}class kt extends le{constructor(e){super(),ae(this,e,mt,pt,te,{})}}export{Et as F,kt as M};

Xet Storage Details

Size:
17.4 kB
·
Xet hash:
95efeb420740c25bf48763e27d8d0e5cc2063689b2473a85a0900f31f06815f4

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.