Remove duplicate definition of dcount.

PiperOrigin-RevId: 334684194
Change-Id: Iec95d757ee76afbd7b84337affc418d9b5a0d528
This commit is contained in:
Brian Patton 2020-09-30 14:50:21 -07:00 committed by TensorFlower Gardener
parent ac21f961f3
commit 477254d7cb

View File

@ -255,7 +255,6 @@ struct RandomBinomialFunctor<CPUDevice, T, U> {
}
} else if (prob > T(0.5)) {
T q = T(1) - prob;
double dcount = static_cast<double>(count);
double dq = static_cast<double>(q);
if (count * q >= T(10)) {
for (int64 sample_idx = output_idx % samples_per_batch;