code: def test_init(self):
      module_loss_cfg = dict(type="CEModuleLoss")
      decoder = SequenceAttentionDecoder(
          dictionary=self.dict_cfg,
          module_loss=module_loss_cfg,
          return_feature=False,
      )
      self.assertIsInstance(decoder.prediction, torch.nn.Linear)
  
file_path: mmocr/tests/test_models/test_textrecog/test_decoders/test_sequence_attention_decoder.py
imports: from unittest import TestCase
  import torch
  from mmengine.structures import LabelData
  from mmocr.models.textrecog.decoders import SequenceAttentionDecoder
  from mmocr.structures import TextRecogDataSample
label_desc: Use image node_id 2 for calling the TestSequenceAttentionDecoder obj's underlying member method code with example usage: obj.test_init() without return types