pan><span class="n">axis</span> <span class="o">=</span> <span class="n">avg_axis</span><span class="p">,</span> <span class="n">keepdims</span> <span class="o">=</span> <span class="kc">True</span><span class="p">)</span>


    <span class="k">if</span> <span class="n">out</span> <span class="o">==</span> <span class="s1">&#39;DEi&#39;</span><span class="p">:</span>
        <span class="k">return</span> <span class="n">DEi</span>
    <span class="k">elif</span> <span class="n">out</span> <span class="o">==