Browse Source

modify suported platform of gamma and possion

tags/v1.2.0-rc1
zhangxinfeng3 4 years ago
parent
commit
1029695b54
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.

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

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

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

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


Loading…
Cancel
Save