From 039784426641162686cfaae556a5f325dcf6fda4 Mon Sep 17 00:00:00 2001 From: qijun Date: Thu, 31 Aug 2017 16:34:50 +0800 Subject: [PATCH] remove unused codes --- paddle/framework/lod_tensor_test.cc | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/paddle/framework/lod_tensor_test.cc b/paddle/framework/lod_tensor_test.cc index b75d86b5b..30c8925ad 100644 --- a/paddle/framework/lod_tensor_test.cc +++ b/paddle/framework/lod_tensor_test.cc @@ -21,25 +21,6 @@ namespace paddle { namespace framework { -// TEST(LODTensor, test) { -// LOD lod; -// lod.push_back(std::vector{0, 10, 20}); -// lod.push_back(std::vector{0, 5, 10, 15, 20}); -// lod.push_back(std::vector{0, 2, 5, 7, 10, 12, 15, 17, 20}); - -// ASSERT_EQ(lod.size(), 3UL); - -// Tensor tensor; -// tensor.Resize({20 /*batch size*/, 128 /*dim*/}); -// // malloc memory -// platform::CPUPlace place; -// tensor.mutable_data(place); - -// LODTensor lod_tensor(lod, &tensor); - -// ASSERT_EQ(lod_tensor.NumLevels(), 3UL); -// } - class LODTensorTester : public ::testing::Test { public: virtual void SetUp() override { -- GitLab