code: def fvecs_read(filename):
      with open(filename, "rb") as f:
          while True:
              try:
                  dims = struct.unpack("i", f.read(4))[0]
                  vec = struct.unpack(
                      "{}f".format(dims), f.read(4 * dims)
                  )
                  assert dims == len(vec)
                  yield list(vec)
              except struct.error:
                  break
  
file_path: infinity/python/benchmark/remote_benchmark_knn.py
imports: import argparse
  import functools
  import multiprocessing
  import os
  import struct
  import time
  import traceback
  from infinity.common import REMOTE_HOST
  from infinity.remote_thrift.client import ThriftInfinityClient
  from infinity.remote_thrift.query_builder import InfinityThriftQueryBuilder
  from infinity.remote_thrift.table import RemoteTable
label_desc: Use image node_id 6 for calling a global function with example usage: fvecs_read(filename) without return types