code: def __init__(self, unet_type, denoiser):
      super().__init__()
      self.unet_type = unet_type
      self.noise_scheduler = denoiser
      self.pred_objective = "noise"
  
imports: import numpy
  import torch
  from einops import rearrange
  from tqdm import tqdm
  from nemo.collections.multimodal.modules.imagen.sampler.batch_ops import batch_div, batch_mul
  from nemo.collections.multimodal.modules.imagen.sampler.continuous_ddpm import GaussianDiffusionContinuousTimes
label_desc: Use image node_id 1 to create a new DDPMSampler object from inherited base classes: Sampler with example: obj = DDPMSampler(unet_type, denoiser)