forked from mindspore-Ecosystem/mindspore
!49730 [doc]add the GPU platform for avg_pool3d
Merge pull request !49730 from hanhuifeng/code_docs_avg_pool3d
This commit is contained in:
commit
9bec955a7d
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue