!49730 [doc]add the GPU platform for avg_pool3d

Merge pull request !49730 from hanhuifeng/code_docs_avg_pool3d
This commit is contained in:
i-robot 2023-03-07 03:41:53 +00:00 committed by Gitee
commit 9bec955a7d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -543,7 +543,7 @@ class AvgPool3d(Cell):
ValueError: If length of shape of `x` is not equal to 5.
Supported Platforms:
``Ascend`` ``CPU``
``Ascend`` ``GPU`` ``CPU``
Examples:
>>> import mindspore as ms

View File

@ -516,7 +516,7 @@ def avg_pool3d(input_x, kernel_size=1, stride=1, padding=0, ceil_mode=False, cou
ValueError: If element of `padding` is less than `0`.
Supported Platforms:
``Ascend`` ``CPU``
``Ascend`` ``GPU`` ``CPU``
Examples:
>>> input_x = Tensor(np.arange(1 * 2 * 2 * 2 * 3).reshape((1, 2, 2, 2, 3)), mindspore.float16)