">&#39;</span><span class="p">,</span> <span class="n">v</span><span class="p">)</span>
                <span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">v</span><span class="p">,</span> <span class="n">torch</span><span class="o">.</span><span class="n">Tensor</span><span class="p">):</span>
                    <span class="n">store_l1_l2</span><span class="p">(</span><span class="sa">f</span><span class="s1">&#39;optim.</span><span class="si">{</span><span