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
TensorFlow tf.linalg.svd() with compute_uv=False returns a single tensor containing the singular values, and not three tensors "s, u, v" when compute_uv=True.
However, code line 188 in keras/src/backend/tensorflow/linalg.py always expects three returned tensors, even if only one is expected when compute_uv=False. It raises a ValueError: not enough values to unpack.
Problem raised
TensorFlow
tf.linalg.svd()
with compute_uv=False returns a single tensor containing the singular values, and not three tensors "s, u, v" when compute_uv=True.However, code line 188 in
keras/src/backend/tensorflow/linalg.py
always expects three returned tensors, even if only one is expected when compute_uv=False. It raises a ValueError: not enough values to unpack.keras/keras/src/backend/tensorflow/linalg.py
Line 188 in 6abd865
Tested versions:
Code to reproduce:
The text was updated successfully, but these errors were encountered: