Vector Embeddings, Quantization, Vector Quantization.
quantization_type=np.uint8) -> List[int]: # Calculate the min and max for each dimension min_vals = np.min(input_vector, axis=0) max_vals = np.max(input_vector, axis=0) print(min_vals, max_vals) # Calculate scaling factor and zero point for each dimension scaling_factors = (max_vals - min_vals) /