提交 c82d1020 编写于 作者: J jiahongyu 提交者: HongyuJia

polish typo, emum->enum, defalutly->defaultly

上级 f20b361c
...@@ -56,7 +56,7 @@ class TransformFlag { ...@@ -56,7 +56,7 @@ class TransformFlag {
// the complex is always transferd, except stop_transform_ is true. // the complex is always transferd, except stop_transform_ is true.
bool trans_data_type_ = false; 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. // and they can only be setted by global flag.
bool trans_backend_ = true; bool trans_backend_ = true;
bool trans_layout_ = true; bool trans_layout_ = true;
......
...@@ -226,7 +226,7 @@ using GPUPlace = phi::GPUPlace; ...@@ -226,7 +226,7 @@ using GPUPlace = phi::GPUPlace;
/* NOTE [ Why need to temporarily adapt to PlaceType? ] /* 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 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 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, as an internal type of the framework, but immediately delete the PlaceType,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册