Browse Source

!13383 modify supported platform of gamma and poisson

From: @bingyaweng
Reviewed-by: @wang_zi_dong,@zichun_ye
Signed-off-by: @ljl0711
tags/v1.2.0-rc1
mindspore-ci-bot Gitee 4 years ago
parent
commit
7d5701c3e9
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

@@ -199,7 +199,7 @@ def gamma(shape, alpha, beta, seed=None):
TypeError: If dtype of `alpha` and `beta` is not float32. TypeError: If dtype of `alpha` and `beta` is not float32.


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


Examples: Examples:
>>> shape = (3, 1, 2) >>> shape = (3, 1, 2)
@@ -240,7 +240,7 @@ def poisson(shape, mean, seed=None):
TypeError: If `seed` is not an int. TypeError: If `seed` is not an int.


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


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


Loading…
Cancel
Save