Skip to content

Commit

Permalink
[tf-frontend] infer shape after convert where to static shape op (#377)
Browse files Browse the repository at this point in the history
infer shape after convert where to static shape op
  • Loading branch information
heromapwrd authored Jun 27, 2024
1 parent bed7740 commit 2fd35eb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ struct CustomizedTfToMhloPipelinePass
return;
}

pm.addPass(mlir::TF::CreateTFShapeInferencePass());
pm.addNestedPass<mlir::func::FuncOp>(
mlir::tfext::createMhloLegalizeTfExtPass());
pm.addPass(mlir::mhlo::createLegalizeTFPass(
Expand Down

0 comments on commit 2fd35eb

Please sign in to comment.