code: def test_audio_dataset_from_directory_validation_split(self):
      directory = self._prepare_directory(num_classes=2, count=10)
      dataset = audio_dataset_utils.audio_dataset_from_directory(
          directory,
          batch_size=10,
          output_sequence_length=30,
          validation_split=0.2,
          subset="training",
          seed=1337,
      )
      batch = next(iter(dataset))
      self.assertLen(batch, 2)
      self.assertEqual(batch[0].shape, (8, 30, 1))
      dataset = audio_dataset_utils.audio_dataset_from_directory(
          directory,
          batch_size=10,
          output_sequence_length=30,
          validation_split=0.2,
          subset="validation",
          seed=1337,
      )
      batch = next(iter(dataset))
      self.assertLen(batch, 2)
      self.assertEqual(batch[0].shape, (2, 30, 1))
  
imports: import os
  import numpy
  from keras import testing
  from keras.utils import audio_dataset_utils
  from keras.utils.module_utils import tensorflow
label_desc: Use image node_id 8 for calling the AudioDatasetFromDirectoryTest obj's underlying member method code with example usage: obj.test_audio_dataset_from_directory_validation_split() without return types