code: def test_wav_format_roundtrip(self):
      audio = self._generate_audio(c=1)
      pb = self.audio("k488", audio, 44100)
      encoded = tensor_util.make_ndarray(pb.value[0].tensor)
      decoded, sample_rate = audio_ops.decode_wav(encoded.flat[0])
      # WAV roundtrip goes from float32 to int16 and back, so expect some
      # precision loss, but not more than 2 applications of rounding error from
      # mapping the range [-1.0, 1.0] to 2^16.
      epsilon = 2 * 2.0 / (2**16)
      self.assertAllClose(audio[0], decoded, atol=epsilon)
      self.assertEqual(44100, sample_rate.numpy())
  
imports: import glob
  import os
  import numpy
  import tensorflow
  from tensorboard.compat import tf2
  from tensorboard.plugins.audio import metadata
  from tensorboard.plugins.audio import summary
  from tensorboard.util import tensor_util
label_desc: Use image node_id 5 for calling the SummaryBaseTest obj's underlying member method code with example usage: obj.test_wav_format_roundtrip() without return types