import{s as Nt,o as Tt,n as yt}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 m,k as w,y as t,a as f,v as _,d as g,t as b,w as v}from"../chunks/index.589a98e8.js";import{T as Ct}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}),m(c)!=="svelte-89q1io"&&(c.textContent=k)},m(u,N){f(u,c,N)},p:yt,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}),m(c)!=="svelte-89q1io"&&(c.textContent=k)},m(u,N){f(u,c,N)},p:yt,d(u){u&&s(c)}}}function Et(oe){let c,k,u,N,z,we,j,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,V,ft='<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,q,Ue,d,B,He,se,mt=`A modified conditional 2D UNet model that takes a noisy sample, conditional state, and a timestep and returns a
sample shaped output.`,ze,re,ut=`This model inherits from <a href="/docs/diffusers/pr_7790/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).`,je,T,F,Se,ae,pt="Disables the FreeU mechanism.",Ve,D,G,qe,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,fe,vt='The <a href="/docs/diffusers/pr_7790/en/api/models/unet-motion#diffusers.UNetMotionModel">UNetMotionModel</a> forward method.',We,L,R,Xe,me,$t=`Freeze the weights of just the UNet2DConditionModel, and leave the motion modules
unfrozen for fine tuning.`,Je,U,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,C,Y,rt,_e,kt="Disables the fused QKV projection if enabled.",at,E,Ce,Z,ye,y,ee,it,ge,Ut='The output of <a href="/docs/diffusers/pr_7790/en/api/models/unet3d-cond#diffusers.UNet3DConditionModel">UNet3DConditionModel</a>.',Ne,te,Te,$e,De;return z=new dt({props:{title:"UNetMotionModel",local:"unetmotionmodel",headingTag:"h1"}}),q=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_7790/src/diffusers/models/unets/unet_motion_model.py#L234"}}),F=new x({props:{name:"disable_freeu",anchor:"diffusers.UNetMotionModel.disable_freeu",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_7790/src/diffusers/models/unets/unet_motion_model.py#L901"}}),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_7790/src/diffusers/models/unets/unet_motion_model.py#L814"}}),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_7790/src/diffusers/models/unets/unet_motion_model.py#L876"}}),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_7790/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_7790/src/diffusers/models/unets/unet_motion_model.py#L949",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If <code>return_dict</code> is True, an <a
  href="/docs/diffusers/pr_7790/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_7790/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_7790/src/diffusers/models/unets/unet_motion_model.py#L684"}}),W=new x({props:{name:"fuse_qkv_projections",anchor:"diffusers.UNetMotionModel.fuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_7790/src/diffusers/models/unets/unet_motion_model.py#L910"}}),O=new Ct({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_7790/src/diffusers/models/unets/unet_motion_model.py#L779"}}),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_7790/src/diffusers/models/unets/unet_motion_model.py#L856"}}),Y=new x({props:{name:"unfuse_qkv_projections",anchor:"diffusers.UNetMotionModel.unfuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_7790/src/diffusers/models/unets/unet_motion_model.py#L936"}}),E=new Ct({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_7790/src/diffusers/models/unets/unet_3d_condition.py#L53"}}),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(z.$$.fragment),we=n(),j=r("p"),j.innerHTML=lt,Me=n(),S=r("p"),S.textContent=ct,xe=n(),V=r("p"),V.innerHTML=ft,ke=n(),p(q.$$.fragment),Ue=n(),d=r("div"),p(B.$$.fragment),He=n(),se=r("p"),se.textContent=mt,ze=n(),re=r("p"),re.innerHTML=ut,je=n(),T=r("div"),p(F.$$.fragment),Se=n(),ae=r("p"),ae.textContent=pt,Ve=n(),D=r("div"),p(G.$$.fragment),qe=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(),fe=r("p"),fe.innerHTML=vt,We=n(),L=r("div"),p(R.$$.fragment),Xe=n(),me=r("p"),me.textContent=$t,Je=n(),U=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(),C=r("div"),p(Y.$$.fragment),rt=n(),_e=r("p"),_e.textContent=kt,at=n(),p(E.$$.fragment),Ce=n(),p(Z.$$.fragment),ye=n(),y=r("div"),p(ee.$$.fragment),it=n(),ge=r("p"),ge.innerHTML=Ut,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(z.$$.fragment,e),we=o(e),j=a(e,"P",{"data-svelte-h":!0}),m(j)!=="svelte-1gx5we1"&&(j.innerHTML=lt),Me=o(e),S=a(e,"P",{"data-svelte-h":!0}),m(S)!=="svelte-1cwsb16"&&(S.textContent=ct),xe=o(e),V=a(e,"P",{"data-svelte-h":!0}),m(V)!=="svelte-12epiox"&&(V.innerHTML=ft),ke=o(e),h(q.$$.fragment,e),Ue=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}),m(se)!=="svelte-17nn7p8"&&(se.textContent=mt),ze=o(l),re=a(l,"P",{"data-svelte-h":!0}),m(re)!=="svelte-1i89vwd"&&(re.innerHTML=ut),je=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}),m(ae)!=="svelte-1d0rkng"&&(ae.textContent=pt),ne.forEach(s),Ve=o(l),D=a(l,"DIV",{class:!0});var Pe=$(D);h(G.$$.fragment,Pe),qe=o(Pe),ie=a(Pe,"P",{"data-svelte-h":!0}),m(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}),m(de)!=="svelte-4p7kn0"&&(de.innerHTML=_t),Ge=o(H),le=a(H,"P",{"data-svelte-h":!0}),m(le)!=="svelte-1t9gjdi"&&(le.textContent=gt),Ke=o(H),ce=a(H,"P",{"data-svelte-h":!0}),m(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),fe=a(Le,"P",{"data-svelte-h":!0}),m(fe)!=="svelte-1pzijrf"&&(fe.innerHTML=vt),Le.forEach(s),We=o(l),L=a(l,"DIV",{class:!0});var Oe=$(L);h(R.$$.fragment,Oe),Xe=o(Oe),me=a(Oe,"P",{"data-svelte-h":!0}),m(me)!=="svelte-os6vgi"&&(me.textContent=$t),Oe.forEach(s),Je=o(l),U=a(l,"DIV",{class:!0});var be=$(U);h(W.$$.fragment,be),Ye=o(be),ue=a(be,"P",{"data-svelte-h":!0}),m(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}),m(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}),m(he)!=="svelte-1lxcwhv"&&(he.textContent=xt),Ae.forEach(s),st=o(l),C=a(l,"DIV",{class:!0});var ve=$(C);h(Y.$$.fragment,ve),rt=o(ve),_e=a(ve,"P",{"data-svelte-h":!0}),m(_e)!=="svelte-1vhtc74"&&(_e.textContent=kt),at=o(ve),h(E.$$.fragment,ve),ve.forEach(s),l.forEach(s),Ce=o(e),h(Z.$$.fragment,e),ye=o(e),y=a(e,"DIV",{class:!0});var Ee=$(y);h(ee.$$.fragment,Ee),it=o(Ee),ge=a(Ee,"P",{"data-svelte-h":!0}),m(ge)!=="svelte-10h99zg"&&(ge.innerHTML=Ut),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(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(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(C,"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(y,"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),f(e,k,i),f(e,u,i),f(e,N,i),_(z,e,i),f(e,we,i),f(e,j,i),f(e,Me,i),f(e,S,i),f(e,xe,i),f(e,V,i),f(e,ke,i),_(q,e,i),f(e,Ue,i),f(e,d,i),_(B,d,null),t(d,He),t(d,se),t(d,ze),t(d,re),t(d,je),t(d,T),_(F,T,null),t(T,Se),t(T,ae),t(d,Ve),t(d,D),_(G,D,null),t(D,qe),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,fe),t(d,We),t(d,L),_(R,L,null),t(L,Xe),t(L,me),t(d,Je),t(d,U),_(W,U,null),t(U,Ye),t(U,ue),t(U,Ze),_(O,U,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,C),_(Y,C,null),t(C,rt),t(C,_e),t(C,at),_(E,C,null),f(e,Ce,i),_(Z,e,i),f(e,ye,i),f(e,y,i),_(ee,y,null),t(y,it),t(y,ge),f(e,Ne,i),_(te,e,i),f(e,Te,i),f(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(z.$$.fragment,e),g(q.$$.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(z.$$.fragment,e),b(q.$$.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(j),s(Me),s(S),s(xe),s(V),s(ke),s(Ue),s(d),s(Ce),s(ye),s(y),s(Ne),s(Te),s($e)),s(c),v(z,e),v(q,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 zt(oe){return Tt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ft extends Dt{constructor(c){super(),Pt(this,c,zt,Et,Nt,{})}}export{Ft as component};
