Remove unused variables.

PiperOrigin-RevId: 251882502
This commit is contained in:
A. Unique TensorFlower 2019-06-06 10:51:19 -07:00 committed by TensorFlower Gardener
parent 1a3b22f289
commit 80b76e2396
3 changed files with 0 additions and 10 deletions

View File

@ -195,9 +195,6 @@ TEST_F(DropoutUtilsTest, DropoutSeedTest) {
std::vector<int32> dropped_trees_2;
std::vector<float> original_weights_2;
DecisionTreeEnsembleConfig new_ensemble_1;
DecisionTreeEnsembleConfig new_ensemble_2;
TF_EXPECT_OK(DropoutUtils::DropOutTrees(
kSeed + 1, config, trees_not_to_drop, weights_, &dropped_trees_1,
&original_weights_1));
@ -219,8 +216,6 @@ TEST_F(DropoutUtilsTest, DropoutSeedTest) {
std::vector<int32> dropped_trees_2;
std::vector<float> original_weights_2;
DecisionTreeEnsembleConfig new_ensemble_1;
DecisionTreeEnsembleConfig new_ensemble_2;
TF_EXPECT_OK(DropoutUtils::DropOutTrees(kSeed, config, trees_not_to_drop,
weights_, &dropped_trees_1,
@ -264,7 +259,6 @@ TEST_F(DropoutUtilsTest, InvalidConfigTest) {
config.set_dropout_probability(0.5);
config.set_probability_of_skipping_dropout(-10);
DecisionTreeEnsembleConfig new_ensemble;
EXPECT_FALSE(DropoutUtils::DropOutTrees(kSeed, config, trees_not_to_drop,
weights_, &dropped_trees,
&original_weights)
@ -276,7 +270,6 @@ TEST_F(DropoutUtilsTest, InvalidConfigTest) {
config.set_dropout_probability(0.5);
config.set_probability_of_skipping_dropout(1.2);
DecisionTreeEnsembleConfig new_ensemble;
EXPECT_FALSE(DropoutUtils::DropOutTrees(kSeed, config, trees_not_to_drop,
weights_, &dropped_trees,
&original_weights)

View File

@ -715,7 +715,6 @@ void LaunchFusedConv2DBiasActivationOp<GPUDevice, T, BiasType, ScaleType>::
&extra_left_padding, &extra_right_padding);
if (extra_top_padding != 0 || extra_bottom_padding != 0 ||
extra_left_padding != 0 || extra_right_padding != 0) {
Tensor transformed_input;
const int new_conv_input_rows =
conv_input_rows + extra_top_padding + extra_bottom_padding;
const int new_conv_input_cols =

View File

@ -1622,8 +1622,6 @@ void RdmaTensorRequest::RecvTensorContent() {
<< ": Received tensor content #" << index_ << ": " << key_
<< " (Size: 0x" << std::hex << message_size << ")";
Tensor val;
#if GOOGLE_CUDA
if (proxy_tensor_ != nullptr) {
CountCopies(key_, (void*)DMAHelper::base(proxy_tensor_),