code: def __init__(
      self,
      backbone=None,
      num_channels=3,
      features_only=True,
      use_pretrained_backbone=True,
      out_indices=None,
      freeze_batch_norm_2d=False,
      **kwargs,
  ):
      super().__init__(**kwargs)
      self.backbone = backbone
      self.num_channels = num_channels
      self.features_only = features_only
      self.use_pretrained_backbone = use_pretrained_backbone
      self.use_timm_backbone = True
      self.out_indices = (
          out_indices if out_indices is not None else (-1,)
      )
      self.freeze_batch_norm_2d = freeze_batch_norm_2d
  
imports: from ...configuration_utils import PretrainedConfig
  from ...utils import logging
label_desc: Use image node_id 1 to create a new TimmBackboneConfig object from inherited base classes: PretrainedConfig with example: obj = TimmBackboneConfig(backbone, num_channels, features_only, use_pretrained_backbone, out_indices, freeze_batch_norm_2d)