[BUG] Error in IR Parsing

Wilbur: <p>===========================================<br>
IR was parsed incorrectly in my model. This figure is the IR before optimization.<br>
<div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/c/d/cd9caeb842b024e2f3ba12ab4ca8a8f9c322eef6.png" data-download-href="https://discuss.pytorch.org/uploads/default/cd9caeb842b024e2f3ba12ab4ca8a8f9c322eef6" title="IR"><img src="https://discuss.pytorch.org/uploads/default/optimized/3X/c/d/cd9caeb842b024e2f3ba12ab4ca8a8f9c322eef6_2_690x143.png" alt="IR" data-base62-sha1="tkVztkVCUqcsT3niSsnIuz9YTGu" width="690" height="143" srcset="https://discuss.pytorch.org/uploads/default/optimized/3X/c/d/cd9caeb842b024e2f3ba12ab4ca8a8f9c322eef6_2_690x143.png, https://discuss.pytorch.org/uploads/default/optimized/3X/c/d/cd9caeb842b024e2f3ba12ab4ca8a8f9c322eef6_2_1035x214.png 1.5x, https://discuss.pytorch.org/uploads/default/optimized/3X/c/d/cd9caeb842b024e2f3ba12ab4ca8a8f9c322eef6_2_1380x286.png 2x" data-dominant-color="EFEADA"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">IR</span><span class="informations">1607×335 60.2 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div><br>
Node Sub_222 takes the output of node Sub_218 as input. However, according to model definition, node Sub_222 should take the output of node Sub_75 as input.</p>
<p>By comparing the output of onnxruntime and glow, we can see that their outputs are distinct.<br>
Output of glow:</p>
<pre><code class="lang-auto">[-0.739504, -1.052964, -0.534131, 5.725131, -0.620840, 0.500555, -0.534597, -0.752423, -1.010234, -0.980949, -0.205358, -0.453785, -0.832007, -0.688429, -0.922111, -0.895277, -0.868738, -0.921780, 6.306086, -0.518604, -0.213386, -0.011572, -0.820208, -0.743337, -0.906267, -0.893010, -0.847203, -0.903244, 5.790097, -0.451872, 5.332690, -0.714664, -0.335419, -0.657884, -0.790886, -0.894692, -0.879946, -0.748844, -0.098925, -0.211423]
</code></pre>
<p>Output of onnxruntime:</p>
<pre><code class="lang-auto">[-7.4040246e-01 -1.0558734e+00 -5.1735407e-01  5.7158279e+00
 -6.1898971e-01  4.8943144e-01 -5.3290629e-01 -7.5109071e-01
 -1.0089742e+00 -9.7962463e-01 -2.0205033e-01 -5.6859511e-01
 -8.3097059e-01 -6.0609245e-01 -9.2153203e-01 -8.8401651e-01
 -8.7050164e-01 -9.2254686e-01  6.3326435e+00 -5.2634275e-01
 -2.1332517e-01 -3.9393596e-02 -8.1680071e-01 -7.4010015e-01
 -9.0249908e-01 -9.0031099e-01 -8.4391767e-01 -8.9972508e-01
  5.8119040e+00 -4.5583522e-01  5.3716774e+00 -7.6865733e-01
 -3.2050097e-01 -6.3881731e-01 -7.8147006e-01 -8.8674474e-01
 -8.7157524e-01 -7.5937271e-01  1.0185465e-03 -3.4555185e-01]
</code></pre>
<h1><a name="system-info-operating-system-ubuntu-1804lts-glow-build-from-github-commit-07a82bd9fe97dfd2e8ea0f4742dce5ce86177c2b-1" class="anchor" href="#system-info-operating-system-ubuntu-1804lts-glow-build-from-github-commit-07a82bd9fe97dfd2e8ea0f4742dce5ce86177c2b-1"></a>=================================================<br>
System Info:<br>
Operating System: Ubuntu 18.04LTS<br>
Glow: build from github commit 07a82bd9fe97dfd2e8ea0f4742dce5ce86177c2b</h1>
<p>How to reproduce:<br>
Follow README.txt in this link to reproduce</p><aside class="onebox googledrive" data-onebox-src="https://drive.google.com/file/d/1Q8dwmZcK7ezFE6Sktf015hRoyaz8L5mm/view?usp=sharing">
  <header class="source">

      <a href="https://drive.google.com/file/d/1Q8dwmZcK7ezFE6Sktf015hRoyaz8L5mm/view?usp=sharing" target="_blank" rel="noopener nofollow ugc">drive.google.com</a>
  </header>

  <article class="onebox-body">
      <a href="https://drive.google.com/file/d/1Q8dwmZcK7ezFE6Sktf015hRoyaz8L5mm/view?usp=sharing" target="_blank" rel="noopener nofollow ugc"><span class="googledocs-onebox-logo g-drive-logo"></span></a>



<h3><a href="https://drive.google.com/file/d/1Q8dwmZcK7ezFE6Sktf015hRoyaz8L5mm/view?usp=sharing" target="_blank" rel="noopener nofollow ugc">model.zip</a></h3>

<p>Google Drive file.</p>

  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>