aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/mirror_pad_op_cpu_impl_3.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-08-16 13:09:45 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-08-16 14:17:23 -0700
commit67b1a4b48881d4f6cc30c6b229f20a4ddd8a54a8 (patch)
tree0e684b48fbe0d74bf3dadaeaf9fe1df9d96a6b67 /tensorflow/core/kernels/mirror_pad_op_cpu_impl_3.cc
parent9d62d40f9f98f2f5716a1d8ec917bf3591717071 (diff)
Shard CPU implementation for mirror_pad to improve compile times
Change: 130444346
Diffstat (limited to 'tensorflow/core/kernels/mirror_pad_op_cpu_impl_3.cc')
-rw-r--r--tensorflow/core/kernels/mirror_pad_op_cpu_impl_3.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/tensorflow/core/kernels/mirror_pad_op_cpu_impl_3.cc b/tensorflow/core/kernels/mirror_pad_op_cpu_impl_3.cc
new file mode 100644
index 0000000000..096547f1f9
--- /dev/null
+++ b/tensorflow/core/kernels/mirror_pad_op_cpu_impl_3.cc
@@ -0,0 +1,18 @@
+/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+==============================================================================*/
+
+#define CPU_PROVIDED_IXDIM 3
+#include "tensorflow/core/kernels/mirror_pad_op_cpu_impl.h"
+#undef CPU_PROVIDED_IXDIM