code: def __init__(
      self, in_channels=512, use_v2s=True, use_s2v=True, **kwargs
  ):
      super(RFAdaptor, self).__init__()
      if use_v2s is True:
          self.neck_v2s = V2SAdaptor(in_channels=in_channels, **kwargs)
      else:
          self.neck_v2s = None
      if use_s2v is True:
          self.neck_s2v = S2VAdaptor(in_channels=in_channels, **kwargs)
      else:
          self.neck_s2v = None
      self.out_channels = in_channels
  
file_path: PaddleOCR/ppocr/modeling/necks/rf_adaptor.py
imports: import paddle
  import paddle.nn
  from paddle.nn.initializer import TruncatedNormal, Constant, Normal, KaimingNormal
label_desc: Use image node_id 1 to create a new RFAdaptor object from inherited base classes: nn with example: obj = RFAdaptor(in_channels, use_v2s, use_s2v)