import{s as yt,n as Tt,o as Ut}from"../chunks/scheduler.53228c21.js";import{S as Nt,i as Mt,e as i,s as n,c as u,h as qt,a as r,d as s,b as o,f as C,g as f,j as c,k as b,l as t,m,n as p,t as h,o as g,p as _}from"../chunks/index.100fac89.js";import{C as Lt}from"../chunks/CopyLLMTxtMenu.20a72e0e.js";import{D as k}from"../chunks/Docstring.49101787.js";import{H as it,E as Ot}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.4d82655d.js";function Pt(rt){let x,_e,he,be,L,ve,O,Ce,P,at='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.',we,I,dt="The abstract from the paper is:",De,z,lt='<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>',$e,A,ke,a,H,Ie,Y,ct=`A conditional 3D UNet model that takes a noisy sample, conditional state, and a timestep and returns a sample
shaped output.`,ze,Z,mt=`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).`,Ae,T,E,He,ee,ut="Disables the FreeU mechanism.",Ee,U,B,Be,te,ft=`Sets the attention processor to use <a href="https://huggingface.co/blog/reformer#2-chunked-feed-forward-layers" rel="nofollow">feed forward
chunking</a>.`,je,v,j,Se,ne,pt='Enables the FreeU mechanism from <a href="https://huggingface.co/papers/2309.11497" rel="nofollow">https://huggingface.co/papers/2309.11497</a>.',Ve,oe,ht="The suffixes after the scaling factors represent the stage blocks where they are being applied.",Fe,se,gt=`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.`,Ke,N,S,Qe,ie,_t='The <a href="/docs/diffusers/main/en/api/models/unet3d-cond#diffusers.UNet3DConditionModel">UNet3DConditionModel</a> forward method.',We,w,V,Ge,re,bt=`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.`,Re,F,vt="<p>&gt; This API is 🧪 experimental.</p>",Xe,D,K,Je,ae,Ct="Enable sliced attention computation.",Ye,de,wt=`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.`,Ze,M,Q,et,le,Dt="Disables custom attention processors and sets the default attention implementation.",tt,$,W,nt,ce,$t="Disables the fused QKV projection if enabled.",ot,G,kt="<p>&gt; This API is 🧪 experimental.</p>",xe,R,ye,y,X,st,me,xt='The output of <a href="/docs/diffusers/main/en/api/models/unet3d-cond#diffusers.UNet3DConditionModel">UNet3DConditionModel</a>.',Te,J,Ue,ge,Ne;return L=new Lt({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),O=new it({props:{title:"UNet3DConditionModel",local:"unet3dconditionmodel",headingTag:"h1"}}),A=new it({props:{title:"UNet3DConditionModel",local:"diffusers.UNet3DConditionModel",headingTag:"h2"}}),H=new k({props:{name:"class diffusers.UNet3DConditionModel",anchor:"diffusers.UNet3DConditionModel",parameters:[{name:"sample_size",val:": typing.Optional[int] = None"},{name:"in_channels",val:": int = 4"},{name:"out_channels",val:": int = 4"},{name:"down_block_types",val:": typing.Tuple[str, ...] = ('CrossAttnDownBlock3D', 'CrossAttnDownBlock3D', 'CrossAttnDownBlock3D', 'DownBlock3D')"},{name:"up_block_types",val:": typing.Tuple[str, ...] = ('UpBlock3D', 'CrossAttnUpBlock3D', 'CrossAttnUpBlock3D', 'CrossAttnUpBlock3D')"},{name:"block_out_channels",val:": typing.Tuple[int, ...] = (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:": typing.Optional[int] = 32"},{name:"norm_eps",val:": float = 1e-05"},{name:"cross_attention_dim",val:": int = 1024"},{name:"attention_head_dim",val:": typing.Union[int, typing.Tuple[int]] = 64"},{name:"num_attention_heads",val:": typing.Union[int, typing.Tuple[int], NoneType] = None"},{name:"time_cond_proj_dim",val:": typing.Optional[int] = 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#L61"}}),E=new k({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#L436"}}),B=new k({props:{name:"enable_forward_chunking",anchor:"diffusers.UNet3DConditionModel.enable_forward_chunking",parameters:[{name:"chunk_size",val:": typing.Optional[int] = 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#L354"}}),j=new k({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#L411"}}),S=new k({props:{name:"forward",anchor:"diffusers.UNet3DConditionModel.forward",parameters:[{name:"sample",val:": Tensor"},{name:"timestep",val:": typing.Union[torch.Tensor, float, int]"},{name:"encoder_hidden_states",val:": Tensor"},{name:"class_labels",val:": typing.Optional[torch.Tensor] = None"},{name:"timestep_cond",val:": typing.Optional[torch.Tensor] = None"},{name:"attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"cross_attention_kwargs",val:": typing.Optional[typing.Dict[str, typing.Any]] = None"},{name:"down_block_additional_residuals",val:": typing.Optional[typing.Tuple[torch.Tensor]] = None"},{name:"mid_block_additional_residual",val:": typing.Optional[torch.Tensor] = None"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.UNet3DConditionModel.forward.sample",description:`<strong>sample</strong> (<code>torch.Tensor</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.Tensor</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.Tensor</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.`,name:"class_labels"},{anchor:"diffusers.UNet3DConditionModel.forward.timestep_cond",description:`<strong>timestep_cond</strong> &#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:"timestep_cond"},{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>.`,name:"cross_attention_kwargs"},{anchor:"diffusers.UNet3DConditionModel.forward.down_block_additional_residuals",description:`<strong>down_block_additional_residuals</strong> &#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.`,name:"down_block_additional_residuals"},{anchor:"diffusers.UNet3DConditionModel.forward.mid_block_additional_residual",description:`<strong>mid_block_additional_residual</strong> &#x2014; (<code>torch.Tensor</code>, <em>optional</em>):
A tensor that if specified is added to the residual of the middle unet block.`,name:"mid_block_additional_residual"},{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 <a href="/docs/diffusers/main/en/api/models/unet-motion#diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput">UNet3DConditionOutput</a> 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#L476",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If <code>return_dict</code> is True, an <a
  href="/docs/diffusers/main/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/main/en/api/models/unet-motion#diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput"
>UNet3DConditionOutput</a> or <code>tuple</code></p>
`}}),V=new k({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#L445"}}),K=new k({props:{name:"set_attention_slice",anchor:"diffusers.UNet3DConditionModel.set_attention_slice",parameters:[{name:"slice_size",val:": typing.Union[str, int, typing.List[int]]"}],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#L289"}}),Q=new k({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#L395"}}),W=new k({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#L467"}}),R=new it({props:{title:"UNet3DConditionOutput",local:"diffusers.models.unets.unet_3d_condition.UNet3DConditionOutput",headingTag:"h2"}}),X=new k({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/main/src/diffusers/models/unets/unet_3d_condition.py#L49"}}),J=new Ot({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/unet3d-cond.md"}}),{c(){x=i("meta"),_e=n(),he=i("p"),be=n(),u(L.$$.fragment),ve=n(),u(O.$$.fragment),Ce=n(),P=i("p"),P.innerHTML=at,we=n(),I=i("p"),I.textContent=dt,De=n(),z=i("p"),z.innerHTML=lt,$e=n(),u(A.$$.fragment),ke=n(),a=i("div"),u(H.$$.fragment),Ie=n(),Y=i("p"),Y.textContent=ct,ze=n(),Z=i("p"),Z.innerHTML=mt,Ae=n(),T=i("div"),u(E.$$.fragment),He=n(),ee=i("p"),ee.textContent=ut,Ee=n(),U=i("div"),u(B.$$.fragment),Be=n(),te=i("p"),te.innerHTML=ft,je=n(),v=i("div"),u(j.$$.fragment),Se=n(),ne=i("p"),ne.innerHTML=pt,Ve=n(),oe=i("p"),oe.textContent=ht,Fe=n(),se=i("p"),se.innerHTML=gt,Ke=n(),N=i("div"),u(S.$$.fragment),Qe=n(),ie=i("p"),ie.innerHTML=_t,We=n(),w=i("div"),u(V.$$.fragment),Ge=n(),re=i("p"),re.textContent=bt,Re=n(),F=i("blockquote"),F.innerHTML=vt,Xe=n(),D=i("div"),u(K.$$.fragment),Je=n(),ae=i("p"),ae.textContent=Ct,Ye=n(),de=i("p"),de.textContent=wt,Ze=n(),M=i("div"),u(Q.$$.fragment),et=n(),le=i("p"),le.textContent=Dt,tt=n(),$=i("div"),u(W.$$.fragment),nt=n(),ce=i("p"),ce.textContent=$t,ot=n(),G=i("blockquote"),G.innerHTML=kt,xe=n(),u(R.$$.fragment),ye=n(),y=i("div"),u(X.$$.fragment),st=n(),me=i("p"),me.innerHTML=xt,Te=n(),u(J.$$.fragment),Ue=n(),ge=i("p"),this.h()},l(e){const d=qt("svelte-u9bgzb",document.head);x=r(d,"META",{name:!0,content:!0}),d.forEach(s),_e=o(e),he=r(e,"P",{}),C(he).forEach(s),be=o(e),f(L.$$.fragment,e),ve=o(e),f(O.$$.fragment,e),Ce=o(e),P=r(e,"P",{"data-svelte-h":!0}),c(P)!=="svelte-ow4zsm"&&(P.innerHTML=at),we=o(e),I=r(e,"P",{"data-svelte-h":!0}),c(I)!=="svelte-1cwsb16"&&(I.textContent=dt),De=o(e),z=r(e,"P",{"data-svelte-h":!0}),c(z)!=="svelte-12epiox"&&(z.innerHTML=lt),$e=o(e),f(A.$$.fragment,e),ke=o(e),a=r(e,"DIV",{class:!0});var l=C(a);f(H.$$.fragment,l),Ie=o(l),Y=r(l,"P",{"data-svelte-h":!0}),c(Y)!=="svelte-1izhjcu"&&(Y.textContent=ct),ze=o(l),Z=r(l,"P",{"data-svelte-h":!0}),c(Z)!=="svelte-1hyu2ru"&&(Z.innerHTML=mt),Ae=o(l),T=r(l,"DIV",{class:!0});var Me=C(T);f(E.$$.fragment,Me),He=o(Me),ee=r(Me,"P",{"data-svelte-h":!0}),c(ee)!=="svelte-1d0rkng"&&(ee.textContent=ut),Me.forEach(s),Ee=o(l),U=r(l,"DIV",{class:!0});var qe=C(U);f(B.$$.fragment,qe),Be=o(qe),te=r(qe,"P",{"data-svelte-h":!0}),c(te)!=="svelte-2m23sy"&&(te.innerHTML=ft),qe.forEach(s),je=o(l),v=r(l,"DIV",{class:!0});var q=C(v);f(j.$$.fragment,q),Se=o(q),ne=r(q,"P",{"data-svelte-h":!0}),c(ne)!=="svelte-1kpywno"&&(ne.innerHTML=pt),Ve=o(q),oe=r(q,"P",{"data-svelte-h":!0}),c(oe)!=="svelte-1t9gjdi"&&(oe.textContent=ht),Fe=o(q),se=r(q,"P",{"data-svelte-h":!0}),c(se)!=="svelte-tw05zf"&&(se.innerHTML=gt),q.forEach(s),Ke=o(l),N=r(l,"DIV",{class:!0});var Le=C(N);f(S.$$.fragment,Le),Qe=o(Le),ie=r(Le,"P",{"data-svelte-h":!0}),c(ie)!=="svelte-1lenf9n"&&(ie.innerHTML=_t),Le.forEach(s),We=o(l),w=r(l,"DIV",{class:!0});var ue=C(w);f(V.$$.fragment,ue),Ge=o(ue),re=r(ue,"P",{"data-svelte-h":!0}),c(re)!=="svelte-1254b9i"&&(re.textContent=bt),Re=o(ue),F=r(ue,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),c(F)!=="svelte-6y4o4y"&&(F.innerHTML=vt),ue.forEach(s),Xe=o(l),D=r(l,"DIV",{class:!0});var fe=C(D);f(K.$$.fragment,fe),Je=o(fe),ae=r(fe,"P",{"data-svelte-h":!0}),c(ae)!=="svelte-7fahc0"&&(ae.textContent=Ct),Ye=o(fe),de=r(fe,"P",{"data-svelte-h":!0}),c(de)!=="svelte-1yjwkav"&&(de.textContent=wt),fe.forEach(s),Ze=o(l),M=r(l,"DIV",{class:!0});var Oe=C(M);f(Q.$$.fragment,Oe),et=o(Oe),le=r(Oe,"P",{"data-svelte-h":!0}),c(le)!=="svelte-1lxcwhv"&&(le.textContent=Dt),Oe.forEach(s),tt=o(l),$=r(l,"DIV",{class:!0});var pe=C($);f(W.$$.fragment,pe),nt=o(pe),ce=r(pe,"P",{"data-svelte-h":!0}),c(ce)!=="svelte-1vhtc74"&&(ce.textContent=$t),ot=o(pe),G=r(pe,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),c(G)!=="svelte-6y4o4y"&&(G.innerHTML=kt),pe.forEach(s),l.forEach(s),xe=o(e),f(R.$$.fragment,e),ye=o(e),y=r(e,"DIV",{class:!0});var Pe=C(y);f(X.$$.fragment,Pe),st=o(Pe),me=r(Pe,"P",{"data-svelte-h":!0}),c(me)!=="svelte-njpr7n"&&(me.innerHTML=xt),Pe.forEach(s),Te=o(e),f(J.$$.fragment,e),Ue=o(e),ge=r(e,"P",{}),C(ge).forEach(s),this.h()},h(){b(x,"name","hf:doc:metadata"),b(x,"content",It),b(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(v,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(F,"class","warning"),b(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(G,"class","warning"),b($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(a,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(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,d){t(document.head,x),m(e,_e,d),m(e,he,d),m(e,be,d),p(L,e,d),m(e,ve,d),p(O,e,d),m(e,Ce,d),m(e,P,d),m(e,we,d),m(e,I,d),m(e,De,d),m(e,z,d),m(e,$e,d),p(A,e,d),m(e,ke,d),m(e,a,d),p(H,a,null),t(a,Ie),t(a,Y),t(a,ze),t(a,Z),t(a,Ae),t(a,T),p(E,T,null),t(T,He),t(T,ee),t(a,Ee),t(a,U),p(B,U,null),t(U,Be),t(U,te),t(a,je),t(a,v),p(j,v,null),t(v,Se),t(v,ne),t(v,Ve),t(v,oe),t(v,Fe),t(v,se),t(a,Ke),t(a,N),p(S,N,null),t(N,Qe),t(N,ie),t(a,We),t(a,w),p(V,w,null),t(w,Ge),t(w,re),t(w,Re),t(w,F),t(a,Xe),t(a,D),p(K,D,null),t(D,Je),t(D,ae),t(D,Ye),t(D,de),t(a,Ze),t(a,M),p(Q,M,null),t(M,et),t(M,le),t(a,tt),t(a,$),p(W,$,null),t($,nt),t($,ce),t($,ot),t($,G),m(e,xe,d),p(R,e,d),m(e,ye,d),m(e,y,d),p(X,y,null),t(y,st),t(y,me),m(e,Te,d),p(J,e,d),m(e,Ue,d),m(e,ge,d),Ne=!0},p:Tt,i(e){Ne||(h(L.$$.fragment,e),h(O.$$.fragment,e),h(A.$$.fragment,e),h(H.$$.fragment,e),h(E.$$.fragment,e),h(B.$$.fragment,e),h(j.$$.fragment,e),h(S.$$.fragment,e),h(V.$$.fragment,e),h(K.$$.fragment,e),h(Q.$$.fragment,e),h(W.$$.fragment,e),h(R.$$.fragment,e),h(X.$$.fragment,e),h(J.$$.fragment,e),Ne=!0)},o(e){g(L.$$.fragment,e),g(O.$$.fragment,e),g(A.$$.fragment,e),g(H.$$.fragment,e),g(E.$$.fragment,e),g(B.$$.fragment,e),g(j.$$.fragment,e),g(S.$$.fragment,e),g(V.$$.fragment,e),g(K.$$.fragment,e),g(Q.$$.fragment,e),g(W.$$.fragment,e),g(R.$$.fragment,e),g(X.$$.fragment,e),g(J.$$.fragment,e),Ne=!1},d(e){e&&(s(_e),s(he),s(be),s(ve),s(Ce),s(P),s(we),s(I),s(De),s(z),s($e),s(ke),s(a),s(xe),s(ye),s(y),s(Te),s(Ue),s(ge)),s(x),_(L,e),_(O,e),_(A,e),_(H),_(E),_(B),_(j),_(S),_(V),_(K),_(Q),_(W),_(R,e),_(X),_(J,e)}}}const It='{"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 zt(rt){return Ut(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class St extends Nt{constructor(x){super(),Mt(this,x,zt,Pt,yt,{})}}export{St as component};
