ource_link" style="float:right">[source]</a></h4><blockquote><p><code>top_k_mask</code>(<strong><code>t</code></strong>, <strong><code>n_keep</code></strong>)</p>
</blockquote>
<p>Returns a mask with <code>n_keep</code> ones cooresponding to the largest values in <code>t</code></p>

</div>

</div>

</div>
</div>

</div>
    {% endraw %}

    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

</div>
    {% endraw %}

    {% raw %}
    
<div class="cell border-box-sizing code_cell rendere