Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 448762469
  • Loading branch information
tensorflower-gardener committed May 15, 2022
1 parent 2d05c8b commit cc78e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/core/grappler/optimizers/meta_optimizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ Status MetaOptimizer::OptimizeConsumeItem(Cluster* cluster, GrapplerItem&& item,
// opportunities for other optimizers; they could, but it's unclear whether
// re-running all the other optimizers is worthwhile.
#ifndef __Fuchsia__
{
if (!is_tpu_graph) {
// Create a Grappler optimization pipeline with only the TFG optimizer.
std::vector<std::unique_ptr<GraphOptimizer>> optimizers;
optimizers.push_back(std::make_unique<mlir::tfg::TFGGrapplerOptimizer>(
Expand Down

0 comments on commit cc78e6b

Please sign in to comment.