docstr: Tests packing and unpacking tensors returns the same values.
docstr_tok: ["Tests","packing","and","unpacking","tensors","returns","the","same","values","."]
code: def test_pack_unpack_identity(self):
      """Tests packing and unpacking tensors returns the same values."""
      string = tf.constant(["xyz"], dtype=tf.string)
      shape = tf.constant([1, 3], dtype=tf.int32)
      packed = packed_tensors.PackedTensors()
      packed.pack([string, shape])
      packed = packed_tensors.PackedTensors(packed.string)
      string_unpacked, shape_unpacked = packed.unpack(
          [tf.string, tf.int32]
      )
      self.assertAllEqual(string_unpacked, string)
      self.assertAllEqual(shape_unpacked, shape)
  
imports: import tensorflow
  from tensorflow_compression.python.util import packed_tensors
label_desc: Use image node_id 1 for calling the PackedTensorsTest obj's underlying member method code with example usage: obj.test_pack_unpack_identity() without return types