code: def test_array_encoder_decoder_string(self):
      input_array = np.array(["centaur", "satyr", "harpy"])
      as_bytes = io.encode_array(input_array)
      recovered = io.decode_array(as_bytes).astype("U")
      np.testing.assert_array_equal(input_array, recovered)
  
file_path: tf-quant-finance/tf_quant_finance/experimental/io_test.py
imports: from os import path
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tf_quant_finance.experimental import io
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 2 for calling the IoTest obj's underlying member method code with example usage: obj.test_array_encoder_decoder_string() without return types