code: def test_coders_round_trip(self, coder, value):
      encoded = coder.encode_cache(value)
      if isinstance(coder, analyzers._QuantilesSketchCacheCoder):
          # Quantiles accumulator becomes a different object after pickle round trip
          # and doesn't have a deep __eq__ defined. That's why we compare the output
          # of accumulator before and after pickling.
          np.testing.assert_equal(
              coder.decode_cache(encoded).GetQuantiles(10).to_pylist(),
              value.GetQuantiles(10).to_pylist(),
          )
      else:
          np.testing.assert_equal(coder.decode_cache(encoded), value)
  
file_path: transform/tensorflow_transform/beam/analyzer_cache_test.py
imports: import os
  import apache_beam
  from apache_beam.testing import util
  import numpy
  import tensorflow
  from tensorflow_transform import analyzer_nodes
  from tensorflow_transform import analyzers
  from tensorflow_transform.beam import analyzer_cache
  from tensorflow_transform import test_case
label_desc: Use image node_id 2 for calling the AnalyzerCacheTest obj's underlying member method code with example usage: obj.test_coders_round_trip(coder, value) without return types