Buckets:
hf-doc-build/doc-dev / course /pr_1069 /de /_app /immutable /chunks /FrameworkSwitchCourse.f837e098.js
| import{s as E,n as x}from"./scheduler.49e4e380.js";import{S as b,i as k,B as g,C as v,j as m,f as h,k as r,a as $,y as d,g as C,h as S,d as w,p as j,b as D,t as y,z as I,q as M,r as z,s as B,m as q,u as T,c as A,n as Y,v as F,w as P}from"./index.fb15006d.js";import{e as R}from"./each.e59479a4.js";function Z(o){let e,l,a,t,c,s;return{c(){e=g("svg"),l=g("defs"),a=g("clipPath"),t=g("rect"),c=g("g"),s=g("path"),this.h()},l(i){e=v(i,"svg",{class:!0,xmlns:!0,"xmlns:xlink":!0,"aria-hidden":!0,focusable:!0,role:!0,width:!0,height:!0,preserveAspectRatio:!0,viewBox:!0});var n=m(e);l=v(n,"defs",{});var u=m(l);a=v(u,"clipPath",{id:!0});var _=m(a);t=v(_,"rect",{x:!0,y:!0,width:!0,height:!0,fill:!0}),m(t).forEach(h),_.forEach(h),u.forEach(h),c=v(n,"g",{"clip-path":!0});var f=m(c);s=v(f,"path",{d:!0,fill:!0}),m(s).forEach(h),f.forEach(h),n.forEach(h),this.h()},h(){r(t,"x","3.05"),r(t,"y","0.5"),r(t,"width","25.73"),r(t,"height","31"),r(t,"fill","none"),r(a,"id","a"),r(s,"d","M24.94,9.51a12.81,12.81,0,0,1,0,18.16,12.68,12.68,0,0,1-18,0,12.81,12.81,0,0,1,0-18.16l9-9V5l-.84.83-6,6a9.58,9.58,0,1,0,13.55,0ZM20.44,9a1.68,1.68,0,1,1,1.67-1.67A1.68,1.68,0,0,1,20.44,9Z"),r(s,"fill","#ee4c2c"),r(c,"clip-path","url(#a)"),r(e,"class",o[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","1em"),r(e,"height","1em"),r(e,"preserveAspectRatio","xMidYMid meet"),r(e,"viewBox","0 0 32 32")},m(i,n){$(i,e,n),d(e,l),d(l,a),d(a,t),d(e,c),d(c,s)},p(i,[n]){n&1&&r(e,"class",i[0])},i:x,o:x,d(i){i&&h(e)}}}function K(o,e,l){let{classNames:a=""}=e;return o.$$set=t=>{"classNames"in t&&l(0,a=t.classNames)},[a]}class O extends b{constructor(e){super(),k(this,e,K,Z,E,{classNames:0})}}function W(o){let e,l,a,t;return{c(){e=g("svg"),l=g("path"),a=g("path"),t=g("path"),this.h()},l(c){e=v(c,"svg",{class:!0,xmlns:!0,"xmlns:xlink":!0,"aria-hidden":!0,focusable:!0,role:!0,width:!0,height:!0,preserveAspectRatio:!0,viewBox:!0});var s=m(e);l=v(s,"path",{d:!0,fill:!0}),m(l).forEach(h),a=v(s,"path",{d:!0,fill:!0}),m(a).forEach(h),t=v(s,"path",{d:!0,fill:!0}),m(t).forEach(h),s.forEach(h),this.h()},h(){r(l,"d","M145.726 42.065v42.07l72.861 42.07v-42.07l-72.86-42.07zM0 84.135v42.07l36.43 21.03V105.17L0 84.135zm109.291 21.035l-36.43 21.034v126.2l36.43 21.035v-84.135l36.435 21.035v-42.07l-36.435-21.034V105.17z"),r(l,"fill","#E55B2D"),r(a,"d","M145.726 42.065L36.43 105.17v42.065l72.861-42.065v42.065l36.435-21.03v-84.14zM255.022 63.1l-36.435 21.035v42.07l36.435-21.035V63.1zm-72.865 84.135l-36.43 21.035v42.07l36.43-21.036v-42.07zm-36.43 63.104l-36.436-21.035v84.135l36.435-21.035V210.34z"),r(a,"fill","#ED8E24"),r(t,"d","M145.726 0L0 84.135l36.43 21.035l109.296-63.105l72.861 42.07L255.022 63.1L145.726 0zm0 126.204l-36.435 21.03l36.435 21.036l36.43-21.035l-36.43-21.03z"),r(t,"fill","#F8BF3C"),r(e,"class",o[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","0.94em"),r(e,"height","1em"),r(e,"preserveAspectRatio","xMidYMid meet"),r(e,"viewBox","0 0 256 274")},m(c,s){$(c,e,s),d(e,l),d(e,a),d(e,t)},p(c,[s]){s&1&&r(e,"class",c[0])},i:x,o:x,d(c){c&&h(e)}}}function G(o,e,l){let{classNames:a=""}=e;return o.$$set=t=>{"classNames"in t&&l(0,a=t.classNames)},[a]}class H extends b{constructor(e){super(),k(this,e,G,W,E,{classNames:0})}}function V(o,e,l){const a=o.slice();return a[2]=e[l],a[4]=l,a}function L(o){let e,l,a,t=o[2].name+"",c,s,i,n;var u=o[2].icon;function _(f,p){return{props:{classNames:"mr-1.5"}}}return u&&(l=M(u,_())),{c(){e=C("a"),l&&z(l.$$.fragment),a=B(),c=q(t),s=B(),this.h()},l(f){e=S(f,"A",{class:!0,href:!0});var p=m(e);l&&T(l.$$.fragment,p),a=A(p),c=Y(p,t),s=A(p),p.forEach(h),this.h()},h(){r(e,"class",i="flex justify-center flex-1 py-1.5 px-2.5 focus:outline-none !no-underline rounded-"+(o[4]?"r":"l")+" "+(o[2].id===o[0]?o[2].classNames:"text-gray-500 filter grayscale")),r(e,"href","?fw="+o[2].id)},m(f,p){$(f,e,p),l&&F(l,e,null),d(e,a),d(e,c),d(e,s),n=!0},p(f,p){if(u!==(u=f[2].icon)){if(l){j();const N=l;y(N.$$.fragment,1,0,()=>{P(N,1)}),D()}u?(l=M(u,_()),z(l.$$.fragment),w(l.$$.fragment,1),F(l,e,a)):l=null}(!n||p&1&&i!==(i="flex justify-center flex-1 py-1.5 px-2.5 focus:outline-none !no-underline rounded-"+(f[4]?"r":"l")+" "+(f[2].id===f[0]?f[2].classNames:"text-gray-500 filter grayscale")))&&r(e,"class",i)},i(f){n||(l&&w(l.$$.fragment,f),n=!0)},o(f){l&&y(l.$$.fragment,f),n=!1},d(f){f&&h(e),l&&P(l)}}}function J(o){let e,l,a=R(o[1]),t=[];for(let s=0;s<a.length;s+=1)t[s]=L(V(o,a,s));const c=s=>y(t[s],1,1,()=>{t[s]=null});return{c(){e=C("div");for(let s=0;s<t.length;s+=1)t[s].c();this.h()},l(s){e=S(s,"DIV",{class:!0});var i=m(e);for(let n=0;n<t.length;n+=1)t[n].l(i);i.forEach(h),this.h()},h(){r(e,"class","bg-white leading-none border border-gray-100 rounded-lg flex p-0.5 w-56 text-sm mb-4")},m(s,i){$(s,e,i);for(let n=0;n<t.length;n+=1)t[n]&&t[n].m(e,null);l=!0},p(s,[i]){if(i&3){a=R(s[1]);let n;for(n=0;n<a.length;n+=1){const u=V(s,a,n);t[n]?(t[n].p(u,i),w(t[n],1)):(t[n]=L(u),t[n].c(),w(t[n],1),t[n].m(e,null))}for(j(),n=a.length;n<t.length;n+=1)c(n);D()}},i(s){if(!l){for(let i=0;i<a.length;i+=1)w(t[i]);l=!0}},o(s){t=t.filter(Boolean);for(let i=0;i<t.length;i+=1)y(t[i]);l=!1},d(s){s&&h(e),I(t,s)}}}function Q(o,e,l){let{fw:a}=e;const t=[{id:"pt",classNames:"bg-red-50 dark:bg-transparent text-red-600",icon:O,name:"Pytorch"},{id:"tf",classNames:"bg-orange-50 dark:bg-transparent text-yellow-600",icon:H,name:"TensorFlow"}];return o.$$set=c=>{"fw"in c&&l(0,a=c.fw)},[a,t]}class te extends b{constructor(e){super(),k(this,e,Q,J,E,{fw:0})}}export{te as F}; | |
Xet Storage Details
- Size:
- 5.73 kB
- Xet hash:
- 573804ec3c7dde972b837820b02e038a0118b1572dd65f6ff712663dc2db309a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.