import{S as br,i as vr,s as Pr,e as t,k as d,w as L,t as f,M as Tr,c as s,d as o,m,a as n,x as E,h as c,b as i,G as r,g as p,y as I,L as yr,q as N,o as O,B as C,v as wr}from"../../../chunks/vendor-hf-doc-builder.js";import{D as se}from"../../../chunks/Docstring-hf-doc-builder.js";import{I as Ye}from"../../../chunks/IconCopyLink-hf-doc-builder.js";function $r(Ze){let h,ne,_,P,B,j,$e,G,Ae,ie,T,xe,k,Le,Ee,ae,H,Ie,de,M,J,Ne,me,g,y,Q,D,Oe,Y,Ce,fe,l,S,je,Z,ke,De,w,F,Se,V,Fe,W,Ve,ze,Re,$,z,Ke,ee,Xe,qe,A,R,He,re,Me,ce,b,x,oe,K,We,te,Ue,pe,v,X,Be,q,Ge,U,Je,Qe,le;return j=new Ye({}),D=new Ye({}),S=new se({props:{name:"class diffusers.PriorTransformer",anchor:"diffusers.PriorTransformer",parameters:[{name:"num_attention_heads",val:": int = 32"},{name:"attention_head_dim",val:": int = 64"},{name:"num_layers",val:": int = 20"},{name:"embedding_dim",val:": int = 768"},{name:"num_embeddings",val:" = 77"},{name:"additional_embeddings",val:" = 4"},{name:"dropout",val:": float = 0.0"},{name:"time_embed_act_fn",val:": str = 'silu'"},{name:"norm_in_type",val:": typing.Optional[str] = None"},{name:"embedding_proj_norm_type",val:": typing.Optional[str] = None"},{name:"encoder_hid_proj_type",val:": typing.Optional[str] = 'linear'"},{name:"added_emb_type",val:": typing.Optional[str] = 'prd'"},{name:"time_embed_dim",val:": typing.Optional[int] = None"},{name:"embedding_proj_dim",val:": typing.Optional[int] = None"},{name:"clip_embed_dim",val:": typing.Optional[int] = None"}],parametersDescription:[{anchor:"diffusers.PriorTransformer.num_attention_heads",description:"<strong>num_attention_heads</strong> (<code>int</code>, <em>optional</em>, defaults to 32) &#x2014; The number of heads to use for multi-head attention.",name:"num_attention_heads"},{anchor:"diffusers.PriorTransformer.attention_head_dim",description:"<strong>attention_head_dim</strong> (<code>int</code>, <em>optional</em>, defaults to 64) &#x2014; The number of channels in each head.",name:"attention_head_dim"},{anchor:"diffusers.PriorTransformer.num_layers",description:"<strong>num_layers</strong> (<code>int</code>, <em>optional</em>, defaults to 20) &#x2014; The number of layers of Transformer blocks to use.",name:"num_layers"},{anchor:"diffusers.PriorTransformer.embedding_dim",description:"<strong>embedding_dim</strong> (<code>int</code>, <em>optional</em>, defaults to 768) &#x2014; The dimension of the model input <code>hidden_states</code>",name:"embedding_dim"},{anchor:"diffusers.PriorTransformer.num_embeddings",description:`<strong>num_embeddings</strong> (<code>int</code>, <em>optional</em>, defaults to 77) &#x2014;
The number of embeddings of the model input <code>hidden_states</code>`,name:"num_embeddings"},{anchor:"diffusers.PriorTransformer.additional_embeddings",description:`<strong>additional_embeddings</strong> (<code>int</code>, <em>optional</em>, defaults to 4) &#x2014; The number of additional tokens appended to the
projected <code>hidden_states</code>. The actual length of the used <code>hidden_states</code> is <code>num_embeddings + additional_embeddings</code>.`,name:"additional_embeddings"},{anchor:"diffusers.PriorTransformer.dropout",description:"<strong>dropout</strong> (<code>float</code>, <em>optional</em>, defaults to 0.0) &#x2014; The dropout probability to use.",name:"dropout"},{anchor:"diffusers.PriorTransformer.time_embed_act_fn",description:`<strong>time_embed_act_fn</strong> (<code>str</code>, <em>optional</em>, defaults to &#x2018;silu&#x2019;) &#x2014;
The activation function to use to create timestep embeddings.`,name:"time_embed_act_fn"},{anchor:"diffusers.PriorTransformer.norm_in_type",description:`<strong>norm_in_type</strong> (<code>str</code>, <em>optional</em>, defaults to None) &#x2014; The normalization layer to apply on hidden states before
passing to Transformer blocks. Set it to <code>None</code> if normalization is not needed.`,name:"norm_in_type"},{anchor:"diffusers.PriorTransformer.embedding_proj_norm_type",description:`<strong>embedding_proj_norm_type</strong> (<code>str</code>, <em>optional</em>, defaults to None) &#x2014;
The normalization layer to apply on the input <code>proj_embedding</code>. Set it to <code>None</code> if normalization is not
needed.`,name:"embedding_proj_norm_type"},{anchor:"diffusers.PriorTransformer.encoder_hid_proj_type",description:`<strong>encoder_hid_proj_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>linear</code>) &#x2014;
The projection layer to apply on the input <code>encoder_hidden_states</code>. Set it to <code>None</code> if
<code>encoder_hidden_states</code> is <code>None</code>.`,name:"encoder_hid_proj_type"},{anchor:"diffusers.PriorTransformer.added_emb_type",description:`<strong>added_emb_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>prd</code>) &#x2014; Additional embeddings to condition the model.
Choose from <code>prd</code> or <code>None</code>. if choose <code>prd</code>, it will prepend a token indicating the (quantized) dot
product between the text embedding and image embedding as proposed in the unclip paper
<a href="https://arxiv.org/abs/2204.06125" rel="nofollow">https://arxiv.org/abs/2204.06125</a> If it is <code>None</code>, no additional embeddings will be prepended.`,name:"added_emb_type"},{anchor:"diffusers.PriorTransformer.time_embed_dim",description:"<strong>time_embed_dim</strong> (<code>int, *optional*, defaults to None) -- The dimension of timestep embeddings. If None, will be set to </code>num_attention_heads * attention_head_dim`",name:"time_embed_dim"},{anchor:"diffusers.PriorTransformer.embedding_proj_dim",description:`<strong>embedding_proj_dim</strong> (<code>int</code>, <em>optional</em>, default to None) &#x2014;
The dimension of <code>proj_embedding</code>. If None, will be set to <code>embedding_dim</code>.`,name:"embedding_proj_dim"},{anchor:"diffusers.PriorTransformer.clip_embed_dim",description:`<strong>clip_embed_dim</strong> (<code>int</code>, <em>optional</em>, default to None) &#x2014;
The dimension of the output. If None, will be set to <code>embedding_dim</code>.`,name:"clip_embed_dim"}],source:"https://github.com/huggingface/diffusers/blob/v0.21.0/src/diffusers/models/prior_transformer.py#L35"}}),F=new se({props:{name:"forward",anchor:"diffusers.PriorTransformer.forward",parameters:[{name:"hidden_states",val:""},{name:"timestep",val:": typing.Union[torch.Tensor, float, int]"},{name:"proj_embedding",val:": FloatTensor"},{name:"encoder_hidden_states",val:": typing.Optional[torch.FloatTensor] = None"},{name:"attention_mask",val:": typing.Optional[torch.BoolTensor] = None"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.PriorTransformer.forward.hidden_states",description:`<strong>hidden_states</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, embedding_dim)</code>) &#x2014;
The currently predicted image embeddings.`,name:"hidden_states"},{anchor:"diffusers.PriorTransformer.forward.timestep",description:`<strong>timestep</strong> (<code>torch.LongTensor</code>) &#x2014;
Current denoising step.`,name:"timestep"},{anchor:"diffusers.PriorTransformer.forward.proj_embedding",description:`<strong>proj_embedding</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, embedding_dim)</code>) &#x2014;
Projected embedding vector the denoising process is conditioned on.`,name:"proj_embedding"},{anchor:"diffusers.PriorTransformer.forward.encoder_hidden_states",description:`<strong>encoder_hidden_states</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, num_embeddings, embedding_dim)</code>) &#x2014;
Hidden states of the text embeddings the denoising process is conditioned on.`,name:"encoder_hidden_states"},{anchor:"diffusers.PriorTransformer.forward.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.BoolTensor</code> of shape <code>(batch_size, num_embeddings)</code>) &#x2014;
Text mask for the text embeddings.`,name:"attention_mask"},{anchor:"diffusers.PriorTransformer.forward.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <a href="/docs/diffusers/v0.21.0/en/api/models/prior_transformer#diffusers.models.prior_transformer.PriorTransformerOutput">PriorTransformerOutput</a> instead of a plain
tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/v0.21.0/src/diffusers/models/prior_transformer.py#L244",returnDescription:`
<p>If return_dict is True, a <a
  href="/docs/diffusers/v0.21.0/en/api/models/prior_transformer#diffusers.models.prior_transformer.PriorTransformerOutput"
>PriorTransformerOutput</a> is returned, otherwise a
tuple is returned where the first element is the sample tensor.</p>
`,returnType:`
<p><a
  href="/docs/diffusers/v0.21.0/en/api/models/prior_transformer#diffusers.models.prior_transformer.PriorTransformerOutput"
>PriorTransformerOutput</a> or <code>tuple</code></p>
`}}),z=new se({props:{name:"set_attn_processor",anchor:"diffusers.PriorTransformer.set_attn_processor",parameters:[{name:"processor",val:": typing.Union[diffusers.models.attention_processor.AttnProcessor, diffusers.models.attention_processor.AttnProcessor2_0, diffusers.models.attention_processor.XFormersAttnProcessor, diffusers.models.attention_processor.SlicedAttnProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor, diffusers.models.attention_processor.SlicedAttnAddedKVProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor2_0, diffusers.models.attention_processor.XFormersAttnAddedKVProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor, diffusers.models.attention_processor.CustomDiffusionXFormersAttnProcessor, diffusers.models.attention_processor.LoRAAttnProcessor, diffusers.models.attention_processor.LoRAAttnProcessor2_0, diffusers.models.attention_processor.LoRAXFormersAttnProcessor, diffusers.models.attention_processor.LoRAAttnAddedKVProcessor, typing.Dict[str, typing.Union[diffusers.models.attention_processor.AttnProcessor, diffusers.models.attention_processor.AttnProcessor2_0, diffusers.models.attention_processor.XFormersAttnProcessor, diffusers.models.attention_processor.SlicedAttnProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor, diffusers.models.attention_processor.SlicedAttnAddedKVProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor2_0, diffusers.models.attention_processor.XFormersAttnAddedKVProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor, diffusers.models.attention_processor.CustomDiffusionXFormersAttnProcessor, diffusers.models.attention_processor.LoRAAttnProcessor, diffusers.models.attention_processor.LoRAAttnProcessor2_0, diffusers.models.attention_processor.LoRAXFormersAttnProcessor, diffusers.models.attention_processor.LoRAAttnAddedKVProcessor]]]"}],parametersDescription:[{anchor:"diffusers.PriorTransformer.set_attn_processor.processor",description:`<strong>processor</strong> (<code>dict</code> of <code>AttentionProcessor</code> or only <code>AttentionProcessor</code>) &#x2014;
The instantiated processor class or a dictionary of processor classes that will be set as the processor
for <strong>all</strong> <code>Attention</code> layers.</p>
<p>If <code>processor</code> is a dict, the key needs to define the path to the corresponding cross attention
processor. This is strongly recommended when setting trainable attention processors.`,name:"processor"}],source:"https://github.com/huggingface/diffusers/blob/v0.21.0/src/diffusers/models/prior_transformer.py#L194"}}),R=new se({props:{name:"set_default_attn_processor",anchor:"diffusers.PriorTransformer.set_default_attn_processor",parameters:[],source:"https://github.com/huggingface/diffusers/blob/v0.21.0/src/diffusers/models/prior_transformer.py#L229"}}),K=new Ye({}),X=new se({props:{name:"class diffusers.models.prior_transformer.PriorTransformerOutput",anchor:"diffusers.models.prior_transformer.PriorTransformerOutput",parameters:[{name:"predicted_image_embedding",val:": FloatTensor"}],parametersDescription:[{anchor:"diffusers.models.prior_transformer.PriorTransformerOutput.predicted_image_embedding",description:`<strong>predicted_image_embedding</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, embedding_dim)</code>) &#x2014;
The predicted CLIP image embedding conditioned on the CLIP text embedding input.`,name:"predicted_image_embedding"}],source:"https://github.com/huggingface/diffusers/blob/v0.21.0/src/diffusers/models/prior_transformer.py#L23"}}),{c(){h=t("meta"),ne=d(),_=t("h1"),P=t("a"),B=t("span"),L(j.$$.fragment),$e=d(),G=t("span"),Ae=f("Prior Transformer"),ie=d(),T=t("p"),xe=f("The Prior Transformer was originally introduced in "),k=t("a"),Le=f("Hierarchical Text-Conditional Image Generation with CLIP Latents"),Ee=f(" by Ramesh et al. It is used to predict CLIP image embeddings from CLIP text embeddings; image embeddings are predicted through a denoising diffusion process."),ae=d(),H=t("p"),Ie=f("The abstract from the paper is:"),de=d(),M=t("p"),J=t("em"),Ne=f("Contrastive models like CLIP have been shown to learn robust representations of images that capture both semantics and style. To leverage these representations for image generation, we propose a two-stage model: a prior that generates a CLIP image embedding given a text caption, and a decoder that generates an image conditioned on the image embedding. We show that explicitly generating image representations improves image diversity with minimal loss in photorealism and caption similarity. Our decoders conditioned on image representations can also produce variations of an image that preserve both its semantics and style, while varying the non-essential details absent from the image representation. Moreover, the joint embedding space of CLIP enables language-guided image manipulations in a zero-shot fashion. We use diffusion models for the decoder and experiment with both autoregressive and diffusion models for the prior, finding that the latter are computationally more efficient and produce higher-quality samples."),me=d(),g=t("h2"),y=t("a"),Q=t("span"),L(D.$$.fragment),Oe=d(),Y=t("span"),Ce=f("PriorTransformer"),fe=d(),l=t("div"),L(S.$$.fragment),je=d(),Z=t("p"),ke=f("A Prior Transformer model."),De=d(),w=t("div"),L(F.$$.fragment),Se=d(),V=t("p"),Fe=f("The "),W=t("a"),Ve=f("PriorTransformer"),ze=f(" forward method."),Re=d(),$=t("div"),L(z.$$.fragment),Ke=d(),ee=t("p"),Xe=f("Sets the attention processor to use to compute attention."),qe=d(),A=t("div"),L(R.$$.fragment),He=d(),re=t("p"),Me=f("Disables custom attention processors and sets the default attention implementation."),ce=d(),b=t("h2"),x=t("a"),oe=t("span"),L(K.$$.fragment),We=d(),te=t("span"),Ue=f("PriorTransformerOutput"),pe=d(),v=t("div"),L(X.$$.fragment),Be=d(),q=t("p"),Ge=f("The output of "),U=t("a"),Je=f("PriorTransformer"),Qe=f("."),this.h()},l(e){const a=Tr('[data-svelte="svelte-1phssyn"]',document.head);h=s(a,"META",{name:!0,content:!0}),a.forEach(o),ne=m(e),_=s(e,"H1",{class:!0});var ue=n(_);P=s(ue,"A",{id:!0,class:!0,href:!0});var er=n(P);B=s(er,"SPAN",{});var rr=n(B);E(j.$$.fragment,rr),rr.forEach(o),er.forEach(o),$e=m(ue),G=s(ue,"SPAN",{});var or=n(G);Ae=c(or,"Prior Transformer"),or.forEach(o),ue.forEach(o),ie=m(e),T=s(e,"P",{});var he=n(T);xe=c(he,"The Prior Transformer was originally introduced in "),k=s(he,"A",{href:!0,rel:!0});var tr=n(k);Le=c(tr,"Hierarchical Text-Conditional Image Generation with CLIP Latents"),tr.forEach(o),Ee=c(he," by Ramesh et al. It is used to predict CLIP image embeddings from CLIP text embeddings; image embeddings are predicted through a denoising diffusion process."),he.forEach(o),ae=m(e),H=s(e,"P",{});var sr=n(H);Ie=c(sr,"The abstract from the paper is:"),sr.forEach(o),de=m(e),M=s(e,"P",{});var nr=n(M);J=s(nr,"EM",{});var ir=n(J);Ne=c(ir,"Contrastive models like CLIP have been shown to learn robust representations of images that capture both semantics and style. To leverage these representations for image generation, we propose a two-stage model: a prior that generates a CLIP image embedding given a text caption, and a decoder that generates an image conditioned on the image embedding. We show that explicitly generating image representations improves image diversity with minimal loss in photorealism and caption similarity. Our decoders conditioned on image representations can also produce variations of an image that preserve both its semantics and style, while varying the non-essential details absent from the image representation. Moreover, the joint embedding space of CLIP enables language-guided image manipulations in a zero-shot fashion. We use diffusion models for the decoder and experiment with both autoregressive and diffusion models for the prior, finding that the latter are computationally more efficient and produce higher-quality samples."),ir.forEach(o),nr.forEach(o),me=m(e),g=s(e,"H2",{class:!0});var _e=n(g);y=s(_e,"A",{id:!0,class:!0,href:!0});var ar=n(y);Q=s(ar,"SPAN",{});var dr=n(Q);E(D.$$.fragment,dr),dr.forEach(o),ar.forEach(o),Oe=m(_e),Y=s(_e,"SPAN",{});var mr=n(Y);Ce=c(mr,"PriorTransformer"),mr.forEach(o),_e.forEach(o),fe=m(e),l=s(e,"DIV",{class:!0});var u=n(l);E(S.$$.fragment,u),je=m(u),Z=s(u,"P",{});var fr=n(Z);ke=c(fr,"A Prior Transformer model."),fr.forEach(o),De=m(u),w=s(u,"DIV",{class:!0});var ge=n(w);E(F.$$.fragment,ge),Se=m(ge),V=s(ge,"P",{});var be=n(V);Fe=c(be,"The "),W=s(be,"A",{href:!0});var cr=n(W);Ve=c(cr,"PriorTransformer"),cr.forEach(o),ze=c(be," forward method."),be.forEach(o),ge.forEach(o),Re=m(u),$=s(u,"DIV",{class:!0});var ve=n($);E(z.$$.fragment,ve),Ke=m(ve),ee=s(ve,"P",{});var pr=n(ee);Xe=c(pr,"Sets the attention processor to use to compute attention."),pr.forEach(o),ve.forEach(o),qe=m(u),A=s(u,"DIV",{class:!0});var Pe=n(A);E(R.$$.fragment,Pe),He=m(Pe),re=s(Pe,"P",{});var lr=n(re);Me=c(lr,"Disables custom attention processors and sets the default attention implementation."),lr.forEach(o),Pe.forEach(o),u.forEach(o),ce=m(e),b=s(e,"H2",{class:!0});var Te=n(b);x=s(Te,"A",{id:!0,class:!0,href:!0});var ur=n(x);oe=s(ur,"SPAN",{});var hr=n(oe);E(K.$$.fragment,hr),hr.forEach(o),ur.forEach(o),We=m(Te),te=s(Te,"SPAN",{});var _r=n(te);Ue=c(_r,"PriorTransformerOutput"),_r.forEach(o),Te.forEach(o),pe=m(e),v=s(e,"DIV",{class:!0});var ye=n(v);E(X.$$.fragment,ye),Be=m(ye),q=s(ye,"P",{});var we=n(q);Ge=c(we,"The output of "),U=s(we,"A",{href:!0});var gr=n(U);Je=c(gr,"PriorTransformer"),gr.forEach(o),Qe=c(we,"."),we.forEach(o),ye.forEach(o),this.h()},h(){i(h,"name","hf:doc:metadata"),i(h,"content",JSON.stringify(Ar)),i(P,"id","prior-transformer"),i(P,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),i(P,"href","#prior-transformer"),i(_,"class","relative group"),i(k,"href","https://huggingface.co/papers/2204.06125"),i(k,"rel","nofollow"),i(y,"id","diffusers.PriorTransformer"),i(y,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),i(y,"href","#diffusers.PriorTransformer"),i(g,"class","relative group"),i(W,"href","/docs/diffusers/v0.21.0/en/api/models/prior_transformer#diffusers.PriorTransformer"),i(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),i($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),i(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),i(l,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),i(x,"id","diffusers.models.prior_transformer.PriorTransformerOutput"),i(x,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),i(x,"href","#diffusers.models.prior_transformer.PriorTransformerOutput"),i(b,"class","relative group"),i(U,"href","/docs/diffusers/v0.21.0/en/api/models/prior_transformer#diffusers.PriorTransformer"),i(v,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,a){r(document.head,h),p(e,ne,a),p(e,_,a),r(_,P),r(P,B),I(j,B,null),r(_,$e),r(_,G),r(G,Ae),p(e,ie,a),p(e,T,a),r(T,xe),r(T,k),r(k,Le),r(T,Ee),p(e,ae,a),p(e,H,a),r(H,Ie),p(e,de,a),p(e,M,a),r(M,J),r(J,Ne),p(e,me,a),p(e,g,a),r(g,y),r(y,Q),I(D,Q,null),r(g,Oe),r(g,Y),r(Y,Ce),p(e,fe,a),p(e,l,a),I(S,l,null),r(l,je),r(l,Z),r(Z,ke),r(l,De),r(l,w),I(F,w,null),r(w,Se),r(w,V),r(V,Fe),r(V,W),r(W,Ve),r(V,ze),r(l,Re),r(l,$),I(z,$,null),r($,Ke),r($,ee),r(ee,Xe),r(l,qe),r(l,A),I(R,A,null),r(A,He),r(A,re),r(re,Me),p(e,ce,a),p(e,b,a),r(b,x),r(x,oe),I(K,oe,null),r(b,We),r(b,te),r(te,Ue),p(e,pe,a),p(e,v,a),I(X,v,null),r(v,Be),r(v,q),r(q,Ge),r(q,U),r(U,Je),r(q,Qe),le=!0},p:yr,i(e){le||(N(j.$$.fragment,e),N(D.$$.fragment,e),N(S.$$.fragment,e),N(F.$$.fragment,e),N(z.$$.fragment,e),N(R.$$.fragment,e),N(K.$$.fragment,e),N(X.$$.fragment,e),le=!0)},o(e){O(j.$$.fragment,e),O(D.$$.fragment,e),O(S.$$.fragment,e),O(F.$$.fragment,e),O(z.$$.fragment,e),O(R.$$.fragment,e),O(K.$$.fragment,e),O(X.$$.fragment,e),le=!1},d(e){o(h),e&&o(ne),e&&o(_),C(j),e&&o(ie),e&&o(T),e&&o(ae),e&&o(H),e&&o(de),e&&o(M),e&&o(me),e&&o(g),C(D),e&&o(fe),e&&o(l),C(S),C(F),C(z),C(R),e&&o(ce),e&&o(b),C(K),e&&o(pe),e&&o(v),C(X)}}}const Ar={local:"prior-transformer",sections:[{local:"diffusers.PriorTransformer",title:"PriorTransformer"},{local:"diffusers.models.prior_transformer.PriorTransformerOutput",title:"PriorTransformerOutput"}],title:"Prior Transformer"};function xr(Ze){return wr(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Nr extends br{constructor(h){super();vr(this,h,xr,$r,Pr,{})}}export{Nr as default,Ar as metadata};
