Skip to content

Commit

Permalink
fix typo (PaddlePaddle#64060)
Browse files Browse the repository at this point in the history
Co-authored-by: jiahy0825 <[email protected]>
  • Loading branch information
2 people authored and co63oc committed May 10, 2024
1 parent 35f9f96 commit f9b4f2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ struct PirToPyCodeConverterHelper {

std::string operator()(AdtTypeId<::pir::VectorType>) {
std::stringstream ss;
const auto& name = ::pir::DenseTensorType::name();
const auto& name = ::pir::VectorType::name();
const auto& vec_type = type.dyn_cast<::pir::VectorType>();
ss << "self." << name << "(";
for (int i = 0; i < vec_type.size(); ++i) {
Expand Down

0 comments on commit f9b4f2b

Please sign in to comment.