From e7733c8dd4cae1a1a03053b452acbbded7ab6014 Mon Sep 17 00:00:00 2001 From: Reed Date: Thu, 18 Jun 2020 16:52:51 -0700 Subject: [PATCH] Add LINT.IfChange --- .../core/grappler/optimizers/auto_mixed_precision_lists.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tensorflow/core/grappler/optimizers/auto_mixed_precision_lists.h b/tensorflow/core/grappler/optimizers/auto_mixed_precision_lists.h index c6016548117..9041d934017 100644 --- a/tensorflow/core/grappler/optimizers/auto_mixed_precision_lists.h +++ b/tensorflow/core/grappler/optimizers/auto_mixed_precision_lists.h @@ -73,6 +73,7 @@ class AutoMixedPrecisionLists { static void AddTensorListOps(gtl::FlatSet* list) { // Note: if a data structure op (such as TensorListPopBack) is added here, // IsTensorListReaderOp or IsTensorListWriterOp may need to be modified + // LINT.IfChange constexpr char* tensor_list_ops[] = { "TensorListConcat", "TensorListConcatLists", @@ -90,6 +91,7 @@ class AutoMixedPrecisionLists { "TensorListSplit", "TensorListStack" }; + // LINT.ThenChange(//tensorflow/core/grappler/optimizers/auto_mixed_precision.cc) for (auto op : tensor_list_ops) { list->insert(op); }