aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/kernels/eigen_support.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-07-17 21:02:37 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-17 21:06:35 -0700
commit37cf4e0783ad06e6cfc94c98a77a48734190ed48 (patch)
tree64efa2e7a0c7ee49c319a72c6d3fba29465f1489 /tensorflow/contrib/lite/kernels/eigen_support.cc
parent527a5eb1759d682810f8155b9767bcc7984d3b3e (diff)
Automated rollback of commit ff4945f86e04d403cdf46c19392b2041bc75c2ad
PiperOrigin-RevId: 205022167
Diffstat (limited to 'tensorflow/contrib/lite/kernels/eigen_support.cc')
-rw-r--r--tensorflow/contrib/lite/kernels/eigen_support.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/tensorflow/contrib/lite/kernels/eigen_support.cc b/tensorflow/contrib/lite/kernels/eigen_support.cc
index e542ad0765..4f0d020793 100644
--- a/tensorflow/contrib/lite/kernels/eigen_support.cc
+++ b/tensorflow/contrib/lite/kernels/eigen_support.cc
@@ -16,7 +16,6 @@ limitations under the License.
#include <utility>
-#include "tensorflow/contrib/lite/arena_planner.h"
#include "tensorflow/contrib/lite/kernels/internal/optimized/eigen_spatial_convolutions.h"
#include "tensorflow/contrib/lite/kernels/op_macros.h"
@@ -24,16 +23,6 @@ namespace tflite {
namespace eigen_support {
namespace {
-#ifndef EIGEN_DONT_ALIGN
-// Eigen may require buffers to be algiend to 16, 32 or 64 bytes depending on
-// hardware architecture and build configurations.
-// If the static assertion fails, try to increase `kDefaultTensorAlignment` to
-// in `arena_planner.h` to 32 or 64.
-static_assert(
- kDefaultTensorAlignment % EIGEN_MAX_ALIGN_BYTES == 0,
- "kDefaultArenaAlignment doesn't comply with Eigen alignment requirement.");
-#endif // EIGEN_DONT_ALIGN
-
// We have a single global threadpool for all convolution operations. This means
// that inferences started from different threads may block each other, but
// since the underlying resource of CPU cores should be consumed by the