code: def add_noise(self, original_samples, noise, timesteps):
      alpha_prod = self.alphas_cumprod[timesteps]
      alpha_prod = self.match_shape(alpha_prod, original_samples)
  
      noisy_samples = (alpha_prod**0.5) * original_samples + (
          (1 - alpha_prod) ** 0.5
      ) * noise
      return noisy_samples
  
file_path: PaddleHub/modules/image/text_to_image/stable_diffusion_waifu/diffusers/schedulers/scheduling_lms_discrete.py
imports: from typing import Union
  import numpy
  import paddle
  from scipy import integrate
  from ..configuration_utils import ConfigMixin
  from ..configuration_utils import register_to_config
  from .scheduling_utils import SchedulerMixin
label_desc: Use image node_id 5 for calling the LMSDiscreteScheduler obj's underlying member method code with example usage: obj.add_noise(original_samples, noise, timesteps) and returns: noisy_samples