class_docstr: Command-line-interface debugger hook.
  
  Can be used as a hook for `tf.compat.v1.train.MonitoredSession`s and
  `tf.estimator.Estimator`s. Provides a substitute for
  `tfdbg.LocalCLIDebugWrapperSession` in cases where the session is not directly
  available.
class_docstr_tok: ["Command-line-interface","debugger","hook",".","Can","be","used","as","a","hook","for","`","tf.compat.v1.train.MonitoredSession","`","s","and","`","tf.estimator.Estimator","`","s",".","Provides","a","substitute","for","`","tfdbg.LocalCLIDebugWrapperSession","`","in","cases","where","the","session","is","not","directly","available","."]
docstr: Create a local debugger command-line interface (CLI) hook.
  
  Args:
    ui_type: (`str`) requested user-interface type. Currently supported:
      (readline).
    dump_root: (`str`) optional path to the dump root directory. Must be a
      directory that does not exist or an empty directory. If the directory
      does not exist, it will be created by the debugger core during debug
      `run()` calls and removed afterwards.
    thread_name_filter: Regular-expression white list for threads on which the
      wrapper session will be active. See doc of `BaseDebugWrapperSession` for
      more details.
    config_file_path: Optional override to the default configuration file
      path, which is at `${HOME}/.tfdbg_config`.
docstr_tok: ["Create","a","local","debugger","command-line","interface","(","CLI",")","hook",".","Args",":","ui_type",":","(","`","str","`",")","requested","user-interface","type",".","Currently","supported",":","(","readline",")",".","dump_root",":","(","`","str","`",")","optional","path","to","the","dump","root","directory",".","Must","be","a","directory","that","does","not","exist","or","an","empty","directory",".","If","the","directory","does","not","exist",",","it","will","be","created","by","the","debugger","core","during","debug","`","run","(",")","`","calls","and","removed","afterwards",".","thread_name_filter",":","Regular-expression","white","list","for","threads","on","which","the","wrapper","session","will","be","active",".","See","doc","of","`","BaseDebugWrapperSession","`","for","more","details",".","config_file_path",":","Optional","override","to","the","default","configuration","file","path",",","which","is","at","`","$","{","HOME","}","\/.tfdbg_config","`","."]
code: def __init__(
      self,
      ui_type="readline",
      dump_root=None,
      thread_name_filter=None,
      config_file_path=None,
  ):
      """Create a local debugger command-line interface (CLI) hook.
  
      Args:
        ui_type: (`str`) requested user-interface type. Currently supported:
          (readline).
        dump_root: (`str`) optional path to the dump root directory. Must be a
          directory that does not exist or an empty directory. If the directory
          does not exist, it will be created by the debugger core during debug
          `run()` calls and removed afterwards.
        thread_name_filter: Regular-expression white list for threads on which the
          wrapper session will be active. See doc of `BaseDebugWrapperSession` for
          more details.
        config_file_path: Optional override to the default configuration file
          path, which is at `${HOME}/.tfdbg_config`.
      """
  
      self._ui_type = ui_type
      self._dump_root = dump_root
      self._thread_name_filter = thread_name_filter
      self._session_wrapper = None
      self._pending_tensor_filters = {}
      self._config_file_path = config_file_path
  
imports: from tensorflow.core.protobuf import config_pb2
  from tensorflow.python.debug.lib import debug_utils
  from tensorflow.python.debug.wrappers import dumping_wrapper
  from tensorflow.python.debug.wrappers import framework
  from tensorflow.python.debug.wrappers import grpc_wrapper
  from tensorflow.python.debug.wrappers import local_cli_wrapper
  from tensorflow.python.training import session_run_hook
label_desc: Use image node_id 1 to create a new LocalCLIDebugHook object from inherited base classes: session_run_hook with example: obj = LocalCLIDebugHook(ui_type, dump_root, thread_name_filter, config_file_path)