Skip to content

Commit c1725f9

Browse files
Merge branch 'develop' into api
2 parents 4947a25 + 345291d commit c1725f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/api/paddle/nn/functional/grid_sample_cn.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,14 @@ step 2:
5454
output = wn * d_e * d_s + en * d_w * d_s
5555
+ ws * d_e * d_n + es * d_w * d_n
5656
57+
.. note::
58+
别名支持: 参数名 ``input`` 可替代 ``x``。
59+
5760
参数
5861
::::::::::::
5962

6063
- **x** (Tensor) - 输入 Tensor,维度为 :math:`[N, C, H, W]` 的 4-D Tensor 或维度为 :math:`[N, C, D, H, W]` 的 5-D Tensor,N 为批尺寸,C 是通道数,D 是特征深度,H 是特征高度,W 是特征宽度,数据类型为 float32 或 float64。
64+
别名: ``input``
6165
- **grid** (Tensor) - 输入网格数据 Tensor,维度为 :math:`[N, H, W, 2]` 的 4-D Tensor 或维度为 :math:`[N, D, H, W, 3]` 的 5-D Tensor,N 为批尺寸,H 是特征高度,D 是特征深度,W 是特征宽度,数据类型为 float32 或 float64。
6266
- **mode** (str,可选) - 插值方式,可以为 'bilinear' 或者 'nearest'。默认值为 'bilinear'。
6367
- **padding_mode** (str,可选) - 当原来的索引超过输入的图像大小时的填充方式。可以为 'zeros', 'reflection' 和 'border'。默认值为 'zeros'。

0 commit comments

Comments
 (0)