code: def testPdfOutsideSupport(self):
      def mk_gamma(c):
          return gamma_lib.Gamma(
              c, 1, force_probs_to_zero_outside_support=True
          )
  
      self.assertAllEqual(mk_gamma(0.99).log_prob(-0.1), -float("inf"))
      self.assertAllEqual(mk_gamma(0.99).log_prob(0), float("inf"))
      self.assertAllGreater(mk_gamma(0.99).log_prob(0.1), -float("inf"))
      self.assertAllEqual(mk_gamma(1).log_prob(-0.1), -float("inf"))
      self.assertAllClose(mk_gamma(1).log_prob(0), 0.0)
      self.assertAllGreater(mk_gamma(1).log_prob(0.1), -float("inf"))
      self.assertAllEqual(mk_gamma(1.01).log_prob(-0.1), -float("inf"))
      self.assertAllEqual(mk_gamma(1.01).log_prob(0), -float("inf"))
      self.assertAllGreater(mk_gamma(1.01).log_prob(0.1), -float("inf"))
  
imports: import functools
  from absl.testing import parameterized
  import numpy
  from scipy import misc
  from scipy import special
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import exp
  from tensorflow_probability.python.distributions import gamma
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.distributions.internal import statistical_testing
  from tensorflow_probability.python.internal import implementation_selection
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 9 for calling the GammaSamplingTest obj's underlying member method code with example usage: obj.testPdfOutsideSupport() and returns: gamma_lib