class_docstr: Test GeneralSpace works on a Symmetric Matrix.
class_docstr_tok: ["Test","GeneralSpace","works","on","a","Symmetric","Matrix","."]
code: def log_local_area(self, local_grads):
      # We can elide out the third entry of each vector since it's the same.
      first_local_grads = local_grads[..., 0:2]
      last_local_grads = local_grads[..., -1:]
      local_grads = tf.concat(
          [first_local_grads, last_local_grads], axis=-1
      )
      grads_0, grads_1, grads_2 = tf.unstack(local_grads, axis=-2)
  
      # Volume of parallelpiped.
      volume = tf.reduce_sum(
          tf.linalg.cross(grads_0, grads_1) * grads_2, axis=-1
      )
      return 3 * np.log(self.delta) + tf.math.log(1e-6 + volume)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import exp
  from tensorflow_probability.python.bijectors import reshape
  from tensorflow_probability.python.bijectors import scale
  from tensorflow_probability.python.bijectors import scale_matvec_tril
  from tensorflow_probability.python.bijectors import transform_diagonal
  from tensorflow_probability.python.experimental.tangent_spaces import spaces
  from tensorflow_probability.python.experimental.tangent_spaces import spaces_test_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 4 for calling the GeneralSpaceSymmetricMatrixTest obj's underlying member method code with example usage: obj.log_local_area(local_grads) and returns: unknown