/train.py#L168" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>dice2d</code>(<strong><code>pred</code></strong>, <strong><code>targs</code></strong>, <strong><code>thr</code></strong>=<em><code>0.5</code></em>)</p>
</blockquote>

</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_htm