From b438dff3f519d89ddb146c139be9b7e37183060d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E7=BA=A7=E7=A0=81=E7=89=9B?= <54444805+SuperCodebull@users.noreply.github.com> Date: Fri, 21 Oct 2022 16:21:08 +0800 Subject: [PATCH] fix paddle.get_default_dtype (#47040) Chinese and English return values are inconsistent --- python/paddle/framework/framework.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/framework/framework.py b/python/paddle/framework/framework.py index 5f59da0385..8da6a10a48 100644 --- a/python/paddle/framework/framework.py +++ b/python/paddle/framework/framework.py @@ -72,7 +72,7 @@ def get_default_dtype(): Args: None. Returns: - The default dtype. + String, this global dtype only supports float16, float32, float64. Examples: .. code-block:: python -- GitLab