code: def test_representation_changes(self):
      array1 = self._sample_batch()
      array2 = 1 - array1
      (repr1, repr2) = tuple(
          map(self._serializer.serialize, (array1, array2))
      )
      self.assertFalse(np.array_equal(repr1, repr2))
  
imports: import gin
  import gym
  import numpy
  from tensorflow import test
  from trax.rl import space_serializer
label_desc: Use image node_id 5 for calling the DiscreteSpaceSerializerTest obj's underlying member method code with example usage: obj.test_representation_changes() without return types