        Draw samples from the distribution.</span>

<span class="sd">        Parameters:</span>
<span class="sd">            size (tuple of int): shape of the samples</span>
<span class="sd">        """</span>
        <span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">size</span><span class="p">)</span> <span class="o">==</span> <span class="mi">1</span> <span class="ow">and</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">size</span>