diff --git a/paddle/phi/common/scalar.h b/paddle/phi/common/scalar.h index e8d789fc1494488ec72084da93162e89338b5028..5ed843653887b408595e51ac1afccd70f5af2ced 100644 --- a/paddle/phi/common/scalar.h +++ b/paddle/phi/common/scalar.h @@ -113,7 +113,7 @@ class ScalarBase { } else if (str_value == "True") { dtype_ = DataType::BOOL; data_.b = true; - } else if (str_value == "Fasle") { + } else if (str_value == "False") { dtype_ = DataType::BOOL; data_.b = false; } else {