lass="o">.</span><span class="n">shape</span>
    <span class="n">H</span> <span class="o">=</span> <span class="nb">int</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">ceil</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">sqrt</span><span class="p">(</span><span class="n">N</span><span class="p">)))</span>
    <span class="n">W</span> <span class="o">=</span> <span class="nb">int</span><span class="p">(</span><span