diff --git a/python/paddle/tensor/random.py b/python/paddle/tensor/random.py index 8683349c6e1db91ce77ac9b99fb89c0de2747df2..eb3ab19abc6edcd1df491f48ea53282cb0d6920f 100644 --- a/python/paddle/tensor/random.py +++ b/python/paddle/tensor/random.py @@ -327,7 +327,7 @@ def gaussian(shape, mean=0.0, std=1.0, seed=0, dtype=None, name=None): distribution, with ``shape`` and ``dtype``. """ op_type_for_check = 'gaussian/standard_normal/randn/normal' - supported_dtypes = ['float32', 'float64', 'float16', 'uint16'] + supported_dtypes = ['float32', 'float64', 'float16', 'uint16', 'bfloat16'] if dtype is None: dtype = paddle.framework.get_default_dtype()