class_docstr: Apply a function on the output of a SessionCreator. Can be used to create a debug session.
  
  Note:
  Since TF 1.6, debug session may not work properly with Monitored session.
  This is a tensorflow bug. To use tfdbg, use the :class:`TFLocalCLIDebugHook` callback instead.
class_docstr_tok: ["Apply","a","function","on","the","output","of","a","SessionCreator",".","Can","be","used","to","create","a","debug","session",".","Note",":","Since","TF","1.6",",","debug","session","may","not","work","properly","with","Monitored","session",".","This","is","a","tensorflow","bug",".","To","use","tfdbg",",","use","the",":","class",":","`","TFLocalCLIDebugHook","`","callback","instead","."]
code: def create_session(self):
      sess = self._creator.create_session()
      return self._func(sess)
  
file_path: tensorpack/tensorpack/tfutils/sesscreate.py
imports: from ..compat import tfv1
  from ..utils import logger
  from .common import get_default_sess_config
label_desc: Use image node_id 2 for calling the SessionCreatorAdapter obj's underlying member method code with example usage: obj.create_session() and returns: self