From 67b1a4b48881d4f6cc30c6b229f20a4ddd8a54a8 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Tue, 16 Aug 2016 13:09:45 -0800 Subject: Shard CPU implementation for mirror_pad to improve compile times Change: 130444346 --- tensorflow/core/kernels/mirror_pad_op_cpu_impl_2.cc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tensorflow/core/kernels/mirror_pad_op_cpu_impl_2.cc (limited to 'tensorflow/core/kernels/mirror_pad_op_cpu_impl_2.cc') diff --git a/tensorflow/core/kernels/mirror_pad_op_cpu_impl_2.cc b/tensorflow/core/kernels/mirror_pad_op_cpu_impl_2.cc new file mode 100644 index 0000000000..d67f7754e1 --- /dev/null +++ b/tensorflow/core/kernels/mirror_pad_op_cpu_impl_2.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 2 +#include "tensorflow/core/kernels/mirror_pad_op_cpu_impl.h" +#undef CPU_PROVIDED_IXDIM -- cgit v1.2.3