diff --git a/python/paddle/tensor/random.py b/python/paddle/tensor/random.py index 109dbcdfd97e892d12d2f539088d2d63d785352d..292d37a1015c116da5138c264f97092505ca965c 100644 --- a/python/paddle/tensor/random.py +++ b/python/paddle/tensor/random.py @@ -324,7 +324,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()