iv>
    </div>

    <div class="ref-description">
    <p>Specifies an evaluation function adapted to the variational autoencoder. It combines
a base reconstruction error and the Kullback-Leibler divergence between the learned
distribution and the true latent posterior.</p>
    </div>

    <div id="ref-usage">
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">loss_variational</span><span class="op">(</span><span class="va">reconstruction_loss</span><span class="op">)</span></