code: def gen_vectors(float_vector, rows, dim):
      vectors = []
      if rows > 0:
          if float_vector:
              vectors = gen_float_vectors(rows, dim)
          else:
              vectors = gen_binary_vectors(rows, (dim // 8))
      return vectors
  
imports: import copy
  import json
  import os
  import time
  import numpy
  import pandas
  import random
  from faker import Faker
  from sklearn import preprocessing
  from common.common_func import gen_unique_str
  from common.minio_comm import copy_files_to_minio
  from utils.util_log import test_log
label_desc: Use image node_id 14 for calling a global function with example usage: gen_vectors(float_vector, rows, dim) and returns: vectors