rking-with-torchscript-in-python">
<span id="ts-in-py"></span><h1>Working with TorchScript in Python<a class="headerlink" href="#working-with-torchscript-in-python" title="Permalink to this headline">¶</a></h1>
<p>TorchScript Modules are run the same way you run normal PyTorch modules. You can run the forward pass using the
<code class="docutils literal notranslate"><span class="pre">forward</span></code> method or just calling the module <code class="docutils literal notranslate"><span class="pre">torch_s