sifer</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>
<span class="linenos">41</span>        <span class="k">return</span> <span class="n">x</span>
</pre></div>
</div>
<p>.</p>
<blockquote>
<div><p>Obviously you 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