code: def _default_eval_iter_func(self, model, batch_data):
      return np.squeeze(model.serve(batch_data)["outputs"])
  
file_path: openrec/openrec/tf1/model_trainer.py
imports: from __future__ import print_function
  from openrec.tf1.utils.evaluators import EvalManager
  from termcolor import colored
  import sys
  import numpy
label_desc: Use image node_id 3 for calling the ModelTrainer obj's underlying member method code with example usage: obj._default_eval_iter_func(model, batch_data) and returns: np