code: def testExponentialSample(self):
      lam = constant_op.constant([3.0, 4.0])
      lam_v = [3.0, 4.0]
      n = constant_op.constant(100000)
      exponential = exponential_lib.Exponential(rate=lam)
  
      samples = exponential.sample(n, seed=137)
      sample_values = self.evaluate(samples)
      self.assertEqual(sample_values.shape, (100000, 2))
      self.assertFalse(np.any(sample_values < 0.0))
      if not stats:
          return
      for i in range(2):
          self.assertLess(
              stats.kstest(
                  sample_values[:, i],
                  stats.expon(scale=1.0 / lam_v[i]).cdf,
              )[0],
              0.01,
          )
  
imports: import importlib
  import numpy
  from tensorflow.python.eager import backprop
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops.distributions import exponential
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 8 for calling the ExponentialTest obj's underlying member method code with example usage: obj.testExponentialSample() without return types