code: def gen_vector(x, vec_dim):
      np.random.seed(
          x
      )  # make sure get same vectors for each specific index
      return (
          x,
          np.random.rand(vec_dim).astype(np.float32)
          + random.randint(0, 1000) * random.random(),
      )
  
file_path: BigDL/python/friesian/example/recall/generate_test_data.py
imports: from bigdl.friesian.utils import SafePickle
  import string
  import numpy
  import math
  import faiss
  import sys
  import random
  import argparse
label_desc: Use image node_id 3 for calling a global function with example usage: gen_vector(x, vec_dim) and returns: x,  unknown