code: def test04_batch_search_by_vectors(self):
      index = HnswIndex(self.dim)
      index.load(self.model_fname)
      T = [
          [random.gauss(0, 1) for z in xrange(self.dim)]
          for y in xrange(100)
      ]
      batch_res = index.batch_search_by_vectors(
          T, 10, num_threads=12, include_distances=True
      )
      normal_res = [
          index.search_by_vector(t, 10, include_distances=True)
          for t in T
      ]
      self.assertEqual(batch_res, normal_res)
  
imports: import unittest
  import random
  import os
  from n2 import HnswIndex
label_desc: Use image node_id 6 for calling the BasicTest obj's underlying member method code with example usage: obj.test04_batch_search_by_vectors() without return types