
<span class="sd">                results = trt_compiled_module(*inputs)</span>

<span class="sd">    &quot;&quot;&quot;</span>
    <span class="c1"># Fetch existing safe mode and set new mode for Python</span>
    <span class="k">global</span> <span class="n">_PY_RT_MULTI_DEVICE_SAFE_MODE</span>
    <span class="n">old_mode</span> <span class="o">=</span> <span class="n">_PY_RT_MULTI_DEVICE_SAFE_MODE</span>
    <span class="n">_PY_RT_MULTI_DEVICE_SAFE_MODE</span> <span class="o">=</span> <span class="n">mo