code: def lists_of_integers(draw, columns=2, lo=0, hi=ROWS - 1):
      # We call draw to get example values, which we can manipulate.
      # Here we get a list of integers, where each member of the list
      # should be between a min and max value.
      int_list = draw(lists(integers(min_value=lo, max_value=hi)))
      # Now we can use this int list to make an array, and it'll be the arrays
      # that our functions receive.
      # We trim the list, so we're of length divisible by columns.
      int_list = int_list[len(int_list) % columns :]
      # And make the array and reshape it.
      array = numpy.array(int_list, dtype="uint64")
      return array.reshape((-1, columns))
  
file_path: thinc/thinc/tests/layers/test_uniqued.py
imports: import numpy
  import pytest
  from hypothesis import given, settings
  from hypothesis.strategies import composite, integers, lists
  from numpy.testing import assert_allclose
  from thinc.layers import Embed
  from thinc.layers.uniqued import uniqued
label_desc: Use image node_id 1 for calling a global function with example usage: lists_of_integers(draw, columns, lo, hi) and returns: array