Fix DCHECK not defined issue in profiler.

PiperOrigin-RevId: 286256041
Change-Id: Ie61edb82e440deda698d21b7655ecde550c97ca2
This commit is contained in:
Gunhan Gulsoy 2019-12-18 13:40:24 -08:00 committed by TensorFlower Gardener
parent 201f19e439
commit 84d5bf11e3
2 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,7 @@ cc_library(
srcs = ["op_metrics_db_combiner.cc"], srcs = ["op_metrics_db_combiner.cc"],
hdrs = ["op_metrics_db_combiner.h"], hdrs = ["op_metrics_db_combiner.h"],
deps = [ deps = [
"//tensorflow/core/platform:logging",
"//tensorflow/core/profiler/protobuf:op_metrics_proto_cc", "//tensorflow/core/profiler/protobuf:op_metrics_proto_cc",
"//tensorflow/core/profiler/utils:op_metrics_db_utils", "//tensorflow/core/profiler/utils:op_metrics_db_utils",
], ],

View File

@ -15,6 +15,8 @@ limitations under the License.
#include "tensorflow/core/profiler/convert/op_metrics_db_combiner.h" #include "tensorflow/core/profiler/convert/op_metrics_db_combiner.h"
#include "tensorflow/core/platform/logging.h"
namespace tensorflow { namespace tensorflow {
namespace profiler { namespace profiler {
namespace { namespace {