code: def setUp(self):
      self.feat = torch.randn(1, 512, 8, 25)
      data_info = TextRecogDataSample()
      data_info.set_metainfo(dict(valid_ratio=1.0))
      self.data_info = [data_info]
  
imports: import unittest
  import torch
  from mmocr.models.textrecog.encoders import SATRNEncoder
  from mmocr.structures import TextRecogDataSample
label_desc: Use image node_id 1 for calling the TestSATRNEncoder obj's underlying member method code with example usage: obj.setUp() without return types