code: def change_input_channels(
      self, input_channels: int, mode="auto", **kwargs
  ):
      self.encoder.conv1 = make_n_channel_input(
          self.encoder.conv1, input_channels, mode, **kwargs
      )
      return self
  
file_path: pytorch-toolbelt/pytorch_toolbelt/modules/encoders/timm/res2net.py
imports: import torch
  from .common import GenericTimmEncoder
  from ..common import make_n_channel_input
  from ...activations import ACT_RELU, get_activation_block
label_desc: Use image node_id 2 for calling the TimmRes2Next50Encoder obj's underlying member method code with example usage: obj.change_input_channels(input_channels, mode) and returns: self