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
Currently, kullback_leiblers.gauss_kl() explicitly tiles as tf.linalg.triangular_solve does not broadcast (worse, it segfaults). Once TensorFlow fixes this issue (tensorflow/tensorflow#37584), we should remove this workaround from our code, as it is very inefficient (lots of unnecessary memory allocation).
The text was updated successfully, but these errors were encountered:
…low versions (#1585)
We used to tile in gauss_kl() to work around TensorFlow's lack of broadcasting. Since TensorFlow 2.2, this is finally working, and this PR removes the tiling for TensorFlow>=2.2. Resolves#1321.
Co-authored-by: ST John <st@secondmind.ai>
Currently, kullback_leiblers.gauss_kl() explicitly tiles as tf.linalg.triangular_solve does not broadcast (worse, it segfaults). Once TensorFlow fixes this issue (tensorflow/tensorflow#37584), we should remove this workaround from our code, as it is very inefficient (lots of unnecessary memory allocation).
The text was updated successfully, but these errors were encountered: