cript compiler on our LeNet module by calling <code class="docutils literal notranslate"><span class="pre">torch.jit.script</span></code></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">torch</span>

<span class="n">model</span> <span class="o">=</span> <span class="n">LeNet</span><span class="p">()</span>
<span class="n">script_model</span> <span class="o">=</span> <span class="n">torch</span><span class="o">.</span><spa