From d04c0e0219755501a39c08e1f0c00dd6ae2e2f44 Mon Sep 17 00:00:00 2001
From: Geeta Chavan <geetac@google.com>
Date: Thu, 17 Dec 2020 13:52:36 -0800
Subject: [PATCH] Fix bad cherrypick

---
 tensorflow/core/kernels/data_format_ops.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tensorflow/core/kernels/data_format_ops.cc b/tensorflow/core/kernels/data_format_ops.cc
index d00e51b5ea5..a51bfc3b172 100644
--- a/tensorflow/core/kernels/data_format_ops.cc
+++ b/tensorflow/core/kernels/data_format_ops.cc
@@ -185,7 +185,7 @@ class DataFormatVecPermuteOp : public OpKernel {
                   errors::InvalidArgument(
                       "Format specifier must contain H and W for 2D case"));
     }
-    ComputeDstIndex(src_format_str, dst_format_str, input.dims(), &dst_idx);
+    ComputeDstIndex(input.dims(), &dst_idx);
 
     functor::DataFormatVecPermute<Device, T>()(context->eigen_device<Device>(),
                                                input.flat<T>(),