er and generates an equivalent TorchScript program. The difference is that since tracing
is following the execution of your module, it cannot pick up control flow for instance. By working from the Python code, the compiler can
include these components. We can run the script 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 notransla