code: def get_ndarray_from_record_batch(self, record_batch):
      data = record_batch[0].to_numpy()
      shape_list = record_batch[1].to_pylist()
      shape = [i for i in shape_list if i]
      ndarray = data.reshape(shape)
      return ndarray
  
imports: import redis
  import time
  from bigdl.serving.schema import *
  import httpx
  import json
  import uuid
  from bigdl.serving.log4Error import invalidInputError
label_desc: Use image node_id 6 for calling the OutputQueue obj's underlying member method code with example usage: obj.get_ndarray_from_record_batch(record_batch) and returns: ndarray