code: def test_encode(self):
      input_api = InputQueue()
      b64 = input_api.data_to_b64(
          t1=np.array([1, 2]), t2=np.array([3, 4])
      )
      byte = base64.b64decode(b64)
  
imports: import numpy
  import base64
  from bigdl.serving.client import InputQueue, OutputQueue, http_json_to_ndarray
  import os
label_desc: Use image node_id 1 for calling the TestSerialization obj's underlying member method code with example usage: obj.test_encode() without return types