class_docstr: Trains an instance of the Model class.
docstr: Run once training is finished to compute final test accuracy.
docstr_tok: ["Run","once","training","is","finished","to","compute","final","test","accuracy","."]
code: def _compute_final_accuracies(self, iteration: int) -> dict:
      """Run once training is finished to compute final test accuracy."""
      task_config = self.hparams.task_config
      task_type = task_config.task_type
  
      if iteration >= task_config[task_type].epochs - 1:
          test_acc = self.eval_child_model("test", iteration)
          pass
      else:
          test_acc = {"test_acc": 0}
      logger.info("Test acc: {}".format(test_acc))
      return test_acc
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import time
  import six
  import os
  from typing import Dict, List, Optional, Union, Tuple
  from auto_augment.autoaug.utils import log
  import logging
  import auto_augment
label_desc: Use image node_id 10 for calling the HubFitterClassifer obj's underlying member method code with example usage: obj._compute_final_accuracies(iteration) and returns: test_acc