code: def get_config(self):
      return ResNetConfig(
          num_channels=self.num_channels,
          embeddings_size=self.embeddings_size,
          hidden_sizes=self.hidden_sizes,
          depths=self.depths,
          hidden_act=self.hidden_act,
          num_labels=self.num_labels,
          image_size=self.image_size,
      )
  
imports: from __future__ import annotations
  import inspect
  import unittest
  import numpy
  from transformers import ResNetConfig
  from transformers.testing_utils import require_tf, require_vision, slow
  from transformers.utils import cached_property, is_tf_available, is_vision_available
  from ...test_configuration_common import ConfigTester
  from ...test_modeling_tf_common import TFModelTesterMixin, floats_tensor, ids_tensor
  from ...test_pipeline_mixin import PipelineTesterMixin
label_desc: Use image node_id 3 for calling the TFResNetModelTester obj's underlying member method code with example usage: obj.get_config() and returns: ResNetConfig