code: def test_static_shape_in_graph(self):
      directory = self._prepare_directory(num_classes=2)
      dataset = audio_dataset_utils.audio_dataset_from_directory(
          directory,
          batch_size=8,
          output_sequence_length=30,
          label_mode="int",
      )
      test_case = self
  
      @tf.function
      def symbolic_fn(ds):
          for x, _ in ds.take(1):
              test_case.assertListEqual(
                  x.shape.as_list(), [None, 30, None]
              )
  
      symbolic_fn(dataset)
  
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 5 for calling the AudioDatasetFromDirectoryTest obj's underlying member method code with example usage: obj.test_static_shape_in_graph() without return types