We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue is related to TensorFlow Probability on JAX.
The tutorials of multivariate Student and multivariate normal use tf.linalg.LinearOperatorLowerTriangular.
tf.linalg.LinearOperatorLowerTriangular
However, this object does not exist in JAX. I wonder what is the correct way to build these distributions? Passing a JAX array leads to an error:
TypeError: Expected argument `scale` to be instance of `LinearOperator`. Found: `[[ 0.6 0. 0. ] [ 0.2 0.5 0. ] [ 0.1 -0.3 0.4]]`.
Any help would be much appreciated!
The text was updated successfully, but these errors were encountered:
If you've done import tensorflow_probability.substrates.jax as tfp, then you can find linear operators in: jtf = tfp.tf2jax; dir(jtf.linalg)
import tensorflow_probability.substrates.jax as tfp
jtf = tfp.tf2jax; dir(jtf.linalg)
Sorry, something went wrong.
It resolved the issue, thank you very much! 🙂
No branches or pull requests
This issue is related to TensorFlow Probability on JAX.
The tutorials of multivariate Student and multivariate normal use
tf.linalg.LinearOperatorLowerTriangular
.However, this object does not exist in JAX. I wonder what is the correct way to build these distributions?
Passing a JAX array leads to an error:
Any help would be much appreciated!
Additional notes
The text was updated successfully, but these errors were encountered: