class_docstr: A diffusion process which can skip steps in a base diffusion process.
  
  :param use_timesteps: a collection (sequence or set) of timesteps from the
                        original diffusion process to retain.
  :param kwargs: the kwargs to create the base diffusion process.
code: def _wrap_model(self, model):
      if isinstance(model, _WrappedModel):
          return model
      return _WrappedModel(
          model,
          self.timestep_map,
          self.rescale_timesteps,
          self.original_num_steps,
      )
  
file_path: PaddleHub/modules/image/text_to_image/disco_diffusion_clip_vitb32/reverse_diffusion/model/respace.py
imports: import numpy
  import paddle
  from .gaussian_diffusion import GaussianDiffusion
label_desc: Use image node_id 6 for calling the SpacedDiffusion obj's underlying member method code with example usage: obj._wrap_model(model) and returns: _WrappedModel, model