validation_dataset</span><span class="p">,</span> <span class="kc">False</span><span class="p">,</span> <span class="n">grad_embedding_type</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">grad_embedding</span><span class="p">)</span><span class="o">.</span><span class="n">sum</span><span class="p">(</span><span class="n">dim</span><span class="o">=</span><span class="mi">0</span><span class="p">)</span>
            <span class="n">num_target_gradient_summed_