|
<span class="k">def</span> <span class="nf">_normalise</span><span class="p">(</span><span class="n">x</span><span class="p">):</span>
|
|
<span class="k">def</span> <span class="nf">_normalise</span><span class="p">(</span><span class="n">x</span><span class="p">):</span>
|
|
<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">):</span>
|
|
<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">):</span>
|