import{s as Nt,o as Tt,n as Ct}from"../chunks/scheduler.8c3d61f6.js";import{S as Dt,i as Pt,g as r,s as n,r as p,A as Lt,h as a,f as s,c as o,j as $,u as h,x as f,k as w,y as t,a as m,v as _,d as g,t as b,w as v}from"../chunks/index.589a98e8.js";import{T as Ut}from"../chunks/Tip.42aa8582.js";import{D as x}from"../chunks/Docstring.27406313.js";import{H as dt,E as Ot}from"../chunks/EditOnGithub.e5a8d9cb.js";function It(oe){let c,k="This API is 🧪 experimental.";return{c(){c=r("p"),c.textContent=k},l(u){c=a(u,"P",{"data-svelte-h":!0}),f(c)!=="svelte-89q1io"&&(c.textContent=k)},m(u,N){m(u,c,N)},p:Ct,d(u){u&&s(c)}}}function At(oe){let c,k="This API is 🧪 experimental.";return{c(){c=r("p"),c.textContent=k},l(u){c=a(u,"P",{"data-svelte-h":!0}),f(c)!=="svelte-89q1io"&&(c.textContent=k)},m(u,N){m(u,c,N)},p:Ct,d(u){u&&s(c)}}}function Et(oe){let c,k,u,N,j,we,z,lt='The <a href="https://huggingface.co/papers/1505.04597" rel="nofollow">UNet</a> model was originally introduced by Ronneberger et al for biomedical image segmentation, but it is also commonly used in 🤗 Diffusers because it outputs images that are the same size as the input. It is one of the most important components of a diffusion system because it facilitates the actual diffusion process. There are several variants of the UNet model in 🤗 Diffusers, depending on it’s number of dimensions and whether it is a conditional model or not. This is a 2D UNet model.',Me,S,ct="The abstract from the paper is:",xe,q,mt='<em>There is large consent that successful training of deep networks requires many thousand annotated training samples. In this paper, we present a network and training strategy that relies on the strong use of data augmentation to use the available annotated samples more efficiently. The architecture consists of a contracting path to capture context and a symmetric expanding path that enables precise localization. We show that such a network can be trained end-to-end from very few images and outperforms the prior best method (a sliding-window convolutional network) on the ISBI challenge for segmentation of neuronal structures in electron microscopic stacks. Using the same network trained on transmitted light microscopy images (phase contrast and DIC) we won the ISBI cell tracking challenge 2015 in these categories by a large margin. Moreover, the network is fast. Segmentation of a 512x512 image takes less than a second on a recent GPU. The full implementation (based on Caffe) and the trained networks are available at <a href="http://lmb.informatik.uni-freiburg.de/people/ronneber/u-net" rel="nofollow">http://lmb.informatik.uni-freiburg.de/people/ronneber/u-net</a>.</em>',ke,V,ye,d,B,He,se,ft=`A modified conditional 2D UNet model that takes a noisy sample, conditional state, and a timestep and returns a
sample shaped output.`,je,re,ut=`This model inherits from <a href="/docs/diffusers/pr_8466/en/api/models/overview#diffusers.ModelMixin">ModelMixin</a>. Check the superclass documentation for it’s generic methods implemented
for all models (such as downloading or saving).`,ze,T,F,Se,ae,pt="Disables the FreeU mechanism.",qe,D,G,Ve,ie,ht=`Sets the attention processor to use <a href="https://huggingface.co/blog/reformer#2-chunked-feed-forward-layers" rel="nofollow">feed forward
chunking</a>.`,Be,M,K,Fe,de,_t='Enables the FreeU mechanism from <a href="https://arxiv.org/abs/2309.11497" rel="nofollow">https://arxiv.org/abs/2309.11497</a>.',Ge,le,gt="The suffixes after the scaling factors represent the stage blocks where they are being applied.",Ke,ce,bt=`Please refer to the <a href="https://github.com/ChenyangSi/FreeU" rel="nofollow">official repository</a> for combinations of values that
are known to work well for different pipelines such as Stable Diffusion v1, v2, and Stable Diffusion XL.`,Qe,P,Q,Re,me,vt='The <a href="/docs/diffusers/pr_8466/en/api/models/unet-motion#diffusers.UNetMotionModel">UNetMotionModel</a> forward method.',We,L,R,Xe,fe,$t=`Freeze the weights of just the UNet2DConditionModel, and leave the motion modules
unfrozen for fine tuning.`,Je,y,W,Ye,ue,wt=`Enables fused QKV projections. For self-attention modules, all projection matrices (i.e., query, key, value)
are fused. For cross-attention modules, key and value projection matrices are fused.`,Ze,O,et,I,X,tt,pe,Mt="Sets the attention processor to use to compute attention.",nt,A,J,ot,he,xt="Disables custom attention processors and sets the default attention implementation.",st,U,Y,rt,_e,kt="Disables the fused QKV projection if enabled.",at,E,Ue,Z,Ce,C,ee,it,ge,yt='The output of <a href="/docs/diffusers/pr_8466/en/api/models/unet3d-cond#diffusers.UNet3DConditionModel">UNet3DConditionModel</a>.',Ne,te,Te,$e,De;return j=new dt({props:{title:"UNetMotionModel",local:"unetmotionmodel",headingTag:"h1"}}),V=new dt({props:{title:"UNetMotionModel",local:"diffusers.UNetMotionModel",headingTag:"h2"}}),B=new x({props:{name:"class diffusers.UNetMotionModel",anchor:"diffusers.UNetMotionModel",parameters:[{name:"sample_size",val:": Optional = None"},{name:"in_channels",val:": int = 4"},{name:"out_channels",val:": int = 4"},{name:"down_block_types",val:": Tuple = ('CrossAttnDownBlockMotion', 'CrossAttnDownBlockMotion', 'CrossAttnDownBlockMotion', 'DownBlockMotion')"},{name:"up_block_types",val:": Tuple = ('UpBlockMotion', 'CrossAttnUpBlockMotion', 'CrossAttnUpBlockMotion', 'CrossAttnUpBlockMotion')"},{name:"block_out_channels",val:": Tuple = (320, 640, 1280, 1280)"},{name:"layers_per_block",val:": Union = 2"},{name:"downsample_padding",val:": int = 1"},{name:"mid_block_scale_factor",val:": float = 1"},{name:"act_fn",val:": str = 'silu'"},{name:"norm_num_groups",val:": int = 32"},{name:"norm_eps",val:": float = 1e-05"},{name:"cross_attention_dim",val:": int = 1280"},{name:"transformer_layers_per_block",val:": Union = 1"},{name:"reverse_transformer_layers_per_block",val:": Union = None"},{name:"temporal_transformer_layers_per_block",val:": Union = 1"},{name:"reverse_temporal_transformer_layers_per_block",val:": Union = None"},{name:"transformer_layers_per_mid_block",val:": Union = None"},{name:"temporal_transformer_layers_per_mid_block",val:": Union = 1"},{name:"use_linear_projection",val:": bool = False"},{name:"num_attention_heads",val:": Union = 8"},{name:"motion_max_seq_length",val:": int = 32"},{name:"motion_num_attention_heads",val:": Union = 8"},{name:"reverse_motion_num_attention_heads",val:": Union = None"},{name:"use_motion_mid_block",val:": bool = True"},{name:"mid_block_layers",val:": int = 1"},{name:"encoder_hid_dim",val:": Optional = None"},{name:"encoder_hid_dim_type",val:": Optional = None"},{name:"addition_embed_type",val:": Optional = None"},{name:"addition_time_embed_dim",val:": Optional = None"},{name:"projection_class_embeddings_input_dim",val:": Optional = None"},{name:"time_cond_proj_dim",val:": Optional = None"}],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/unets/unet_motion_model.py#L233"}}),F=new x({props:{name:"disable_freeu",anchor:"diffusers.UNetMotionModel.disable_freeu",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/unets/unet_motion_model.py#L898"}}),G=new x({props:{name:"enable_forward_chunking",anchor:"diffusers.UNetMotionModel.enable_forward_chunking",parameters:[{name:"chunk_size",val:": Optional = None"},{name:"dim",val:": int = 0"}],parametersDescription:[{anchor:"diffusers.UNetMotionModel.enable_forward_chunking.chunk_size",description:`<strong>chunk_size</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The chunk size of the feed-forward layers. If not specified, will run feed-forward layer individually
over each tensor of dim=<code>dim</code>.`,name:"chunk_size"},{anchor:"diffusers.UNetMotionModel.enable_forward_chunking.dim",description:`<strong>dim</strong> (<code>int</code>, <em>optional</em>, defaults to <code>0</code>) &#x2014;
The dimension over which the feed-forward computation should be chunked. Choose between dim=0 (batch)
or dim=1 (sequence length).`,name:"dim"}],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/unets/unet_motion_model.py#L811"}}),K=new x({props:{name:"enable_freeu",anchor:"diffusers.UNetMotionModel.enable_freeu",parameters:[{name:"s1",val:": float"},{name:"s2",val:": float"},{name:"b1",val:": float"},{name:"b2",val:": float"}],parametersDescription:[{anchor:"diffusers.UNetMotionModel.enable_freeu.s1",description:`<strong>s1</strong> (<code>float</code>) &#x2014;
Scaling factor for stage 1 to attenuate the contributions of the skip features. This is done to
mitigate the &#x201C;oversmoothing effect&#x201D; in the enhanced denoising process.`,name:"s1"},{anchor:"diffusers.UNetMotionModel.enable_freeu.s2",description:`<strong>s2</strong> (<code>float</code>) &#x2014;
Scaling factor for stage 2 to attenuate the contributions of the skip features. This is done to
mitigate the &#x201C;oversmoothing effect&#x201D; in the enhanced denoising process.`,name:"s2"},{anchor:"diffusers.UNetMotionModel.enable_freeu.b1",description:"<strong>b1</strong> (<code>float</code>) &#x2014; Scaling factor for stage 1 to amplify the contributions of backbone features.",name:"b1"},{anchor:"diffusers.UNetMotionModel.enable_freeu.b2",description:"<strong>b2</strong> (<code>float</code>) &#x2014; Scaling factor for stage 2 to amplify the contributions of backbone features.",name:"b2"}],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/unets/unet_motion_model.py#L873"}}),Q=new x({props:{name:"forward",anchor:"diffusers.UNetMotionModel.forward",parameters:[{name:"sample",val:": Tensor"},{name:"timestep",val:": Union"},{name:"encoder_hidden_states",val:": Tensor"},{name:"timestep_cond",val:": Optional = None"},{name:"attention_mask",val:": Optional = None"},{name:"cross_attention_kwargs",val:": Optional = None"},{name:"added_cond_kwargs",val:": Optional = None"},{name:"down_block_additional_residuals",val:": Optional = None"},{name:"mid_block_additional_residual",val:": Optional = None"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.UNetMotionModel.forward.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
The noisy input tensor with the following shape <code>(batch, num_frames, channel, height, width</code>.`,name:"sample"},{anchor:"diffusers.UNetMotionModel.forward.timestep",description:"<strong>timestep</strong> (<code>torch.Tensor</code> or <code>float</code> or <code>int</code>) &#x2014; The number of timesteps to denoise an input.",name:"timestep"},{anchor:"diffusers.UNetMotionModel.forward.encoder_hidden_states",description:`<strong>encoder_hidden_states</strong> (<code>torch.Tensor</code>) &#x2014;
The encoder hidden states with shape <code>(batch, sequence_length, feature_dim)</code>.
timestep_cond &#x2014; (<code>torch.Tensor</code>, <em>optional</em>, defaults to <code>None</code>):
Conditional embeddings for timestep. If provided, the embeddings will be summed with the samples passed
through the <code>self.time_embedding</code> layer to obtain the timestep embeddings.`,name:"encoder_hidden_states"},{anchor:"diffusers.UNetMotionModel.forward.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
An attention mask of shape <code>(batch, key_tokens)</code> is applied to <code>encoder_hidden_states</code>. If <code>1</code> the mask
is kept, otherwise if <code>0</code> it is discarded. Mask will be converted into a bias, which adds large
negative values to the attention scores corresponding to &#x201C;discard&#x201D; tokens.`,name:"attention_mask"},{anchor:"diffusers.UNetMotionModel.forward.cross_attention_kwargs",description:`<strong>cross_attention_kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
A kwargs dictionary that if specified is passed along to the <code>AttentionProcessor</code> as defined under
<code>self.processor</code> in
<a href="https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention_processor.py" rel="nofollow">diffusers.models.attention_processor</a>.
down_block_additional_residuals &#x2014; (<code>tuple</code> of <code>torch.Tensor</code>, <em>optional</em>):
A tuple of tensors that if specified are added to the residuals of down unet blocks.
mid_block_additional_residual &#x2014; (<code>torch.Tensor</code>, <em>optional</em>):
A tensor that if specified is added to the residual of the middle unet block.`,name:"cross_attention_kwargs"},{anchor:"diffusers.UNetMotionModel.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/pr_8466/en/api/models/unet-motion#diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput">UNet3DConditionOutput</a> instead of a plain
tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/unets/unet_motion_model.py#L944",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If <code>return_dict</code> is True, an <a
  href="/docs/diffusers/pr_8466/en/api/models/unet-motion#diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput"
>UNet3DConditionOutput</a> is returned,
otherwise a <code>tuple</code> is returned where the first element is the sample tensor.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/diffusers/pr_8466/en/api/models/unet-motion#diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput"
>UNet3DConditionOutput</a> or <code>tuple</code></p>
`}}),R=new x({props:{name:"freeze_unet2d_params",anchor:"diffusers.UNetMotionModel.freeze_unet2d_params",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/unets/unet_motion_model.py#L681"}}),W=new x({props:{name:"fuse_qkv_projections",anchor:"diffusers.UNetMotionModel.fuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/unets/unet_motion_model.py#L907"}}),O=new Ut({props:{warning:!0,$$slots:{default:[It]},$$scope:{ctx:oe}}}),X=new x({props:{name:"set_attn_processor",anchor:"diffusers.UNetMotionModel.set_attn_processor",parameters:[{name:"processor",val:": Union"}],parametersDescription:[{anchor:"diffusers.UNetMotionModel.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/vr_8466/src/diffusers/models/unets/unet_motion_model.py#L776"}}),J=new x({props:{name:"set_default_attn_processor",anchor:"diffusers.UNetMotionModel.set_default_attn_processor",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/unets/unet_motion_model.py#L853"}}),Y=new x({props:{name:"unfuse_qkv_projections",anchor:"diffusers.UNetMotionModel.unfuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/unets/unet_motion_model.py#L931"}}),E=new Ut({props:{warning:!0,$$slots:{default:[At]},$$scope:{ctx:oe}}}),Z=new dt({props:{title:"UNet3DConditionOutput",local:"diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput",headingTag:"h2"}}),ee=new x({props:{name:"class diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput",anchor:"diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput",parameters:[{name:"sample",val:": Tensor"}],parametersDescription:[{anchor:"diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, num_channels, num_frames, height, width)</code>) &#x2014;
The hidden states output conditioned on <code>encoder_hidden_states</code> input. Output of last layer of model.`,name:"sample"}],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/unets/unet_3d_condition.py#L52"}}),te=new Ot({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/unet-motion.md"}}),{c(){c=r("meta"),k=n(),u=r("p"),N=n(),p(j.$$.fragment),we=n(),z=r("p"),z.innerHTML=lt,Me=n(),S=r("p"),S.textContent=ct,xe=n(),q=r("p"),q.innerHTML=mt,ke=n(),p(V.$$.fragment),ye=n(),d=r("div"),p(B.$$.fragment),He=n(),se=r("p"),se.textContent=ft,je=n(),re=r("p"),re.innerHTML=ut,ze=n(),T=r("div"),p(F.$$.fragment),Se=n(),ae=r("p"),ae.textContent=pt,qe=n(),D=r("div"),p(G.$$.fragment),Ve=n(),ie=r("p"),ie.innerHTML=ht,Be=n(),M=r("div"),p(K.$$.fragment),Fe=n(),de=r("p"),de.innerHTML=_t,Ge=n(),le=r("p"),le.textContent=gt,Ke=n(),ce=r("p"),ce.innerHTML=bt,Qe=n(),P=r("div"),p(Q.$$.fragment),Re=n(),me=r("p"),me.innerHTML=vt,We=n(),L=r("div"),p(R.$$.fragment),Xe=n(),fe=r("p"),fe.textContent=$t,Je=n(),y=r("div"),p(W.$$.fragment),Ye=n(),ue=r("p"),ue.textContent=wt,Ze=n(),p(O.$$.fragment),et=n(),I=r("div"),p(X.$$.fragment),tt=n(),pe=r("p"),pe.textContent=Mt,nt=n(),A=r("div"),p(J.$$.fragment),ot=n(),he=r("p"),he.textContent=xt,st=n(),U=r("div"),p(Y.$$.fragment),rt=n(),_e=r("p"),_e.textContent=kt,at=n(),p(E.$$.fragment),Ue=n(),p(Z.$$.fragment),Ce=n(),C=r("div"),p(ee.$$.fragment),it=n(),ge=r("p"),ge.innerHTML=yt,Ne=n(),p(te.$$.fragment),Te=n(),$e=r("p"),this.h()},l(e){const i=Lt("svelte-u9bgzb",document.head);c=a(i,"META",{name:!0,content:!0}),i.forEach(s),k=o(e),u=a(e,"P",{}),$(u).forEach(s),N=o(e),h(j.$$.fragment,e),we=o(e),z=a(e,"P",{"data-svelte-h":!0}),f(z)!=="svelte-1gx5we1"&&(z.innerHTML=lt),Me=o(e),S=a(e,"P",{"data-svelte-h":!0}),f(S)!=="svelte-1cwsb16"&&(S.textContent=ct),xe=o(e),q=a(e,"P",{"data-svelte-h":!0}),f(q)!=="svelte-12epiox"&&(q.innerHTML=mt),ke=o(e),h(V.$$.fragment,e),ye=o(e),d=a(e,"DIV",{class:!0});var l=$(d);h(B.$$.fragment,l),He=o(l),se=a(l,"P",{"data-svelte-h":!0}),f(se)!=="svelte-17nn7p8"&&(se.textContent=ft),je=o(l),re=a(l,"P",{"data-svelte-h":!0}),f(re)!=="svelte-jnya06"&&(re.innerHTML=ut),ze=o(l),T=a(l,"DIV",{class:!0});var ne=$(T);h(F.$$.fragment,ne),Se=o(ne),ae=a(ne,"P",{"data-svelte-h":!0}),f(ae)!=="svelte-1d0rkng"&&(ae.textContent=pt),ne.forEach(s),qe=o(l),D=a(l,"DIV",{class:!0});var Pe=$(D);h(G.$$.fragment,Pe),Ve=o(Pe),ie=a(Pe,"P",{"data-svelte-h":!0}),f(ie)!=="svelte-2m23sy"&&(ie.innerHTML=ht),Pe.forEach(s),Be=o(l),M=a(l,"DIV",{class:!0});var H=$(M);h(K.$$.fragment,H),Fe=o(H),de=a(H,"P",{"data-svelte-h":!0}),f(de)!=="svelte-4p7kn0"&&(de.innerHTML=_t),Ge=o(H),le=a(H,"P",{"data-svelte-h":!0}),f(le)!=="svelte-1t9gjdi"&&(le.textContent=gt),Ke=o(H),ce=a(H,"P",{"data-svelte-h":!0}),f(ce)!=="svelte-tw05zf"&&(ce.innerHTML=bt),H.forEach(s),Qe=o(l),P=a(l,"DIV",{class:!0});var Le=$(P);h(Q.$$.fragment,Le),Re=o(Le),me=a(Le,"P",{"data-svelte-h":!0}),f(me)!=="svelte-uyv5ni"&&(me.innerHTML=vt),Le.forEach(s),We=o(l),L=a(l,"DIV",{class:!0});var Oe=$(L);h(R.$$.fragment,Oe),Xe=o(Oe),fe=a(Oe,"P",{"data-svelte-h":!0}),f(fe)!=="svelte-os6vgi"&&(fe.textContent=$t),Oe.forEach(s),Je=o(l),y=a(l,"DIV",{class:!0});var be=$(y);h(W.$$.fragment,be),Ye=o(be),ue=a(be,"P",{"data-svelte-h":!0}),f(ue)!=="svelte-1254b9i"&&(ue.textContent=wt),Ze=o(be),h(O.$$.fragment,be),be.forEach(s),et=o(l),I=a(l,"DIV",{class:!0});var Ie=$(I);h(X.$$.fragment,Ie),tt=o(Ie),pe=a(Ie,"P",{"data-svelte-h":!0}),f(pe)!=="svelte-1o77hl2"&&(pe.textContent=Mt),Ie.forEach(s),nt=o(l),A=a(l,"DIV",{class:!0});var Ae=$(A);h(J.$$.fragment,Ae),ot=o(Ae),he=a(Ae,"P",{"data-svelte-h":!0}),f(he)!=="svelte-1lxcwhv"&&(he.textContent=xt),Ae.forEach(s),st=o(l),U=a(l,"DIV",{class:!0});var ve=$(U);h(Y.$$.fragment,ve),rt=o(ve),_e=a(ve,"P",{"data-svelte-h":!0}),f(_e)!=="svelte-1vhtc74"&&(_e.textContent=kt),at=o(ve),h(E.$$.fragment,ve),ve.forEach(s),l.forEach(s),Ue=o(e),h(Z.$$.fragment,e),Ce=o(e),C=a(e,"DIV",{class:!0});var Ee=$(C);h(ee.$$.fragment,Ee),it=o(Ee),ge=a(Ee,"P",{"data-svelte-h":!0}),f(ge)!=="svelte-1q2mjsh"&&(ge.innerHTML=yt),Ee.forEach(s),Ne=o(e),h(te.$$.fragment,e),Te=o(e),$e=a(e,"P",{}),$($e).forEach(s),this.h()},h(){w(c,"name","hf:doc:metadata"),w(c,"content",Ht),w(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(d,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(C,"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,i){t(document.head,c),m(e,k,i),m(e,u,i),m(e,N,i),_(j,e,i),m(e,we,i),m(e,z,i),m(e,Me,i),m(e,S,i),m(e,xe,i),m(e,q,i),m(e,ke,i),_(V,e,i),m(e,ye,i),m(e,d,i),_(B,d,null),t(d,He),t(d,se),t(d,je),t(d,re),t(d,ze),t(d,T),_(F,T,null),t(T,Se),t(T,ae),t(d,qe),t(d,D),_(G,D,null),t(D,Ve),t(D,ie),t(d,Be),t(d,M),_(K,M,null),t(M,Fe),t(M,de),t(M,Ge),t(M,le),t(M,Ke),t(M,ce),t(d,Qe),t(d,P),_(Q,P,null),t(P,Re),t(P,me),t(d,We),t(d,L),_(R,L,null),t(L,Xe),t(L,fe),t(d,Je),t(d,y),_(W,y,null),t(y,Ye),t(y,ue),t(y,Ze),_(O,y,null),t(d,et),t(d,I),_(X,I,null),t(I,tt),t(I,pe),t(d,nt),t(d,A),_(J,A,null),t(A,ot),t(A,he),t(d,st),t(d,U),_(Y,U,null),t(U,rt),t(U,_e),t(U,at),_(E,U,null),m(e,Ue,i),_(Z,e,i),m(e,Ce,i),m(e,C,i),_(ee,C,null),t(C,it),t(C,ge),m(e,Ne,i),_(te,e,i),m(e,Te,i),m(e,$e,i),De=!0},p(e,[i]){const l={};i&2&&(l.$$scope={dirty:i,ctx:e}),O.$set(l);const ne={};i&2&&(ne.$$scope={dirty:i,ctx:e}),E.$set(ne)},i(e){De||(g(j.$$.fragment,e),g(V.$$.fragment,e),g(B.$$.fragment,e),g(F.$$.fragment,e),g(G.$$.fragment,e),g(K.$$.fragment,e),g(Q.$$.fragment,e),g(R.$$.fragment,e),g(W.$$.fragment,e),g(O.$$.fragment,e),g(X.$$.fragment,e),g(J.$$.fragment,e),g(Y.$$.fragment,e),g(E.$$.fragment,e),g(Z.$$.fragment,e),g(ee.$$.fragment,e),g(te.$$.fragment,e),De=!0)},o(e){b(j.$$.fragment,e),b(V.$$.fragment,e),b(B.$$.fragment,e),b(F.$$.fragment,e),b(G.$$.fragment,e),b(K.$$.fragment,e),b(Q.$$.fragment,e),b(R.$$.fragment,e),b(W.$$.fragment,e),b(O.$$.fragment,e),b(X.$$.fragment,e),b(J.$$.fragment,e),b(Y.$$.fragment,e),b(E.$$.fragment,e),b(Z.$$.fragment,e),b(ee.$$.fragment,e),b(te.$$.fragment,e),De=!1},d(e){e&&(s(k),s(u),s(N),s(we),s(z),s(Me),s(S),s(xe),s(q),s(ke),s(ye),s(d),s(Ue),s(Ce),s(C),s(Ne),s(Te),s($e)),s(c),v(j,e),v(V,e),v(B),v(F),v(G),v(K),v(Q),v(R),v(W),v(O),v(X),v(J),v(Y),v(E),v(Z,e),v(ee),v(te,e)}}}const Ht='{"title":"UNetMotionModel","local":"unetmotionmodel","sections":[{"title":"UNetMotionModel","local":"diffusers.UNetMotionModel","sections":[],"depth":2},{"title":"UNet3DConditionOutput","local":"diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput","sections":[],"depth":2}],"depth":1}';function jt(oe){return Tt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ft extends Dt{constructor(c){super(),Pt(this,c,jt,Et,Nt,{})}}export{Ft as component};
