class_docstr: Non-normalized Gamma distribution.
  
      Gamma(concentration, rate) ~ (concentration - 1) * log(s) - rate * s
docstr: Non-normalized log probability of Gamma distribution.
  
  This is mainly used for testing.
docstr_tok: ["Non-normalized","log","probability","of","Gamma","distribution",".","This","is","mainly","used","for","testing","."]
code: def log_density(self, s):
      """
      Non-normalized log probability of Gamma distribution.
  
      This is mainly used for testing.
      """
      return (
          self.log_normalizer
          + (self.concentration - 1) * s.log()
          - self.rate * s
      )
  
imports: import math
  import torch
  from torch.distributions.utils import lazy_property
  from torch.nn.functional import pad
  from pyro.distributions.multivariate_studentt import MultivariateStudentT
  from pyro.distributions.torch import MultivariateNormal
  from pyro.distributions.util import broadcast_shape
  from pyro.ops.tensor_utils import precision_to_scale_tril
label_desc: Use image node_id 2 for calling the Gamma obj's underlying member method code with example usage: obj.log_density(s) and returns: unknown