code: def test_http_response_to_ndarray(self):
      with open(os.path.join(resource_path, "http_response")) as f:
          data = f.read()
          arr = http_json_to_ndarray(data)
          assert isinstance(arr, np.ndarray)
          assert len(arr.shape) == 1
          assert arr.shape[0] == 128
  
imports: import numpy
  import base64
  from bigdl.serving.client import InputQueue, OutputQueue, http_json_to_ndarray
  import os
label_desc: Use image node_id 2 for calling the TestSerialization obj's underlying member method code with example usage: obj.test_http_response_to_ndarray() without return types