code: def testLogProbWithDefaultTolInt32Loc(self):
      loc = [[0, 1], [2, 3]]
      x = [[0, 2], [1, 3]]
      dist = det.Deterministic(
          tf.constant(loc, dtype=tf.int32), validate_args=True
      )
      expected_logprob = [[0.0, float("-inf")], [float("-inf"), 0.0]]
      prob = dist.log_prob(x)
      self.assertAllEqual((2, 2), prob.shape)
      self.assertAllEqual(expected_logprob, self.evaluate(prob))
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import deterministic
  from tensorflow_probability.python.distributions import gamma
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.distributions import mvn_diag
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 6 for calling the DeterministicTest obj's underlying member method code with example usage: obj.testLogProbWithDefaultTolInt32Loc() without return types