modify platform order

This commit is contained in:
俞涵 2022-12-23 17:57:16 +08:00
parent 53a8de0173
commit 215479fc7c
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ mindspore.ops.Gcd
.. py:class:: mindspore.ops.Gcd
逐元素计算输入输入Tensor的最大公约数。两个输入的shape需要能进行广播操作并且数据类型必须为int32、int64。
逐元素计算输入Tensor的最大公约数。两个输入的shape需要能进行广播操作并且数据类型必须为int32、int64。
输入:
- **x1** (Tensor) - 第一个输入Tensor。

View File

@ -5581,7 +5581,7 @@ def diagonal(input, offset=0, dim1=0, dim2=1):
ValueError: if the input tensor has less than two dimensions.
Supported Platforms:
``Ascend`` ``CPU`` ``GPU``
``Ascend`` ``GPU`` ``CPU``
Examples:
>>> x = Tensor([[0, 1], [2, 3]], mstype.float32)

View File

@ -9595,7 +9595,7 @@ class GridSampler2D(Primitive):
ValueError: If `padding_mode` is not "zeros", "border", "reflection" or a string value.
Supported Platforms:
``Ascend`` ``CPU`` ``GPU``
``Ascend`` ``GPU`` ``CPU``
Examples:
>>> gridsampler = ops.GridSampler2D(interpolation_mode='bilinear', padding_mode='zeros', align_corners=True)
@ -9715,7 +9715,7 @@ class UpsampleNearest3D(Primitive):
ValueError: If size of `output_size` is not equal 3 when `output_size` is specified.
Supported Platforms:
``GPU`` ``Ascend`` ``CPU``
``Ascend`` ``GPU`` ``CPU``
Examples:
>>> x = Tensor(np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16])