code: def get_config(self):
      return SwiftFormerConfig(
          depths=self.layer_depths,
          embed_dims=self.embed_dims,
          mlp_ratio=4,
          downsamples=[True, True, True, True],
          hidden_act="gelu",
          num_labels=self.num_labels,
          down_patch_size=3,
          down_stride=2,
          down_pad=1,
          drop_rate=0.0,
          drop_path_rate=0.0,
          use_layer_scale=True,
          layer_scale_init_value=1e-5,
      )
  
imports: import copy
  import unittest
  from transformers import PretrainedConfig, SwiftFormerConfig
  from transformers.testing_utils import require_torch, require_vision, slow, torch_device
  from transformers.utils import cached_property, is_torch_available, is_vision_available
  from ...test_configuration_common import ConfigTester
  from ...test_modeling_common import ModelTesterMixin, floats_tensor, ids_tensor
  from ...test_pipeline_mixin import PipelineTesterMixin
label_desc: Use image node_id 3 for calling the SwiftFormerModelTester obj's underlying member method code with example usage: obj.get_config() and returns: SwiftFormerConfig