message: Check for return values
diff: @@ -250,14 +250,15 @@ Status FilterWithRandomUniformFusion::OptimizeAndCollectStats(
  const auto* fused_sampling =
  graph.AddNode(MakeFusedNode(filter_node, rate, seed, seed2, &graph));
  - graph.UpdateFanouts(filter_node.name(), fused_sampling->name());
  + TF_RETURN_IF_ERROR(
  + graph.UpdateFanouts(filter_node.name(), fused_sampling->name()));
  // Mark the `Filter` node for removal.
  nodes_to_delete.insert(filter_node.name());
  stats->num_changes++;
  }
  - graph.DeleteNodes(nodes_to_delete);
  + TF_RETURN_IF_ERROR(graph.DeleteNodes(nodes_to_delete));
  return Status::OK();
  }
  