From e3bf8aed0f4b9fd211a98e656be541bf2fd396a0 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: Sun, 16 Oct 2022 16:02:10 +0800 Subject: [PATCH] fix paddle.get_default_dtype 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 5f59da0385420..8da6a10a48527 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