 class="o">!=</span> <span class="n">input_dims</span><span class="p">[</span><span class="mi">0</span><span class="p">]:</span>
                    <span class="n">dim_equal_flag</span> <span class="o">=</span> <span class="kc">False</span>
                    <span class="k">break</span>
            <span class="k">if</span> <span class="n">dim_equal_flag</span> <span class="o">==</span> <span class="kc">False</span><span class="p">:</span>
                <span class="k">raise</span> <span class="ne">Exc