class_docstr: Tests the correctness of the Y = Restructure({nested}) transformation.
class_docstr_tok: ["Tests","the","correctness","of","the","Y","=","Restructure","(","{","nested","}",")","transformation","."]
code: def testFloat64LDJ(self):
      bij = restructure.Restructure([0, 1])
      x = [tf.zeros([], tf.float64), tf.zeros([], tf.float64)]
      event_ndims = [0, 0]
      fldj = bij.forward_log_det_jacobian(x, event_ndims)
      ildj = bij.inverse_log_det_jacobian(x, event_ndims)
      self.assertEqual(tf.float64, fldj.dtype)
      self.assertEqual(tf.float64, ildj.dtype)
  
file_path: probability/tensorflow_probability/python/bijectors/restructure_test.py
imports: import collections
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import restructure
  from tensorflow_probability.python.distributions import joint_distribution_named
  from tensorflow_probability.python.distributions import joint_distribution_sequential
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 8 for calling the RestructureBijectorTest obj's underlying member method code with example usage: obj.testFloat64LDJ() without return types