class_docstr: Creates tensor collections for SageMaker Debugger.
class_docstr_tok: ["Creates","tensor","collections","for","SageMaker","Debugger","."]
docstr: Generate a request dictionary using the parameters initializing the object.
  
  Returns:
      dict: A portion of an API request as a dictionary.
code: def _to_request_dict(self):
      """Generate a request dictionary using the parameters initializing the object.
  
      Returns:
          dict: A portion of an API request as a dictionary.
  
      """
      collection_config_request = {"CollectionName": self.name}
  
      if self.parameters is not None:
          collection_config_request[
              "CollectionParameters"
          ] = self.parameters
  
      return collection_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 5 for calling the CollectionConfig obj's underlying member method code with example usage: obj._to_request_dict() and returns: collection_config_request