!28560 Update default values for Cauchy distribution class doc

Merge pull request !28560 from zichun_ye/doc_fix
This commit is contained in:
i-robot 2022-01-05 03:50:11 +00:00 committed by Gitee
commit 2b8e5f98f3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ class Cauchy(Distribution):
where a and b are loc and scale parameter respectively.
Args:
loc (int, float, list, numpy.ndarray, Tensor): The location of the Cauchy distribution.
scale (int, float, list, numpy.ndarray, Tensor): The scale of the Cauchy distribution.
loc (int, float, list, numpy.ndarray, Tensor): The location of the Cauchy distribution. Default: None.
scale (int, float, list, numpy.ndarray, Tensor): The scale of the Cauchy distribution. Default: None.
seed (int): The seed used in sampling. The global seed is used if it is None. Default: None.
dtype (mindspore.dtype): The type of the event samples. Default: mstype.float32.
name (str): The name of the distribution. Default: 'Cauchy'.