forked from mindspore-Ecosystem/mindspore
modify platform order
This commit is contained in:
parent
53a8de0173
commit
215479fc7c
|
@ -3,7 +3,7 @@ mindspore.ops.Gcd
|
|||
|
||||
.. py:class:: mindspore.ops.Gcd
|
||||
|
||||
逐元素计算输入输入Tensor的最大公约数。两个输入的shape需要能进行广播操作,并且数据类型必须为:int32、int64。
|
||||
逐元素计算输入Tensor的最大公约数。两个输入的shape需要能进行广播操作,并且数据类型必须为:int32、int64。
|
||||
|
||||
输入:
|
||||
- **x1** (Tensor) - 第一个输入Tensor。
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue