Skip to content

Commit fa87f0e

Browse files
modify dtype
1 parent f1661d7 commit fa87f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/pir/drr/src/ir_operation_factory.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ void OperationFactory::RegisterManualOpCreator() {
489489
bool keepdim =
490490
attrs.at("keepdim").dyn_cast<pir::BoolAttribute>().data();
491491

492-
const auto& dtype =
492+
::phi::DataType dtype =
493493
attrs.at("dtype")
494494
.dyn_cast<paddle::dialect::DataTypeAttribute>()
495495
.data();

0 commit comments

Comments
 (0)