code: def encoder_layer(in_c, out_c, k=3, s=2, p=1):
      return nn.Sequential(
          nn.Conv2D(in_c, out_c, k, s, p),
          nn.BatchNorm2D(out_c),
          nn.ReLU(),
      )
  
imports: import math
  import paddle
  from paddle import nn
  import paddle.nn.functional
  from paddle.nn import LayerList
  from ppocr.modeling.heads.rec_nrtr_head import TransformerBlock, PositionalEncoding
label_desc: Use image node_id 1 for calling a global function with example usage: encoder_layer(in_c, out_c, k, s, p) and returns: nn