Skip to content

Commit ffe8881

Browse files
committed
Updates TF compat protos
(cherry picked from commit 1f184b4)
1 parent 541b888 commit ffe8881

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed

tensorboard/compat/proto/config.proto

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,9 +777,17 @@ message ConfigProto {
777777
// disabled, and parallel execution is allowed.
778778
bool disable_eager_executor_streaming_enqueue = 26;
779779

780+
// If true, the function library runtime will be finalized when the session
781+
// is finalized.
782+
bool finalize_function_library_runtime = 33;
783+
784+
// If true, the resource manager will be finalized when the session
785+
// is finalized.
786+
bool finalize_resource_manager = 34;
787+
780788
reserved 25;
781789

782-
// Next: 33
790+
// Next: 35
783791
}
784792

785793
Experimental experimental = 16;

tensorboard/compat/proto/tfprof_log.proto

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,12 @@ option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/profile
1111
message CodeDef {
1212
repeated Trace traces = 1;
1313
message Trace {
14-
string file = 1 [deprecated = true]; // deprecated by file_id.
14+
reserved 1, 3, 4;
15+
reserved "file", "function", "line";
1516
int64 file_id = 6;
16-
1717
int32 lineno = 2;
18-
19-
string function = 3 [deprecated = true]; // deprecated by function_id.
2018
int64 function_id = 7;
21-
22-
string line = 4 [deprecated = true]; // deprecated line_id.
2319
int64 line_id = 8;
24-
2520
int32 func_start_line = 5;
2621
}
2722
}

tensorboard/compat/proto/types.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ enum DataType {
5252

5353
DT_INT4 = 29;
5454
DT_UINT4 = 30;
55+
DT_INT2 = 31;
56+
DT_UINT2 = 32;
5557

5658
// Do not use! These are only for TF1's obsolete reference Variables.
5759
// Every enum above should have a corresponding value below (verified by
@@ -87,6 +89,8 @@ enum DataType {
8789
DT_FLOAT8_E5M2FNUZ_REF = 128;
8890
DT_INT4_REF = 129;
8991
DT_UINT4_REF = 130;
92+
DT_INT2_REF = 131;
93+
DT_UINT2_REF = 132;
9094
}
9195
// DISABLED.ThenChange(
9296
// https://www.tensorflow.org/code/tensorflow/c/tf_datatype.h,
228 Bytes
Binary file not shown.

tensorboard/data/server/tensorboard.pb.rs

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)