Skip to content

Commit 294686b

Browse files
authored
[fluid_ops] Fix psting to pstring (#68940)
1 parent 6f76025 commit 294686b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

paddle/fluid/pir/dialect/operator/utils/utils.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ const std::unordered_map<std::string, phi::DataType>& StringToDataTypeMap() {
504504
{"complex64", phi::DataType::COMPLEX64},
505505
{"complex128", phi::DataType::COMPLEX128},
506506
{"Undefined", phi::DataType::UNDEFINED},
507-
{"psting", phi::DataType::PSTRING},
507+
{"pstring", phi::DataType::PSTRING},
508508
{"float16", phi::DataType::FLOAT16},
509509
{"bfloat16", phi::DataType::BFLOAT16},
510510
{"float64", phi::DataType::FLOAT64}};

paddle/fluid/pir/drr/include/drr_pattern_context.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ class TEST_API ResultPattern {
316316
// {"complex64", phi::DataType::COMPLEX64},
317317
// {"complex128", phi::DataType::COMPLEX128},
318318
// {"Undefined", phi::DataType::UNDEFINED},
319-
// {"psting", phi::DataType::PSTRING},
319+
// {"pstring", phi::DataType::PSTRING},
320320
// {"float16", phi::DataType::FLOAT16},
321321
// {"bfloat16", phi::DataType::BFLOAT16},
322322
// {"float64", phi::DataType::FLOAT64}};

0 commit comments

Comments
 (0)