Skip to content

Commit e1ae923

Browse files
committed
Disable IfChange / ThenChange clause from vended protos
1 parent 8f223b5 commit e1ae923

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

tensorboard/compat/proto/attr_value.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framewo
1616
// Comment indicates the corresponding attr type. Only the field matching the
1717
// attr type may be filled.
1818
message AttrValue {
19-
// LINT.IfChange
19+
// DISABLED.IfChange
2020
message ListValue {
2121
repeated bytes s = 2; // "list(string)"
2222
repeated int64 i = 3 [packed = true]; // "list(int)"
@@ -27,7 +27,7 @@ message AttrValue {
2727
repeated TensorProto tensor = 8; // "list(tensor)"
2828
repeated NameAttrList func = 9; // "list(attr)"
2929
}
30-
// LINT.ThenChange(//tensorflow/c/c_api.cc)
30+
// DISABLED.ThenChange(//tensorflow/c/c_api.cc)
3131

3232
oneof value {
3333
bytes s = 2; // "string"

tensorboard/compat/proto/full_type.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ option java_multiple_files = true;
88
option java_package = "org.tensorflow.framework";
99
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/full_type_go_proto";
1010

11-
// LINT.IfChange
11+
// DISABLED.IfChange
1212
// Experimental. Represents the complete type information of a TensorFlow value.
1313
enum FullTypeId {
1414
// The default represents an uninitialized values.
@@ -275,4 +275,4 @@ message FullTypeDef {
275275
// TODO(mdan): list/tensor, map? Need to reconcile with TFT_RECORD, etc.
276276
}
277277
}
278-
// LINT.ThenChange(../ir/types/attributes.td)
278+
// DISABLED.ThenChange(../ir/types/attributes.td)

tensorboard/compat/proto/op_def.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framewo
1515

1616
// Defines an operation. A NodeDef in a GraphDef specifies an Op by
1717
// using the "op" field which should match the name of a OpDef.
18-
// LINT.IfChange
18+
// DISABLED.IfChange
1919
message OpDef {
2020
// Op names starting with an underscore are reserved for internal use.
2121
// Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
@@ -175,7 +175,7 @@ message OpDef {
175175
// trigger TF network failure handling logics.
176176
bool is_distributed_communication = 21;
177177
}
178-
// LINT.ThenChange(
178+
// DISABLED.ThenChange(
179179
// https://www.tensorflow.org/code/tensorboard/compat/proto/op_def_util.cc)
180180

181181
// Information about version-dependent deprecation of an op

tensorboard/compat/proto/types.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ option java_package = "org.tensorflow.framework";
99
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/types_go_proto";
1010

1111
// (== suppress_warning documentation-presence ==)
12-
// LINT.IfChange
12+
// DISABLED.IfChange
1313
enum DataType {
1414
// Not a legal value for DataType. Used to indicate a DataType field
1515
// has not been set.
@@ -67,7 +67,7 @@ enum DataType {
6767
DT_UINT32_REF = 122;
6868
DT_UINT64_REF = 123;
6969
}
70-
// LINT.ThenChange(
70+
// DISABLED.ThenChange(
7171
// https://www.tensorflow.org/code/tensorflow/c/tf_datatype.h,
7272
// https://www.tensorflow.org/code/tensorflow/go/tensor.go,
7373
// https://www.tensorflow.org/code/tensorboard/compat/proto/tensor.cc,

0 commit comments

Comments
 (0)