code: def image_to_jpeg_nparray(
      image, quality=[int(cv2.IMWRITE_JPEG_QUALITY), 95]
  ):
      """
      Convert numpy image to jpeg numpy vector.
      """
      is_success, im_buf_arr = cv2.imencode(".jpg", image, quality)
      return im_buf_arr
  
file_path: cortex/test/utils/throughput_test.py
imports: import os
  import sys
  import click
  import concurrent.futures
  import requests
  import imageio
  import json
  import time
  import itertools
  import cv2
  import numpy
  from validator_collection import checkers
label_desc: Use image node_id 5 for calling a global function with example usage: image_to_jpeg_nparray(image, quality) and returns: im_buf_arr