From 1029695b541d6cf9a40e92a4950ff9fc658707e0 Mon Sep 17 00:00:00 2001 From: zhangxinfeng3 Date: Tue, 16 Mar 2021 11:10:58 +0800 Subject: [PATCH] modify suported platform of gamma and possion --- mindspore/ops/composite/random_ops.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mindspore/ops/composite/random_ops.py b/mindspore/ops/composite/random_ops.py index 5dc649201c1..978ad74b32e 100644 --- a/mindspore/ops/composite/random_ops.py +++ b/mindspore/ops/composite/random_ops.py @@ -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)