original_docstring: Builds a KittiDataset object using the provided configurations
  
          Args:
              base_cfg: a base dataset configuration
              use_defaults: whether to use the default config values
              new_cfg: (optional) a custom dataset configuration, no default
                  values will be used, all config values must be provided
  
          Returns:
              KittiDataset object
          
docstring: Builds a KittiDataset object using the provided configurations
docstring_tokens: Builds a KittiDataset object using the provided configurations
code: def build_kitti_dataset(base_cfg,
                              use_defaults=True,
                              new_cfg=None) -> KittiDataset:
          """Builds a KittiDataset object using the provided configurations
  
          Args:
              base_cfg: a base dataset configuration
              use_defaults: whether to use the default config values
              new_cfg: (optional) a custom dataset configuration, no default
                  values will be used, all config values must be provided
  
          Returns:
              KittiDataset object
          """
          cfg_copy = DatasetBuilder.copy_config(base_cfg)
  
          if use_defaults:
              # Use default values
              text_format.Merge(DatasetBuilder.CONFIG_DEFAULTS_PROTO, cfg_copy)
  
          if new_cfg:
              # Use new config values if provided
              cfg_copy.MergeFrom(new_cfg)
  
          return KittiDataset(cfg_copy)
code_tokens: def build_kitti_dataset ( base_cfg , use_defaults = True , new_cfg = None ) -> KittiDataset : cfg_copy = DatasetBuilder . copy_config ( base_cfg ) if use_defaults : text_format . Merge ( DatasetBuilder . CONFIG_DEFAULTS_PROTO , cfg_copy ) if new_cfg : cfg_copy . MergeFrom ( new_cfg ) return KittiDataset ( cfg_copy )
short_docstring: Builds a KittiDataset object using the provided configurations
short_docstring_tokens: Builds a KittiDataset object using the provided configurations
comment: """Builds a KittiDataset object using the provided configurations
  
          Args:
              base_cfg: a base dataset configuration
              use_defaults: whether to use the default config values
              new_cfg: (optional) a custom dataset configuration, no default
                  values will be used, all config values must be provided
  
          Returns:
              KittiDataset object
          """$SEP$# Use default values$SEP$# Use new config values if provided