Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/PaddlePaddle/docs into o…
Browse files Browse the repository at this point in the history
…necyclelr
  • Loading branch information
Asthestarsfalll committed May 6, 2022
2 parents 2270ba7 + 6cd0893 commit 228489f
Show file tree
Hide file tree
Showing 26 changed files with 6,552 additions and 2,041 deletions.
4 changes: 2 additions & 2 deletions docs/api/paddle/linalg/Overview_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ paddle.linalg 目录下包含飞桨框架支持的线性代数相关API。具体
:widths: 10, 30

" :ref:`paddle.linalg.lstsq <cn_api_linalg_lstsq>` ", "求解线性方程组的最小二乘问题"
" :ref:`paddle.linalg.solve <cn_api_linalg_solve>` ", "计算具有唯一解的线性方程组"
" :ref:`paddle.linalg.triangular_solve <cn_api_linalg_solve>` ", "计算具有唯一解的线性方程组"
" :ref:`paddle.linalg.solve <cn_api_linalg_solve>` ", "计算具有唯一解的线性方程组,方程左边为方阵,右边为矩阵"
" :ref:`paddle.linalg.triangular_solve <cn_api_linalg_triangular_solve>` ", "计算具有唯一解的线性方程组,方程左边为上(下)三角方阵,右边为矩阵"
" :ref:`paddle.linalg.cholesky_solve <cn_api_linalg_cholesky_solve>` ", "通过Cholesky分解矩阵,计算具有唯一解的线性方程组"
4 changes: 2 additions & 2 deletions docs/api/paddle/vision/transforms/adjust_brightness_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ adjust_brightness
参数
:::::::::

- img (PIL.Image|np.array) - 输入的图像。
- img (PIL.Image|np.array|paddle.Tensor) - 输入的图像。
- brightness_factor (float) - 调节图像亮度值的多少,可以是任何非负数。参数等于0时输出黑色图像,参数等于1时输出原始图像,参数大于1时输出图像亮度增强,如参数等于2时图像亮度增强两倍。

返回
:::::::::

``PIL.Image 或 numpy.ndarray``,调整后的图像。
``PIL.Image 或 numpy.ndarray 或 paddle.Tensor``,调整后的图像。

代码示例
:::::::::
Expand Down
4 changes: 2 additions & 2 deletions docs/api/paddle/vision/transforms/adjust_contrast_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ adjust_contrast
参数
:::::::::

- img (PIL.Image|np.array) - 输入的图像。
- img (PIL.Image|np.array|paddle.Tensor) - 输入的图像。
- contrast_factor (float) - 调节图像对比度的多少,可以是任何非负数。参数等于0时输出纯灰色图像,参数等于1时输出原始图像,参数大于1时图像对比度增强,如参数等于2时图像对比度增强两倍。

返回
:::::::::

``PIL.Image 或 numpy.ndarray``,调整后的图像。
``PIL.Image 或 numpy.ndarray 或 paddle.Tensor``,调整后的图像。

代码示例
:::::::::
Expand Down
4 changes: 2 additions & 2 deletions docs/api/paddle/vision/transforms/adjust_hue_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ adjust_hue
参数
:::::::::

- img (PIL.Image|np.array) - 输入的图像。
- img (PIL.Image|np.array|paddle.Tensor) - 输入的图像。
- hue_factor (float) - 图像的色调通道的偏移量. 数值应在 ``[-0.5, 0.5]`` 。0.5和-0.5分别表示HSV空间中色相通道正向和负向完全反转,0表示没有调整色调。因此,-0.5和0.5都会给出一个带有互补色的图像,而0则会给出原始图像。

返回
:::::::::

``PIL.Image 或 numpy.ndarray``,调整后的图像。
``PIL.Image 或 numpy.ndarray 或 paddle.Tensor``,调整后的图像。

代码示例
:::::::::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
> 注意:
> - 请确保已经正确安装了[飞桨develop](https://github.com/PaddlePaddle/Paddle)最新版本
> - 当前仅支持 `Linux`平台,示例中使用X86_64平台
> - 支持飞桨已通过头文件开放函数式声明的Kernel自定义编码与注册
## 第一步:实现自定义 Runtime

Expand Down

1 comment on commit 228489f

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.