ort">
<h2>Export the backbone using torch.export<a class="headerlink" href="#export-the-backbone-using-torch-export" title="Permalink to this heading">¶</a></h2>
<p>Define the dummy inputs and their respective dynamic shapes. We export the transformer backbone with dynamic shapes with a <code class="docutils literal notranslate"><span class="pre">batch_size=2</span></code>
due to <a class="reference external" href="https://docs.google.com/document/d/16VPOa3d-Liikf48teAOmxLc92rgvJdfosIy-yoT38Io/edit?fbclid=