code: def idx_to_sigma(self, idx):
      return self.sigmas[idx]
  
file_path: generative-models/sgm/modules/diffusionmodules/sigma_sampling.py
imports: import torch
  from ...util import default, instantiate_from_config
label_desc: Use image node_id 2 for calling the DiscreteSampling obj's underlying member method code with example usage: obj.idx_to_sigma(idx) and returns: self