from tensorflow.contrib.learn.python.learn.graph_actions import evaluate

      eval_dict = self._get_eval_ops(features, targets, metrics or
                                     self._get_default_metric_functions())
      eval_results, _ = evaluate(
          graph=g,
