From dab4b0ebf231b33b83c2c195fa26a693fdae5462 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 25 Mar 2020 15:01:40 -0700 Subject: [PATCH] Move third_party/tensorflow/core/profiler/op_profile.proto.h to third_party/tensorflow/core/profiler/protobuf/op_profile.proto.h PiperOrigin-RevId: 302978099 Change-Id: Ic2cbc6890a4114cbf41c19cdfc6fcb30b5b397f2 --- tensorflow/core/profiler/BUILD | 7 ------- tensorflow/core/profiler/protobuf/BUILD | 7 +++++++ tensorflow/core/profiler/{ => protobuf}/op_profile.proto | 0 3 files changed, 7 insertions(+), 7 deletions(-) rename tensorflow/core/profiler/{ => protobuf}/op_profile.proto (100%) diff --git a/tensorflow/core/profiler/BUILD b/tensorflow/core/profiler/BUILD index 88020753072..bfb9a893765 100644 --- a/tensorflow/core/profiler/BUILD +++ b/tensorflow/core/profiler/BUILD @@ -21,13 +21,6 @@ package_group( ], ) -tf_proto_library( - name = "op_profile_proto", - srcs = ["op_profile.proto"], - cc_api_version = 2, - visibility = [":internal"], -) - tf_proto_library( name = "profiler_service_monitor_result_proto", srcs = ["profiler_service_monitor_result.proto"], diff --git a/tensorflow/core/profiler/protobuf/BUILD b/tensorflow/core/profiler/protobuf/BUILD index 64e9ecbc0b2..89a173487ad 100644 --- a/tensorflow/core/profiler/protobuf/BUILD +++ b/tensorflow/core/profiler/protobuf/BUILD @@ -62,6 +62,13 @@ tf_proto_library( ], ) +tf_proto_library( + name = "op_profile_proto", + srcs = ["op_profile.proto"], + cc_api_version = 2, + visibility = [":friends"], +) + tf_proto_library( name = "op_stats_proto", srcs = ["op_stats.proto"], diff --git a/tensorflow/core/profiler/op_profile.proto b/tensorflow/core/profiler/protobuf/op_profile.proto similarity index 100% rename from tensorflow/core/profiler/op_profile.proto rename to tensorflow/core/profiler/protobuf/op_profile.proto