code: def _evaluate(self, val_iter: data_io.BaseParallelSampleIter, val_metric: mx.metric.EvalMetric):
          
          val_iter.reset()
          val_metric.reset()
          self.model.evaluate(val_iter, val_metric)
docs: Evaluates the model on the validation data and updates the validation metric(s).