code: def test_append_value(self):
      tensors1 = [(np.zeros((1, 5)), np.ones((1, 5)))]
  
      append_value_function1 = data.inputs.AppendValue()
      unmodified = next(append_value_function1(tensors1))
      self.assertEqual(unmodified[0].shape, (1, 5))
      self.assertEqual(unmodified[1].shape, (1, 5))
  
      append_value_function2 = data.inputs.AppendValue(
          {0: [[5]], 1: [[4]]}
      )
      appended = next(append_value_function2(tensors1))
      self.assertEqual(appended[0].shape, (1, 6))
      self.assertEqual(
          appended[0].all(),
          np.array([[0.0, 0.0, 0.0, 0.0, 0.0, 5.0]]).all(),
      )
      self.assertEqual(appended[1].shape, (1, 6))
      self.assertEqual(
          appended[1].all(),
          np.array([[1.0, 1.0, 1.0, 1.0, 1.0, 4.0]]).all(),
      )
  
imports: import itertools
  import os
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from trax import data
label_desc: Use image node_id 28 for calling the InputsTest obj's underlying member method code with example usage: obj.test_append_value() without return types