<div class="output">

<div class="output_area">


<div class="output_markdown rendered_html output_subarea ">
<h4 id="get_loss" class="doc_header"><code>get_loss</code><a href="https://github.com/mnpinto/dl_pipeline/tree/master/dl_pipeline/vision/losses.py#L78" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>get_loss</code>(<strong><code>loss_func</code></strong>, <strong><code>before</code></strong>=<em><code>&lt;lambda&gt;</code></em>, <strong><code>after</code></strong>=<em>