docstr: Randomize and define parameters of every transform in composition.
docstr_tok: ["Randomize","and","define","parameters","of","every","transform","in","composition","."]
code: def randomize_parameters(self, *args, **kwargs):
      """
      Randomize and define parameters of every transform in composition.
      """
      apply_to_children = kwargs.get("apply_to_children", True)
      if apply_to_children:
          if "apply_to_children" in kwargs:
              del kwargs["apply_to_children"]
          for transform in self.transforms:
              transform.randomize_parameters(*args, **kwargs)
  
imports: import random
  import numpy
  from numpy.typing import NDArray
  from audiomentations.core.transforms_interface import BaseSpectrogramTransform
label_desc: Use image node_id 3 for calling the BaseCompose obj's underlying member method code with example usage: obj.randomize_parameters() without return types