span><span class="nb">bool</span><span class="p">,</span> <span class="n">Tensor</span><span class="p">]]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Tensor</span><span class="p">:</span>
        <span class="n">is_signed</span> <span class="o">=</span> <span class="n">signed</span> <span class="k">if</span> <span class="n">signed</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <s