e>Tensor</code>)</p>
</blockquote>
<p>Computes accuracy with <code>targs</code> when <code>input</code> is bs * n_classes.</p>

</div>

</div>

</div>
</div>

</div>
    {% endraw %}

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

<div class="output_wrapper">
<div class="output">

<div class="output_area">


<div class="output_markdown rendered_html output_subarea ">
<h4 id="dice2d" class="doc_header"><code>dice2d</code><a href="https://github.com/mnpinto/banet/tree/master/banet