Skip to content

Commit

Permalink
Add diagonal() for Paddle
Browse files Browse the repository at this point in the history
  • Loading branch information
aarmey committed Aug 12, 2024
1 parent d616a32 commit df19c2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tensorly/backend/paddle_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ def sign(tensor: paddle.Tensor):
"stack",
"logsumexp",
"max",
"diagonal",
]
):
if name in ["pi", "e", "inf", "nan"]:
Expand Down

0 comments on commit df19c2b

Please sign in to comment.