docstr: Traverse all teacher wrappers and execute ModuleWrapper.unwrap()
docstr_tok: ["Traverse","all","teacher","wrappers","and","execute","ModuleWrapper.unwrap","(",")"]
code: def unwrap_teacher_model(self):
      """
      Traverse all teacher wrappers and execute ModuleWrapper.unwrap()
      """
      if self._teacher_is_wrapped is False:
          warn_msg = (
              "The bound model is not wrapped, can not unwrap it."
          )
          _logger.warning(warn_msg)
      for _, wrapper in self._teacher_module_wrappers.items():
          wrapper.unwrap()
      self._teacher_is_wrapped = False
  
imports: from __future__ import annotations
  from collections import defaultdict
  import logging
  from typing import Any, Callable, Dict, List, overload
  import torch
  import torch.nn.functional
  from torch.utils._pytree import tree_map
  from ..base.compressor import Compressor, Distiller, _DISTILLATION_TARGET_SPACES
  from ..base.wrapper import ModuleWrapper, register_wrappers
  from ..utils import Evaluator, _EVALUATOR_DOCSTRING
label_desc: Use image node_id 9 for calling the TeacherModelBasedDistiller obj's underlying member method code with example usage: obj.unwrap_teacher_model() without return types