Skip to content

Commit

Permalink
fix bugs (#42495)
Browse files Browse the repository at this point in the history
  • Loading branch information
2742195759 authored May 5, 2022
1 parent 71d3b06 commit 590b4db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions paddle/phi/infermeta/unary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@ void EinsumInferMeta(const std::vector<const MetaTensor*>& inputs,
<< paddle::string::join_strings(output_dims, ",");
VLOG(3) << "Label Type is : " << label_to_string(all_labels, labeltype);
VLOG(3) << "Label Shape is : " << label_to_string(all_labels, labelshape);
out->set_dims(make_ddim(output_dims));
out->set_dtype(inputs[0]->dtype());
}

void ExpandInferMeta(const MetaTensor& x,
Expand Down

0 comments on commit 590b4db

Please sign in to comment.