code: def __init__(self):
      super().__init__()
  
file_path: fastNLP/tests/models/torch/test_seq2seq_generator.py
imports: import pytest
  from fastNLP.envs.imports import _NEED_IMPORT_TORCH
  from fastNLP import Vocabulary, DataSet
  from fastNLP import Trainer, Accuracy
  from fastNLP import Callback, TorchDataLoader
label_desc: Use image node_id 1 to create a new ExitCallback object from inherited base classes: Callback with example: obj = ExitCallback()