Buckets:

hf-doc-build/doc / course /main /fa /_app /chunks /FrameworkSwitchCourse-hf-doc-builder.js
rtrm's picture
download
raw
5.64 kB
import{S as b,i as k,s as N,O as g,P as p,a as u,d as f,b as a,g as E,G as m,L as y,e as V,w as z,k as B,t as I,c as S,x as j,m as A,h as q,y as P,n as C,o as $,B as F,p as D,q as x,K}from"./vendor-hf-doc-builder.js";function O(o){let e,l,r,t,c,s;return{c(){e=g("svg"),l=g("defs"),r=g("clipPath"),t=g("rect"),c=g("g"),s=g("path"),this.h()},l(i){e=p(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=u(e);l=p(n,"defs",{});var d=u(l);r=p(d,"clipPath",{id:!0});var v=u(r);t=p(v,"rect",{x:!0,y:!0,width:!0,height:!0,fill:!0}),u(t).forEach(f),v.forEach(f),d.forEach(f),c=p(n,"g",{"clip-path":!0});var w=u(c);s=p(w,"path",{d:!0,fill:!0}),u(s).forEach(f),w.forEach(f),n.forEach(f),this.h()},h(){a(t,"x","3.05"),a(t,"y","0.5"),a(t,"width","25.73"),a(t,"height","31"),a(t,"fill","none"),a(r,"id","a"),a(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"),a(s,"fill","#ee4c2c"),a(c,"clip-path","url(#a)"),a(e,"class",o[0]),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),a(e,"aria-hidden","true"),a(e,"focusable","false"),a(e,"role","img"),a(e,"width","1em"),a(e,"height","1em"),a(e,"preserveAspectRatio","xMidYMid meet"),a(e,"viewBox","0 0 32 32")},m(i,n){E(i,e,n),m(e,l),m(l,r),m(r,t),m(e,c),m(c,s)},p(i,[n]){n&1&&a(e,"class",i[0])},i:y,o:y,d(i){i&&f(e)}}}function T(o,e,l){let{classNames:r=""}=e;return o.$$set=t=>{"classNames"in t&&l(0,r=t.classNames)},[r]}class Y extends b{constructor(e){super();k(this,e,T,O,N,{classNames:0})}}function Z(o){let e,l,r,t;return{c(){e=g("svg"),l=g("path"),r=g("path"),t=g("path"),this.h()},l(c){e=p(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=u(e);l=p(s,"path",{d:!0,fill:!0}),u(l).forEach(f),r=p(s,"path",{d:!0,fill:!0}),u(r).forEach(f),t=p(s,"path",{d:!0,fill:!0}),u(t).forEach(f),s.forEach(f),this.h()},h(){a(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"),a(l,"fill","#E55B2D"),a(r,"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"),a(r,"fill","#ED8E24"),a(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"),a(t,"fill","#F8BF3C"),a(e,"class",o[0]),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),a(e,"aria-hidden","true"),a(e,"focusable","false"),a(e,"role","img"),a(e,"width","0.94em"),a(e,"height","1em"),a(e,"preserveAspectRatio","xMidYMid meet"),a(e,"viewBox","0 0 256 274")},m(c,s){E(c,e,s),m(e,l),m(e,r),m(e,t)},p(c,[s]){s&1&&a(e,"class",c[0])},i:y,o:y,d(c){c&&f(e)}}}function G(o,e,l){let{classNames:r=""}=e;return o.$$set=t=>{"classNames"in t&&l(0,r=t.classNames)},[r]}class W extends b{constructor(e){super();k(this,e,G,Z,N,{classNames:0})}}function L(o,e,l){const r=o.slice();return r[2]=e[l],r[4]=l,r}function R(o){let e,l,r,t=o[2].name+"",c,s,i,n,d;var v=o[2].icon;function w(h){return{props:{classNames:"mr-1.5"}}}return v&&(l=new v(w())),{c(){e=V("a"),l&&z(l.$$.fragment),r=B(),c=I(t),s=B(),this.h()},l(h){e=S(h,"A",{class:!0,href:!0});var _=u(e);l&&j(l.$$.fragment,_),r=A(_),c=q(_,t),s=A(_),_.forEach(f),this.h()},h(){a(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")),a(e,"href",n="?fw="+o[2].id)},m(h,_){E(h,e,_),l&&P(l,e,null),m(e,r),m(e,c),m(e,s),d=!0},p(h,_){if(v!==(v=h[2].icon)){if(l){C();const M=l;$(M.$$.fragment,1,0,()=>{F(M,1)}),D()}v?(l=new v(w()),z(l.$$.fragment),x(l.$$.fragment,1),P(l,e,r)):l=null}(!d||_&1&&i!==(i="flex justify-center flex-1 py-1.5 px-2.5 focus:outline-none !no-underline rounded-"+(h[4]?"r":"l")+" "+(h[2].id===h[0]?h[2].classNames:"text-gray-500 filter grayscale")))&&a(e,"class",i)},i(h){d||(l&&x(l.$$.fragment,h),d=!0)},o(h){l&&$(l.$$.fragment,h),d=!1},d(h){h&&f(e),l&&F(l)}}}function H(o){let e,l,r=o[1],t=[];for(let s=0;s<r.length;s+=1)t[s]=R(L(o,r,s));const c=s=>$(t[s],1,1,()=>{t[s]=null});return{c(){e=V("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=u(e);for(let n=0;n<t.length;n+=1)t[n].l(i);i.forEach(f),this.h()},h(){a(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){E(s,e,i);for(let n=0;n<t.length;n+=1)t[n].m(e,null);l=!0},p(s,[i]){if(i&3){r=s[1];let n;for(n=0;n<r.length;n+=1){const d=L(s,r,n);t[n]?(t[n].p(d,i),x(t[n],1)):(t[n]=R(d),t[n].c(),x(t[n],1),t[n].m(e,null))}for(C(),n=r.length;n<t.length;n+=1)c(n);D()}},i(s){if(!l){for(let i=0;i<r.length;i+=1)x(t[i]);l=!0}},o(s){t=t.filter(Boolean);for(let i=0;i<t.length;i+=1)$(t[i]);l=!1},d(s){s&&f(e),K(t,s)}}}function J(o,e,l){let{fw:r}=e;const t=[{id:"pt",classNames:"bg-red-50 dark:bg-transparent text-red-600",icon:Y,name:"Pytorch"},{id:"tf",classNames:"bg-orange-50 dark:bg-transparent text-yellow-600",icon:W,name:"TensorFlow"}];return o.$$set=c=>{"fw"in c&&l(0,r=c.fw)},[r,t]}class U extends b{constructor(e){super();k(this,e,J,H,N,{fw:0})}}export{U as F};

Xet Storage Details

Size:
5.64 kB
·
Xet hash:
1c13b638b706c35908fb6b3f852a44c393e244321578ac644d1f62149d98f029

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