class_docstr: Well tested because this is a simple override of the base class.
class_docstr_tok: ["Well","tested","because","this","is","a","simple","override","of","the","base","class","."]
code: def testVariableLocation(self):
      loc = tf.Variable([1.0, 1.0])
      d = mvdpl.MultivariateNormalDiagPlusLowRank(
          loc=loc, validate_args=True
      )
      self.evaluate(loc.initializer)
      with tf.GradientTape() as tape:
          lp = d.log_prob([0.0, 0.0])
      self.assertIsNotNone(tape.gradient(lp, loc))
  
file_path: probability/tensorflow_probability/python/distributions/mvn_diag_plus_low_rank_test.py
imports: import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.distributions import mvn_diag
  from tensorflow_probability.python.distributions import mvn_diag_plus_low_rank
  from tensorflow_probability.python.distributions import mvn_tril
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 3 for calling the MultivariateNormalDiagPlusLowRankTest obj's underlying member method code with example usage: obj.testVariableLocation() without return types