code: def create_layer_basic(in_chan, out_chan, bnum, stride=1):
      layers = [BasicBlock(in_chan, out_chan, stride=stride)]
      for i in range(bnum - 1):
          layers.append(BasicBlock(out_chan, out_chan, stride=1))
      return nn.Sequential(*layers)
  
file_path: insightface/reconstruction/ostec/external/graphonomy/FaceHairMask/ParsingResnet.py
imports: import torch.nn
  import torch.nn.functional
  import torch.utils.model_zoo
label_desc: Use image node_id 2 for calling a global function with example usage: create_layer_basic(in_chan, out_chan, bnum, stride) and returns: nn