|
|
@@ -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) |
|
|
|