code: def ggml_quantize_tensor(
      src,  # type: ctypes.Array[ctypes.c_float] # type: ignore
      dst: ctypes.c_void_p,
      qtype: ctypes.c_int,
      n: ctypes.c_size_t,
      k: ctypes.c_int,
      hist,  # type: ctypes.Array[ctypes.c_int64] # type: ignore
  ) -> int:
      return _lib.ggml_quantize_tensor(src, dst, qtype, n, k, hist)
  
imports: import sys
  import os
  import ctypes
  from ctypes import c_int, c_float, c_char_p, c_void_p, c_bool, pointer, POINTER, _Pointer, Structure, Array, c_uint8, c_size_t
  import pathlib
  from bigdl.llm.utils.common import invalidInputError
  from bigdl.llm.utils.utils import get_shared_lib_info
label_desc: Use image node_id 45 for calling a global function with example usage: ggml_quantize_tensor(src, dst, qtype, n, k, hist) and returns: _lib