ou may want to consolidate such a simple model into a single module but we can see the composability of PyTorch here</p>
</div></blockquote>
<p>From here are two pathways for going from PyTorch Python code to TorchScript code: Tracing and Scripting.</p>
<p>Tracing follows the path of execution when the module is called and records what happens.
To trace an instance of our LeNet module, we can call <code class="docutils literal notranslate"><span class="pre">torch.jit.trace</span></code> with an example inpu