import{S as fp,i as cp,s as np,e as p,k as f,t as s,w as Z,M as dp,c as i,d as t,m as c,a,h as o,x as b,b as u,G as e,g as r,y as V,q as j,o as B,B as G,v as Tp}from"../../chunks/vendor-hf-doc-builder.js";import{T as rp}from"../../chunks/Tip-hf-doc-builder.js";import{I as up}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as F}from"../../chunks/CodeBlock-hf-doc-builder.js";function mp(Ul){let n,E,d,C,I;return{c(){n=p("p"),E=s("\u{1F4A1} \uBAA8\uB4E0 \uC0AC\uB78C\uC774 \uC18D\uB3C4 \uC800\uD558 \uC5C6\uC774 \uC27D\uAC8C \uC791\uC5C5\uC744 \uACF5\uC720\uD560 \uC218 \uC788\uB3C4\uB85D \uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uCD94\uAC00\uD558\uB294 \uC774\uC720\uC5D0 \uB300\uD55C \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 GitHub \uC774\uC288 "),d=p("a"),C=s("#841"),I=s("\uB97C \uCC38\uC870\uD558\uC138\uC694."),this.h()},l(T){n=i(T,"P",{});var m=a(n);E=o(m,"\u{1F4A1} \uBAA8\uB4E0 \uC0AC\uB78C\uC774 \uC18D\uB3C4 \uC800\uD558 \uC5C6\uC774 \uC27D\uAC8C \uC791\uC5C5\uC744 \uACF5\uC720\uD560 \uC218 \uC788\uB3C4\uB85D \uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uCD94\uAC00\uD558\uB294 \uC774\uC720\uC5D0 \uB300\uD55C \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 GitHub \uC774\uC288 "),d=i(m,"A",{href:!0,rel:!0});var M=a(d);C=o(M,"#841"),M.forEach(t),I=o(m,"\uB97C \uCC38\uC870\uD558\uC138\uC694."),m.forEach(t),this.h()},h(){u(d,"href","https://github.com/huggingface/diffusers/issues/841"),u(d,"rel","nofollow")},m(T,m){r(T,n,m),e(n,E),e(n,d),e(d,C),e(n,I)},d(T){T&&t(n)}}}function Mp(Ul){let n,E,d,C,I;return{c(){n=p("p"),E=s("\u{1F4A1} \uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778 \uD30C\uC77C\uC5D0 \uC6D0\uD558\uB294 \uD328\uD0A4\uC9C0\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC0AC\uC6A9\uC790\uAC00 \uD328\uD0A4\uC9C0\uB97C \uC124\uCE58\uD558\uAE30\uB9CC \uD558\uBA74 \uBAA8\uB4E0 \uAC83\uC774 \uC815\uC0C1\uC801\uC73C\uB85C \uC791\uB3D9\uD569\uB2C8\uB2E4. \uD30C\uC774\uD504\uB77C\uC778\uC774 \uC790\uB3D9\uC73C\uB85C \uAC10\uC9C0\uB418\uBBC0\uB85C "),d=p("code"),C=s("DiffusionPipeline"),I=s("\uC5D0\uC11C \uC0C1\uC18D\uD558\uB294 \uD30C\uC774\uD504\uB77C\uC778 \uD074\uB798\uC2A4\uAC00 \uD558\uB098\uB9CC \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694.")},l(T){n=i(T,"P",{});var m=a(n);E=o(m,"\u{1F4A1} \uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778 \uD30C\uC77C\uC5D0 \uC6D0\uD558\uB294 \uD328\uD0A4\uC9C0\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC0AC\uC6A9\uC790\uAC00 \uD328\uD0A4\uC9C0\uB97C \uC124\uCE58\uD558\uAE30\uB9CC \uD558\uBA74 \uBAA8\uB4E0 \uAC83\uC774 \uC815\uC0C1\uC801\uC73C\uB85C \uC791\uB3D9\uD569\uB2C8\uB2E4. \uD30C\uC774\uD504\uB77C\uC778\uC774 \uC790\uB3D9\uC73C\uB85C \uAC10\uC9C0\uB418\uBBC0\uB85C "),d=i(m,"CODE",{});var M=a(d);C=o(M,"DiffusionPipeline"),M.forEach(t),I=o(m,"\uC5D0\uC11C \uC0C1\uC18D\uD558\uB294 \uD30C\uC774\uD504\uB77C\uC778 \uD074\uB798\uC2A4\uAC00 \uD558\uB098\uB9CC \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694."),m.forEach(t)},m(T,m){r(T,n,m),e(n,E),e(n,d),e(d,C),e(n,I)},d(T){T&&t(n)}}}function wp(Ul){let n,E,d,C,I,T,m,M,at,Dl,Jt,rt,Rl,ft,ct,Ee,O,nt,$l,dt,Tt,Ie,ll,ut,he,w,mt,Wl,Mt,wt,Xl,Ut,_t,kl,yt,Et,Ql,It,ht,Ze,el,be,U,Zt,Al,bt,Vt,Hl,jt,Bt,Nl,Gt,Ct,Pl,vt,Dt,Ve,tl,je,_l,Rt,Be,Q,Y,xl,sl,$t,Sl,Wt,Ge,_,Xt,Fl,kt,Qt,Ol,At,Ht,Yl,Nt,Pt,zl,xt,St,Ce,ol,ve,v,Ft,gl,Ot,Yt,Ll,zt,gt,De,pl,Re,z,Lt,il,ql,qt,Kt,$e,al,We,Jl,ls,Xe,h,es,rl,ts,ss,fl,os,ps,Kl,is,as,ke,D,Js,le,rs,fs,ee,cs,ns,Qe,cl,Ae,y,ds,nl,Ts,us,te,ms,Ms,se,ws,Us,oe,_s,ys,He,dl,Ne,yl,Es,Pe,g,pe,A,xe,Is,ie,hs,Zs,ae,bs,Vs,H,N,Je,js,Bs,re,Gs,Cs,fe,vs,Ds,P,ce,Rs,$s,ne,Ws,Xs,de,ks,Qs,x,Te,As,Hs,ue,Ns,Ps,me,xs,Se,L,Fe,Tl,Ss,Oe,q,Fs,Me,Os,Ys,Ye,R,El,we,zs,gs,Ls,ul,qs,Ue,Ks,lo,eo,ml,to,_e,so,oo,ze,Il,po,ge,Ml,Le,hl,io,qe,wl,Ke;return T=new rp({props:{$$slots:{default:[mp]},$$scope:{ctx:Ul}}}),el=new F({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMERpZmZ1c2lvblBpcGVsaW5lJTBBaW1wb3J0JTIwdG9yY2glMEElMEElMEFjbGFzcyUyMFVuZXRTY2hlZHVsZXJPbmVGb3J3YXJkUGlwZWxpbmUoRGlmZnVzaW9uUGlwZWxpbmUpJTNBJTBBJTIwJTIwJTIwJTIwZGVmJTIwX19pbml0X18oc2VsZiUyQyUyMHVuZXQlMkMlMjBzY2hlZHVsZXIpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwc3VwZXIoKS5fX2luaXRfXygp",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline
<span class="hljs-keyword">import</span> torch


<span class="hljs-keyword">class</span> <span class="hljs-title class_">UnetSchedulerOneForwardPipeline</span>(<span class="hljs-title class_ inherited__">DiffusionPipeline</span>):
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">__init__</span>(<span class="hljs-params">self, unet, scheduler</span>):
        <span class="hljs-built_in">super</span>().__init__()`}}),tl=new F({props:{code:"JTIwJTIwZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMERpZmZ1c2lvblBpcGVsaW5lJTBBJTIwJTIwaW1wb3J0JTIwdG9yY2glMEElMEElMjAlMjBjbGFzcyUyMFVuZXRTY2hlZHVsZXJPbmVGb3J3YXJkUGlwZWxpbmUoRGlmZnVzaW9uUGlwZWxpbmUpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwZGVmJTIwX19pbml0X18oc2VsZiUyQyUyMHVuZXQlMkMlMjBzY2hlZHVsZXIpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwc3VwZXIoKS5fX2luaXRfXygpJTBBJTBBJTJCJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwc2VsZi5yZWdpc3Rlcl9tb2R1bGVzKHVuZXQlM0R1bmV0JTJDJTIwc2NoZWR1bGVyJTNEc2NoZWR1bGVyKQ==",highlighted:`  from diffusers import DiffusionPipeline
  import torch

  class UnetSchedulerOneForwardPipeline(DiffusionPipeline):
      def __init__(self, unet, scheduler):
          super().__init__()

<span class="hljs-addition">+         self.register_modules(unet=unet, scheduler=scheduler)</span>`}}),sl=new up({}),ol=new F({props:{code:"JTIwJTIwZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMERpZmZ1c2lvblBpcGVsaW5lJTBBJTIwJTIwaW1wb3J0JTIwdG9yY2glMEElMEElMEElMjAlMjBjbGFzcyUyMFVuZXRTY2hlZHVsZXJPbmVGb3J3YXJkUGlwZWxpbmUoRGlmZnVzaW9uUGlwZWxpbmUpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwZGVmJTIwX19pbml0X18oc2VsZiUyQyUyMHVuZXQlMkMlMjBzY2hlZHVsZXIpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwc3VwZXIoKS5fX2luaXRfXygpJTBBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwc2VsZi5yZWdpc3Rlcl9tb2R1bGVzKHVuZXQlM0R1bmV0JTJDJTIwc2NoZWR1bGVyJTNEc2NoZWR1bGVyKSUwQSUwQSUyQiUyMCUyMCUyMCUyMCUyMGRlZiUyMF9fY2FsbF9fKHNlbGYpJTNBJTBBJTJCJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwaW1hZ2UlMjAlM0QlMjB0b3JjaC5yYW5kbiglMEElMkIlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAoMSUyQyUyMHNlbGYudW5ldC5jb25maWcuaW5fY2hhbm5lbHMlMkMlMjBzZWxmLnVuZXQuY29uZmlnLnNhbXBsZV9zaXplJTJDJTIwc2VsZi51bmV0LmNvbmZpZy5zYW1wbGVfc2l6ZSklMkMlMEElMkIlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjApJTBBJTJCJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwdGltZXN0ZXAlMjAlM0QlMjAxJTBBJTBBJTJCJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwbW9kZWxfb3V0cHV0JTIwJTNEJTIwc2VsZi51bmV0KGltYWdlJTJDJTIwdGltZXN0ZXApLnNhbXBsZSUwQSUyQiUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMHNjaGVkdWxlcl9vdXRwdXQlMjAlM0QlMjBzZWxmLnNjaGVkdWxlci5zdGVwKG1vZGVsX291dHB1dCUyQyUyMHRpbWVzdGVwJTJDJTIwaW1hZ2UpLnByZXZfc2FtcGxlJTBBJTBBJTJCJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwcmV0dXJuJTIwc2NoZWR1bGVyX291dHB1dA==",highlighted:`  from diffusers import DiffusionPipeline
  import torch


  class UnetSchedulerOneForwardPipeline(DiffusionPipeline):
      def __init__(self, unet, scheduler):
          super().__init__()

          self.register_modules(unet=unet, scheduler=scheduler)

<span class="hljs-addition">+     def __call__(self):</span>
<span class="hljs-addition">+         image = torch.randn(</span>
<span class="hljs-addition">+             (1, self.unet.config.in_channels, self.unet.config.sample_size, self.unet.config.sample_size),</span>
<span class="hljs-addition">+         )</span>
<span class="hljs-addition">+         timestep = 1</span>

<span class="hljs-addition">+         model_output = self.unet(image, timestep).sample</span>
<span class="hljs-addition">+         scheduler_output = self.scheduler.step(model_output, timestep, image).prev_sample</span>

<span class="hljs-addition">+         return scheduler_output</span>`}}),pl=new F({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMEREUE1TY2hlZHVsZXIlMkMlMjBVTmV0MkRNb2RlbCUwQSUwQXNjaGVkdWxlciUyMCUzRCUyMEREUE1TY2hlZHVsZXIoKSUwQXVuZXQlMjAlM0QlMjBVTmV0MkRNb2RlbCgpJTBBJTBBcGlwZWxpbmUlMjAlM0QlMjBVbmV0U2NoZWR1bGVyT25lRm9yd2FyZFBpcGVsaW5lKHVuZXQlM0R1bmV0JTJDJTIwc2NoZWR1bGVyJTNEc2NoZWR1bGVyKSUwQSUwQW91dHB1dCUyMCUzRCUyMHBpcGVsaW5lKCk=",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DDPMScheduler, UNet2DModel

scheduler = DDPMScheduler()
unet = UNet2DModel()

pipeline = UnetSchedulerOneForwardPipeline(unet=unet, scheduler=scheduler)

output = pipeline()`}}),al=new F({props:{code:"cGlwZWxpbmUlMjAlM0QlMjBVbmV0U2NoZWR1bGVyT25lRm9yd2FyZFBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMjJnb29nbGUlMkZkZHBtLWNpZmFyMTAtMzIlMjIpJTBBJTBBb3V0cHV0JTIwJTNEJTIwcGlwZWxpbmUoKQ==",highlighted:`pipeline = UnetSchedulerOneForwardPipeline.from_pretrained(<span class="hljs-string">&quot;google/ddpm-cifar10-32&quot;</span>)

output = pipeline()`}}),cl=new F({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMERpZmZ1c2lvblBpcGVsaW5lJTBBJTBBcGlwZSUyMCUzRCUyMERpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMjJnb29nbGUlMkZkZHBtLWNpZmFyMTAtMzIlMjIlMkMlMjBjdXN0b21fcGlwZWxpbmUlM0QlMjJvbmVfc3RlcF91bmV0JTIyKSUwQXBpcGUoKQ==",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained(<span class="hljs-string">&quot;google/ddpm-cifar10-32&quot;</span>, custom_pipeline=<span class="hljs-string">&quot;one_step_unet&quot;</span>)
pipe()`}}),dl=new F({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMERpZmZ1c2lvblBpcGVsaW5lJTBBJTBBcGlwZWxpbmUlMjAlM0QlMjBEaWZmdXNpb25QaXBlbGluZS5mcm9tX3ByZXRyYWluZWQoJTIyZ29vZ2xlJTJGZGRwbS1jaWZhcjEwLTMyJTIyJTJDJTIwY3VzdG9tX3BpcGVsaW5lJTNEJTIyc3RldmhsaXUlMkZvbmVfc3RlcF91bmV0JTIyKQ==",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline

pipeline = DiffusionPipeline.from_pretrained(<span class="hljs-string">&quot;google/ddpm-cifar10-32&quot;</span>, custom_pipeline=<span class="hljs-string">&quot;stevhliu/one_step_unet&quot;</span>)`}}),L=new rp({props:{$$slots:{default:[Mp]},$$scope:{ctx:Ul}}}),Ml=new F({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMERpZmZ1c2lvblBpcGVsaW5lJTBBZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMENMSVBGZWF0dXJlRXh0cmFjdG9yJTJDJTIwQ0xJUE1vZGVsJTBBJTBBbW9kZWxfaWQlMjAlM0QlMjAlMjJDb21wVmlzJTJGc3RhYmxlLWRpZmZ1c2lvbi12MS00JTIyJTBBY2xpcF9tb2RlbF9pZCUyMCUzRCUyMCUyMmxhaW9uJTJGQ0xJUC1WaVQtQi0zMi1sYWlvbjJCLXMzNEItYjc5SyUyMiUwQSUwQWZlYXR1cmVfZXh0cmFjdG9yJTIwJTNEJTIwQ0xJUEZlYXR1cmVFeHRyYWN0b3IuZnJvbV9wcmV0cmFpbmVkKGNsaXBfbW9kZWxfaWQpJTBBY2xpcF9tb2RlbCUyMCUzRCUyMENMSVBNb2RlbC5mcm9tX3ByZXRyYWluZWQoY2xpcF9tb2RlbF9pZCUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNiklMEElMEFwaXBlbGluZSUyMCUzRCUyMERpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjAlMjBtb2RlbF9pZCUyQyUwQSUyMCUyMCUyMCUyMGN1c3RvbV9waXBlbGluZSUzRCUyMmNsaXBfZ3VpZGVkX3N0YWJsZV9kaWZmdXNpb24lMjIlMkMlMEElMjAlMjAlMjAlMjBjbGlwX21vZGVsJTNEY2xpcF9tb2RlbCUyQyUwQSUyMCUyMCUyMCUyMGZlYXR1cmVfZXh0cmFjdG9yJTNEZmVhdHVyZV9leHRyYWN0b3IlMkMlMEElMjAlMjAlMjAlMjBzY2hlZHVsZXIlM0RzY2hlZHVsZXIlMkMlMEElMjAlMjAlMjAlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MTYlMkMlMEEp",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline
<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> CLIPFeatureExtractor, CLIPModel

model_id = <span class="hljs-string">&quot;CompVis/stable-diffusion-v1-4&quot;</span>
clip_model_id = <span class="hljs-string">&quot;laion/CLIP-ViT-B-32-laion2B-s34B-b79K&quot;</span>

feature_extractor = CLIPFeatureExtractor.from_pretrained(clip_model_id)
clip_model = CLIPModel.from_pretrained(clip_model_id, torch_dtype=torch.float16)

pipeline = DiffusionPipeline.from_pretrained(
    model_id,
    custom_pipeline=<span class="hljs-string">&quot;clip_guided_stable_diffusion&quot;</span>,
    clip_model=clip_model,
    feature_extractor=feature_extractor,
    scheduler=scheduler,
    torch_dtype=torch.float16,
)`}}),wl=new F({props:{code:"JTIzJTIwMi4lMjAlRUQlOEMlOEMlRUMlOUQlQjQlRUQlOTQlODQlRUIlOUQlQkMlRUMlOUQlQjglMjAlRUQlODElQjQlRUIlOUUlOTglRUMlOEElQTQlRUIlQTUlQkMlMjAlRUIlQTElOUMlRUIlOTMlOUMlRUQlOTUlQTklRUIlOEIlODglRUIlOEIlQTQuJTIwJUVDJTgyJUFDJUVDJTlBJUE5JUVDJTlFJTkwJTIwJUVDJUE3JTgwJUVDJUEwJTk1JTIwJUVCJUFBJUE4JUVCJTkzJTg4JUVDJTlEJTg0JTIwJUVDJTgyJUFDJUVDJTlBJUE5JUVEJTk1JTk4JUVCJThBJTk0JTIwJUVBJUIyJUJEJUVDJTlBJUIwJTIwSHViJUVDJTk3JTkwJUVDJTg0JTlDJTIwJUVCJUExJTlDJUVCJTkzJTlDJUVEJTk1JUE5JUVCJThCJTg4JUVCJThCJUE0JTBBJTIzJTIwJUVCJUFBJTg1JUVDJThCJTlDJUVDJUEwJTgxJTIwJUVEJTgxJUI0JUVCJTlFJTk4JUVDJThBJUE0JUVDJTk3JTkwJUVDJTg0JTlDJTIwJUVCJUExJTlDJUVCJTkzJTlDJUVEJTk1JTk4JUVCJThBJTk0JTIwJUVBJUIyJUJEJUVDJTlBJUIwJTJDJTIwJUVDJTlEJUI0JUVCJUE1JUJDJTIwJUVDJTgyJUFDJUVDJTlBJUE5JUVEJTk1JUI0JTIwJUVCJUIzJUI0JUVBJUIyJUEwJUVDJThBJUI1JUVCJThCJTg4JUVCJThCJUE0LiUwQWlmJTIwY3VzdG9tX3BpcGVsaW5lJTIwaXMlMjBub3QlMjBOb25lJTNBJTBBJTIwJTIwJTIwJTIwcGlwZWxpbmVfY2xhc3MlMjAlM0QlMjBnZXRfY2xhc3NfZnJvbV9keW5hbWljX21vZHVsZSglMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBjdXN0b21fcGlwZWxpbmUlMkMlMjBtb2R1bGVfZmlsZSUzRENVU1RPTV9QSVBFTElORV9GSUxFX05BTUUlMkMlMjBjYWNoZV9kaXIlM0RjdXN0b21fcGlwZWxpbmUlMEElMjAlMjAlMjAlMjApJTBBZWxpZiUyMGNscyUyMCElM0QlMjBEaWZmdXNpb25QaXBlbGluZSUzQSUwQSUyMCUyMCUyMCUyMHBpcGVsaW5lX2NsYXNzJTIwJTNEJTIwY2xzJTBBZWxzZSUzQSUwQSUyMCUyMCUyMCUyMGRpZmZ1c2Vyc19tb2R1bGUlMjAlM0QlMjBpbXBvcnRsaWIuaW1wb3J0X21vZHVsZShjbHMuX19tb2R1bGVfXy5zcGxpdCglMjIuJTIyKSU1QjAlNUQpJTBBJTIwJTIwJTIwJTIwcGlwZWxpbmVfY2xhc3MlMjAlM0QlMjBnZXRhdHRyKGRpZmZ1c2Vyc19tb2R1bGUlMkMlMjBjb25maWdfZGljdCU1QiUyMl9jbGFzc19uYW1lJTIyJTVEKQ==",highlighted:`<span class="hljs-comment"># 2. \uD30C\uC774\uD504\uB77C\uC778 \uD074\uB798\uC2A4\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4. \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uBAA8\uB4C8\uC744 \uC0AC\uC6A9\uD558\uB294 \uACBD\uC6B0 Hub\uC5D0\uC11C \uB85C\uB4DC\uD569\uB2C8\uB2E4</span>
<span class="hljs-comment"># \uBA85\uC2DC\uC801 \uD074\uB798\uC2A4\uC5D0\uC11C \uB85C\uB4DC\uD558\uB294 \uACBD\uC6B0, \uC774\uB97C \uC0AC\uC6A9\uD574 \uBCF4\uACA0\uC2B5\uB2C8\uB2E4.</span>
<span class="hljs-keyword">if</span> custom_pipeline <span class="hljs-keyword">is</span> <span class="hljs-keyword">not</span> <span class="hljs-literal">None</span>:
    pipeline_class = get_class_from_dynamic_module(
        custom_pipeline, module_file=CUSTOM_PIPELINE_FILE_NAME, cache_dir=custom_pipeline
    )
<span class="hljs-keyword">elif</span> cls != DiffusionPipeline:
    pipeline_class = cls
<span class="hljs-keyword">else</span>:
    diffusers_module = importlib.import_module(cls.__module__.split(<span class="hljs-string">&quot;.&quot;</span>)[<span class="hljs-number">0</span>])
    pipeline_class = <span class="hljs-built_in">getattr</span>(diffusers_module, config_dict[<span class="hljs-string">&quot;_class_name&quot;</span>])`}}),{c(){n=p("meta"),E=f(),d=p("h1"),C=s("\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC5D0 \uAE30\uC5EC\uD558\uB294 \uBC29\uBC95"),I=f(),Z(T.$$.fragment),m=f(),M=p("p"),at=s("\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uC0AC\uC6A9\uD558\uBA74 "),Dl=p("code"),Jt=s("DiffusionPipeline"),rt=s(" \uC704\uC5D0 \uC6D0\uD558\uB294 \uCD94\uAC00 \uAE30\uB2A5\uC744 \uCD94\uAC00\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. "),Rl=p("code"),ft=s("DiffusionPipeline"),ct=s(" \uC704\uC5D0 \uAD6C\uCD95\uD560 \uB54C\uC758 \uAC00\uC7A5 \uD070 \uC7A5\uC810\uC740 \uB204\uAD6C\uB098 \uC778\uC218\uB97C \uD558\uB098\uB9CC \uCD94\uAC00\uD558\uBA74 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uB85C\uB4DC\uD558\uACE0 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC5B4 \uCEE4\uBBA4\uB2C8\uD2F0\uAC00 \uB9E4\uC6B0 \uC27D\uAC8C \uC811\uADFC\uD560 \uC218 \uC788\uB2E4\uB294 \uAC83\uC785\uB2C8\uB2E4."),Ee=f(),O=p("p"),nt=s(`\uC774\uBC88 \uAC00\uC774\uB4DC\uC5D0\uC11C\uB294 \uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uC0DD\uC131\uD558\uB294 \uBC29\uBC95\uACFC \uC791\uB3D9 \uC6D0\uB9AC\uB97C \uC124\uBA85\uD569\uB2C8\uB2E4.
\uAC04\uB2E8\uD558\uAC8C \uC124\uBA85\uD558\uAE30 \uC704\uD574 `),$l=p("code"),dt=s("UNet"),Tt=s("\uC774 \uB2E8\uC77C forward pass\uB97C \uC218\uD589\uD558\uACE0 \uC2A4\uCF00\uC904\uB7EC\uB97C \uD55C \uBC88 \uD638\uCD9C\uD558\uB294 \u201Cone-step\u201D \uD30C\uC774\uD504\uB77C\uC778\uC744 \uB9CC\uB4E4\uACA0\uC2B5\uB2C8\uB2E4."),Ie=f(),ll=p("h2"),ut=s("\uD30C\uC774\uD504\uB77C\uC778 \uCD08\uAE30\uD654"),he=f(),w=p("p"),mt=s("\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uC704\uD55C "),Wl=p("code"),Mt=s("one_step_unet.py"),wt=s(" \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uB294 \uAC83\uC73C\uB85C \uC2DC\uC791\uD569\uB2C8\uB2E4. \uC774 \uD30C\uC77C\uC5D0\uC11C, Hub\uC5D0\uC11C \uBAA8\uB378 \uAC00\uC911\uCE58\uC640 \uC2A4\uCF00\uC904\uB7EC \uAD6C\uC131\uC744 \uB85C\uB4DC\uD560 \uC218 \uC788\uB3C4\uB85D "),Xl=p("code"),Ut=s("DiffusionPipeline"),_t=s("\uC744 \uC0C1\uC18D\uD558\uB294 \uD30C\uC774\uD504\uB77C\uC778 \uD074\uB798\uC2A4\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4. one-step \uD30C\uC774\uD504\uB77C\uC778\uC5D0\uB294 "),kl=p("code"),yt=s("UNet"),Et=s("\uACFC \uC2A4\uCF00\uC904\uB7EC\uAC00 \uD544\uC694\uD558\uBBC0\uB85C \uC774\uB97C "),Ql=p("code"),It=s("__init__"),ht=s(" \uD568\uC218\uC5D0 \uC778\uC218\uB85C \uCD94\uAC00\uD574\uC57C\uD569\uB2C8\uB2E4:"),Ze=f(),Z(el.$$.fragment),be=f(),U=p("p"),Zt=s("\uD30C\uC774\uD504\uB77C\uC778\uACFC \uADF8 \uAD6C\uC131\uC694\uC18C("),Al=p("code"),bt=s("unet"),Vt=s(" and "),Hl=p("code"),jt=s("scheduler"),Bt=s(")\uB97C "),Nl=p("code"),Gt=s("save_pretrained()"),Ct=s("\uC73C\uB85C \uC800\uC7A5\uD560 \uC218 \uC788\uB3C4\uB85D \uD558\uB824\uBA74 "),Pl=p("code"),vt=s("register_modules"),Dt=s(" \uD568\uC218\uC5D0 \uCD94\uAC00\uD558\uC138\uC694:"),Ve=f(),Z(tl.$$.fragment),je=f(),_l=p("p"),Rt=s("\uC774\uC81C \u2018\uCD08\uAE30\uD654\u2019 \uB2E8\uACC4\uAC00 \uC644\uB8CC\uB418\uC5C8\uC73C\uB2C8 forward pass\uB85C \uC774\uB3D9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4! \u{1F525}"),Be=f(),Q=p("h2"),Y=p("a"),xl=p("span"),Z(sl.$$.fragment),$t=f(),Sl=p("span"),Wt=s("Forward pass \uC815\uC758"),Ge=f(),_=p("p"),Xt=s("Forward pass \uC5D0\uC11C\uB294("),Fl=p("code"),kt=s("__call__"),Qt=s("\uB85C \uC815\uC758\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4) \uC6D0\uD558\uB294 \uAE30\uB2A5\uC744 \uCD94\uAC00\uD560 \uC218 \uC788\uB294 \uC644\uC804\uD55C \uCC3D\uC791 \uC790\uC720\uAC00 \uC788\uC2B5\uB2C8\uB2E4. \uC6B0\uB9AC\uC758 \uB180\uB77C\uC6B4 one-step \uD30C\uC774\uD504\uB77C\uC778\uC758 \uACBD\uC6B0, \uC784\uC758\uC758 \uC774\uBBF8\uC9C0\uB97C \uC0DD\uC131\uD558\uACE0 "),Ol=p("code"),At=s("timestep=1"),Ht=s("\uC744 \uC124\uC815\uD558\uC5EC "),Yl=p("code"),Nt=s("unet"),Pt=s("\uACFC "),zl=p("code"),xt=s("scheduler"),St=s("\uB97C \uD55C \uBC88\uB9CC \uD638\uCD9C\uD569\uB2C8\uB2E4:"),Ce=f(),Z(ol.$$.fragment),ve=f(),v=p("p"),Ft=s("\uB05D\uB0AC\uC2B5\uB2C8\uB2E4! \u{1F680} \uC774\uC81C \uC774 \uD30C\uC774\uD504\uB77C\uC778\uC5D0 "),gl=p("code"),Ot=s("unet"),Yt=s("\uACFC "),Ll=p("code"),zt=s("scheduler"),gt=s("\uB97C \uC804\uB2EC\uD558\uC5EC \uC2E4\uD589\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),De=f(),Z(pl.$$.fragment),Re=f(),z=p("p"),Lt=s("\uD558\uC9C0\uB9CC \uD30C\uC774\uD504\uB77C\uC778 \uAD6C\uC870\uAC00 \uB3D9\uC77C\uD55C \uACBD\uC6B0 \uAE30\uC874 \uAC00\uC911\uCE58\uB97C \uD30C\uC774\uD504\uB77C\uC778\uC5D0 \uB85C\uB4DC\uD560 \uC218 \uC788\uB2E4\uB294 \uC7A5\uC810\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uC608\uB97C \uB4E4\uC5B4 one-step \uD30C\uC774\uD504\uB77C\uC778\uC5D0 "),il=p("a"),ql=p("code"),qt=s("google/ddpm-cifar10-32"),Kt=s(" \uAC00\uC911\uCE58\uB97C \uB85C\uB4DC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),$e=f(),Z(al.$$.fragment),We=f(),Jl=p("h2"),ls=s("\uD30C\uC774\uD504\uB77C\uC778 \uACF5\uC720"),Xe=f(),h=p("p"),es=s("\u{1F9E8}Diffusers "),rl=p("a"),ts=s("\uB9AC\uD3EC\uC9C0\uD1A0\uB9AC"),ss=s("\uC5D0\uC11C Pull Request\uB97C \uC5F4\uC5B4 "),fl=p("a"),os=s("examples/community"),ps=s(" \uD558\uC704 \uD3F4\uB354\uC5D0 "),Kl=p("code"),is=s("one_step_unet.py"),as=s("\uC758 \uBA4B\uC9C4 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uCD94\uAC00\uD558\uC138\uC694."),ke=f(),D=p("p"),Js=s("\uBCD1\uD569\uC774 \uB418\uBA74, "),le=p("code"),rs=s("diffusers >= 0.4.0"),fs=s("\uC774 \uC124\uCE58\uB41C \uC0AC\uC6A9\uC790\uB77C\uBA74 \uB204\uAD6C\uB098 "),ee=p("code"),cs=s("custom_pipeline"),ns=s(" \uC778\uC218\uC5D0 \uC9C0\uC815\uD558\uC5EC \uC774 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uB9C8\uC220\uCC98\uB7FC \u{1FA84} \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),Qe=f(),Z(cl.$$.fragment),Ae=f(),y=p("p"),ds=s("\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uACF5\uC720\uD558\uB294 \uB610 \uB2E4\uB978 \uBC29\uBC95\uC740 Hub \uC5D0\uC11C \uC120\uD638\uD558\uB294 "),nl=p("a"),Ts=s("\uBAA8\uB378 \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC"),us=s("\uC5D0 \uC9C1\uC811  "),te=p("code"),ms=s("one_step_unet.py"),Ms=s(" \uD30C\uC77C\uC744 \uC5C5\uB85C\uB4DC\uD558\uB294 \uAC83\uC785\uB2C8\uB2E4. "),se=p("code"),ws=s("one_step_unet.py"),Us=s(" \uD30C\uC77C\uC744 \uC9C0\uC815\uD558\uB294 \uB300\uC2E0 \uBAA8\uB378 \uC800\uC7A5\uC18C id\uB97C "),oe=p("code"),_s=s("custom_pipeline"),ys=s(" \uC778\uC218\uC5D0 \uC804\uB2EC\uD558\uC138\uC694:"),He=f(),Z(dl.$$.fragment),Ne=f(),yl=p("p"),Es=s("\uB2E4\uC74C \uD45C\uC5D0\uC11C \uB450 \uAC00\uC9C0 \uACF5\uC720 \uC6CC\uD06C\uD50C\uB85C\uC6B0\uB97C \uBE44\uAD50\uD558\uC5EC \uC790\uC2E0\uC5D0\uAC8C \uAC00\uC7A5 \uC801\uD569\uD55C \uC635\uC158\uC744 \uACB0\uC815\uD558\uB294 \uB370 \uB3C4\uC6C0\uC774 \uB418\uB294 \uC815\uBCF4\uB97C \uD655\uC778\uD558\uC138\uC694:"),Pe=f(),g=p("table"),pe=p("thead"),A=p("tr"),xe=p("th"),Is=f(),ie=p("th"),hs=s("GitHub \uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778"),Zs=f(),ae=p("th"),bs=s("HF Hub \uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778"),Vs=f(),H=p("tbody"),N=p("tr"),Je=p("td"),js=s("\uC0AC\uC6A9\uBC95"),Bs=f(),re=p("td"),Gs=s("\uB3D9\uC77C"),Cs=f(),fe=p("td"),vs=s("\uB3D9\uC77C"),Ds=f(),P=p("tr"),ce=p("td"),Rs=s("\uB9AC\uBDF0 \uACFC\uC815"),$s=f(),ne=p("td"),Ws=s("\uBCD1\uD569\uD558\uAE30 \uC804\uC5D0 GitHub\uC5D0\uC11C Pull Request\uB97C \uC5F4\uACE0 Diffusers \uD300\uC758 \uAC80\uD1A0 \uACFC\uC815\uC744 \uAC70\uCE69\uB2C8\uB2E4. \uC18D\uB3C4\uAC00 \uB290\uB9B4 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Xs=f(),de=p("td"),ks=s("\uAC80\uD1A0 \uC5C6\uC774 Hub \uC800\uC7A5\uC18C\uC5D0 \uBC14\uB85C \uC5C5\uB85C\uB4DC\uD569\uB2C8\uB2E4. \uAC00\uC7A5 \uBE60\uB978 \uC6CC\uD06C\uD50C\uB85C\uC6B0 \uC785\uB2C8\uB2E4."),Qs=f(),x=p("tr"),Te=p("td"),As=s("\uAC00\uC2DC\uC131"),Hs=f(),ue=p("td"),Ns=s("\uACF5\uC2DD Diffusers \uC800\uC7A5\uC18C \uBC0F \uBB38\uC11C\uC5D0 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),Ps=f(),me=p("td"),xs=s("HF \uD5C8\uBE0C \uD504\uB85C\uD544\uC5D0 \uD3EC\uD568\uB418\uBA70 \uAC00\uC2DC\uC131\uC744 \uD655\uBCF4\uD558\uAE30 \uC704\uD574 \uC790\uC2E0\uC758 \uC0AC\uC6A9\uB7C9/\uD504\uB85C\uBAA8\uC158\uC5D0 \uC758\uC874\uD569\uB2C8\uB2E4."),Se=f(),Z(L.$$.fragment),Fe=f(),Tl=p("h2"),Ss=s("\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC740 \uC5B4\uB5BB\uAC8C \uC791\uB3D9\uD558\uB098\uC694?"),Oe=f(),q=p("p"),Fs=s("\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC740 "),Me=p("code"),Os=s("DiffusionPipeline"),Ys=s("\uC744 \uC0C1\uC18D\uD558\uB294 \uD074\uB798\uC2A4\uC785\uB2C8\uB2E4:"),Ye=f(),R=p("ul"),El=p("li"),we=p("code"),zs=s("custom_pipeline"),gs=s(" \uC778\uC218\uB85C \uB85C\uB4DC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Ls=f(),ul=p("li"),qs=s("\uBAA8\uB378 \uAC00\uC911\uCE58 \uBC0F \uC2A4\uCF00\uC904\uB7EC \uAD6C\uC131\uC740 "),Ue=p("code"),Ks=s("pretrained_model_name_or_path"),lo=s("\uC5D0\uC11C \uB85C\uB4DC\uB429\uB2C8\uB2E4."),eo=f(),ml=p("li"),to=s("\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC5D0\uC11C \uAE30\uB2A5\uC744 \uAD6C\uD604\uD558\uB294 \uCF54\uB4DC\uB294 "),_e=p("code"),so=s("pipeline.py"),oo=s(" \uD30C\uC77C\uC5D0 \uC815\uC758\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),ze=f(),Il=p("p"),po=s("\uACF5\uC2DD \uC800\uC7A5\uC18C\uC5D0\uC11C \uBAA8\uB4E0 \uD30C\uC774\uD504\uB77C\uC778 \uAD6C\uC131 \uC694\uC18C \uAC00\uC911\uCE58\uB97C \uB85C\uB4DC\uD560 \uC218 \uC5C6\uB294 \uACBD\uC6B0\uAC00 \uC788\uC2B5\uB2C8\uB2E4. \uC774 \uACBD\uC6B0 \uB2E4\uB978 \uAD6C\uC131 \uC694\uC18C\uB294 \uD30C\uC774\uD504\uB77C\uC778\uC5D0 \uC9C1\uC811 \uC804\uB2EC\uD574\uC57C \uD569\uB2C8\uB2E4:"),ge=f(),Z(Ml.$$.fragment),Le=f(),hl=p("p"),io=s("\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC758 \uB9C8\uBC95\uC740 \uB2E4\uC74C \uCF54\uB4DC\uC5D0 \uB2F4\uACA8 \uC788\uC2B5\uB2C8\uB2E4. \uC774 \uCF54\uB4DC\uB97C \uD1B5\uD574 \uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC744 GitHub \uB610\uB294 Hub\uC5D0\uC11C \uB85C\uB4DC\uD560 \uC218 \uC788\uC73C\uBA70, \uBAA8\uB4E0 \u{1F9E8} Diffusers \uD328\uD0A4\uC9C0\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),qe=f(),Z(wl.$$.fragment),this.h()},l(l){const J=dp('[data-svelte="svelte-1phssyn"]',document.head);n=i(J,"META",{name:!0,content:!0}),J.forEach(t),E=c(l),d=i(l,"H1",{id:!0});var ye=a(d);C=o(ye,"\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC5D0 \uAE30\uC5EC\uD558\uB294 \uBC29\uBC95"),ye.forEach(t),I=c(l),b(T.$$.fragment,l),m=c(l),M=i(l,"P",{});var S=a(M);at=o(S,"\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uC0AC\uC6A9\uD558\uBA74 "),Dl=i(S,"CODE",{});var Jo=a(Dl);Jt=o(Jo,"DiffusionPipeline"),Jo.forEach(t),rt=o(S," \uC704\uC5D0 \uC6D0\uD558\uB294 \uCD94\uAC00 \uAE30\uB2A5\uC744 \uCD94\uAC00\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. "),Rl=i(S,"CODE",{});var ro=a(Rl);ft=o(ro,"DiffusionPipeline"),ro.forEach(t),ct=o(S," \uC704\uC5D0 \uAD6C\uCD95\uD560 \uB54C\uC758 \uAC00\uC7A5 \uD070 \uC7A5\uC810\uC740 \uB204\uAD6C\uB098 \uC778\uC218\uB97C \uD558\uB098\uB9CC \uCD94\uAC00\uD558\uBA74 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uB85C\uB4DC\uD558\uACE0 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC5B4 \uCEE4\uBBA4\uB2C8\uD2F0\uAC00 \uB9E4\uC6B0 \uC27D\uAC8C \uC811\uADFC\uD560 \uC218 \uC788\uB2E4\uB294 \uAC83\uC785\uB2C8\uB2E4."),S.forEach(t),Ee=c(l),O=i(l,"P",{});var lt=a(O);nt=o(lt,`\uC774\uBC88 \uAC00\uC774\uB4DC\uC5D0\uC11C\uB294 \uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uC0DD\uC131\uD558\uB294 \uBC29\uBC95\uACFC \uC791\uB3D9 \uC6D0\uB9AC\uB97C \uC124\uBA85\uD569\uB2C8\uB2E4.
\uAC04\uB2E8\uD558\uAC8C \uC124\uBA85\uD558\uAE30 \uC704\uD574 `),$l=i(lt,"CODE",{});var fo=a($l);dt=o(fo,"UNet"),fo.forEach(t),Tt=o(lt,"\uC774 \uB2E8\uC77C forward pass\uB97C \uC218\uD589\uD558\uACE0 \uC2A4\uCF00\uC904\uB7EC\uB97C \uD55C \uBC88 \uD638\uCD9C\uD558\uB294 \u201Cone-step\u201D \uD30C\uC774\uD504\uB77C\uC778\uC744 \uB9CC\uB4E4\uACA0\uC2B5\uB2C8\uB2E4."),lt.forEach(t),Ie=c(l),ll=i(l,"H2",{id:!0});var co=a(ll);ut=o(co,"\uD30C\uC774\uD504\uB77C\uC778 \uCD08\uAE30\uD654"),co.forEach(t),he=c(l),w=i(l,"P",{});var $=a(w);mt=o($,"\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uC704\uD55C "),Wl=i($,"CODE",{});var no=a(Wl);Mt=o(no,"one_step_unet.py"),no.forEach(t),wt=o($," \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uB294 \uAC83\uC73C\uB85C \uC2DC\uC791\uD569\uB2C8\uB2E4. \uC774 \uD30C\uC77C\uC5D0\uC11C, Hub\uC5D0\uC11C \uBAA8\uB378 \uAC00\uC911\uCE58\uC640 \uC2A4\uCF00\uC904\uB7EC \uAD6C\uC131\uC744 \uB85C\uB4DC\uD560 \uC218 \uC788\uB3C4\uB85D "),Xl=i($,"CODE",{});var To=a(Xl);Ut=o(To,"DiffusionPipeline"),To.forEach(t),_t=o($,"\uC744 \uC0C1\uC18D\uD558\uB294 \uD30C\uC774\uD504\uB77C\uC778 \uD074\uB798\uC2A4\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4. one-step \uD30C\uC774\uD504\uB77C\uC778\uC5D0\uB294 "),kl=i($,"CODE",{});var uo=a(kl);yt=o(uo,"UNet"),uo.forEach(t),Et=o($,"\uACFC \uC2A4\uCF00\uC904\uB7EC\uAC00 \uD544\uC694\uD558\uBBC0\uB85C \uC774\uB97C "),Ql=i($,"CODE",{});var mo=a(Ql);It=o(mo,"__init__"),mo.forEach(t),ht=o($," \uD568\uC218\uC5D0 \uC778\uC218\uB85C \uCD94\uAC00\uD574\uC57C\uD569\uB2C8\uB2E4:"),$.forEach(t),Ze=c(l),b(el.$$.fragment,l),be=c(l),U=i(l,"P",{});var W=a(U);Zt=o(W,"\uD30C\uC774\uD504\uB77C\uC778\uACFC \uADF8 \uAD6C\uC131\uC694\uC18C("),Al=i(W,"CODE",{});var Mo=a(Al);bt=o(Mo,"unet"),Mo.forEach(t),Vt=o(W," and "),Hl=i(W,"CODE",{});var wo=a(Hl);jt=o(wo,"scheduler"),wo.forEach(t),Bt=o(W,")\uB97C "),Nl=i(W,"CODE",{});var Uo=a(Nl);Gt=o(Uo,"save_pretrained()"),Uo.forEach(t),Ct=o(W,"\uC73C\uB85C \uC800\uC7A5\uD560 \uC218 \uC788\uB3C4\uB85D \uD558\uB824\uBA74 "),Pl=i(W,"CODE",{});var _o=a(Pl);vt=o(_o,"register_modules"),_o.forEach(t),Dt=o(W," \uD568\uC218\uC5D0 \uCD94\uAC00\uD558\uC138\uC694:"),W.forEach(t),Ve=c(l),b(tl.$$.fragment,l),je=c(l),_l=i(l,"P",{});var yo=a(_l);Rt=o(yo,"\uC774\uC81C \u2018\uCD08\uAE30\uD654\u2019 \uB2E8\uACC4\uAC00 \uC644\uB8CC\uB418\uC5C8\uC73C\uB2C8 forward pass\uB85C \uC774\uB3D9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4! \u{1F525}"),yo.forEach(t),Be=c(l),Q=i(l,"H2",{class:!0});var et=a(Q);Y=i(et,"A",{id:!0,class:!0,href:!0});var Eo=a(Y);xl=i(Eo,"SPAN",{});var Io=a(xl);b(sl.$$.fragment,Io),Io.forEach(t),Eo.forEach(t),$t=c(et),Sl=i(et,"SPAN",{});var ho=a(Sl);Wt=o(ho,"Forward pass \uC815\uC758"),ho.forEach(t),et.forEach(t),Ge=c(l),_=i(l,"P",{});var X=a(_);Xt=o(X,"Forward pass \uC5D0\uC11C\uB294("),Fl=i(X,"CODE",{});var Zo=a(Fl);kt=o(Zo,"__call__"),Zo.forEach(t),Qt=o(X,"\uB85C \uC815\uC758\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4) \uC6D0\uD558\uB294 \uAE30\uB2A5\uC744 \uCD94\uAC00\uD560 \uC218 \uC788\uB294 \uC644\uC804\uD55C \uCC3D\uC791 \uC790\uC720\uAC00 \uC788\uC2B5\uB2C8\uB2E4. \uC6B0\uB9AC\uC758 \uB180\uB77C\uC6B4 one-step \uD30C\uC774\uD504\uB77C\uC778\uC758 \uACBD\uC6B0, \uC784\uC758\uC758 \uC774\uBBF8\uC9C0\uB97C \uC0DD\uC131\uD558\uACE0 "),Ol=i(X,"CODE",{});var bo=a(Ol);At=o(bo,"timestep=1"),bo.forEach(t),Ht=o(X,"\uC744 \uC124\uC815\uD558\uC5EC "),Yl=i(X,"CODE",{});var Vo=a(Yl);Nt=o(Vo,"unet"),Vo.forEach(t),Pt=o(X,"\uACFC "),zl=i(X,"CODE",{});var jo=a(zl);xt=o(jo,"scheduler"),jo.forEach(t),St=o(X,"\uB97C \uD55C \uBC88\uB9CC \uD638\uCD9C\uD569\uB2C8\uB2E4:"),X.forEach(t),Ce=c(l),b(ol.$$.fragment,l),ve=c(l),v=i(l,"P",{});var Zl=a(v);Ft=o(Zl,"\uB05D\uB0AC\uC2B5\uB2C8\uB2E4! \u{1F680} \uC774\uC81C \uC774 \uD30C\uC774\uD504\uB77C\uC778\uC5D0 "),gl=i(Zl,"CODE",{});var Bo=a(gl);Ot=o(Bo,"unet"),Bo.forEach(t),Yt=o(Zl,"\uACFC "),Ll=i(Zl,"CODE",{});var Go=a(Ll);zt=o(Go,"scheduler"),Go.forEach(t),gt=o(Zl,"\uB97C \uC804\uB2EC\uD558\uC5EC \uC2E4\uD589\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),Zl.forEach(t),De=c(l),b(pl.$$.fragment,l),Re=c(l),z=i(l,"P",{});var tt=a(z);Lt=o(tt,"\uD558\uC9C0\uB9CC \uD30C\uC774\uD504\uB77C\uC778 \uAD6C\uC870\uAC00 \uB3D9\uC77C\uD55C \uACBD\uC6B0 \uAE30\uC874 \uAC00\uC911\uCE58\uB97C \uD30C\uC774\uD504\uB77C\uC778\uC5D0 \uB85C\uB4DC\uD560 \uC218 \uC788\uB2E4\uB294 \uC7A5\uC810\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uC608\uB97C \uB4E4\uC5B4 one-step \uD30C\uC774\uD504\uB77C\uC778\uC5D0 "),il=i(tt,"A",{href:!0,rel:!0});var Co=a(il);ql=i(Co,"CODE",{});var vo=a(ql);qt=o(vo,"google/ddpm-cifar10-32"),vo.forEach(t),Co.forEach(t),Kt=o(tt," \uAC00\uC911\uCE58\uB97C \uB85C\uB4DC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),tt.forEach(t),$e=c(l),b(al.$$.fragment,l),We=c(l),Jl=i(l,"H2",{id:!0});var Do=a(Jl);ls=o(Do,"\uD30C\uC774\uD504\uB77C\uC778 \uACF5\uC720"),Do.forEach(t),Xe=c(l),h=i(l,"P",{});var K=a(h);es=o(K,"\u{1F9E8}Diffusers "),rl=i(K,"A",{href:!0,rel:!0});var Ro=a(rl);ts=o(Ro,"\uB9AC\uD3EC\uC9C0\uD1A0\uB9AC"),Ro.forEach(t),ss=o(K,"\uC5D0\uC11C Pull Request\uB97C \uC5F4\uC5B4 "),fl=i(K,"A",{href:!0,rel:!0});var $o=a(fl);os=o($o,"examples/community"),$o.forEach(t),ps=o(K," \uD558\uC704 \uD3F4\uB354\uC5D0 "),Kl=i(K,"CODE",{});var Wo=a(Kl);is=o(Wo,"one_step_unet.py"),Wo.forEach(t),as=o(K,"\uC758 \uBA4B\uC9C4 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uCD94\uAC00\uD558\uC138\uC694."),K.forEach(t),ke=c(l),D=i(l,"P",{});var bl=a(D);Js=o(bl,"\uBCD1\uD569\uC774 \uB418\uBA74, "),le=i(bl,"CODE",{});var Xo=a(le);rs=o(Xo,"diffusers >= 0.4.0"),Xo.forEach(t),fs=o(bl,"\uC774 \uC124\uCE58\uB41C \uC0AC\uC6A9\uC790\uB77C\uBA74 \uB204\uAD6C\uB098 "),ee=i(bl,"CODE",{});var ko=a(ee);cs=o(ko,"custom_pipeline"),ko.forEach(t),ns=o(bl," \uC778\uC218\uC5D0 \uC9C0\uC815\uD558\uC5EC \uC774 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uB9C8\uC220\uCC98\uB7FC \u{1FA84} \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),bl.forEach(t),Qe=c(l),b(cl.$$.fragment,l),Ae=c(l),y=i(l,"P",{});var k=a(y);ds=o(k,"\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC744 \uACF5\uC720\uD558\uB294 \uB610 \uB2E4\uB978 \uBC29\uBC95\uC740 Hub \uC5D0\uC11C \uC120\uD638\uD558\uB294 "),nl=i(k,"A",{href:!0,rel:!0});var Qo=a(nl);Ts=o(Qo,"\uBAA8\uB378 \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC"),Qo.forEach(t),us=o(k,"\uC5D0 \uC9C1\uC811  "),te=i(k,"CODE",{});var Ao=a(te);ms=o(Ao,"one_step_unet.py"),Ao.forEach(t),Ms=o(k," \uD30C\uC77C\uC744 \uC5C5\uB85C\uB4DC\uD558\uB294 \uAC83\uC785\uB2C8\uB2E4. "),se=i(k,"CODE",{});var Ho=a(se);ws=o(Ho,"one_step_unet.py"),Ho.forEach(t),Us=o(k," \uD30C\uC77C\uC744 \uC9C0\uC815\uD558\uB294 \uB300\uC2E0 \uBAA8\uB378 \uC800\uC7A5\uC18C id\uB97C "),oe=i(k,"CODE",{});var No=a(oe);_s=o(No,"custom_pipeline"),No.forEach(t),ys=o(k," \uC778\uC218\uC5D0 \uC804\uB2EC\uD558\uC138\uC694:"),k.forEach(t),He=c(l),b(dl.$$.fragment,l),Ne=c(l),yl=i(l,"P",{});var Po=a(yl);Es=o(Po,"\uB2E4\uC74C \uD45C\uC5D0\uC11C \uB450 \uAC00\uC9C0 \uACF5\uC720 \uC6CC\uD06C\uD50C\uB85C\uC6B0\uB97C \uBE44\uAD50\uD558\uC5EC \uC790\uC2E0\uC5D0\uAC8C \uAC00\uC7A5 \uC801\uD569\uD55C \uC635\uC158\uC744 \uACB0\uC815\uD558\uB294 \uB370 \uB3C4\uC6C0\uC774 \uB418\uB294 \uC815\uBCF4\uB97C \uD655\uC778\uD558\uC138\uC694:"),Po.forEach(t),Pe=c(l),g=i(l,"TABLE",{});var st=a(g);pe=i(st,"THEAD",{});var xo=a(pe);A=i(xo,"TR",{});var Vl=a(A);xe=i(Vl,"TH",{}),a(xe).forEach(t),Is=c(Vl),ie=i(Vl,"TH",{});var So=a(ie);hs=o(So,"GitHub \uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778"),So.forEach(t),Zs=c(Vl),ae=i(Vl,"TH",{});var Fo=a(ae);bs=o(Fo,"HF Hub \uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778"),Fo.forEach(t),Vl.forEach(t),xo.forEach(t),Vs=c(st),H=i(st,"TBODY",{});var jl=a(H);N=i(jl,"TR",{});var Bl=a(N);Je=i(Bl,"TD",{});var Oo=a(Je);js=o(Oo,"\uC0AC\uC6A9\uBC95"),Oo.forEach(t),Bs=c(Bl),re=i(Bl,"TD",{});var Yo=a(re);Gs=o(Yo,"\uB3D9\uC77C"),Yo.forEach(t),Cs=c(Bl),fe=i(Bl,"TD",{});var zo=a(fe);vs=o(zo,"\uB3D9\uC77C"),zo.forEach(t),Bl.forEach(t),Ds=c(jl),P=i(jl,"TR",{});var Gl=a(P);ce=i(Gl,"TD",{});var go=a(ce);Rs=o(go,"\uB9AC\uBDF0 \uACFC\uC815"),go.forEach(t),$s=c(Gl),ne=i(Gl,"TD",{});var Lo=a(ne);Ws=o(Lo,"\uBCD1\uD569\uD558\uAE30 \uC804\uC5D0 GitHub\uC5D0\uC11C Pull Request\uB97C \uC5F4\uACE0 Diffusers \uD300\uC758 \uAC80\uD1A0 \uACFC\uC815\uC744 \uAC70\uCE69\uB2C8\uB2E4. \uC18D\uB3C4\uAC00 \uB290\uB9B4 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Lo.forEach(t),Xs=c(Gl),de=i(Gl,"TD",{});var qo=a(de);ks=o(qo,"\uAC80\uD1A0 \uC5C6\uC774 Hub \uC800\uC7A5\uC18C\uC5D0 \uBC14\uB85C \uC5C5\uB85C\uB4DC\uD569\uB2C8\uB2E4. \uAC00\uC7A5 \uBE60\uB978 \uC6CC\uD06C\uD50C\uB85C\uC6B0 \uC785\uB2C8\uB2E4."),qo.forEach(t),Gl.forEach(t),Qs=c(jl),x=i(jl,"TR",{});var Cl=a(x);Te=i(Cl,"TD",{});var Ko=a(Te);As=o(Ko,"\uAC00\uC2DC\uC131"),Ko.forEach(t),Hs=c(Cl),ue=i(Cl,"TD",{});var lp=a(ue);Ns=o(lp,"\uACF5\uC2DD Diffusers \uC800\uC7A5\uC18C \uBC0F \uBB38\uC11C\uC5D0 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),lp.forEach(t),Ps=c(Cl),me=i(Cl,"TD",{});var ep=a(me);xs=o(ep,"HF \uD5C8\uBE0C \uD504\uB85C\uD544\uC5D0 \uD3EC\uD568\uB418\uBA70 \uAC00\uC2DC\uC131\uC744 \uD655\uBCF4\uD558\uAE30 \uC704\uD574 \uC790\uC2E0\uC758 \uC0AC\uC6A9\uB7C9/\uD504\uB85C\uBAA8\uC158\uC5D0 \uC758\uC874\uD569\uB2C8\uB2E4."),ep.forEach(t),Cl.forEach(t),jl.forEach(t),st.forEach(t),Se=c(l),b(L.$$.fragment,l),Fe=c(l),Tl=i(l,"H2",{id:!0});var tp=a(Tl);Ss=o(tp,"\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC740 \uC5B4\uB5BB\uAC8C \uC791\uB3D9\uD558\uB098\uC694?"),tp.forEach(t),Oe=c(l),q=i(l,"P",{});var ot=a(q);Fs=o(ot,"\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC740 "),Me=i(ot,"CODE",{});var sp=a(Me);Os=o(sp,"DiffusionPipeline"),sp.forEach(t),Ys=o(ot,"\uC744 \uC0C1\uC18D\uD558\uB294 \uD074\uB798\uC2A4\uC785\uB2C8\uB2E4:"),ot.forEach(t),Ye=c(l),R=i(l,"UL",{});var vl=a(R);El=i(vl,"LI",{});var ao=a(El);we=i(ao,"CODE",{});var op=a(we);zs=o(op,"custom_pipeline"),op.forEach(t),gs=o(ao," \uC778\uC218\uB85C \uB85C\uB4DC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),ao.forEach(t),Ls=c(vl),ul=i(vl,"LI",{});var pt=a(ul);qs=o(pt,"\uBAA8\uB378 \uAC00\uC911\uCE58 \uBC0F \uC2A4\uCF00\uC904\uB7EC \uAD6C\uC131\uC740 "),Ue=i(pt,"CODE",{});var pp=a(Ue);Ks=o(pp,"pretrained_model_name_or_path"),pp.forEach(t),lo=o(pt,"\uC5D0\uC11C \uB85C\uB4DC\uB429\uB2C8\uB2E4."),pt.forEach(t),eo=c(vl),ml=i(vl,"LI",{});var it=a(ml);to=o(it,"\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC5D0\uC11C \uAE30\uB2A5\uC744 \uAD6C\uD604\uD558\uB294 \uCF54\uB4DC\uB294 "),_e=i(it,"CODE",{});var ip=a(_e);so=o(ip,"pipeline.py"),ip.forEach(t),oo=o(it," \uD30C\uC77C\uC5D0 \uC815\uC758\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),it.forEach(t),vl.forEach(t),ze=c(l),Il=i(l,"P",{});var ap=a(Il);po=o(ap,"\uACF5\uC2DD \uC800\uC7A5\uC18C\uC5D0\uC11C \uBAA8\uB4E0 \uD30C\uC774\uD504\uB77C\uC778 \uAD6C\uC131 \uC694\uC18C \uAC00\uC911\uCE58\uB97C \uB85C\uB4DC\uD560 \uC218 \uC5C6\uB294 \uACBD\uC6B0\uAC00 \uC788\uC2B5\uB2C8\uB2E4. \uC774 \uACBD\uC6B0 \uB2E4\uB978 \uAD6C\uC131 \uC694\uC18C\uB294 \uD30C\uC774\uD504\uB77C\uC778\uC5D0 \uC9C1\uC811 \uC804\uB2EC\uD574\uC57C \uD569\uB2C8\uB2E4:"),ap.forEach(t),ge=c(l),b(Ml.$$.fragment,l),Le=c(l),hl=i(l,"P",{});var Jp=a(hl);io=o(Jp,"\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC758 \uB9C8\uBC95\uC740 \uB2E4\uC74C \uCF54\uB4DC\uC5D0 \uB2F4\uACA8 \uC788\uC2B5\uB2C8\uB2E4. \uC774 \uCF54\uB4DC\uB97C \uD1B5\uD574 \uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC744 GitHub \uB610\uB294 Hub\uC5D0\uC11C \uB85C\uB4DC\uD560 \uC218 \uC788\uC73C\uBA70, \uBAA8\uB4E0 \u{1F9E8} Diffusers \uD328\uD0A4\uC9C0\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Jp.forEach(t),qe=c(l),b(wl.$$.fragment,l),this.h()},h(){u(n,"name","hf:doc:metadata"),u(n,"content",JSON.stringify(Up)),u(d,"id",""),u(ll,"id",""),u(Y,"id","forward-pass"),u(Y,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),u(Y,"href","#forward-pass"),u(Q,"class","relative group"),u(il,"href","https://huggingface.co/google/ddpm-cifar10-32"),u(il,"rel","nofollow"),u(Jl,"id",""),u(rl,"href","https://github.com/huggingface/diffusers"),u(rl,"rel","nofollow"),u(fl,"href","https://github.com/huggingface/diffusers/tree/main/examples/community"),u(fl,"rel","nofollow"),u(nl,"href","https://huggingface.co/docs/hub/models-uploading"),u(nl,"rel","nofollow"),u(Tl,"id","")},m(l,J){e(document.head,n),r(l,E,J),r(l,d,J),e(d,C),r(l,I,J),V(T,l,J),r(l,m,J),r(l,M,J),e(M,at),e(M,Dl),e(Dl,Jt),e(M,rt),e(M,Rl),e(Rl,ft),e(M,ct),r(l,Ee,J),r(l,O,J),e(O,nt),e(O,$l),e($l,dt),e(O,Tt),r(l,Ie,J),r(l,ll,J),e(ll,ut),r(l,he,J),r(l,w,J),e(w,mt),e(w,Wl),e(Wl,Mt),e(w,wt),e(w,Xl),e(Xl,Ut),e(w,_t),e(w,kl),e(kl,yt),e(w,Et),e(w,Ql),e(Ql,It),e(w,ht),r(l,Ze,J),V(el,l,J),r(l,be,J),r(l,U,J),e(U,Zt),e(U,Al),e(Al,bt),e(U,Vt),e(U,Hl),e(Hl,jt),e(U,Bt),e(U,Nl),e(Nl,Gt),e(U,Ct),e(U,Pl),e(Pl,vt),e(U,Dt),r(l,Ve,J),V(tl,l,J),r(l,je,J),r(l,_l,J),e(_l,Rt),r(l,Be,J),r(l,Q,J),e(Q,Y),e(Y,xl),V(sl,xl,null),e(Q,$t),e(Q,Sl),e(Sl,Wt),r(l,Ge,J),r(l,_,J),e(_,Xt),e(_,Fl),e(Fl,kt),e(_,Qt),e(_,Ol),e(Ol,At),e(_,Ht),e(_,Yl),e(Yl,Nt),e(_,Pt),e(_,zl),e(zl,xt),e(_,St),r(l,Ce,J),V(ol,l,J),r(l,ve,J),r(l,v,J),e(v,Ft),e(v,gl),e(gl,Ot),e(v,Yt),e(v,Ll),e(Ll,zt),e(v,gt),r(l,De,J),V(pl,l,J),r(l,Re,J),r(l,z,J),e(z,Lt),e(z,il),e(il,ql),e(ql,qt),e(z,Kt),r(l,$e,J),V(al,l,J),r(l,We,J),r(l,Jl,J),e(Jl,ls),r(l,Xe,J),r(l,h,J),e(h,es),e(h,rl),e(rl,ts),e(h,ss),e(h,fl),e(fl,os),e(h,ps),e(h,Kl),e(Kl,is),e(h,as),r(l,ke,J),r(l,D,J),e(D,Js),e(D,le),e(le,rs),e(D,fs),e(D,ee),e(ee,cs),e(D,ns),r(l,Qe,J),V(cl,l,J),r(l,Ae,J),r(l,y,J),e(y,ds),e(y,nl),e(nl,Ts),e(y,us),e(y,te),e(te,ms),e(y,Ms),e(y,se),e(se,ws),e(y,Us),e(y,oe),e(oe,_s),e(y,ys),r(l,He,J),V(dl,l,J),r(l,Ne,J),r(l,yl,J),e(yl,Es),r(l,Pe,J),r(l,g,J),e(g,pe),e(pe,A),e(A,xe),e(A,Is),e(A,ie),e(ie,hs),e(A,Zs),e(A,ae),e(ae,bs),e(g,Vs),e(g,H),e(H,N),e(N,Je),e(Je,js),e(N,Bs),e(N,re),e(re,Gs),e(N,Cs),e(N,fe),e(fe,vs),e(H,Ds),e(H,P),e(P,ce),e(ce,Rs),e(P,$s),e(P,ne),e(ne,Ws),e(P,Xs),e(P,de),e(de,ks),e(H,Qs),e(H,x),e(x,Te),e(Te,As),e(x,Hs),e(x,ue),e(ue,Ns),e(x,Ps),e(x,me),e(me,xs),r(l,Se,J),V(L,l,J),r(l,Fe,J),r(l,Tl,J),e(Tl,Ss),r(l,Oe,J),r(l,q,J),e(q,Fs),e(q,Me),e(Me,Os),e(q,Ys),r(l,Ye,J),r(l,R,J),e(R,El),e(El,we),e(we,zs),e(El,gs),e(R,Ls),e(R,ul),e(ul,qs),e(ul,Ue),e(Ue,Ks),e(ul,lo),e(R,eo),e(R,ml),e(ml,to),e(ml,_e),e(_e,so),e(ml,oo),r(l,ze,J),r(l,Il,J),e(Il,po),r(l,ge,J),V(Ml,l,J),r(l,Le,J),r(l,hl,J),e(hl,io),r(l,qe,J),V(wl,l,J),Ke=!0},p(l,[J]){const ye={};J&2&&(ye.$$scope={dirty:J,ctx:l}),T.$set(ye);const S={};J&2&&(S.$$scope={dirty:J,ctx:l}),L.$set(S)},i(l){Ke||(j(T.$$.fragment,l),j(el.$$.fragment,l),j(tl.$$.fragment,l),j(sl.$$.fragment,l),j(ol.$$.fragment,l),j(pl.$$.fragment,l),j(al.$$.fragment,l),j(cl.$$.fragment,l),j(dl.$$.fragment,l),j(L.$$.fragment,l),j(Ml.$$.fragment,l),j(wl.$$.fragment,l),Ke=!0)},o(l){B(T.$$.fragment,l),B(el.$$.fragment,l),B(tl.$$.fragment,l),B(sl.$$.fragment,l),B(ol.$$.fragment,l),B(pl.$$.fragment,l),B(al.$$.fragment,l),B(cl.$$.fragment,l),B(dl.$$.fragment,l),B(L.$$.fragment,l),B(Ml.$$.fragment,l),B(wl.$$.fragment,l),Ke=!1},d(l){t(n),l&&t(E),l&&t(d),l&&t(I),G(T,l),l&&t(m),l&&t(M),l&&t(Ee),l&&t(O),l&&t(Ie),l&&t(ll),l&&t(he),l&&t(w),l&&t(Ze),G(el,l),l&&t(be),l&&t(U),l&&t(Ve),G(tl,l),l&&t(je),l&&t(_l),l&&t(Be),l&&t(Q),G(sl),l&&t(Ge),l&&t(_),l&&t(Ce),G(ol,l),l&&t(ve),l&&t(v),l&&t(De),G(pl,l),l&&t(Re),l&&t(z),l&&t($e),G(al,l),l&&t(We),l&&t(Jl),l&&t(Xe),l&&t(h),l&&t(ke),l&&t(D),l&&t(Qe),G(cl,l),l&&t(Ae),l&&t(y),l&&t(He),G(dl,l),l&&t(Ne),l&&t(yl),l&&t(Pe),l&&t(g),l&&t(Se),G(L,l),l&&t(Fe),l&&t(Tl),l&&t(Oe),l&&t(q),l&&t(Ye),l&&t(R),l&&t(ze),l&&t(Il),l&&t(ge),G(Ml,l),l&&t(Le),l&&t(hl),l&&t(qe),G(wl,l)}}}const Up={local:"",sections:[{local:"",title:"\uD30C\uC774\uD504\uB77C\uC778 \uCD08\uAE30\uD654"},{local:"forward-pass",title:"Forward pass \uC815\uC758"},{local:"",title:"\uD30C\uC774\uD504\uB77C\uC778 \uACF5\uC720"},{local:"",title:"\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC740 \uC5B4\uB5BB\uAC8C \uC791\uB3D9\uD558\uB098\uC694?"}],title:"\uCEE4\uBBA4\uB2C8\uD2F0 \uD30C\uC774\uD504\uB77C\uC778\uC5D0 \uAE30\uC5EC\uD558\uB294 \uBC29\uBC95"};function _p(Ul){return Tp(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Zp extends fp{constructor(n){super();cp(this,n,_p,wp,np,{})}}export{Zp as default,Up as metadata};
