class_docstr: For aster or crnn
code: def forward(self, x):
      x0 = self.layer0(x)
      x1 = self.layer1(x0)
      x2 = self.layer2(x1)
      x3 = self.layer3(x2)
      x4 = self.layer4(x3)
      x5 = self.layer5(x4)
  
      cnn_feat = x5.squeeze(2)  # [N, c, w]
      cnn_feat = paddle.transpose(cnn_feat, perm=[0, 2, 1])
      if self.with_lstm:
          rnn_feat, _ = self.rnn(cnn_feat)
          return rnn_feat
      else:
          return cnn_feat
  
file_path: PaddleOCR/ppocr/modeling/backbones/rec_resnet_aster.py
imports: import paddle
  import paddle.nn
  import sys
  import math
label_desc: Use image node_id 3 for calling the ResNet_ASTER obj's underlying member method code with example usage: obj.forward(x) and returns: rnn_feat, cnn_feat