code: def forward(self, image):
      stn_input = paddle.nn.functional.interpolate(
          image, self.tps_inputsize, mode="bilinear", align_corners=True
      )
      stn_img_feat, ctrl_points = self.stn_head(stn_input)
      x, _ = self.tps(image, ctrl_points)
      return x
  
file_path: PaddleOCR/ppocr/modeling/transforms/stn.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import paddle
  from paddle import nn, ParamAttr
  from paddle.nn import functional
  import numpy
  from .tps_spatial_transformer import TPSSpatialTransformer
label_desc: Use image node_id 2 for calling the STN_ON obj's underlying member method code with example usage: obj.forward(image) and returns: x