code: def test_freeze_and_unfreeze_parameters(self):
      spectrogram = np.random.random((256, 256, 3))
      augmenter = SpecCompose(
          [
              SpecChannelShuffle(p=1.0),
              SpecFrequencyMask(p=1.0),
          ]
      )
      perturbed_samples1 = augmenter(magnitude_spectrogram=spectrogram)
      augmenter.freeze_parameters()
      for transform in augmenter.transforms:
          assert transform.are_parameters_frozen == True
      perturbed_samples2 = augmenter(magnitude_spectrogram=spectrogram)
  
      assert_array_equal(perturbed_samples1, perturbed_samples2)
  
      augmenter.unfreeze_parameters()
      for transform in augmenter.transforms:
          assert transform.are_parameters_frozen == False
  
imports: import numpy
  from numpy.testing import assert_array_equal
  from audiomentations import SpecChannelShuffle, SpecFrequencyMask, SpecCompose
label_desc: Use image node_id 1 for calling the TestSpecCompose obj's underlying member method code with example usage: obj.test_freeze_and_unfreeze_parameters() without return types