code: def get_additive_quantizer_codebooks(aq):
      """return to codebooks of an additive quantizer"""
      codebooks = faiss.vector_to_array(aq.codebooks).reshape(-1, aq.d)
      co = faiss.vector_to_array(aq.codebook_offsets)
      return [codebooks[co[i] : co[i + 1]] for i in range(aq.M)]
  
file_path: faiss/contrib/inspect_tools.py
imports: import numpy
  import faiss
label_desc: Use image node_id 7 for calling a global function with example usage: get_additive_quantizer_codebooks(aq) and returns: unknown