From a18d61d2f6507b29dc076a8711ff310c48d053ca Mon Sep 17 00:00:00 2001 From: Derek Murray Date: Wed, 12 Apr 2017 08:22:17 -0800 Subject: Switch the benchmark in direct_session_test.cc to use Placeholder (not V2). Change: 152946496 --- tensorflow/core/common_runtime/direct_session_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/core/common_runtime/direct_session_test.cc b/tensorflow/core/common_runtime/direct_session_test.cc index c8b8a09b8e..f8deaaf222 100644 --- a/tensorflow/core/common_runtime/direct_session_test.cc +++ b/tensorflow/core/common_runtime/direct_session_test.cc @@ -1178,7 +1178,7 @@ void FeedFetchBenchmarkHelper(int num_feeds, int iters) { // monitor this overhead where possible, but that is not the // object of study in this benchmark. Node* placeholder; - TF_CHECK_OK(NodeBuilder(g.NewName("Placeholder"), "PlaceholderV2") + TF_CHECK_OK(NodeBuilder(g.NewName("Placeholder"), "Placeholder") .Attr("shape", TensorShape()) .Attr("dtype", DT_FLOAT) .Device("/cpu:0") -- cgit v1.2.3