Skip to content

Commit

Permalink
[Doc] linalg.ldl_factor: render the Shape of tensor A (#99777)
Browse files Browse the repository at this point in the history
Summary: Fix: #96864

Test Plan: Please see GitHub tests.

Pull Request resolved: #99777
Approved by: https://github.com/lezcano
  • Loading branch information
isdanni authored and pytorchmergebot committed Jun 28, 2023
1 parent 5cf3a99 commit 89fcfc1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions torch/linalg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -871,8 +871,8 @@
""" + r"""
Args:
A (Tensor): tensor of shape (*, n, n) where * is zero or more batch dimensions consisting of symmetric or Hermitian matrices.
`(*, n, n)` where `*` is one or more batch dimensions.
A (Tensor): tensor of shape `(*, n, n)` where `*` is zero or more batch dimensions
consisting of symmetric or Hermitian matrices.
Keyword args:
hermitian (bool, optional): whether to consider the input to be Hermitian or symmetric.
Expand Down Expand Up @@ -920,8 +920,8 @@
""" + r"""
Args:
A (Tensor): tensor of shape (*, n, n) where * is zero or more batch dimensions consisting of symmetric or Hermitian matrices.
`(*, n, n)` where `*` is one or more batch dimensions.
A (Tensor): tensor of shape `(*, n, n)` where `*` is zero or more batch dimensions
consisting of symmetric or Hermitian matrices.
Keyword args:
hermitian (bool, optional): whether to consider the input to be Hermitian or symmetric.
Expand Down

0 comments on commit 89fcfc1

Please sign in to comment.