import{s as at,n as lt,o as ot}from"../chunks/scheduler.25b97de1.js";import{S as mt,i as ut,g as a,s as i,r as w,A as pt,h as l,f as e,c as n,j as L,u as O,x as B,k as I,y as v,a as r,v as P,d as T,t as E,w as S}from"../chunks/index.d9030fc9.js";import{D as Y}from"../chunks/Docstring.ffac8efa.js";import{H as nt,E as ft}from"../chunks/EditOnGithub.91d95064.js";function dt(Z){let o,M,N,U,f,V,d,tt="This page lists all the utility functions and classes that can be used for Time Series based models.",j,c,et="Most of those are only useful if you are studying the code of the time series models or you wish to add to the collection of distributional output classes.",k,_,z,m,$,Q,x,st="Normal distribution output class.",A,u,g,W,y,rt="Student-T distribution output class.",H,p,h,X,C,it="Negative Binomial distribution output class.",q,b,G,D,R;return f=new nt({props:{title:"Time Series Utilities",local:"time-series-utilities",headingTag:"h1"}}),_=new nt({props:{title:"Distributional Output",local:"transformers.time_series_utils.NormalOutput",headingTag:"h2"}}),$=new Y({props:{name:"class transformers.time_series_utils.NormalOutput",anchor:"transformers.time_series_utils.NormalOutput",parameters:[{name:"dim",val:": int = 1"}],source:"https://github.com/huggingface/transformers/blob/vr_31098/src/transformers/time_series_utils.py#L180"}}),g=new Y({props:{name:"class transformers.time_series_utils.StudentTOutput",anchor:"transformers.time_series_utils.StudentTOutput",parameters:[{name:"dim",val:": int = 1"}],source:"https://github.com/huggingface/transformers/blob/vr_31098/src/transformers/time_series_utils.py#L165"}}),h=new Y({props:{name:"class transformers.time_series_utils.NegativeBinomialOutput",anchor:"transformers.time_series_utils.NegativeBinomialOutput",parameters:[{name:"dim",val:": int = 1"}],source:"https://github.com/huggingface/transformers/blob/vr_31098/src/transformers/time_series_utils.py#L194"}}),b=new ft({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/en/internal/time_series_utils.md"}}),{c(){o=a("meta"),M=i(),N=a("p"),U=i(),w(f.$$.fragment),V=i(),d=a("p"),d.textContent=tt,j=i(),c=a("p"),c.textContent=et,k=i(),w(_.$$.fragment),z=i(),m=a("div"),w($.$$.fragment),Q=i(),x=a("p"),x.textContent=st,A=i(),u=a("div"),w(g.$$.fragment),W=i(),y=a("p"),y.textContent=rt,H=i(),p=a("div"),w(h.$$.fragment),X=i(),C=a("p"),C.textContent=it,q=i(),w(b.$$.fragment),G=i(),D=a("p"),this.h()},l(t){const s=pt("svelte-u9bgzb",document.head);o=l(s,"META",{name:!0,content:!0}),s.forEach(e),M=n(t),N=l(t,"P",{}),L(N).forEach(e),U=n(t),O(f.$$.fragment,t),V=n(t),d=l(t,"P",{"data-svelte-h":!0}),B(d)!=="svelte-5fk48j"&&(d.textContent=tt),j=n(t),c=l(t,"P",{"data-svelte-h":!0}),B(c)!=="svelte-cvlo9u"&&(c.textContent=et),k=n(t),O(_.$$.fragment,t),z=n(t),m=l(t,"DIV",{class:!0});var F=L(m);O($.$$.fragment,F),Q=n(F),x=l(F,"P",{"data-svelte-h":!0}),B(x)!=="svelte-ri85ny"&&(x.textContent=st),F.forEach(e),A=n(t),u=l(t,"DIV",{class:!0});var J=L(u);O(g.$$.fragment,J),W=n(J),y=l(J,"P",{"data-svelte-h":!0}),B(y)!=="svelte-1bpemm3"&&(y.textContent=rt),J.forEach(e),H=n(t),p=l(t,"DIV",{class:!0});var K=L(p);O(h.$$.fragment,K),X=n(K),C=l(K,"P",{"data-svelte-h":!0}),B(C)!=="svelte-1fzvcxd"&&(C.textContent=it),K.forEach(e),q=n(t),O(b.$$.fragment,t),G=n(t),D=l(t,"P",{}),L(D).forEach(e),this.h()},h(){I(o,"name","hf:doc:metadata"),I(o,"content",ct),I(m,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),I(u,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),I(p,"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,s){v(document.head,o),r(t,M,s),r(t,N,s),r(t,U,s),P(f,t,s),r(t,V,s),r(t,d,s),r(t,j,s),r(t,c,s),r(t,k,s),P(_,t,s),r(t,z,s),r(t,m,s),P($,m,null),v(m,Q),v(m,x),r(t,A,s),r(t,u,s),P(g,u,null),v(u,W),v(u,y),r(t,H,s),r(t,p,s),P(h,p,null),v(p,X),v(p,C),r(t,q,s),P(b,t,s),r(t,G,s),r(t,D,s),R=!0},p:lt,i(t){R||(T(f.$$.fragment,t),T(_.$$.fragment,t),T($.$$.fragment,t),T(g.$$.fragment,t),T(h.$$.fragment,t),T(b.$$.fragment,t),R=!0)},o(t){E(f.$$.fragment,t),E(_.$$.fragment,t),E($.$$.fragment,t),E(g.$$.fragment,t),E(h.$$.fragment,t),E(b.$$.fragment,t),R=!1},d(t){t&&(e(M),e(N),e(U),e(V),e(d),e(j),e(c),e(k),e(z),e(m),e(A),e(u),e(H),e(p),e(q),e(G),e(D)),e(o),S(f,t),S(_,t),S($),S(g),S(h),S(b,t)}}}const ct='{"title":"Time Series Utilities","local":"time-series-utilities","sections":[{"title":"Distributional Output","local":"transformers.time_series_utils.NormalOutput","sections":[],"depth":2}],"depth":1}';function _t(Z){return ot(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class vt extends mt{constructor(o){super(),ut(this,o,_t,dt,at,{})}}export{vt as component};
