<span class="o">=</span> <span class="n">get_shapes</span><span class="p">(</span><span class="n">inp</span><span class="p">[</span><span class="mi">0</span><span class="p">])</span>

        <span class="k">def</span> <span class="nf">is_variable</span><span class="p">(</span><span class="n">inp</span><span class="p">):</span>
            <span class="k">for</span> <span class="n">job</span> <span class="ow">in</span> <span class="n">inp</span><span class="p">[</span><span class="mi">1</span><span class="p