You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Carrying forward the discussions in #289 , it will be great to investigate cholesky decomposition errors further with tf.float32. Here's a good starting point -
importtensorflowastftf.random.set_seed(42)
defcov(shape, dtype):
sigma=tf.random.normal((shape, shape), dtype=dtype)
returntf.linalg.cholesky(tf.matmul(sigma, sigma, transpose_a=True))
cov(10**4, tf.float32) # decomposition errorscov(10**4, tf.float64) # works all good