aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-06-13 16:22:05 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-06-13 16:26:19 -0700
commit8e2116b7fa7d7cbcd3245d7de222476fc427e0b1 (patch)
treee4325109de110c61542b0f045cc08298b2f00075
parentf4d933907a0f6e0e2dcc95e4e6dd116d14bbb2cf (diff)
Fix build errors due to unused declarations introduced in "Optimize quantized resize bilinear with NEON-acceleration for ARM devices"
PiperOrigin-RevId: 158915490
-rw-r--r--tensorflow/core/kernels/quantized_resize_bilinear_op.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/tensorflow/core/kernels/quantized_resize_bilinear_op.cc b/tensorflow/core/kernels/quantized_resize_bilinear_op.cc
index c8fc4e342f..fb2faede2f 100644
--- a/tensorflow/core/kernels/quantized_resize_bilinear_op.cc
+++ b/tensorflow/core/kernels/quantized_resize_bilinear_op.cc
@@ -174,8 +174,6 @@ inline int32x2_t ComputeLerpx2(
const qint32* top_left1, const qint32* top_right1,
const qint32* bottom_left1, const qint32* bottom_right1,
const int32* x_lerp, const int32x2_t y_lerpsx) {
- static const int32x2_t ZERO_32x2 = vmov_n_s32(0);
-
const int32x2_t x_lerpsx =
X_LERP_SAME ? vld1_dup_s32(reinterpret_cast<const int32*>(x_lerp))
: vld1_s32(reinterpret_cast<const int32*>(x_lerp));
@@ -339,13 +337,11 @@ inline void OutputLerp32x4x1(const InterpolationCache<int32>& xs,
const int32* const xs_ilerp0 = &xs.ilerp[x_start];
const int64 xs_lower1 = xs.lower[x_start + 1];
const int64 xs_upper1 = xs.upper[x_start + 1];
- const int32* const xs_ilerp1 = &xs.ilerp[x_start + 1];
const int64 xs_lower2 = xs.lower[x_start + 2];
const int64 xs_upper2 = xs.upper[x_start + 2];
const int32* const xs_ilerp2 = &xs.ilerp[x_start + 2];
const int64 xs_lower3 = xs.lower[x_start + 3];
const int64 xs_upper3 = xs.upper[x_start + 3];
- const int32* const xs_ilerp3 = &xs.ilerp[x_start + 3];
const int32x2_t y_lerpsx = vmov_n_s32(ys_ilerp);