code: def _check_wav(self, data):
      # If it has a valid WAV/RIFF header and is of a reasonable size, we
      # can assume it did the right thing. We trust the underlying
      # `encode_audio` op.
      self.assertEqual(b"RIFF", data[:4])
      self.assertGreater(len(data), 128)
  
file_path: tensorboard/tensorboard/util/encoder_test.py
imports: import numpy
  import tensorflow
  from tensorboard.util import encoder
label_desc: Use image node_id 2 for calling the TensorFlowWavEncoderTest obj's underlying member method code with example usage: obj._check_wav(data) without return types