code: def generate_sequences(sequence_length, num_sequences):
      for i in range(num_sequences):
          seq = [
              np.random.randint(10)
              for x in range(np.random.randint(1, sequence_length + 1))
          ]
          yield (seq, seq)
  
file_path: deepchem/deepchem/models/tests/test_seqtoseq.py
imports: import pytest
  import deepchem
  import numpy
  import unittest
label_desc: Use image node_id 1 for calling a global function with example usage: generate_sequences(sequence_length, num_sequences) without return types