aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/framework
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-09-13 09:38:36 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-09-13 09:46:18 -0700
commit009285c09f8f3f76d69888b0a47441c0989cd050 (patch)
treea5dfbf03c7f005aad90323c39502a4772a4d7c23 /tensorflow/core/framework
parentdc1eda8a6d06cff541be768a0c8e2b22b376651c (diff)
Remove benchmark for TensorShapeOld.
PiperOrigin-RevId: 168551108
Diffstat (limited to 'tensorflow/core/framework')
-rw-r--r--tensorflow/core/framework/tensor_shape_test.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/tensorflow/core/framework/tensor_shape_test.cc b/tensorflow/core/framework/tensor_shape_test.cc
index 51a7b14fed..55676e1496 100644
--- a/tensorflow/core/framework/tensor_shape_test.cc
+++ b/tensorflow/core/framework/tensor_shape_test.cc
@@ -636,13 +636,5 @@ static void BM_TensorShape_Assign(int iters, int arg) {
}
BENCHMARK(BM_TensorShape_Assign)->Arg(0)->Arg(1)->Arg(2)->Arg(3)->Arg(4);
-static void BM_TensorShapeOld_Assign(int iters, int arg) {
- TensorShapeOld sold(MakeSizes(arg));
- while (--iters > 0) {
- TensorShapeOld sold2 = sold;
- }
-}
-BENCHMARK(BM_TensorShapeOld_Assign)->Arg(0)->Arg(1)->Arg(2)->Arg(3)->Arg(4);
-
} // namespace
} // namespace tensorflow