    <div class='code'>
            <div class="highlight"><pre><span class="lineno">50</span>        <span class="k">if</span> <span class="n">sampler_name</span> <span class="o">==</span> <span class="s1">&#39;ddim&#39;</span><span class="p">:</span>
<span class="lineno">51</span>            <span class="bp">self</span><span class="o">.</span><span class="n">sampler</span> <span class="o">=</span> <span class="n">DDIMSampler</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span>