pan>
    <span class="n">img_HWhwc</span> <span class="o">=</span> <span class="n">img_nhwc</span><span class="o">.</span><span class="n">reshape</span><span class="p">(</span><span class="n">H</span><span class="p">,</span> <span class="n">W</span><span class="p">,</span> <span class="n">h</span><span class="p">,</span> <span class="n">w</span><span class="p">,</span> <span class="n">c</span><span class="p">)</span>
    <span class="n">img_HhWwc</span> <span class="o">=</span> <span class="n">img_HWhwc</sp