pan class="p">)</span>
</pre></div>
</div>
<p>Torch-TensorRT Python API also provides <code class="docutils literal notranslate"><span class="pre">torch_tensorrt.ts.compile</span></code> which accepts a TorchScript module as input and <code class="docutils literal notranslate"><span class="pre">torch_tensorrt.fx.compile</span></code> which accepts a FX GraphModule as input.</p>
</section>


             </article>
             
            </div>
            <footer>
  
    <div class="rst-footer-buttons" r