code: def make_binary_dataset(d, nb, nt, nq):
      assert d % 8 == 0
      x = np.random.randint(
          256, size=(nb + nq + nt, int(d / 8))
      ).astype("uint8")
      return x[:nt], x[nt:-nq], x[-nq:]
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import numpy
  import unittest
  import faiss
  import os
  import tempfile
label_desc: Use image node_id 1 for calling a global function with example usage: make_binary_dataset(d, nb, nt, nq) and returns: x,  x,  x