code: def testNotReparameterized(self):
      def f(n, p):
          b = binomial_lib.Binomial(n, p)
          return b.sample(5, seed=test_util.test_seed())
  
      _, [grad_n, grad_p] = gradient.value_and_gradient(f, [10.0, 0.5])
      self.assertIsNone(grad_n)
      self.assertIsNone(grad_p)
  
imports: import numpy
  from scipy import stats
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import binomial
  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 31 for calling the BinomialTest obj's underlying member method code with example usage: obj.testNotReparameterized() and returns: b