Browse Source

!12124 update supported platforms for gamma and poisson

From: @lihongkang1
Reviewed-by: @liangchenghui,@wuxuejian
Signed-off-by: @liangchenghui
tags/v1.2.0-rc1
mindspore-ci-bot Gitee 4 years ago
parent
commit
cc8092dc74
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mindspore/ops/composite/random_ops.py

+ 2
- 2
mindspore/ops/composite/random_ops.py View File

@@ -193,7 +193,7 @@ def gamma(shape, alpha, beta, seed=None):
The dtype is float32. The dtype is float32.


Supported Platforms: Supported Platforms:
``Ascend`` ``GPU`` ``CPU``
``Ascend`` ``CPU``


Examples: Examples:
>>> shape = (3, 1, 2) >>> shape = (3, 1, 2)
@@ -229,7 +229,7 @@ def poisson(shape, mean, seed=None):
The dtype is float32. The dtype is float32.


Supported Platforms: Supported Platforms:
``Ascend`` ``GPU`` ``CPU``
``Ascend`` ``CPU``


Examples: Examples:
>>> shape = (4, 1) >>> shape = (4, 1)


Loading…
Cancel
Save