ass="n">x</span><span class="p">:</span> <span class="n">Tensor</span><span class="p">):</span>
        <span class="c1"># requires ONNX opset &gt;= 12</span>
        <span class="n">positive_mask</span> <span class="o">=</span> <span class="n">g</span><span class="o">.</span><span class="n">op</span><span class="p">(</span><span class="s1">&#39;GreaterOrEqual&#39;</span><span class="p">,</span> <span class="n">x</span><span class="p">,</span> <span class="n">torch</span><span class="o">.</span><span class=