an class="p">]</span> <span class="o">+=</span> <span class="n">x_i</span>

        <span class="k">return</span> <span class="n">x</span>    
    
<div class="viewcode-block" id="GradMatchActive.select"><a class="viewcode-back" href="../../../ActStrategy/distil.active_learning_strategies.html#distil.active_learning_strategies.gradmatch_active.GradMatchActive.select">[docs]</a>    <span class="k">def</span> <span class="nf">select</span><span class="p">(</span><span class="bp">self</span><span class="p">,</