code: def apply(self, samples, inverse=False):
          
          return transforms.apply_transforms(samples, self.sampling_transforms,
                                             inverse=inverse)
docs: Applies the sampling transforms to the given samples.
  
          Parameters
          ----------
          samples : dict or FieldArray
              The samples to apply the transforms to.
          inverse : bool, optional
              Whether to apply the inverse transforms (i.e., go from the sampling
              args to the ``variable_params``). Default is False.
  
          Returns
          -------
          dict or FieldArray
              The transformed samples, along with the original samples.