loader</span><span class="p">):</span>
        <span class="sd">&quot;&quot;&quot;Evaluates the performance of the network on unseen validation data.</span>
<span class="sd">        </span>
<span class="sd">        :param val_loader:      the iterator that feeds in the validation data</span>
<span class="sd">        :type  val_loader:      torch.utils.data.dataloader.DataLoader</span>

<span class="sd">        :return:                the error metric for that epoch</span>
<span class="sd">        :rtype:   