Skip to content
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

Merged
merged 5 commits into from
Jan 10, 2022

Conversation

haohongxiang
Copy link
Contributor

@haohongxiang haohongxiang commented Dec 31, 2021

Add docs_cn for new api : linalg.lstsq

@paddle-bot-old
Copy link

Thanks for your contribution!

:::::::::
- **x** (Tensor) : 形状为 ``(*, M, N)`` 的矩阵Tensor, ``*`` 为零或更大的批次维度。数据类型为 float32 或 float64 。
- **y** (Tensor) : 形状为 ``(*, M, K)`` 的矩阵Tensor, ``*`` 为零或更大的批次维度。数据类型为 float32 或 float64 。
- **rcond** (float,可选) : 用来决定 ``x`` 有效秩的 float 型浮点数。当 ``rcond`` 为 `None` 时,该值会被设为 ``max(M, N)`` 乘 ``x`` 数据类型对应的机器精度。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要说一下默认值

- **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' (默认) 。
Copy link
Collaborator

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

Copy link
Collaborator

@TCChenlong TCChenlong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@ForFishes ForFishes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ForFishes ForFishes merged commit 42f8d08 into PaddlePaddle:develop Jan 10, 2022
RichardWooSJTU pushed a commit to RichardWooSJTU/docs that referenced this pull request Apr 8, 2022
* [ce tests] add trt_mode in ppyolo

* [ce tests] set amp in tests.sh
RichardWooSJTU pushed a commit to RichardWooSJTU/docs that referenced this pull request Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants