import{s as Et,o as Ht,n as Ot}from"../chunks/scheduler.182ea377.js";import{S as jt,i as Bt,g as s,s as o,r as u,A as St,h as i,f as r,c as n,j as $,u as p,x as m,k as C,y as t,a as f,v as h,d as g,t as _,w as b}from"../chunks/index.abf12888.js";import{T as zt}from"../chunks/Tip.230e2334.js";import{D as x}from"../chunks/Docstring.81ce6c10.js";import{H as gt,E as Vt}from"../chunks/EditOnGithub.9b8e78e4.js";function Ft(ie){let c,D="This API is 🧪 experimental.";return{c(){c=s("p"),c.textContent=D},l(v){c=i(v,"P",{"data-svelte-h":!0}),m(c)!=="svelte-89q1io"&&(c.textContent=D)},m(v,N){f(v,c,N)},p:Ot,d(v){v&&r(c)}}}function Wt(ie){let c,D="This API is 🧪 experimental.";return{c(){c=s("p"),c.textContent=D},l(v){c=i(v,"P",{"data-svelte-h":!0}),m(c)!=="svelte-89q1io"&&(c.textContent=D)},m(v,N){f(v,c,N)},p:Ot,d(v){v&&r(c)}}}function Rt(ie){let c,D,v,N,H,Ue,j,_t='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 3D UNet conditional model.',ye,B,bt="The abstract from the paper is:",Te,S,vt='<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>',Ne,V,Me,a,F,Se,re,$t=`A conditional 3D UNet model that takes a noisy sample, conditional state, and a timestep and returns a sample
shaped output.`,Ve,ae,Ct=`This model inherits from <a href="/docs/diffusers/main/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).`,Fe,M,W,We,de,wt="Disables the FreeU mechanism.",Re,q,R,Ge,le,xt=`Sets the attention processor to use <a href="https://huggingface.co/blog/reformer#2-chunked-feed-forward-layers" rel="nofollow">feed forward
chunking</a>.`,Ke,w,G,Qe,ce,Dt='Enables the FreeU mechanism from <a href="https://arxiv.org/abs/2309.11497" rel="nofollow">https://arxiv.org/abs/2309.11497</a>.',Xe,me,kt="The suffixes after the scaling factors represent the stage blocks where they are being applied.",Je,fe,Ut=`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.`,Ye,P,K,Ze,ue,yt='The <a href="/docs/diffusers/main/en/api/models/unet3d-cond#diffusers.UNet3DConditionModel">UNet3DConditionModel</a> forward method.',et,k,Q,tt,pe,Tt=`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.`,ot,L,nt,U,X,st,he,Nt="Enable sliced attention computation.",it,ge,Mt=`When this option is enabled, the attention module splits the input tensor in slices to compute attention in
several steps. This is useful for saving some memory in exchange for a small decrease in speed.`,rt,I,J,at,_e,qt="Sets the attention processor to use to compute attention.",dt,A,Y,lt,be,Pt="Disables custom attention processors and sets the default attention implementation.",ct,y,Z,mt,ve,Lt="Disables the fused QKV projection if enabled.",ft,z,ut,O,ee,pt,$e,It="Unloads LoRA weights.",qe,te,Pe,T,oe,ht,Ce,At='The output of <a href="/docs/diffusers/main/en/api/models/unet3d-cond#diffusers.UNet3DConditionModel">UNet3DConditionModel</a>.',Le,ne,Ie,ke,Ae;return H=new gt({props:{title:"UNet3DConditionModel",local:"unet3dconditionmodel",headingTag:"h1"}}),V=new gt({props:{title:"UNet3DConditionModel",local:"diffusers.UNet3DConditionModel",headingTag:"h2"}}),F=new x({props:{name:"class diffusers.UNet3DConditionModel",anchor:"diffusers.UNet3DConditionModel",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 = ('CrossAttnDownBlock3D', 'CrossAttnDownBlock3D', 'CrossAttnDownBlock3D', 'DownBlock3D')"},{name:"up_block_types",val:": Tuple = ('UpBlock3D', 'CrossAttnUpBlock3D', 'CrossAttnUpBlock3D', 'CrossAttnUpBlock3D')"},{name:"block_out_channels",val:": Tuple = (320, 640, 1280, 1280)"},{name:"layers_per_block",val:": int = 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:": Optional = 32"},{name:"norm_eps",val:": float = 1e-05"},{name:"cross_attention_dim",val:": int = 1024"},{name:"attention_head_dim",val:": Union = 64"},{name:"num_attention_heads",val:": Union = None"},{name:"time_cond_proj_dim",val:": Optional = None"}],parametersDescription:[{anchor:"diffusers.UNet3DConditionModel.sample_size",description:`<strong>sample_size</strong> (<code>int</code> or <code>Tuple[int, int]</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
Height and width of input/output sample.`,name:"sample_size"},{anchor:"diffusers.UNet3DConditionModel.in_channels",description:"<strong>in_channels</strong> (<code>int</code>, <em>optional</em>, defaults to 4) &#x2014; The number of channels in the input sample.",name:"in_channels"},{anchor:"diffusers.UNet3DConditionModel.out_channels",description:"<strong>out_channels</strong> (<code>int</code>, <em>optional</em>, defaults to 4) &#x2014; The number of channels in the output.",name:"out_channels"},{anchor:"diffusers.UNet3DConditionModel.down_block_types",description:`<strong>down_block_types</strong> (<code>Tuple[str]</code>, <em>optional</em>, defaults to <code>(&quot;CrossAttnDownBlock3D&quot;, &quot;CrossAttnDownBlock3D&quot;, &quot;CrossAttnDownBlock3D&quot;, &quot;DownBlock3D&quot;)</code>) &#x2014;
The tuple of downsample blocks to use.`,name:"down_block_types"},{anchor:"diffusers.UNet3DConditionModel.up_block_types",description:`<strong>up_block_types</strong> (<code>Tuple[str]</code>, <em>optional</em>, defaults to <code>(&quot;UpBlock3D&quot;, &quot;CrossAttnUpBlock3D&quot;, &quot;CrossAttnUpBlock3D&quot;, &quot;CrossAttnUpBlock3D&quot;)</code>) &#x2014;
The tuple of upsample blocks to use.`,name:"up_block_types"},{anchor:"diffusers.UNet3DConditionModel.block_out_channels",description:`<strong>block_out_channels</strong> (<code>Tuple[int]</code>, <em>optional</em>, defaults to <code>(320, 640, 1280, 1280)</code>) &#x2014;
The tuple of output channels for each block.`,name:"block_out_channels"},{anchor:"diffusers.UNet3DConditionModel.layers_per_block",description:"<strong>layers_per_block</strong> (<code>int</code>, <em>optional</em>, defaults to 2) &#x2014; The number of layers per block.",name:"layers_per_block"},{anchor:"diffusers.UNet3DConditionModel.downsample_padding",description:"<strong>downsample_padding</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014; The padding to use for the downsampling convolution.",name:"downsample_padding"},{anchor:"diffusers.UNet3DConditionModel.mid_block_scale_factor",description:"<strong>mid_block_scale_factor</strong> (<code>float</code>, <em>optional</em>, defaults to 1.0) &#x2014; The scale factor to use for the mid block.",name:"mid_block_scale_factor"},{anchor:"diffusers.UNet3DConditionModel.act_fn",description:"<strong>act_fn</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;silu&quot;</code>) &#x2014; The activation function to use.",name:"act_fn"},{anchor:"diffusers.UNet3DConditionModel.norm_num_groups",description:`<strong>norm_num_groups</strong> (<code>int</code>, <em>optional</em>, defaults to 32) &#x2014; The number of groups to use for the normalization.
If <code>None</code>, normalization and activation layers is skipped in post-processing.`,name:"norm_num_groups"},{anchor:"diffusers.UNet3DConditionModel.norm_eps",description:"<strong>norm_eps</strong> (<code>float</code>, <em>optional</em>, defaults to 1e-5) &#x2014; The epsilon to use for the normalization.",name:"norm_eps"},{anchor:"diffusers.UNet3DConditionModel.cross_attention_dim",description:"<strong>cross_attention_dim</strong> (<code>int</code>, <em>optional</em>, defaults to 1024) &#x2014; The dimension of the cross attention features.",name:"cross_attention_dim"},{anchor:"diffusers.UNet3DConditionModel.attention_head_dim",description:"<strong>attention_head_dim</strong> (<code>int</code>, <em>optional</em>, defaults to 64) &#x2014; The dimension of the attention heads.",name:"attention_head_dim"},{anchor:"diffusers.UNet3DConditionModel.num_attention_heads",description:"<strong>num_attention_heads</strong> (<code>int</code>, <em>optional</em>) &#x2014; The number of attention heads.",name:"num_attention_heads"},{anchor:"diffusers.UNet3DConditionModel.time_cond_proj_dim",description:`<strong>time_cond_proj_dim</strong> (<code>int</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
The dimension of <code>cond_proj</code> layer in the timestep embedding.`,name:"time_cond_proj_dim"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/unets/unet_3d_condition.py#L65"}}),W=new x({props:{name:"disable_freeu",anchor:"diffusers.UNet3DConditionModel.disable_freeu",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/unets/unet_3d_condition.py#L503"}}),R=new x({props:{name:"enable_forward_chunking",anchor:"diffusers.UNet3DConditionModel.enable_forward_chunking",parameters:[{name:"chunk_size",val:": Optional = None"},{name:"dim",val:": int = 0"}],parametersDescription:[{anchor:"diffusers.UNet3DConditionModel.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.UNet3DConditionModel.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/main/src/diffusers/models/unets/unet_3d_condition.py#L417"}}),G=new x({props:{name:"enable_freeu",anchor:"diffusers.UNet3DConditionModel.enable_freeu",parameters:[{name:"s1",val:""},{name:"s2",val:""},{name:"b1",val:""},{name:"b2",val:""}],parametersDescription:[{anchor:"diffusers.UNet3DConditionModel.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.UNet3DConditionModel.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.UNet3DConditionModel.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.UNet3DConditionModel.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/main/src/diffusers/models/unets/unet_3d_condition.py#L478"}}),K=new x({props:{name:"forward",anchor:"diffusers.UNet3DConditionModel.forward",parameters:[{name:"sample",val:": FloatTensor"},{name:"timestep",val:": Union"},{name:"encoder_hidden_states",val:": Tensor"},{name:"class_labels",val:": Optional = None"},{name:"timestep_cond",val:": Optional = None"},{name:"attention_mask",val:": Optional = None"},{name:"cross_attention_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.UNet3DConditionModel.forward.sample",description:`<strong>sample</strong> (<code>torch.FloatTensor</code>) &#x2014;
The noisy input tensor with the following shape <code>(batch, num_channels, num_frames, height, width</code>.`,name:"sample"},{anchor:"diffusers.UNet3DConditionModel.forward.timestep",description:"<strong>timestep</strong> (<code>torch.FloatTensor</code> or <code>float</code> or <code>int</code>) &#x2014; The number of timesteps to denoise an input.",name:"timestep"},{anchor:"diffusers.UNet3DConditionModel.forward.encoder_hidden_states",description:`<strong>encoder_hidden_states</strong> (<code>torch.FloatTensor</code>) &#x2014;
The encoder hidden states with shape <code>(batch, sequence_length, feature_dim)</code>.`,name:"encoder_hidden_states"},{anchor:"diffusers.UNet3DConditionModel.forward.class_labels",description:`<strong>class_labels</strong> (<code>torch.Tensor</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
Optional class labels for conditioning. Their embeddings will be summed with the timestep embeddings.
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:"class_labels"},{anchor:"diffusers.UNet3DConditionModel.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.UNet3DConditionModel.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.UNet3DConditionModel.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 <code>~models.unet_3d_condition.UNet3DConditionOutput</code> instead of a plain
tuple.`,name:"return_dict"},{anchor:"diffusers.UNet3DConditionModel.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>AttnProcessor</code>.`,name:"cross_attention_kwargs"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/unets/unet_3d_condition.py#L561",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If <code>return_dict</code> is True, an <code>~models.unet_3d_condition.UNet3DConditionOutput</code> 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><code>~models.unet_3d_condition.UNet3DConditionOutput</code> or <code>tuple</code></p>
`}}),Q=new x({props:{name:"fuse_qkv_projections",anchor:"diffusers.UNet3DConditionModel.fuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/unets/unet_3d_condition.py#L512"}}),L=new zt({props:{warning:!0,$$slots:{default:[Ft]},$$scope:{ctx:ie}}}),X=new x({props:{name:"set_attention_slice",anchor:"diffusers.UNet3DConditionModel.set_attention_slice",parameters:[{name:"slice_size",val:": Union"}],parametersDescription:[{anchor:"diffusers.UNet3DConditionModel.set_attention_slice.slice_size",description:`<strong>slice_size</strong> (<code>str</code> or <code>int</code> or <code>list(int)</code>, <em>optional</em>, defaults to <code>&quot;auto&quot;</code>) &#x2014;
When <code>&quot;auto&quot;</code>, input to the attention heads is halved, so attention is computed in two steps. If
<code>&quot;max&quot;</code>, maximum amount of memory is saved by running only one slice at a time. If a number is
provided, uses as many slices as <code>attention_head_dim // slice_size</code>. In this case, <code>attention_head_dim</code>
must be a multiple of <code>slice_size</code>.`,name:"slice_size"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/unets/unet_3d_condition.py#L317"}}),J=new x({props:{name:"set_attn_processor",anchor:"diffusers.UNet3DConditionModel.set_attn_processor",parameters:[{name:"processor",val:": Union"}],parametersDescription:[{anchor:"diffusers.UNet3DConditionModel.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/main/src/diffusers/models/unets/unet_3d_condition.py#L383"}}),Y=new x({props:{name:"set_default_attn_processor",anchor:"diffusers.UNet3DConditionModel.set_default_attn_processor",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/unets/unet_3d_condition.py#L458"}}),Z=new x({props:{name:"unfuse_qkv_projections",anchor:"diffusers.UNet3DConditionModel.unfuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/unets/unet_3d_condition.py#L536"}}),z=new zt({props:{warning:!0,$$slots:{default:[Wt]},$$scope:{ctx:ie}}}),ee=new x({props:{name:"unload_lora",anchor:"diffusers.UNet3DConditionModel.unload_lora",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/unets/unet_3d_condition.py#L550"}}),te=new gt({props:{title:"UNet3DConditionOutput",local:"diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput",headingTag:"h2"}}),oe=new x({props:{name:"class diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput",anchor:"diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput",parameters:[{name:"sample",val:": FloatTensor"}],parametersDescription:[{anchor:"diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput.sample",description:`<strong>sample</strong> (<code>torch.FloatTensor</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/main/src/diffusers/models/unets/unet_3d_condition.py#L52"}}),ne=new Vt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/unet3d-cond.md"}}),{c(){c=s("meta"),D=o(),v=s("p"),N=o(),u(H.$$.fragment),Ue=o(),j=s("p"),j.innerHTML=_t,ye=o(),B=s("p"),B.textContent=bt,Te=o(),S=s("p"),S.innerHTML=vt,Ne=o(),u(V.$$.fragment),Me=o(),a=s("div"),u(F.$$.fragment),Se=o(),re=s("p"),re.textContent=$t,Ve=o(),ae=s("p"),ae.innerHTML=Ct,Fe=o(),M=s("div"),u(W.$$.fragment),We=o(),de=s("p"),de.textContent=wt,Re=o(),q=s("div"),u(R.$$.fragment),Ge=o(),le=s("p"),le.innerHTML=xt,Ke=o(),w=s("div"),u(G.$$.fragment),Qe=o(),ce=s("p"),ce.innerHTML=Dt,Xe=o(),me=s("p"),me.textContent=kt,Je=o(),fe=s("p"),fe.innerHTML=Ut,Ye=o(),P=s("div"),u(K.$$.fragment),Ze=o(),ue=s("p"),ue.innerHTML=yt,et=o(),k=s("div"),u(Q.$$.fragment),tt=o(),pe=s("p"),pe.textContent=Tt,ot=o(),u(L.$$.fragment),nt=o(),U=s("div"),u(X.$$.fragment),st=o(),he=s("p"),he.textContent=Nt,it=o(),ge=s("p"),ge.textContent=Mt,rt=o(),I=s("div"),u(J.$$.fragment),at=o(),_e=s("p"),_e.textContent=qt,dt=o(),A=s("div"),u(Y.$$.fragment),lt=o(),be=s("p"),be.textContent=Pt,ct=o(),y=s("div"),u(Z.$$.fragment),mt=o(),ve=s("p"),ve.textContent=Lt,ft=o(),u(z.$$.fragment),ut=o(),O=s("div"),u(ee.$$.fragment),pt=o(),$e=s("p"),$e.textContent=It,qe=o(),u(te.$$.fragment),Pe=o(),T=s("div"),u(oe.$$.fragment),ht=o(),Ce=s("p"),Ce.innerHTML=At,Le=o(),u(ne.$$.fragment),Ie=o(),ke=s("p"),this.h()},l(e){const d=St("svelte-u9bgzb",document.head);c=i(d,"META",{name:!0,content:!0}),d.forEach(r),D=n(e),v=i(e,"P",{}),$(v).forEach(r),N=n(e),p(H.$$.fragment,e),Ue=n(e),j=i(e,"P",{"data-svelte-h":!0}),m(j)!=="svelte-ow4zsm"&&(j.innerHTML=_t),ye=n(e),B=i(e,"P",{"data-svelte-h":!0}),m(B)!=="svelte-1cwsb16"&&(B.textContent=bt),Te=n(e),S=i(e,"P",{"data-svelte-h":!0}),m(S)!=="svelte-12epiox"&&(S.innerHTML=vt),Ne=n(e),p(V.$$.fragment,e),Me=n(e),a=i(e,"DIV",{class:!0});var l=$(a);p(F.$$.fragment,l),Se=n(l),re=i(l,"P",{"data-svelte-h":!0}),m(re)!=="svelte-1izhjcu"&&(re.textContent=$t),Ve=n(l),ae=i(l,"P",{"data-svelte-h":!0}),m(ae)!=="svelte-1hyu2ru"&&(ae.innerHTML=Ct),Fe=n(l),M=i(l,"DIV",{class:!0});var se=$(M);p(W.$$.fragment,se),We=n(se),de=i(se,"P",{"data-svelte-h":!0}),m(de)!=="svelte-1d0rkng"&&(de.textContent=wt),se.forEach(r),Re=n(l),q=i(l,"DIV",{class:!0});var ze=$(q);p(R.$$.fragment,ze),Ge=n(ze),le=i(ze,"P",{"data-svelte-h":!0}),m(le)!=="svelte-2m23sy"&&(le.innerHTML=xt),ze.forEach(r),Ke=n(l),w=i(l,"DIV",{class:!0});var E=$(w);p(G.$$.fragment,E),Qe=n(E),ce=i(E,"P",{"data-svelte-h":!0}),m(ce)!=="svelte-4p7kn0"&&(ce.innerHTML=Dt),Xe=n(E),me=i(E,"P",{"data-svelte-h":!0}),m(me)!=="svelte-1t9gjdi"&&(me.textContent=kt),Je=n(E),fe=i(E,"P",{"data-svelte-h":!0}),m(fe)!=="svelte-tw05zf"&&(fe.innerHTML=Ut),E.forEach(r),Ye=n(l),P=i(l,"DIV",{class:!0});var Oe=$(P);p(K.$$.fragment,Oe),Ze=n(Oe),ue=i(Oe,"P",{"data-svelte-h":!0}),m(ue)!=="svelte-1lenf9n"&&(ue.innerHTML=yt),Oe.forEach(r),et=n(l),k=i(l,"DIV",{class:!0});var we=$(k);p(Q.$$.fragment,we),tt=n(we),pe=i(we,"P",{"data-svelte-h":!0}),m(pe)!=="svelte-1254b9i"&&(pe.textContent=Tt),ot=n(we),p(L.$$.fragment,we),we.forEach(r),nt=n(l),U=i(l,"DIV",{class:!0});var xe=$(U);p(X.$$.fragment,xe),st=n(xe),he=i(xe,"P",{"data-svelte-h":!0}),m(he)!=="svelte-7fahc0"&&(he.textContent=Nt),it=n(xe),ge=i(xe,"P",{"data-svelte-h":!0}),m(ge)!=="svelte-1yjwkav"&&(ge.textContent=Mt),xe.forEach(r),rt=n(l),I=i(l,"DIV",{class:!0});var Ee=$(I);p(J.$$.fragment,Ee),at=n(Ee),_e=i(Ee,"P",{"data-svelte-h":!0}),m(_e)!=="svelte-1o77hl2"&&(_e.textContent=qt),Ee.forEach(r),dt=n(l),A=i(l,"DIV",{class:!0});var He=$(A);p(Y.$$.fragment,He),lt=n(He),be=i(He,"P",{"data-svelte-h":!0}),m(be)!=="svelte-1lxcwhv"&&(be.textContent=Pt),He.forEach(r),ct=n(l),y=i(l,"DIV",{class:!0});var De=$(y);p(Z.$$.fragment,De),mt=n(De),ve=i(De,"P",{"data-svelte-h":!0}),m(ve)!=="svelte-1vhtc74"&&(ve.textContent=Lt),ft=n(De),p(z.$$.fragment,De),De.forEach(r),ut=n(l),O=i(l,"DIV",{class:!0});var je=$(O);p(ee.$$.fragment,je),pt=n(je),$e=i(je,"P",{"data-svelte-h":!0}),m($e)!=="svelte-3w0qg9"&&($e.textContent=It),je.forEach(r),l.forEach(r),qe=n(e),p(te.$$.fragment,e),Pe=n(e),T=i(e,"DIV",{class:!0});var Be=$(T);p(oe.$$.fragment,Be),ht=n(Be),Ce=i(Be,"P",{"data-svelte-h":!0}),m(Ce)!=="svelte-njpr7n"&&(Ce.innerHTML=At),Be.forEach(r),Le=n(e),p(ne.$$.fragment,e),Ie=n(e),ke=i(e,"P",{}),$(ke).forEach(r),this.h()},h(){C(c,"name","hf:doc:metadata"),C(c,"content",Gt),C(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(a,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(T,"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,d){t(document.head,c),f(e,D,d),f(e,v,d),f(e,N,d),h(H,e,d),f(e,Ue,d),f(e,j,d),f(e,ye,d),f(e,B,d),f(e,Te,d),f(e,S,d),f(e,Ne,d),h(V,e,d),f(e,Me,d),f(e,a,d),h(F,a,null),t(a,Se),t(a,re),t(a,Ve),t(a,ae),t(a,Fe),t(a,M),h(W,M,null),t(M,We),t(M,de),t(a,Re),t(a,q),h(R,q,null),t(q,Ge),t(q,le),t(a,Ke),t(a,w),h(G,w,null),t(w,Qe),t(w,ce),t(w,Xe),t(w,me),t(w,Je),t(w,fe),t(a,Ye),t(a,P),h(K,P,null),t(P,Ze),t(P,ue),t(a,et),t(a,k),h(Q,k,null),t(k,tt),t(k,pe),t(k,ot),h(L,k,null),t(a,nt),t(a,U),h(X,U,null),t(U,st),t(U,he),t(U,it),t(U,ge),t(a,rt),t(a,I),h(J,I,null),t(I,at),t(I,_e),t(a,dt),t(a,A),h(Y,A,null),t(A,lt),t(A,be),t(a,ct),t(a,y),h(Z,y,null),t(y,mt),t(y,ve),t(y,ft),h(z,y,null),t(a,ut),t(a,O),h(ee,O,null),t(O,pt),t(O,$e),f(e,qe,d),h(te,e,d),f(e,Pe,d),f(e,T,d),h(oe,T,null),t(T,ht),t(T,Ce),f(e,Le,d),h(ne,e,d),f(e,Ie,d),f(e,ke,d),Ae=!0},p(e,[d]){const l={};d&2&&(l.$$scope={dirty:d,ctx:e}),L.$set(l);const se={};d&2&&(se.$$scope={dirty:d,ctx:e}),z.$set(se)},i(e){Ae||(g(H.$$.fragment,e),g(V.$$.fragment,e),g(F.$$.fragment,e),g(W.$$.fragment,e),g(R.$$.fragment,e),g(G.$$.fragment,e),g(K.$$.fragment,e),g(Q.$$.fragment,e),g(L.$$.fragment,e),g(X.$$.fragment,e),g(J.$$.fragment,e),g(Y.$$.fragment,e),g(Z.$$.fragment,e),g(z.$$.fragment,e),g(ee.$$.fragment,e),g(te.$$.fragment,e),g(oe.$$.fragment,e),g(ne.$$.fragment,e),Ae=!0)},o(e){_(H.$$.fragment,e),_(V.$$.fragment,e),_(F.$$.fragment,e),_(W.$$.fragment,e),_(R.$$.fragment,e),_(G.$$.fragment,e),_(K.$$.fragment,e),_(Q.$$.fragment,e),_(L.$$.fragment,e),_(X.$$.fragment,e),_(J.$$.fragment,e),_(Y.$$.fragment,e),_(Z.$$.fragment,e),_(z.$$.fragment,e),_(ee.$$.fragment,e),_(te.$$.fragment,e),_(oe.$$.fragment,e),_(ne.$$.fragment,e),Ae=!1},d(e){e&&(r(D),r(v),r(N),r(Ue),r(j),r(ye),r(B),r(Te),r(S),r(Ne),r(Me),r(a),r(qe),r(Pe),r(T),r(Le),r(Ie),r(ke)),r(c),b(H,e),b(V,e),b(F),b(W),b(R),b(G),b(K),b(Q),b(L),b(X),b(J),b(Y),b(Z),b(z),b(ee),b(te,e),b(oe),b(ne,e)}}}const Gt='{"title":"UNet3DConditionModel","local":"unet3dconditionmodel","sections":[{"title":"UNet3DConditionModel","local":"diffusers.UNet3DConditionModel","sections":[],"depth":2},{"title":"UNet3DConditionOutput","local":"diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput","sections":[],"depth":2}],"depth":1}';function Kt(ie){return Ht(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class eo extends jt{constructor(c){super(),Bt(this,c,Kt,Rt,Et,{})}}export{eo as component};
