diff --git a/paddle/phi/api/lib/data_transform.h b/paddle/phi/api/lib/data_transform.h index 18ec2f639778607ac2be7078972b920970584dfe..7695855e30b56013c03e4283d667934b11e04238 100644 --- a/paddle/phi/api/lib/data_transform.h +++ b/paddle/phi/api/lib/data_transform.h @@ -56,7 +56,7 @@ class TransformFlag { // the complex is always transferd, except stop_transform_ is true. bool trans_data_type_ = false; - // trans_backend_ and trans_layout_ are true defalutly, + // trans_backend_ and trans_layout_ are true defaultly, // and they can only be setted by global flag. bool trans_backend_ = true; bool trans_layout_ = true; diff --git a/paddle/phi/common/place.h b/paddle/phi/common/place.h index 49050d31b169adc9cf3f3ea6f323bb8e4cbb3231..12aa6f90ed91636ca7e554bf13199cc74334ede3 100644 --- a/paddle/phi/common/place.h +++ b/paddle/phi/common/place.h @@ -226,7 +226,7 @@ using GPUPlace = phi::GPUPlace; /* NOTE [ Why need to temporarily adapt to PlaceType? ] -`PlaceType` emum class is the place type used by custom operators since the +`PlaceType` enum class is the place type used by custom operators since the release of 2.0. Since 2.3, we have refactored the operator library and designed a new external Place type. The original PlaceType is no longer suitable for use as an internal type of the framework, but immediately delete the PlaceType,