-
Notifications
You must be signed in to change notification settings - Fork 749
New issue
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
Add docs_cn for new api : linalg.lstsq #4174
Add docs_cn for new api : linalg.lstsq #4174
Conversation
Thanks for your contribution! |
docs/api/paddle/linalg/lstsq_cn.rst
Outdated
::::::::: | ||
- **x** (Tensor) : 形状为 ``(*, M, N)`` 的矩阵Tensor, ``*`` 为零或更大的批次维度。数据类型为 float32 或 float64 。 | ||
- **y** (Tensor) : 形状为 ``(*, M, K)`` 的矩阵Tensor, ``*`` 为零或更大的批次维度。数据类型为 float32 或 float64 。 | ||
- **rcond** (float,可选) : 用来决定 ``x`` 有效秩的 float 型浮点数。当 ``rcond`` 为 `None` 时,该值会被设为 ``max(M, N)`` 乘 ``x`` 数据类型对应的机器精度。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
需要说一下默认值
docs/api/paddle/linalg/lstsq_cn.rst
Outdated
- **x** (Tensor) : 形状为 ``(*, M, N)`` 的矩阵Tensor, ``*`` 为零或更大的批次维度。数据类型为 float32 或 float64 。 | ||
- **y** (Tensor) : 形状为 ``(*, M, K)`` 的矩阵Tensor, ``*`` 为零或更大的批次维度。数据类型为 float32 或 float64 。 | ||
- **rcond** (float,可选) : 用来决定 ``x`` 有效秩的 float 型浮点数。当 ``rcond`` 为 `None` 时,该值会被设为 ``max(M, N)`` 乘 ``x`` 数据类型对应的机器精度。 | ||
- **driver** (str,可选) : 用来指定计算使用的 LAPACK 库方法。CPU 下该参数的合法值为 'gels', 'gelsy' (默认) , 'gelsd', 'gelss';CUDA 下该参数的合法值为 'gels' (默认) 。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
也没有默认值,如:
默认值是 None,CPU下XXX,GPU下XXX
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* [ce tests] add trt_mode in ppyolo * [ce tests] set amp in tests.sh
Add docs_cn for new api : linalg.lstsq