<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _transform_params(self, **params):
 """Applies all transforms to the given params. Parameters \**params : Key, value pairs of parameters to apply the transforms to. Returns ------- dict A dictionary of the transformed parameters. """

        # apply inverse transforms to go from sampling parameters to
        # variable args
        if self.sampling_transforms is not None:
            params = self.sampling_transforms.apply(params, inverse=True)
        # apply waveform transforms
        if self.waveform_transforms is not None:
            params = transforms.apply_transforms(params,
                                                 self.waveform_transforms,
                                                 inverse=False)
        # apply boundary conditions
        params = self.prior_distribution.apply_boundary_conditions(**params)
        return params