class_docstr: Debugger V2 Plugin for TensorBoard.
class_docstr_tok: ["Debugger","V2","Plugin","for","TensorBoard","."]
code: def _data_provider(self):
      if self._underlying_data_provider is not None:
          return self._underlying_data_provider
      with self._data_provider_init_lock:
          if self._underlying_data_provider is not None:
              return self._underlying_data_provider
          # TODO(cais): Implement factory for DataProvider that takes into account
          # the settings.
          dp = debug_data_provider.LocalDebuggerV2DataProvider(
              self._logdir
          )
          self._underlying_data_provider = dp
          return dp
  
imports: import threading
  from werkzeug import wrappers
  from tensorboard import errors
  from tensorboard import plugin_util
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.debugger_v2 import debug_data_provider
  from tensorboard.backend import http_util
label_desc: Use image node_id 2 for calling the DebuggerV2Plugin obj's underlying member method code with example usage: obj._data_provider() and returns: self, dp, self