code: def rsample(self, sample_shape=torch.Size()):
      return self._standard_gamma.rsample(sample_shape) / self.rate
  
imports: import torch
  from pyro.distributions.rejector import Rejector
  from pyro.distributions.score_parts import ScoreParts
  from pyro.distributions.torch import Beta, Dirichlet, Gamma, Normal
  from pyro.distributions.util import copy_docs_from, weakmethod
label_desc: Use image node_id 3 for calling the RejectionGamma obj's underlying member method code with example usage: obj.rsample(sample_shape) and returns: unknown