code: def get_example_and_check():
      length = np.random.randint(3, 20)
      return (
          get_single_inference_example(length),
          get_single_inference_example(length + 10),
      )
  
file_path: pytext/pytext/models/test/scripted_seq2seq_generator_test.py
imports: import unittest
  import numpy
  import torch
  from pytext.data.sources.tsv import TSVDataSource
  from pytext.data.tensorizers import initialize_tensorizers, TokenTensorizer
  from pytext.models.embeddings.word_embedding import WordEmbedding
  from pytext.models.seq_models.seq2seq_model import Seq2SeqModel
  from pytext.torchscript.seq2seq.scripted_seq2seq_generator import ScriptedSequenceGenerator
  from pytext.utils.test import import_tests_module
label_desc: Use image node_id 2 for calling a global function with example usage: get_example_and_check() and returns: get_single_inference_example,  get_single_inference_example