class_docstr: Create a tensor ouput configuration object for debugging visualizations on TensorBoard.
class_docstr_tok: ["Create","a","tensor","ouput","configuration","object","for","debugging","visualizations","on","TensorBoard","."]
docstr: Generate a request dictionary using the instances attributes.
  
  Returns:
      dict: An portion of an API request as a dictionary.
code: def _to_request_dict(self):
      """Generate a request dictionary using the instances attributes.
  
      Returns:
          dict: An portion of an API request as a dictionary.
  
      """
      tensorboard_output_config_request = {
          "S3OutputPath": self.s3_output_path
      }
  
      if self.container_local_output_path is not None:
          tensorboard_output_config_request[
              "LocalPath"
          ] = self.container_local_output_path
  
      return tensorboard_output_config_request
  
imports: from __future__ import absolute_import
  from abc import ABC
  from typing import Union, Optional, List, Dict
  import attr
  import smdebug_rulesconfig
  from sagemaker import image_uris
  from sagemaker.utils import build_dict, name_from_base
  from sagemaker.workflow.entities import PipelineVariable
  from sagemaker.debugger.profiler_constants import DETAIL_PROF_PROCESSING_DEFAULT_INSTANCE_TYPE, DETAIL_PROF_PROCESSING_DEFAULT_VOLUME_SIZE
label_desc: Use image node_id 2 for calling the TensorBoardOutputConfig obj's underlying member method code with example usage: obj._to_request_dict() and returns: tensorboard_output_config_request