From d70a06ccc868326cd4443c54e9562553a39455df Mon Sep 17 00:00:00 2001 From: xiongkun Date: Thu, 16 Dec 2021 21:25:07 +0800 Subject: [PATCH] [BugFix] Fix svd_op attrs typo (#37744) (#38187) Fix svd shape error. --- python/paddle/tensor/linalg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/tensor/linalg.py b/python/paddle/tensor/linalg.py index 8f4efed1f0a..a5c894b9786 100644 --- a/python/paddle/tensor/linalg.py +++ b/python/paddle/tensor/linalg.py @@ -1573,7 +1573,7 @@ def svd(x, full_matrices=False, name=None): outputs={'U': u, 'VH': vh, 'S': s}, - attr=attrs, ) + attrs=attrs, ) return u, s, vh -- GitLab