code: def __init__(self, max_seq_len, dictionary) -> None:
      pass
  
file_path: mmocr/tests/test_models/test_textrecog/test_decoders/test_base_decoder.py
imports: import os.path
  import tempfile
  from unittest import TestCase, mock
  from mmocr.models.common.dictionary import Dictionary
  from mmocr.models.textrecog.decoders import BaseDecoder
  from mmocr.registry import MODELS, TASK_UTILS
  from mmocr.testing import create_dummy_dict_file
label_desc: Use image node_id 1 to create a new Tmp object  with example: obj = Tmp(max_seq_len, dictionary)