def METHOD_NAME(self):
    r"""
    Actual tensorboard object. To use TensorBoard features in your
    :class:`~pytorch_lightning.core.lightning.LightningModule` do the following.
    Example::
        self.logger.experiment.some_tensorboard_function()
    """
    if self._experiment is not None:
        return self._experiment
    assert rank_zero_only.rank == 0, "tried to init log dirs in non global_rank=0"
    try:
        from torch.utils.tensorboard import SummaryWriter
    except ImportError:
        raise ImportError(
            'Please run "pip install future tensorboard" to install '
            "the dependencies to use torch.utils.tensorboard "
            "(applicable to PyTorch 1.1 or higher)"
        ) from None
    self._experiment = SummaryWriter(log_dir=self.log_dir, **self._kwargs)
    return self._experiment